auth0 4.33.0 → 4.35.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 (23) hide show
  1. package/dist/cjs/management/__generated/managers/attack-protection-manager.d.ts +29 -1
  2. package/dist/cjs/management/__generated/managers/attack-protection-manager.js +60 -0
  3. package/dist/cjs/management/__generated/managers/attack-protection-manager.js.map +1 -1
  4. package/dist/cjs/management/__generated/managers/organizations-manager.d.ts +38 -1
  5. package/dist/cjs/management/__generated/managers/organizations-manager.js +97 -0
  6. package/dist/cjs/management/__generated/managers/organizations-manager.js.map +1 -1
  7. package/dist/cjs/management/__generated/models/index.d.ts +1012 -3
  8. package/dist/cjs/management/__generated/models/index.js +102 -7
  9. package/dist/cjs/management/__generated/models/index.js.map +1 -1
  10. package/dist/cjs/version.d.ts +1 -1
  11. package/dist/cjs/version.js +1 -1
  12. package/dist/esm/management/__generated/managers/attack-protection-manager.d.ts +29 -1
  13. package/dist/esm/management/__generated/managers/attack-protection-manager.js +60 -0
  14. package/dist/esm/management/__generated/managers/attack-protection-manager.js.map +1 -1
  15. package/dist/esm/management/__generated/managers/organizations-manager.d.ts +38 -1
  16. package/dist/esm/management/__generated/managers/organizations-manager.js +97 -0
  17. package/dist/esm/management/__generated/managers/organizations-manager.js.map +1 -1
  18. package/dist/esm/management/__generated/models/index.d.ts +1012 -3
  19. package/dist/esm/management/__generated/models/index.js +94 -0
  20. package/dist/esm/management/__generated/models/index.js.map +1 -1
  21. package/dist/esm/version.d.ts +1 -1
  22. package/dist/esm/version.js +1 -1
  23. package/package.json +1 -1
@@ -8,6 +8,30 @@ export interface ActionsDraftUpdate {
8
8
  */
9
9
  update_draft?: boolean;
10
10
  }
11
+ /**
12
+ *
13
+ */
14
+ export type AnomalyAllowlistFormat = string;
15
+ /**
16
+ *
17
+ */
18
+ export interface ArkoseCaptchaConfig {
19
+ /**
20
+ */
21
+ siteKey: string;
22
+ /**
23
+ */
24
+ secret: string;
25
+ /**
26
+ */
27
+ clientSubdomain?: string;
28
+ /**
29
+ */
30
+ verifySubdomain?: string;
31
+ /**
32
+ */
33
+ failOpen?: boolean;
34
+ }
11
35
  /**
12
36
  *
13
37
  */
@@ -15,6 +39,325 @@ export declare const AssessorsTypeEnum: {
15
39
  readonly new_device: "new-device";
16
40
  };
17
41
  export type AssessorsTypeEnum = (typeof AssessorsTypeEnum)[keyof typeof AssessorsTypeEnum];
