auth0 4.34.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.
- package/dist/cjs/management/__generated/managers/attack-protection-manager.d.ts +29 -1
- package/dist/cjs/management/__generated/managers/attack-protection-manager.js +60 -0
- package/dist/cjs/management/__generated/managers/attack-protection-manager.js.map +1 -1
- package/dist/cjs/management/__generated/models/index.d.ts +611 -0
- package/dist/cjs/management/__generated/models/index.js +79 -7
- package/dist/cjs/management/__generated/models/index.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/management/__generated/managers/attack-protection-manager.d.ts +29 -1
- package/dist/esm/management/__generated/managers/attack-protection-manager.js +60 -0
- package/dist/esm/management/__generated/managers/attack-protection-manager.js.map +1 -1
- package/dist/esm/management/__generated/models/index.d.ts +611 -0
- package/dist/esm/management/__generated/models/index.js +71 -0
- package/dist/esm/management/__generated/models/index.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attack-protection-manager.js","sourceRoot":"","sources":["../../../../../src/management/__generated/managers/attack-protection-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"attack-protection-manager.js","sourceRoot":"","sources":["../../../../../src/management/__generated/managers/attack-protection-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AAiBnD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;AAE5B;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,OAAO;IAClD;;;;;OAKG;IACH,KAAK,CAAC,qBAAqB,CACzB,aAA4B;QAE5B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,kCAAkC;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C;IAED;;;;;OAKG;IACH,KAAK,CAAC,mBAAmB,CACvB,cAA2C,EAC3C,aAA4B;QAE5B,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,4BAA4B;YAClC,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,cAAc;SACrB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,kCAAkC,CACtC,cAAkD,EAClD,aAA4B;QAE5B,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,6CAA6C;YACnD,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,cAAc;SACrB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;CACF"}
|
|
@@ -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
|
*/
|
|
@@ -297,6 +640,11 @@ export interface Client {
|
|
|
297
640
|
*
|
|
298
641
|
*/
|
|
299
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>;
|
|
300
648
|
}
|
|
301
649
|
export declare const ClientAppTypeEnum: {
|
|
302
650
|
readonly native: "native";
|
|
@@ -1247,6 +1595,11 @@ export interface ClientCreate {
|
|
|
1247
1595
|
*
|
|
1248
1596
|
*/
|
|
1249
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>;
|
|
1250
1603
|
}
|
|
1251
1604
|
export declare const ClientCreateTokenEndpointAuthMethodEnum: {
|
|
1252
1605
|
readonly none: "none";
|
|
@@ -2809,6 +3162,11 @@ export interface ClientUpdate {
|
|
|
2809
3162
|
*
|
|
2810
3163
|
*/
|
|
2811
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>;
|
|
2812
3170
|
}
|
|
2813
3171
|
export declare const ClientUpdateTokenEndpointAuthMethodEnum: {
|
|
2814
3172
|
readonly none: "none";
|
|
@@ -4847,6 +5205,17 @@ export declare const FactorNameEnum: {
|
|
|
4847
5205
|
readonly recovery_code: "recovery-code";
|
|
4848
5206
|
};
|
|
4849
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
|
+
}
|
|
4850
5219
|
/**
|
|
4851
5220
|
*
|
|
4852
5221
|
*/
|
|
@@ -5476,6 +5845,36 @@ export interface GetApns200Response {
|
|
|
5476
5845
|
*/
|
|
5477
5846
|
enabled: boolean;
|
|
5478
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
|
+
}
|
|
5479
5878
|
/**
|
|
5480
5879
|
*
|
|
5481
5880
|
*/
|
|
@@ -5689,6 +6088,31 @@ export interface GetBindings200ResponseBindingsInner {
|
|
|
5689
6088
|
*/
|
|
5690
6089
|
updated_at: string;
|
|
5691
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
|
+
}
|
|
5692
6116
|
/**
|
|
5693
6117
|
*
|
|
5694
6118
|
*/
|
|
@@ -9876,6 +10300,17 @@ export type GetUsers200ResponseOneOfInnerLastLogin = string | {
|
|
|
9876
10300
|
export type GetUsers200ResponseOneOfInnerUpdatedAt = string | {
|
|
9877
10301
|
[key: string]: any;
|
|
9878
10302
|
};
|
|
10303
|
+
/**
|
|
10304
|
+
*
|
|
10305
|
+
*/
|
|
10306
|
+
export interface HcaptchaCaptchaConfig {
|
|
10307
|
+
/**
|
|
10308
|
+
*/
|
|
10309
|
+
siteKey?: string;
|
|
10310
|
+
/**
|
|
10311
|
+
*/
|
|
10312
|
+
secret?: string;
|
|
10313
|
+
}
|
|
9879
10314
|
/**
|
|
9880
10315
|
*
|
|
9881
10316
|
*/
|
|
@@ -16278,6 +16713,31 @@ export interface PutUniversalLoginRequestOneOf {
|
|
|
16278
16713
|
*/
|
|
16279
16714
|
template: string;
|
|
16280
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
|
+
}
|
|
16281
16741
|
/**
|
|
16282
16742
|
*
|
|
16283
16743
|
*/
|
|
@@ -18254,6 +18714,157 @@ export interface TwilioFactorProvider {
|
|
|
18254
18714
|
*/
|
|
18255
18715
|
sid: string | null;
|
|
18256
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
|
+
}
|
|
18257
18868
|
/**
|
|
18258
18869
|
*
|
|
18259
18870
|
*/
|