From e0002826576e3120c1982b19a12f9ef96029ec48 Mon Sep 17 00:00:00 2001 From: Tushar Pandey Date: Wed, 28 Aug 2024 14:25:04 +0530 Subject: [PATCH] added missing fields related to SS changes --- src/management/__generated/models/index.ts | 125 +++++++++++++++------ 1 file changed, 90 insertions(+), 35 deletions(-) diff --git a/src/management/__generated/models/index.ts b/src/management/__generated/models/index.ts index ba42dc8c1..678ac2c28 100644 --- a/src/management/__generated/models/index.ts +++ b/src/management/__generated/models/index.ts @@ -175,10 +175,13 @@ export interface Client { initiate_login_uri: string; /** */ - native_social_login: ClientNativeSocialLogin | null; + native_social_login: any | null; /** */ refresh_token: ClientRefreshToken | null; + /** + */ + default_organization: ClientDefaultOrganization | null; /** * Defines how to proceed during an authentication transaction with regards an organization. Can be `deny` (default), `allow` or `require`. * @@ -197,14 +200,14 @@ export interface Client { * */ require_pushed_authorization_requests: boolean; - /** - */ - signed_request_object: ClientSignedRequestObject; /** * Makes the use of Proof-of-Possession mandatory for this client * */ require_proof_of_possession: boolean; + /** + */ + signed_request_object: ClientSignedRequestObject; /** * Defines the compliance level for this client, which may restrict it's capabilities * @@ -1174,10 +1177,10 @@ export interface ClientCreateAddons { azure_sb?: ClientCreateAddonsAzureSb; /** */ - rms?: ClientAddonsRms; + rms?: ClientCreateAddonsRms; /** */ - mscrm?: ClientAddonsMscrm; + mscrm?: ClientCreateAddonsMscrm; /** */ slack?: ClientAddonsSlack; @@ -1442,6 +1445,17 @@ export interface ClientCreateAddonsFirebase { */ lifetime_in_seconds?: number; } +/** + * Microsoft Dynamics CRM SSO configuration. + */ +export interface ClientCreateAddonsMscrm { + [key: string]: any | any; + /** + * Microsoft Dynamics CRM application URL. + * + */ + url: string; +} /** * New Relic SSO configuration. */ @@ -1469,6 +1483,17 @@ export interface ClientCreateAddonsOffice365 { */ connection?: string; } +/** + * Active Directory Rights Management Service SSO configuration. + */ +export interface ClientCreateAddonsRms { + [key: string]: any | any; + /** + * URL of your Rights Management Server. It can be internal or external, but users will have to be able to reach it. + * + */ + url: string; +} /** * Salesforce SSO configuration. */ @@ -2004,6 +2029,28 @@ export interface ClientCreateSignedRequestObject { */ credentials?: Array; } +/** + * Defines the default Organization ID and flows + */ +export interface ClientDefaultOrganization { + /** + * The default Organization ID to be used + * + */ + organization_id: string; + /** + * The default Organization usage + * + */ + flows: Array; +} + +export const ClientDefaultOrganizationFlowsEnum = { + client_credentials: 'client_credentials', +} as const; +export type ClientDefaultOrganizationFlowsEnum = + (typeof ClientDefaultOrganizationFlowsEnum)[keyof typeof ClientDefaultOrganizationFlowsEnum]; + /** * Encryption used for WsFed responses with this client. */ @@ -2150,47 +2197,55 @@ export interface ClientMobileIos { app_bundle_identifier: string; } /** - * Configure native social settings - */ -export interface ClientNativeSocialLogin { - /** - */ - apple: ClientNativeSocialLoginApple | null; - /** - */ - facebook: ClientNativeSocialLoginFacebook | null; -} -/** - * Native Social Login support for the Apple connection + * Configuration for OIDC backchannel logout */ -export interface ClientNativeSocialLoginApple { +export interface ClientOidcLogout { + [key: string]: any | any; /** - * Determine whether or not to allow signing in natively using an Apple authorization code + * Comma-separated list of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed. * */ - enabled: boolean; -} -/** - * Native Social Login support for the Facebook connection - */ -export interface ClientNativeSocialLoginFacebook { + backchannel_logout_urls: Array; /** - * Determine whether or not to allow signing in natively using Facebook - * */ - enabled: boolean; + backchannel_logout_initiators: ClientOidcLogoutBackchannelLogoutInitiators; } /** - * Configuration for OIDC backchannel logout + * Configuration for OIDC backchannel logout initiators */ -export interface ClientOidcLogout { +export interface ClientOidcLogoutBackchannelLogoutInitiators { [key: string]: any | any; /** - * Comma-separated list of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed. + * The `mode` property determines the configuration method for enabling initiators. `custom` enables only the initiators listed in the selected_initiators array, `all` enables all current and future initiators. * */ - backchannel_logout_urls: Array; + mode: ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum; + /** + */ + selected_initiators: Array; } + +export const ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum = { + custom: 'custom', + all: 'all', +} as const; +export type ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum = + (typeof ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum)[keyof typeof ClientOidcLogoutBackchannelLogoutInitiatorsModeEnum]; + +export const ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum = { + rp_logout: 'rp-logout', + idp_logout: 'idp-logout', + password_changed: 'password-changed', + session_expired: 'session-expired', + session_revoked: 'session-revoked', + account_deleted: 'account-deleted', + email_identifier_changed: 'email-identifier-changed', + mfa_phone_unenrolled: 'mfa-phone-unenrolled', + account_deactivated: 'account-deactivated', +} as const; +export type ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum = + (typeof ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum)[keyof typeof ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum]; + /** * Refresh token configuration */ @@ -2538,10 +2593,10 @@ export interface ClientUpdateAddons { azure_sb?: ClientCreateAddonsAzureSb; /** */ - rms?: ClientAddonsRms; + rms?: ClientCreateAddonsRms; /** */ - mscrm?: ClientAddonsMscrm; + mscrm?: ClientCreateAddonsMscrm; /** */ slack?: ClientAddonsSlack;