auth0 5.12.0 → 5.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/cjs/lib/models.d.ts +7 -7
  2. package/dist/cjs/management/api/requests/requests.d.ts +16 -2
  3. package/dist/cjs/management/api/resources/attackProtection/client/Client.d.ts +3 -0
  4. package/dist/cjs/management/api/resources/attackProtection/client/Client.js +7 -2
  5. package/dist/cjs/management/api/resources/attackProtection/resources/index.d.ts +1 -0
  6. package/dist/cjs/management/api/resources/attackProtection/resources/index.js +2 -1
  7. package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.d.ts +45 -0
  8. package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.js +180 -0
  9. package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.d.ts +1 -0
  10. package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.js +2 -0
  11. package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/index.d.ts +1 -0
  12. package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/index.js +17 -0
  13. package/dist/cjs/management/api/resources/clients/client/Client.d.ts +1 -0
  14. package/dist/cjs/management/api/resources/clients/client/Client.js +3 -0
  15. package/dist/cjs/management/api/resources/emailTemplates/client/Client.d.ts +4 -4
  16. package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +4 -4
  17. package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.d.ts +1 -0
  18. package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +3 -0
  19. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.d.ts +1 -0
  20. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +3 -0
  21. package/dist/cjs/management/api/types/types.d.ts +150 -32
  22. package/dist/cjs/management/api/types/types.js +9 -3
  23. package/dist/cjs/management/version.d.ts +1 -1
  24. package/dist/cjs/management/version.js +1 -1
  25. package/dist/esm/lib/models.d.mts +7 -7
  26. package/dist/esm/management/api/requests/requests.d.mts +16 -2
  27. package/dist/esm/management/api/resources/attackProtection/client/Client.d.mts +3 -0
  28. package/dist/esm/management/api/resources/attackProtection/client/Client.mjs +5 -0
  29. package/dist/esm/management/api/resources/attackProtection/resources/index.d.mts +1 -0
  30. package/dist/esm/management/api/resources/attackProtection/resources/index.mjs +1 -0
  31. package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.d.mts +45 -0
  32. package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.mjs +143 -0
  33. package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.d.mts +1 -0
  34. package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.mjs +1 -0
  35. package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/index.d.mts +1 -0
  36. package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/index.mjs +1 -0
  37. package/dist/esm/management/api/resources/clients/client/Client.d.mts +1 -0
  38. package/dist/esm/management/api/resources/clients/client/Client.mjs +3 -0
  39. package/dist/esm/management/api/resources/emailTemplates/client/Client.d.mts +4 -4
  40. package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +4 -4
  41. package/dist/esm/management/api/resources/keys/resources/signing/client/Client.d.mts +1 -0
  42. package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +3 -0
  43. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.d.mts +1 -0
  44. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +3 -0
  45. package/dist/esm/management/api/types/types.d.mts +150 -32
  46. package/dist/esm/management/api/types/types.mjs +7 -1
  47. package/dist/esm/management/version.d.mts +1 -1
  48. package/dist/esm/management/version.mjs +1 -1
  49. package/package.json +1 -1
  50. package/reference.md +126 -4
