auth0 4.0.0-beta.9 → 4.0.1

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 (68) hide show
  1. package/README.md +3 -5
  2. package/dist/cjs/management/__generated/managers/clients-manager.d.ts +18 -9
  3. package/dist/cjs/management/__generated/managers/clients-manager.js +8 -39
  4. package/dist/cjs/management/__generated/managers/clients-manager.js.map +1 -1
  5. package/dist/cjs/management/__generated/managers/connections-manager.d.ts +0 -3
  6. package/dist/cjs/management/__generated/managers/connections-manager.js +0 -3
  7. package/dist/cjs/management/__generated/managers/connections-manager.js.map +1 -1
  8. package/dist/cjs/management/__generated/managers/grants-manager.d.ts +1 -1
  9. package/dist/cjs/management/__generated/managers/grants-manager.js +2 -1
  10. package/dist/cjs/management/__generated/managers/grants-manager.js.map +1 -1
  11. package/dist/cjs/management/__generated/managers/guardian-manager.d.ts +5 -5
  12. package/dist/cjs/management/__generated/managers/guardian-manager.js +3 -1
  13. package/dist/cjs/management/__generated/managers/guardian-manager.js.map +1 -1
  14. package/dist/cjs/management/__generated/managers/jobs-manager.d.ts +1 -1
  15. package/dist/cjs/management/__generated/managers/jobs-manager.js +3 -1
  16. package/dist/cjs/management/__generated/managers/jobs-manager.js.map +1 -1
  17. package/dist/cjs/management/__generated/managers/organizations-manager.js +8 -0
  18. package/dist/cjs/management/__generated/managers/organizations-manager.js.map +1 -1
  19. package/dist/cjs/management/__generated/managers/resource-servers-manager.d.ts +2 -2
  20. package/dist/cjs/management/__generated/managers/resource-servers-manager.js.map +1 -1
  21. package/dist/cjs/management/__generated/managers/users-manager.d.ts +2 -2
  22. package/dist/cjs/management/__generated/managers/users-manager.js.map +1 -1
  23. package/dist/cjs/management/__generated/models/index.d.ts +270 -295
  24. package/dist/cjs/management/__generated/models/index.js +26 -35
  25. package/dist/cjs/management/__generated/models/index.js.map +1 -1
  26. package/dist/cjs/management/management-client-options.d.ts +1 -0
  27. package/dist/cjs/management/token-provider-middleware.js +1 -2
  28. package/dist/cjs/management/token-provider-middleware.js.map +1 -1
  29. package/dist/cjs/management/token-provider.d.ts +5 -11
  30. package/dist/cjs/management/token-provider.js +3 -9
  31. package/dist/cjs/management/token-provider.js.map +1 -1
  32. package/dist/cjs/version.d.ts +1 -1
  33. package/dist/cjs/version.js +1 -1
  34. package/dist/cjs/version.js.map +1 -1
  35. package/dist/esm/management/__generated/managers/clients-manager.d.ts +18 -9
  36. package/dist/esm/management/__generated/managers/clients-manager.js +8 -39
  37. package/dist/esm/management/__generated/managers/clients-manager.js.map +1 -1
  38. package/dist/esm/management/__generated/managers/connections-manager.d.ts +0 -3
  39. package/dist/esm/management/__generated/managers/connections-manager.js +0 -3
  40. package/dist/esm/management/__generated/managers/connections-manager.js.map +1 -1
  41. package/dist/esm/management/__generated/managers/grants-manager.d.ts +1 -1
  42. package/dist/esm/management/__generated/managers/grants-manager.js +2 -1
  43. package/dist/esm/management/__generated/managers/grants-manager.js.map +1 -1
  44. package/dist/esm/management/__generated/managers/guardian-manager.d.ts +5 -5
  45. package/dist/esm/management/__generated/managers/guardian-manager.js +3 -1
  46. package/dist/esm/management/__generated/managers/guardian-manager.js.map +1 -1
  47. package/dist/esm/management/__generated/managers/jobs-manager.d.ts +1 -1
  48. package/dist/esm/management/__generated/managers/jobs-manager.js +3 -1
  49. package/dist/esm/management/__generated/managers/jobs-manager.js.map +1 -1
  50. package/dist/esm/management/__generated/managers/organizations-manager.js +8 -0
  51. package/dist/esm/management/__generated/managers/organizations-manager.js.map +1 -1
  52. package/dist/esm/management/__generated/managers/resource-servers-manager.d.ts +2 -2
  53. package/dist/esm/management/__generated/managers/resource-servers-manager.js.map +1 -1
  54. package/dist/esm/management/__generated/managers/users-manager.d.ts +2 -2
  55. package/dist/esm/management/__generated/managers/users-manager.js.map +1 -1
  56. package/dist/esm/management/__generated/models/index.d.ts +270 -295
  57. package/dist/esm/management/__generated/models/index.js +22 -31
  58. package/dist/esm/management/__generated/models/index.js.map +1 -1
  59. package/dist/esm/management/management-client-options.d.ts +1 -0
  60. package/dist/esm/management/token-provider-middleware.js +1 -2
  61. package/dist/esm/management/token-provider-middleware.js.map +1 -1
  62. package/dist/esm/management/token-provider.d.ts +5 -11
  63. package/dist/esm/management/token-provider.js +3 -9
  64. package/dist/esm/management/token-provider.js.map +1 -1
  65. package/dist/esm/version.d.ts +1 -1
  66. package/dist/esm/version.js +1 -1
  67. package/dist/esm/version.js.map +1 -1
  68. package/package.json +1 -1
