@authhero/adapter-interfaces 4.19.0 → 4.20.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/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +44 -3
- package/dist/adapter-interfaces.mjs +644 -614
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/PromptPartials.d.ts +9 -0
- package/dist/types/adapters/index.d.ts +4 -0
- package/dist/types/types/Forms.d.ts +9 -0
- package/dist/types/types/PromptPartials.d.ts +22 -0
- package/dist/types/types/ProxyRoute.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -33,23 +33,23 @@ var t = e.object({
|
|
|
33
33
|
name: e.string(),
|
|
34
34
|
value: e.string().optional()
|
|
35
35
|
})).optional()
|
|
36
|
-
}).extend(t.shape), ee = e.object({ name: e.string() }), te = s.extend({ secrets: e.array(ee).optional() }),
|
|
36
|
+
}).extend(t.shape), ee = e.object({ name: e.string() }), te = s.extend({ secrets: e.array(ee).optional() }), c = e.string(), l = e.enum([
|
|
37
37
|
"unspecified",
|
|
38
38
|
"pending",
|
|
39
39
|
"final",
|
|
40
40
|
"partial",
|
|
41
41
|
"canceled",
|
|
42
42
|
"suspended"
|
|
43
|
-
]),
|
|
43
|
+
]), ne = e.object({
|
|
44
44
|
id: e.string(),
|
|
45
45
|
msg: e.string(),
|
|
46
46
|
url: e.string().optional()
|
|
47
|
-
}),
|
|
47
|
+
}), re = e.object({
|
|
48
48
|
action_name: e.string(),
|
|
49
|
-
error:
|
|
49
|
+
error: ne.nullable(),
|
|
50
50
|
started_at: e.string(),
|
|
51
51
|
ended_at: e.string()
|
|
52
|
-
}),
|
|
52
|
+
}), ie = e.object({
|
|
53
53
|
level: e.enum([
|
|
54
54
|
"log",
|
|
55
55
|
"info",
|
|
@@ -58,23 +58,23 @@ var t = e.object({
|
|
|
58
58
|
"debug"
|
|
59
59
|
]),
|
|
60
60
|
message: e.string()
|
|
61
|
-
}),
|
|
61
|
+
}), ae = e.array(e.object({
|
|
62
62
|
action_name: e.string(),
|
|
63
|
-
lines: e.array(
|
|
64
|
-
})),
|
|
63
|
+
lines: e.array(ie)
|
|
64
|
+
})), oe = e.object({
|
|
65
65
|
id: e.string(),
|
|
66
66
|
tenant_id: e.string(),
|
|
67
|
-
trigger_id:
|
|
68
|
-
status:
|
|
69
|
-
results: e.array(
|
|
70
|
-
logs:
|
|
67
|
+
trigger_id: c,
|
|
68
|
+
status: l,
|
|
69
|
+
results: e.array(re),
|
|
70
|
+
logs: ae.optional(),
|
|
71
71
|
created_at: e.string(),
|
|
72
72
|
updated_at: e.string()
|
|
73
|
-
}),
|
|
73
|
+
}), se = oe.omit({
|
|
74
74
|
tenant_id: !0,
|
|
75
75
|
created_at: !0,
|
|
76
76
|
updated_at: !0
|
|
77
|
-
}),
|
|
77
|
+
}), ce = e.object({
|
|
78
78
|
action_id: e.string(),
|
|
79
79
|
code: e.string().max(1e5),
|
|
80
80
|
runtime: e.string().max(50).optional(),
|
|
@@ -82,16 +82,16 @@ var t = e.object({
|
|
|
82
82
|
secrets: e.array(i).optional(),
|
|
83
83
|
supported_triggers: e.array(n).optional(),
|
|
84
84
|
deployed: e.boolean().default(!0)
|
|
85
|
-
}),
|
|
85
|
+
}), le = ce.extend({
|
|
86
86
|
id: e.string(),
|
|
87
87
|
tenant_id: e.string(),
|
|
88
88
|
number: e.number().int()
|
|
89
|
-
}).extend(t.shape),
|
|
89
|
+
}).extend(t.shape), ue = e.enum([
|
|
90
90
|
"user_action",
|
|
91
91
|
"admin_action",
|
|
92
92
|
"system",
|
|
93
93
|
"api"
|
|
94
|
-
]),
|
|
94
|
+
]), de = e.object({
|
|
95
95
|
type: e.enum([
|
|
96
96
|
"user",
|
|
97
97
|
"admin",
|
|
@@ -105,7 +105,7 @@ var t = e.object({
|
|
|
105
105
|
org_name: e.string().optional(),
|
|
106
106
|
scopes: e.array(e.string()).optional(),
|
|
107
107
|
client_id: e.string().optional()
|
|
108
|
-
}),
|
|
108
|
+
}), fe = e.object({
|
|
109
109
|
type: e.string(),
|
|
110
110
|
id: e.string(),
|
|
111
111
|
before: e.record(e.string(), e.unknown()).optional(),
|
|
@@ -114,7 +114,7 @@ var t = e.object({
|
|
|
114
114
|
old: e.unknown(),
|
|
115
115
|
new: e.unknown()
|
|
116
116
|
})).optional()
|
|
117
|
-
}),
|
|
117
|
+
}), pe = e.object({
|
|
118
118
|
method: e.string(),
|
|
119
119
|
path: e.string(),
|
|
120
120
|
query: e.record(e.string(), e.string()).optional(),
|
|
@@ -124,30 +124,30 @@ var t = e.object({
|
|
|
124
124
|
correlation_id: e.string().optional(),
|
|
125
125
|
redirect_uri: e.string().optional(),
|
|
126
126
|
authorization_url: e.string().optional()
|
|
127
|
-
}),
|
|
127
|
+
}), me = e.object({
|
|
128
128
|
status_code: e.number(),
|
|
129
129
|
body: e.unknown().optional()
|
|
130
|
-
}),
|
|
130
|
+
}), he = e.object({
|
|
131
131
|
country_code: e.string(),
|
|
132
132
|
city_name: e.string(),
|
|
133
133
|
latitude: e.string(),
|
|
134
134
|
longitude: e.string(),
|
|
135
135
|
time_zone: e.string(),
|
|
136
136
|
continent_code: e.string()
|
|
137
|
-
}),
|
|
137
|
+
}), ge = e.object({
|
|
138
138
|
name: e.string(),
|
|
139
139
|
version: e.string(),
|
|
140
140
|
env: e.record(e.string(), e.string()).optional()
|
|
141
|
-
}),
|
|
141
|
+
}), _e = e.object({
|
|
142
142
|
tenant_id: e.string(),
|
|
143
143
|
event_type: e.string(),
|
|
144
144
|
log_type: e.string(),
|
|
145
145
|
description: e.string().optional(),
|
|
146
|
-
category:
|
|
147
|
-
actor:
|
|
148
|
-
target:
|
|
149
|
-
request:
|
|
150
|
-
response:
|
|
146
|
+
category: ue,
|
|
147
|
+
actor: de,
|
|
148
|
+
target: fe,
|
|
149
|
+
request: pe,
|
|
150
|
+
response: me.optional(),
|
|
151
151
|
connection: e.string().optional(),
|
|
152
152
|
connection_id: e.string().optional(),
|
|
153
153
|
client_name: e.string().optional(),
|
|
@@ -155,30 +155,30 @@ var t = e.object({
|
|
|
155
155
|
strategy_type: e.string().optional(),
|
|
156
156
|
audience: e.string().optional(),
|
|
157
157
|
scope: e.string().optional(),
|
|
158
|
-
location:
|
|
159
|
-
auth0_client:
|
|
158
|
+
location: he.optional(),
|
|
159
|
+
auth0_client: ge.optional(),
|
|
160
160
|
hostname: e.string(),
|
|
161
161
|
is_mobile: e.boolean().optional(),
|
|
162
162
|
execution_id: e.string().optional(),
|
|
163
163
|
timestamp: e.string()
|
|
164
|
-
}),
|
|
164
|
+
}), ve = _e.extend({ id: e.string() }), ye = e.enum([
|
|
165
165
|
"AUTH0",
|
|
166
166
|
"EMAIL",
|
|
167
167
|
"REDIRECT"
|
|
168
|
-
]),
|
|
168
|
+
]), be = e.enum([
|
|
169
169
|
"CREATE_USER",
|
|
170
170
|
"GET_USER",
|
|
171
171
|
"UPDATE_USER",
|
|
172
172
|
"SEND_REQUEST",
|
|
173
173
|
"SEND_EMAIL"
|
|
174
|
-
]),
|
|
174
|
+
]), xe = e.enum(["VERIFY_EMAIL"]), Se = e.object({
|
|
175
175
|
require_mx_record: e.boolean().optional(),
|
|
176
176
|
block_aliases: e.boolean().optional(),
|
|
177
177
|
block_free_emails: e.boolean().optional(),
|
|
178
178
|
block_disposable_emails: e.boolean().optional(),
|
|
179
179
|
blocklist: e.array(e.string()).optional(),
|
|
180
180
|
allowlist: e.array(e.string()).optional()
|
|
181
|
-
}),
|
|
181
|
+
}), Ce = e.object({
|
|
182
182
|
id: e.string(),
|
|
183
183
|
alias: e.string().max(100).optional(),
|
|
184
184
|
type: e.literal("AUTH0"),
|
|
@@ -190,7 +190,7 @@ var t = e.object({
|
|
|
190
190
|
user_id: e.string(),
|
|
191
191
|
changes: e.record(e.string(), e.any())
|
|
192
192
|
})
|
|
193
|
-
}),
|
|
193
|
+
}), we = e.object({
|
|
194
194
|
id: e.string(),
|
|
195
195
|
alias: e.string().max(100).optional(),
|
|
196
196
|
type: e.literal("EMAIL"),
|
|
@@ -199,13 +199,13 @@ var t = e.object({
|
|
|
199
199
|
mask_output: e.boolean().optional(),
|
|
200
200
|
params: e.object({
|
|
201
201
|
email: e.string(),
|
|
202
|
-
rules:
|
|
202
|
+
rules: Se.optional()
|
|
203
203
|
})
|
|
204
|
-
}),
|
|
204
|
+
}), Te = e.enum([
|
|
205
205
|
"change-email",
|
|
206
206
|
"account",
|
|
207
207
|
"custom"
|
|
208
|
-
]),
|
|
208
|
+
]), Ee = e.object({
|
|
209
209
|
id: e.string(),
|
|
210
210
|
alias: e.string().max(100).optional(),
|
|
211
211
|
type: e.literal("REDIRECT"),
|
|
@@ -213,32 +213,32 @@ var t = e.object({
|
|
|
213
213
|
allow_failure: e.boolean().optional(),
|
|
214
214
|
mask_output: e.boolean().optional(),
|
|
215
215
|
params: e.object({
|
|
216
|
-
target:
|
|
216
|
+
target: Te.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
|
|
217
217
|
custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
|
|
218
218
|
})
|
|
219
|
-
}),
|
|
219
|
+
}), De = e.union([
|
|
220
|
+
Ce,
|
|
220
221
|
we,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
]), ke = e.object({
|
|
222
|
+
Ee
|
|
223
|
+
]), Oe = e.object({
|
|
224
224
|
name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
|
|
225
|
-
actions: e.array(
|
|
226
|
-
}),
|
|
225
|
+
actions: e.array(De).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
|
|
226
|
+
}), ke = Oe.extend(t.shape).extend({ id: e.string().openapi({
|
|
227
227
|
description: "Unique identifier for the flow",
|
|
228
228
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
229
|
-
}) }),
|
|
229
|
+
}) }), Ae = e.object({
|
|
230
230
|
page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
|
|
231
231
|
per_page: e.string().min(1).optional().default("50").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page. Defaults to 50." }),
|
|
232
232
|
include_totals: e.string().optional().default("false").transform((e) => e === "true").openapi({ description: "If the total number of items should be included in the response" }),
|
|
233
233
|
sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
|
|
234
234
|
q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
|
|
235
|
-
}),
|
|
235
|
+
}), je = e.object({
|
|
236
236
|
start: e.number(),
|
|
237
237
|
limit: e.number(),
|
|
238
238
|
length: e.number(),
|
|
239
239
|
total: e.number().optional(),
|
|
240
240
|
next: e.string().optional()
|
|
241
|
-
}),
|
|
241
|
+
}), u = e.object({
|
|
242
242
|
email: e.string().optional(),
|
|
243
243
|
email_verified: e.boolean().optional(),
|
|
244
244
|
name: e.string().optional(),
|
|
@@ -247,7 +247,7 @@ var t = e.object({
|
|
|
247
247
|
phone_number: e.string().optional(),
|
|
248
248
|
phone_verified: e.boolean().optional(),
|
|
249
249
|
family_name: e.string().optional()
|
|
250
|
-
}).catchall(e.any()),
|
|
250
|
+
}).catchall(e.any()), Me = e.object({
|
|
251
251
|
connection: e.string(),
|
|
252
252
|
user_id: e.string(),
|
|
253
253
|
provider: e.string(),
|
|
@@ -260,15 +260,15 @@ var t = e.object({
|
|
|
260
260
|
access_token: e.string().optional(),
|
|
261
261
|
access_token_secret: e.string().optional(),
|
|
262
262
|
refresh_token: e.string().optional(),
|
|
263
|
-
profileData:
|
|
264
|
-
}),
|
|
263
|
+
profileData: u.optional()
|
|
264
|
+
}), d = e.object({
|
|
265
265
|
formatted: e.string().optional(),
|
|
266
266
|
street_address: e.string().optional(),
|
|
267
267
|
locality: e.string().optional(),
|
|
268
268
|
region: e.string().optional(),
|
|
269
269
|
postal_code: e.string().optional(),
|
|
270
270
|
country: e.string().optional()
|
|
271
|
-
}).optional(),
|
|
271
|
+
}).optional(), f = e.object({
|
|
272
272
|
email: e.string().transform((e) => e.toLowerCase()).optional(),
|
|
273
273
|
username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
|
|
274
274
|
phone_number: e.string().optional(),
|
|
@@ -291,8 +291,8 @@ var t = e.object({
|
|
|
291
291
|
gender: e.string().optional(),
|
|
292
292
|
birthdate: e.string().optional(),
|
|
293
293
|
zoneinfo: e.string().optional(),
|
|
294
|
-
address:
|
|
295
|
-
}),
|
|
294
|
+
address: d
|
|
295
|
+
}), p = f.extend({
|
|
296
296
|
email_verified: e.boolean().default(!1),
|
|
297
297
|
verify_email: e.boolean().optional(),
|
|
298
298
|
last_ip: e.string().optional(),
|
|
@@ -307,29 +307,29 @@ var t = e.object({
|
|
|
307
307
|
hash: e.string(),
|
|
308
308
|
algorithm: e.string()
|
|
309
309
|
}).optional()
|
|
310
|
-
}),
|
|
310
|
+
}), m = p.omit({ password: !0 }).extend(t.shape).extend({
|
|
311
311
|
user_id: e.string(),
|
|
312
312
|
provider: e.string(),
|
|
313
313
|
is_social: e.boolean(),
|
|
314
314
|
email: e.string().optional(),
|
|
315
315
|
login_count: e.number().default(0),
|
|
316
|
-
identities: e.array(
|
|
317
|
-
}),
|
|
316
|
+
identities: e.array(Me).optional()
|
|
317
|
+
}), Ne = m.omit({ registration_completed_at: !0 }), Pe = f.extend({
|
|
318
318
|
login_count: e.number(),
|
|
319
319
|
multifactor: e.array(e.string()).optional(),
|
|
320
320
|
last_ip: e.string().optional(),
|
|
321
321
|
last_login: e.string().optional(),
|
|
322
322
|
user_id: e.string()
|
|
323
|
-
}).catchall(e.any()),
|
|
323
|
+
}).catchall(e.any()), Fe = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ie = (e = 21) => {
|
|
324
324
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
325
|
-
for (; e--;) t +=
|
|
325
|
+
for (; e--;) t += Fe[n[e] & 63];
|
|
326
326
|
return t;
|
|
327
|
-
},
|
|
327
|
+
}, h = e.object({
|
|
328
328
|
client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
|
|
329
329
|
name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
|
|
330
330
|
description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
|
|
331
331
|
global: e.boolean().default(!1).openapi({ description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)." }),
|
|
332
|
-
client_secret: e.string().default(() =>
|
|
332
|
+
client_secret: e.string().default(() => Ie()).optional().openapi({ description: "Client secret (which you must not make public)." }),
|
|
333
333
|
app_type: e.enum([
|
|
334
334
|
"native",
|
|
335
335
|
"spa",
|
|
@@ -443,10 +443,10 @@ var t = e.object({
|
|
|
443
443
|
registration_metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Arbitrary metadata captured at Dynamic Client Registration time that isn't a first-class client field (e.g. integration_type, domain). Also stores `iat_constraints` for clients created via IAT so RFC 7592 PUT can enforce field immutability." }),
|
|
444
444
|
token_exchange: e.object({ allow_any_profile_of_type: e.array(e.literal("custom_authentication")).optional() }).optional().openapi({ description: "Custom Token Exchange settings. Set `allow_any_profile_of_type` to `[\"custom_authentication\"]` to let this client exchange subject tokens through the tenant's token exchange profiles." }),
|
|
445
445
|
user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({ description: "Per-client override for the built-in email-based user-linking path. `builtin` runs the legacy in-process linking at user creation/email update. `off` disables the legacy path; linking only happens if the tenant has enabled the `account-linking` template hook. When unset, the service-level `userLinkingMode` default applies." })
|
|
446
|
-
}),
|
|
446
|
+
}), Le = e.object({
|
|
447
447
|
created_at: e.string(),
|
|
448
448
|
updated_at: e.string()
|
|
449
|
-
}).extend(
|
|
449
|
+
}).extend(h.shape).extend({ client_id: e.string() }), g = e.object({
|
|
450
450
|
client_id: e.string().min(1).openapi({ description: "ID of the client." }),
|
|
451
451
|
audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
|
|
452
452
|
scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
|
|
@@ -459,38 +459,38 @@ var t = e.object({
|
|
|
459
459
|
is_system: e.boolean().optional().openapi({ description: "If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly." }),
|
|
460
460
|
subject_type: e.enum(["client", "user"]).optional().openapi({ description: "The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." }),
|
|
461
461
|
authorization_details_types: e.array(e.string()).optional().openapi({ description: "Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." })
|
|
462
|
-
}),
|
|
462
|
+
}), _ = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(g.shape).extend({
|
|
463
463
|
created_at: e.string().optional(),
|
|
464
464
|
updated_at: e.string().optional()
|
|
465
|
-
}),
|
|
465
|
+
}), Re = e.array(_), v = e.enum(["iat", "rat"]), y = e.object({
|
|
466
466
|
id: e.string(),
|
|
467
467
|
token_hash: e.string(),
|
|
468
|
-
type:
|
|
468
|
+
type: v,
|
|
469
469
|
client_id: e.string().optional(),
|
|
470
470
|
sub: e.string().optional(),
|
|
471
471
|
constraints: e.record(e.string(), e.unknown()).optional(),
|
|
472
472
|
single_use: e.boolean().default(!1),
|
|
473
473
|
expires_at: e.string().optional()
|
|
474
|
-
}),
|
|
474
|
+
}), ze = e.object({
|
|
475
475
|
created_at: e.string(),
|
|
476
476
|
used_at: e.string().optional(),
|
|
477
477
|
revoked_at: e.string().optional()
|
|
478
|
-
}).extend(
|
|
478
|
+
}).extend(y.shape), b = e.object({
|
|
479
479
|
x: e.number(),
|
|
480
480
|
y: e.number()
|
|
481
|
-
}),
|
|
481
|
+
}), x = /* @__PURE__ */ function(e) {
|
|
482
482
|
return e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e;
|
|
483
|
-
}({}),
|
|
483
|
+
}({}), S = /* @__PURE__ */ function(e) {
|
|
484
484
|
return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
|
|
485
|
-
}({}),
|
|
485
|
+
}({}), C = e.object({
|
|
486
486
|
id: e.string(),
|
|
487
|
-
category: e.nativeEnum(
|
|
488
|
-
type: e.nativeEnum(
|
|
489
|
-
}),
|
|
487
|
+
category: e.nativeEnum(S),
|
|
488
|
+
type: e.nativeEnum(x)
|
|
489
|
+
}), Be = C.extend({
|
|
490
490
|
category: e.literal("BLOCK"),
|
|
491
491
|
type: e.literal("RICH_TEXT"),
|
|
492
492
|
config: e.object({ content: e.string() }).passthrough()
|
|
493
|
-
}),
|
|
493
|
+
}), Ve = C.extend({
|
|
494
494
|
category: e.literal("BLOCK"),
|
|
495
495
|
type: e.union([
|
|
496
496
|
e.literal("NEXT_BUTTON"),
|
|
@@ -498,13 +498,13 @@ var t = e.object({
|
|
|
498
498
|
e.literal("SUBMIT_BUTTON")
|
|
499
499
|
]),
|
|
500
500
|
config: e.object({ text: e.string() }).passthrough()
|
|
501
|
-
}),
|
|
501
|
+
}), He = C.extend({
|
|
502
502
|
category: e.literal("FIELD"),
|
|
503
503
|
type: e.literal("LEGAL"),
|
|
504
504
|
required: e.boolean().optional(),
|
|
505
505
|
sensitive: e.boolean().optional(),
|
|
506
506
|
config: e.object({ text: e.string() }).passthrough()
|
|
507
|
-
}),
|
|
507
|
+
}), Ue = C.extend({
|
|
508
508
|
category: e.literal("FIELD"),
|
|
509
509
|
type: e.union([
|
|
510
510
|
e.literal("TEXT"),
|
|
@@ -524,40 +524,40 @@ var t = e.object({
|
|
|
524
524
|
label: e.string().optional(),
|
|
525
525
|
placeholder: e.string().optional()
|
|
526
526
|
}).passthrough()
|
|
527
|
-
}),
|
|
527
|
+
}), We = e.object({
|
|
528
528
|
id: e.string(),
|
|
529
529
|
category: e.string(),
|
|
530
530
|
type: e.string()
|
|
531
|
-
}).passthrough(),
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
]),
|
|
531
|
+
}).passthrough(), Ge = e.union([
|
|
532
|
+
Be,
|
|
533
|
+
Ve,
|
|
534
|
+
He,
|
|
535
|
+
Ue,
|
|
536
|
+
We
|
|
537
|
+
]), Ke = /* @__PURE__ */ function(e) {
|
|
538
538
|
return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
|
|
539
|
-
}({}),
|
|
539
|
+
}({}), qe = e.object({
|
|
540
540
|
id: e.string(),
|
|
541
541
|
type: e.literal("STEP"),
|
|
542
|
-
coordinates:
|
|
542
|
+
coordinates: b,
|
|
543
543
|
alias: e.string().optional(),
|
|
544
544
|
config: e.object({
|
|
545
|
-
components: e.array(
|
|
545
|
+
components: e.array(Ge),
|
|
546
546
|
next_node: e.string()
|
|
547
547
|
}).passthrough()
|
|
548
|
-
}),
|
|
548
|
+
}), Je = e.object({
|
|
549
549
|
id: e.string(),
|
|
550
550
|
type: e.literal("FLOW"),
|
|
551
|
-
coordinates:
|
|
551
|
+
coordinates: b,
|
|
552
552
|
alias: e.string().optional(),
|
|
553
553
|
config: e.object({
|
|
554
554
|
flow_id: e.string(),
|
|
555
555
|
next_node: e.string()
|
|
556
556
|
})
|
|
557
|
-
}),
|
|
557
|
+
}), Ye = e.object({
|
|
558
558
|
id: e.string(),
|
|
559
559
|
type: e.literal("ACTION"),
|
|
560
|
-
coordinates:
|
|
560
|
+
coordinates: b,
|
|
561
561
|
alias: e.string().optional(),
|
|
562
562
|
config: e.object({
|
|
563
563
|
action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
|
|
@@ -569,56 +569,56 @@ var t = e.object({
|
|
|
569
569
|
custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
|
|
570
570
|
next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
|
|
571
571
|
}).passthrough()
|
|
572
|
-
}),
|
|
572
|
+
}), Xe = e.object({
|
|
573
573
|
id: e.string(),
|
|
574
574
|
type: e.string(),
|
|
575
|
-
coordinates:
|
|
576
|
-
}).passthrough(),
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
]),
|
|
575
|
+
coordinates: b
|
|
576
|
+
}).passthrough(), Ze = e.union([
|
|
577
|
+
qe,
|
|
578
|
+
Je,
|
|
579
|
+
Ye,
|
|
580
|
+
Xe
|
|
581
|
+
]), Qe = e.object({
|
|
582
582
|
next_node: e.string(),
|
|
583
|
-
coordinates:
|
|
584
|
-
}).passthrough(),
|
|
583
|
+
coordinates: b
|
|
584
|
+
}).passthrough(), $e = e.object({
|
|
585
585
|
resume_flow: e.boolean().optional(),
|
|
586
|
-
coordinates:
|
|
587
|
-
}).passthrough(),
|
|
586
|
+
coordinates: b
|
|
587
|
+
}).passthrough(), et = e.object({
|
|
588
588
|
id: e.string(),
|
|
589
589
|
name: e.string(),
|
|
590
590
|
languages: e.object({ primary: e.string() }).passthrough(),
|
|
591
|
-
nodes: e.array(
|
|
592
|
-
start:
|
|
593
|
-
ending:
|
|
591
|
+
nodes: e.array(Ze),
|
|
592
|
+
start: Qe,
|
|
593
|
+
ending: $e,
|
|
594
594
|
created_at: e.string(),
|
|
595
595
|
updated_at: e.string(),
|
|
596
596
|
links: e.object({
|
|
597
597
|
sdkSrc: e.string().optional(),
|
|
598
598
|
sdk_src: e.string().optional()
|
|
599
599
|
}).passthrough()
|
|
600
|
-
}).passthrough(),
|
|
600
|
+
}).passthrough(), tt = et.omit({
|
|
601
601
|
id: !0,
|
|
602
602
|
created_at: !0,
|
|
603
603
|
updated_at: !0
|
|
604
|
-
}),
|
|
604
|
+
}), w = /* @__PURE__ */ function(e) {
|
|
605
605
|
return e.TOKEN = "token", e.ID_TOKEN = "id_token", e.TOKEN_ID_TOKEN = "id_token token", e.CODE = "code", e.CODE_ID_TOKEN = "code id_token", e.CODE_TOKEN = "code token", e.CODE_ID_TOKEN_TOKEN = "code id_token token", e;
|
|
606
|
-
}({}),
|
|
606
|
+
}({}), T = /* @__PURE__ */ function(e) {
|
|
607
607
|
return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
|
|
608
|
-
}({}),
|
|
608
|
+
}({}), nt = /* @__PURE__ */ function(e) {
|
|
609
609
|
return e.S256 = "S256", e.Plain = "plain", e;
|
|
610
|
-
}({}),
|
|
610
|
+
}({}), rt = e.union([e.null(), e.object({
|
|
611
611
|
essential: e.boolean().optional(),
|
|
612
612
|
value: e.unknown().optional(),
|
|
613
613
|
values: e.array(e.unknown()).optional()
|
|
614
|
-
})]).nullable(),
|
|
615
|
-
userinfo: e.record(e.string(),
|
|
616
|
-
id_token: e.record(e.string(),
|
|
617
|
-
}),
|
|
614
|
+
})]).nullable(), it = e.object({
|
|
615
|
+
userinfo: e.record(e.string(), rt).optional(),
|
|
616
|
+
id_token: e.record(e.string(), rt).optional()
|
|
617
|
+
}), at = e.object({
|
|
618
618
|
client_id: e.string(),
|
|
619
619
|
act_as: e.string().optional(),
|
|
620
|
-
response_type: e.nativeEnum(
|
|
621
|
-
response_mode: e.nativeEnum(
|
|
620
|
+
response_type: e.nativeEnum(w).optional(),
|
|
621
|
+
response_mode: e.nativeEnum(T).optional(),
|
|
622
622
|
redirect_uri: e.string().optional(),
|
|
623
623
|
audience: e.string().optional(),
|
|
624
624
|
organization: e.string().optional(),
|
|
@@ -626,15 +626,15 @@ var t = e.object({
|
|
|
626
626
|
nonce: e.string().optional(),
|
|
627
627
|
scope: e.string().optional(),
|
|
628
628
|
prompt: e.string().optional(),
|
|
629
|
-
code_challenge_method: e.nativeEnum(
|
|
629
|
+
code_challenge_method: e.nativeEnum(nt).optional(),
|
|
630
630
|
code_challenge: e.string().optional(),
|
|
631
631
|
username: e.string().optional(),
|
|
632
632
|
ui_locales: e.string().optional(),
|
|
633
633
|
max_age: e.number().optional(),
|
|
634
634
|
acr_values: e.string().optional(),
|
|
635
|
-
claims:
|
|
635
|
+
claims: it.optional(),
|
|
636
636
|
vendor_id: e.string().optional()
|
|
637
|
-
}),
|
|
637
|
+
}), ot = e.object({
|
|
638
638
|
colors: e.object({
|
|
639
639
|
primary: e.string(),
|
|
640
640
|
page_background: e.union([e.string(), e.object({
|
|
@@ -653,7 +653,7 @@ var t = e.object({
|
|
|
653
653
|
"light",
|
|
654
654
|
"auto"
|
|
655
655
|
]).optional()
|
|
656
|
-
}),
|
|
656
|
+
}), st = e.enum([
|
|
657
657
|
"password_reset",
|
|
658
658
|
"email_verification",
|
|
659
659
|
"otp",
|
|
@@ -663,11 +663,11 @@ var t = e.object({
|
|
|
663
663
|
"ticket",
|
|
664
664
|
"client_assertion_jti",
|
|
665
665
|
"subject_token_jti"
|
|
666
|
-
]),
|
|
666
|
+
]), ct = e.object({
|
|
667
667
|
code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
|
|
668
668
|
login_id: e.string().optional().openapi({ description: "The id of the login session that the code is connected to" }),
|
|
669
669
|
connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
|
|
670
|
-
code_type:
|
|
670
|
+
code_type: st,
|
|
671
671
|
code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
|
|
672
672
|
code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
|
|
673
673
|
code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
|
|
@@ -678,7 +678,7 @@ var t = e.object({
|
|
|
678
678
|
expires_at: e.string(),
|
|
679
679
|
used_at: e.string().optional(),
|
|
680
680
|
user_id: e.string().optional()
|
|
681
|
-
}),
|
|
681
|
+
}), lt = ct.extend({ created_at: e.string() }), ut = e.object({
|
|
682
682
|
kid: e.string().optional(),
|
|
683
683
|
team_id: e.string().optional(),
|
|
684
684
|
realms: e.string().optional(),
|
|
@@ -798,35 +798,35 @@ var t = e.object({
|
|
|
798
798
|
"never_on_login"
|
|
799
799
|
]).optional()
|
|
800
800
|
});
|
|
801
|
-
function
|
|
801
|
+
function E(e) {
|
|
802
802
|
if (e !== null) {
|
|
803
|
-
if (Array.isArray(e)) return e.filter((e) => e !== null).map(
|
|
803
|
+
if (Array.isArray(e)) return e.filter((e) => e !== null).map(E);
|
|
804
804
|
if (e && typeof e == "object") {
|
|
805
805
|
let t = {};
|
|
806
|
-
for (let [n, r] of Object.entries(e)) r !== null && (t[n] =
|
|
806
|
+
for (let [n, r] of Object.entries(e)) r !== null && (t[n] = E(r));
|
|
807
807
|
return t;
|
|
808
808
|
}
|
|
809
809
|
return e;
|
|
810
810
|
}
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var dt = e.object({
|
|
813
813
|
id: e.string().optional(),
|
|
814
814
|
name: e.string(),
|
|
815
815
|
display_name: e.string().optional(),
|
|
816
816
|
strategy: e.string(),
|
|
817
|
-
options: e.preprocess((e) => e === null ? {} :
|
|
817
|
+
options: e.preprocess((e) => e === null ? {} : E(e), ut).default({}),
|
|
818
818
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
819
|
-
response_type: e.nativeEnum(
|
|
820
|
-
response_mode: e.nativeEnum(
|
|
819
|
+
response_type: e.nativeEnum(w).optional(),
|
|
820
|
+
response_mode: e.nativeEnum(T).optional(),
|
|
821
821
|
is_domain_connection: e.boolean().optional(),
|
|
822
822
|
show_as_button: e.boolean().optional(),
|
|
823
823
|
metadata: e.record(e.string(), e.any()).optional(),
|
|
824
824
|
is_system: e.boolean().optional()
|
|
825
|
-
}),
|
|
825
|
+
}), ft = e.object({
|
|
826
826
|
id: e.string(),
|
|
827
827
|
created_at: e.string().transform((e) => e === null ? "" : e),
|
|
828
828
|
updated_at: e.string().transform((e) => e === null ? "" : e)
|
|
829
|
-
}).extend(
|
|
829
|
+
}).extend(dt.shape), D = e.object({
|
|
830
830
|
domain: e.string(),
|
|
831
831
|
custom_domain_id: e.string().optional(),
|
|
832
832
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -840,7 +840,7 @@ var ft = e.object({
|
|
|
840
840
|
"null"
|
|
841
841
|
]).optional(),
|
|
842
842
|
domain_metadata: e.record(e.string(), e.string().max(255)).optional()
|
|
843
|
-
}),
|
|
843
|
+
}), pt = e.discriminatedUnion("name", [e.object({
|
|
844
844
|
name: e.literal("txt"),
|
|
845
845
|
record: e.string(),
|
|
846
846
|
domain: e.string()
|
|
@@ -848,7 +848,7 @@ var ft = e.object({
|
|
|
848
848
|
name: e.literal("http"),
|
|
849
849
|
http_body: e.string(),
|
|
850
850
|
http_url: e.string()
|
|
851
|
-
})]),
|
|
851
|
+
})]), mt = D.extend({
|
|
852
852
|
custom_domain_id: e.string(),
|
|
853
853
|
primary: e.boolean(),
|
|
854
854
|
status: e.enum([
|
|
@@ -858,26 +858,26 @@ var ft = e.object({
|
|
|
858
858
|
"ready"
|
|
859
859
|
]),
|
|
860
860
|
origin_domain_name: e.string().optional(),
|
|
861
|
-
verification: e.object({ methods: e.array(
|
|
861
|
+
verification: e.object({ methods: e.array(pt) }).optional(),
|
|
862
862
|
tls_policy: e.string().optional()
|
|
863
|
-
}),
|
|
863
|
+
}), ht = D.pick({
|
|
864
864
|
tls_policy: !0,
|
|
865
865
|
custom_client_ip_header: !0,
|
|
866
866
|
domain_metadata: !0
|
|
867
|
-
}).strict(),
|
|
867
|
+
}).strict(), gt = mt.extend({ tenant_id: e.string() }), _t = e.object({
|
|
868
868
|
certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
|
|
869
869
|
private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
|
|
870
|
-
}),
|
|
870
|
+
}), O = e.object({
|
|
871
871
|
id: e.string(),
|
|
872
872
|
order: e.number().optional(),
|
|
873
873
|
visible: e.boolean().optional().default(!0)
|
|
874
|
-
}),
|
|
874
|
+
}), k = O.extend({ category: e.literal("BLOCK").optional() }), vt = k.extend({
|
|
875
875
|
type: e.literal("DIVIDER"),
|
|
876
876
|
config: e.object({ text: e.string().optional() }).optional()
|
|
877
|
-
}),
|
|
877
|
+
}), yt = k.extend({
|
|
878
878
|
type: e.literal("HTML"),
|
|
879
879
|
config: e.object({ content: e.string().optional() }).optional()
|
|
880
|
-
}),
|
|
880
|
+
}), bt = k.extend({
|
|
881
881
|
type: e.literal("IMAGE"),
|
|
882
882
|
config: e.object({
|
|
883
883
|
src: e.string().optional(),
|
|
@@ -885,47 +885,47 @@ var ft = e.object({
|
|
|
885
885
|
width: e.number().optional(),
|
|
886
886
|
height: e.number().optional()
|
|
887
887
|
}).optional()
|
|
888
|
-
}),
|
|
888
|
+
}), xt = k.extend({
|
|
889
889
|
type: e.literal("JUMP_BUTTON"),
|
|
890
890
|
config: e.object({
|
|
891
891
|
text: e.string().optional(),
|
|
892
892
|
target_step: e.string().optional()
|
|
893
893
|
})
|
|
894
|
-
}),
|
|
894
|
+
}), St = k.extend({
|
|
895
895
|
type: e.literal("RESEND_BUTTON"),
|
|
896
896
|
config: e.object({
|
|
897
897
|
text: e.string().optional(),
|
|
898
898
|
resend_action: e.string().optional()
|
|
899
899
|
})
|
|
900
|
-
}),
|
|
900
|
+
}), Ct = k.extend({
|
|
901
901
|
type: e.literal("NEXT_BUTTON"),
|
|
902
902
|
config: e.object({
|
|
903
903
|
text: e.string().optional(),
|
|
904
904
|
variant: e.enum(["primary", "secondary"]).optional(),
|
|
905
905
|
skip_validation: e.boolean().optional()
|
|
906
906
|
})
|
|
907
|
-
}),
|
|
907
|
+
}), wt = k.extend({
|
|
908
908
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
909
909
|
config: e.object({ text: e.string().optional() })
|
|
910
|
-
}),
|
|
910
|
+
}), Tt = k.extend({
|
|
911
911
|
type: e.literal("RICH_TEXT"),
|
|
912
912
|
config: e.object({ content: e.string().optional() }).optional()
|
|
913
|
-
}),
|
|
913
|
+
}), A = O.extend({
|
|
914
914
|
category: e.literal("WIDGET").optional(),
|
|
915
915
|
label: e.string().min(1).optional(),
|
|
916
916
|
hint: e.string().min(1).max(500).optional(),
|
|
917
917
|
required: e.boolean().optional(),
|
|
918
918
|
sensitive: e.boolean().optional()
|
|
919
|
-
}),
|
|
919
|
+
}), Et = A.extend({
|
|
920
920
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
921
921
|
config: e.object({ credential_type: e.string().optional() })
|
|
922
|
-
}),
|
|
922
|
+
}), Dt = A.extend({
|
|
923
923
|
type: e.literal("GMAPS_ADDRESS"),
|
|
924
924
|
config: e.object({ api_key: e.string().optional() })
|
|
925
|
-
}),
|
|
925
|
+
}), Ot = A.extend({
|
|
926
926
|
type: e.literal("RECAPTCHA"),
|
|
927
927
|
config: e.object({ site_key: e.string().optional() })
|
|
928
|
-
}),
|
|
928
|
+
}), j = O.extend({
|
|
929
929
|
category: e.literal("FIELD").optional(),
|
|
930
930
|
label: e.string().min(1).optional(),
|
|
931
931
|
hint: e.string().min(1).max(500).optional(),
|
|
@@ -941,10 +941,10 @@ var ft = e.object({
|
|
|
941
941
|
})).optional(),
|
|
942
942
|
required: e.boolean().optional(),
|
|
943
943
|
sensitive: e.boolean().optional()
|
|
944
|
-
}),
|
|
944
|
+
}), kt = j.extend({
|
|
945
945
|
type: e.literal("BOOLEAN"),
|
|
946
946
|
config: e.object({ default_value: e.boolean().optional() }).optional()
|
|
947
|
-
}),
|
|
947
|
+
}), At = j.extend({
|
|
948
948
|
type: e.literal("CARDS"),
|
|
949
949
|
config: e.object({
|
|
950
950
|
options: e.array(e.object({
|
|
@@ -955,7 +955,7 @@ var ft = e.object({
|
|
|
955
955
|
})).optional(),
|
|
956
956
|
multi_select: e.boolean().optional()
|
|
957
957
|
}).optional()
|
|
958
|
-
}),
|
|
958
|
+
}), jt = j.extend({
|
|
959
959
|
type: e.literal("CHOICE"),
|
|
960
960
|
config: e.object({
|
|
961
961
|
options: e.array(e.object({
|
|
@@ -966,7 +966,7 @@ var ft = e.object({
|
|
|
966
966
|
multiple: e.boolean().optional(),
|
|
967
967
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
968
968
|
}).optional()
|
|
969
|
-
}),
|
|
969
|
+
}), Mt = j.extend({
|
|
970
970
|
type: e.literal("CODE"),
|
|
971
971
|
config: e.object({
|
|
972
972
|
length: e.number().int().positive().max(100).optional(),
|
|
@@ -983,7 +983,7 @@ var ft = e.object({
|
|
|
983
983
|
message: "default_value is longer than the configured length",
|
|
984
984
|
path: ["default_value"]
|
|
985
985
|
}).optional()
|
|
986
|
-
}),
|
|
986
|
+
}), Nt = j.extend({
|
|
987
987
|
type: e.literal("CUSTOM"),
|
|
988
988
|
config: e.object({
|
|
989
989
|
component: e.string().optional(),
|
|
@@ -991,7 +991,7 @@ var ft = e.object({
|
|
|
991
991
|
schema: e.record(e.string(), e.any()).optional(),
|
|
992
992
|
code: e.string().optional()
|
|
993
993
|
})
|
|
994
|
-
}),
|
|
994
|
+
}), Pt = j.extend({
|
|
995
995
|
type: e.literal("DATE"),
|
|
996
996
|
config: e.object({
|
|
997
997
|
format: e.string().optional(),
|
|
@@ -999,7 +999,7 @@ var ft = e.object({
|
|
|
999
999
|
max: e.string().optional(),
|
|
1000
1000
|
default_value: e.string().optional()
|
|
1001
1001
|
}).optional()
|
|
1002
|
-
}),
|
|
1002
|
+
}), Ft = j.extend({
|
|
1003
1003
|
type: e.literal("DROPDOWN"),
|
|
1004
1004
|
config: e.object({
|
|
1005
1005
|
options: e.array(e.object({
|
|
@@ -1011,7 +1011,7 @@ var ft = e.object({
|
|
|
1011
1011
|
multiple: e.boolean().optional(),
|
|
1012
1012
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
1013
1013
|
}).optional()
|
|
1014
|
-
}),
|
|
1014
|
+
}), It = j.extend({
|
|
1015
1015
|
type: e.literal("EMAIL"),
|
|
1016
1016
|
config: e.object({
|
|
1017
1017
|
placeholder: e.string().optional(),
|
|
@@ -1019,20 +1019,20 @@ var ft = e.object({
|
|
|
1019
1019
|
last_used: e.boolean().optional(),
|
|
1020
1020
|
last_used_label: e.string().optional()
|
|
1021
1021
|
}).optional()
|
|
1022
|
-
}),
|
|
1022
|
+
}), Lt = j.extend({
|
|
1023
1023
|
type: e.literal("FILE"),
|
|
1024
1024
|
config: e.object({
|
|
1025
1025
|
accept: e.string().optional(),
|
|
1026
1026
|
max_size: e.number().optional(),
|
|
1027
1027
|
multiple: e.boolean().optional()
|
|
1028
1028
|
}).optional()
|
|
1029
|
-
}),
|
|
1029
|
+
}), Rt = j.extend({
|
|
1030
1030
|
type: e.literal("LEGAL"),
|
|
1031
1031
|
config: e.object({
|
|
1032
1032
|
text: e.string(),
|
|
1033
1033
|
html: e.boolean().optional()
|
|
1034
1034
|
}).optional()
|
|
1035
|
-
}),
|
|
1035
|
+
}), zt = j.extend({
|
|
1036
1036
|
type: e.literal("NUMBER"),
|
|
1037
1037
|
config: e.object({
|
|
1038
1038
|
placeholder: e.string().optional(),
|
|
@@ -1041,7 +1041,7 @@ var ft = e.object({
|
|
|
1041
1041
|
step: e.number().optional(),
|
|
1042
1042
|
default_value: e.string().optional()
|
|
1043
1043
|
}).optional()
|
|
1044
|
-
}),
|
|
1044
|
+
}), Bt = j.extend({
|
|
1045
1045
|
type: e.literal("PASSWORD"),
|
|
1046
1046
|
config: e.object({
|
|
1047
1047
|
placeholder: e.string().optional(),
|
|
@@ -1050,13 +1050,13 @@ var ft = e.object({
|
|
|
1050
1050
|
forgot_password_link: e.string().optional(),
|
|
1051
1051
|
default_value: e.string().optional()
|
|
1052
1052
|
}).optional()
|
|
1053
|
-
}),
|
|
1053
|
+
}), Vt = j.extend({
|
|
1054
1054
|
type: e.literal("PAYMENT"),
|
|
1055
1055
|
config: e.object({
|
|
1056
1056
|
provider: e.string().optional(),
|
|
1057
1057
|
currency: e.string().optional()
|
|
1058
1058
|
}).optional()
|
|
1059
|
-
}),
|
|
1059
|
+
}), Ht = j.extend({
|
|
1060
1060
|
type: e.literal("SOCIAL"),
|
|
1061
1061
|
config: e.object({
|
|
1062
1062
|
providers: e.array(e.string()).optional(),
|
|
@@ -1071,7 +1071,7 @@ var ft = e.object({
|
|
|
1071
1071
|
last_used_label: e.string().optional()
|
|
1072
1072
|
})).optional()
|
|
1073
1073
|
}).optional()
|
|
1074
|
-
}),
|
|
1074
|
+
}), Ut = j.extend({
|
|
1075
1075
|
type: e.literal("TEL"),
|
|
1076
1076
|
config: e.object({
|
|
1077
1077
|
placeholder: e.string().optional(),
|
|
@@ -1079,7 +1079,7 @@ var ft = e.object({
|
|
|
1079
1079
|
default_value: e.string().optional(),
|
|
1080
1080
|
allow_email: e.boolean().optional()
|
|
1081
1081
|
}).optional()
|
|
1082
|
-
}),
|
|
1082
|
+
}), Wt = j.extend({
|
|
1083
1083
|
type: e.literal("TEXT"),
|
|
1084
1084
|
config: e.object({
|
|
1085
1085
|
placeholder: e.string().optional(),
|
|
@@ -1089,37 +1089,38 @@ var ft = e.object({
|
|
|
1089
1089
|
last_used: e.boolean().optional(),
|
|
1090
1090
|
last_used_label: e.string().optional()
|
|
1091
1091
|
}).optional()
|
|
1092
|
-
}),
|
|
1092
|
+
}), Gt = j.extend({
|
|
1093
1093
|
type: e.literal("COUNTRY"),
|
|
1094
1094
|
config: e.object({
|
|
1095
1095
|
placeholder: e.string().optional(),
|
|
1096
1096
|
default_value: e.string().optional()
|
|
1097
1097
|
}).optional()
|
|
1098
|
-
}),
|
|
1098
|
+
}), Kt = j.extend({
|
|
1099
1099
|
type: e.literal("URL"),
|
|
1100
1100
|
config: e.object({
|
|
1101
1101
|
placeholder: e.string().optional(),
|
|
1102
1102
|
default_value: e.string().optional()
|
|
1103
1103
|
}).optional()
|
|
1104
|
-
}),
|
|
1104
|
+
}), qt = e.discriminatedUnion("type", [
|
|
1105
|
+
vt,
|
|
1105
1106
|
yt,
|
|
1106
1107
|
bt,
|
|
1107
1108
|
xt,
|
|
1108
1109
|
St,
|
|
1109
1110
|
Ct,
|
|
1110
1111
|
wt,
|
|
1111
|
-
Tt
|
|
1112
|
-
|
|
1113
|
-
|
|
1112
|
+
Tt
|
|
1113
|
+
]), Jt = e.discriminatedUnion("type", [
|
|
1114
|
+
Et,
|
|
1114
1115
|
Dt,
|
|
1115
|
-
Ot
|
|
1116
|
-
|
|
1117
|
-
|
|
1116
|
+
Ot
|
|
1117
|
+
]), Yt = e.discriminatedUnion("type", [
|
|
1118
|
+
kt,
|
|
1118
1119
|
At,
|
|
1119
1120
|
jt,
|
|
1120
1121
|
Mt,
|
|
1122
|
+
Gt,
|
|
1121
1123
|
Nt,
|
|
1122
|
-
Kt,
|
|
1123
1124
|
Pt,
|
|
1124
1125
|
Ft,
|
|
1125
1126
|
It,
|
|
@@ -1131,13 +1132,12 @@ var ft = e.object({
|
|
|
1131
1132
|
Ht,
|
|
1132
1133
|
Ut,
|
|
1133
1134
|
Wt,
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1135
|
+
Kt
|
|
1136
|
+
]), M = e.union([
|
|
1137
|
+
qt,
|
|
1137
1138
|
Jt,
|
|
1138
|
-
Yt
|
|
1139
|
-
|
|
1140
|
-
]), Zt = new Set([
|
|
1139
|
+
Yt
|
|
1140
|
+
]), Xt = new Set([
|
|
1141
1141
|
"BOOLEAN",
|
|
1142
1142
|
"CARDS",
|
|
1143
1143
|
"CHOICE",
|
|
@@ -1152,7 +1152,7 @@ var ft = e.object({
|
|
|
1152
1152
|
"TEL",
|
|
1153
1153
|
"TEXT",
|
|
1154
1154
|
"URL"
|
|
1155
|
-
]),
|
|
1155
|
+
]), Zt = e.object({
|
|
1156
1156
|
id: e.string(),
|
|
1157
1157
|
type: e.literal("submit"),
|
|
1158
1158
|
label: e.string(),
|
|
@@ -1161,22 +1161,22 @@ var ft = e.object({
|
|
|
1161
1161
|
order: e.number().optional(),
|
|
1162
1162
|
visible: e.boolean().optional().default(!0),
|
|
1163
1163
|
customizations: e.record(e.string(), e.any()).optional()
|
|
1164
|
-
}),
|
|
1164
|
+
}), N = e.object({
|
|
1165
1165
|
x: e.number(),
|
|
1166
1166
|
y: e.number()
|
|
1167
|
-
}),
|
|
1167
|
+
}), Qt = e.object({
|
|
1168
1168
|
id: e.string(),
|
|
1169
1169
|
type: e.literal("FLOW"),
|
|
1170
|
-
coordinates:
|
|
1170
|
+
coordinates: N,
|
|
1171
1171
|
alias: e.string().min(1).max(150).optional(),
|
|
1172
1172
|
config: e.object({
|
|
1173
1173
|
flow_id: e.string().max(30),
|
|
1174
1174
|
next_node: e.string().optional()
|
|
1175
1175
|
})
|
|
1176
|
-
}),
|
|
1176
|
+
}), $t = e.object({
|
|
1177
1177
|
id: e.string(),
|
|
1178
1178
|
type: e.literal("ROUTER"),
|
|
1179
|
-
coordinates:
|
|
1179
|
+
coordinates: N,
|
|
1180
1180
|
alias: e.string().min(1).max(150),
|
|
1181
1181
|
config: e.object({
|
|
1182
1182
|
rules: e.array(e.object({
|
|
@@ -1187,20 +1187,20 @@ var ft = e.object({
|
|
|
1187
1187
|
})),
|
|
1188
1188
|
fallback: e.string()
|
|
1189
1189
|
})
|
|
1190
|
-
}),
|
|
1190
|
+
}), en = e.object({
|
|
1191
1191
|
id: e.string(),
|
|
1192
1192
|
type: e.literal("STEP"),
|
|
1193
|
-
coordinates:
|
|
1193
|
+
coordinates: N,
|
|
1194
1194
|
alias: e.string().min(1).max(150).optional(),
|
|
1195
1195
|
config: e.object({
|
|
1196
|
-
components: e.array(
|
|
1196
|
+
components: e.array(M),
|
|
1197
1197
|
next_node: e.string().optional()
|
|
1198
1198
|
})
|
|
1199
|
-
}),
|
|
1199
|
+
}), tn = e.discriminatedUnion("type", [
|
|
1200
|
+
Qt,
|
|
1200
1201
|
$t,
|
|
1201
|
-
en
|
|
1202
|
-
|
|
1203
|
-
]), rn = e.object({
|
|
1202
|
+
en
|
|
1203
|
+
]), nn = e.object({
|
|
1204
1204
|
name: e.string().openapi({ description: "The name of the form" }),
|
|
1205
1205
|
messages: e.object({
|
|
1206
1206
|
errors: e.record(e.string(), e.any()).optional(),
|
|
@@ -1211,14 +1211,14 @@ var ft = e.object({
|
|
|
1211
1211
|
default: e.string().optional()
|
|
1212
1212
|
}).optional(),
|
|
1213
1213
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1214
|
-
nodes: e.array(
|
|
1214
|
+
nodes: e.array(tn).optional(),
|
|
1215
1215
|
start: e.object({
|
|
1216
1216
|
hidden_fields: e.array(e.object({
|
|
1217
1217
|
key: e.string(),
|
|
1218
1218
|
value: e.string()
|
|
1219
1219
|
})).optional(),
|
|
1220
1220
|
next_node: e.string().optional(),
|
|
1221
|
-
coordinates:
|
|
1221
|
+
coordinates: N.optional()
|
|
1222
1222
|
}).optional(),
|
|
1223
1223
|
ending: e.object({
|
|
1224
1224
|
redirection: e.object({
|
|
@@ -1226,7 +1226,7 @@ var ft = e.object({
|
|
|
1226
1226
|
target: e.string().optional()
|
|
1227
1227
|
}).optional(),
|
|
1228
1228
|
after_submit: e.object({ flow_id: e.string().optional() }).optional(),
|
|
1229
|
-
coordinates:
|
|
1229
|
+
coordinates: N.optional(),
|
|
1230
1230
|
resume_flow: e.boolean().optional()
|
|
1231
1231
|
}).optional(),
|
|
1232
1232
|
style: e.object({ css: e.string().optional() }).optional(),
|
|
@@ -1234,7 +1234,7 @@ var ft = e.object({
|
|
|
1234
1234
|
sdkSrc: e.string().optional(),
|
|
1235
1235
|
sdk_src: e.string().optional()
|
|
1236
1236
|
}).optional()
|
|
1237
|
-
}).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }),
|
|
1237
|
+
}).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), rn = t.extend(nn.shape).extend({ id: e.string() }), an = e.object({
|
|
1238
1238
|
id: e.number().optional(),
|
|
1239
1239
|
text: e.string(),
|
|
1240
1240
|
type: e.enum([
|
|
@@ -1243,20 +1243,28 @@ var ft = e.object({
|
|
|
1243
1243
|
"success",
|
|
1244
1244
|
"warning"
|
|
1245
1245
|
])
|
|
1246
|
-
}),
|
|
1246
|
+
}), on = e.object({
|
|
1247
1247
|
id: e.string().optional(),
|
|
1248
1248
|
text: e.string(),
|
|
1249
1249
|
href: e.string(),
|
|
1250
1250
|
linkText: e.string().optional()
|
|
1251
|
-
}),
|
|
1251
|
+
}), sn = e.object({
|
|
1252
|
+
"form-content-start": e.string().optional(),
|
|
1253
|
+
"form-content-end": e.string().optional(),
|
|
1254
|
+
"form-footer-start": e.string().optional(),
|
|
1255
|
+
"form-footer-end": e.string().optional(),
|
|
1256
|
+
"secondary-actions-start": e.string().optional(),
|
|
1257
|
+
"secondary-actions-end": e.string().optional()
|
|
1258
|
+
}).strict(), cn = e.object({
|
|
1252
1259
|
name: e.string().optional(),
|
|
1253
1260
|
action: e.string(),
|
|
1254
1261
|
method: e.enum(["POST", "GET"]),
|
|
1255
1262
|
title: e.string().optional(),
|
|
1256
1263
|
description: e.string().optional(),
|
|
1257
|
-
components: e.array(
|
|
1258
|
-
messages: e.array(
|
|
1259
|
-
links: e.array(
|
|
1264
|
+
components: e.array(M),
|
|
1265
|
+
messages: e.array(an).optional(),
|
|
1266
|
+
links: e.array(on).optional(),
|
|
1267
|
+
partials: sn.optional(),
|
|
1260
1268
|
footer: e.string().optional()
|
|
1261
1269
|
});
|
|
1262
1270
|
function ln(e) {
|
|
@@ -1270,7 +1278,7 @@ function dn(e) {
|
|
|
1270
1278
|
}
|
|
1271
1279
|
//#endregion
|
|
1272
1280
|
//#region src/types/Hook.ts
|
|
1273
|
-
var
|
|
1281
|
+
var P = e.enum([
|
|
1274
1282
|
"pre-user-registration",
|
|
1275
1283
|
"post-user-registration",
|
|
1276
1284
|
"post-user-login",
|
|
@@ -1278,36 +1286,36 @@ var N = e.enum([
|
|
|
1278
1286
|
"validate-registration-username",
|
|
1279
1287
|
"pre-user-deletion",
|
|
1280
1288
|
"post-user-deletion"
|
|
1281
|
-
]),
|
|
1289
|
+
]), F = e.enum(["post-user-login"]), I = e.enum([
|
|
1282
1290
|
"post-user-login",
|
|
1283
1291
|
"post-user-registration",
|
|
1284
1292
|
"post-user-update",
|
|
1285
1293
|
"credentials-exchange"
|
|
1286
|
-
]),
|
|
1294
|
+
]), L = e.enum([
|
|
1287
1295
|
"post-user-login",
|
|
1288
1296
|
"credentials-exchange",
|
|
1289
1297
|
"pre-user-registration",
|
|
1290
1298
|
"post-user-registration"
|
|
1291
|
-
]),
|
|
1299
|
+
]), R = e.enum(["post-user-login"]), fn = [
|
|
1292
1300
|
{
|
|
1293
1301
|
field: "url",
|
|
1294
|
-
triggers:
|
|
1302
|
+
triggers: P.options
|
|
1295
1303
|
},
|
|
1296
1304
|
{
|
|
1297
1305
|
field: "form_id",
|
|
1298
|
-
triggers:
|
|
1306
|
+
triggers: F.options
|
|
1299
1307
|
},
|
|
1300
1308
|
{
|
|
1301
1309
|
field: "template_id",
|
|
1302
|
-
triggers:
|
|
1310
|
+
triggers: I.options
|
|
1303
1311
|
},
|
|
1304
1312
|
{
|
|
1305
1313
|
field: "code_id",
|
|
1306
|
-
triggers:
|
|
1314
|
+
triggers: L.options
|
|
1307
1315
|
},
|
|
1308
1316
|
{
|
|
1309
1317
|
field: "page_id",
|
|
1310
|
-
triggers:
|
|
1318
|
+
triggers: R.options
|
|
1311
1319
|
}
|
|
1312
1320
|
];
|
|
1313
1321
|
function pn(e) {
|
|
@@ -1315,7 +1323,7 @@ function pn(e) {
|
|
|
1315
1323
|
for (let t of fn) if (typeof Reflect.get(e, t.field) == "string") return t.triggers;
|
|
1316
1324
|
}
|
|
1317
1325
|
}
|
|
1318
|
-
var
|
|
1326
|
+
var z = e.enum(["impersonate"]), B = e.enum([
|
|
1319
1327
|
"ensure-username",
|
|
1320
1328
|
"set-preferred-username",
|
|
1321
1329
|
"account-linking"
|
|
@@ -1339,32 +1347,32 @@ var R = e.enum(["impersonate"]), z = e.enum([
|
|
|
1339
1347
|
"post-user-update"
|
|
1340
1348
|
]
|
|
1341
1349
|
}
|
|
1342
|
-
},
|
|
1350
|
+
}, V = {
|
|
1343
1351
|
enabled: e.boolean().default(!1),
|
|
1344
1352
|
synchronous: e.boolean().default(!1),
|
|
1345
1353
|
priority: e.number().optional(),
|
|
1346
1354
|
hook_id: e.string().optional(),
|
|
1347
1355
|
metadata: e.record(e.string(), e.unknown()).optional()
|
|
1348
1356
|
}, hn = e.object({
|
|
1349
|
-
...
|
|
1350
|
-
trigger_id:
|
|
1357
|
+
...V,
|
|
1358
|
+
trigger_id: P,
|
|
1351
1359
|
url: e.string()
|
|
1352
1360
|
}), gn = e.object({
|
|
1353
|
-
...
|
|
1354
|
-
trigger_id:
|
|
1361
|
+
...V,
|
|
1362
|
+
trigger_id: F,
|
|
1355
1363
|
form_id: e.string()
|
|
1356
1364
|
}), _n = e.object({
|
|
1357
|
-
...
|
|
1358
|
-
trigger_id: F,
|
|
1359
|
-
template_id: z
|
|
1360
|
-
}), vn = e.object({
|
|
1361
|
-
...B,
|
|
1365
|
+
...V,
|
|
1362
1366
|
trigger_id: I,
|
|
1367
|
+
template_id: B
|
|
1368
|
+
}), vn = e.object({
|
|
1369
|
+
...V,
|
|
1370
|
+
trigger_id: L,
|
|
1363
1371
|
code_id: e.string()
|
|
1364
1372
|
}), yn = e.object({
|
|
1365
|
-
...
|
|
1366
|
-
trigger_id:
|
|
1367
|
-
page_id:
|
|
1373
|
+
...V,
|
|
1374
|
+
trigger_id: R,
|
|
1375
|
+
page_id: z,
|
|
1368
1376
|
permission_required: e.string().optional()
|
|
1369
1377
|
}), bn = e.union([
|
|
1370
1378
|
hn,
|
|
@@ -1373,35 +1381,35 @@ var R = e.enum(["impersonate"]), z = e.enum([
|
|
|
1373
1381
|
vn,
|
|
1374
1382
|
yn
|
|
1375
1383
|
]), xn = e.object({
|
|
1376
|
-
...
|
|
1377
|
-
trigger_id:
|
|
1384
|
+
...V,
|
|
1385
|
+
trigger_id: P
|
|
1378
1386
|
}).extend(t.shape).extend({
|
|
1379
1387
|
hook_id: e.string(),
|
|
1380
1388
|
url: e.string()
|
|
1381
1389
|
}), Sn = e.object({
|
|
1382
|
-
...
|
|
1383
|
-
trigger_id:
|
|
1390
|
+
...V,
|
|
1391
|
+
trigger_id: F
|
|
1384
1392
|
}).extend(t.shape).extend({
|
|
1385
1393
|
hook_id: e.string(),
|
|
1386
1394
|
form_id: e.string()
|
|
1387
1395
|
}), Cn = e.object({
|
|
1388
|
-
...
|
|
1389
|
-
trigger_id:
|
|
1396
|
+
...V,
|
|
1397
|
+
trigger_id: I
|
|
1390
1398
|
}).extend(t.shape).extend({
|
|
1391
1399
|
hook_id: e.string(),
|
|
1392
|
-
template_id:
|
|
1400
|
+
template_id: B
|
|
1393
1401
|
}), wn = e.object({
|
|
1394
|
-
...
|
|
1395
|
-
trigger_id:
|
|
1402
|
+
...V,
|
|
1403
|
+
trigger_id: L
|
|
1396
1404
|
}).extend(t.shape).extend({
|
|
1397
1405
|
hook_id: e.string(),
|
|
1398
1406
|
code_id: e.string()
|
|
1399
1407
|
}), Tn = e.object({
|
|
1400
|
-
...
|
|
1401
|
-
trigger_id:
|
|
1408
|
+
...V,
|
|
1409
|
+
trigger_id: R
|
|
1402
1410
|
}).extend(t.shape).extend({
|
|
1403
1411
|
hook_id: e.string(),
|
|
1404
|
-
page_id:
|
|
1412
|
+
page_id: z,
|
|
1405
1413
|
permission_required: e.string().optional()
|
|
1406
1414
|
}), En = e.union([
|
|
1407
1415
|
xn,
|
|
@@ -1504,13 +1512,13 @@ var R = e.enum(["impersonate"]), z = e.enum([
|
|
|
1504
1512
|
backchannel_logout_session_supported: e.boolean().optional()
|
|
1505
1513
|
}), In = /* @__PURE__ */ function(e) {
|
|
1506
1514
|
return e.PENDING = "pending", e.AUTHENTICATED = "authenticated", e.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", e.AWAITING_MFA = "awaiting_mfa", e.AWAITING_HOOK = "awaiting_hook", e.AWAITING_CONTINUATION = "awaiting_continuation", e.AWAITING_CONSENT = "awaiting_consent", e.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
|
|
1507
|
-
}({}), Ln = e.nativeEnum(In),
|
|
1515
|
+
}({}), Ln = e.nativeEnum(In), H = e.object({
|
|
1508
1516
|
strategy: e.string(),
|
|
1509
1517
|
strategy_type: e.string()
|
|
1510
1518
|
}), Rn = e.object({
|
|
1511
1519
|
csrf_token: e.string(),
|
|
1512
1520
|
auth0Client: e.string().optional(),
|
|
1513
|
-
authParams:
|
|
1521
|
+
authParams: at,
|
|
1514
1522
|
expires_at: e.string(),
|
|
1515
1523
|
deleted_at: e.string().optional(),
|
|
1516
1524
|
ip: e.string().optional(),
|
|
@@ -1522,13 +1530,13 @@ var R = e.enum(["impersonate"]), z = e.enum([
|
|
|
1522
1530
|
failure_reason: e.string().optional(),
|
|
1523
1531
|
user_id: e.string().optional(),
|
|
1524
1532
|
auth_connection: e.string().optional(),
|
|
1525
|
-
auth_strategy:
|
|
1533
|
+
auth_strategy: H.optional(),
|
|
1526
1534
|
authenticated_at: e.string().optional()
|
|
1527
1535
|
}).openapi({ description: "This represents a login sesion" }), zn = Rn.extend({
|
|
1528
1536
|
id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
|
|
1529
1537
|
created_at: e.string(),
|
|
1530
1538
|
updated_at: e.string()
|
|
1531
|
-
}),
|
|
1539
|
+
}), U = {
|
|
1532
1540
|
ACLS_SUMMARY: "acls_summary",
|
|
1533
1541
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
1534
1542
|
API_LIMIT: "api_limit",
|
|
@@ -1688,169 +1696,169 @@ var R = e.enum(["impersonate"]), z = e.enum([
|
|
|
1688
1696
|
WARNING_DURING_LOGIN: "w",
|
|
1689
1697
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1690
1698
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1691
|
-
}, Bn = e.string().refine((e) => Object.values(
|
|
1692
|
-
[
|
|
1693
|
-
[
|
|
1694
|
-
[
|
|
1695
|
-
[
|
|
1696
|
-
[
|
|
1697
|
-
[
|
|
1698
|
-
[
|
|
1699
|
-
[
|
|
1700
|
-
[
|
|
1701
|
-
[
|
|
1702
|
-
[
|
|
1703
|
-
[
|
|
1704
|
-
[
|
|
1705
|
-
[
|
|
1706
|
-
[
|
|
1707
|
-
[
|
|
1708
|
-
[
|
|
1709
|
-
[
|
|
1710
|
-
[
|
|
1711
|
-
[
|
|
1712
|
-
[
|
|
1713
|
-
[
|
|
1714
|
-
[
|
|
1715
|
-
[
|
|
1716
|
-
[
|
|
1717
|
-
[
|
|
1718
|
-
[
|
|
1719
|
-
[
|
|
1720
|
-
[
|
|
1721
|
-
[
|
|
1722
|
-
[
|
|
1723
|
-
[
|
|
1724
|
-
[
|
|
1725
|
-
[
|
|
1726
|
-
[
|
|
1727
|
-
[
|
|
1728
|
-
[
|
|
1729
|
-
[
|
|
1730
|
-
[
|
|
1731
|
-
[
|
|
1732
|
-
[
|
|
1733
|
-
[
|
|
1734
|
-
[
|
|
1735
|
-
[
|
|
1736
|
-
[
|
|
1737
|
-
[
|
|
1738
|
-
[
|
|
1739
|
-
[
|
|
1740
|
-
[
|
|
1741
|
-
[
|
|
1742
|
-
[
|
|
1743
|
-
[
|
|
1744
|
-
[
|
|
1745
|
-
[
|
|
1746
|
-
[
|
|
1747
|
-
[
|
|
1748
|
-
[
|
|
1749
|
-
[
|
|
1750
|
-
[
|
|
1751
|
-
[
|
|
1752
|
-
[
|
|
1753
|
-
[
|
|
1754
|
-
[
|
|
1755
|
-
[
|
|
1756
|
-
[
|
|
1757
|
-
[
|
|
1758
|
-
[
|
|
1759
|
-
[
|
|
1760
|
-
[
|
|
1761
|
-
[
|
|
1762
|
-
[
|
|
1763
|
-
[
|
|
1764
|
-
[
|
|
1765
|
-
[
|
|
1766
|
-
[
|
|
1767
|
-
[
|
|
1768
|
-
[
|
|
1769
|
-
[
|
|
1770
|
-
[
|
|
1771
|
-
[
|
|
1772
|
-
[
|
|
1773
|
-
[
|
|
1774
|
-
[
|
|
1775
|
-
[
|
|
1776
|
-
[
|
|
1777
|
-
[
|
|
1778
|
-
[
|
|
1779
|
-
[
|
|
1780
|
-
[
|
|
1781
|
-
[
|
|
1782
|
-
[
|
|
1783
|
-
[
|
|
1784
|
-
[
|
|
1785
|
-
[
|
|
1786
|
-
[
|
|
1787
|
-
[
|
|
1788
|
-
[
|
|
1789
|
-
[
|
|
1790
|
-
[
|
|
1791
|
-
[
|
|
1792
|
-
[
|
|
1793
|
-
[
|
|
1794
|
-
[
|
|
1795
|
-
[
|
|
1796
|
-
[
|
|
1797
|
-
[
|
|
1798
|
-
[
|
|
1799
|
-
[
|
|
1800
|
-
[
|
|
1801
|
-
[
|
|
1802
|
-
[
|
|
1803
|
-
[
|
|
1804
|
-
[
|
|
1805
|
-
[
|
|
1806
|
-
[
|
|
1807
|
-
[
|
|
1808
|
-
[
|
|
1809
|
-
[
|
|
1810
|
-
[
|
|
1811
|
-
[
|
|
1812
|
-
[
|
|
1813
|
-
[
|
|
1814
|
-
[
|
|
1815
|
-
[
|
|
1816
|
-
[
|
|
1817
|
-
[
|
|
1818
|
-
[
|
|
1819
|
-
[
|
|
1820
|
-
[
|
|
1821
|
-
[
|
|
1822
|
-
[
|
|
1823
|
-
[
|
|
1824
|
-
[
|
|
1825
|
-
[
|
|
1826
|
-
[
|
|
1827
|
-
[
|
|
1828
|
-
[
|
|
1829
|
-
[
|
|
1830
|
-
[
|
|
1831
|
-
[
|
|
1832
|
-
[
|
|
1833
|
-
[
|
|
1834
|
-
[
|
|
1835
|
-
[
|
|
1836
|
-
[
|
|
1837
|
-
[
|
|
1838
|
-
[
|
|
1839
|
-
[
|
|
1840
|
-
[
|
|
1841
|
-
[
|
|
1842
|
-
[
|
|
1843
|
-
[
|
|
1844
|
-
[
|
|
1845
|
-
[
|
|
1846
|
-
[
|
|
1847
|
-
[
|
|
1848
|
-
[
|
|
1849
|
-
[
|
|
1850
|
-
[
|
|
1699
|
+
}, Bn = e.string().refine((e) => Object.values(U).includes(e), { message: "Invalid log type" }), Vn = {
|
|
1700
|
+
[U.ACLS_SUMMARY]: "ACLs Summary",
|
|
1701
|
+
[U.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
|
|
1702
|
+
[U.API_LIMIT]: "API Rate Limit Reached",
|
|
1703
|
+
[U.API_LIMIT_WARNING]: "API Rate Limit Warning",
|
|
1704
|
+
[U.APPI]: "API Operation",
|
|
1705
|
+
[U.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
|
|
1706
|
+
[U.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
|
|
1707
|
+
[U.CIBA_START_FAILED]: "CIBA Start Failed",
|
|
1708
|
+
[U.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
|
|
1709
|
+
[U.CODE_LINK_SENT]: "Code/Link Sent",
|
|
1710
|
+
[U.CODE_SENT]: "Code Sent",
|
|
1711
|
+
[U.DEPRECATION_NOTICE]: "Deprecation Notice",
|
|
1712
|
+
[U.FAILED_LOGIN]: "Failed Login",
|
|
1713
|
+
[U.FAILED_BY_CONNECTOR]: "Failed by Connector",
|
|
1714
|
+
[U.FAILED_CHANGE_EMAIL]: "Failed Change Email",
|
|
1715
|
+
[U.FAILED_BY_CORS]: "Failed by CORS",
|
|
1716
|
+
[U.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
|
|
1717
|
+
[U.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
|
|
1718
|
+
[U.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
|
|
1719
|
+
[U.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
|
|
1720
|
+
[U.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
|
|
1721
|
+
[U.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
|
|
1722
|
+
[U.FAILED_CHANGE_USERNAME]: "Failed Change Username",
|
|
1723
|
+
[U.FAILED_DELEGATION]: "Failed Delegation",
|
|
1724
|
+
[U.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
|
|
1725
|
+
[U.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
|
|
1726
|
+
[U.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
|
|
1727
|
+
[U.FAILED_USER_DELETION]: "Failed User Deletion",
|
|
1728
|
+
[U.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
|
|
1729
|
+
[U.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
|
|
1730
|
+
[U.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
|
|
1731
|
+
[U.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
|
|
1732
|
+
[U.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
|
|
1733
|
+
[U.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
|
|
1734
|
+
[U.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
|
|
1735
|
+
[U.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
|
|
1736
|
+
[U.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
|
|
1737
|
+
[U.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
|
|
1738
|
+
[U.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
|
|
1739
|
+
[U.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
|
|
1740
|
+
[U.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
|
|
1741
|
+
[U.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
|
|
1742
|
+
[U.FAILED_HOOK]: "Failed Hook",
|
|
1743
|
+
[U.FAILED_IMPERSONATION]: "Failed Impersonation",
|
|
1744
|
+
[U.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
|
|
1745
|
+
[U.FAILED_LOGOUT]: "Failed Logout",
|
|
1746
|
+
[U.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
|
|
1747
|
+
[U.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
|
|
1748
|
+
[U.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
|
|
1749
|
+
[U.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
|
|
1750
|
+
[U.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
|
|
1751
|
+
[U.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
|
|
1752
|
+
[U.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
|
|
1753
|
+
[U.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
|
|
1754
|
+
[U.FAILED_SIGNUP]: "Failed Signup",
|
|
1755
|
+
[U.FAILED_SILENT_AUTH]: "Failed Silent Auth",
|
|
1756
|
+
[U.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
|
|
1757
|
+
[U.FAILED_USERS_IMPORT]: "Failed Users Import",
|
|
1758
|
+
[U.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
|
|
1759
|
+
[U.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
|
|
1760
|
+
[U.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
|
|
1761
|
+
[U.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
|
|
1762
|
+
[U.MFA_AUTH_FAILED]: "MFA Auth Failed",
|
|
1763
|
+
[U.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
|
|
1764
|
+
[U.MFA_AUTH_SUCCESS]: "MFA Auth Success",
|
|
1765
|
+
[U.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
|
|
1766
|
+
[U.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
|
|
1767
|
+
[U.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
|
|
1768
|
+
[U.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
|
|
1769
|
+
[U.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
|
|
1770
|
+
[U.MFA_EMAIL_SENT]: "MFA Email Sent",
|
|
1771
|
+
[U.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
|
|
1772
|
+
[U.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
|
|
1773
|
+
[U.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
|
|
1774
|
+
[U.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
|
|
1775
|
+
[U.MFA_SMS_SENT]: "MFA SMS Sent",
|
|
1776
|
+
[U.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
|
|
1777
|
+
[U.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
|
|
1778
|
+
[U.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
|
|
1779
|
+
[U.SECOND_FACTOR_STARTED]: "Second Factor Started",
|
|
1780
|
+
[U.MFA_ENROLL_STARTED]: "MFA Enroll Started",
|
|
1781
|
+
[U.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
|
|
1782
|
+
[U.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
|
|
1783
|
+
[U.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
|
|
1784
|
+
[U.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
|
|
1785
|
+
[U.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
|
|
1786
|
+
[U.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
|
|
1787
|
+
[U.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
|
|
1788
|
+
[U.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
|
|
1789
|
+
[U.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
|
|
1790
|
+
[U.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
|
|
1791
|
+
[U.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
|
|
1792
|
+
[U.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
|
|
1793
|
+
[U.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
|
|
1794
|
+
[U.INFORMATION]: "Information",
|
|
1795
|
+
[U.MFA_REQUIRED]: "MFA Required",
|
|
1796
|
+
[U.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
|
|
1797
|
+
[U.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
|
|
1798
|
+
[U.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
|
|
1799
|
+
[U.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
|
|
1800
|
+
[U.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
|
|
1801
|
+
[U.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
|
|
1802
|
+
[U.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
|
|
1803
|
+
[U.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
|
|
1804
|
+
[U.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
|
|
1805
|
+
[U.BREACHED_PASSWORD]: "Breached Password",
|
|
1806
|
+
[U.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
|
|
1807
|
+
[U.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
|
|
1808
|
+
[U.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
|
|
1809
|
+
[U.SUCCESS_LOGIN]: "Success Login",
|
|
1810
|
+
[U.SUCCESS_API_OPERATION]: "Success API Operation",
|
|
1811
|
+
[U.FAILED_API_OPERATION]: "Failed API Operation",
|
|
1812
|
+
[U.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
|
|
1813
|
+
[U.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
|
|
1814
|
+
[U.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
|
|
1815
|
+
[U.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
|
|
1816
|
+
[U.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
|
|
1817
|
+
[U.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
|
|
1818
|
+
[U.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
|
|
1819
|
+
[U.SUCCESS_DELEGATION]: "Success Delegation",
|
|
1820
|
+
[U.SUCCESS_USER_DELETION]: "Success User Deletion",
|
|
1821
|
+
[U.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
|
|
1822
|
+
[U.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
|
|
1823
|
+
[U.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
|
|
1824
|
+
[U.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
|
|
1825
|
+
[U.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
|
|
1826
|
+
[U.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
|
|
1827
|
+
[U.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
|
|
1828
|
+
[U.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
|
|
1829
|
+
[U.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
|
|
1830
|
+
[U.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
|
|
1831
|
+
[U.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
|
|
1832
|
+
[U.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
|
|
1833
|
+
[U.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
|
|
1834
|
+
[U.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
|
|
1835
|
+
[U.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
|
|
1836
|
+
[U.SUCCESS_IMPERSONATION]: "Success Impersonation",
|
|
1837
|
+
[U.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
|
|
1838
|
+
[U.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
|
|
1839
|
+
[U.SUCCESS_LOGOUT]: "Success Logout",
|
|
1840
|
+
[U.SUCCESS_HOOK]: "Success Hook",
|
|
1841
|
+
[U.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
|
|
1842
|
+
[U.SUCCESS_REVOCATION]: "Success Revocation",
|
|
1843
|
+
[U.SUCCESS_SIGNUP]: "Success Signup",
|
|
1844
|
+
[U.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
|
|
1845
|
+
[U.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
|
|
1846
|
+
[U.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
|
|
1847
|
+
[U.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
|
|
1848
|
+
[U.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
|
|
1849
|
+
[U.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
|
|
1850
|
+
[U.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
|
|
1851
|
+
[U.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
|
|
1852
|
+
[U.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
|
|
1853
|
+
[U.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
|
|
1854
|
+
[U.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
|
|
1855
|
+
[U.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
|
|
1856
|
+
[U.WARNING_DURING_LOGIN]: "Warning During Login",
|
|
1857
|
+
[U.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
|
|
1858
|
+
[U.WARNING_USER_MANAGEMENT]: "Warning User Management"
|
|
1851
1859
|
}, Hn = (() => {
|
|
1852
1860
|
let e = {};
|
|
1853
|
-
for (let [t, n] of Object.entries(
|
|
1861
|
+
for (let [t, n] of Object.entries(U)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
|
|
1854
1862
|
return e;
|
|
1855
1863
|
})();
|
|
1856
1864
|
function Un(e) {
|
|
@@ -1899,7 +1907,7 @@ var Gn = e.object({
|
|
|
1899
1907
|
"splunk",
|
|
1900
1908
|
"datadog",
|
|
1901
1909
|
"sumo"
|
|
1902
|
-
]),
|
|
1910
|
+
]), W = e.enum([
|
|
1903
1911
|
"active",
|
|
1904
1912
|
"paused",
|
|
1905
1913
|
"suspended"
|
|
@@ -1909,13 +1917,13 @@ var Gn = e.object({
|
|
|
1909
1917
|
}), Zn = e.object({
|
|
1910
1918
|
name: e.string(),
|
|
1911
1919
|
type: Yn,
|
|
1912
|
-
status:
|
|
1920
|
+
status: W.optional(),
|
|
1913
1921
|
sink: e.record(e.string(), e.unknown()),
|
|
1914
1922
|
filters: e.array(Xn).optional(),
|
|
1915
1923
|
isPriority: e.boolean().optional()
|
|
1916
1924
|
}), Qn = Zn.extend({
|
|
1917
1925
|
id: e.string(),
|
|
1918
|
-
status:
|
|
1926
|
+
status: W,
|
|
1919
1927
|
created_at: e.string().optional(),
|
|
1920
1928
|
updated_at: e.string().optional()
|
|
1921
1929
|
}), $n = e.enum([
|
|
@@ -1923,24 +1931,24 @@ var Gn = e.object({
|
|
|
1923
1931
|
"cognito",
|
|
1924
1932
|
"okta",
|
|
1925
1933
|
"oidc"
|
|
1926
|
-
]),
|
|
1934
|
+
]), er = e.object({
|
|
1927
1935
|
domain: e.string(),
|
|
1928
1936
|
client_id: e.string(),
|
|
1929
1937
|
client_secret: e.string(),
|
|
1930
1938
|
audience: e.string().optional(),
|
|
1931
1939
|
scope: e.string().optional()
|
|
1932
|
-
}),
|
|
1940
|
+
}), tr = e.object({
|
|
1933
1941
|
id: e.string().optional(),
|
|
1934
1942
|
name: e.string(),
|
|
1935
1943
|
provider: $n,
|
|
1936
1944
|
connection: e.string(),
|
|
1937
1945
|
enabled: e.boolean().default(!0),
|
|
1938
|
-
credentials:
|
|
1939
|
-
}),
|
|
1946
|
+
credentials: er
|
|
1947
|
+
}), nr = e.object({
|
|
1940
1948
|
id: e.string(),
|
|
1941
1949
|
created_at: e.string(),
|
|
1942
1950
|
updated_at: e.string()
|
|
1943
|
-
}).extend(
|
|
1951
|
+
}).extend(tr.shape), rr = e.object({
|
|
1944
1952
|
enabled: e.boolean().optional(),
|
|
1945
1953
|
shields: e.array(e.string()).optional(),
|
|
1946
1954
|
admin_notification_frequency: e.array(e.string()).optional(),
|
|
@@ -1949,13 +1957,13 @@ var Gn = e.object({
|
|
|
1949
1957
|
"pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
|
|
1950
1958
|
"pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
|
|
1951
1959
|
}).optional()
|
|
1952
|
-
}),
|
|
1960
|
+
}), ir = e.object({
|
|
1953
1961
|
enabled: e.boolean().optional(),
|
|
1954
1962
|
shields: e.array(e.string()).optional(),
|
|
1955
1963
|
allowlist: e.array(e.string()).optional(),
|
|
1956
1964
|
mode: e.string().optional(),
|
|
1957
1965
|
max_attempts: e.number().optional()
|
|
1958
|
-
}),
|
|
1966
|
+
}), ar = e.object({
|
|
1959
1967
|
enabled: e.boolean().optional(),
|
|
1960
1968
|
shields: e.array(e.string()).optional(),
|
|
1961
1969
|
allowlist: e.array(e.string()).optional(),
|
|
@@ -1969,28 +1977,28 @@ var Gn = e.object({
|
|
|
1969
1977
|
rate: e.number().optional()
|
|
1970
1978
|
}).optional()
|
|
1971
1979
|
}).optional()
|
|
1972
|
-
}), ar = e.object({
|
|
1973
|
-
breached_password_detection: nr.optional(),
|
|
1974
|
-
brute_force_protection: rr.optional(),
|
|
1975
|
-
suspicious_ip_throttling: ir.optional()
|
|
1976
1980
|
}), or = e.object({
|
|
1981
|
+
breached_password_detection: rr.optional(),
|
|
1982
|
+
brute_force_protection: ir.optional(),
|
|
1983
|
+
suspicious_ip_throttling: ar.optional()
|
|
1984
|
+
}), sr = e.object({
|
|
1977
1985
|
id: e.string().optional(),
|
|
1978
1986
|
user_id: e.string(),
|
|
1979
1987
|
password: e.string(),
|
|
1980
1988
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1981
1989
|
is_current: e.boolean().default(!0)
|
|
1982
|
-
}),
|
|
1990
|
+
}), cr = sr.extend({
|
|
1983
1991
|
id: e.string(),
|
|
1984
1992
|
created_at: e.string(),
|
|
1985
1993
|
updated_at: e.string()
|
|
1986
|
-
}),
|
|
1994
|
+
}), lr = e.object({
|
|
1987
1995
|
initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
|
|
1988
1996
|
initial_ip: e.string().describe("First IP address associated with this session"),
|
|
1989
1997
|
initial_asn: e.string().describe("First autonomous system number associated with this session"),
|
|
1990
1998
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
1991
1999
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
1992
2000
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
1993
|
-
}),
|
|
2001
|
+
}), ur = e.object({
|
|
1994
2002
|
id: e.string(),
|
|
1995
2003
|
revoked_at: e.string().optional(),
|
|
1996
2004
|
used_at: e.string().optional(),
|
|
@@ -1998,14 +2006,14 @@ var Gn = e.object({
|
|
|
1998
2006
|
expires_at: e.string().optional(),
|
|
1999
2007
|
login_session_id: e.string(),
|
|
2000
2008
|
idle_expires_at: e.string().optional(),
|
|
2001
|
-
device:
|
|
2009
|
+
device: lr.describe("Metadata related to the device used in the session"),
|
|
2002
2010
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
2003
|
-
}),
|
|
2011
|
+
}), dr = e.object({
|
|
2004
2012
|
created_at: e.string(),
|
|
2005
2013
|
updated_at: e.string(),
|
|
2006
2014
|
authenticated_at: e.string(),
|
|
2007
2015
|
last_interaction_at: e.string()
|
|
2008
|
-
}).extend(
|
|
2016
|
+
}).extend(ur.shape), fr = e.object({
|
|
2009
2017
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
2010
2018
|
tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
|
|
2011
2019
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
@@ -2021,7 +2029,7 @@ var Gn = e.object({
|
|
|
2021
2029
|
revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
|
|
2022
2030
|
connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
|
|
2023
2031
|
type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
|
|
2024
|
-
}),
|
|
2032
|
+
}), pr = e.object({
|
|
2025
2033
|
id: e.string().optional(),
|
|
2026
2034
|
audience: e.string().optional(),
|
|
2027
2035
|
friendly_name: e.string(),
|
|
@@ -2139,7 +2147,7 @@ var Gn = e.object({
|
|
|
2139
2147
|
"shared_planetscale"
|
|
2140
2148
|
]).optional(),
|
|
2141
2149
|
d1_database_id: e.string().max(64).optional(),
|
|
2142
|
-
attack_protection:
|
|
2150
|
+
attack_protection: or.optional(),
|
|
2143
2151
|
mfa: e.object({
|
|
2144
2152
|
policy: e.enum(["never", "always"]).default("never").optional(),
|
|
2145
2153
|
factors: e.object({
|
|
@@ -2166,38 +2174,38 @@ var Gn = e.object({
|
|
|
2166
2174
|
}).optional(),
|
|
2167
2175
|
phone_message: e.object({ message: e.string().optional() }).optional()
|
|
2168
2176
|
}).optional()
|
|
2169
|
-
}),
|
|
2177
|
+
}), mr = e.object({
|
|
2170
2178
|
created_at: e.string().nullable().transform((e) => e ?? ""),
|
|
2171
2179
|
updated_at: e.string().nullable().transform((e) => e ?? "")
|
|
2172
|
-
}).extend(
|
|
2180
|
+
}).extend(pr.shape).extend({
|
|
2173
2181
|
id: e.string(),
|
|
2174
2182
|
is_control_plane: e.boolean().optional()
|
|
2175
|
-
}),
|
|
2183
|
+
}), hr = e.enum([
|
|
2176
2184
|
"provision",
|
|
2177
2185
|
"seed",
|
|
2178
2186
|
"upgrade",
|
|
2179
2187
|
"backup",
|
|
2180
2188
|
"deprovision",
|
|
2181
2189
|
"users_import"
|
|
2182
|
-
]),
|
|
2190
|
+
]), gr = e.enum([
|
|
2183
2191
|
"pending",
|
|
2184
2192
|
"running",
|
|
2185
2193
|
"succeeded",
|
|
2186
2194
|
"failed",
|
|
2187
2195
|
"cancelled"
|
|
2188
|
-
]),
|
|
2196
|
+
]), _r = e.string().max(64), vr = ["inline", "cloudflare-workflows"], yr = e.object({
|
|
2189
2197
|
tenant_id: e.string().max(255).nullable().default(null),
|
|
2190
2198
|
rollout_id: e.string().max(255).nullable().optional(),
|
|
2191
|
-
kind:
|
|
2192
|
-
engine:
|
|
2199
|
+
kind: hr,
|
|
2200
|
+
engine: _r,
|
|
2193
2201
|
engine_instance_id: e.string().max(100).nullable().optional(),
|
|
2194
2202
|
target_worker_version: e.string().max(255).nullable().optional(),
|
|
2195
2203
|
target_database_version: e.string().max(255).nullable().optional(),
|
|
2196
2204
|
initiated_by: e.string().max(255).nullable().optional(),
|
|
2197
2205
|
input: e.record(e.string(), e.unknown()).nullable().optional()
|
|
2198
|
-
}),
|
|
2206
|
+
}), br = yr.extend({
|
|
2199
2207
|
id: e.string(),
|
|
2200
|
-
status:
|
|
2208
|
+
status: gr,
|
|
2201
2209
|
current_step: e.string().max(255).nullable().optional(),
|
|
2202
2210
|
error: e.string().nullable().optional(),
|
|
2203
2211
|
result: e.record(e.string(), e.unknown()).nullable().optional(),
|
|
@@ -2206,7 +2214,7 @@ var Gn = e.object({
|
|
|
2206
2214
|
created_at: e.string(),
|
|
2207
2215
|
updated_at: e.string(),
|
|
2208
2216
|
finished_at: e.string().nullable().optional()
|
|
2209
|
-
}),
|
|
2217
|
+
}), xr = br.pick({
|
|
2210
2218
|
status: !0,
|
|
2211
2219
|
current_step: !0,
|
|
2212
2220
|
engine_instance_id: !0,
|
|
@@ -2217,20 +2225,20 @@ var Gn = e.object({
|
|
|
2217
2225
|
claimed_by: !0,
|
|
2218
2226
|
claim_expires_at: !0,
|
|
2219
2227
|
finished_at: !0
|
|
2220
|
-
}).partial(),
|
|
2228
|
+
}).partial(), Sr = e.enum([
|
|
2221
2229
|
"started",
|
|
2222
2230
|
"succeeded",
|
|
2223
2231
|
"failed",
|
|
2224
2232
|
"retried",
|
|
2225
2233
|
"skipped",
|
|
2226
2234
|
"reconciled"
|
|
2227
|
-
]),
|
|
2235
|
+
]), Cr = e.object({
|
|
2228
2236
|
operation_id: e.string().max(255),
|
|
2229
2237
|
step: e.string().max(255),
|
|
2230
|
-
outcome:
|
|
2238
|
+
outcome: Sr,
|
|
2231
2239
|
detail: e.record(e.string(), e.unknown()).nullable().optional(),
|
|
2232
2240
|
attempt: e.number().int().min(1).default(1)
|
|
2233
|
-
}),
|
|
2241
|
+
}), wr = Cr.extend({
|
|
2234
2242
|
id: e.string(),
|
|
2235
2243
|
created_at: e.string()
|
|
2236
2244
|
}), G = e.enum([
|
|
@@ -2239,12 +2247,12 @@ var Gn = e.object({
|
|
|
2239
2247
|
"updated",
|
|
2240
2248
|
"failed",
|
|
2241
2249
|
"skipped"
|
|
2242
|
-
]),
|
|
2250
|
+
]), Tr = [
|
|
2243
2251
|
"inserted",
|
|
2244
2252
|
"updated",
|
|
2245
2253
|
"failed",
|
|
2246
2254
|
"skipped"
|
|
2247
|
-
],
|
|
2255
|
+
], Er = e.object({
|
|
2248
2256
|
operation_id: e.string().max(255),
|
|
2249
2257
|
seq: e.number().int().min(0),
|
|
2250
2258
|
payload: e.record(e.string(), e.unknown()),
|
|
@@ -2253,51 +2261,51 @@ var Gn = e.object({
|
|
|
2253
2261
|
error_message: e.string().nullable().optional(),
|
|
2254
2262
|
error_path: e.string().max(255).nullable().optional(),
|
|
2255
2263
|
entity_id: e.string().max(255).nullable().optional()
|
|
2256
|
-
}),
|
|
2264
|
+
}), Dr = Er.extend({
|
|
2257
2265
|
status: G,
|
|
2258
2266
|
created_at: e.string(),
|
|
2259
2267
|
updated_at: e.string()
|
|
2260
|
-
}),
|
|
2268
|
+
}), Or = e.object({
|
|
2261
2269
|
seq: e.number().int().min(0),
|
|
2262
2270
|
status: G,
|
|
2263
2271
|
error_code: e.string().max(64).nullable().optional(),
|
|
2264
2272
|
error_message: e.string().nullable().optional(),
|
|
2265
2273
|
error_path: e.string().max(255).nullable().optional(),
|
|
2266
2274
|
entity_id: e.string().max(255).nullable().optional()
|
|
2267
|
-
}),
|
|
2275
|
+
}), kr = e.enum([
|
|
2268
2276
|
"upgrade",
|
|
2269
2277
|
"reseed",
|
|
2270
2278
|
"backup"
|
|
2271
|
-
]),
|
|
2279
|
+
]), Ar = e.enum([
|
|
2272
2280
|
"pending",
|
|
2273
2281
|
"canary",
|
|
2274
2282
|
"rolling",
|
|
2275
2283
|
"paused",
|
|
2276
2284
|
"done",
|
|
2277
2285
|
"failed"
|
|
2278
|
-
]),
|
|
2279
|
-
kind:
|
|
2286
|
+
]), jr = e.object({
|
|
2287
|
+
kind: kr,
|
|
2280
2288
|
target_worker_version: e.string().max(255).nullable().optional(),
|
|
2281
2289
|
target_database_version: e.string().max(255).nullable().optional(),
|
|
2282
2290
|
wave_size: e.number().int().min(1).default(10),
|
|
2283
2291
|
canary_tenant_ids: e.array(e.string()).nullable().optional(),
|
|
2284
2292
|
filter: e.record(e.string(), e.unknown()).nullable().optional(),
|
|
2285
2293
|
initiated_by: e.string().max(255).nullable().optional()
|
|
2286
|
-
}),
|
|
2294
|
+
}), Mr = jr.extend({
|
|
2287
2295
|
id: e.string(),
|
|
2288
|
-
status:
|
|
2296
|
+
status: Ar,
|
|
2289
2297
|
created_at: e.string(),
|
|
2290
2298
|
updated_at: e.string(),
|
|
2291
2299
|
finished_at: e.string().nullable().optional()
|
|
2292
|
-
}),
|
|
2300
|
+
}), Nr = Mr.pick({
|
|
2293
2301
|
status: !0,
|
|
2294
2302
|
wave_size: !0,
|
|
2295
2303
|
canary_tenant_ids: !0,
|
|
2296
2304
|
filter: !0,
|
|
2297
2305
|
finished_at: !0
|
|
2298
|
-
}).partial(),
|
|
2306
|
+
}).partial(), Pr = /* @__PURE__ */ function(e) {
|
|
2299
2307
|
return e.RefreshToken = "refresh_token", e.AuthorizationCode = "authorization_code", e.ClientCredential = "client_credentials", e.Passwordless = "passwordless", e.Password = "password", e.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", e.TokenExchange = "urn:ietf:params:oauth:grant-type:token-exchange", e;
|
|
2300
|
-
}({}),
|
|
2308
|
+
}({}), Fr = e.object({
|
|
2301
2309
|
access_token: e.string(),
|
|
2302
2310
|
id_token: e.string().optional(),
|
|
2303
2311
|
scope: e.string().optional(),
|
|
@@ -2312,7 +2320,7 @@ e.object({
|
|
|
2312
2320
|
});
|
|
2313
2321
|
//#endregion
|
|
2314
2322
|
//#region src/types/Theme.ts
|
|
2315
|
-
var
|
|
2323
|
+
var Ir = e.object({
|
|
2316
2324
|
button_border_radius: e.number(),
|
|
2317
2325
|
button_border_weight: e.number(),
|
|
2318
2326
|
buttons_style: e.enum([
|
|
@@ -2330,7 +2338,7 @@ var Fr = e.object({
|
|
|
2330
2338
|
show_widget_shadow: e.boolean(),
|
|
2331
2339
|
widget_border_weight: e.number(),
|
|
2332
2340
|
widget_corner_radius: e.number()
|
|
2333
|
-
}),
|
|
2341
|
+
}), Lr = e.object({
|
|
2334
2342
|
base_focus_color: e.string(),
|
|
2335
2343
|
base_hover_color: e.string(),
|
|
2336
2344
|
body_text: e.string(),
|
|
@@ -2357,7 +2365,7 @@ var Fr = e.object({
|
|
|
2357
2365
|
}), K = e.object({
|
|
2358
2366
|
bold: e.boolean(),
|
|
2359
2367
|
size: e.number()
|
|
2360
|
-
}),
|
|
2368
|
+
}), Rr = e.object({
|
|
2361
2369
|
body_text: K,
|
|
2362
2370
|
buttons_text: K,
|
|
2363
2371
|
font_url: e.string(),
|
|
@@ -2367,7 +2375,7 @@ var Fr = e.object({
|
|
|
2367
2375
|
reference_text_size: e.number(),
|
|
2368
2376
|
subtitle: K,
|
|
2369
2377
|
title: K
|
|
2370
|
-
}),
|
|
2378
|
+
}), zr = e.object({
|
|
2371
2379
|
background_color: e.string(),
|
|
2372
2380
|
background_image_url: e.string(),
|
|
2373
2381
|
page_layout: e.enum([
|
|
@@ -2380,7 +2388,7 @@ var Fr = e.object({
|
|
|
2380
2388
|
"chip",
|
|
2381
2389
|
"none"
|
|
2382
2390
|
]).optional()
|
|
2383
|
-
}),
|
|
2391
|
+
}), Br = e.object({
|
|
2384
2392
|
header_text_alignment: e.enum([
|
|
2385
2393
|
"center",
|
|
2386
2394
|
"left",
|
|
@@ -2395,43 +2403,43 @@ var Fr = e.object({
|
|
|
2395
2403
|
]),
|
|
2396
2404
|
logo_url: e.string(),
|
|
2397
2405
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
2398
|
-
}),
|
|
2399
|
-
borders:
|
|
2400
|
-
colors:
|
|
2406
|
+
}), Vr = e.object({
|
|
2407
|
+
borders: Ir,
|
|
2408
|
+
colors: Lr,
|
|
2401
2409
|
displayName: e.string(),
|
|
2402
|
-
fonts:
|
|
2403
|
-
page_background:
|
|
2404
|
-
widget:
|
|
2405
|
-
}),
|
|
2410
|
+
fonts: Rr,
|
|
2411
|
+
page_background: zr,
|
|
2412
|
+
widget: Br
|
|
2413
|
+
}), Hr = Vr.extend({ themeId: e.string() }), Ur = e.object({
|
|
2406
2414
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
2407
2415
|
identifier_first: e.boolean().default(!0),
|
|
2408
2416
|
password_first: e.boolean().default(!1),
|
|
2409
2417
|
show_last_used_connection: e.boolean().default(!1),
|
|
2410
2418
|
webauthn_platform_first_factor: e.boolean()
|
|
2411
|
-
}),
|
|
2419
|
+
}), Wr = e.object({
|
|
2412
2420
|
hosts: e.array(e.string()).optional(),
|
|
2413
2421
|
methods: e.array(e.string()).optional(),
|
|
2414
2422
|
path: e.string().default("/*"),
|
|
2415
2423
|
headers: e.record(e.string(), e.string()).optional(),
|
|
2416
2424
|
query: e.record(e.string(), e.string()).optional()
|
|
2417
|
-
}),
|
|
2425
|
+
}), Gr = e.object({
|
|
2418
2426
|
type: e.string(),
|
|
2419
2427
|
options: e.record(e.string(), e.unknown()).default({})
|
|
2420
2428
|
}), q = e.object({
|
|
2421
2429
|
id: e.string().optional(),
|
|
2422
2430
|
custom_domain_id: e.string(),
|
|
2423
2431
|
priority: e.number().int().default(100),
|
|
2424
|
-
match:
|
|
2425
|
-
handlers: e.array(
|
|
2426
|
-
}),
|
|
2432
|
+
match: Wr,
|
|
2433
|
+
handlers: e.array(Gr).min(1)
|
|
2434
|
+
}), Kr = q.extend({
|
|
2427
2435
|
id: e.string(),
|
|
2428
2436
|
tenant_id: e.string(),
|
|
2429
2437
|
created_at: e.string(),
|
|
2430
2438
|
updated_at: e.string()
|
|
2431
|
-
}),
|
|
2439
|
+
}), qr = q.partial().omit({
|
|
2432
2440
|
id: !0,
|
|
2433
2441
|
custom_domain_id: !0
|
|
2434
|
-
}),
|
|
2442
|
+
}), Jr = "custom_authentication", Yr = [
|
|
2435
2443
|
"urn:ietf:params:oauth:",
|
|
2436
2444
|
"urn:auth0",
|
|
2437
2445
|
"urn:okta",
|
|
@@ -2439,14 +2447,14 @@ var Fr = e.object({
|
|
|
2439
2447
|
"https://auth0.com",
|
|
2440
2448
|
"http://okta.com",
|
|
2441
2449
|
"https://okta.com"
|
|
2442
|
-
], J = e.string().min(1).max(200).refine((e) => e.startsWith("https://") || e.startsWith("urn:"), { message: "subject_token_type must be a URI starting with https:// or urn:" }).refine((e) => !
|
|
2450
|
+
], J = e.string().min(1).max(200).refine((e) => e.startsWith("https://") || e.startsWith("urn:"), { message: "subject_token_type must be a URI starting with https:// or urn:" }).refine((e) => !Yr.some((t) => e.toLowerCase().startsWith(t)), { message: "subject_token_type uses a reserved namespace" }), Xr = e.enum([
|
|
2443
2451
|
"RS256",
|
|
2444
2452
|
"RS384",
|
|
2445
2453
|
"RS512",
|
|
2446
2454
|
"ES256",
|
|
2447
2455
|
"ES384",
|
|
2448
2456
|
"ES512"
|
|
2449
|
-
]),
|
|
2457
|
+
]), Zr = e.discriminatedUnion("type", [e.object({
|
|
2450
2458
|
type: e.literal("connection"),
|
|
2451
2459
|
connection: e.string().min(1),
|
|
2452
2460
|
create_if_not_exists: e.boolean().default(!0),
|
|
@@ -2456,54 +2464,54 @@ var Fr = e.object({
|
|
|
2456
2464
|
jwks: Pn.optional(),
|
|
2457
2465
|
jwks_uri: e.string().url().optional(),
|
|
2458
2466
|
audience: e.array(e.string().min(1)).min(1).optional(),
|
|
2459
|
-
algorithms: e.array(
|
|
2467
|
+
algorithms: e.array(Xr).min(1).optional(),
|
|
2460
2468
|
max_lifetime_seconds: e.number().int().min(1).max(3600).default(300),
|
|
2461
2469
|
require_jti: e.boolean().default(!0),
|
|
2462
|
-
user_mapping:
|
|
2463
|
-
}),
|
|
2470
|
+
user_mapping: Zr
|
|
2471
|
+
}), Qr = e.object({
|
|
2464
2472
|
name: e.string().min(1).max(255),
|
|
2465
2473
|
subject_token_type: J,
|
|
2466
2474
|
action_id: e.string().min(1).optional(),
|
|
2467
|
-
type: e.literal(
|
|
2475
|
+
type: e.literal(Jr),
|
|
2468
2476
|
jwt_verification: Y.optional()
|
|
2469
|
-
}),
|
|
2477
|
+
}), $r = Qr.extend({
|
|
2470
2478
|
id: e.string(),
|
|
2471
2479
|
created_at: e.string(),
|
|
2472
2480
|
updated_at: e.string()
|
|
2473
|
-
}),
|
|
2481
|
+
}), ei = e.object({
|
|
2474
2482
|
name: e.string().min(1).max(255).optional(),
|
|
2475
2483
|
subject_token_type: J.optional(),
|
|
2476
2484
|
jwt_verification: Y.optional()
|
|
2477
|
-
}),
|
|
2485
|
+
}), ti = e.object({
|
|
2478
2486
|
scim: e.string(),
|
|
2479
2487
|
auth0: e.string()
|
|
2480
|
-
}),
|
|
2488
|
+
}), ni = e.object({
|
|
2481
2489
|
connection_id: e.string(),
|
|
2482
2490
|
user_id_attribute: e.string().default("externalId"),
|
|
2483
|
-
mapping: e.array(
|
|
2484
|
-
}),
|
|
2491
|
+
mapping: e.array(ti).default([])
|
|
2492
|
+
}), ri = e.object({
|
|
2485
2493
|
created_at: e.string(),
|
|
2486
2494
|
updated_at: e.string()
|
|
2487
|
-
}).extend(
|
|
2495
|
+
}).extend(ni.shape), ii = e.object({
|
|
2488
2496
|
token_id: e.string(),
|
|
2489
2497
|
connection_id: e.string(),
|
|
2490
2498
|
token_hash: e.string(),
|
|
2491
2499
|
scopes: e.array(e.string()).default([]),
|
|
2492
2500
|
valid_until: e.string().optional()
|
|
2493
|
-
}),
|
|
2501
|
+
}), ai = e.object({
|
|
2494
2502
|
created_at: e.string(),
|
|
2495
2503
|
last_used_at: e.string().optional()
|
|
2496
|
-
}).extend(
|
|
2504
|
+
}).extend(ii.shape), oi = e.object({
|
|
2497
2505
|
connection_id: e.string(),
|
|
2498
2506
|
external_id: e.string(),
|
|
2499
2507
|
user_id: e.string()
|
|
2500
|
-
}),
|
|
2508
|
+
}), si = e.object({ created_at: e.string() }).extend(oi.shape), ci = e.object({
|
|
2501
2509
|
name: e.string(),
|
|
2502
2510
|
enabled: e.boolean().optional().default(!0),
|
|
2503
2511
|
default_from_address: e.string().optional(),
|
|
2504
2512
|
credentials: e.record(e.string(), e.unknown()),
|
|
2505
2513
|
settings: e.object({}).optional()
|
|
2506
|
-
}),
|
|
2514
|
+
}), li = e.enum([
|
|
2507
2515
|
"verify_email",
|
|
2508
2516
|
"verify_email_by_code",
|
|
2509
2517
|
"reset_email",
|
|
@@ -2516,8 +2524,8 @@ var Fr = e.object({
|
|
|
2516
2524
|
"change_password",
|
|
2517
2525
|
"password_reset",
|
|
2518
2526
|
"user_invitation"
|
|
2519
|
-
]),
|
|
2520
|
-
template:
|
|
2527
|
+
]), ui = e.object({
|
|
2528
|
+
template: li,
|
|
2521
2529
|
body: e.string(),
|
|
2522
2530
|
from: e.string(),
|
|
2523
2531
|
subject: e.string(),
|
|
@@ -2526,19 +2534,19 @@ var Fr = e.object({
|
|
|
2526
2534
|
urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
|
|
2527
2535
|
includeEmailInRedirect: e.boolean().default(!1),
|
|
2528
2536
|
enabled: e.boolean().default(!0)
|
|
2529
|
-
}),
|
|
2537
|
+
}), di = e.object({
|
|
2530
2538
|
id: e.string(),
|
|
2531
2539
|
login_id: e.string(),
|
|
2532
2540
|
session_id: e.string().optional(),
|
|
2533
2541
|
organization: e.string().optional(),
|
|
2534
2542
|
auth_connection: e.string().optional(),
|
|
2535
|
-
auth_strategy:
|
|
2543
|
+
auth_strategy: H.optional(),
|
|
2536
2544
|
user_id: e.string(),
|
|
2537
2545
|
client_id: e.string(),
|
|
2538
2546
|
expires_at: e.string().optional(),
|
|
2539
2547
|
idle_expires_at: e.string().optional(),
|
|
2540
2548
|
last_exchanged_at: e.string().optional(),
|
|
2541
|
-
device:
|
|
2549
|
+
device: lr,
|
|
2542
2550
|
resource_servers: e.array(e.object({
|
|
2543
2551
|
audience: e.string(),
|
|
2544
2552
|
scopes: e.string()
|
|
@@ -2549,19 +2557,19 @@ var Fr = e.object({
|
|
|
2549
2557
|
family_id: e.string().optional(),
|
|
2550
2558
|
rotated_to: e.string().optional(),
|
|
2551
2559
|
rotated_at: e.string().optional()
|
|
2552
|
-
}),
|
|
2560
|
+
}), fi = di.extend({
|
|
2553
2561
|
created_at: e.string(),
|
|
2554
2562
|
revoked_at: e.string().optional()
|
|
2555
|
-
}),
|
|
2563
|
+
}), pi = e.object({
|
|
2556
2564
|
to: e.string(),
|
|
2557
2565
|
message: e.string()
|
|
2558
|
-
}),
|
|
2566
|
+
}), mi = e.object({
|
|
2559
2567
|
name: e.string(),
|
|
2560
2568
|
options: e.object({})
|
|
2561
|
-
}),
|
|
2569
|
+
}), hi = e.object({
|
|
2562
2570
|
value: e.string(),
|
|
2563
2571
|
description: e.string().optional()
|
|
2564
|
-
}),
|
|
2572
|
+
}), gi = e.object({
|
|
2565
2573
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
2566
2574
|
enforce_policies: e.boolean().optional(),
|
|
2567
2575
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -2569,11 +2577,11 @@ var Fr = e.object({
|
|
|
2569
2577
|
persist_client_authorization: e.boolean().optional(),
|
|
2570
2578
|
enable_introspection_endpoint: e.boolean().optional(),
|
|
2571
2579
|
mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
|
|
2572
|
-
}),
|
|
2580
|
+
}), _i = e.object({
|
|
2573
2581
|
id: e.string().optional(),
|
|
2574
2582
|
name: e.string(),
|
|
2575
2583
|
identifier: e.string(),
|
|
2576
|
-
scopes: e.array(
|
|
2584
|
+
scopes: e.array(hi).optional(),
|
|
2577
2585
|
signing_alg: e.string().optional(),
|
|
2578
2586
|
signing_secret: e.string().optional(),
|
|
2579
2587
|
token_lifetime: e.number().default(86400),
|
|
@@ -2581,37 +2589,37 @@ var Fr = e.object({
|
|
|
2581
2589
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
2582
2590
|
allow_offline_access: e.boolean().optional(),
|
|
2583
2591
|
verificationKey: e.string().optional(),
|
|
2584
|
-
options:
|
|
2592
|
+
options: gi.optional(),
|
|
2585
2593
|
is_system: e.boolean().optional(),
|
|
2586
2594
|
metadata: e.record(e.string(), e.any()).optional()
|
|
2587
|
-
}),
|
|
2595
|
+
}), vi = _i.extend({
|
|
2588
2596
|
created_at: e.string().optional(),
|
|
2589
2597
|
updated_at: e.string().optional()
|
|
2590
|
-
}),
|
|
2598
|
+
}), yi = e.array(vi), bi = e.object({
|
|
2591
2599
|
role_id: e.string(),
|
|
2592
2600
|
resource_server_identifier: e.string(),
|
|
2593
2601
|
permission_name: e.string()
|
|
2594
|
-
}),
|
|
2602
|
+
}), xi = bi.extend({ created_at: e.string() }), Si = e.array(xi), Ci = e.object({
|
|
2595
2603
|
user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
|
|
2596
2604
|
clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
|
|
2597
2605
|
audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
|
|
2598
2606
|
scope: e.array(e.string()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
|
|
2599
|
-
}),
|
|
2607
|
+
}), wi = Ci.extend({ id: e.string() }), Ti = e.object({
|
|
2600
2608
|
user_id: e.string(),
|
|
2601
2609
|
last_login: e.string().optional(),
|
|
2602
2610
|
last_ip: e.string().optional(),
|
|
2603
2611
|
login_count: e.number().default(0),
|
|
2604
2612
|
failed_logins: e.array(e.string()).optional(),
|
|
2605
2613
|
last_password_reset: e.string().optional()
|
|
2606
|
-
}),
|
|
2614
|
+
}), Ei = e.object({
|
|
2607
2615
|
user_id: e.string(),
|
|
2608
2616
|
resource_server_identifier: e.string(),
|
|
2609
2617
|
permission_name: e.string(),
|
|
2610
2618
|
organization_id: e.string().optional()
|
|
2611
|
-
}),
|
|
2619
|
+
}), Di = Ei.extend({
|
|
2612
2620
|
tenant_id: e.string(),
|
|
2613
2621
|
created_at: e.string().optional()
|
|
2614
|
-
}),
|
|
2622
|
+
}), Oi = e.array(Di), ki = e.object({
|
|
2615
2623
|
user_id: e.string(),
|
|
2616
2624
|
resource_server_identifier: e.string(),
|
|
2617
2625
|
resource_server_name: e.string(),
|
|
@@ -2619,65 +2627,65 @@ var Fr = e.object({
|
|
|
2619
2627
|
description: e.string().nullable().optional(),
|
|
2620
2628
|
created_at: e.string().optional(),
|
|
2621
2629
|
organization_id: e.string().optional()
|
|
2622
|
-
}),
|
|
2630
|
+
}), Ai = e.array(ki), ji = e.object({
|
|
2623
2631
|
user_id: e.string(),
|
|
2624
2632
|
role_id: e.string(),
|
|
2625
2633
|
organization_id: e.string().optional()
|
|
2626
|
-
}),
|
|
2634
|
+
}), Mi = ji.extend({
|
|
2627
2635
|
tenant_id: e.string(),
|
|
2628
2636
|
created_at: e.string().optional()
|
|
2629
|
-
}),
|
|
2637
|
+
}), Ni = e.array(Mi), Pi = e.object({
|
|
2630
2638
|
id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
|
|
2631
2639
|
name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
|
|
2632
2640
|
description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
|
|
2633
2641
|
is_system: e.boolean().optional(),
|
|
2634
2642
|
metadata: e.record(e.string(), e.any()).optional().openapi({ description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios." })
|
|
2635
|
-
}),
|
|
2643
|
+
}), Fi = Pi.extend({
|
|
2636
2644
|
id: e.string().openapi({ description: "The unique identifier of the role" }),
|
|
2637
2645
|
created_at: e.string().optional(),
|
|
2638
2646
|
updated_at: e.string().optional()
|
|
2639
|
-
}),
|
|
2647
|
+
}), Ii = e.array(Fi), Li = e.object({
|
|
2640
2648
|
logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
|
|
2641
2649
|
colors: e.object({
|
|
2642
2650
|
primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
|
|
2643
2651
|
page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
|
|
2644
2652
|
}).optional()
|
|
2645
|
-
}).optional(),
|
|
2653
|
+
}).optional(), Ri = e.object({
|
|
2646
2654
|
connection_id: e.string().openapi({ description: "ID of the connection" }),
|
|
2647
2655
|
assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
|
|
2648
2656
|
show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
|
|
2649
2657
|
is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
|
|
2650
|
-
}),
|
|
2658
|
+
}), zi = e.object({ client_credentials: e.object({
|
|
2651
2659
|
enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
|
|
2652
2660
|
per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
|
|
2653
2661
|
per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
|
|
2654
|
-
}).optional() }).optional(),
|
|
2662
|
+
}).optional() }).optional(), Bi = e.object({
|
|
2655
2663
|
id: e.string().optional(),
|
|
2656
2664
|
name: e.string().min(1).regex(/^[a-z0-9_-]+$/, { message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores" }).openapi({ description: "The name of the organization. Must be lowercase and can only contain letters, numbers, hyphens, and underscores." }),
|
|
2657
2665
|
display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
|
|
2658
|
-
branding:
|
|
2666
|
+
branding: Li,
|
|
2659
2667
|
metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
|
|
2660
|
-
enabled_connections: e.array(
|
|
2661
|
-
token_quota:
|
|
2662
|
-
}),
|
|
2668
|
+
enabled_connections: e.array(Ri).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
|
|
2669
|
+
token_quota: zi
|
|
2670
|
+
}), Vi = Bi.extend(t.shape).extend({
|
|
2663
2671
|
id: e.string(),
|
|
2664
2672
|
name: e.string().min(1).openapi({ description: "The name of the organization" })
|
|
2665
|
-
}),
|
|
2673
|
+
}), Hi = e.object({
|
|
2666
2674
|
connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
|
|
2667
2675
|
assign_membership_on_login: e.boolean().optional().default(!1),
|
|
2668
2676
|
show_as_button: e.boolean().optional().default(!0),
|
|
2669
2677
|
is_signup_enabled: e.boolean().optional().default(!0)
|
|
2670
|
-
}),
|
|
2678
|
+
}), Ui = Hi.extend({
|
|
2671
2679
|
connection: e.object({
|
|
2672
2680
|
name: e.string().optional(),
|
|
2673
2681
|
strategy: e.string().optional()
|
|
2674
2682
|
}).optional(),
|
|
2675
2683
|
created_at: e.string().optional(),
|
|
2676
2684
|
updated_at: e.string().optional()
|
|
2677
|
-
}),
|
|
2685
|
+
}), Wi = e.array(Ui), Gi = e.object({
|
|
2678
2686
|
user_id: e.string().openapi({ description: "ID of the user" }),
|
|
2679
2687
|
organization_id: e.string().openapi({ description: "ID of the organization" })
|
|
2680
|
-
}),
|
|
2688
|
+
}), Ki = Gi.extend(t.shape).extend({ id: e.string() }), qi = e.object({
|
|
2681
2689
|
idle_session_lifetime: e.number().default(72),
|
|
2682
2690
|
session_lifetime: e.number().default(168),
|
|
2683
2691
|
session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
|
|
@@ -2756,7 +2764,7 @@ var Fr = e.object({
|
|
|
2756
2764
|
}).optional(),
|
|
2757
2765
|
phone_message: e.object({ message: e.string().optional() }).optional()
|
|
2758
2766
|
}).optional()
|
|
2759
|
-
}),
|
|
2767
|
+
}), Ji = e.object({
|
|
2760
2768
|
date: e.string().openapi({
|
|
2761
2769
|
description: "Date these events occurred in ISO 8601 format",
|
|
2762
2770
|
example: "2025-12-19"
|
|
@@ -2781,10 +2789,10 @@ var Fr = e.object({
|
|
|
2781
2789
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2782
2790
|
example: "2025-12-19T00:00:00.000Z"
|
|
2783
2791
|
})
|
|
2784
|
-
}),
|
|
2792
|
+
}), Yi = e.number().openapi({
|
|
2785
2793
|
description: "Number of active users in the last 30 days",
|
|
2786
2794
|
example: 1234
|
|
2787
|
-
}),
|
|
2795
|
+
}), Xi = e.enum([
|
|
2788
2796
|
"active-users",
|
|
2789
2797
|
"logins",
|
|
2790
2798
|
"signups",
|
|
@@ -2796,64 +2804,81 @@ var Fr = e.object({
|
|
|
2796
2804
|
"mfa",
|
|
2797
2805
|
"email-verifications",
|
|
2798
2806
|
"codes-sent"
|
|
2799
|
-
]),
|
|
2807
|
+
]), Zi = e.enum([
|
|
2800
2808
|
"hour",
|
|
2801
2809
|
"day",
|
|
2802
2810
|
"week",
|
|
2803
2811
|
"month"
|
|
2804
|
-
]),
|
|
2812
|
+
]), Qi = e.enum([
|
|
2805
2813
|
"time",
|
|
2806
2814
|
"connection",
|
|
2807
2815
|
"client_id",
|
|
2808
2816
|
"user_type",
|
|
2809
2817
|
"event"
|
|
2810
|
-
]),
|
|
2818
|
+
]), $i = e.enum([
|
|
2811
2819
|
"password",
|
|
2812
2820
|
"social",
|
|
2813
2821
|
"passwordless",
|
|
2814
2822
|
"enterprise"
|
|
2815
|
-
]),
|
|
2823
|
+
]), ea = e.object({
|
|
2816
2824
|
cohort: e.string(),
|
|
2817
2825
|
sessions: e.number(),
|
|
2818
2826
|
active: e.array(e.number())
|
|
2819
|
-
}),
|
|
2827
|
+
}), ta = e.object({
|
|
2820
2828
|
interval: e.literal("week"),
|
|
2821
2829
|
from: e.string(),
|
|
2822
2830
|
to: e.string(),
|
|
2823
|
-
cohorts: e.array(
|
|
2824
|
-
}),
|
|
2831
|
+
cohorts: e.array(ea)
|
|
2832
|
+
}), na = e.object({
|
|
2825
2833
|
cohort: e.string(),
|
|
2826
2834
|
tokens: e.number(),
|
|
2827
2835
|
active: e.array(e.number())
|
|
2828
|
-
}),
|
|
2836
|
+
}), ra = e.object({
|
|
2829
2837
|
interval: e.literal("week"),
|
|
2830
2838
|
from: e.string(),
|
|
2831
2839
|
to: e.string(),
|
|
2832
|
-
cohorts: e.array(
|
|
2833
|
-
}),
|
|
2840
|
+
cohorts: e.array(na)
|
|
2841
|
+
}), ia = e.object({
|
|
2834
2842
|
name: e.string(),
|
|
2835
2843
|
type: e.string()
|
|
2836
|
-
}),
|
|
2844
|
+
}), aa = e.object({
|
|
2837
2845
|
elapsed: e.number(),
|
|
2838
2846
|
rows_read: e.number().optional(),
|
|
2839
2847
|
bytes_read: e.number().optional()
|
|
2840
|
-
}),
|
|
2841
|
-
meta: e.array(
|
|
2848
|
+
}), oa = e.object({
|
|
2849
|
+
meta: e.array(ia),
|
|
2842
2850
|
data: e.array(e.record(e.string(), e.any())),
|
|
2843
2851
|
rows: e.number(),
|
|
2844
2852
|
rows_before_limit_at_least: e.number().optional(),
|
|
2845
|
-
statistics:
|
|
2846
|
-
}),
|
|
2853
|
+
statistics: aa.optional()
|
|
2854
|
+
}), sa = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), ca = e.record(e.string(), e.record(e.string(), e.string())).openapi({
|
|
2847
2855
|
type: "object",
|
|
2848
2856
|
additionalProperties: {
|
|
2849
2857
|
type: "object",
|
|
2850
2858
|
additionalProperties: { type: "string" }
|
|
2851
2859
|
}
|
|
2852
|
-
}),
|
|
2853
|
-
prompt:
|
|
2860
|
+
}), la = e.object({
|
|
2861
|
+
prompt: sa,
|
|
2854
2862
|
language: e.string(),
|
|
2855
|
-
custom_text:
|
|
2856
|
-
}),
|
|
2863
|
+
custom_text: ca
|
|
2864
|
+
}), ua = [
|
|
2865
|
+
"form-content-start",
|
|
2866
|
+
"form-content-end",
|
|
2867
|
+
"form-footer-start",
|
|
2868
|
+
"form-footer-end",
|
|
2869
|
+
"secondary-actions-start",
|
|
2870
|
+
"secondary-actions-end"
|
|
2871
|
+
], da = e.object({
|
|
2872
|
+
"form-content-start": e.string().optional(),
|
|
2873
|
+
"form-content-end": e.string().optional(),
|
|
2874
|
+
"form-footer-start": e.string().optional(),
|
|
2875
|
+
"form-footer-end": e.string().optional(),
|
|
2876
|
+
"secondary-actions-start": e.string().optional(),
|
|
2877
|
+
"secondary-actions-end": e.string().optional()
|
|
2878
|
+
}).strict(), fa = e.record(e.string(), da), pa = e.object({
|
|
2879
|
+
prompt: e.string(),
|
|
2880
|
+
partials: fa
|
|
2881
|
+
}), ma = {
|
|
2857
2882
|
EMAIL: "email",
|
|
2858
2883
|
SMS: "sms",
|
|
2859
2884
|
USERNAME_PASSWORD: "Username-Password-Authentication",
|
|
@@ -2869,17 +2894,17 @@ var Fr = e.object({
|
|
|
2869
2894
|
WAAD: "waad",
|
|
2870
2895
|
ADFS: "adfs",
|
|
2871
2896
|
OKTA: "okta"
|
|
2872
|
-
},
|
|
2897
|
+
}, ha = {
|
|
2873
2898
|
DATABASE: "database",
|
|
2874
2899
|
SOCIAL: "social",
|
|
2875
2900
|
PASSWORDLESS: "passwordless"
|
|
2876
|
-
},
|
|
2877
|
-
function
|
|
2878
|
-
return e === "auth0" || e ===
|
|
2901
|
+
}, ga = "auth0";
|
|
2902
|
+
function _a(e) {
|
|
2903
|
+
return e === "auth0" || e === ma.USERNAME_PASSWORD || e === "auth2";
|
|
2879
2904
|
}
|
|
2880
2905
|
//#endregion
|
|
2881
2906
|
//#region src/types/AuthenticationMethod.ts
|
|
2882
|
-
var
|
|
2907
|
+
var va = e.enum([
|
|
2883
2908
|
"phone",
|
|
2884
2909
|
"totp",
|
|
2885
2910
|
"email",
|
|
@@ -2887,9 +2912,9 @@ var pa = e.enum([
|
|
|
2887
2912
|
"webauthn-roaming",
|
|
2888
2913
|
"webauthn-platform",
|
|
2889
2914
|
"passkey"
|
|
2890
|
-
]),
|
|
2915
|
+
]), ya = e.object({
|
|
2891
2916
|
user_id: e.string(),
|
|
2892
|
-
type:
|
|
2917
|
+
type: va,
|
|
2893
2918
|
phone_number: e.string().optional(),
|
|
2894
2919
|
totp_secret: e.string().optional(),
|
|
2895
2920
|
credential_id: e.string().optional(),
|
|
@@ -2900,7 +2925,7 @@ var pa = e.enum([
|
|
|
2900
2925
|
friendly_name: e.string().optional(),
|
|
2901
2926
|
confirmed: e.boolean().default(!1)
|
|
2902
2927
|
});
|
|
2903
|
-
function
|
|
2928
|
+
function ba(t, n) {
|
|
2904
2929
|
t.type === "phone" && !t.phone_number && n.addIssue({
|
|
2905
2930
|
code: e.ZodIssueCode.custom,
|
|
2906
2931
|
message: "phone_number is required when type is 'phone'",
|
|
@@ -2923,15 +2948,15 @@ function ha(t, n) {
|
|
|
2923
2948
|
path: ["public_key"]
|
|
2924
2949
|
}));
|
|
2925
2950
|
}
|
|
2926
|
-
var
|
|
2951
|
+
var xa = ya.superRefine(ba), Sa = ya.extend({
|
|
2927
2952
|
id: e.string(),
|
|
2928
2953
|
created_at: e.string(),
|
|
2929
2954
|
updated_at: e.string()
|
|
2930
|
-
}).superRefine(
|
|
2955
|
+
}).superRefine(ba), Ca = e.object({
|
|
2931
2956
|
id: e.string().optional(),
|
|
2932
2957
|
created_at: e.string().datetime({ offset: !0 }).optional(),
|
|
2933
2958
|
updated_at: e.string().datetime({ offset: !0 }).optional()
|
|
2934
|
-
}),
|
|
2959
|
+
}), wa = {
|
|
2935
2960
|
"post-user-login": {
|
|
2936
2961
|
accessToken: ["setCustomClaim"],
|
|
2937
2962
|
idToken: ["setCustomClaim"],
|
|
@@ -2946,15 +2971,20 @@ var ga = ma.superRefine(ha), _a = ma.extend({
|
|
|
2946
2971
|
access: ["deny"]
|
|
2947
2972
|
},
|
|
2948
2973
|
"pre-user-registration": {
|
|
2949
|
-
user: [
|
|
2950
|
-
|
|
2974
|
+
user: [
|
|
2975
|
+
"setUserMetadata",
|
|
2976
|
+
"setAppMetadata",
|
|
2977
|
+
"setLinkedTo"
|
|
2978
|
+
],
|
|
2979
|
+
access: ["deny"],
|
|
2980
|
+
validation: ["error"]
|
|
2951
2981
|
},
|
|
2952
2982
|
"post-user-registration": {},
|
|
2953
2983
|
"custom-token-exchange": {
|
|
2954
2984
|
authentication: ["setUserById", "setUserByConnection"],
|
|
2955
2985
|
access: ["deny", "rejectInvalidSubjectToken"]
|
|
2956
2986
|
}
|
|
2957
|
-
},
|
|
2987
|
+
}, Ta = {
|
|
2958
2988
|
"post-user-login": "onExecutePostLogin",
|
|
2959
2989
|
"credentials-exchange": "onExecuteCredentialsExchange",
|
|
2960
2990
|
"pre-user-registration": "onExecutePreUserRegistration",
|
|
@@ -2963,7 +2993,7 @@ var ga = ma.superRefine(ha), _a = ma.extend({
|
|
|
2963
2993
|
};
|
|
2964
2994
|
//#endregion
|
|
2965
2995
|
//#region src/utils/user-id.ts
|
|
2966
|
-
function
|
|
2996
|
+
function Ea(e) {
|
|
2967
2997
|
let t = e.indexOf("|"), n = e.slice(0, t), r = e.slice(t + 1);
|
|
2968
2998
|
if (t === -1 || !n || !r) throw Error(`Invalid user_id: ${e}`);
|
|
2969
2999
|
return {
|
|
@@ -2973,10 +3003,10 @@ function xa(e) {
|
|
|
2973
3003
|
}
|
|
2974
3004
|
//#endregion
|
|
2975
3005
|
//#region src/utils/http.ts
|
|
2976
|
-
var
|
|
3006
|
+
var Da = "x-authhero-preserve-location";
|
|
2977
3007
|
//#endregion
|
|
2978
3008
|
//#region src/utils/passthrough.ts
|
|
2979
|
-
function
|
|
3009
|
+
function Oa(e) {
|
|
2980
3010
|
let { primary: t, secondaries: n, syncMethods: r = [
|
|
2981
3011
|
"create",
|
|
2982
3012
|
"rawCreate",
|
|
@@ -3010,12 +3040,12 @@ function Ca(e) {
|
|
|
3010
3040
|
} : i.bind(e) : i;
|
|
3011
3041
|
} });
|
|
3012
3042
|
}
|
|
3013
|
-
function
|
|
3043
|
+
function ka(e) {
|
|
3014
3044
|
return e;
|
|
3015
3045
|
}
|
|
3016
3046
|
//#endregion
|
|
3017
3047
|
//#region src/utils/connection-attributes.ts
|
|
3018
|
-
function
|
|
3048
|
+
function Aa(e) {
|
|
3019
3049
|
let t = e?.options;
|
|
3020
3050
|
if (!t) return {
|
|
3021
3051
|
usernameIdentifierActive: !1,
|
|
@@ -3038,35 +3068,35 @@ function Ta(e) {
|
|
|
3038
3068
|
}
|
|
3039
3069
|
//#endregion
|
|
3040
3070
|
//#region src/utils/guards.ts
|
|
3041
|
-
function
|
|
3071
|
+
function ja(e) {
|
|
3042
3072
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
3043
3073
|
}
|
|
3044
3074
|
//#endregion
|
|
3045
3075
|
//#region src/utils/base64url.ts
|
|
3046
|
-
function
|
|
3076
|
+
function Ma(e) {
|
|
3047
3077
|
let t = "";
|
|
3048
3078
|
for (let n of e) t += String.fromCharCode(n);
|
|
3049
3079
|
return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
3050
3080
|
}
|
|
3051
|
-
function
|
|
3081
|
+
function Na(e) {
|
|
3052
3082
|
let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
|
|
3053
3083
|
for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
|
|
3054
3084
|
return r;
|
|
3055
3085
|
}
|
|
3056
|
-
function
|
|
3057
|
-
return
|
|
3086
|
+
function Pa(e) {
|
|
3087
|
+
return Ma(new TextEncoder().encode(e));
|
|
3058
3088
|
}
|
|
3059
|
-
function
|
|
3060
|
-
return new TextDecoder().decode(
|
|
3089
|
+
function Fa(e) {
|
|
3090
|
+
return new TextDecoder().decode(Na(e));
|
|
3061
3091
|
}
|
|
3062
3092
|
//#endregion
|
|
3063
3093
|
//#region src/utils/base64.ts
|
|
3064
|
-
function
|
|
3094
|
+
function Ia(e) {
|
|
3065
3095
|
let t = "";
|
|
3066
3096
|
for (let n of e) t += String.fromCharCode(n);
|
|
3067
3097
|
return btoa(t);
|
|
3068
3098
|
}
|
|
3069
|
-
function
|
|
3099
|
+
function La(e) {
|
|
3070
3100
|
let t = atob(e), n = new Uint8Array(t.length);
|
|
3071
3101
|
for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
|
|
3072
3102
|
return n;
|
|
@@ -3074,12 +3104,12 @@ function Ma(e) {
|
|
|
3074
3104
|
//#endregion
|
|
3075
3105
|
//#region src/utils/base32.ts
|
|
3076
3106
|
var X = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
|
|
3077
|
-
function
|
|
3107
|
+
function Ra(e) {
|
|
3078
3108
|
let t = "", n = 0, r = 0;
|
|
3079
3109
|
for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += X[n >> r & 31];
|
|
3080
3110
|
return r > 0 && (t += X[n << 5 - r & 31]), t;
|
|
3081
3111
|
}
|
|
3082
|
-
function
|
|
3112
|
+
function za(e) {
|
|
3083
3113
|
let t = e.replace(/=+$/, "").toUpperCase(), n = t.length % 8;
|
|
3084
3114
|
if (n === 1 || n === 3 || n === 6) throw Error(`Invalid base32 length: ${t.length}`);
|
|
3085
3115
|
let r = [], i = 0, a = 0;
|
|
@@ -3093,19 +3123,19 @@ function Pa(e) {
|
|
|
3093
3123
|
}
|
|
3094
3124
|
//#endregion
|
|
3095
3125
|
//#region src/utils/hex.ts
|
|
3096
|
-
function
|
|
3126
|
+
function Ba(e) {
|
|
3097
3127
|
let t = e instanceof Uint8Array ? e : new Uint8Array(e), n = "";
|
|
3098
3128
|
for (let e of t) n += e.toString(16).padStart(2, "0");
|
|
3099
3129
|
return n;
|
|
3100
3130
|
}
|
|
3101
3131
|
//#endregion
|
|
3102
3132
|
//#region src/utils/cursor.ts
|
|
3103
|
-
function
|
|
3104
|
-
return
|
|
3133
|
+
function Va(e) {
|
|
3134
|
+
return Pa(JSON.stringify(e));
|
|
3105
3135
|
}
|
|
3106
|
-
function
|
|
3136
|
+
function Ha(e) {
|
|
3107
3137
|
try {
|
|
3108
|
-
let t = JSON.parse(
|
|
3138
|
+
let t = JSON.parse(Fa(e));
|
|
3109
3139
|
return t && typeof t == "object" && typeof t.i == "string" ? t : null;
|
|
3110
3140
|
} catch {
|
|
3111
3141
|
return null;
|
|
@@ -3113,7 +3143,7 @@ function La(e) {
|
|
|
3113
3143
|
}
|
|
3114
3144
|
//#endregion
|
|
3115
3145
|
//#region src/utils/lucene.ts
|
|
3116
|
-
function
|
|
3146
|
+
function Ua(e) {
|
|
3117
3147
|
let t = [], n = "", r = !1;
|
|
3118
3148
|
for (let i = 0; i < e.length; i++) {
|
|
3119
3149
|
let a = e[i];
|
|
@@ -3121,53 +3151,53 @@ function Ra(e) {
|
|
|
3121
3151
|
}
|
|
3122
3152
|
return n.trim() && t.push(n.trim()), t;
|
|
3123
3153
|
}
|
|
3124
|
-
function
|
|
3154
|
+
function Wa(e) {
|
|
3125
3155
|
return e.replace(/\\([\\"+\-!(){}[\]^~*?:/&|])/g, "$1");
|
|
3126
3156
|
}
|
|
3127
|
-
function
|
|
3157
|
+
function Ga(e) {
|
|
3128
3158
|
return `"${e.replace(/([\\"])/g, "\\$1")}"`;
|
|
3129
3159
|
}
|
|
3130
|
-
function
|
|
3160
|
+
function Ka(e) {
|
|
3131
3161
|
let t = e.trim();
|
|
3132
|
-
return
|
|
3162
|
+
return Wa(t.length > 1 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t);
|
|
3133
3163
|
}
|
|
3134
|
-
function
|
|
3164
|
+
function qa(e) {
|
|
3135
3165
|
let t = [], n = [];
|
|
3136
|
-
for (let r of
|
|
3166
|
+
for (let r of Ua(e)) /^or$/i.test(r) ? (t.push(n), n = []) : n.push(r);
|
|
3137
3167
|
return t.push(n), t.filter((e) => e.length > 0);
|
|
3138
3168
|
}
|
|
3139
|
-
function
|
|
3169
|
+
function Ja(e, t) {
|
|
3140
3170
|
let n = new Set(t), r = (e) => {
|
|
3141
3171
|
let t = e.replace(/^([^:]+)=/, "$1:"), r = t.startsWith("-") ? t.slice(1) : t;
|
|
3142
3172
|
if (r.startsWith("_exists_:")) return n.has(r.slice(9));
|
|
3143
3173
|
let i = r.indexOf(":");
|
|
3144
3174
|
return i > 0 ? n.has(r.slice(0, i)) : !0;
|
|
3145
3175
|
};
|
|
3146
|
-
return
|
|
3176
|
+
return qa(e).map((e) => e.filter(r).join(" ")).filter((e) => e.length > 0).join(" OR ");
|
|
3147
3177
|
}
|
|
3148
|
-
var
|
|
3149
|
-
function
|
|
3150
|
-
return
|
|
3178
|
+
var Ya = /^[^\s@%_*?"'()[\]{}^~:\\/]+@[^\s@%_*?"'()[\]{}^~:\\/]+\.[^\s@%_*?"'()[\]{}^~:\\/]+$/;
|
|
3179
|
+
function Xa(e) {
|
|
3180
|
+
return Ya.test(e);
|
|
3151
3181
|
}
|
|
3152
3182
|
//#endregion
|
|
3153
3183
|
//#region src/utils/session-retention.ts
|
|
3154
3184
|
var Z = 10080 * 60 * 1e3, Q = 4320 * 60 * 1e3;
|
|
3155
|
-
function
|
|
3185
|
+
function Za(e) {
|
|
3156
3186
|
return Math.floor((e + Q) / Z);
|
|
3157
3187
|
}
|
|
3158
3188
|
function $(e) {
|
|
3159
3189
|
return e * Z - Q;
|
|
3160
3190
|
}
|
|
3161
|
-
function
|
|
3162
|
-
let n =
|
|
3191
|
+
function Qa(e, t = Date.now()) {
|
|
3192
|
+
let n = Za(t), r = n - e + 1;
|
|
3163
3193
|
return {
|
|
3164
3194
|
currentWeek: n,
|
|
3165
3195
|
firstWeek: r,
|
|
3166
3196
|
sinceMs: $(r)
|
|
3167
3197
|
};
|
|
3168
3198
|
}
|
|
3169
|
-
function
|
|
3170
|
-
let { currentWeek: r, firstWeek: i, sinceMs: a } =
|
|
3199
|
+
function $a(e, t, n = Date.now()) {
|
|
3200
|
+
let { currentWeek: r, firstWeek: i, sinceMs: a } = Qa(t, n), o = /* @__PURE__ */ new Map();
|
|
3171
3201
|
for (let t of e) {
|
|
3172
3202
|
if (t.created_week < i || t.created_week > r) continue;
|
|
3173
3203
|
let e = Math.min(Math.max(0, t.used_week - t.created_week), r - t.created_week), n = o.get(t.created_week);
|
|
@@ -3190,8 +3220,8 @@ function Ja(e, t, n = Date.now()) {
|
|
|
3190
3220
|
cohorts: s
|
|
3191
3221
|
};
|
|
3192
3222
|
}
|
|
3193
|
-
function
|
|
3194
|
-
let r =
|
|
3223
|
+
function eo(e, t, n = Date.now()) {
|
|
3224
|
+
let r = $a(e, t, n);
|
|
3195
3225
|
return {
|
|
3196
3226
|
interval: r.interval,
|
|
3197
3227
|
from: r.from,
|
|
@@ -3205,16 +3235,16 @@ function Ya(e, t, n = Date.now()) {
|
|
|
3205
3235
|
}
|
|
3206
3236
|
//#endregion
|
|
3207
3237
|
//#region src/utils/username-validation.ts
|
|
3208
|
-
var
|
|
3209
|
-
function
|
|
3210
|
-
return
|
|
3238
|
+
var to = /^[A-Za-z0-9_+\-.!#$'^`~]+$/, no = "Username can only contain alphanumeric characters and the following characters: '_', '+', '-', '.', '!', '#', '$', \"'\", '^', '`', '~'", ro = "Usernames must not contain \"@\". Use the email field for email addresses.";
|
|
3239
|
+
function io(e) {
|
|
3240
|
+
return to.test(e);
|
|
3211
3241
|
}
|
|
3212
|
-
function
|
|
3242
|
+
function ao(e) {
|
|
3213
3243
|
return e.toLowerCase();
|
|
3214
3244
|
}
|
|
3215
|
-
function
|
|
3216
|
-
if (e.includes("@")) return
|
|
3217
|
-
if (
|
|
3245
|
+
function oo(e, t) {
|
|
3246
|
+
if (e.includes("@")) return ro;
|
|
3247
|
+
if (!io(e)) return no;
|
|
3218
3248
|
if (t) {
|
|
3219
3249
|
let n = [...e].length;
|
|
3220
3250
|
if (n < t.min) return `Username must be at least ${t.min} characters`;
|
|
@@ -3224,15 +3254,15 @@ function to(e, t) {
|
|
|
3224
3254
|
}
|
|
3225
3255
|
//#endregion
|
|
3226
3256
|
//#region src/utils/feature-not-supported.ts
|
|
3227
|
-
var
|
|
3257
|
+
var so = class extends Error {
|
|
3228
3258
|
feature;
|
|
3229
3259
|
adapter;
|
|
3230
3260
|
constructor(e, t, n) {
|
|
3231
3261
|
super(`${e} is not supported by the ${t} adapter.` + (n ? ` ${n}` : "")), this.name = "FeatureNotSupportedError", this.feature = e, this.adapter = t;
|
|
3232
3262
|
}
|
|
3233
3263
|
};
|
|
3234
|
-
function
|
|
3264
|
+
function co(e) {
|
|
3235
3265
|
return e instanceof Error && e.name === "FeatureNotSupportedError";
|
|
3236
3266
|
}
|
|
3237
3267
|
//#endregion
|
|
3238
|
-
export {
|
|
3268
|
+
export { be as Auth0ActionEnum, Gn as Auth0Client, T as AuthorizationResponseMode, w as AuthorizationResponseType, nt as CodeChallengeMethod, S as ComponentCategory, x as ComponentType, ga as DATABASE_CONNECTION_STRATEGY, xe as EmailActionEnum, Xt as FORM_FIELD_TYPES, so as FeatureNotSupportedError, ye as FlowActionTypeEnum, Pr as GrantType, vr as KNOWN_TENANT_OPERATION_ENGINES, Kn as LocationInfo, U as LogTypes, In as LoginSessionState, Q as MONDAY_EPOCH_SHIFT_MS, Ke as NodeType, Da as PRESERVE_LOCATION_HEADER, Yr as RESERVED_SUBJECT_TOKEN_TYPE_PREFIXES, Te as RedirectTargetEnum, ma as Strategy, ha as StrategyType, Tr as TERMINAL_TENANT_OPERATION_ROW_STATUSES, Jr as TOKEN_EXCHANGE_PROFILE_TYPE, wa as TRIGGER_API_SHAPES, Ta as TRIGGER_FUNCTION_NAMES, ro as USERNAME_CONTAINS_AT_MESSAGE, no as USERNAME_INVALID_CHARACTERS_MESSAGE, Z as WEEK_MS, r as actionDependencySchema, ne as actionExecutionErrorSchema, se as actionExecutionInsertSchema, ie as actionExecutionLogEntrySchema, ae as actionExecutionLogsSchema, re as actionExecutionResultSchema, oe as actionExecutionSchema, l as actionExecutionStatusSchema, c as actionExecutionTriggerIdSchema, a as actionInsertSchema, Ye as actionNodeSchema, te as actionResponseSchema, s as actionSchema, ee as actionSecretNameSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, ce as actionVersionInsertSchema, le as actionVersionSchema, Yi as activeUsersResponseSchema, de as actorSchema, d as addressSchema, pn as allowedTriggersForHook, ia as analyticsColumnMetaSchema, Qi as analyticsGroupBySchema, Zi as analyticsIntervalSchema, oa as analyticsQueryResponseSchema, Xi as analyticsResourceSchema, aa as analyticsStatisticsSchema, $i as analyticsUserTypeSchema, or as attackProtectionSchema, ue as auditCategorySchema, _e as auditEventInsertSchema, ve as auditEventSchema, ge as auth0ClientSchema, tt as auth0FlowInsertSchema, et as auth0FlowSchema, Ae as auth0QuerySchema, Ce as auth0UpdateUserActionSchema, Ne as auth0UserResponseSchema, at as authParamsSchema, xa as authenticationMethodInsertSchema, Sa as authenticationMethodSchema, va as authenticationMethodTypeSchema, f as baseUserSchema, qt as blockComponentSchema, Ir as bordersSchema, ot as brandingSchema, rr as breachedPasswordDetectionSchema, ir as bruteForceProtectionSchema, eo as buildRefreshTokenRetention, $a as buildSessionRetention, Ve as buttonComponentSchema, it as claimsRequestSchema, g as clientGrantInsertSchema, Re as clientGrantListSchema, _ as clientGrantSchema, h as clientInsertSchema, y as clientRegistrationTokenInsertSchema, ze as clientRegistrationTokenSchema, v as clientRegistrationTokenTypeSchema, Le as clientSchema, ct as codeInsertSchema, lt as codeSchema, st as codeTypeSchema, Lr as colorsSchema, an as componentMessageSchema, Ge as componentSchema, dt as connectionInsertSchema, ut as connectionOptionsSchema, ft as connectionSchema, b as coordinatesSchema, Oa as createPassthroughAdapter, ka as createWriteOnlyAdapter, _t as customDomainCertificateUploadSchema, D as customDomainInsertSchema, mt as customDomainSchema, ht as customDomainUpdateSchema, gt as customDomainWithTenantIdSchema, la as customTextEntrySchema, ca as customTextSchema, Ji as dailyStatsSchema, za as decodeBase32, La as decodeBase64, Na as decodeBase64Url, Fa as decodeBase64UrlString, Ha as decodeCursor, ci as emailProviderSchema, li as emailTemplateNameSchema, ui as emailTemplateSchema, Se as emailVerificationRulesSchema, we as emailVerifyActionSchema, Ra as encodeBase32, Ia as encodeBase64, Ma as encodeBase64Url, Pa as encodeBase64UrlString, Va as encodeCursor, Ba as encodeHex, $e as endingSchema, Ga as escapeLuceneValue, Yt as fieldComponentSchema, De as flowActionStepSchema, Oe as flowInsertSchema, ke as flowSchema, Ue as flowsFieldComponentSchema, Je as flowsFlowNodeSchema, qe as flowsStepNodeSchema, K as fontDetailsSchema, Rr as fontsSchema, Zt as formControlSchema, nn as formInsertSchema, M as formNodeComponentDefinition, tn as formNodeSchema, rn as formSchema, We as genericComponentSchema, Xe as genericNodeSchema, Aa as getConnectionIdentifierConfig, Wn as getLogTypeCategory, Un as getLogTypeDescription, Ci as grantInsertSchema, wi as grantSchema, Gr as handlerConfigSchema, Dn as hookCodeInsertSchema, On as hookCodeSchema, bn as hookInsertSchema, z as hookPageId, En as hookSchema, B as hookTemplateId, mn as hookTemplates, Me as identitySchema, Ca as importMetadataSchema, jn as inviteInsertSchema, Mn as inviteSchema, An as inviteeSchema, kn as inviterSchema, ln as isBlockComponent, _a as isDatabaseConnectionStrategy, Xa as isEmailSearchTerm, co as isFeatureNotSupportedError, dn as isFieldComponent, ja as isPlainObject, un as isWidgetComponent, Pn as jwksKeySchema, Nn as jwksSchema, He as legalComponentSchema, he as locationInfoSchema, qn as logInsertSchema, Jn as logSchema, Xn as logStreamFilterSchema, Zn as logStreamInsertSchema, Qn as logStreamSchema, W as logStreamStatusSchema, Yn as logStreamTypeSchema, Hn as logTypeCategories, Vn as logTypeDescriptions, H as loginSessionAuthStrategySchema, Rn as loginSessionInsertSchema, zn as loginSessionSchema, Ln as loginSessionStateSchema, Wr as matchSchema, $n as migrationProviderTypeSchema, er as migrationSourceCredentialsSchema, tr as migrationSourceInsertSchema, nr as migrationSourceSchema, Ze as nodeSchema, ao as normalizeUsername, Fn as openIDConfigurationSchema, Li as organizationBrandingSchema, Hi as organizationConnectionInsertSchema, Wi as organizationConnectionListSchema, Ui as organizationConnectionSchema, Ri as organizationEnabledConnectionSchema, Bi as organizationInsertSchema, Vi as organizationSchema, zi as organizationTokenQuotaSchema, zr as pageBackgroundSchema, Ea as parseUserId, sr as passwordInsertSchema, cr as passwordSchema, u as profileDataSchema, ua as promptPartialInsertionPoints, pa as promptPartialsEntrySchema, fa as promptPartialsSchema, sa as promptScreenSchema, Ur as promptSettingSchema, q as proxyRouteInsertSchema, Kr as proxyRouteSchema, qr as proxyRouteUpdateSchema, Ee as redirectActionSchema, di as refreshTokenInsertSchema, na as refreshTokenRetentionCohortSchema, ra as refreshTokenRetentionResponseSchema, fi as refreshTokenSchema, pe as requestContextSchema, _i as resourceServerInsertSchema, yi as resourceServerListSchema, gi as resourceServerOptionsSchema, vi as resourceServerSchema, hi as resourceServerScopeSchema, me as responseContextSchema, Be as richTextComponentSchema, Pi as roleInsertSchema, Ii as roleListSchema, bi as rolePermissionInsertSchema, Si as rolePermissionListSchema, xi as rolePermissionSchema, Fi as roleSchema, jr as rolloutInsertSchema, kr as rolloutKindSchema, Mr as rolloutSchema, Ar as rolloutStatusSchema, Nr as rolloutUpdateSchema, Ja as sanitizeLuceneQuery, ni as scimConfigurationInsertSchema, ri as scimConfigurationSchema, oi as scimExternalIdInsertSchema, si as scimExternalIdSchema, ti as scimMappingEntrySchema, ii as scimTokenInsertSchema, ai as scimTokenSchema, on as screenLinkSchema, ur as sessionInsertSchema, ea as sessionRetentionCohortSchema, ta as sessionRetentionResponseSchema, Qa as sessionRetentionWindow, dr as sessionSchema, fr as signingKeySchema, mi as smsProviderSchema, pi as smsSendParamsSchema, qa as splitLuceneOrGroups, Qe as startSchema, J as subjectTokenTypeSchema, ar as suspiciousIpThrottlingSchema, fe as targetSchema, pr as tenantInsertSchema, _r as tenantOperationEngineSchema, Cr as tenantOperationEventInsertSchema, Sr as tenantOperationEventOutcomeSchema, wr as tenantOperationEventSchema, yr as tenantOperationInsertSchema, hr as tenantOperationKindSchema, Er as tenantOperationRowInsertSchema, Or as tenantOperationRowOutcomeSchema, Dr as tenantOperationRowSchema, G as tenantOperationRowStatusSchema, br as tenantOperationSchema, gr as tenantOperationStatusSchema, xr as tenantOperationUpdateSchema, mr as tenantSchema, qi as tenantSettingsSchema, Vr as themeInsertSchema, Hr as themeSchema, Xr as tokenExchangeJwtAlgorithmSchema, Y as tokenExchangeJwtVerificationSchema, Qr as tokenExchangeProfileInsertSchema, $r as tokenExchangeProfileSchema, ei as tokenExchangeProfileUpdateSchema, Zr as tokenExchangeUserMappingSchema, Fr as tokenResponseSchema, Ua as tokenizeLuceneQuery, je as totalsSchema, sn as uiScreenPartialsSchema, cn as uiScreenSchema, Wa as unescapeLuceneValue, Ka as unquoteLuceneValue, Ti as userActivitySchema, p as userInsertSchema, Gi as userOrganizationInsertSchema, Ki as userOrganizationSchema, Ei as userPermissionInsertSchema, Oi as userPermissionListSchema, Di as userPermissionSchema, Ai as userPermissionWithDetailsListSchema, ki as userPermissionWithDetailsSchema, Pe as userResponseSchema, ji as userRoleInsertSchema, Ni as userRoleListSchema, Mi as userRoleSchema, m as userSchema, io as usernameHasOnlyAllowedCharacters, oo as validateUsername, pt as verificationMethodsSchema, Za as weekIndex, $ as weekStartMs, Jt as widgetComponentSchema, Br as widgetSchema };
|