auth0 4.0.0-beta.4 → 4.0.0-beta.6

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 (63) hide show
  1. package/dist/cjs/auth/base-auth-api.js +15 -2
  2. package/dist/cjs/auth/base-auth-api.js.map +1 -1
  3. package/dist/cjs/auth/id-token-validator.js +14 -4
  4. package/dist/cjs/auth/id-token-validator.js.map +1 -1
  5. package/dist/cjs/auth/oauth.js.map +1 -1
  6. package/dist/cjs/index.js +1 -0
  7. package/dist/cjs/index.js.map +1 -1
  8. package/dist/cjs/lib/runtime.js +4 -16
  9. package/dist/cjs/lib/runtime.js.map +1 -1
  10. package/dist/cjs/management/__generated/managers/attack-protection-manager.js +0 -12
  11. package/dist/cjs/management/__generated/managers/attack-protection-manager.js.map +1 -1
  12. package/dist/cjs/management/__generated/managers/clients-manager.js +114 -10
  13. package/dist/cjs/management/__generated/managers/clients-manager.js.map +1 -1
  14. package/dist/cjs/management/__generated/managers/connections-manager.js +8 -0
  15. package/dist/cjs/management/__generated/managers/connections-manager.js.map +1 -1
  16. package/dist/cjs/management/__generated/managers/hooks-manager.js +2 -2
  17. package/dist/cjs/management/__generated/managers/hooks-manager.js.map +1 -1
  18. package/dist/cjs/management/__generated/managers/roles-manager.js +3 -3
  19. package/dist/cjs/management/__generated/managers/roles-manager.js.map +1 -1
  20. package/dist/cjs/management/__generated/managers/users-manager.js +1 -1
  21. package/dist/cjs/management/__generated/managers/users-manager.js.map +1 -1
  22. package/dist/cjs/management/__generated/models/index.js +73 -11
  23. package/dist/cjs/management/__generated/models/index.js.map +1 -1
  24. package/dist/cjs/userinfo/index.js +72 -0
  25. package/dist/cjs/userinfo/index.js.map +1 -0
  26. package/dist/cjs/version.js +1 -1
  27. package/dist/esm/auth/base-auth-api.js +15 -2
  28. package/dist/esm/auth/base-auth-api.js.map +1 -1
  29. package/dist/esm/auth/id-token-validator.js +14 -4
  30. package/dist/esm/auth/id-token-validator.js.map +1 -1
  31. package/dist/esm/auth/oauth.js.map +1 -1
  32. package/dist/esm/index.js +1 -0
  33. package/dist/esm/index.js.map +1 -1
  34. package/dist/esm/management/__generated/managers/attack-protection-manager.js +0 -12
  35. package/dist/esm/management/__generated/managers/attack-protection-manager.js.map +1 -1
  36. package/dist/esm/management/__generated/managers/clients-manager.js +114 -10
  37. package/dist/esm/management/__generated/managers/clients-manager.js.map +1 -1
  38. package/dist/esm/management/__generated/managers/connections-manager.js +8 -0
  39. package/dist/esm/management/__generated/managers/connections-manager.js.map +1 -1
  40. package/dist/esm/management/__generated/managers/hooks-manager.js +2 -2
  41. package/dist/esm/management/__generated/managers/hooks-manager.js.map +1 -1
  42. package/dist/esm/management/__generated/managers/roles-manager.js +3 -3
  43. package/dist/esm/management/__generated/managers/roles-manager.js.map +1 -1
  44. package/dist/esm/management/__generated/managers/users-manager.js +1 -1
  45. package/dist/esm/management/__generated/managers/users-manager.js.map +1 -1
  46. package/dist/esm/management/__generated/models/index.js +69 -7
  47. package/dist/esm/management/__generated/models/index.js.map +1 -1
  48. package/dist/esm/userinfo/index.js +66 -0
  49. package/dist/esm/userinfo/index.js.map +1 -0
  50. package/dist/esm/version.js +1 -1
  51. package/dist/types/auth/oauth.d.ts +8 -0
  52. package/dist/types/index.d.ts +1 -0
  53. package/dist/types/lib/runtime.d.ts +1 -1
  54. package/dist/types/management/__generated/managers/attack-protection-manager.d.ts +0 -8
  55. package/dist/types/management/__generated/managers/clients-manager.d.ts +66 -11
  56. package/dist/types/management/__generated/managers/connections-manager.d.ts +16 -0
  57. package/dist/types/management/__generated/managers/hooks-manager.d.ts +2 -6
  58. package/dist/types/management/__generated/managers/roles-manager.d.ts +3 -3
  59. package/dist/types/management/__generated/managers/users-manager.d.ts +4 -8
  60. package/dist/types/management/__generated/models/index.d.ts +456 -35
  61. package/dist/types/userinfo/index.d.ts +55 -0
  62. package/dist/types/version.d.ts +1 -1
  63. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- /// <reference types="node" />
1
+ /// <reference types="node" resolution-mode="require"/>
2
2
  import type { ReadStream } from 'fs';
3
3
  /**
4
4
  *
@@ -178,10 +178,13 @@ export interface Client {
178
178
  */
179
179
  organization_usage?: ClientOrganizationUsageEnum;
180
180
  /**
181
- * Defines how to proceed during an authentication transaction when `client.organization_usage: 'require'`. Can be `no_prompt` (default) or `pre_login_prompt`.
181
+ * Defines how to proceed during an authentication transaction when `client.organization_usage: 'require'`. Can be `no_prompt` (default), `pre_login_prompt` or `post_login_prompt`. `post_login_prompt` requires `oidc_conformant: true`.
182
182
  *
183
183
  */
184
184
  organization_require_behavior?: ClientOrganizationRequireBehaviorEnum;