@@ -1,3 +1,13 @@
1
+ /**
2
+ *
3
+ */
4
+ export interface ActionsDraftUpdate {
5
+ /**
6
+ * True if the draft of the action should be updated with the reverted version.
7
+ *
8
+ */
9
+ update_draft?: boolean;
10
+ }
1
11
  /**
2
12
  *
3
13
  */
@@ -314,6 +324,11 @@ export interface ClientAddons {
314
324
  /**
315
325
  */
316
326
  sso_integration: ClientAddonsSsoIntegration;
327
+ /**
328
+ * Okta Access Gateway SSO configuration
329
+ *
330
+ */
331
+ oag: object | null;
317
332
  }
318
333
  /**
319
334
  * AWS addon configuration.
@@ -1049,6 +1064,7 @@ export declare const ClientCreateAppTypeEnum: {
1049
1064
  readonly zendesk: "zendesk";
1050
1065
  readonly zoom: "zoom";
1051
1066
  readonly sso_integration: "sso_integration";
1067
+ readonly oag: "oag";
1052
1068
  };
1053
1069
  export type ClientCreateAppTypeEnum = (typeof ClientCreateAppTypeEnum)[keyof typeof ClientCreateAppTypeEnum];
1054
1070
  export declare const ClientCreateOrganizationUsageEnum: {
@@ -1174,6 +1190,11 @@ export interface ClientCreateAddons {
1174
1190
  /**
1175
1191
  */
1176
1192
  sso_integration?: ClientCreateAddonsSsoIntegration;
1193
+ /**
1194
+ * Okta Access Gateway SSO configuration
1195
+ *
1196
+ */
1197
+ oag?: object | null;
1177
1198
  }
1178
1199
  /**
1179
1200
  * AWS addon configuration.
@@ -1852,7 +1873,7 @@ export interface ClientGrant {
1852
1873
  */
1853
1874
  client_id: string;
1854
1875
  /**
1855
- * Audience or API identifier of this client grant.
1876
+ * The audience (API identifier) of this client grant.
1856
1877
  *
1857
1878
  */
1858
1879
  audience: string;