@@ -1915,6 +1915,8 @@ export interface Client {
1915
1915
  mobile?: Management.ClientMobile | undefined;
1916
1916
  /** Initiate login uri, must be https */
1917
1917
  initiate_login_uri?: string | undefined;
1918
+ native_social_login?: Management.NativeSocialLogin | undefined;
1919
+ fedcm_login?: Management.FedCmLogin | undefined;
1918
1920
  refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
1919
1921
  default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
1920
1922
  organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -1927,6 +1929,7 @@ export interface Client {
1927
1929
  /** Makes the use of Proof-of-Possession mandatory for this client */
1928
1930
  require_proof_of_possession?: boolean | undefined;
1929
1931
  signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
1932
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
1930
1933
  compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
1931
1934
  /**
1932
1935
  * Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -2900,6 +2903,20 @@ export declare const ClientTokenExchangeTypeEnum: {
2900
2903
  readonly OnBehalfOfTokenExchange: "on_behalf_of_token_exchange";
2901
2904
  };
2902
2905
  export type ClientTokenExchangeTypeEnum = (typeof ClientTokenExchangeTypeEnum)[keyof typeof ClientTokenExchangeTypeEnum];
2906
+ /**
2907
+ * Settings for Token Vault Privileged Access.
2908
+ */
2909
+ export interface ClientTokenVaultPrivilegedAccessWithCredentialId {
2910
+ credentials: Management.CredentialId[];
2911
+ ip_allowlist?: Management.TokenVaultPrivilegedAccessIpAllowlistEntry[] | undefined;
2912
+ }
2913
+ /**
2914
+ * Settings for Token Vault Privileged Access.
2915
+ */
2916
+ export interface ClientTokenVaultPrivilegedAccessWithPublicKey {
2917
+ credentials: Management.PublicKeyCredential[];
2918
+ ip_allowlist?: Management.TokenVaultPrivilegedAccessIpAllowlistEntry[] | undefined;
2919
+ }
2903
2920
  export interface ConnectedAccount {
2904
2921
  /** The unique identifier for the connected account. */
2905
2922
  id: string;
@@ -3517,6 +3534,7 @@ export interface ConnectionForList {
3517
3534
  metadata?: Management.ConnectionsMetadata | undefined;
3518
3535
  authentication?: Management.ConnectionAuthenticationPurpose | undefined;
3519
3536
  connected_accounts?: Management.ConnectionConnectedAccountsPurpose | undefined;
3537
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
3520
3538
  }
3521
3539
  /**
3522
3540
  * Connection to be added to the organization.
@@ -5976,6 +5994,7 @@ export interface ConnectionResponseContentOidc extends Management.ConnectionResp
5976
5994
  strategy: ConnectionResponseContentOidc.Strategy;
5977
5995
  authentication?: Management.ConnectionAuthenticationPurpose | undefined;
5978
5996
  connected_accounts?: Management.ConnectionConnectedAccountsPurposeXaa | undefined;
5997
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
5979
5998
  options?: Management.ConnectionOptionsOidc | undefined;
5980
5999
  show_as_button?: Management.ConnectionShowAsButton | undefined;
5981
6000
  }
@@ -6005,6 +6024,7 @@ export declare namespace ConnectionResponseContentOffice365 {
6005
6024
  */
6006
6025
  export interface ConnectionResponseContentOkta extends Management.ConnectionPurposes, Management.ConnectionResponseCommon {
6007
6026
  strategy: ConnectionResponseContentOkta.Strategy;
6027
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
6008
6028
  options?: Management.ConnectionOptionsOkta | undefined;
6009
6029
  show_as_button?: Management.ConnectionShowAsButton | undefined;
6010
6030
  }
@@ -6987,6 +7007,8 @@ export interface CreateClientResponseContent {
6987
7007
  mobile?: Management.ClientMobile | undefined;
6988
7008
  /** Initiate login uri, must be https */
6989
7009
  initiate_login_uri?: string | undefined;
7010
+ native_social_login?: Management.NativeSocialLogin | undefined;
7011
+ fedcm_login?: Management.FedCmLogin | undefined;
6990
7012
  refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
6991
7013
  default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
6992
7014
  organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -6999,6 +7021,7 @@ export interface CreateClientResponseContent {
6999
7021
  /** Makes the use of Proof-of-Possession mandatory for this client */
7000
7022
  require_proof_of_possession?: boolean | undefined;
7001
7023
  signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
7024
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
7002
7025
  compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
7003
7026
  /**
7004
7027
  * Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -7445,6 +7468,7 @@ export interface CreateConnectionRequestContentOidc extends Management.CreateCon
7445
7468
  strategy: CreateConnectionRequestContentOidc.Strategy;
7446
7469
  authentication?: Management.ConnectionAuthenticationPurpose | undefined;
7447
7470
  connected_accounts?: Management.ConnectionConnectedAccountsPurposeXaa | undefined;
7471
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
7448
7472
  options?: Management.ConnectionOptionsOidc | undefined;
7449
7473
  show_as_button?: Management.ConnectionShowAsButton | undefined;
7450
7474
  }
@@ -7473,6 +7497,7 @@ export declare namespace CreateConnectionRequestContentOffice365 {
7473
7497
  */
7474
7498
  export interface CreateConnectionRequestContentOkta extends Management.CreateConnectionCommon {
7475
7499
  strategy: CreateConnectionRequestContentOkta.Strategy;
7500
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
7476
7501
  options?: Management.ConnectionOptionsOkta | undefined;
7477
7502
  show_as_button?: Management.ConnectionShowAsButton | undefined;
7478
7503
  }
@@ -7792,6 +7817,7 @@ export interface CreateConnectionResponseContent {
7792
7817
  metadata?: Management.ConnectionsMetadata | undefined;
7793
7818
  authentication?: Management.ConnectionAuthenticationPurpose | undefined;
7794
7819
  connected_accounts?: Management.ConnectionConnectedAccountsPurpose | undefined;
7820
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
7795
7821
  }
7796
7822
  export interface CreateCustomDomainResponseContent {
7797
7823
  /** ID of the custom domain. */
@@ -8782,8 +8808,10 @@ export interface CreateUserResponseContent {
8782
8808
  phone_number?: string | undefined;
8783
8809
  /** Whether this phone number has been verified (true) or not (false). */
8784
8810
  phone_verified?: boolean | undefined;
8785
- created_at?: Management.UserDateSchema | undefined;
8786
- updated_at?: Management.UserDateSchema | undefined;
8811
+ /** Date and time when this user was created. */
8812
+ created_at?: string | undefined;
8813
+ /** Date and time when this user was last updated/modified. */
8814
+ updated_at?: string | undefined;
8787
8815
  /** Array of user identity objects when accounts are linked. */
8788
8816
  identities?: Management.UserIdentitySchema[] | undefined;
8789
8817
  app_metadata?: Management.UserAppMetadataSchema | undefined;
@@ -8796,11 +8824,14 @@ export interface CreateUserResponseContent {
8796
8824
  nickname?: string | undefined;
8797
8825
  /** List of multi-factor authentication providers with which this user has enrolled. */
8798
8826
  multifactor?: string[] | undefined;
8799
- multifactor_last_modified?: Management.UserDateSchema | undefined;
8827
+ /** Last date and time this user's multi-factor authentication providers were updated. */
8828
+ multifactor_last_modified?: string | undefined;
8800
8829
  /** Last IP address from which this user logged in. */
8801
8830
  last_ip?: string | undefined;
8802
- last_login?: Management.UserDateSchema | undefined;
8803
- last_password_reset?: Management.UserDateSchema | undefined;
8831
+ /** Last date and time this user logged in. */
8832
+ last_login?: string | undefined;
8833
+ /** Last date and time this user had their password reset. */
8834
+ last_password_reset?: string | undefined;
8804
8835
  /** Total number of logins this user has performed. */
8805
8836
  logins_count?: number | undefined;
8806
8837
  /** Whether this user was blocked by an administrator (true) or is not (false). */
@@ -8870,6 +8901,13 @@ export interface CredentialId {
8870
8901
  /** Credential ID */
8871
8902
  id: string;
8872
8903
  }
8904
+ /**
8905
+ * Configure the connection to be used as a Requesting Application for Cross App Access.
8906
+ */
8907
+ export interface CrossAppAccessRequestingApp {
8908
+ /** Set to `true` to enable the connection as a Requesting Application for Cross App Access. */
8909
+ active: boolean;
8910
+ }
8873
8911
  /**
8874
8912
  * CSP directives map. Keys are directive names, values are arrays of directive values.
8875
8913
  */
@@ -9116,7 +9154,7 @@ export interface DeleteUserIdentityResponseContentItem {
9116
9154
  /** The name of the connection for the identity. */
9117
9155
  connection: string;
9118
9156
  /** The unique identifier for the user for the identity. */
9119
- user_id: string;
9157
+ user_id: Management.UserId;
9120
9158
  /** The type of identity provider. */
9121
9159
  provider: string;
9122
9160
  /** <code>true</code> if the identity provider is a social provider, <code>false</code>s otherwise */
@@ -9408,10 +9446,11 @@ export type EmailSparkPostRegionEnum = (typeof EmailSparkPostRegionEnum)[keyof t
9408
9446
  * Specific provider setting
9409
9447
  */
9410
9448
  export type EmailSpecificProviderSettingsWithAdditionalProperties = (Record<string, unknown> | null) | undefined;
9411
- /** Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). */
9449
+ /** Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). */
9412
9450
  export declare const EmailTemplateNameEnum: {
9413
9451
  readonly VerifyEmail: "verify_email";
9414
9452
  readonly VerifyEmailByCode: "verify_email_by_code";
9453
+ readonly AuthEmailByCode: "auth_email_by_code";
9415
9454
  readonly ResetEmail: "reset_email";
9416
9455
  readonly ResetEmailByCode: "reset_email_by_code";
9417
9456
  readonly WelcomeEmail: "welcome_email";
@@ -13034,6 +13073,19 @@ export interface FedCmLoginGoogle {
13034
13073
  /** When true, shows the Google FedCM prompt on New Universal Login for this client */
13035
13074
  is_enabled?: boolean | undefined;
13036
13075
  }
13076
+ /**
13077
+ * Google FedCM configuration for this client
13078
+ */
13079
+ export interface FedCmLoginGooglePatch {
13080
+ /** When true, shows the Google FedCM prompt on New Universal Login for this client */
13081
+ is_enabled?: boolean | undefined;
13082
+ }
13083
+ /**
13084
+ * Configure FedCM login settings for New Universal Login
13085
+ */
13086
+ export interface FedCmLoginPatch {
13087
+ google?: (Management.FedCmLoginGooglePatch | null) | undefined;
13088
+ }
13037
13089
  export interface FederatedConnectionTokenSet {
13038
13090
  id?: string | undefined;
13039
13091
  connection?: string | undefined;
@@ -16192,6 +16244,8 @@ export interface GetClientResponseContent {
16192
16244
  mobile?: Management.ClientMobile | undefined;
16193
16245
  /** Initiate login uri, must be https */
16194
16246
  initiate_login_uri?: string | undefined;
16247
+ native_social_login?: Management.NativeSocialLogin | undefined;
16248
+ fedcm_login?: Management.FedCmLogin | undefined;
16195
16249
  refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
16196
16250
  default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
16197
16251
  organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -16204,6 +16258,7 @@ export interface GetClientResponseContent {
16204
16258
  /** Makes the use of Proof-of-Possession mandatory for this client */
16205
16259
  require_proof_of_possession?: boolean | undefined;
16206
16260
  signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
16261
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
16207
16262
  compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
16208
16263
  /**
16209
16264
  * Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -16276,6 +16331,7 @@ export interface GetConnectionResponseContent {
16276
16331
  metadata?: Management.ConnectionsMetadata | undefined;
16277
16332
  authentication?: Management.ConnectionAuthenticationPurpose | undefined;
16278
16333
  connected_accounts?: Management.ConnectionConnectedAccountsPurpose | undefined;
16334
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
16279
16335
  }
16280
16336
  export interface GetCustomDomainResponseContent {
16281
16337
  /** ID of the custom domain. */
@@ -16854,6 +16910,11 @@ export interface GetOrganizationResponseContent {
16854
16910
  * An object containing template partials for a group of screens.
16855
16911
  */
16856
16912
  export type GetPartialsResponseContent = Record<string, unknown>;
16913
+ export interface GetPhoneProviderProtectionResponseContent {
16914
+ type: Management.PhoneProviderProtectionBackoffStrategyEnum;
16915
+ /** Accepts any additional properties */
16916
+ [key: string]: any;
16917
+ }
16857
16918
  export interface GetPhoneTemplateResponseContent {
16858
16919
  id?: string | undefined;
16859
16920
  channel?: string | undefined;
@@ -17261,8 +17322,10 @@ export interface GetUserResponseContent {
17261
17322
  phone_number?: string | undefined;
17262
17323
  /** Whether this phone number has been verified (true) or not (false). */
17263
17324
  phone_verified?: boolean | undefined;
17264
- created_at?: Management.UserDateSchema | undefined;
17265
- updated_at?: Management.UserDateSchema | undefined;
17325
+ /** Date and time when this user was created. */
17326
+ created_at?: string | undefined;
17327
+ /** Date and time when this user was last updated/modified. */
17328
+ updated_at?: string | undefined;
17266
17329
  /** Array of user identity objects when accounts are linked. */
17267
17330
  identities?: Management.UserIdentitySchema[] | undefined;
17268
17331
  app_metadata?: Management.UserAppMetadataSchema | undefined;
@@ -17275,11 +17338,14 @@ export interface GetUserResponseContent {
17275
17338
  nickname?: string | undefined;
17276
17339
  /** List of multi-factor authentication providers with which this user has enrolled. */
17277
17340
  multifactor?: string[] | undefined;
17278
- multifactor_last_modified?: Management.UserDateSchema | undefined;
17341
+ /** Last date and time this user's multi-factor authentication providers were updated. */
17342
+ multifactor_last_modified?: string | undefined;
17279
17343
  /** Last IP address from which this user logged in. */
17280
17344
  last_ip?: string | undefined;
17281
- last_login?: Management.UserDateSchema | undefined;
17282
- last_password_reset?: Management.UserDateSchema | undefined;
17345
+ /** Last date and time this user logged in. */
17346
+ last_login?: string | undefined;
17347
+ /** Last date and time this user had their password reset. */
17348
+ last_password_reset?: string | undefined;
17283
17349
  /** Total number of logins this user has performed. */
17284
17350
  logins_count?: number | undefined;
17285
17351
  /** Whether this user was blocked by an administrator (true) or is not (false). */
@@ -18656,6 +18722,13 @@ export interface NativeSocialLoginApple {
18656
18722
  /** Determine whether or not to allow signing in natively using an Apple authorization code */
18657
18723
  enabled?: boolean | undefined;
18658
18724
  }
18725
+ /**
18726
+ * Native Social Login support for the Apple connection
18727
+ */
18728
+ export interface NativeSocialLoginApplePatch {
18729
+ /** Determine whether or not to allow signing in natively using an Apple authorization code */
18730
+ enabled?: boolean | undefined;
18731
+ }
18659
18732
  /**
18660
18733
  * Native Social Login support for the Facebook connection
18661
18734
  */
@@ -18663,6 +18736,13 @@ export interface NativeSocialLoginFacebook {
18663
18736
  /** Determine whether or not to allow signing in natively using Facebook */
18664
18737
  enabled?: boolean | undefined;
18665
18738
  }
18739
+ /**
18740
+ * Native Social Login support for the Facebook connection
18741
+ */
18742
+ export interface NativeSocialLoginFacebookPatch {
18743
+ /** Determine whether or not to allow signing in natively using Facebook */
18744
+ enabled?: boolean | undefined;
18745
+ }
18666
18746
  /**
18667
18747
  * Native Social Login support for the google-oauth2 connection
18668
18748
  */
@@ -18670,6 +18750,21 @@ export interface NativeSocialLoginGoogle {
18670
18750
  /** Determine whether or not to allow signing in natively using a Google ID token */
18671
18751
  enabled?: boolean | undefined;
18672
18752
  }
18753
+ /**
18754
+ * Native Social Login support for the google-oauth2 connection
18755
+ */
18756
+ export interface NativeSocialLoginGooglePatch {
18757
+ /** Determine whether or not to allow signing in natively using a Google ID token */
18758
+ enabled?: boolean | undefined;
18759
+ }
18760
+ /**
18761
+ * Configure native social settings
18762
+ */
18763
+ export interface NativeSocialLoginPatch {
18764
+ apple?: (Management.NativeSocialLoginApplePatch | null) | undefined;
18765
+ facebook?: (Management.NativeSocialLoginFacebookPatch | null) | undefined;
18766
+ google?: (Management.NativeSocialLoginGooglePatch | null) | undefined;
18767
+ }
18673
18768
  export type NetworkAclMatchConnectingIpv4Cidr = string;
18674
18769
  export type NetworkAclMatchConnectingIpv6Cidr = string;
18675
18770
  export type NetworkAclMatchIpv4Cidr = string;
@@ -19016,6 +19111,11 @@ export interface PatchClientCredentialResponseContent {
19016
19111
  /** Accepts any additional properties */
19017
19112
  [key: string]: any;
19018
19113
  }
19114
+ export interface PatchPhoneProviderProtectionResponseContent {
19115
+ type: Management.PhoneProviderProtectionBackoffStrategyEnum;
19116
+ /** Accepts any additional properties */
19117
+ [key: string]: any;
19118
+ }
19019
19119
  export type PatchRateLimitPolicyConfigurationRequestContent = {
19020
19120
  action: "allow";
19021
19121
  } | {
@@ -19079,6 +19179,12 @@ export declare const PhoneProviderNameEnum: {
19079
19179
  readonly Custom: "custom";
19080
19180
  };
19081
19181
  export type PhoneProviderNameEnum = (typeof PhoneProviderNameEnum)[keyof typeof PhoneProviderNameEnum];
19182
+ /** The type of backoff strategy to use. */
19183
+ export declare const PhoneProviderProtectionBackoffStrategyEnum: {
19184
+ readonly Exponential: "exponential";
19185
+ readonly None: "none";
19186
+ };
19187
+ export type PhoneProviderProtectionBackoffStrategyEnum = (typeof PhoneProviderProtectionBackoffStrategyEnum)[keyof typeof PhoneProviderProtectionBackoffStrategyEnum];
19082
19188
  /**
19083
19189
  * Phone provider configuration schema
19084
19190
  */
@@ -19765,6 +19871,8 @@ export interface RotateClientSecretResponseContent {
19765
19871
  mobile?: Management.ClientMobile | undefined;
19766
19872
  /** Initiate login uri, must be https */
19767
19873
  initiate_login_uri?: string | undefined;
19874
+ native_social_login?: Management.NativeSocialLogin | undefined;
19875
+ fedcm_login?: Management.FedCmLogin | undefined;
19768
19876
  refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
19769
19877
  default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
19770
19878
  organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -19777,6 +19885,7 @@ export interface RotateClientSecretResponseContent {
19777
19885
  /** Makes the use of Proof-of-Possession mandatory for this client */
19778
19886
  require_proof_of_possession?: boolean | undefined;
19779
19887
  signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
19888
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
19780
19889
  compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
19781
19890
  /**
19782
19891
  * Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -20973,6 +21082,7 @@ export interface TokenQuotaConfiguration {
20973
21082
  /** Accepts any additional properties */
20974
21083
  [key: string]: any;
20975
21084
  }
21085
+ export type TokenVaultPrivilegedAccessIpAllowlistEntry = string;
20976
21086
  /**
20977
21087
  * Too Many Requests
20978
21088
  */
@@ -21295,6 +21405,8 @@ export interface UpdateClientResponseContent {
21295
21405
  mobile?: Management.ClientMobile | undefined;
21296
21406
  /** Initiate login uri, must be https */
21297
21407
  initiate_login_uri?: string | undefined;
21408
+ native_social_login?: Management.NativeSocialLogin | undefined;
21409
+ fedcm_login?: Management.FedCmLogin | undefined;
21298
21410
  refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
21299
21411
  default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
21300
21412
  organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -21307,6 +21419,7 @@ export interface UpdateClientResponseContent {
21307
21419
  /** Makes the use of Proof-of-Possession mandatory for this client */
21308
21420
  require_proof_of_possession?: boolean | undefined;
21309
21421
  signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
21422
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
21310
21423
  compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
21311
21424
  /**
21312
21425
  * Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -21586,6 +21699,7 @@ export interface UpdateConnectionRequestContentOidc extends Management.Connectio
21586
21699
  options?: Management.ConnectionOptionsOidc | undefined;
21587
21700
  authentication?: Management.ConnectionAuthenticationPurpose | undefined;
21588
21701
  connected_accounts?: Management.ConnectionConnectedAccountsPurposeXaa | undefined;
21702
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
21589
21703
  show_as_button?: Management.ConnectionShowAsButton | undefined;
21590
21704
  }
21591
21705
  /**
@@ -21599,6 +21713,7 @@ export interface UpdateConnectionRequestContentOffice365 extends Management.Conn
21599
21713
  * Update a connection with strategy=okta
21600
21714
  */
21601
21715
  export interface UpdateConnectionRequestContentOkta extends Management.ConnectionCommon {
21716
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
21602
21717
  options?: Management.ConnectionOptionsOkta | undefined;
21603
21718
  show_as_button?: Management.ConnectionShowAsButton | undefined;
21604
21719
  }
@@ -21758,6 +21873,7 @@ export interface UpdateConnectionResponseContent {
21758
21873
  metadata?: Management.ConnectionsMetadata | undefined;
21759
21874
  authentication?: Management.ConnectionAuthenticationPurpose | undefined;
21760
21875
  connected_accounts?: Management.ConnectionConnectedAccountsPurpose | undefined;
21876
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
21761
21877
  }
21762
21878
  export interface UpdateCustomDomainResponseContent {
21763
21879
  /** ID of the custom domain. */
@@ -22341,8 +22457,10 @@ export interface UpdateUserResponseContent {
22341
22457
  phone_number?: string | undefined;
22342
22458
  /** Whether this phone number has been verified (true) or not (false). */
22343
22459
  phone_verified?: boolean | undefined;
22344
- created_at?: Management.UserDateSchema | undefined;
22345
- updated_at?: Management.UserDateSchema | undefined;
22460
+ /** Date and time when this user was created. */
22461
+ created_at?: string | undefined;
22462
+ /** Date and time when this user was last updated/modified. */
22463
+ updated_at?: string | undefined;
22346
22464
  /** Array of user identity objects when accounts are linked. */
22347
22465
  identities?: Management.UserIdentitySchema[] | undefined;
22348
22466
  app_metadata?: Management.UserAppMetadataSchema | undefined;
@@ -22355,11 +22473,14 @@ export interface UpdateUserResponseContent {
22355
22473
  nickname?: string | undefined;
22356
22474
  /** List of multi-factor authentication providers with which this user has enrolled. */
22357
22475
  multifactor?: string[] | undefined;
22358
- multifactor_last_modified?: Management.UserDateSchema | undefined;
22476
+ /** Last date and time this user's multi-factor authentication providers were updated. */
22477
+ multifactor_last_modified?: string | undefined;
22359
22478
  /** Last IP address from which this user logged in. */
22360
22479
  last_ip?: string | undefined;
22361
- last_login?: Management.UserDateSchema | undefined;
22362
- last_password_reset?: Management.UserDateSchema | undefined;
22480
+ /** Last date and time this user logged in. */
22481
+ last_login?: string | undefined;
22482
+ /** Last date and time this user had their password reset. */
22483
+ last_password_reset?: string | undefined;
22363
22484
  /** Total number of logins this user has performed. */
22364
22485
  logins_count?: number | undefined;
22365
22486
  /** Whether this user was blocked by an administrator (true) or is not (false). */
@@ -22590,13 +22711,6 @@ export interface UserBlockIdentifier {
22590
22711
  /** Accepts any additional properties */
22591
22712
  [key: string]: any;
22592
22713
  }
22593
- export type UserDateSchema =
22594
- /**
22595
- * Date and time when this user was created (ISO_8601 format). */
22596
- string
22597
- /**
22598
- * Date and time when this user was created (ISO_8601 format). */
22599
- | Record<string, unknown>;
22600
22714
  export interface UserEffectivePermissionResponseContent {
22601
22715
  /** Resource server (API) identifier that this permission is for. */
22602
22716
  resource_server_identifier?: string | undefined;
@@ -22678,7 +22792,7 @@ export interface UserGroupsResponseSchema extends Management.Group {
22678
22792
  membership_created_at?: string | undefined;
22679
22793
  }
22680
22794
  /**
22681
- * user_id of the secondary user account being linked.
22795
+ * Unique identifier of the user for this identity.
22682
22796
  */
22683
22797
  export type UserId = string | number;
22684
22798
  export interface UserIdentity {
@@ -22760,8 +22874,7 @@ export type UserIdentityProviderEnum = (typeof UserIdentityProviderEnum)[keyof t
22760
22874
  export interface UserIdentitySchema {
22761
22875
  /** Name of the connection containing this identity. */
22762
22876
  connection?: string | undefined;
22763
- /** Unique identifier of the user user for this identity. */
22764
- user_id?: string | undefined;
22877
+ user_id?: Management.UserId | undefined;
22765
22878
  provider?: Management.UserIdentityProviderEnum | undefined;
22766
22879
  /** Whether this identity is from a social provider (true) or not (false). */
22767
22880
  isSocial?: boolean | undefined;
@@ -22837,8 +22950,10 @@ export interface UserResponseSchema {
22837
22950
  phone_number?: string | undefined;
22838
22951
  /** Whether this phone number has been verified (true) or not (false). */
22839
22952
  phone_verified?: boolean | undefined;
22840
- created_at?: Management.UserDateSchema | undefined;
22841
- updated_at?: Management.UserDateSchema | undefined;
22953
+ /** Date and time when this user was created. */
22954
+ created_at?: string | undefined;
22955
+ /** Date and time when this user was last updated/modified. */
22956
+ updated_at?: string | undefined;
22842
22957
  /** Array of user identity objects when accounts are linked. */
22843
22958
  identities?: Management.UserIdentitySchema[] | undefined;
22844
22959
  app_metadata?: Management.UserAppMetadataSchema | undefined;
@@ -22851,11 +22966,14 @@ export interface UserResponseSchema {
22851
22966
  nickname?: string | undefined;
22852
22967
  /** List of multi-factor authentication providers with which this user has enrolled. */
22853
22968
  multifactor?: string[] | undefined;
22854
- multifactor_last_modified?: Management.UserDateSchema | undefined;
22969
+ /** Last date and time this user's multi-factor authentication providers were updated. */
22970
+ multifactor_last_modified?: string | undefined;
22855
22971
  /** Last IP address from which this user logged in. */
22856
22972
  last_ip?: string | undefined;
22857
- last_login?: Management.UserDateSchema | undefined;
22858
- last_password_reset?: Management.UserDateSchema | undefined;
22973
+ /** Last date and time this user logged in. */
22974
+ last_login?: string | undefined;
22975
+ /** Last date and time this user had their password reset. */
22976
+ last_password_reset?: string | undefined;
22859
22977
  /** Total number of logins this user has performed. */
22860
22978
  logins_count?: number | undefined;
22861
22979
  /** Whether this user was blocked by an administrator (true) or is not (false). */
@@ -2279,10 +2279,11 @@ export const EmailProviderNameEnum = {
2279
2279
  export const EmailSparkPostRegionEnum = {
2280
2280
  Eu: "eu",
2281
2281
  };
2282
- /** Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). */
2282
+ /** Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). */
2283
2283
  export const EmailTemplateNameEnum = {
2284
2284
  VerifyEmail: "verify_email",
2285
2285
  VerifyEmailByCode: "verify_email_by_code",
2286
+ AuthEmailByCode: "auth_email_by_code",
2286
2287
  ResetEmail: "reset_email",
2287
2288
  ResetEmailByCode: "reset_email_by_code",
2288
2289
  WelcomeEmail: "welcome_email",
@@ -4352,6 +4353,11 @@ export const PhoneProviderNameEnum = {
4352
4353
  Twilio: "twilio",
4353
4354
  Custom: "custom",
4354
4355
  };
4356
+ /** The type of backoff strategy to use. */
4357
+ export const PhoneProviderProtectionBackoffStrategyEnum = {
4358
+ Exponential: "exponential",
4359
+ None: "none",
4360
+ };
4355
4361
  export const PhoneTemplateNotificationTypeEnum = {
4356
4362
  OtpVerify: "otp_verify",
4357
4363
  OtpEnroll: "otp_enroll",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.12.0";
1
+ export declare const SDK_VERSION = "5.13.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.12.0";
1
+ export const SDK_VERSION = "5.13.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auth0",
3
- "version": "5.12.0",
3
+ "version": "5.13.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",