185
+ /**
186
+ */
187
+ client_authentication_methods?: ClientClientAuthenticationMethods | null;
185
188
  }
186
189
  export declare const ClientTokenEndpointAuthMethodEnum: {
187
190
  readonly none: "none";
@@ -805,6 +808,34 @@ export interface ClientAddonsZoom {
805
808
  */
806
809
  account?: string;
807
810
  }
811
+ /**
812
+ * Defines client authentication methods.
813
+ */
814
+ export interface ClientClientAuthenticationMethods {
815
+ /**
816
+ */
817
+ private_key_jwt: ClientClientAuthenticationMethodsPrivateKeyJwt;
818
+ }
819
+ /**
820
+ * Defines `private_key_jwt` client authentication method. If this property is defined, the client is enabled to use the Private Key JWT authentication method.
821
+ */
822
+ export interface ClientClientAuthenticationMethodsPrivateKeyJwt {
823
+ /**
824
+ * The list of unique credential IDs that are enabled on the client for Private Key JWT authentication.
825
+ *
826
+ */
827
+ credentials: Array<ClientClientAuthenticationMethodsPrivateKeyJwtCredentialsInner>;
828
+ }
829
+ /**
830
+ *
831
+ */
832
+ export interface ClientClientAuthenticationMethodsPrivateKeyJwtCredentialsInner {
833
+ /**
834
+ * Credential ID
835
+ *
836
+ */
837
+ id: string;
838
+ }
808
839
  /**
809
840
  *
810
841
  */
@@ -958,10 +989,13 @@ export interface ClientCreate {
958
989
  */
959
990
  organization_usage?: ClientCreateOrganizationUsageEnum;
960
991
  /**
961
- * Defines how to proceed during an authentication transaction when `client.organization_usage: 'require'`. Can be `no_prompt` (default) or `pre_login_prompt`.
992
+ * Defines how to proceed during an authentication transaction when `client.organization_usage: 'require'`. Can be `no_prompt` (default), `pre_login_prompt` or `post_login_prompt`. `post_login_prompt` requires `oidc_conformant: true`.
962
993
  *
963
994
  */
964
995
  organization_require_behavior?: ClientCreateOrganizationRequireBehaviorEnum;
996
+ /**
997
+ */
998
+ client_authentication_methods?: ClientCreateClientAuthenticationMethods;
965
999
  }
966
1000
  export declare const ClientCreateTokenEndpointAuthMethodEnum: {
967
1001
  readonly none: "none";
@@ -1006,6 +1040,24 @@ export declare const ClientCreateOrganizationRequireBehaviorEnum: {
1006
1040
  readonly post_login_prompt: "post_login_prompt";
1007
1041
  };
1008
1042
  export type ClientCreateOrganizationRequireBehaviorEnum = (typeof ClientCreateOrganizationRequireBehaviorEnum)[keyof typeof ClientCreateOrganizationRequireBehaviorEnum];
1043
+ /**
1044
+ * Defines client authentication methods.
1045
+ */
1046
+ export interface ClientCreateClientAuthenticationMethods {
1047
+ /**
1048
+ */
1049
+ private_key_jwt: ClientCreateClientAuthenticationMethodsPrivateKeyJwt;
1050
+ }
1051
+ /**
1052
+ * Defines `private_key_jwt` client authentication method. If this property is defined, the client is enabled to use the Private Key JWT authentication method.
1053
+ */
1054
+ export interface ClientCreateClientAuthenticationMethodsPrivateKeyJwt {
1055
+ /**
1056
+ * Fully defined credentials that will be enabled on the client for Private Key JWT authentication.
1057
+ *
1058
+ */
1059
+ credentials: Array<PostCredentialsRequest>;
1060
+ }
1009
1061
  /**
1010
1062
  * Encryption used for WsFed responses with this client.
1011
1063
  */
@@ -1510,10 +1562,13 @@ export interface ClientUpdate {
1510
1562
  */
1511
1563
  organization_usage?: ClientUpdateOrganizationUsageEnum;
1512
1564
  /**
1513
- * Defines how to proceed during an authentication transaction when `client.organization_usage: 'require'`. Can be `no_prompt` (default) or `pre_login_prompt`.
1565
+ * Defines how to proceed during an authentication transaction when `client.organization_usage: 'require'`. Can be `no_prompt` (default), `pre_login_prompt` or `post_login_prompt`. `post_login_prompt` requires `oidc_conformant: true`.
1514
1566
  *
1515
1567
  */
1516
1568
  organization_require_behavior?: ClientUpdateOrganizationRequireBehaviorEnum;
1569
+ /**
1570
+ */
1571
+ client_authentication_methods?: ClientUpdateClientAuthenticationMethods | null;
1517
1572
  }
1518
1573
  export declare const ClientUpdateTokenEndpointAuthMethodEnum: {
1519
1574
  readonly none: "none";
@@ -1671,6 +1726,24 @@ export interface ClientUpdateAddons {
1671
1726
  */
1672
1727
  sso_integration?: ClientAddonsSsoIntegration;
1673
1728
  }
1729
+ /**
1730
+ * Defines client authentication methods.
1731
+ */
1732
+ export interface ClientUpdateClientAuthenticationMethods {
1733
+ /**
1734
+ */
1735
+ private_key_jwt: ClientUpdateClientAuthenticationMethodsPrivateKeyJwt;
1736
+ }
1737
+ /**
1738
+ * Defines `private_key_jwt` client authentication method. If this property is defined, the client is enabled to use the Private Key JWT authentication method.
1739
+ */
1740
+ export interface ClientUpdateClientAuthenticationMethodsPrivateKeyJwt {
1741
+ /**
1742
+ * A list of unique credential IDs that will be enabled on the client for Private Key JWT authentication. The credentials must be previously created.
1743
+ *
1744
+ */
1745
+ credentials: Array<ClientClientAuthenticationMethodsPrivateKeyJwtCredentialsInner>;
1746
+ }
1674
1747
  /**
1675
1748
  * The client's encryption key
1676
1749
  */
@@ -2144,7 +2217,7 @@ export interface ConnectionCreateOptionsValidationUsername {
2144
2217
  */
2145
2218
  export interface ConnectionUpdate {
2146
2219
  /**
2147
- * Connection name used in the new universal login experience
2220
+ * The connection name used in the new universal login experience. If display_name is not included in the request, the field will be overwritten with the name value.
2148
2221
  *
2149
2222
  */
2150
2223
  display_name?: string;
@@ -3333,6 +3406,7 @@ export declare const GetActions200ResponseActionsInnerSupportedTriggersInnerIdEn
3333
3406
  readonly iga_certification: "iga-certification";
3334
3407
  readonly iga_fulfillment_assignment: "iga-fulfillment-assignment";
3335
3408
  readonly iga_fulfillment_execution: "iga-fulfillment-execution";
3409
+ readonly password_reset_post_challenge: "password-reset-post-challenge";
3336
3410
  };
3337
3411
  export type GetActions200ResponseActionsInnerSupportedTriggersInnerIdEnum = (typeof GetActions200ResponseActionsInnerSupportedTriggersInnerIdEnum)[keyof typeof GetActions200ResponseActionsInnerSupportedTriggersInnerIdEnum];
3338
3412
  /**
@@ -3361,6 +3435,7 @@ export declare const GetActions200ResponseActionsInnerSupportedTriggersInnerComp
3361
3435
  readonly iga_certification: "iga-certification";
3362
3436
  readonly iga_fulfillment_assignment: "iga-fulfillment-assignment";
3363
3437
  readonly iga_fulfillment_execution: "iga-fulfillment-execution";
3438
+ readonly password_reset_post_challenge: "password-reset-post-challenge";
3364
3439
  };
3365
3440
  export type GetActions200ResponseActionsInnerSupportedTriggersInnerCompatibleTriggersInnerIdEnum = (typeof GetActions200ResponseActionsInnerSupportedTriggersInnerCompatibleTriggersInnerIdEnum)[keyof typeof GetActions200ResponseActionsInnerSupportedTriggersInnerCompatibleTriggersInnerIdEnum];
3366
3441
  /**
@@ -3659,6 +3734,7 @@ export declare const GetBindings200ResponseBindingsInnerTriggerIdEnum: {
3659
3734
  readonly iga_certification: "iga-certification";
3660
3735
  readonly iga_fulfillment_assignment: "iga-fulfillment-assignment";
3661
3736
  readonly iga_fulfillment_execution: "iga-fulfillment-execution";
3737
+ readonly password_reset_post_challenge: "password-reset-post-challenge";
3662
3738
  };
3663
3739
  export type GetBindings200ResponseBindingsInnerTriggerIdEnum = (typeof GetBindings200ResponseBindingsInnerTriggerIdEnum)[keyof typeof GetBindings200ResponseBindingsInnerTriggerIdEnum];
3664
3740
  /**
@@ -3699,14 +3775,12 @@ export interface GetBranding200ResponseColors {
3699
3775
  * Page Background Color or Gradient.
3700
3776
  * Property contains either <code>null</code> to unset, a solid color as a string value <code>#FFFFFF</code>, or a gradient as an object.
3701
3777
  *
3702
- * <code>
3703
- * {
3778
+ * <pre><code>{
3704
3779
  * type: 'linear-gradient',
3705
3780
  * start: '#FFFFFF',
3706
3781
  * end: '#000000',
3707
3782
  * angle_deg: 35
3708
- * }
3709
- * </code>
3783
+ * }</code></pre>
3710
3784
  */
3711
3785
  export type GetBranding200ResponseColorsPageBackground = string | {
3712
3786
  [key: string]: any;
@@ -3763,6 +3837,57 @@ export interface GetConnections200ResponseOneOf {
3763
3837
  */
3764
3838
  connections?: Array<Connection>;
3765
3839
  }
3840
+ /**
3841
+ *
3842
+ */
3843
+ export interface GetCredentials200ResponseInner {
3844
+ /**
3845
+ * ID of the credential. Generated on creation.
3846
+ *
3847
+ */
3848
+ id?: string;
3849
+ /**
3850
+ * The name given to the credential by the user.
3851
+ *
3852
+ */
3853
+ name?: string;
3854
+ /**
3855
+ * The key identifier of the credential, generated on creation.
3856
+ *
3857
+ */
3858
+ kid?: string;
3859
+ /**
3860
+ * Algorithm which will be used with the credential. Supported algorithms: RS256,RS384,PS256
3861
+ *
3862
+ */
3863
+ alg?: GetCredentials200ResponseInnerAlgEnum;
3864
+ /**
3865
+ * The type of credential. Supported types: public_key.
3866
+ *
3867
+ */
3868
+ credential_type?: string;
3869
+ /**
3870
+ * The ISO 8601 formatted date the credential was created.
3871
+ *
3872
+ */
3873
+ created_at?: string;
3874
+ /**
3875
+ * The ISO 8601 formatted date the credential was updated.
3876
+ *
3877
+ */
3878
+ updated_at?: string;
3879
+ /**
3880
+ * The ISO 8601 formatted date representing the expiration of the credential.
3881
+ *
3882
+ */
3883
+ expires_at?: string;
3884
+ }
3885
+ export declare const GetCredentials200ResponseInnerAlgEnum: {
3886
+ readonly RS256: "RS256";
3887
+ readonly RS384: "RS384";
3888
+ readonly PS256: "PS256";
3889
+ };
3890
+ export type GetCredentials200ResponseInnerAlgEnum = (typeof GetCredentials200ResponseInnerAlgEnum)[keyof typeof GetCredentials200ResponseInnerAlgEnum];
3766
3891
  /**
3767
3892
  *
3768
3893
  */
@@ -3987,6 +4112,7 @@ export declare const GetExecution200ResponseTriggerIdEnum: {
3987
4112
  readonly iga_certification: "iga-certification";
3988
4113
  readonly iga_fulfillment_assignment: "iga-fulfillment-assignment";
3989
4114
  readonly iga_fulfillment_execution: "iga-fulfillment-execution";
4115
+ readonly password_reset_post_challenge: "password-reset-post-challenge";
3990
4116
  };
3991
4117
  export type GetExecution200ResponseTriggerIdEnum = (typeof GetExecution200ResponseTriggerIdEnum)[keyof typeof GetExecution200ResponseTriggerIdEnum];
3992
4118
  export declare const GetExecution200ResponseStatusEnum: {
@@ -6154,6 +6280,16 @@ export interface PatchClientGrantsByIdRequest {
6154
6280
  */
6155
6281
  scope?: Array<string>;
6156
6282
  }
6283
+ /**
6284
+ *
6285
+ */
6286
+ export interface PatchCredentialsByCredentialIdRequest {
6287
+ /**
6288
+ * The ISO 8601 formatted date representing the expiration of the credential.
6289
+ *
6290
+ */
6291
+ expires_at?: string | null;
6292
+ }
6157
6293
  /**
6158
6294
  *
6159
6295
  */
@@ -6223,16 +6359,73 @@ export type PatchLogStreamsByIdRequestStatusEnum = (typeof PatchLogStreamsByIdRe
6223
6359
  /**
6224
6360
  *
6225
6361
  */
6226
- export type PatchLogStreamsByIdRequestSink = GetLogStreams200ResponseInnerOneOf3Sink | GetLogStreams200ResponseInnerOneOf4Sink | GetLogStreams200ResponseInnerOneOf5Sink | GetLogStreams200ResponseInnerOneOf6Sink | GetLogStreams200ResponseInnerOneOfSink | PatchLogStreamsByIdRequestSinkOneOf;
6362
+ export type PatchLogStreamsByIdRequestSink = GetLogStreams200ResponseInnerOneOf5Sink | GetLogStreams200ResponseInnerOneOfSink | PatchLogStreamsByIdRequestSinkOneOf | PatchLogStreamsByIdRequestSinkOneOf1 | PatchLogStreamsByIdRequestSinkOneOf2 | PatchLogStreamsByIdRequestSinkOneOf3;
6227
6363
  /**
6228
6364
  *
6229
6365
  */
6230
6366
  export interface PatchLogStreamsByIdRequestSinkOneOf {
6367
+ /**
6368
+ * Datadog API Key
6369
+ *
6370
+ */
6371
+ datadogApiKey?: string;
6372
+ /**
6373
+ * Datadog region
6374
+ *
6375
+ */
6376
+ datadogRegion: PatchLogStreamsByIdRequestSinkOneOfDatadogRegionEnum;
6377
+ }
6378
+ export declare const PatchLogStreamsByIdRequestSinkOneOfDatadogRegionEnum: {
6379
+ readonly us: "us";
6380
+ readonly eu: "eu";
6381
+ readonly us3: "us3";
6382
+ readonly us5: "us5";
6383
+ };
6384
+ export type PatchLogStreamsByIdRequestSinkOneOfDatadogRegionEnum = (typeof PatchLogStreamsByIdRequestSinkOneOfDatadogRegionEnum)[keyof typeof PatchLogStreamsByIdRequestSinkOneOfDatadogRegionEnum];
6385
+ /**
6386
+ *
6387
+ */
6388
+ export interface PatchLogStreamsByIdRequestSinkOneOf1 {
6389
+ /**
6390
+ * Splunk URL Endpoint
6391
+ *
6392
+ */
6393
+ splunkDomain: string;
6394
+ /**
6395
+ * Port
6396
+ *
6397
+ */
6398
+ splunkPort: string;
6399
+ /**
6400
+ * Splunk token
6401
+ *
6402
+ */
6403
+ splunkToken?: string;
6404
+ /**
6405
+ * Verify TLS certificate
6406
+ *
6407
+ */
6408
+ splunkSecure: boolean;
6409
+ }
6410
+ /**
6411
+ *
6412
+ */
6413
+ export interface PatchLogStreamsByIdRequestSinkOneOf2 {
6414
+ /**
6415
+ * Segment write key
6416
+ *
6417
+ */
6418
+ segmentWriteKey?: string;
6419
+ }
6420
+ /**
6421
+ *
6422
+ */
6423
+ export interface PatchLogStreamsByIdRequestSinkOneOf3 {
6231
6424
  /**
6232
6425
  * Mixpanel Region
6233
6426
  *
6234
6427
  */
6235
- mixpanelRegion: PatchLogStreamsByIdRequestSinkOneOfMixpanelRegionEnum;
6428
+ mixpanelRegion: PatchLogStreamsByIdRequestSinkOneOf3MixpanelRegionEnum;
6236
6429
  /**
6237
6430
  * Mixpanel Project Id
6238
6431
  *
@@ -6249,11 +6442,11 @@ export interface PatchLogStreamsByIdRequestSinkOneOf {
6249
6442
  */
6250
6443
  mixpanelServiceAccountPassword?: string;
6251
6444
  }
6252
- export declare const PatchLogStreamsByIdRequestSinkOneOfMixpanelRegionEnum: {
6445
+ export declare const PatchLogStreamsByIdRequestSinkOneOf3MixpanelRegionEnum: {
6253
6446
  readonly us: "us";
6254
6447
  readonly eu: "eu";
6255
6448
  };
6256
- export type PatchLogStreamsByIdRequestSinkOneOfMixpanelRegionEnum = (typeof PatchLogStreamsByIdRequestSinkOneOfMixpanelRegionEnum)[keyof typeof PatchLogStreamsByIdRequestSinkOneOfMixpanelRegionEnum];
6449
+ export type PatchLogStreamsByIdRequestSinkOneOf3MixpanelRegionEnum = (typeof PatchLogStreamsByIdRequestSinkOneOf3MixpanelRegionEnum)[keyof typeof PatchLogStreamsByIdRequestSinkOneOf3MixpanelRegionEnum];
6257
6450
  /**
6258
6451
  *
6259
6452
  */
@@ -6512,7 +6705,7 @@ export interface PostAuthenticationMethods201Response {
6512
6705
  email?: string;
6513
6706
  /**
6514
6707
  */
6515
- authentication_methods?: Array<PostAuthenticationMethods201ResponseAuthenticationMethodsInner>;
6708
+ authentication_methods?: Array<PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInner>;
6516
6709
  /**
6517
6710
  * Preferred phone authentication method
6518
6711
  *
@@ -6551,24 +6744,6 @@ export declare const PostAuthenticationMethods201ResponsePreferredAuthentication
6551
6744
  readonly sms: "sms";
6552
6745
  };
6553
6746
  export type PostAuthenticationMethods201ResponsePreferredAuthenticationMethodEnum = (typeof PostAuthenticationMethods201ResponsePreferredAuthenticationMethodEnum)[keyof typeof PostAuthenticationMethods201ResponsePreferredAuthenticationMethodEnum];
6554
- /**
6555
- *
6556
- */
6557
- export interface PostAuthenticationMethods201ResponseAuthenticationMethodsInner {
6558
- /**
6559
- */
6560
- id?: string;
6561
- /**
6562
- */
6563
- type?: PostAuthenticationMethods201ResponseAuthenticationMethodsInnerTypeEnum;
6564
- }
6565
- export declare const PostAuthenticationMethods201ResponseAuthenticationMethodsInnerTypeEnum: {
6566
- readonly totp: "totp";
6567
- readonly push: "push";
6568
- readonly sms: "sms";
6569
- readonly voice: "voice";
6570
- };
6571
- export type PostAuthenticationMethods201ResponseAuthenticationMethodsInnerTypeEnum = (typeof PostAuthenticationMethods201ResponseAuthenticationMethodsInnerTypeEnum)[keyof typeof PostAuthenticationMethods201ResponseAuthenticationMethodsInnerTypeEnum];
6572
6747
  /**
6573
6748
  *
6574
6749
  */
@@ -7048,6 +7223,51 @@ export declare const PostBrandingThemeRequestWidgetSocialButtonsLayoutEnum: {
7048
7223
  readonly top: "top";
7049
7224
  };
7050
7225
  export type PostBrandingThemeRequestWidgetSocialButtonsLayoutEnum = (typeof PostBrandingThemeRequestWidgetSocialButtonsLayoutEnum)[keyof typeof PostBrandingThemeRequestWidgetSocialButtonsLayoutEnum];
7226
+ /**
7227
+ *
7228
+ */
7229
+ export interface PostCredentialsRequest {
7230
+ /**
7231
+ * Credential type. Supported types: public_key.
7232
+ *
7233
+ */
7234
+ credential_type: PostCredentialsRequestCredentialTypeEnum;
7235
+ /**
7236
+ * Friendly name for a credential.
7237
+ *
7238
+ */
7239
+ name?: string;
7240
+ /**
7241
+ * PEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped.
7242
+ *
7243
+ */
7244
+ pem: string;
7245
+ /**
7246
+ * Algorithm which will be used with the credential. Can be one of RS256, RS384, PS256. If not specified, RS256 will be used.
7247
+ *
7248
+ */
7249
+ alg?: PostCredentialsRequestAlgEnum;
7250
+ /**
7251
+ * Parse expiry from x509 certificate. If true, attempts to parse the expiry date from the provided PEM.
7252
+ *
7253
+ */
7254
+ parse_expiry_from_cert?: boolean;
7255
+ /**
7256
+ * The ISO 8601 formatted date representing the expiration of the credential. If not specified (not recommended), the credential never expires.
7257
+ *
7258
+ */
7259
+ expires_at?: string;
7260
+ }
7261
+ export declare const PostCredentialsRequestCredentialTypeEnum: {
7262
+ readonly public_key: "public_key";
7263
+ };
7264
+ export type PostCredentialsRequestCredentialTypeEnum = (typeof PostCredentialsRequestCredentialTypeEnum)[keyof typeof PostCredentialsRequestCredentialTypeEnum];
7265
+ export declare const PostCredentialsRequestAlgEnum: {
7266
+ readonly RS256: "RS256";
7267
+ readonly RS384: "RS384";
7268
+ readonly PS256: "PS256";
7269
+ };
7270
+ export type PostCredentialsRequestAlgEnum = (typeof PostCredentialsRequestAlgEnum)[keyof typeof PostCredentialsRequestAlgEnum];
7051
7271
  /**
7052
7272
  *
7053
7273
  */
@@ -7816,7 +8036,7 @@ export interface PostMembersRequest {
7816
8036
  * List of user IDs to add to the organization as members.
7817
8037
  *
7818
8038
  */
7819
- members: Array<any>;
8039
+ members: Array<string>;
7820
8040
  }
7821
8041
  /**
7822
8042
  *
@@ -8453,6 +8673,98 @@ export interface PutApnsRequest {
8453
8673
  */
8454
8674
  p12?: string | null;
8455
8675
  }
8676
+ /**
8677
+ * The successfully created authentication method.
8678
+ */
8679
+ export interface PutAuthenticationMethods200ResponseInner {
8680
+ [key: string]: any | any;
8681
+ /**
8682
+ * The ID of the newly created authentication method (automatically generated by the application)
8683
+ *
8684
+ */
8685
+ id?: string;
8686
+ /**
8687
+ */
8688
+ type: PutAuthenticationMethods200ResponseInnerTypeEnum;
8689
+ /**
8690
+ * A human-readable label to identify the authentication method.
8691
+ *
8692
+ */
8693
+ name?: string;
8694
+ /**
8695
+ * Base32 encoded secret for TOTP generation
8696
+ *
8697
+ */
8698
+ totp_secret?: string;
8699
+ /**
8700
+ * Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.
8701
+ *
8702
+ */
8703
+ phone_number?: string;
8704
+ /**
8705
+ * Applies to email authentication methods only. The email address used to send verification messages.
8706
+ *
8707
+ */
8708
+ email?: string;
8709
+ /**
8710
+ */
8711
+ authentication_methods?: Array<PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInner>;
8712
+ /**
8713
+ * Preferred phone authentication method
8714
+ *
8715
+ */
8716
+ preferred_authentication_method?: PutAuthenticationMethods200ResponseInnerPreferredAuthenticationMethodEnum;
8717
+ /**
8718
+ * Applies to webauthn authenticators only. The id of the credential.
8719
+ *
8720
+ */
8721
+ key_id?: string;
8722
+ /**
8723
+ * Applies to webauthn authenticators only. The public key.
8724
+ *
8725
+ */
8726
+ public_key?: string;
8727
+ /**
8728
+ * Applies to webauthn authenticators only. The relying party identifier.
8729
+ *
8730
+ */
8731
+ relying_party_identifier?: string;
8732
+ /**
8733
+ * Authentication method creation date
8734
+ *
8735
+ */
8736
+ created_at?: string;
8737
+ }
8738
+ export declare const PutAuthenticationMethods200ResponseInnerTypeEnum: {
8739
+ readonly phone: "phone";
8740
+ readonly email: "email";
8741
+ readonly totp: "totp";
8742
+ readonly webauthn_roaming: "webauthn-roaming";
8743
+ };
8744
+ export type PutAuthenticationMethods200ResponseInnerTypeEnum = (typeof PutAuthenticationMethods200ResponseInnerTypeEnum)[keyof typeof PutAuthenticationMethods200ResponseInnerTypeEnum];
8745
+ export declare const PutAuthenticationMethods200ResponseInnerPreferredAuthenticationMethodEnum: {
8746
+ readonly voice: "voice";
8747
+ readonly sms: "sms";
8748
+ };
8749
+ export type PutAuthenticationMethods200ResponseInnerPreferredAuthenticationMethodEnum = (typeof PutAuthenticationMethods200ResponseInnerPreferredAuthenticationMethodEnum)[keyof typeof PutAuthenticationMethods200ResponseInnerPreferredAuthenticationMethodEnum];
8750
+ /**
8751
+ *
8752
+ */
8753
+ export interface PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInner {
8754
+ /**
8755
+ */
8756
+ id?: string;
8757
+ /**
8758
+ */
8759
+ type?: PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInnerTypeEnum;
8760
+ }
8761
+ export declare const PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInnerTypeEnum: {
8762
+ readonly totp: "totp";
8763
+ readonly push: "push";
8764
+ readonly sms: "sms";
8765
+ readonly voice: "voice";
8766
+ };
8767
+ export type PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInnerTypeEnum = (typeof PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInnerTypeEnum)[keyof typeof PutAuthenticationMethods200ResponseInnerAuthenticationMethodsInnerTypeEnum];
8456
8768
  /**
8457
8769
  *
8458
8770
  */
@@ -9106,17 +9418,21 @@ export declare const TenantSettingsEnabledLocalesEnum: {
9106
9418
  readonly ar: "ar";
9107
9419
  readonly bg: "bg";
9108
9420
  readonly bs: "bs";
9421
+ readonly ca_ES: "ca-ES";
9109
9422
  readonly cs: "cs";
9423
+ readonly cy: "cy";
9110
9424
  readonly da: "da";
9111
9425
  readonly de: "de";
9112
9426
  readonly el: "el";
9113
9427
  readonly en: "en";
9114
9428
  readonly es: "es";
9115
9429
  readonly et: "et";
9430
+ readonly eu_ES: "eu-ES";
9116
9431
  readonly fi: "fi";
9117
9432
  readonly fr: "fr";
9118
9433
  readonly fr_CA: "fr-CA";
9119
9434
  readonly fr_FR: "fr-FR";
9435
+ readonly gl_ES: "gl-ES";
9120
9436
  readonly he: "he";
9121
9437
  readonly hi: "hi";
9122
9438
  readonly hr: "hr";
@@ -9130,6 +9446,8 @@ export declare const TenantSettingsEnabledLocalesEnum: {
9130
9446
  readonly lv: "lv";
9131
9447
  readonly nb: "nb";
9132
9448
  readonly nl: "nl";
9449
+ readonly nn: "nn";
9450
+ readonly no: "no";
9133
9451
  readonly pl: "pl";
9134
9452
  readonly pt: "pt";
9135
9453
  readonly pt_BR: "pt-BR";
@@ -9443,22 +9761,31 @@ export interface TenantSettingsUpdate {
9443
9761
  /**
9444
9762
  */
9445
9763
  sessions?: TenantSettingsSessions | null;
9764
+ /**
9765
+ * Whether to accept an organization name instead of an ID on auth endpoints
9766
+ *
9767
+ */
9768
+ allow_organization_name_in_authentication_api?: boolean | null;
9446
9769
  }
9447
9770
  export declare const TenantSettingsUpdateEnabledLocalesEnum: {
9448
9771
  readonly ar: "ar";
9449
9772
  readonly bg: "bg";
9450
9773
  readonly bs: "bs";
9774
+ readonly ca_ES: "ca-ES";
9451
9775
  readonly cs: "cs";
9776
+ readonly cy: "cy";
9452
9777
  readonly da: "da";
9453
9778
  readonly de: "de";
9454
9779
  readonly el: "el";
9455
9780
  readonly en: "en";
9456
9781
  readonly es: "es";
9457
9782
  readonly et: "et";
9783
+ readonly eu_ES: "eu-ES";
9458
9784
  readonly fi: "fi";
9459
9785
  readonly fr: "fr";
9460
9786
  readonly fr_CA: "fr-CA";
9461
9787
  readonly fr_FR: "fr-FR";
9788
+ readonly gl_ES: "gl-ES";
9462
9789
  readonly he: "he";
9463
9790
  readonly hi: "hi";
9464
9791
  readonly hr: "hr";
@@ -9472,6 +9799,8 @@ export declare const TenantSettingsUpdateEnabledLocalesEnum: {
9472
9799
  readonly lv: "lv";
9473
9800
  readonly nb: "nb";
9474
9801
  readonly nl: "nl";
9802
+ readonly nn: "nn";
9803
+ readonly no: "no";
9475
9804
  readonly pl: "pl";
9476
9805
  readonly pt: "pt";
9477
9806
  readonly pt_BR: "pt-BR";
@@ -10206,6 +10535,7 @@ export declare const GetActionsTriggerIdEnum: {
10206
10535
  readonly iga_certification: "iga-certification";
10207
10536
  readonly iga_fulfillment_assignment: "iga-fulfillment-assignment";
10208
10537
  readonly iga_fulfillment_execution: "iga-fulfillment-execution";
10538
+ readonly password_reset_post_challenge: "password-reset-post-challenge";
10209
10539
  };
10210
10540
  export type GetActionsTriggerIdEnum = (typeof GetActionsTriggerIdEnum)[keyof typeof GetActionsTriggerIdEnum];
10211
10541
  /**
@@ -10257,6 +10587,7 @@ export declare const GetBindingsTriggerIdEnum: {
10257
10587
  readonly iga_certification: "iga-certification";
10258
10588
  readonly iga_fulfillment_assignment: "iga-fulfillment-assignment";
10259
10589
  readonly iga_fulfillment_execution: "iga-fulfillment-execution";
10590
+ readonly password_reset_post_challenge: "password-reset-post-challenge";
10260
10591
  };
10261
10592
  export type GetBindingsTriggerIdEnum = (typeof GetBindingsTriggerIdEnum)[keyof typeof GetBindingsTriggerIdEnum];
10262
10593
  /**
@@ -10313,6 +10644,7 @@ export declare const PatchBindingsOperationTriggerIdEnum: {
10313
10644
  readonly iga_certification: "iga-certification";
10314
10645
  readonly iga_fulfillment_assignment: "iga-fulfillment-assignment";
10315
10646
  readonly iga_fulfillment_execution: "iga-fulfillment-execution";
10647
+ readonly password_reset_post_challenge: "password-reset-post-challenge";
10316
10648
  };
10317
10649
  export type PatchBindingsOperationTriggerIdEnum = (typeof PatchBindingsOperationTriggerIdEnum)[keyof typeof PatchBindingsOperationTriggerIdEnum];
10318
10650
  /**
@@ -10480,6 +10812,21 @@ export interface DeleteClientsByIdRequest {
10480
10812
  */
10481
10813
  id: string;
10482
10814
  }
10815
+ /**
10816
+ *
10817
+ */
10818
+ export interface DeleteCredentialsByCredentialIdRequest {
10819
+ /**
10820
+ * ID of the client.
10821
+ *
10822
+ */
10823
+ client_id: string;
10824
+ /**
10825
+ * ID of the credential to delete.
10826
+ *
10827
+ */
10828
+ credential_id: string;
10829
+ }
10483
10830
  /**
10484
10831
  *
10485
10832
  */
@@ -10545,6 +10892,31 @@ export interface GetClientsByIdRequest {
10545
10892
  */
10546
10893
  include_fields?: boolean;
10547
10894
  }
10895
+ /**
10896
+ *
10897
+ */
10898
+ export interface GetCredentialsRequest {
10899
+ /**
10900
+ * ID of the client.
10901
+ *
10902
+ */
10903
+ client_id: string;
10904
+ }
10905
+ /**
10906
+ *
10907
+ */
10908
+ export interface GetCredentialsByCredentialIdRequest {
10909
+ /**
10910
+ * ID of the client.
10911
+ *
10912
+ */
10913
+ client_id: string;
10914
+ /**
10915
+ * ID of the credential.
10916
+ *
10917
+ */
10918
+ credential_id: string;
10919
+ }
10548
10920
  /**
10549
10921
  *
10550
10922
  */
@@ -10555,6 +10927,31 @@ export interface PatchClientsByIdRequest {
10555
10927
  */
10556
10928
  id: string;
10557
10929
  }
10930
+ /**
10931
+ *
10932
+ */
10933
+ export interface PatchCredentialsByCredentialIdOperationRequest {
10934
+ /**
10935
+ * ID of the client.
10936
+ *
10937
+ */
10938
+ client_id: string;
10939
+ /**
10940
+ * ID of the credential.
10941
+ *
10942
+ */
10943
+ credential_id: string;
10944
+ }
10945
+ /**
10946
+ *
10947
+ */
10948
+ export interface PostCredentialsOperationRequest {
10949
+ /**
10950
+ * ID of the client.
10951
+ *
10952
+ */
10953
+ client_id: string;
10954
+ }
10558
10955
  /**
10559
10956
  *
10560
10957
  */
@@ -10673,10 +11070,20 @@ export interface GetConnectionsRequest {
10673
11070
  */
10674
11071
  page?: number;
10675
11072
  /**
10676
- * true if a query summary must be included in the result, false otherwise. Default <code>false</code>.
11073
+ * true if a query summary must be included in the result, false otherwise. Not returned when using checkpoint pagination. Default <code>false</code>.
10677
11074
  *
10678
11075
  */
10679
11076
  include_totals?: boolean;
11077
+ /**
11078
+ * Optional Id from which to start selection.
11079
+ *
11080
+ */
11081
+ from?: string;
11082
+ /**
11083
+ * Number of results per page. Defaults to 50.
11084
+ *
11085
+ */
11086
+ take?: number;
10680
11087
  /**
10681
11088
  * Provide strategies to only retrieve connections with such strategies
10682
11089
  *
@@ -11591,7 +11998,7 @@ export interface GetOrganizationsRequest {
11591
11998
  */
11592
11999
  take?: number;
11593
12000
  /**
11594
- * Field to sort by. Use &lt;code&gt;field:order&lt;/code&gt; where order is &lt;code&gt;1&lt;/code&gt; for ascending and &lt;code&gt;-1&lt;/code&gt; for descending. e.g. &lt;code&gt;created_at:1&lt;/code&gt;. We currently support sorting by the following fields: &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;display_name&lt;/code&gt; and &lt;code&gt;created_at&lt;/code&gt;.
12001
+ * Field to sort by. Use <code>field:order</code> where order is <code>1</code> for ascending and <code>-1</code> for descending. e.g. <code>created_at:1</code>. We currently support sorting by the following fields: <code>name</code>, <code>display_name</code> and <code>created_at</code>.
11595
12002
  *
11596
12003
  */
11597
12004
  sort?: string;
@@ -11707,6 +12114,7 @@ export declare const GetCustomTextByLanguagePromptEnum: {
11707
12114
  readonly organizations: "organizations";
11708
12115
  readonly invitation: "invitation";
11709
12116
  readonly common: "common";
12117
+ readonly passkeys: "passkeys";
11710
12118
  };
11711
12119
  export type GetCustomTextByLanguagePromptEnum = (typeof GetCustomTextByLanguagePromptEnum)[keyof typeof GetCustomTextByLanguagePromptEnum];
11712
12120
  /**
@@ -11716,17 +12124,21 @@ export declare const GetCustomTextByLanguageLanguageEnum: {
11716
12124
  readonly ar: "ar";
11717
12125
  readonly bg: "bg";
11718
12126
  readonly bs: "bs";
12127
+ readonly ca_ES: "ca-ES";
11719
12128
  readonly cs: "cs";
12129
+ readonly cy: "cy";
11720
12130
  readonly da: "da";
11721
12131
  readonly de: "de";
11722
12132
  readonly el: "el";
11723
12133
  readonly en: "en";
11724
12134
  readonly es: "es";
11725
12135
  readonly et: "et";
12136
+ readonly eu_ES: "eu-ES";
11726
12137
  readonly fi: "fi";
11727
12138
  readonly fr: "fr";
11728
12139
  readonly fr_CA: "fr-CA";
11729
12140
  readonly fr_FR: "fr-FR";
12141
+ readonly gl_ES: "gl-ES";
11730
12142
  readonly he: "he";
11731
12143
  readonly hi: "hi";
11732
12144
  readonly hr: "hr";
@@ -11740,6 +12152,8 @@ export declare const GetCustomTextByLanguageLanguageEnum: {
11740
12152
  readonly lv: "lv";
11741
12153
  readonly nb: "nb";
11742
12154
  readonly nl: "nl";
12155
+ readonly nn: "nn";
12156
+ readonly no: "no";
11743
12157
  readonly pl: "pl";
11744
12158
  readonly pt: "pt";
11745
12159
  readonly pt_BR: "pt-BR";
@@ -11804,6 +12218,7 @@ export declare const PutCustomTextByLanguagePromptEnum: {
11804
12218
  readonly organizations: "organizations";
11805
12219
  readonly invitation: "invitation";
11806
12220
  readonly common: "common";
12221
+ readonly passkeys: "passkeys";
11807
12222
  };
11808
12223
  export type PutCustomTextByLanguagePromptEnum = (typeof PutCustomTextByLanguagePromptEnum)[keyof typeof PutCustomTextByLanguagePromptEnum];
11809
12224
  /**
@@ -11813,17 +12228,21 @@ export declare const PutCustomTextByLanguageLanguageEnum: {
11813
12228
  readonly ar: "ar";
11814
12229
  readonly bg: "bg";
11815
12230
  readonly bs: "bs";
12231
+ readonly ca_ES: "ca-ES";
11816
12232
  readonly cs: "cs";
12233
+ readonly cy: "cy";
11817
12234
  readonly da: "da";
11818
12235
  readonly de: "de";
11819
12236
  readonly el: "el";
11820
12237
  readonly en: "en";
11821
12238
  readonly es: "es";
11822
12239
  readonly et: "et";
12240
+ readonly eu_ES: "eu-ES";
11823
12241
  readonly fi: "fi";
11824
12242
  readonly fr: "fr";
11825
12243
  readonly fr_CA: "fr-CA";
11826
12244
  readonly fr_FR: "fr-FR";
12245
+ readonly gl_ES: "gl-ES";
11827
12246
  readonly he: "he";
11828
12247
  readonly hi: "hi";
11829
12248
  readonly hr: "hr";
@@ -11837,6 +12256,8 @@ export declare const PutCustomTextByLanguageLanguageEnum: {
11837
12256
  readonly lv: "lv";
11838
12257
  readonly nb: "nb";
11839
12258
  readonly nl: "nl";
12259
+ readonly nn: "nn";
12260
+ readonly no: "no";
11840
12261
  readonly pl: "pl";
11841
12262
  readonly pt: "pt";
11842
12263
  readonly pt_BR: "pt-BR";