@@ -1872,7 +1893,7 @@ export interface ClientGrantCreate {
1872
1893
  */
1873
1894
  client_id: string;
1874
1895
  /**
1875
- * Audience or API identifier of this client grant.
1896
+ * The audience (API identifier) of this client grant
1876
1897
  *
1877
1898
  */
1878
1899
  audience: string;
@@ -2267,6 +2288,7 @@ export declare const ClientUpdateAppTypeEnum: {
2267
2288
  readonly zendesk: "zendesk";
2268
2289
  readonly zoom: "zoom";
2269
2290
  readonly sso_integration: "sso_integration";
2291
+ readonly oag: "oag";
2270
2292
  };
2271
2293
  export type ClientUpdateAppTypeEnum = (typeof ClientUpdateAppTypeEnum)[keyof typeof ClientUpdateAppTypeEnum];
2272
2294
  export declare const ClientUpdateOrganizationUsageEnum: {
@@ -2392,6 +2414,11 @@ export interface ClientUpdateAddons {
2392
2414
  /**
2393
2415
  */
2394
2416
  sso_integration?: ClientCreateAddonsSsoIntegration;
2417
+ /**
2418
+ * Okta Access Gateway SSO configuration
2419
+ *
2420
+ */
2421
+ oag?: object | null;
2395
2422
  }
2396
2423
  /**
2397
2424
  * Defines client authentication methods.
@@ -2528,7 +2555,7 @@ export interface Connection {
2528
2555
  */
2529
2556
  strategy: string;
2530
2557
  /**
2531
- * Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm
2558
+ * Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.
2532
2559
  *
2533
2560
  */
2534
2561
  realms: Array<string>;
@@ -2538,7 +2565,7 @@ export interface Connection {
2538
2565
  */
2539
2566
  is_domain_connection: boolean;
2540
2567
  /**
2541
- * Metadata associated with the connection, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
2568
+ * Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
2542
2569
  *
2543
2570
  */
2544
2571
  metadata: {
@@ -2576,12 +2603,12 @@ export interface ConnectionCreate {
2576
2603
  */
2577
2604
  is_domain_connection?: boolean;
2578
2605
  /**
2579
- * Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm
2606
+ * Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.
2580
2607
  *
2581
2608
  */
2582
2609
  realms?: Array<string>;
2583
2610
  /**
2584
- * Metadata associated with the connection, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
2611
+ * Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
2585
2612
  *
2586
2613
  */
2587
2614
  metadata?: {
@@ -2681,6 +2708,12 @@ export interface ConnectionCreateOptions {
2681
2708
  /**
2682
2709
  */
2683
2710
  customScripts?: ConnectionCreateOptionsCustomScripts;
2711
+ /**
2712
+ */
2713
+ authentication_methods?: ConnectionCreateOptionsAuthenticationMethods | null;
2714
+ /**
2715
+ */
2716
+ passkey_options?: ConnectionCreateOptionsPasskeyOptions | null;
2684
2717
  /**
2685
2718
  * Password strength level
2686
2719
  *
@@ -2755,6 +2788,37 @@ export declare const ConnectionCreateOptionsSetUserRootAttributesEnum: {
2755
2788
  readonly first_login: "on_first_login";
2756
2789
  };
2757
2790
  export type ConnectionCreateOptionsSetUserRootAttributesEnum = (typeof ConnectionCreateOptionsSetUserRootAttributesEnum)[keyof typeof ConnectionCreateOptionsSetUserRootAttributesEnum];
2791
+ /**
2792
+ * Options for enabling authentication methods.
2793
+ */
2794
+ export interface ConnectionCreateOptionsAuthenticationMethods {
2795
+ /**
2796
+ */
2797
+ password?: ConnectionCreateOptionsAuthenticationMethodsPassword;
2798
+ /**
2799
+ */
2800
+ passkey?: ConnectionCreateOptionsAuthenticationMethodsPasskey;
2801
+ }
2802
+ /**
2803
+ * Passkey authentication enablement
2804
+ */
2805
+ export interface ConnectionCreateOptionsAuthenticationMethodsPasskey {
2806
+ /**
2807
+ * Determines whether passkeys are enabled
2808
+ *
2809
+ */
2810
+ enabled?: boolean;
2811
+ }
2812
+ /**
2813
+ * Password authentication enablement
2814
+ */
2815
+ export interface ConnectionCreateOptionsAuthenticationMethodsPassword {
2816
+ /**
2817
+ * Determines whether passwords are enabled
2818
+ *
2819
+ */
2820
+ enabled?: boolean;
2821
+ }
2758
2822
  /**
2759
2823
  * A map of scripts used to integrate with a custom database.
2760
2824
  */
@@ -2810,6 +2874,32 @@ export interface ConnectionCreateOptionsGatewayAuthentication {
2810
2874
  */
2811
2875
  secret_base64_encoded?: boolean;
2812
2876
  }
2877
+ /**
2878
+ * Options for the passkey authentication method
2879
+ */
2880
+ export interface ConnectionCreateOptionsPasskeyOptions {
2881
+ /**
2882
+ * Controls the UI used to challenge the user for their passkey.
2883
+ *
2884
+ */
2885
+ challenge_ui?: ConnectionCreateOptionsPasskeyOptionsChallengeUiEnum;
2886
+ /**
2887
+ * Enables or disables progressive enrollment of passkeys for the connection.
2888
+ *
2889
+ */
2890
+ progressive_enrollment_enabled?: boolean;
2891
+ /**
2892
+ * Enables or disables enrollment prompt for local passkey when user authenticates using a cross-device passkey for the connection.
2893
+ *
2894
+ */
2895
+ local_enrollment_enabled?: boolean;
2896
+ }
2897
+ export declare const ConnectionCreateOptionsPasskeyOptionsChallengeUiEnum: {
2898
+ readonly both: "both";
2899
+ readonly autofill: "autofill";
2900
+ readonly button: "button";
2901
+ };
2902
+ export type ConnectionCreateOptionsPasskeyOptionsChallengeUiEnum = (typeof ConnectionCreateOptionsPasskeyOptionsChallengeUiEnum)[keyof typeof ConnectionCreateOptionsPasskeyOptionsChallengeUiEnum];
2813
2903
  /**
2814
2904
  * Password complexity options
2815
2905
  */
@@ -2892,12 +2982,12 @@ export interface ConnectionUpdate {
2892
2982
  */
2893
2983
  is_domain_connection?: boolean;
2894
2984
  /**
2895
- * Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm
2985
+ * Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.
2896
2986
  *
2897
2987
  */
2898
2988
  realms?: Array<string>;
2899
2989
  /**
2900
- * Metadata associated with the connection, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
2990
+ * Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
2901
2991
  *
2902
2992
  */
2903
2993
  metadata?: {
@@ -2933,6 +3023,12 @@ export interface ConnectionUpdateOptions {
2933
3023
  /**
2934
3024
  */
2935
3025
  customScripts?: ConnectionCreateOptionsCustomScripts;
3026
+ /**
3027
+ */
3028
+ authentication_methods?: ConnectionCreateOptionsAuthenticationMethods | null;
3029
+ /**
3030
+ */
3031
+ passkey_options?: ConnectionCreateOptionsPasskeyOptions | null;
2936
3032
  /**
2937
3033
  * Password strength level
2938
3034
  *
@@ -3227,16 +3323,6 @@ export declare const DeviceCredentialCreateTypeEnum: {
3227
3323
  readonly public_key: "public_key";
3228
3324
  };
3229
3325
  export type DeviceCredentialCreateTypeEnum = (typeof DeviceCredentialCreateTypeEnum)[keyof typeof DeviceCredentialCreateTypeEnum];
3230
- /**
3231
- *
3232
- */
3233
- export interface DraftUpdate {
3234
- /**
3235
- * True if the draft of the action should be updated with the reverted version.
3236
- *
3237
- */
3238
- update_draft?: boolean;
3239
- }
3240
3326
  /**
3241
3327
  *
3242
3328
  */
@@ -3539,8 +3625,10 @@ export interface GetActionVersions200ResponseVersionsInner {
3539
3625
  */
3540
3626
  errors: Array<GetActionVersions200ResponseVersionsInnerErrorsInner>;
3541
3627
  /**
3628
+ * The action to which this verison belongs.
3629
+ *
3542
3630
  */
3543
- action: GetActionVersions200ResponseVersionsInnerAction;
3631
+ action: any | null;
3544
3632
  /**
3545
3633
  * The time when this version was built successfully.
3546
3634
  *
@@ -3571,95 +3659,6 @@ export declare const GetActionVersions200ResponseVersionsInnerStatusEnum: {
3571
3659
  readonly failed: "failed";
3572
3660
  };
3573
3661
  export type GetActionVersions200ResponseVersionsInnerStatusEnum = (typeof GetActionVersions200ResponseVersionsInnerStatusEnum)[keyof typeof GetActionVersions200ResponseVersionsInnerStatusEnum];
3574
- /**
3575
- * The action to which this verison belongs.
3576
- */
3577
- export interface GetActionVersions200ResponseVersionsInnerAction {
3578
- /**
3579
- * The unique ID of the action.
3580
- *
3581
- */
3582
- id: string;
3583
- /**
3584
- * The name of an action.
3585
- *
3586
- */
3587
- name: string;
3588
- /**
3589
- * The list of triggers that this action supports. At this time, an action can only target a single trigger at a time.
3590
- *
3591
- */
3592
- supported_triggers: Array<GetActions200ResponseActionsInnerSupportedTriggersInner>;
3593
- /**
3594
- * The source code of the action.
3595
- *
3596
- */
3597
- code: string;
3598
- /**
3599
- * The list of third party npm modules, and their versions, that this action depends on.
3600
- *
3601
- */
3602
- dependencies: Array<GetActions200ResponseActionsInnerDependenciesInner>;
3603
- /**
3604
- * The Node runtime. For example: `node12`, defaults to `node12`
3605
- *
3606
- */
3607
- runtime: string;
3608
- /**
3609
- * The list of secrets that are included in an action or a version of an action.
3610
- *
3611
- */
3612
- secrets: Array<GetActions200ResponseActionsInnerSecretsInner>;
3613
- /**
3614
- * The version of the action that is currently deployed.
3615
- *
3616
- */
3617
- deployed_version: {
3618
- [key: string]: any;
3619
- };
3620
- /**
3621
- * installed_integration_id is the fk reference to the InstalledIntegration entity.
3622
- *
3623
- */
3624
- installed_integration_id: string;
3625
- /**
3626
- */
3627
- integration: GetActions200ResponseActionsInnerIntegration;
3628
- /**
3629
- * The build status of this action.
3630
- *
3631
- */
3632
- status: GetActionVersions200ResponseVersionsInnerActionStatusEnum;
3633
- /**
3634
- * True if all of an Action's contents have been deployed.
3635
- *
3636
- */
3637
- all_changes_deployed: boolean;
3638
- /**
3639
- * The time when this action was built successfully.
3640
- *
3641
- */
3642
- built_at: string;
3643
- /**
3644
- * The time when this action was created.
3645
- *
3646
- */
3647
- created_at: string;
3648
- /**
3649
- * The time when this action was updated.
3650
- *
3651
- */
3652
- updated_at: string;
3653
- }
3654
- export declare const GetActionVersions200ResponseVersionsInnerActionStatusEnum: {
3655
- readonly pending: "pending";
3656
- readonly building: "building";
3657
- readonly packaged: "packaged";
3658
- readonly built: "built";
3659
- readonly retrying: "retrying";
3660
- readonly failed: "failed";
3661
- };
3662
- export type GetActionVersions200ResponseVersionsInnerActionStatusEnum = (typeof GetActionVersions200ResponseVersionsInnerActionStatusEnum)[keyof typeof GetActionVersions200ResponseVersionsInnerActionStatusEnum];
3663
3662
  /**
3664
3663
  * Error is a generic error with a human readable id which should be easily referenced in support tickets.
3665
3664
  */
@@ -4132,12 +4131,12 @@ export interface GetAuthenticationMethods200ResponseOneOf {
4132
4131
  * The paginated authentication methods. Returned in this structure when include_totals is true.
4133
4132
  *
4134
4133
  */
4135
- authenticators: Array<GetAuthenticationMethods200ResponseOneOfAuthenticatorsInner>;
4134
+ authenticators: Array<GetAuthenticationMethods200ResponseOneOfInner>;
4136
4135
  }
4137
4136
  /**
4138
4137
  *
4139
4138
  */
4140
- export interface GetAuthenticationMethods200ResponseOneOfAuthenticatorsInner {
4139
+ export interface GetAuthenticationMethods200ResponseOneOfInner {
4141
4140
  /**
4142
4141
  * The ID of the authentication method (auto generated)
4143
4142
  *
@@ -4145,7 +4144,7 @@ export interface GetAuthenticationMethods200ResponseOneOfAuthenticatorsInner {
4145
4144
  id: string;
4146
4145
  /**
4147
4146
  */
4148
- type: GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerTypeEnum;
4147
+ type: GetAuthenticationMethods200ResponseOneOfInnerTypeEnum;
4149
4148
  /**
4150
4149
  * The authentication method status
4151
4150
  *
@@ -4158,12 +4157,12 @@ export interface GetAuthenticationMethods200ResponseOneOfAuthenticatorsInner {
4158
4157
  name?: string;
4159
4158
  /**
4160
4159
  */
4161
- authentication_methods?: Array<GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerAuthenticationMethodsInner>;
4160
+ authentication_methods?: Array<GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInner>;
4162
4161
  /**
4163
4162
  * The authentication method preferred for phone authenticators.
4164
4163
  *
4165
4164
  */
4166
- preferred_authentication_method?: GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerPreferredAuthenticationMethodEnum;
4165
+ preferred_authentication_method?: GetAuthenticationMethods200ResponseOneOfInnerPreferredAuthenticationMethodEnum;
4167
4166
  /**
4168
4167
  * The ID of a linked authentication method. Linked authentication methods will be deleted together.
4169
4168
  *
@@ -4204,8 +4203,28 @@ export interface GetAuthenticationMethods200ResponseOneOfAuthenticatorsInner {
4204
4203
  *
4205
4204
  */
4206
4205
  last_auth_at?: string;
4206
+ /**
4207
+ * Applies to passkeys only. The kind of device the credential is stored on as defined by backup eligibility. "single_device" credentials cannot be backed up and synced to another device, "multi_device" credentials can be backed up if enabled by the end-user.
4208
+ *
4209
+ */
4210
+ credential_device_type?: string;
4211
+ /**
4212
+ * Applies to passkeys only. Whether the credential was backed up.
4213
+ *
4214
+ */
4215
+ credential_backed_up?: boolean;
4216
+ /**
4217
+ * Applies to passkeys only. The ID of the user identity linked with the authentication method.
4218
+ *
4219
+ */
4220
+ identity_user_id?: string;
4221
+ /**
4222
+ * Applies to passkeys only. The user-agent of the browser used to create the passkey.
4223
+ *
4224
+ */
4225
+ user_agent?: string;
4207
4226
  }
4208
- export declare const GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerTypeEnum: {
4227
+ export declare const GetAuthenticationMethods200ResponseOneOfInnerTypeEnum: {
4209
4228
  readonly recovery_code: "recovery-code";
4210
4229
  readonly totp: "totp";
4211
4230
  readonly push: "push";
@@ -4215,110 +4234,33 @@ export declare const GetAuthenticationMethods200ResponseOneOfAuthenticatorsInner
4215
4234
  readonly webauthn_roaming: "webauthn-roaming";
4216
4235
  readonly webauthn_platform: "webauthn-platform";
4217
4236
  readonly guardian: "guardian";
4237
+ readonly passkey: "passkey";
4218
4238
  };
4219
- export type GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerTypeEnum = (typeof GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerTypeEnum)[keyof typeof GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerTypeEnum];
4220
- export declare const GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerPreferredAuthenticationMethodEnum: {
4239
+ export type GetAuthenticationMethods200ResponseOneOfInnerTypeEnum = (typeof GetAuthenticationMethods200ResponseOneOfInnerTypeEnum)[keyof typeof GetAuthenticationMethods200ResponseOneOfInnerTypeEnum];
4240
+ export declare const GetAuthenticationMethods200ResponseOneOfInnerPreferredAuthenticationMethodEnum: {
4221
4241
  readonly sms: "sms";
4222
4242
  readonly voice: "voice";
4223
4243
  };
4224
- export type GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerPreferredAuthenticationMethodEnum = (typeof GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerPreferredAuthenticationMethodEnum)[keyof typeof GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerPreferredAuthenticationMethodEnum];
4244
+ export type GetAuthenticationMethods200ResponseOneOfInnerPreferredAuthenticationMethodEnum = (typeof GetAuthenticationMethods200ResponseOneOfInnerPreferredAuthenticationMethodEnum)[keyof typeof GetAuthenticationMethods200ResponseOneOfInnerPreferredAuthenticationMethodEnum];
4225
4245
  /**
4226
4246
  *
4227
4247
  */
4228
- export interface GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerAuthenticationMethodsInner {
4248
+ export interface GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInner {
4229
4249
  [key: string]: any | any;
4230
4250
  /**
4231
4251
  */
4232
- type?: GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerAuthenticationMethodsInnerTypeEnum;
4252
+ type?: GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInnerTypeEnum;
4233
4253
  /**
4234
4254
  */
4235
4255
  id?: string;
4236
4256
  }
4237
- export declare const GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerAuthenticationMethodsInnerTypeEnum: {
4257
+ export declare const GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInnerTypeEnum: {
4238
4258
  readonly totp: "totp";
4239
4259
  readonly push: "push";
4240
4260
  readonly sms: "sms";
4241
4261
  readonly voice: "voice";
4242
4262
  };
4243
- export type GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerAuthenticationMethodsInnerTypeEnum = (typeof GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerAuthenticationMethodsInnerTypeEnum)[keyof typeof GetAuthenticationMethods200ResponseOneOfAuthenticatorsInnerAuthenticationMethodsInnerTypeEnum];
4244
- /**
4245
- *
4246
- */
4247
- export interface GetAuthenticationMethods200ResponseOneOfInner {
4248
- [key: string]: any | any;
4249
- /**
4250
- * Enrollment generated id
4251
- *
4252
- */
4253
- id: string;
4254
- /**
4255
- * Enrollment type
4256
- *
4257
- */
4258
- type: GetAuthenticationMethods200ResponseOneOfInnerTypeEnum;
4259
- /**
4260
- * Enrollment status
4261
- *
4262
- */
4263
- confirmed?: boolean;
4264
- /**
4265
- * A human-readable label to identify the authenticator
4266
- *
4267
- */
4268
- name?: string;
4269
- /**
4270
- * Indicates the authenticator is linked to another authenticator
4271
- *
4272
- */
4273
- link_id?: string;
4274
- /**
4275
- * Applies to phone authenticators only. The destination phone number used to text and call.
4276
- *
4277
- */
4278
- phone_number?: string;
4279
- /**
4280
- * Applies to email authenticators only. The email address used to send verification messages.
4281
- *
4282
- */
4283
- email?: string;
4284
- /**
4285
- * Applies to webauthn authenticators only. The ID of the generated credential.
4286
- *
4287
- */
4288
- key_id?: string;
4289
- /**
4290
- * Applies to webauthn authenticators only. The public key.
4291
- *
4292
- */
4293
- public_key?: string;
4294
- /**
4295
- * Authenticator creation date
4296
- *
4297
- */
4298
- created_at: string;
4299
- /**
4300
- * Enrollment date
4301
- *
4302
- */
4303
- enrolled_at?: string;
4304
- /**
4305
- * Last authentication
4306
- *
4307
- */
4308
- last_auth_at?: string;
4309
- }
4310
- export declare const GetAuthenticationMethods200ResponseOneOfInnerTypeEnum: {
4311
- readonly recovery_code: "recovery-code";
4312
- readonly totp: "totp";
4313
- readonly push: "push";
4314
- readonly guardian: "guardian";
4315
- readonly sms: "sms";
4316
- readonly phone: "phone";
4317
- readonly email: "email";
4318
- readonly webauthn_roaming: "webauthn-roaming";
4319
- readonly webauthn_platform: "webauthn-platform";
4320
- };
4321
- export type GetAuthenticationMethods200ResponseOneOfInnerTypeEnum = (typeof GetAuthenticationMethods200ResponseOneOfInnerTypeEnum)[keyof typeof GetAuthenticationMethods200ResponseOneOfInnerTypeEnum];
4263
+ export type GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInnerTypeEnum = (typeof GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInnerTypeEnum)[keyof typeof GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsInnerTypeEnum];
4322
4264
  /**
4323
4265
  *
4324
4266
  */
@@ -4578,6 +4520,27 @@ export interface GetClientGrants200ResponseOneOf {
4578
4520
  */
4579
4521
  client_grants: Array<ClientGrant>;
4580
4522
  }
4523
+ /**
4524
+ *
4525
+ */
4526
+ export type GetClients200Response = Array<Client> | GetClients200ResponseOneOf;
4527
+ /**
4528
+ *
4529
+ */
4530
+ export interface GetClients200ResponseOneOf {
4531
+ /**
4532
+ */
4533
+ start: number;
4534
+ /**
4535
+ */
4536
+ limit: number;
4537
+ /**
4538
+ */
4539
+ total: number;
4540
+ /**
4541
+ */
4542
+ clients: Array<Client>;
4543
+ }
4581
4544
  /**
4582
4545
  *
4583
4546
  */
@@ -7196,6 +7159,7 @@ export declare const PatchCustomDomainsByIdRequestCustomClientIpHeaderEnum: {
7196
7159
  readonly true_client_ip: "true-client-ip";
7197
7160
  readonly cf_connecting_ip: "cf-connecting-ip";
7198
7161
  readonly x_forwarded_for: "x-forwarded-for";
7162
+ readonly x_azure_clientip: "x-azure-clientip";
7199
7163
  readonly empty: "";
7200
7164
  };
7201
7165
  export type PatchCustomDomainsByIdRequestCustomClientIpHeaderEnum = (typeof PatchCustomDomainsByIdRequestCustomClientIpHeaderEnum)[keyof typeof PatchCustomDomainsByIdRequestCustomClientIpHeaderEnum];
@@ -8350,13 +8314,14 @@ export declare const PostCustomDomainsRequestCustomClientIpHeaderEnum: {
8350
8314
  readonly true_client_ip: "true-client-ip";
8351
8315
  readonly cf_connecting_ip: "cf-connecting-ip";
8352
8316
  readonly x_forwarded_for: "x-forwarded-for";
8317
+ readonly x_azure_clientip: "x-azure-clientip";
8353
8318
  readonly null: "null";
8354
8319
  };
8355
8320
  export type PostCustomDomainsRequestCustomClientIpHeaderEnum = (typeof PostCustomDomainsRequestCustomClientIpHeaderEnum)[keyof typeof PostCustomDomainsRequestCustomClientIpHeaderEnum];
8356
8321
  /**
8357
8322
  *
8358
8323
  */
8359
- export type PostDeployDraftVersionRequest = DraftUpdate;
8324
+ export type PostDeployDraftVersionRequest = ActionsDraftUpdate;
8360
8325
  /**
8361
8326
  *
8362
8327
  */
@@ -9277,75 +9242,6 @@ export interface PostRecoveryCodeRegeneration200Response {
9277
9242
  */
9278
9243
  recovery_code: string;
9279
9244
  }
9280
- /**
9281
- *
9282
- */
9283
- export interface PostResourceServersRequest {
9284
- /**
9285
- * Friendly name for this resource server. Can not contain `<` or `>` characters.
9286
- *
9287
- */
9288
- name?: string;
9289
- /**
9290
- * Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
9291
- *
9292
- */
9293
- identifier: string;
9294
- /**
9295
- * List of permissions (scopes) that this API uses.
9296
- *
9297
- */
9298
- scopes?: Array<Scope>;
9299
- /**
9300
- * Algorithm used to sign JWTs. Can be `HS256` or `RS256`. `PS256` available via addon.
9301
- *
9302
- */
9303
- signing_alg?: PostResourceServersRequestSigningAlgEnum;
9304
- /**
9305
- * Secret used to sign tokens when using symmetric algorithms (HS256).
9306
- *
9307
- */
9308
- signing_secret?: string;
9309
- /**
9310
- * Whether refresh tokens can be issued for this API (true) or not (false).
9311
- *
9312
- */
9313
- allow_offline_access?: boolean;
9314
- /**
9315
- * Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
9316
- *
9317
- */
9318
- token_lifetime?: number;
9319
- /**
9320
- * Dialect of issued access token. Can be `access_token` or `access_token_authz` (includes permissions). Values can be `access_token` or `access_token_authz` (includes permissions).
9321
- *
9322
- */
9323
- token_dialect?: PostResourceServersRequestTokenDialectEnum;
9324
- /**
9325
- * Whether to skip user consent for applications flagged as first party (true) or not (false).
9326
- *
9327
- */
9328
- skip_consent_for_verifiable_first_party_clients?: boolean;
9329
- /**
9330
- * Whether to enforce authorization policies (true) or to ignore them (false).
9331
- *
9332
- */
9333
- enforce_policies?: boolean;
9334
- /**
9335
- */
9336
- client?: object;
9337
- }
9338
- export declare const PostResourceServersRequestSigningAlgEnum: {
9339
- readonly HS256: "HS256";
9340
- readonly RS256: "RS256";
9341
- readonly PS256: "PS256";
9342
- };
9343
- export type PostResourceServersRequestSigningAlgEnum = (typeof PostResourceServersRequestSigningAlgEnum)[keyof typeof PostResourceServersRequestSigningAlgEnum];
9344
- export declare const PostResourceServersRequestTokenDialectEnum: {
9345
- readonly token: "access_token";
9346
- readonly token_authz: "access_token_authz";
9347
- };
9348
- export type PostResourceServersRequestTokenDialectEnum = (typeof PostResourceServersRequestTokenDialectEnum)[keyof typeof PostResourceServersRequestTokenDialectEnum];
9349
9245
  /**
9350
9246
  *
9351
9247
  */
@@ -9982,31 +9878,6 @@ export interface PutSnsRequest {
9982
9878
  */
9983
9879
  sns_gcm_platform_application_arn?: string | null;
9984
9880
  }
9985
- /**
9986
- *
9987
- */
9988
- export interface PutTwilio200Response {
9989
- /**
9990
- * From number
9991
- *
9992
- */
9993
- from: string | null;
9994
- /**
9995
- * Copilot SID
9996
- *
9997
- */
9998
- messaging_service_sid: string | null;
9999
- /**
10000
- * Twilio Authentication token
10001
- *
10002
- */
10003
- auth_token: string | null;
10004
- /**
10005
- * Twilio SID
10006
- *
10007
- */
10008
- sid: string | null;
10009
- }
10010
9881
  /**
10011
9882
  *
10012
9883
  */
@@ -10128,6 +9999,75 @@ export declare const ResourceServerTokenDialectEnum: {
10128
9999
  readonly token_authz: "access_token_authz";
10129
10000
  };
10130
10001
  export type ResourceServerTokenDialectEnum = (typeof ResourceServerTokenDialectEnum)[keyof typeof ResourceServerTokenDialectEnum];
10002
+ /**
10003
+ *
10004
+ */
10005
+ export interface ResourceServerCreate {
10006
+ /**
10007
+ * Friendly name for this resource server. Can not contain `<` or `>` characters.
10008
+ *
10009
+ */
10010
+ name?: string;
10011
+ /**
10012
+ * Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
10013
+ *
10014
+ */
10015
+ identifier: string;
10016
+ /**
10017
+ * List of permissions (scopes) that this API uses.
10018
+ *
10019
+ */
10020
+ scopes?: Array<Scope>;
10021
+ /**
10022
+ * Algorithm used to sign JWTs. Can be `HS256` or `RS256`. `PS256` available via addon.
10023
+ *
10024
+ */
10025
+ signing_alg?: ResourceServerCreateSigningAlgEnum;
10026
+ /**
10027
+ * Secret used to sign tokens when using symmetric algorithms (HS256).
10028
+ *
10029
+ */
10030
+ signing_secret?: string;
10031
+ /**
10032
+ * Whether refresh tokens can be issued for this API (true) or not (false).
10033
+ *
10034
+ */
10035
+ allow_offline_access?: boolean;
10036
+ /**
10037
+ * Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
10038
+ *
10039
+ */
10040
+ token_lifetime?: number;
10041
+ /**
10042
+ * Dialect of issued access token. Can be `access_token` or `access_token_authz` (includes permissions). Values can be `access_token` or `access_token_authz` (includes permissions).
10043
+ *
10044
+ */
10045
+ token_dialect?: ResourceServerCreateTokenDialectEnum;
10046
+ /**
10047
+ * Whether to skip user consent for applications flagged as first party (true) or not (false).
10048
+ *
10049
+ */
10050
+ skip_consent_for_verifiable_first_party_clients?: boolean;
10051
+ /**
10052
+ * Whether to enforce authorization policies (true) or to ignore them (false).
10053
+ *
10054
+ */
10055
+ enforce_policies?: boolean;
10056
+ /**
10057
+ */
10058
+ client?: object;
10059
+ }
10060
+ export declare const ResourceServerCreateSigningAlgEnum: {
10061
+ readonly HS256: "HS256";
10062
+ readonly RS256: "RS256";
10063
+ readonly PS256: "PS256";
10064
+ };
10065
+ export type ResourceServerCreateSigningAlgEnum = (typeof ResourceServerCreateSigningAlgEnum)[keyof typeof ResourceServerCreateSigningAlgEnum];
10066
+ export declare const ResourceServerCreateTokenDialectEnum: {
10067
+ readonly token: "access_token";
10068
+ readonly token_authz: "access_token_authz";
10069
+ };
10070
+ export type ResourceServerCreateTokenDialectEnum = (typeof ResourceServerCreateTokenDialectEnum)[keyof typeof ResourceServerCreateTokenDialectEnum];
10131
10071
  /**
10132
10072
  *
10133
10073
  */
@@ -10322,6 +10262,31 @@ export interface Scope {
10322
10262
  */
10323
10263
  description?: string;
10324
10264
  }
10265
+ /**
10266
+ *
10267
+ */
10268
+ export interface SmsTwilioFactorProvider {
10269
+ /**
10270
+ * From number
10271
+ *
10272
+ */
10273
+ from: string | null;
10274
+ /**
10275
+ * Copilot SID
10276
+ *
10277
+ */
10278
+ messaging_service_sid: string | null;
10279
+ /**
10280
+ * Twilio Authentication token
10281
+ *
10282
+ */
10283
+ auth_token: string | null;
10284
+ /**
10285
+ * Twilio SID
10286
+ *
10287
+ */
10288
+ sid: string | null;
10289
+ }
10325
10290
  /**
10326
10291
  *
10327
10292
  */
@@ -12450,7 +12415,7 @@ export interface DeleteGrantsByUserIdRequest {
12450
12415
  * user_id of the grant to delete.
12451
12416
  *
12452
12417
  */
12453
- user_id?: string;
12418
+ user_id: string;
12454
12419
  }
12455
12420
  /**
12456
12421
  *
@@ -13014,6 +12979,16 @@ export interface GetMembersRequest {
13014
12979
  *
13015
12980
  */
13016
12981
  take?: number;
12982
+ /**
12983
+ * Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
12984
+ *
12985
+ */
12986
+ fields?: string;
12987
+ /**
12988
+ * Whether specified fields are to be included (true) or excluded (false).
12989
+ *
12990
+ */
12991
+ include_fields?: boolean;
13017
12992
  }
13018
12993
  /**
13019
12994
  *