42
+ /**
43
+ *
44
+ */
45
+ export declare const AsyncApprovalNotificationsChannelsEnum: {
46
+ readonly guardian_push: "guardian-push";
47
+ readonly email: "email";
48
+ };
49
+ export type AsyncApprovalNotificationsChannelsEnum = (typeof AsyncApprovalNotificationsChannelsEnum)[keyof typeof AsyncApprovalNotificationsChannelsEnum];
50
+ /**
51
+ *
52
+ */
53
+ export interface AttackProtectionCaptchaArkoseResponseContent {
54
+ [key: string]: any | any;
55
+ /**
56
+ * The site key for the Arkose captcha provider.
57
+ *
58
+ */
59
+ site_key?: string;
60
+ /**
61
+ * Whether the captcha should fail open.
62
+ *
63
+ */
64
+ fail_open?: boolean;
65
+ /**
66
+ * The subdomain used for client requests to the Arkose captcha provider.
67
+ *
68
+ */
69
+ client_subdomain?: string;
70
+ /**
71
+ * The subdomain used for server-side verification requests to the Arkose captcha provider.
72
+ *
73
+ */
74
+ verify_subdomain?: string;
75
+ }
76
+ /**
77
+ *
78
+ */
79
+ export interface AttackProtectionCaptchaAuthChallengeRequest {
80
+ /**
81
+ * Whether the auth challenge should fail open.
82
+ *
83
+ */
84
+ fail_open: boolean;
85
+ }
86
+ /**
87
+ *
88
+ */
89
+ export interface AttackProtectionCaptchaAuthChallengeResponseContent {
90
+ [key: string]: any | any;
91
+ /**
92
+ * Whether the auth challenge should fail open.
93
+ *
94
+ */
95
+ fail_open?: boolean;
96
+ }
97
+ /**
98
+ *
99
+ */
100
+ export interface AttackProtectionCaptchaFriendlyCaptchaResponseContent {
101
+ [key: string]: any | any;
102
+ /**
103
+ * The site key for the Friendly Captcha provider.
104
+ *
105
+ */
106
+ site_key?: string;
107
+ }
108
+ /**
109
+ *
110
+ */
111
+ export interface AttackProtectionCaptchaHcaptchaResponseContent {
112
+ [key: string]: any | any;
113
+ /**
114
+ * The site key for the hCaptcha provider.
115
+ *
116
+ */
117
+ site_key?: string;
118
+ }
119
+ /**
120
+ * The id of the active provider for the CAPTCHA.
121
+ */
122
+ export declare const AttackProtectionCaptchaProviderId: {
123
+ readonly arkose: "arkose";
124
+ readonly auth_challenge: "auth_challenge";
125
+ readonly friendly_captcha: "friendly_captcha";
126
+ readonly hcaptcha: "hcaptcha";
127
+ readonly recaptcha_v2: "recaptcha_v2";
128
+ readonly recaptcha_enterprise: "recaptcha_enterprise";
129
+ readonly simple_captcha: "simple_captcha";
130
+ };
131
+ export type AttackProtectionCaptchaProviderId = (typeof AttackProtectionCaptchaProviderId)[keyof typeof AttackProtectionCaptchaProviderId];
132
+ /**
133
+ *
134
+ */
135
+ export interface AttackProtectionCaptchaRecaptchaEnterpriseResponseContent {
136
+ [key: string]: any | any;
137
+ /**
138
+ * The site key for the reCAPTCHA Enterprise provider.
139
+ *
140
+ */
141
+ site_key?: string;
142
+ /**
143
+ * The project ID for the reCAPTCHA Enterprise provider.
144
+ *
145
+ */
146
+ project_id?: string;
147
+ }
148
+ /**
149
+ *
150
+ */
151
+ export interface AttackProtectionCaptchaRecaptchaV2ResponseContent {
152
+ [key: string]: any | any;
153
+ /**
154
+ * The site key for the reCAPTCHA v2 provider.
155
+ *
156
+ */
157
+ site_key?: string;
158
+ }
159
+ /**
160
+ *
161
+ */
162
+ export interface AttackProtectionCaptchaSimpleCaptchaResponseContent {
163
+ [key: string]: any;
164
+ }
165
+ /**
166
+ *
167
+ */
168
+ export interface AttackProtectionUpdateCaptchaArkose {
169
+ /**
170
+ * The site key for the Arkose captcha provider.
171
+ *
172
+ */
173
+ site_key: string;
174
+ /**
175
+ * The secret key for the Arkose captcha provider.
176
+ *
177
+ */
178
+ secret: string;
179
+ /**
180
+ * The subdomain used for client requests to the Arkose captcha provider.
181
+ *
182
+ */
183
+ client_subdomain?: string;
184
+ /**
185
+ * The subdomain used for server-side verification requests to the Arkose captcha provider.
186
+ *
187
+ */
188
+ verify_subdomain?: string;
189
+ /**
190
+ * Whether the captcha should fail open.
191
+ *
192
+ */
193
+ fail_open?: boolean;
194
+ }
195
+ /**
196
+ *
197
+ */
198
+ export interface AttackProtectionUpdateCaptchaFriendlyCaptcha {
199
+ /**
200
+ * The site key for the Friendly Captcha provider.
201
+ *
202
+ */
203
+ site_key: string;
204
+ /**
205
+ * The secret key for the Friendly Captcha provider.
206
+ *
207
+ */
208
+ secret: string;
209
+ }
210
+ /**
211
+ *
212
+ */
213
+ export interface AttackProtectionUpdateCaptchaHcaptcha {
214
+ /**
215
+ * The site key for the hCaptcha provider.
216
+ *
217
+ */
218
+ site_key: string;
219
+ /**
220
+ * The secret key for the hCaptcha provider.
221
+ *
222
+ */
223
+ secret: string;
224
+ }
225
+ /**
226
+ *
227
+ */
228
+ export interface AttackProtectionUpdateCaptchaRecaptchaEnterprise {
229
+ /**
230
+ * The site key for the reCAPTCHA Enterprise provider.
231
+ *
232
+ */
233
+ site_key: string;
234
+ /**
235
+ * The API key for the reCAPTCHA Enterprise provider.
236
+ *
237
+ */
238
+ api_key: string;
239
+ /**
240
+ * The project ID for the reCAPTCHA Enterprise provider.
241
+ *
242
+ */
243
+ project_id: string;
244
+ }
245
+ /**
246
+ *
247
+ */
248
+ export interface AttackProtectionUpdateCaptchaRecaptchaV2 {
249
+ /**
250
+ * The site key for the reCAPTCHA v2 provider.
251
+ *
252
+ */
253
+ site_key: string;
254
+ /**
255
+ * The secret key for the reCAPTCHA v2 provider.
256
+ *
257
+ */
258
+ secret: string;
259
+ }
260
+ /**
261
+ *
262
+ */
263
+ export interface Auth0V2CaptchaConfig {
264
+ /**
265
+ */
266
+ failOpen?: boolean;
267
+ }
268
+ /**
269
+ * List of IP addresses or CIDR blocks to allowlist
270
+ */
271
+ export interface BotDetectionAllowlist extends Array<BotDetectionIpAddressOrCidrBlock> {
272
+ }
273
+ /**
274
+ * The policy that defines how often to show CAPTCHA
275
+ */
276
+ export declare const BotDetectionChallengePolicyPasswordFlowEnum: {
277
+ readonly never: "never";
278
+ readonly when_risky: "when_risky";
279
+ readonly always: "always";
280
+ };
281
+ export type BotDetectionChallengePolicyPasswordFlowEnum = (typeof BotDetectionChallengePolicyPasswordFlowEnum)[keyof typeof BotDetectionChallengePolicyPasswordFlowEnum];
282
+ /**
283
+ * The policy that defines how often to show CAPTCHA
284
+ */
285
+ export declare const BotDetectionChallengePolicyPasswordResetFlowEnum: {
286
+ readonly never: "never";
287
+ readonly when_risky: "when_risky";
288
+ readonly always: "always";
289
+ };
290
+ export type BotDetectionChallengePolicyPasswordResetFlowEnum = (typeof BotDetectionChallengePolicyPasswordResetFlowEnum)[keyof typeof BotDetectionChallengePolicyPasswordResetFlowEnum];
291
+ /**
292
+ * The policy that defines how often to show CAPTCHA
293
+ */
294
+ export declare const BotDetectionChallengePolicyPasswordlessFlowEnum: {
295
+ readonly never: "never";
296
+ readonly when_risky: "when_risky";
297
+ readonly always: "always";
298
+ };
299
+ export type BotDetectionChallengePolicyPasswordlessFlowEnum = (typeof BotDetectionChallengePolicyPasswordlessFlowEnum)[keyof typeof BotDetectionChallengePolicyPasswordlessFlowEnum];
300
+ /**
301
+ * IP address (IPv4 or IPv6) or CIDR block
302
+ */
303
+ export type BotDetectionIpAddressOrCidrBlock = string;
304
+ /**
305
+ * The level of bot detection sensitivity
306
+ */
307
+ export declare const BotDetectionLevelEnum: {
308
+ readonly low: "low";
309
+ readonly medium: "medium";
310
+ readonly high: "high";
311
+ };
312
+ export type BotDetectionLevelEnum = (typeof BotDetectionLevelEnum)[keyof typeof BotDetectionLevelEnum];
313
+ /**
314
+ * The captcha assessment policy for userpass flow enabled for this tenant
315
+ */
316
+ export declare const CaptchaEnforcementPolicyEnum: {
317
+ readonly high_risk: "high_risk";
318
+ readonly always_on: "always_on";
319
+ readonly off: "off";
320
+ };
321
+ export type CaptchaEnforcementPolicyEnum = (typeof CaptchaEnforcementPolicyEnum)[keyof typeof CaptchaEnforcementPolicyEnum];
322
+ /**
323
+ * The selected captcha provider.
324
+ */
325
+ export declare const CaptchaProviderEnum: {
326
+ readonly auth0: "auth0";
327
+ readonly auth0_v2: "auth0_v2";
328
+ readonly recaptcha_v2: "recaptcha_v2";
329
+ readonly recaptcha_enterprise: "recaptcha_enterprise";
330
+ readonly hcaptcha: "hcaptcha";
331
+ readonly friendly_captcha: "friendly_captcha";
332
+ readonly arkose: "arkose";
333
+ };
334
+ export type CaptchaProviderEnum = (typeof CaptchaProviderEnum)[keyof typeof CaptchaProviderEnum];
335
+ /**
336
+ * Config for all captcha providers available for this tenant.
337
+ */
338
+ export interface CaptchaProvidersConfig {
339
+ /**
340
+ */
341
+ auth0?: object;
342
+ /**
343
+ */
344
+ auth0_v2?: Auth0V2CaptchaConfig;
345
+ /**
346
+ */
347
+ recaptcha_v2?: RecaptchaV2CaptchaConfig;
348
+ /**
349
+ */
350
+ recaptcha_enterprise?: RecaptchaEnterpriseCaptchaConfig;
351
+ /**
352
+ */
353
+ hcaptcha?: HcaptchaCaptchaConfig;
354
+ /**
355
+ */
356
+ friendly_captcha?: FriendlyCaptchaConfig;
357
+ /**
358
+ */
359
+ arkose?: ArkoseCaptchaConfig;
360
+ }
18
361
  /**
19
362
  * Certificate information. This object is relevant only for Custom Domains with Auth0-Managed Certificates.
20
363
  */
