From bac08f720ee5bbd256a92c2e2e2c2e1e2211cd0a Mon Sep 17 00:00:00 2001 From: Taronish Daruwalla Date: Wed, 10 Jan 2024 10:28:43 -0800 Subject: [PATCH] revert discovery files --- lib/b2b/discovery_organizations.ts | 18 ++++++++++++++++++ types/lib/b2b/discovery_organizations.d.ts | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/lib/b2b/discovery_organizations.ts b/lib/b2b/discovery_organizations.ts index ab6680d1..71bf0a02 100644 --- a/lib/b2b/discovery_organizations.ts +++ b/lib/b2b/discovery_organizations.ts @@ -164,6 +164,24 @@ export interface B2BDiscoveryOrganizationsCreateRequest { * for more information about role assignment. */ rbac_email_implicit_role_assignments?: EmailImplicitRoleAssignment[]; + /** + * The setting that controls which mfa methods can be used by Members of an Organization. The accepted + * values are: + * + * `ALL_ALLOWED` – the default setting which allows all authentication methods to be used. + * + * `RESTRICTED` – only methods that comply with `allowed_auth_methods` can be used for authentication. + * This setting does not apply to Members with `is_breakglass` set to `true`. + * + */ + mfa_methods?: string; + /** + * An array of allowed mfa authentication methods. This list is enforced when `mfa_methods` is set to + * `RESTRICTED`. + * The list's accepted values are: `sms_otp` and `totp`. + * + */ + allowed_mfa_methods?: string[]; } // Response type for `discovery.organizations.create`. diff --git a/types/lib/b2b/discovery_organizations.d.ts b/types/lib/b2b/discovery_organizations.d.ts index 151bd935..6666e665 100644 --- a/types/lib/b2b/discovery_organizations.d.ts +++ b/types/lib/b2b/discovery_organizations.d.ts @@ -148,6 +148,24 @@ export interface B2BDiscoveryOrganizationsCreateRequest { * for more information about role assignment. */ rbac_email_implicit_role_assignments?: EmailImplicitRoleAssignment[]; + /** + * The setting that controls which mfa methods can be used by Members of an Organization. The accepted + * values are: + * + * `ALL_ALLOWED` – the default setting which allows all authentication methods to be used. + * + * `RESTRICTED` – only methods that comply with `allowed_auth_methods` can be used for authentication. + * This setting does not apply to Members with `is_breakglass` set to `true`. + * + */ + mfa_methods?: string; + /** + * An array of allowed mfa authentication methods. This list is enforced when `mfa_methods` is set to + * `RESTRICTED`. + * The list's accepted values are: `sms_otp` and `totp`. + * + */ + allowed_mfa_methods?: string[]; } export interface B2BDiscoveryOrganizationsCreateResponse { /**