@@ -256,6 +599,11 @@ export interface Client {
256
599
  *
257
600
  */
258
601
  organization_require_behavior: ClientOrganizationRequireBehaviorEnum;
602
+ /**
603
+ * Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both.
604
+ *
605
+ */
606
+ organization_discovery_methods?: Array<ClientOrganizationDiscoveryEnum>;
259
607
  /**
260
608
  */
261
609
  client_authentication_methods: ClientClientAuthenticationMethods | null;
@@ -292,6 +640,11 @@ export interface Client {
292
640
  *
293
641
  */
294
642
  skip_non_verifiable_callback_uri_confirmation_prompt?: boolean;
643
+ /**
644
+ * Array of notification channels for contacting the user when their approval is required. Valid values are `guardian-push`, `email`.
645
+ *
646
+ */
647
+ async_approval_notification_channels?: Array<AsyncApprovalNotificationsChannelsEnum>;
295
648
  }
296
649
  export declare const ClientAppTypeEnum: {
297
650
  readonly native: "native";
@@ -1196,6 +1549,11 @@ export interface ClientCreate {
1196
1549
  *
1197
1550
  */
1198
1551
  organization_require_behavior?: ClientCreateOrganizationRequireBehaviorEnum;
1552
+ /**
1553
+ * Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both.
1554
+ *
1555
+ */
1556
+ organization_discovery_methods?: Array<ClientOrganizationDiscoveryEnum>;
1199
1557
  /**
1200
1558
  */
1201
1559
  client_authentication_methods?: ClientCreateClientAuthenticationMethods;
@@ -1237,6 +1595,11 @@ export interface ClientCreate {
1237
1595
  *
1238
1596
  */
1239
1597
  skip_non_verifiable_callback_uri_confirmation_prompt?: boolean;
1598
+ /**
1599
+ * Array of notification channels for contacting the user when their approval is required. Valid values are `guardian-push`, `email`.
1600
+ *
1601
+ */
1602
+ async_approval_notification_channels?: Array<AsyncApprovalNotificationsChannelsEnum>;
1240
1603
  }
1241
1604
  export declare const ClientCreateTokenEndpointAuthMethodEnum: {
1242
1605
  readonly none: "none";
@@ -2439,6 +2802,14 @@ export declare const ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiato
2439
2802
  readonly account_deactivated: "account-deactivated";
2440
2803
  };
2441
2804
  export type ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum = (typeof ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum)[keyof typeof ClientOidcLogoutBackchannelLogoutInitiatorsSelectedInitiatorsEnum];
2805
+ /**
2806
+ * Method for discovering organizations during the `pre_login_prompt`. `email` allows users to find their organization by entering their email address and performing domain matching, while `organization_name` requires users to enter the organization name directly. These methods can be combined.
2807
+ */
2808
+ export declare const ClientOrganizationDiscoveryEnum: {
2809
+ readonly email: "email";
2810
+ readonly organization_name: "organization_name";
2811
+ };
2812
+ export type ClientOrganizationDiscoveryEnum = (typeof ClientOrganizationDiscoveryEnum)[keyof typeof ClientOrganizationDiscoveryEnum];
2442
2813
  /**
2443
2814
  * Refresh token configuration
2444
2815
  */
@@ -2758,6 +3129,11 @@ export interface ClientUpdate {
2758
3129
  *
2759
3130
  */
2760
3131
  organization_require_behavior?: ClientUpdateOrganizationRequireBehaviorEnum;
3132
+ /**
3133
+ * Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both.
3134
+ *
3135
+ */
3136
+ organization_discovery_methods?: Array<ClientOrganizationDiscoveryEnum>;
2761
3137
  /**
2762
3138
  */
2763
3139
  client_authentication_methods?: ClientUpdateClientAuthenticationMethods | null;
@@ -2786,6 +3162,11 @@ export interface ClientUpdate {
2786
3162
  *
2787
3163
  */
2788
3164
  skip_non_verifiable_callback_uri_confirmation_prompt?: boolean;
3165
+ /**
3166
+ * Array of notification channels for contacting the user when their approval is required. Valid values are `guardian-push`, `email`.
3167
+ *
3168
+ */
3169
+ async_approval_notification_channels?: Array<AsyncApprovalNotificationsChannelsEnum>;
2789
3170
  }
2790
3171
  export declare const ClientUpdateTokenEndpointAuthMethodEnum: {
2791
3172
  readonly none: "none";
@@ -3449,6 +3830,9 @@ export interface ConnectionCreateOptions {
3449
3830
  *
3450
3831
  */
3451
3832
  non_persistent_attrs?: Array<string>;
3833
+ /**
3834
+ */
3835
+ attributes?: ConnectionCreateOptionsAttributes;
3452
3836
  /**
3453
3837
  */
3454
3838
  enable_script_context?: boolean;
@@ -3545,6 +3929,148 @@ export declare const ConnectionCreateOptionsSetUserRootAttributesEnum: {
3545
3929
  readonly first_login: "on_first_login";
3546
3930
  };
3547
3931
  export type ConnectionCreateOptionsSetUserRootAttributesEnum = (typeof ConnectionCreateOptionsSetUserRootAttributesEnum)[keyof typeof ConnectionCreateOptionsSetUserRootAttributesEnum];
3932
+ /**
3933
+ * Attribute configuration
3934
+ */
3935
+ export interface ConnectionCreateOptionsAttributes {
3936
+ /**
3937
+ */
3938
+ email?: ConnectionCreateOptionsAttributesEmail;
3939
+ /**
3940
+ */
3941
+ phone_number?: ConnectionCreateOptionsAttributesPhoneNumber;
3942
+ /**
3943
+ */
3944
+ username?: ConnectionCreateOptionsAttributesUsername;
3945
+ }
3946
+ /**
3947
+ * Configuration for the email attribute for users.
3948
+ */
3949
+ export interface ConnectionCreateOptionsAttributesEmail {
3950
+ /**
3951
+ */
3952
+ identifier?: ConnectionCreateOptionsAttributesEmailIdentifier;
3953
+ /**
3954
+ * Determines if the attribute is unique in a given connection
3955
+ *
3956
+ */
3957
+ unique?: boolean;
3958
+ /**
3959
+ * Determines if property should be required for users
3960
+ *
3961
+ */
3962
+ profile_required?: boolean;
3963
+ /**
3964
+ */
3965
+ verification_method?: ConnectionCreateOptionsAttributesEmailVerificationMethodEnum;
3966
+ /**
3967
+ */
3968
+ signup?: ConnectionCreateOptionsAttributesEmailSignup;
3969
+ }
3970
+ export declare const ConnectionCreateOptionsAttributesEmailVerificationMethodEnum: {
3971
+ readonly link: "link";
3972
+ readonly otp: "otp";
3973
+ };
3974
+ export type ConnectionCreateOptionsAttributesEmailVerificationMethodEnum = (typeof ConnectionCreateOptionsAttributesEmailVerificationMethodEnum)[keyof typeof ConnectionCreateOptionsAttributesEmailVerificationMethodEnum];
3975
+ /**
3976
+ *
3977
+ */
3978
+ export interface ConnectionCreateOptionsAttributesEmailIdentifier {
3979
+ /**
3980
+ * Determines if the attribute is used for identification
3981
+ *
3982
+ */
3983
+ active?: boolean;
3984
+ }
3985
+ /**
3986
+ *
3987
+ */
3988
+ export interface ConnectionCreateOptionsAttributesEmailSignup {
3989
+ /**
3990
+ */
3991
+ status?: ConnectionCreateOptionsAttributesEmailSignupStatusEnum;
3992
+ /**
3993
+ */
3994
+ verification?: ConnectionCreateOptionsAttributesEmailSignupVerification;
3995
+ }
3996
+ export declare const ConnectionCreateOptionsAttributesEmailSignupStatusEnum: {
3997
+ readonly required: "required";
3998
+ readonly optional: "optional";
3999
+ readonly inactive: "inactive";
4000
+ };
4001
+ export type ConnectionCreateOptionsAttributesEmailSignupStatusEnum = (typeof ConnectionCreateOptionsAttributesEmailSignupStatusEnum)[keyof typeof ConnectionCreateOptionsAttributesEmailSignupStatusEnum];
4002
+ /**
4003
+ *
4004
+ */
4005
+ export interface ConnectionCreateOptionsAttributesEmailSignupVerification {
4006
+ /**
4007
+ */
4008
+ active?: boolean;
4009
+ }
4010
+ /**
4011
+ * Configuration for the phone number attribute for users.
4012
+ */
4013
+ export interface ConnectionCreateOptionsAttributesPhoneNumber {
4014
+ /**
4015
+ */
4016
+ identifier?: ConnectionCreateOptionsAttributesEmailIdentifier;
4017
+ /**
4018
+ * Determines if property should be required for users
4019
+ *
4020
+ */
4021
+ profile_required?: boolean;
4022
+ /**
4023
+ */
4024
+ signup?: ConnectionCreateOptionsAttributesEmailSignup;
4025
+ }
4026
+ /**
4027
+ * Configuration for the username attribute for users.
4028
+ */
4029
+ export interface ConnectionCreateOptionsAttributesUsername {
4030
+ /**
4031
+ */
4032
+ identifier?: ConnectionCreateOptionsAttributesEmailIdentifier;
4033
+ /**
4034
+ * Determines if property should be required for users
4035
+ *
4036
+ */
4037
+ profile_required?: boolean;
4038
+ /**
4039
+ */
4040
+ signup?: ConnectionCreateOptionsAttributesEmailSignup;
4041
+ /**
4042
+ */
4043
+ validation?: ConnectionCreateOptionsAttributesUsernameValidation;
4044
+ }
4045
+ /**
4046
+ *
4047
+ */
4048
+ export interface ConnectionCreateOptionsAttributesUsernameValidation {
4049
+ /**
4050
+ * Minimum allowed length
4051
+ *
4052
+ */
4053
+ min_length?: number;
4054
+ /**
4055
+ * Maximum allowed length
4056
+ *
4057
+ */
4058
+ max_length?: number;
4059
+ /**
4060
+ */
4061
+ allowed_types?: ConnectionCreateOptionsAttributesUsernameValidationAllowedTypes;
4062
+ }
4063
+ /**
4064
+ *
4065
+ */
4066
+ export interface ConnectionCreateOptionsAttributesUsernameValidationAllowedTypes {
4067
+ /**
4068
+ */
4069
+ email?: boolean;
4070
+ /**
4071
+ */
4072
+ phone_number?: boolean;
4073
+ }
3548
4074
  /**
3549
4075
  * Options for enabling authentication methods.
3550
4076
  */
@@ -3835,6 +4361,9 @@ export interface ConnectionUpdateOptions {
3835
4361
  *
3836
4362
  */
3837
4363
  non_persistent_attrs?: Array<string>;
4364
+ /**
4365
+ */
4366
+ attributes?: ConnectionCreateOptionsAttributes;
3838
4367
  /**
3839
4368
  */
3840
4369
  enable_script_context?: boolean;
@@ -3931,6 +4460,47 @@ export declare const ConnectionUpdateOptionsSetUserRootAttributesEnum: {
3931
4460
  readonly first_login: "on_first_login";
3932
4461
  };
3933
4462
  export type ConnectionUpdateOptionsSetUserRootAttributesEnum = (typeof ConnectionUpdateOptionsSetUserRootAttributesEnum)[keyof typeof ConnectionUpdateOptionsSetUserRootAttributesEnum];
4463
+ /**
4464
+ *
4465
+ */
4466
+ export interface CreateOrganizationDiscoveryDomainRequestContent {
4467
+ /**
4468
+ * The domain name to associate with the organization e.g. acme.com.
4469
+ *
4470
+ */
4471
+ domain: string;
4472
+ /**
4473
+ */
4474
+ status?: OrganizationDiscoveryDomainStatus;
4475
+ }
4476
+ /**
4477
+ *
4478
+ */
4479
+ export interface CreateOrganizationDiscoveryDomainResponseContent {
4480
+ /**
4481
+ * Organization discovery domain identifier.
4482
+ *
4483
+ */
4484
+ id: string;
4485
+ /**
4486
+ * The domain name to associate with the organization e.g. acme.com.
4487
+ *
4488
+ */
4489
+ domain: string;
4490
+ /**
4491
+ */
4492
+ status: OrganizationDiscoveryDomainStatus;
4493
+ /**
4494
+ * A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership.
4495
+ *
4496
+ */
4497
+ verification_txt: string;
4498
+ /**
4499
+ * The full domain where the TXT record should be added.
4500
+ *
4501
+ */
4502
+ verification_host: string;
4503
+ }
3934
4504
  /**
3935
4505
  * Phone provider configuration schema
3936
4506
  */
@@ -4635,6 +5205,17 @@ export declare const FactorNameEnum: {
4635
5205
  readonly recovery_code: "recovery-code";
4636
5206
  };
4637
5207
  export type FactorNameEnum = (typeof FactorNameEnum)[keyof typeof FactorNameEnum];
5208
+ /**
5209
+ *
5210
+ */
5211
+ export interface FriendlyCaptchaConfig {
5212
+ /**
5213
+ */
5214
+ siteKey?: string;
5215
+ /**
5216
+ */
5217
+ secret?: string;
5218
+ }
4638
5219
  /**
4639
5220
  *
4640
5221
  */
@@ -5264,6 +5845,36 @@ export interface GetApns200Response {
5264
5845
  */
5265
5846
  enabled: boolean;
5266
5847
  }
5848
+ /**
5849
+ *
5850
+ */
5851
+ export interface GetAttackProtectionCaptchaResponseContent {
5852
+ [key: string]: any | any;
5853
+ /**
5854
+ */
5855
+ active_provider_id?: string;
5856
+ /**
5857
+ */
5858
+ arkose?: AttackProtectionCaptchaArkoseResponseContent;
5859
+ /**
5860
+ */
5861
+ auth_challenge?: AttackProtectionCaptchaAuthChallengeResponseContent;
5862
+ /**
5863
+ */
5864
+ hcaptcha?: AttackProtectionCaptchaHcaptchaResponseContent;
5865
+ /**
5866
+ */
5867
+ friendly_captcha?: AttackProtectionCaptchaFriendlyCaptchaResponseContent;
5868
+ /**
5869
+ */
5870
+ recaptcha_enterprise?: AttackProtectionCaptchaRecaptchaEnterpriseResponseContent;
5871
+ /**
5872
+ */
5873
+ recaptcha_v2?: AttackProtectionCaptchaRecaptchaV2ResponseContent;
5874
+ /**
5875
+ */
5876
+ simple_captcha?: AttackProtectionCaptchaSimpleCaptchaResponseContent;
5877
+ }
5267
5878
  /**
5268
5879
  *
5269
5880
  */
@@ -5477,6 +6088,31 @@ export interface GetBindings200ResponseBindingsInner {
5477
6088
  */
5478
6089
  updated_at: string;
5479
6090
  }
6091
+ /**
6092
+ *
6093
+ */
6094
+ export interface GetBotDetectionSettingsResponseContent {
6095
+ /**
6096
+ */
6097
+ bot_detection_level: BotDetectionLevelEnum;
6098
+ /**
6099
+ */
6100
+ challenge_password_policy: BotDetectionChallengePolicyPasswordFlowEnum;
6101
+ /**
6102
+ */
6103
+ challenge_passwordless_policy: BotDetectionChallengePolicyPasswordlessFlowEnum;
6104
+ /**
6105
+ */
6106
+ challenge_password_reset_policy: BotDetectionChallengePolicyPasswordResetFlowEnum;
6107
+ /**
6108
+ */
6109
+ allowlist: BotDetectionAllowlist;
6110
+ /**
6111
+ * Whether monitoring mode is enabled (logs but does not block)
6112
+ *
6113
+ */
6114
+ monitoring_mode_enabled: boolean;
6115
+ }
5480
6116
  /**
5481
6117
  *
5482
6118
  */
@@ -7989,12 +8625,40 @@ export interface GetOrganizationClientGrants200ResponseOneOfInner {
7989
8625
  * The audience (API identifier) of this client grant
7990
8626
  *
7991
8627
  */
7992
- audience: string;
8628
+ audience: string;
8629
+ /**
8630
+ * Scopes allowed for this client grant.
8631
+ *
8632
+ */
8633
+ scope: Array<string>;
8634
+ }
8635
+ /**
8636
+ *
8637
+ */
8638
+ export interface GetOrganizationDiscoveryDomainResponseContent {
8639
+ /**
8640
+ * Organization discovery domain identifier.
8641
+ *
8642
+ */
8643
+ id: string;
8644
+ /**
8645
+ * The domain name to associate with the organization e.g. acme.com.
8646
+ *
8647
+ */
8648
+ domain: string;
8649
+ /**
8650
+ */
8651
+ status: OrganizationDiscoveryDomainStatus;
8652
+ /**
8653
+ * A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership.
8654
+ *
8655
+ */
8656
+ verification_txt: string;
7993
8657
  /**
7994
- * Scopes allowed for this client grant.
8658
+ * The full domain where the TXT record should be added.
7995
8659
  *
7996
8660
  */
7997
- scope: Array<string>;
8661
+ verification_host: string;
7998
8662
  }
7999
8663
  /**
8000
8664
  *
@@ -9636,6 +10300,17 @@ export type GetUsers200ResponseOneOfInnerLastLogin = string | {
9636
10300
  export type GetUsers200ResponseOneOfInnerUpdatedAt = string | {
9637
10301
  [key: string]: any;
9638
10302
  };
10303
+ /**
10304
+ *
10305
+ */
10306
+ export interface HcaptchaCaptchaConfig {
10307
+ /**
10308
+ */
10309
+ siteKey?: string;
10310
+ /**
10311
+ */
10312
+ secret?: string;
10313
+ }
9639
10314
  /**
9640
10315
  *
9641
10316
  */
@@ -9791,6 +10466,17 @@ export declare const JobFormatEnum: {
9791
10466
  readonly csv: "csv";
9792
10467
  };
9793
10468
  export type JobFormatEnum = (typeof JobFormatEnum)[keyof typeof JobFormatEnum];
10469
+ /**
10470
+ *
10471
+ */
10472
+ export interface ListOrganizationDiscoveryDomainsResponseContent {
10473
+ /**
10474
+ */
10475
+ next?: string;
10476
+ /**
10477
+ */
10478
+ domains: Array<OrganizationDiscoveryDomain>;
10479
+ }
9794
10480
  /**
9795
10481
  *
9796
10482
  */
@@ -10017,6 +10703,42 @@ export interface OrganizationBrandingColors {
10017
10703
  */
10018
10704
  page_background: string;
10019
10705
  }
10706
+ /**
10707
+ *
10708
+ */
10709
+ export interface OrganizationDiscoveryDomain {
10710
+ /**
10711
+ * Organization discovery domain identifier.
10712
+ *
10713
+ */
10714
+ id: string;
10715
+ /**
10716
+ * The domain name to associate with the organization e.g. acme.com.
10717
+ *
10718
+ */
10719
+ domain: string;
10720
+ /**
10721
+ */
10722
+ status: OrganizationDiscoveryDomainStatus;
10723
+ /**
10724
+ * A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership.
10725
+ *
10726
+ */
10727
+ verification_txt: string;
10728
+ /**
10729
+ * The full domain where the TXT record should be added.
10730
+ *
10731
+ */
10732
+ verification_host: string;
10733
+ }
10734
+ /**
10735
+ * The verification status of the discovery domain.
10736
+ */
10737
+ export declare const OrganizationDiscoveryDomainStatus: {
10738
+ readonly pending: "pending";
10739
+ readonly verified: "verified";
10740
+ };
10741
+ export type OrganizationDiscoveryDomainStatus = (typeof OrganizationDiscoveryDomainStatus)[keyof typeof OrganizationDiscoveryDomainStatus];
10020
10742
  /**
10021
10743
  * Metadata associated with the organization, in the form of an object with string values (max 255 chars). Maximum of 25 metadata properties allowed.
10022
10744
  */
@@ -15991,6 +16713,31 @@ export interface PutUniversalLoginRequestOneOf {
15991
16713
  */
15992
16714
  template: string;
15993
16715
  }
16716
+ /**
16717
+ *
16718
+ */
16719
+ export interface RecaptchaEnterpriseCaptchaConfig {
16720
+ /**
16721
+ */
16722
+ siteKey?: string;
16723
+ /**
16724
+ */
16725
+ apiKey?: string;
16726
+ /**
16727
+ */
16728
+ projectId?: string;
16729
+ }
16730
+ /**
16731
+ *
16732
+ */
16733
+ export interface RecaptchaV2CaptchaConfig {
16734
+ /**
16735
+ */
16736
+ siteKey?: string;
16737
+ /**
16738
+ */
16739
+ secret?: string;
16740
+ }
15994
16741
  /**
15995
16742
  *
15996
16743
  */
@@ -17967,6 +18714,193 @@ export interface TwilioFactorProvider {
17967
18714
  */
17968
18715
  sid: string | null;
17969
18716
  }
18717
+ /**
18718
+ *
18719
+ */
18720
+ export interface UpdateAttackProtectionCaptchaRequestContent {
18721
+ /**
18722
+ */
18723
+ active_provider_id?: AttackProtectionCaptchaProviderId;
18724
+ /**
18725
+ */
18726
+ arkose?: AttackProtectionUpdateCaptchaArkose;
18727
+ /**
18728
+ */
18729
+ auth_challenge?: AttackProtectionCaptchaAuthChallengeRequest;
18730
+ /**
18731
+ */
18732
+ hcaptcha?: AttackProtectionUpdateCaptchaHcaptcha;
18733
+ /**
18734
+ */
18735
+ friendly_captcha?: AttackProtectionUpdateCaptchaFriendlyCaptcha;
18736
+ /**
18737
+ */
18738
+ recaptcha_enterprise?: AttackProtectionUpdateCaptchaRecaptchaEnterprise;
18739
+ /**
18740
+ */
18741
+ recaptcha_v2?: AttackProtectionUpdateCaptchaRecaptchaV2;
18742
+ /**
18743
+ */
18744
+ simple_captcha?: AttackProtectionCaptchaSimpleCaptchaResponseContent;
18745
+ }
18746
+ /**
18747
+ *
18748
+ */
18749
+ export interface UpdateAttackProtectionCaptchaResponseContent {
18750
+ [key: string]: any | any;
18751
+ /**
18752
+ */
18753
+ active_provider_id?: string;
18754
+ /**
18755
+ */
18756
+ arkose?: AttackProtectionCaptchaArkoseResponseContent;
18757
+ /**
18758
+ */
18759
+ auth_challenge?: AttackProtectionCaptchaAuthChallengeResponseContent;
18760
+ /**
18761
+ */
18762
+ hcaptcha?: AttackProtectionCaptchaHcaptchaResponseContent;
18763
+ /**
18764
+ */
18765
+ friendly_captcha?: AttackProtectionCaptchaFriendlyCaptchaResponseContent;
18766
+ /**
18767
+ */
18768
+ recaptcha_enterprise?: AttackProtectionCaptchaRecaptchaEnterpriseResponseContent;
18769
+ /**
18770
+ */
18771
+ recaptcha_v2?: AttackProtectionCaptchaRecaptchaV2ResponseContent;
18772
+ /**
18773
+ */
18774
+ simple_captcha?: AttackProtectionCaptchaSimpleCaptchaResponseContent;
18775
+ }
18776
+ /**
18777
+ *
18778
+ */
18779
+ export interface UpdateBotDetectionSettingsRequestContent {
18780
+ /**
18781
+ */
18782
+ bot_detection_level?: BotDetectionLevelEnum;
18783
+ /**
18784
+ */
18785
+ challenge_password_policy?: BotDetectionChallengePolicyPasswordFlowEnum;
18786
+ /**
18787
+ */
18788
+ challenge_passwordless_policy?: BotDetectionChallengePolicyPasswordlessFlowEnum;
18789
+ /**
18790
+ */
18791
+ challenge_password_reset_policy?: BotDetectionChallengePolicyPasswordResetFlowEnum;
18792
+ /**
18793
+ */
18794
+ allowlist?: BotDetectionAllowlist;
18795
+ /**
18796
+ * Whether monitoring mode is enabled (logs but does not block)
18797
+ *
18798
+ */
18799
+ monitoring_mode_enabled?: boolean;
18800
+ }
18801
+ /**
18802
+ *
18803
+ */
18804
+ export interface UpdateBotDetectionSettingsResponseContent {
18805
+ /**
18806
+ */
18807
+ bot_detection_level?: BotDetectionLevelEnum;
18808
+ /**
18809
+ */
18810
+ challenge_password_policy?: BotDetectionChallengePolicyPasswordFlowEnum;
18811
+ /**
18812
+ */
18813
+ challenge_passwordless_policy?: BotDetectionChallengePolicyPasswordlessFlowEnum;
18814
+ /**
18815
+ */
18816
+ challenge_password_reset_policy?: BotDetectionChallengePolicyPasswordResetFlowEnum;
18817
+ /**
18818
+ */
18819
+ allowlist?: BotDetectionAllowlist;
18820
+ /**
18821
+ * Whether monitoring mode is enabled (logs but does not block)
18822
+ *
18823
+ */
18824
+ monitoring_mode_enabled?: boolean;
18825
+ }
18826
+ /**
18827
+ *
18828
+ */
18829
+ export interface UpdateCaptchaRequestContent {
18830
+ /**
18831
+ */
18832
+ siteKey?: string;
18833
+ /**
18834
+ */
18835
+ secret?: string;
18836
+ /**
18837
+ */
18838
+ apiKey?: string;
18839
+ /**
18840
+ */
18841
+ projectId?: string;
18842
+ }
18843
+ /**
18844
+ *
18845
+ */
18846
+ export interface UpdateCaptchaResponseContent {
18847
+ /**
18848
+ */
18849
+ policy?: CaptchaEnforcementPolicyEnum;
18850
+ /**
18851
+ */
18852
+ passwordless_policy?: CaptchaEnforcementPolicyEnum;
18853
+ /**
18854
+ */
18855
+ password_reset_policy?: CaptchaEnforcementPolicyEnum;
18856
+ /**
18857
+ */
18858
+ selected?: CaptchaProviderEnum;
18859
+ /**
18860
+ */
18861
+ providers?: CaptchaProvidersConfig;
18862
+ /**
18863
+ * List of trusted IP addresses that will not have attack protection enforced against them.
18864
+ *
18865
+ */
18866
+ allowlist?: Array<AnomalyAllowlistFormat>;
18867
+ }
18868
+ /**
18869
+ *
18870
+ */
18871
+ export interface UpdateOrganizationDiscoveryDomainRequestContent {
18872
+ /**
18873
+ */
18874
+ status?: OrganizationDiscoveryDomainStatus;
18875
+ }
18876
+ /**
18877
+ *
18878
+ */
18879
+ export interface UpdateOrganizationDiscoveryDomainResponseContent {
18880
+ /**
18881
+ * Organization discovery domain identifier.
18882
+ *
18883
+ */
18884
+ id: string;
18885
+ /**
18886
+ * The domain name to associate with the organization e.g. acme.com.
18887
+ *
18888
+ */
18889
+ domain: string;
18890
+ /**
18891
+ */
18892
+ status: OrganizationDiscoveryDomainStatus;
18893
+ /**
18894
+ * A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership.
18895
+ *
18896
+ */
18897
+ verification_txt: string;
18898
+ /**
18899
+ * The full domain where the TXT record should be added.
18900
+ *
18901
+ */
18902
+ verification_host: string;
18903
+ }
17970
18904
  /**
17971
18905
  *
17972
18906
  */
@@ -20904,6 +21838,21 @@ export interface DeleteClientGrantsByGrantIdRequest {
20904
21838
  */
20905
21839
  grant_id: string;
20906
21840
  }
21841
+ /**
21842
+ *
21843
+ */
21844
+ export interface DeleteDiscoveryDomainsByDiscoveryDomainIdRequest {
21845
+ /**
21846
+ * ID of the organization.
21847
+ *
21848
+ */
21849
+ id: string;
21850
+ /**
21851
+ * ID of the discovery domain.
21852
+ *
21853
+ */
21854
+ discovery_domain_id: string;
21855
+ }
20907
21856
  /**
20908
21857
  *
20909
21858
  */
@@ -20969,6 +21918,41 @@ export interface DeleteOrganizationsByIdRequest {
20969
21918
  */
20970
21919
  id: string;
20971
21920
  }
21921
+ /**
21922
+ *
21923
+ */
21924
+ export interface GetDiscoveryDomainsRequest {
21925
+ /**
21926
+ * ID of the organization.
21927
+ *
21928
+ */
21929
+ id: string;
21930
+ /**
21931
+ * Optional Id from which to start selection.
21932
+ *
21933
+ */
21934
+ from?: string;
21935
+ /**
21936
+ * Number of results per page. Defaults to 50.
21937
+ *
21938
+ */
21939
+ take?: number;
21940
+ }
21941
+ /**
21942
+ *
21943
+ */
21944
+ export interface GetDiscoveryDomainsByDiscoveryDomainIdRequest {
21945
+ /**
21946
+ * ID of the organization.
21947
+ *
21948
+ */
21949
+ id: string;
21950
+ /**
21951
+ * ID of the discovery domain.
21952
+ *
21953
+ */
21954
+ discovery_domain_id: string;
21955
+ }
20972
21956
  /**
20973
21957
  *
20974
21958
  */
@@ -21244,6 +22228,21 @@ export interface GetOrganizationsByIdRequest {
21244
22228
  */
21245
22229
  id: string;
21246
22230
  }
22231
+ /**
22232
+ *
22233
+ */
22234
+ export interface PatchDiscoveryDomainsByDiscoveryDomainIdRequest {
22235
+ /**
22236
+ * ID of the organization.
22237
+ *
22238
+ */
22239
+ id: string;
22240
+ /**
22241
+ * ID of the discovery domain to update.
22242
+ *
22243
+ */
22244
+ discovery_domain_id: string;
22245
+ }
21247
22246
  /**
21248
22247
  *
21249
22248
  */
@@ -21269,6 +22268,16 @@ export interface PatchOrganizationsByIdOperationRequest {
21269
22268
  */
21270
22269
  id: string;
21271
22270
  }
22271
+ /**
22272
+ *
22273
+ */
22274
+ export interface PostDiscoveryDomainsRequest {
22275
+ /**
22276
+ * ID of the organization.
22277
+ *
22278
+ */
22279
+ id: string;
22280
+ }
21272
22281
  /**
21273
22282
  *
21274
22283
  */