@authhero/adapter-interfaces 4.11.0 → 4.13.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 +293 -16
- package/dist/adapter-interfaces.mjs +718 -663
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/TenantOperationRows.d.ts +57 -0
- package/dist/types/adapters/TenantOperations.d.ts +30 -0
- package/dist/types/adapters/index.d.ts +8 -0
- package/dist/types/types/Action.d.ts +40 -0
- package/dist/types/types/Code.d.ts +5 -2
- package/dist/types/types/TenantOperation.d.ts +28 -12
- package/dist/types/types/TenantOperationRow.d.ts +86 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/utils/feature-not-supported.d.ts +26 -0
- package/dist/types/utils/http.d.ts +12 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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),
|
|
36
|
+
}).extend(t.shape), c = e.object({ name: e.string() }), ee = s.extend({ secrets: e.array(c).optional() }), l = e.string(), te = 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: l,
|
|
68
|
+
status: te,
|
|
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(),
|
|
@@ -123,30 +123,30 @@ var t = e.object({
|
|
|
123
123
|
user_agent: e.string().optional(),
|
|
124
124
|
correlation_id: e.string().optional(),
|
|
125
125
|
redirect_uri: e.string().optional()
|
|
126
|
-
}),
|
|
126
|
+
}), me = e.object({
|
|
127
127
|
status_code: e.number(),
|
|
128
128
|
body: e.unknown().optional()
|
|
129
|
-
}),
|
|
129
|
+
}), he = e.object({
|
|
130
130
|
country_code: e.string(),
|
|
131
131
|
city_name: e.string(),
|
|
132
132
|
latitude: e.string(),
|
|
133
133
|
longitude: e.string(),
|
|
134
134
|
time_zone: e.string(),
|
|
135
135
|
continent_code: e.string()
|
|
136
|
-
}),
|
|
136
|
+
}), ge = e.object({
|
|
137
137
|
name: e.string(),
|
|
138
138
|
version: e.string(),
|
|
139
139
|
env: e.record(e.string(), e.string()).optional()
|
|
140
|
-
}),
|
|
140
|
+
}), _e = e.object({
|
|
141
141
|
tenant_id: e.string(),
|
|
142
142
|
event_type: e.string(),
|
|
143
143
|
log_type: e.string(),
|
|
144
144
|
description: e.string().optional(),
|
|
145
|
-
category:
|
|
146
|
-
actor:
|
|
147
|
-
target:
|
|
148
|
-
request:
|
|
149
|
-
response:
|
|
145
|
+
category: ue,
|
|
146
|
+
actor: de,
|
|
147
|
+
target: fe,
|
|
148
|
+
request: pe,
|
|
149
|
+
response: me.optional(),
|
|
150
150
|
connection: e.string().optional(),
|
|
151
151
|
connection_id: e.string().optional(),
|
|
152
152
|
client_name: e.string().optional(),
|
|
@@ -154,29 +154,29 @@ var t = e.object({
|
|
|
154
154
|
strategy_type: e.string().optional(),
|
|
155
155
|
audience: e.string().optional(),
|
|
156
156
|
scope: e.string().optional(),
|
|
157
|
-
location:
|
|
158
|
-
auth0_client:
|
|
157
|
+
location: he.optional(),
|
|
158
|
+
auth0_client: ge.optional(),
|
|
159
159
|
hostname: e.string(),
|
|
160
160
|
is_mobile: e.boolean().optional(),
|
|
161
161
|
timestamp: e.string()
|
|
162
|
-
}),
|
|
162
|
+
}), ve = _e.extend({ id: e.string() }), ye = e.enum([
|
|
163
163
|
"AUTH0",
|
|
164
164
|
"EMAIL",
|
|
165
165
|
"REDIRECT"
|
|
166
|
-
]),
|
|
166
|
+
]), be = e.enum([
|
|
167
167
|
"CREATE_USER",
|
|
168
168
|
"GET_USER",
|
|
169
169
|
"UPDATE_USER",
|
|
170
170
|
"SEND_REQUEST",
|
|
171
171
|
"SEND_EMAIL"
|
|
172
|
-
]),
|
|
172
|
+
]), xe = e.enum(["VERIFY_EMAIL"]), Se = e.object({
|
|
173
173
|
require_mx_record: e.boolean().optional(),
|
|
174
174
|
block_aliases: e.boolean().optional(),
|
|
175
175
|
block_free_emails: e.boolean().optional(),
|
|
176
176
|
block_disposable_emails: e.boolean().optional(),
|
|
177
177
|
blocklist: e.array(e.string()).optional(),
|
|
178
178
|
allowlist: e.array(e.string()).optional()
|
|
179
|
-
}),
|
|
179
|
+
}), Ce = e.object({
|
|
180
180
|
id: e.string(),
|
|
181
181
|
alias: e.string().max(100).optional(),
|
|
182
182
|
type: e.literal("AUTH0"),
|
|
@@ -188,7 +188,7 @@ var t = e.object({
|
|
|
188
188
|
user_id: e.string(),
|
|
189
189
|
changes: e.record(e.string(), e.any())
|
|
190
190
|
})
|
|
191
|
-
}),
|
|
191
|
+
}), we = e.object({
|
|
192
192
|
id: e.string(),
|
|
193
193
|
alias: e.string().max(100).optional(),
|
|
194
194
|
type: e.literal("EMAIL"),
|
|
@@ -197,13 +197,13 @@ var t = e.object({
|
|
|
197
197
|
mask_output: e.boolean().optional(),
|
|
198
198
|
params: e.object({
|
|
199
199
|
email: e.string(),
|
|
200
|
-
rules:
|
|
200
|
+
rules: Se.optional()
|
|
201
201
|
})
|
|
202
|
-
}),
|
|
202
|
+
}), Te = e.enum([
|
|
203
203
|
"change-email",
|
|
204
204
|
"account",
|
|
205
205
|
"custom"
|
|
206
|
-
]),
|
|
206
|
+
]), Ee = e.object({
|
|
207
207
|
id: e.string(),
|
|
208
208
|
alias: e.string().max(100).optional(),
|
|
209
209
|
type: e.literal("REDIRECT"),
|
|
@@ -211,32 +211,32 @@ var t = e.object({
|
|
|
211
211
|
allow_failure: e.boolean().optional(),
|
|
212
212
|
mask_output: e.boolean().optional(),
|
|
213
213
|
params: e.object({
|
|
214
|
-
target:
|
|
214
|
+
target: Te.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
|
|
215
215
|
custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
|
|
216
216
|
})
|
|
217
|
-
}),
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
]),
|
|
217
|
+
}), De = e.union([
|
|
218
|
+
Ce,
|
|
219
|
+
we,
|
|
220
|
+
Ee
|
|
221
|
+
]), Oe = e.object({
|
|
222
222
|
name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
|
|
223
|
-
actions: e.array(
|
|
224
|
-
}),
|
|
223
|
+
actions: e.array(De).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
|
|
224
|
+
}), ke = Oe.extend(t.shape).extend({ id: e.string().openapi({
|
|
225
225
|
description: "Unique identifier for the flow",
|
|
226
226
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
227
|
-
}) }),
|
|
227
|
+
}) }), Ae = e.object({
|
|
228
228
|
page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
|
|
229
229
|
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." }),
|
|
230
230
|
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" }),
|
|
231
231
|
sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
|
|
232
232
|
q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
|
|
233
|
-
}),
|
|
233
|
+
}), je = e.object({
|
|
234
234
|
start: e.number(),
|
|
235
235
|
limit: e.number(),
|
|
236
236
|
length: e.number(),
|
|
237
237
|
total: e.number().optional(),
|
|
238
238
|
next: e.string().optional()
|
|
239
|
-
}),
|
|
239
|
+
}), u = e.object({
|
|
240
240
|
email: e.string().optional(),
|
|
241
241
|
email_verified: e.boolean().optional(),
|
|
242
242
|
name: e.string().optional(),
|
|
@@ -245,7 +245,7 @@ var t = e.object({
|
|
|
245
245
|
phone_number: e.string().optional(),
|
|
246
246
|
phone_verified: e.boolean().optional(),
|
|
247
247
|
family_name: e.string().optional()
|
|
248
|
-
}).catchall(e.any()),
|
|
248
|
+
}).catchall(e.any()), d = e.object({
|
|
249
249
|
connection: e.string(),
|
|
250
250
|
user_id: e.string(),
|
|
251
251
|
provider: e.string(),
|
|
@@ -258,15 +258,15 @@ var t = e.object({
|
|
|
258
258
|
access_token: e.string().optional(),
|
|
259
259
|
access_token_secret: e.string().optional(),
|
|
260
260
|
refresh_token: e.string().optional(),
|
|
261
|
-
profileData:
|
|
262
|
-
}),
|
|
261
|
+
profileData: u.optional()
|
|
262
|
+
}), f = e.object({
|
|
263
263
|
formatted: e.string().optional(),
|
|
264
264
|
street_address: e.string().optional(),
|
|
265
265
|
locality: e.string().optional(),
|
|
266
266
|
region: e.string().optional(),
|
|
267
267
|
postal_code: e.string().optional(),
|
|
268
268
|
country: e.string().optional()
|
|
269
|
-
}).optional(),
|
|
269
|
+
}).optional(), p = e.object({
|
|
270
270
|
email: e.string().transform((e) => e.toLowerCase()).optional(),
|
|
271
271
|
username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
|
|
272
272
|
phone_number: e.string().optional(),
|
|
@@ -289,8 +289,8 @@ var t = e.object({
|
|
|
289
289
|
gender: e.string().optional(),
|
|
290
290
|
birthdate: e.string().optional(),
|
|
291
291
|
zoneinfo: e.string().optional(),
|
|
292
|
-
address:
|
|
293
|
-
}),
|
|
292
|
+
address: f
|
|
293
|
+
}), m = p.extend({
|
|
294
294
|
email_verified: e.boolean().default(!1),
|
|
295
295
|
verify_email: e.boolean().optional(),
|
|
296
296
|
last_ip: e.string().optional(),
|
|
@@ -305,29 +305,29 @@ var t = e.object({
|
|
|
305
305
|
hash: e.string(),
|
|
306
306
|
algorithm: e.string()
|
|
307
307
|
}).optional()
|
|
308
|
-
}),
|
|
308
|
+
}), h = m.omit({ password: !0 }).extend(t.shape).extend({
|
|
309
309
|
user_id: e.string(),
|
|
310
310
|
provider: e.string(),
|
|
311
311
|
is_social: e.boolean(),
|
|
312
312
|
email: e.string().optional(),
|
|
313
313
|
login_count: e.number().default(0),
|
|
314
|
-
identities: e.array(
|
|
315
|
-
}),
|
|
314
|
+
identities: e.array(d).optional()
|
|
315
|
+
}), Me = h.omit({ registration_completed_at: !0 }), Ne = p.extend({
|
|
316
316
|
login_count: e.number(),
|
|
317
317
|
multifactor: e.array(e.string()).optional(),
|
|
318
318
|
last_ip: e.string().optional(),
|
|
319
319
|
last_login: e.string().optional(),
|
|
320
320
|
user_id: e.string()
|
|
321
|
-
}).catchall(e.any()),
|
|
321
|
+
}).catchall(e.any()), Pe = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Fe = (e = 21) => {
|
|
322
322
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
323
|
-
for (; e--;) t +=
|
|
323
|
+
for (; e--;) t += Pe[n[e] & 63];
|
|
324
324
|
return t;
|
|
325
|
-
},
|
|
325
|
+
}, g = e.object({
|
|
326
326
|
client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
|
|
327
327
|
name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
|
|
328
328
|
description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
|
|
329
329
|
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)." }),
|
|
330
|
-
client_secret: e.string().default(() =>
|
|
330
|
+
client_secret: e.string().default(() => Fe()).optional().openapi({ description: "Client secret (which you must not make public)." }),
|
|
331
331
|
app_type: e.enum([
|
|
332
332
|
"native",
|
|
333
333
|
"spa",
|
|
@@ -440,10 +440,10 @@ var t = e.object({
|
|
|
440
440
|
]).optional().openapi({ description: "Provenance of this client. `manual` = Management API; `open_dcr` = RFC 7591 without IAT; `iat_dcr` = RFC 7591 with an Initial Access Token." }),
|
|
441
441
|
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." }),
|
|
442
442
|
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." })
|
|
443
|
-
}),
|
|
443
|
+
}), Ie = e.object({
|
|
444
444
|
created_at: e.string(),
|
|
445
445
|
updated_at: e.string()
|
|
446
|
-
}).extend(
|
|
446
|
+
}).extend(g.shape).extend({ client_id: e.string() }), _ = e.object({
|
|
447
447
|
client_id: e.string().min(1).openapi({ description: "ID of the client." }),
|
|
448
448
|
audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
|
|
449
449
|
scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
|
|
@@ -456,38 +456,38 @@ var t = e.object({
|
|
|
456
456
|
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." }),
|
|
457
457
|
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." }),
|
|
458
458
|
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." })
|
|
459
|
-
}),
|
|
459
|
+
}), v = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(_.shape).extend({
|
|
460
460
|
created_at: e.string().optional(),
|
|
461
461
|
updated_at: e.string().optional()
|
|
462
|
-
}),
|
|
462
|
+
}), Le = e.array(v), y = e.enum(["iat", "rat"]), b = e.object({
|
|
463
463
|
id: e.string(),
|
|
464
464
|
token_hash: e.string(),
|
|
465
|
-
type:
|
|
465
|
+
type: y,
|
|
466
466
|
client_id: e.string().optional(),
|
|
467
467
|
sub: e.string().optional(),
|
|
468
468
|
constraints: e.record(e.string(), e.unknown()).optional(),
|
|
469
469
|
single_use: e.boolean().default(!1),
|
|
470
470
|
expires_at: e.string().optional()
|
|
471
|
-
}),
|
|
471
|
+
}), Re = e.object({
|
|
472
472
|
created_at: e.string(),
|
|
473
473
|
used_at: e.string().optional(),
|
|
474
474
|
revoked_at: e.string().optional()
|
|
475
|
-
}).extend(
|
|
475
|
+
}).extend(b.shape), x = e.object({
|
|
476
476
|
x: e.number(),
|
|
477
477
|
y: e.number()
|
|
478
|
-
}),
|
|
478
|
+
}), S = /* @__PURE__ */ function(e) {
|
|
479
479
|
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;
|
|
480
|
-
}({}),
|
|
480
|
+
}({}), C = /* @__PURE__ */ function(e) {
|
|
481
481
|
return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
|
|
482
|
-
}({}),
|
|
482
|
+
}({}), w = e.object({
|
|
483
483
|
id: e.string(),
|
|
484
|
-
category: e.nativeEnum(
|
|
485
|
-
type: e.nativeEnum(
|
|
486
|
-
}),
|
|
484
|
+
category: e.nativeEnum(C),
|
|
485
|
+
type: e.nativeEnum(S)
|
|
486
|
+
}), ze = w.extend({
|
|
487
487
|
category: e.literal("BLOCK"),
|
|
488
488
|
type: e.literal("RICH_TEXT"),
|
|
489
489
|
config: e.object({ content: e.string() }).passthrough()
|
|
490
|
-
}),
|
|
490
|
+
}), Be = w.extend({
|
|
491
491
|
category: e.literal("BLOCK"),
|
|
492
492
|
type: e.union([
|
|
493
493
|
e.literal("NEXT_BUTTON"),
|
|
@@ -495,13 +495,13 @@ var t = e.object({
|
|
|
495
495
|
e.literal("SUBMIT_BUTTON")
|
|
496
496
|
]),
|
|
497
497
|
config: e.object({ text: e.string() }).passthrough()
|
|
498
|
-
}),
|
|
498
|
+
}), Ve = w.extend({
|
|
499
499
|
category: e.literal("FIELD"),
|
|
500
500
|
type: e.literal("LEGAL"),
|
|
501
501
|
required: e.boolean().optional(),
|
|
502
502
|
sensitive: e.boolean().optional(),
|
|
503
503
|
config: e.object({ text: e.string() }).passthrough()
|
|
504
|
-
}),
|
|
504
|
+
}), He = w.extend({
|
|
505
505
|
category: e.literal("FIELD"),
|
|
506
506
|
type: e.union([
|
|
507
507
|
e.literal("TEXT"),
|
|
@@ -521,40 +521,40 @@ var t = e.object({
|
|
|
521
521
|
label: e.string().optional(),
|
|
522
522
|
placeholder: e.string().optional()
|
|
523
523
|
}).passthrough()
|
|
524
|
-
}),
|
|
524
|
+
}), Ue = e.object({
|
|
525
525
|
id: e.string(),
|
|
526
526
|
category: e.string(),
|
|
527
527
|
type: e.string()
|
|
528
|
-
}).passthrough(),
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
]),
|
|
528
|
+
}).passthrough(), We = e.union([
|
|
529
|
+
ze,
|
|
530
|
+
Be,
|
|
531
|
+
Ve,
|
|
532
|
+
He,
|
|
533
|
+
Ue
|
|
534
|
+
]), Ge = /* @__PURE__ */ function(e) {
|
|
535
535
|
return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
|
|
536
|
-
}({}),
|
|
536
|
+
}({}), Ke = e.object({
|
|
537
537
|
id: e.string(),
|
|
538
538
|
type: e.literal("STEP"),
|
|
539
|
-
coordinates:
|
|
539
|
+
coordinates: x,
|
|
540
540
|
alias: e.string().optional(),
|
|
541
541
|
config: e.object({
|
|
542
|
-
components: e.array(
|
|
542
|
+
components: e.array(We),
|
|
543
543
|
next_node: e.string()
|
|
544
544
|
}).passthrough()
|
|
545
|
-
}),
|
|
545
|
+
}), qe = e.object({
|
|
546
546
|
id: e.string(),
|
|
547
547
|
type: e.literal("FLOW"),
|
|
548
|
-
coordinates:
|
|
548
|
+
coordinates: x,
|
|
549
549
|
alias: e.string().optional(),
|
|
550
550
|
config: e.object({
|
|
551
551
|
flow_id: e.string(),
|
|
552
552
|
next_node: e.string()
|
|
553
553
|
})
|
|
554
|
-
}),
|
|
554
|
+
}), Je = e.object({
|
|
555
555
|
id: e.string(),
|
|
556
556
|
type: e.literal("ACTION"),
|
|
557
|
-
coordinates:
|
|
557
|
+
coordinates: x,
|
|
558
558
|
alias: e.string().optional(),
|
|
559
559
|
config: e.object({
|
|
560
560
|
action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
|
|
@@ -566,56 +566,56 @@ var t = e.object({
|
|
|
566
566
|
custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
|
|
567
567
|
next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
|
|
568
568
|
}).passthrough()
|
|
569
|
-
}),
|
|
569
|
+
}), Ye = e.object({
|
|
570
570
|
id: e.string(),
|
|
571
571
|
type: e.string(),
|
|
572
|
-
coordinates:
|
|
573
|
-
}).passthrough(),
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
]),
|
|
572
|
+
coordinates: x
|
|
573
|
+
}).passthrough(), Xe = e.union([
|
|
574
|
+
Ke,
|
|
575
|
+
qe,
|
|
576
|
+
Je,
|
|
577
|
+
Ye
|
|
578
|
+
]), Ze = e.object({
|
|
579
579
|
next_node: e.string(),
|
|
580
|
-
coordinates:
|
|
581
|
-
}).passthrough(),
|
|
580
|
+
coordinates: x
|
|
581
|
+
}).passthrough(), Qe = e.object({
|
|
582
582
|
resume_flow: e.boolean().optional(),
|
|
583
|
-
coordinates:
|
|
584
|
-
}).passthrough(),
|
|
583
|
+
coordinates: x
|
|
584
|
+
}).passthrough(), $e = e.object({
|
|
585
585
|
id: e.string(),
|
|
586
586
|
name: e.string(),
|
|
587
587
|
languages: e.object({ primary: e.string() }).passthrough(),
|
|
588
|
-
nodes: e.array(
|
|
589
|
-
start:
|
|
590
|
-
ending:
|
|
588
|
+
nodes: e.array(Xe),
|
|
589
|
+
start: Ze,
|
|
590
|
+
ending: Qe,
|
|
591
591
|
created_at: e.string(),
|
|
592
592
|
updated_at: e.string(),
|
|
593
593
|
links: e.object({
|
|
594
594
|
sdkSrc: e.string().optional(),
|
|
595
595
|
sdk_src: e.string().optional()
|
|
596
596
|
}).passthrough()
|
|
597
|
-
}).passthrough(),
|
|
597
|
+
}).passthrough(), et = $e.omit({
|
|
598
598
|
id: !0,
|
|
599
599
|
created_at: !0,
|
|
600
600
|
updated_at: !0
|
|
601
|
-
}),
|
|
601
|
+
}), T = /* @__PURE__ */ function(e) {
|
|
602
602
|
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;
|
|
603
|
-
}({}),
|
|
603
|
+
}({}), E = /* @__PURE__ */ function(e) {
|
|
604
604
|
return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
|
|
605
|
-
}({}),
|
|
605
|
+
}({}), tt = /* @__PURE__ */ function(e) {
|
|
606
606
|
return e.S256 = "S256", e.Plain = "plain", e;
|
|
607
|
-
}({}),
|
|
607
|
+
}({}), nt = e.union([e.null(), e.object({
|
|
608
608
|
essential: e.boolean().optional(),
|
|
609
609
|
value: e.unknown().optional(),
|
|
610
610
|
values: e.array(e.unknown()).optional()
|
|
611
|
-
})]).nullable(),
|
|
612
|
-
userinfo: e.record(e.string(),
|
|
613
|
-
id_token: e.record(e.string(),
|
|
614
|
-
}),
|
|
611
|
+
})]).nullable(), rt = e.object({
|
|
612
|
+
userinfo: e.record(e.string(), nt).optional(),
|
|
613
|
+
id_token: e.record(e.string(), nt).optional()
|
|
614
|
+
}), it = e.object({
|
|
615
615
|
client_id: e.string(),
|
|
616
616
|
act_as: e.string().optional(),
|
|
617
|
-
response_type: e.nativeEnum(
|
|
618
|
-
response_mode: e.nativeEnum(
|
|
617
|
+
response_type: e.nativeEnum(T).optional(),
|
|
618
|
+
response_mode: e.nativeEnum(E).optional(),
|
|
619
619
|
redirect_uri: e.string().optional(),
|
|
620
620
|
audience: e.string().optional(),
|
|
621
621
|
organization: e.string().optional(),
|
|
@@ -623,15 +623,15 @@ var t = e.object({
|
|
|
623
623
|
nonce: e.string().optional(),
|
|
624
624
|
scope: e.string().optional(),
|
|
625
625
|
prompt: e.string().optional(),
|
|
626
|
-
code_challenge_method: e.nativeEnum(
|
|
626
|
+
code_challenge_method: e.nativeEnum(tt).optional(),
|
|
627
627
|
code_challenge: e.string().optional(),
|
|
628
628
|
username: e.string().optional(),
|
|
629
629
|
ui_locales: e.string().optional(),
|
|
630
630
|
max_age: e.number().optional(),
|
|
631
631
|
acr_values: e.string().optional(),
|
|
632
|
-
claims:
|
|
632
|
+
claims: rt.optional(),
|
|
633
633
|
vendor_id: e.string().optional()
|
|
634
|
-
}),
|
|
634
|
+
}), at = e.object({
|
|
635
635
|
colors: e.object({
|
|
636
636
|
primary: e.string(),
|
|
637
637
|
page_background: e.union([e.string(), e.object({
|
|
@@ -650,19 +650,20 @@ var t = e.object({
|
|
|
650
650
|
"light",
|
|
651
651
|
"auto"
|
|
652
652
|
]).optional()
|
|
653
|
-
}),
|
|
653
|
+
}), ot = e.enum([
|
|
654
654
|
"password_reset",
|
|
655
655
|
"email_verification",
|
|
656
656
|
"otp",
|
|
657
657
|
"mfa_otp",
|
|
658
658
|
"authorization_code",
|
|
659
659
|
"oauth2_state",
|
|
660
|
-
"ticket"
|
|
661
|
-
|
|
660
|
+
"ticket",
|
|
661
|
+
"client_assertion_jti"
|
|
662
|
+
]), st = e.object({
|
|
662
663
|
code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
|
|
663
|
-
login_id: e.string().openapi({ description: "The id of the login session that the code is connected to" }),
|
|
664
|
+
login_id: e.string().optional().openapi({ description: "The id of the login session that the code is connected to" }),
|
|
664
665
|
connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
|
|
665
|
-
code_type:
|
|
666
|
+
code_type: ot,
|
|
666
667
|
code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
|
|
667
668
|
code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
|
|
668
669
|
code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
|
|
@@ -673,7 +674,7 @@ var t = e.object({
|
|
|
673
674
|
expires_at: e.string(),
|
|
674
675
|
used_at: e.string().optional(),
|
|
675
676
|
user_id: e.string().optional()
|
|
676
|
-
}),
|
|
677
|
+
}), ct = st.extend({ created_at: e.string() }), lt = e.object({
|
|
677
678
|
kid: e.string().optional(),
|
|
678
679
|
team_id: e.string().optional(),
|
|
679
680
|
realms: e.string().optional(),
|
|
@@ -793,35 +794,35 @@ var t = e.object({
|
|
|
793
794
|
"never_on_login"
|
|
794
795
|
]).optional()
|
|
795
796
|
});
|
|
796
|
-
function
|
|
797
|
+
function D(e) {
|
|
797
798
|
if (e !== null) {
|
|
798
|
-
if (Array.isArray(e)) return e.filter((e) => e !== null).map(
|
|
799
|
+
if (Array.isArray(e)) return e.filter((e) => e !== null).map(D);
|
|
799
800
|
if (e && typeof e == "object") {
|
|
800
801
|
let t = {};
|
|
801
|
-
for (let [n, r] of Object.entries(e)) r !== null && (t[n] =
|
|
802
|
+
for (let [n, r] of Object.entries(e)) r !== null && (t[n] = D(r));
|
|
802
803
|
return t;
|
|
803
804
|
}
|
|
804
805
|
return e;
|
|
805
806
|
}
|
|
806
807
|
}
|
|
807
|
-
var
|
|
808
|
+
var ut = e.object({
|
|
808
809
|
id: e.string().optional(),
|
|
809
810
|
name: e.string(),
|
|
810
811
|
display_name: e.string().optional(),
|
|
811
812
|
strategy: e.string(),
|
|
812
|
-
options: e.preprocess((e) => e === null ? {} :
|
|
813
|
+
options: e.preprocess((e) => e === null ? {} : D(e), lt).default({}),
|
|
813
814
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
814
|
-
response_type: e.nativeEnum(
|
|
815
|
-
response_mode: e.nativeEnum(
|
|
815
|
+
response_type: e.nativeEnum(T).optional(),
|
|
816
|
+
response_mode: e.nativeEnum(E).optional(),
|
|
816
817
|
is_domain_connection: e.boolean().optional(),
|
|
817
818
|
show_as_button: e.boolean().optional(),
|
|
818
819
|
metadata: e.record(e.string(), e.any()).optional(),
|
|
819
820
|
is_system: e.boolean().optional()
|
|
820
|
-
}),
|
|
821
|
+
}), dt = e.object({
|
|
821
822
|
id: e.string(),
|
|
822
823
|
created_at: e.string().transform((e) => e === null ? "" : e),
|
|
823
824
|
updated_at: e.string().transform((e) => e === null ? "" : e)
|
|
824
|
-
}).extend(
|
|
825
|
+
}).extend(ut.shape), O = e.object({
|
|
825
826
|
domain: e.string(),
|
|
826
827
|
custom_domain_id: e.string().optional(),
|
|
827
828
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -835,7 +836,7 @@ var ot = e.object({
|
|
|
835
836
|
"null"
|
|
836
837
|
]).optional(),
|
|
837
838
|
domain_metadata: e.record(e.string(), e.string().max(255)).optional()
|
|
838
|
-
}),
|
|
839
|
+
}), ft = e.discriminatedUnion("name", [e.object({
|
|
839
840
|
name: e.literal("txt"),
|
|
840
841
|
record: e.string(),
|
|
841
842
|
domain: e.string()
|
|
@@ -843,7 +844,7 @@ var ot = e.object({
|
|
|
843
844
|
name: e.literal("http"),
|
|
844
845
|
http_body: e.string(),
|
|
845
846
|
http_url: e.string()
|
|
846
|
-
})]),
|
|
847
|
+
})]), pt = O.extend({
|
|
847
848
|
custom_domain_id: e.string(),
|
|
848
849
|
primary: e.boolean(),
|
|
849
850
|
status: e.enum([
|
|
@@ -853,26 +854,26 @@ var ot = e.object({
|
|
|
853
854
|
"ready"
|
|
854
855
|
]),
|
|
855
856
|
origin_domain_name: e.string().optional(),
|
|
856
|
-
verification: e.object({ methods: e.array(
|
|
857
|
+
verification: e.object({ methods: e.array(ft) }).optional(),
|
|
857
858
|
tls_policy: e.string().optional()
|
|
858
|
-
}),
|
|
859
|
+
}), mt = O.pick({
|
|
859
860
|
tls_policy: !0,
|
|
860
861
|
custom_client_ip_header: !0,
|
|
861
862
|
domain_metadata: !0
|
|
862
|
-
}).strict(),
|
|
863
|
+
}).strict(), ht = pt.extend({ tenant_id: e.string() }), gt = e.object({
|
|
863
864
|
certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
|
|
864
865
|
private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
|
|
865
|
-
}),
|
|
866
|
+
}), k = e.object({
|
|
866
867
|
id: e.string(),
|
|
867
868
|
order: e.number().optional(),
|
|
868
869
|
visible: e.boolean().optional().default(!0)
|
|
869
|
-
}),
|
|
870
|
+
}), A = k.extend({ category: e.literal("BLOCK").optional() }), _t = A.extend({
|
|
870
871
|
type: e.literal("DIVIDER"),
|
|
871
872
|
config: e.object({ text: e.string().optional() }).optional()
|
|
872
|
-
}),
|
|
873
|
+
}), vt = A.extend({
|
|
873
874
|
type: e.literal("HTML"),
|
|
874
875
|
config: e.object({ content: e.string().optional() }).optional()
|
|
875
|
-
}),
|
|
876
|
+
}), yt = A.extend({
|
|
876
877
|
type: e.literal("IMAGE"),
|
|
877
878
|
config: e.object({
|
|
878
879
|
src: e.string().optional(),
|
|
@@ -880,43 +881,43 @@ var ot = e.object({
|
|
|
880
881
|
width: e.number().optional(),
|
|
881
882
|
height: e.number().optional()
|
|
882
883
|
}).optional()
|
|
883
|
-
}),
|
|
884
|
+
}), bt = A.extend({
|
|
884
885
|
type: e.literal("JUMP_BUTTON"),
|
|
885
886
|
config: e.object({
|
|
886
887
|
text: e.string().optional(),
|
|
887
888
|
target_step: e.string().optional()
|
|
888
889
|
})
|
|
889
|
-
}),
|
|
890
|
+
}), xt = A.extend({
|
|
890
891
|
type: e.literal("RESEND_BUTTON"),
|
|
891
892
|
config: e.object({
|
|
892
893
|
text: e.string().optional(),
|
|
893
894
|
resend_action: e.string().optional()
|
|
894
895
|
})
|
|
895
|
-
}),
|
|
896
|
+
}), St = A.extend({
|
|
896
897
|
type: e.literal("NEXT_BUTTON"),
|
|
897
898
|
config: e.object({ text: e.string().optional() })
|
|
898
|
-
}),
|
|
899
|
+
}), Ct = A.extend({
|
|
899
900
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
900
901
|
config: e.object({ text: e.string().optional() })
|
|
901
|
-
}),
|
|
902
|
+
}), wt = A.extend({
|
|
902
903
|
type: e.literal("RICH_TEXT"),
|
|
903
904
|
config: e.object({ content: e.string().optional() }).optional()
|
|
904
|
-
}),
|
|
905
|
+
}), j = k.extend({
|
|
905
906
|
category: e.literal("WIDGET").optional(),
|
|
906
907
|
label: e.string().min(1).optional(),
|
|
907
908
|
hint: e.string().min(1).max(500).optional(),
|
|
908
909
|
required: e.boolean().optional(),
|
|
909
910
|
sensitive: e.boolean().optional()
|
|
910
|
-
}),
|
|
911
|
+
}), Tt = j.extend({
|
|
911
912
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
912
913
|
config: e.object({ credential_type: e.string().optional() })
|
|
913
|
-
}),
|
|
914
|
+
}), Et = j.extend({
|
|
914
915
|
type: e.literal("GMAPS_ADDRESS"),
|
|
915
916
|
config: e.object({ api_key: e.string().optional() })
|
|
916
|
-
}),
|
|
917
|
+
}), Dt = j.extend({
|
|
917
918
|
type: e.literal("RECAPTCHA"),
|
|
918
919
|
config: e.object({ site_key: e.string().optional() })
|
|
919
|
-
}),
|
|
920
|
+
}), M = k.extend({
|
|
920
921
|
category: e.literal("FIELD").optional(),
|
|
921
922
|
label: e.string().min(1).optional(),
|
|
922
923
|
hint: e.string().min(1).max(500).optional(),
|
|
@@ -932,10 +933,10 @@ var ot = e.object({
|
|
|
932
933
|
})).optional(),
|
|
933
934
|
required: e.boolean().optional(),
|
|
934
935
|
sensitive: e.boolean().optional()
|
|
935
|
-
}),
|
|
936
|
+
}), Ot = M.extend({
|
|
936
937
|
type: e.literal("BOOLEAN"),
|
|
937
938
|
config: e.object({ default_value: e.boolean().optional() }).optional()
|
|
938
|
-
}),
|
|
939
|
+
}), kt = M.extend({
|
|
939
940
|
type: e.literal("CARDS"),
|
|
940
941
|
config: e.object({
|
|
941
942
|
options: e.array(e.object({
|
|
@@ -946,7 +947,7 @@ var ot = e.object({
|
|
|
946
947
|
})).optional(),
|
|
947
948
|
multi_select: e.boolean().optional()
|
|
948
949
|
}).optional()
|
|
949
|
-
}),
|
|
950
|
+
}), At = M.extend({
|
|
950
951
|
type: e.literal("CHOICE"),
|
|
951
952
|
config: e.object({
|
|
952
953
|
options: e.array(e.object({
|
|
@@ -957,7 +958,7 @@ var ot = e.object({
|
|
|
957
958
|
multiple: e.boolean().optional(),
|
|
958
959
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
959
960
|
}).optional()
|
|
960
|
-
}),
|
|
961
|
+
}), jt = M.extend({
|
|
961
962
|
type: e.literal("CODE"),
|
|
962
963
|
config: e.object({
|
|
963
964
|
length: e.number().int().positive().max(100).optional(),
|
|
@@ -974,7 +975,7 @@ var ot = e.object({
|
|
|
974
975
|
message: "default_value is longer than the configured length",
|
|
975
976
|
path: ["default_value"]
|
|
976
977
|
}).optional()
|
|
977
|
-
}),
|
|
978
|
+
}), Mt = M.extend({
|
|
978
979
|
type: e.literal("CUSTOM"),
|
|
979
980
|
config: e.object({
|
|
980
981
|
component: e.string().optional(),
|
|
@@ -982,7 +983,7 @@ var ot = e.object({
|
|
|
982
983
|
schema: e.record(e.string(), e.any()).optional(),
|
|
983
984
|
code: e.string().optional()
|
|
984
985
|
})
|
|
985
|
-
}),
|
|
986
|
+
}), Nt = M.extend({
|
|
986
987
|
type: e.literal("DATE"),
|
|
987
988
|
config: e.object({
|
|
988
989
|
format: e.string().optional(),
|
|
@@ -990,7 +991,7 @@ var ot = e.object({
|
|
|
990
991
|
max: e.string().optional(),
|
|
991
992
|
default_value: e.string().optional()
|
|
992
993
|
}).optional()
|
|
993
|
-
}),
|
|
994
|
+
}), Pt = M.extend({
|
|
994
995
|
type: e.literal("DROPDOWN"),
|
|
995
996
|
config: e.object({
|
|
996
997
|
options: e.array(e.object({
|
|
@@ -1002,7 +1003,7 @@ var ot = e.object({
|
|
|
1002
1003
|
multiple: e.boolean().optional(),
|
|
1003
1004
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
1004
1005
|
}).optional()
|
|
1005
|
-
}),
|
|
1006
|
+
}), Ft = M.extend({
|
|
1006
1007
|
type: e.literal("EMAIL"),
|
|
1007
1008
|
config: e.object({
|
|
1008
1009
|
placeholder: e.string().optional(),
|
|
@@ -1010,20 +1011,20 @@ var ot = e.object({
|
|
|
1010
1011
|
last_used: e.boolean().optional(),
|
|
1011
1012
|
last_used_label: e.string().optional()
|
|
1012
1013
|
}).optional()
|
|
1013
|
-
}),
|
|
1014
|
+
}), It = M.extend({
|
|
1014
1015
|
type: e.literal("FILE"),
|
|
1015
1016
|
config: e.object({
|
|
1016
1017
|
accept: e.string().optional(),
|
|
1017
1018
|
max_size: e.number().optional(),
|
|
1018
1019
|
multiple: e.boolean().optional()
|
|
1019
1020
|
}).optional()
|
|
1020
|
-
}),
|
|
1021
|
+
}), Lt = M.extend({
|
|
1021
1022
|
type: e.literal("LEGAL"),
|
|
1022
1023
|
config: e.object({
|
|
1023
1024
|
text: e.string(),
|
|
1024
1025
|
html: e.boolean().optional()
|
|
1025
1026
|
}).optional()
|
|
1026
|
-
}),
|
|
1027
|
+
}), Rt = M.extend({
|
|
1027
1028
|
type: e.literal("NUMBER"),
|
|
1028
1029
|
config: e.object({
|
|
1029
1030
|
placeholder: e.string().optional(),
|
|
@@ -1032,7 +1033,7 @@ var ot = e.object({
|
|
|
1032
1033
|
step: e.number().optional(),
|
|
1033
1034
|
default_value: e.string().optional()
|
|
1034
1035
|
}).optional()
|
|
1035
|
-
}),
|
|
1036
|
+
}), zt = M.extend({
|
|
1036
1037
|
type: e.literal("PASSWORD"),
|
|
1037
1038
|
config: e.object({
|
|
1038
1039
|
placeholder: e.string().optional(),
|
|
@@ -1041,13 +1042,13 @@ var ot = e.object({
|
|
|
1041
1042
|
forgot_password_link: e.string().optional(),
|
|
1042
1043
|
default_value: e.string().optional()
|
|
1043
1044
|
}).optional()
|
|
1044
|
-
}),
|
|
1045
|
+
}), Bt = M.extend({
|
|
1045
1046
|
type: e.literal("PAYMENT"),
|
|
1046
1047
|
config: e.object({
|
|
1047
1048
|
provider: e.string().optional(),
|
|
1048
1049
|
currency: e.string().optional()
|
|
1049
1050
|
}).optional()
|
|
1050
|
-
}),
|
|
1051
|
+
}), Vt = M.extend({
|
|
1051
1052
|
type: e.literal("SOCIAL"),
|
|
1052
1053
|
config: e.object({
|
|
1053
1054
|
providers: e.array(e.string()).optional(),
|
|
@@ -1061,7 +1062,7 @@ var ot = e.object({
|
|
|
1061
1062
|
last_used_label: e.string().optional()
|
|
1062
1063
|
})).optional()
|
|
1063
1064
|
}).optional()
|
|
1064
|
-
}),
|
|
1065
|
+
}), Ht = M.extend({
|
|
1065
1066
|
type: e.literal("TEL"),
|
|
1066
1067
|
config: e.object({
|
|
1067
1068
|
placeholder: e.string().optional(),
|
|
@@ -1069,7 +1070,7 @@ var ot = e.object({
|
|
|
1069
1070
|
default_value: e.string().optional(),
|
|
1070
1071
|
allow_email: e.boolean().optional()
|
|
1071
1072
|
}).optional()
|
|
1072
|
-
}),
|
|
1073
|
+
}), Ut = M.extend({
|
|
1073
1074
|
type: e.literal("TEXT"),
|
|
1074
1075
|
config: e.object({
|
|
1075
1076
|
placeholder: e.string().optional(),
|
|
@@ -1079,41 +1080,37 @@ var ot = e.object({
|
|
|
1079
1080
|
last_used: e.boolean().optional(),
|
|
1080
1081
|
last_used_label: e.string().optional()
|
|
1081
1082
|
}).optional()
|
|
1082
|
-
}),
|
|
1083
|
+
}), Wt = M.extend({
|
|
1083
1084
|
type: e.literal("COUNTRY"),
|
|
1084
1085
|
config: e.object({
|
|
1085
1086
|
placeholder: e.string().optional(),
|
|
1086
1087
|
default_value: e.string().optional()
|
|
1087
1088
|
}).optional()
|
|
1088
|
-
}),
|
|
1089
|
+
}), Gt = M.extend({
|
|
1089
1090
|
type: e.literal("URL"),
|
|
1090
1091
|
config: e.object({
|
|
1091
1092
|
placeholder: e.string().optional(),
|
|
1092
1093
|
default_value: e.string().optional()
|
|
1093
1094
|
}).optional()
|
|
1094
|
-
}),
|
|
1095
|
-
pt,
|
|
1096
|
-
mt,
|
|
1097
|
-
ht,
|
|
1098
|
-
gt,
|
|
1095
|
+
}), Kt = e.discriminatedUnion("type", [
|
|
1099
1096
|
_t,
|
|
1100
1097
|
vt,
|
|
1101
1098
|
yt,
|
|
1102
|
-
bt
|
|
1103
|
-
]), Ut = e.discriminatedUnion("type", [
|
|
1099
|
+
bt,
|
|
1104
1100
|
xt,
|
|
1105
1101
|
St,
|
|
1106
|
-
Ct
|
|
1107
|
-
|
|
1108
|
-
|
|
1102
|
+
Ct,
|
|
1103
|
+
wt
|
|
1104
|
+
]), qt = e.discriminatedUnion("type", [
|
|
1109
1105
|
Tt,
|
|
1110
1106
|
Et,
|
|
1111
|
-
Dt
|
|
1112
|
-
|
|
1107
|
+
Dt
|
|
1108
|
+
]), Jt = e.discriminatedUnion("type", [
|
|
1113
1109
|
Ot,
|
|
1114
1110
|
kt,
|
|
1115
1111
|
At,
|
|
1116
1112
|
jt,
|
|
1113
|
+
Wt,
|
|
1117
1114
|
Mt,
|
|
1118
1115
|
Nt,
|
|
1119
1116
|
Pt,
|
|
@@ -1122,12 +1119,16 @@ var ot = e.object({
|
|
|
1122
1119
|
Lt,
|
|
1123
1120
|
Rt,
|
|
1124
1121
|
zt,
|
|
1125
|
-
|
|
1126
|
-
|
|
1122
|
+
Bt,
|
|
1123
|
+
Vt,
|
|
1127
1124
|
Ht,
|
|
1128
1125
|
Ut,
|
|
1129
|
-
|
|
1130
|
-
]),
|
|
1126
|
+
Gt
|
|
1127
|
+
]), N = e.union([
|
|
1128
|
+
Kt,
|
|
1129
|
+
qt,
|
|
1130
|
+
Jt
|
|
1131
|
+
]), Yt = new Set([
|
|
1131
1132
|
"BOOLEAN",
|
|
1132
1133
|
"CARDS",
|
|
1133
1134
|
"CHOICE",
|
|
@@ -1142,7 +1143,7 @@ var ot = e.object({
|
|
|
1142
1143
|
"TEL",
|
|
1143
1144
|
"TEXT",
|
|
1144
1145
|
"URL"
|
|
1145
|
-
]),
|
|
1146
|
+
]), Xt = e.object({
|
|
1146
1147
|
id: e.string(),
|
|
1147
1148
|
type: e.literal("submit"),
|
|
1148
1149
|
label: e.string(),
|
|
@@ -1151,22 +1152,22 @@ var ot = e.object({
|
|
|
1151
1152
|
order: e.number().optional(),
|
|
1152
1153
|
visible: e.boolean().optional().default(!0),
|
|
1153
1154
|
customizations: e.record(e.string(), e.any()).optional()
|
|
1154
|
-
}),
|
|
1155
|
+
}), P = e.object({
|
|
1155
1156
|
x: e.number(),
|
|
1156
1157
|
y: e.number()
|
|
1157
|
-
}),
|
|
1158
|
+
}), Zt = e.object({
|
|
1158
1159
|
id: e.string(),
|
|
1159
1160
|
type: e.literal("FLOW"),
|
|
1160
|
-
coordinates:
|
|
1161
|
+
coordinates: P,
|
|
1161
1162
|
alias: e.string().min(1).max(150).optional(),
|
|
1162
1163
|
config: e.object({
|
|
1163
1164
|
flow_id: e.string().max(30),
|
|
1164
1165
|
next_node: e.string().optional()
|
|
1165
1166
|
})
|
|
1166
|
-
}),
|
|
1167
|
+
}), Qt = e.object({
|
|
1167
1168
|
id: e.string(),
|
|
1168
1169
|
type: e.literal("ROUTER"),
|
|
1169
|
-
coordinates:
|
|
1170
|
+
coordinates: P,
|
|
1170
1171
|
alias: e.string().min(1).max(150),
|
|
1171
1172
|
config: e.object({
|
|
1172
1173
|
rules: e.array(e.object({
|
|
@@ -1177,20 +1178,20 @@ var ot = e.object({
|
|
|
1177
1178
|
})),
|
|
1178
1179
|
fallback: e.string()
|
|
1179
1180
|
})
|
|
1180
|
-
}),
|
|
1181
|
+
}), $t = e.object({
|
|
1181
1182
|
id: e.string(),
|
|
1182
1183
|
type: e.literal("STEP"),
|
|
1183
|
-
coordinates:
|
|
1184
|
+
coordinates: P,
|
|
1184
1185
|
alias: e.string().min(1).max(150).optional(),
|
|
1185
1186
|
config: e.object({
|
|
1186
|
-
components: e.array(
|
|
1187
|
+
components: e.array(N),
|
|
1187
1188
|
next_node: e.string().optional()
|
|
1188
1189
|
})
|
|
1189
|
-
}),
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
]),
|
|
1190
|
+
}), en = e.discriminatedUnion("type", [
|
|
1191
|
+
Zt,
|
|
1192
|
+
Qt,
|
|
1193
|
+
$t
|
|
1194
|
+
]), tn = e.object({
|
|
1194
1195
|
name: e.string().openapi({ description: "The name of the form" }),
|
|
1195
1196
|
messages: e.object({
|
|
1196
1197
|
errors: e.record(e.string(), e.any()).optional(),
|
|
@@ -1201,14 +1202,14 @@ var ot = e.object({
|
|
|
1201
1202
|
default: e.string().optional()
|
|
1202
1203
|
}).optional(),
|
|
1203
1204
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1204
|
-
nodes: e.array(
|
|
1205
|
+
nodes: e.array(en).optional(),
|
|
1205
1206
|
start: e.object({
|
|
1206
1207
|
hidden_fields: e.array(e.object({
|
|
1207
1208
|
key: e.string(),
|
|
1208
1209
|
value: e.string()
|
|
1209
1210
|
})).optional(),
|
|
1210
1211
|
next_node: e.string().optional(),
|
|
1211
|
-
coordinates:
|
|
1212
|
+
coordinates: P.optional()
|
|
1212
1213
|
}).optional(),
|
|
1213
1214
|
ending: e.object({
|
|
1214
1215
|
redirection: e.object({
|
|
@@ -1216,7 +1217,7 @@ var ot = e.object({
|
|
|
1216
1217
|
target: e.string().optional()
|
|
1217
1218
|
}).optional(),
|
|
1218
1219
|
after_submit: e.object({ flow_id: e.string().optional() }).optional(),
|
|
1219
|
-
coordinates:
|
|
1220
|
+
coordinates: P.optional(),
|
|
1220
1221
|
resume_flow: e.boolean().optional()
|
|
1221
1222
|
}).optional(),
|
|
1222
1223
|
style: e.object({ css: e.string().optional() }).optional(),
|
|
@@ -1224,7 +1225,7 @@ var ot = e.object({
|
|
|
1224
1225
|
sdkSrc: e.string().optional(),
|
|
1225
1226
|
sdk_src: e.string().optional()
|
|
1226
1227
|
}).optional()
|
|
1227
|
-
}).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }),
|
|
1228
|
+
}).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), nn = t.extend(tn.shape).extend({ id: e.string() }), rn = e.object({
|
|
1228
1229
|
id: e.number().optional(),
|
|
1229
1230
|
text: e.string(),
|
|
1230
1231
|
type: e.enum([
|
|
@@ -1233,34 +1234,34 @@ var ot = e.object({
|
|
|
1233
1234
|
"success",
|
|
1234
1235
|
"warning"
|
|
1235
1236
|
])
|
|
1236
|
-
}),
|
|
1237
|
+
}), an = e.object({
|
|
1237
1238
|
id: e.string().optional(),
|
|
1238
1239
|
text: e.string(),
|
|
1239
1240
|
href: e.string(),
|
|
1240
1241
|
linkText: e.string().optional()
|
|
1241
|
-
}),
|
|
1242
|
+
}), on = e.object({
|
|
1242
1243
|
name: e.string().optional(),
|
|
1243
1244
|
action: e.string(),
|
|
1244
1245
|
method: e.enum(["POST", "GET"]),
|
|
1245
1246
|
title: e.string().optional(),
|
|
1246
1247
|
description: e.string().optional(),
|
|
1247
|
-
components: e.array(
|
|
1248
|
-
messages: e.array(
|
|
1249
|
-
links: e.array(
|
|
1248
|
+
components: e.array(N),
|
|
1249
|
+
messages: e.array(rn).optional(),
|
|
1250
|
+
links: e.array(an).optional(),
|
|
1250
1251
|
footer: e.string().optional()
|
|
1251
1252
|
});
|
|
1252
|
-
function
|
|
1253
|
+
function sn(e) {
|
|
1253
1254
|
return e.category === "BLOCK";
|
|
1254
1255
|
}
|
|
1255
|
-
function
|
|
1256
|
+
function cn(e) {
|
|
1256
1257
|
return e.category === "WIDGET";
|
|
1257
1258
|
}
|
|
1258
|
-
function
|
|
1259
|
+
function ln(e) {
|
|
1259
1260
|
return e.category === "FIELD";
|
|
1260
1261
|
}
|
|
1261
1262
|
//#endregion
|
|
1262
1263
|
//#region src/types/Hook.ts
|
|
1263
|
-
var
|
|
1264
|
+
var F = e.enum([
|
|
1264
1265
|
"pre-user-registration",
|
|
1265
1266
|
"post-user-registration",
|
|
1266
1267
|
"post-user-login",
|
|
@@ -1268,48 +1269,48 @@ var L = e.enum([
|
|
|
1268
1269
|
"validate-registration-username",
|
|
1269
1270
|
"pre-user-deletion",
|
|
1270
1271
|
"post-user-deletion"
|
|
1271
|
-
]),
|
|
1272
|
+
]), I = e.enum(["post-user-login"]), L = e.enum([
|
|
1272
1273
|
"post-user-login",
|
|
1273
1274
|
"post-user-registration",
|
|
1274
1275
|
"post-user-update",
|
|
1275
1276
|
"credentials-exchange"
|
|
1276
|
-
]),
|
|
1277
|
+
]), R = e.enum([
|
|
1277
1278
|
"post-user-login",
|
|
1278
1279
|
"credentials-exchange",
|
|
1279
1280
|
"pre-user-registration",
|
|
1280
1281
|
"post-user-registration"
|
|
1281
|
-
]),
|
|
1282
|
+
]), z = e.enum(["post-user-login"]), un = [
|
|
1282
1283
|
{
|
|
1283
1284
|
field: "url",
|
|
1284
|
-
triggers:
|
|
1285
|
+
triggers: F.options
|
|
1285
1286
|
},
|
|
1286
1287
|
{
|
|
1287
1288
|
field: "form_id",
|
|
1288
|
-
triggers:
|
|
1289
|
+
triggers: I.options
|
|
1289
1290
|
},
|
|
1290
1291
|
{
|
|
1291
1292
|
field: "template_id",
|
|
1292
|
-
triggers:
|
|
1293
|
+
triggers: L.options
|
|
1293
1294
|
},
|
|
1294
1295
|
{
|
|
1295
1296
|
field: "code_id",
|
|
1296
|
-
triggers:
|
|
1297
|
+
triggers: R.options
|
|
1297
1298
|
},
|
|
1298
1299
|
{
|
|
1299
1300
|
field: "page_id",
|
|
1300
|
-
triggers:
|
|
1301
|
+
triggers: z.options
|
|
1301
1302
|
}
|
|
1302
1303
|
];
|
|
1303
|
-
function
|
|
1304
|
+
function dn(e) {
|
|
1304
1305
|
if (!(!e || typeof e != "object")) {
|
|
1305
|
-
for (let t of
|
|
1306
|
+
for (let t of un) if (typeof Reflect.get(e, t.field) == "string") return t.triggers;
|
|
1306
1307
|
}
|
|
1307
1308
|
}
|
|
1308
|
-
var
|
|
1309
|
+
var B = e.enum(["impersonate"]), V = e.enum([
|
|
1309
1310
|
"ensure-username",
|
|
1310
1311
|
"set-preferred-username",
|
|
1311
1312
|
"account-linking"
|
|
1312
|
-
]),
|
|
1313
|
+
]), fn = {
|
|
1313
1314
|
"ensure-username": {
|
|
1314
1315
|
name: "Ensure Username",
|
|
1315
1316
|
description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
|
|
@@ -1329,87 +1330,87 @@ var H = e.enum(["impersonate"]), U = e.enum([
|
|
|
1329
1330
|
"post-user-update"
|
|
1330
1331
|
]
|
|
1331
1332
|
}
|
|
1332
|
-
},
|
|
1333
|
+
}, H = {
|
|
1333
1334
|
enabled: e.boolean().default(!1),
|
|
1334
1335
|
synchronous: e.boolean().default(!1),
|
|
1335
1336
|
priority: e.number().optional(),
|
|
1336
1337
|
hook_id: e.string().optional(),
|
|
1337
1338
|
metadata: e.record(e.string(), e.unknown()).optional()
|
|
1338
|
-
},
|
|
1339
|
-
...
|
|
1340
|
-
trigger_id:
|
|
1339
|
+
}, pn = e.object({
|
|
1340
|
+
...H,
|
|
1341
|
+
trigger_id: F,
|
|
1341
1342
|
url: e.string()
|
|
1342
|
-
}),
|
|
1343
|
-
...
|
|
1344
|
-
trigger_id:
|
|
1343
|
+
}), mn = e.object({
|
|
1344
|
+
...H,
|
|
1345
|
+
trigger_id: I,
|
|
1345
1346
|
form_id: e.string()
|
|
1346
|
-
}),
|
|
1347
|
-
...
|
|
1348
|
-
trigger_id:
|
|
1349
|
-
template_id:
|
|
1350
|
-
}),
|
|
1351
|
-
...
|
|
1352
|
-
trigger_id:
|
|
1347
|
+
}), hn = e.object({
|
|
1348
|
+
...H,
|
|
1349
|
+
trigger_id: L,
|
|
1350
|
+
template_id: V
|
|
1351
|
+
}), gn = e.object({
|
|
1352
|
+
...H,
|
|
1353
|
+
trigger_id: R,
|
|
1353
1354
|
code_id: e.string()
|
|
1354
|
-
}),
|
|
1355
|
-
...
|
|
1356
|
-
trigger_id:
|
|
1357
|
-
page_id:
|
|
1355
|
+
}), _n = e.object({
|
|
1356
|
+
...H,
|
|
1357
|
+
trigger_id: z,
|
|
1358
|
+
page_id: B,
|
|
1358
1359
|
permission_required: e.string().optional()
|
|
1359
|
-
}),
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
]),
|
|
1366
|
-
...
|
|
1367
|
-
trigger_id:
|
|
1360
|
+
}), vn = e.union([
|
|
1361
|
+
pn,
|
|
1362
|
+
mn,
|
|
1363
|
+
hn,
|
|
1364
|
+
gn,
|
|
1365
|
+
_n
|
|
1366
|
+
]), yn = e.object({
|
|
1367
|
+
...H,
|
|
1368
|
+
trigger_id: F
|
|
1368
1369
|
}).extend(t.shape).extend({
|
|
1369
1370
|
hook_id: e.string(),
|
|
1370
1371
|
url: e.string()
|
|
1371
|
-
}),
|
|
1372
|
-
...
|
|
1373
|
-
trigger_id:
|
|
1372
|
+
}), bn = e.object({
|
|
1373
|
+
...H,
|
|
1374
|
+
trigger_id: I
|
|
1374
1375
|
}).extend(t.shape).extend({
|
|
1375
1376
|
hook_id: e.string(),
|
|
1376
1377
|
form_id: e.string()
|
|
1377
|
-
}),
|
|
1378
|
-
...
|
|
1379
|
-
trigger_id:
|
|
1378
|
+
}), xn = e.object({
|
|
1379
|
+
...H,
|
|
1380
|
+
trigger_id: L
|
|
1380
1381
|
}).extend(t.shape).extend({
|
|
1381
1382
|
hook_id: e.string(),
|
|
1382
|
-
template_id:
|
|
1383
|
-
}),
|
|
1384
|
-
...
|
|
1385
|
-
trigger_id:
|
|
1383
|
+
template_id: V
|
|
1384
|
+
}), Sn = e.object({
|
|
1385
|
+
...H,
|
|
1386
|
+
trigger_id: R
|
|
1386
1387
|
}).extend(t.shape).extend({
|
|
1387
1388
|
hook_id: e.string(),
|
|
1388
1389
|
code_id: e.string()
|
|
1389
|
-
}),
|
|
1390
|
-
...
|
|
1391
|
-
trigger_id:
|
|
1390
|
+
}), Cn = e.object({
|
|
1391
|
+
...H,
|
|
1392
|
+
trigger_id: z
|
|
1392
1393
|
}).extend(t.shape).extend({
|
|
1393
1394
|
hook_id: e.string(),
|
|
1394
|
-
page_id:
|
|
1395
|
+
page_id: B,
|
|
1395
1396
|
permission_required: e.string().optional()
|
|
1396
|
-
}),
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
]),
|
|
1397
|
+
}), wn = e.union([
|
|
1398
|
+
yn,
|
|
1399
|
+
bn,
|
|
1400
|
+
xn,
|
|
1401
|
+
Sn,
|
|
1402
|
+
Cn
|
|
1403
|
+
]), Tn = e.object({
|
|
1403
1404
|
code: e.string().max(1e5),
|
|
1404
1405
|
secrets: e.record(e.string(), e.string()).optional()
|
|
1405
|
-
}),
|
|
1406
|
+
}), En = Tn.extend({
|
|
1406
1407
|
id: e.string(),
|
|
1407
1408
|
tenant_id: e.string()
|
|
1408
|
-
}).extend(t.shape),
|
|
1409
|
+
}).extend(t.shape), Dn = e.object({ name: e.string().optional() }), On = e.object({ email: e.string().optional() }), kn = e.object({
|
|
1409
1410
|
id: e.string().optional(),
|
|
1410
1411
|
organization_id: e.string().max(50),
|
|
1411
|
-
inviter:
|
|
1412
|
-
invitee:
|
|
1412
|
+
inviter: Dn,
|
|
1413
|
+
invitee: On,
|
|
1413
1414
|
invitation_url: e.string().url(),
|
|
1414
1415
|
client_id: e.string(),
|
|
1415
1416
|
connection_id: e.string().optional(),
|
|
@@ -1418,13 +1419,13 @@ var H = e.enum(["impersonate"]), U = e.enum([
|
|
|
1418
1419
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1419
1420
|
roles: e.array(e.string()).default([]).optional(),
|
|
1420
1421
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1421
|
-
}),
|
|
1422
|
+
}), An = e.object({
|
|
1422
1423
|
id: e.string(),
|
|
1423
1424
|
organization_id: e.string().max(50),
|
|
1424
1425
|
created_at: e.string().datetime(),
|
|
1425
1426
|
expires_at: e.string().datetime(),
|
|
1426
1427
|
ticket_id: e.string().optional()
|
|
1427
|
-
}).extend(
|
|
1428
|
+
}).extend(kn.omit({ id: !0 }).shape), jn = e.object({
|
|
1428
1429
|
alg: e.enum([
|
|
1429
1430
|
"RS256",
|
|
1430
1431
|
"RS384",
|
|
@@ -1465,7 +1466,7 @@ var H = e.enum(["impersonate"]), U = e.enum([
|
|
|
1465
1466
|
path: [r],
|
|
1466
1467
|
message: `EC JWK is missing required member '${r}'`
|
|
1467
1468
|
});
|
|
1468
|
-
}),
|
|
1469
|
+
}), Mn = e.object({ keys: e.array(jn) }), Nn = e.object({
|
|
1469
1470
|
issuer: e.string(),
|
|
1470
1471
|
authorization_endpoint: e.string(),
|
|
1471
1472
|
token_endpoint: e.string(),
|
|
@@ -1491,33 +1492,33 @@ var H = e.enum(["impersonate"]), U = e.enum([
|
|
|
1491
1492
|
client_id_metadata_document_supported: e.boolean().optional(),
|
|
1492
1493
|
backchannel_logout_supported: e.boolean().optional(),
|
|
1493
1494
|
backchannel_logout_session_supported: e.boolean().optional()
|
|
1494
|
-
}),
|
|
1495
|
+
}), U = /* @__PURE__ */ function(e) {
|
|
1495
1496
|
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;
|
|
1496
|
-
}({}),
|
|
1497
|
+
}({}), Pn = e.nativeEnum(U), W = e.object({
|
|
1497
1498
|
strategy: e.string(),
|
|
1498
1499
|
strategy_type: e.string()
|
|
1499
|
-
}),
|
|
1500
|
+
}), Fn = e.object({
|
|
1500
1501
|
csrf_token: e.string(),
|
|
1501
1502
|
auth0Client: e.string().optional(),
|
|
1502
|
-
authParams:
|
|
1503
|
+
authParams: it,
|
|
1503
1504
|
expires_at: e.string(),
|
|
1504
1505
|
deleted_at: e.string().optional(),
|
|
1505
1506
|
ip: e.string().optional(),
|
|
1506
1507
|
useragent: e.string().optional(),
|
|
1507
1508
|
session_id: e.string().optional(),
|
|
1508
1509
|
authorization_url: e.string().optional(),
|
|
1509
|
-
state:
|
|
1510
|
+
state: Pn.optional().default("pending"),
|
|
1510
1511
|
state_data: e.string().optional(),
|
|
1511
1512
|
failure_reason: e.string().optional(),
|
|
1512
1513
|
user_id: e.string().optional(),
|
|
1513
1514
|
auth_connection: e.string().optional(),
|
|
1514
|
-
auth_strategy:
|
|
1515
|
+
auth_strategy: W.optional(),
|
|
1515
1516
|
authenticated_at: e.string().optional()
|
|
1516
|
-
}).openapi({ description: "This represents a login sesion" }),
|
|
1517
|
+
}).openapi({ description: "This represents a login sesion" }), In = Fn.extend({
|
|
1517
1518
|
id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
|
|
1518
1519
|
created_at: e.string(),
|
|
1519
1520
|
updated_at: e.string()
|
|
1520
|
-
}),
|
|
1521
|
+
}), G = {
|
|
1521
1522
|
ACLS_SUMMARY: "acls_summary",
|
|
1522
1523
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
1523
1524
|
API_LIMIT: "api_limit",
|
|
@@ -1677,190 +1678,190 @@ var H = e.enum(["impersonate"]), U = e.enum([
|
|
|
1677
1678
|
WARNING_DURING_LOGIN: "w",
|
|
1678
1679
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1679
1680
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1680
|
-
},
|
|
1681
|
-
[
|
|
1682
|
-
[
|
|
1683
|
-
[
|
|
1684
|
-
[
|
|
1685
|
-
[
|
|
1686
|
-
[
|
|
1687
|
-
[
|
|
1688
|
-
[
|
|
1689
|
-
[
|
|
1690
|
-
[
|
|
1691
|
-
[
|
|
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
|
-
},
|
|
1681
|
+
}, Ln = e.string().refine((e) => Object.values(G).includes(e), { message: "Invalid log type" }), Rn = {
|
|
1682
|
+
[G.ACLS_SUMMARY]: "ACLs Summary",
|
|
1683
|
+
[G.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
|
|
1684
|
+
[G.API_LIMIT]: "API Rate Limit Reached",
|
|
1685
|
+
[G.API_LIMIT_WARNING]: "API Rate Limit Warning",
|
|
1686
|
+
[G.APPI]: "API Operation",
|
|
1687
|
+
[G.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
|
|
1688
|
+
[G.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
|
|
1689
|
+
[G.CIBA_START_FAILED]: "CIBA Start Failed",
|
|
1690
|
+
[G.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
|
|
1691
|
+
[G.CODE_LINK_SENT]: "Code/Link Sent",
|
|
1692
|
+
[G.CODE_SENT]: "Code Sent",
|
|
1693
|
+
[G.DEPRECATION_NOTICE]: "Deprecation Notice",
|
|
1694
|
+
[G.FAILED_LOGIN]: "Failed Login",
|
|
1695
|
+
[G.FAILED_BY_CONNECTOR]: "Failed by Connector",
|
|
1696
|
+
[G.FAILED_CHANGE_EMAIL]: "Failed Change Email",
|
|
1697
|
+
[G.FAILED_BY_CORS]: "Failed by CORS",
|
|
1698
|
+
[G.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
|
|
1699
|
+
[G.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
|
|
1700
|
+
[G.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
|
|
1701
|
+
[G.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
|
|
1702
|
+
[G.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
|
|
1703
|
+
[G.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
|
|
1704
|
+
[G.FAILED_CHANGE_USERNAME]: "Failed Change Username",
|
|
1705
|
+
[G.FAILED_DELEGATION]: "Failed Delegation",
|
|
1706
|
+
[G.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
|
|
1707
|
+
[G.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
|
|
1708
|
+
[G.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
|
|
1709
|
+
[G.FAILED_USER_DELETION]: "Failed User Deletion",
|
|
1710
|
+
[G.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
|
|
1711
|
+
[G.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
|
|
1712
|
+
[G.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
|
|
1713
|
+
[G.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
|
|
1714
|
+
[G.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
|
|
1715
|
+
[G.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
|
|
1716
|
+
[G.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
|
|
1717
|
+
[G.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
|
|
1718
|
+
[G.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
|
|
1719
|
+
[G.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
|
|
1720
|
+
[G.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
|
|
1721
|
+
[G.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
|
|
1722
|
+
[G.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
|
|
1723
|
+
[G.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
|
|
1724
|
+
[G.FAILED_HOOK]: "Failed Hook",
|
|
1725
|
+
[G.FAILED_IMPERSONATION]: "Failed Impersonation",
|
|
1726
|
+
[G.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
|
|
1727
|
+
[G.FAILED_LOGOUT]: "Failed Logout",
|
|
1728
|
+
[G.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
|
|
1729
|
+
[G.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
|
|
1730
|
+
[G.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
|
|
1731
|
+
[G.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
|
|
1732
|
+
[G.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
|
|
1733
|
+
[G.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
|
|
1734
|
+
[G.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
|
|
1735
|
+
[G.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
|
|
1736
|
+
[G.FAILED_SIGNUP]: "Failed Signup",
|
|
1737
|
+
[G.FAILED_SILENT_AUTH]: "Failed Silent Auth",
|
|
1738
|
+
[G.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
|
|
1739
|
+
[G.FAILED_USERS_IMPORT]: "Failed Users Import",
|
|
1740
|
+
[G.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
|
|
1741
|
+
[G.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
|
|
1742
|
+
[G.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
|
|
1743
|
+
[G.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
|
|
1744
|
+
[G.MFA_AUTH_FAILED]: "MFA Auth Failed",
|
|
1745
|
+
[G.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
|
|
1746
|
+
[G.MFA_AUTH_SUCCESS]: "MFA Auth Success",
|
|
1747
|
+
[G.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
|
|
1748
|
+
[G.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
|
|
1749
|
+
[G.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
|
|
1750
|
+
[G.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
|
|
1751
|
+
[G.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
|
|
1752
|
+
[G.MFA_EMAIL_SENT]: "MFA Email Sent",
|
|
1753
|
+
[G.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
|
|
1754
|
+
[G.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
|
|
1755
|
+
[G.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
|
|
1756
|
+
[G.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
|
|
1757
|
+
[G.MFA_SMS_SENT]: "MFA SMS Sent",
|
|
1758
|
+
[G.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
|
|
1759
|
+
[G.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
|
|
1760
|
+
[G.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
|
|
1761
|
+
[G.SECOND_FACTOR_STARTED]: "Second Factor Started",
|
|
1762
|
+
[G.MFA_ENROLL_STARTED]: "MFA Enroll Started",
|
|
1763
|
+
[G.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
|
|
1764
|
+
[G.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
|
|
1765
|
+
[G.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
|
|
1766
|
+
[G.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
|
|
1767
|
+
[G.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
|
|
1768
|
+
[G.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
|
|
1769
|
+
[G.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
|
|
1770
|
+
[G.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
|
|
1771
|
+
[G.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
|
|
1772
|
+
[G.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
|
|
1773
|
+
[G.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
|
|
1774
|
+
[G.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
|
|
1775
|
+
[G.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
|
|
1776
|
+
[G.INFORMATION]: "Information",
|
|
1777
|
+
[G.MFA_REQUIRED]: "MFA Required",
|
|
1778
|
+
[G.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
|
|
1779
|
+
[G.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
|
|
1780
|
+
[G.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
|
|
1781
|
+
[G.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
|
|
1782
|
+
[G.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
|
|
1783
|
+
[G.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
|
|
1784
|
+
[G.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
|
|
1785
|
+
[G.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
|
|
1786
|
+
[G.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
|
|
1787
|
+
[G.BREACHED_PASSWORD]: "Breached Password",
|
|
1788
|
+
[G.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
|
|
1789
|
+
[G.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
|
|
1790
|
+
[G.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
|
|
1791
|
+
[G.SUCCESS_LOGIN]: "Success Login",
|
|
1792
|
+
[G.SUCCESS_API_OPERATION]: "Success API Operation",
|
|
1793
|
+
[G.FAILED_API_OPERATION]: "Failed API Operation",
|
|
1794
|
+
[G.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
|
|
1795
|
+
[G.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
|
|
1796
|
+
[G.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
|
|
1797
|
+
[G.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
|
|
1798
|
+
[G.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
|
|
1799
|
+
[G.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
|
|
1800
|
+
[G.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
|
|
1801
|
+
[G.SUCCESS_DELEGATION]: "Success Delegation",
|
|
1802
|
+
[G.SUCCESS_USER_DELETION]: "Success User Deletion",
|
|
1803
|
+
[G.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
|
|
1804
|
+
[G.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
|
|
1805
|
+
[G.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
|
|
1806
|
+
[G.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
|
|
1807
|
+
[G.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
|
|
1808
|
+
[G.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
|
|
1809
|
+
[G.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
|
|
1810
|
+
[G.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
|
|
1811
|
+
[G.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
|
|
1812
|
+
[G.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
|
|
1813
|
+
[G.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
|
|
1814
|
+
[G.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
|
|
1815
|
+
[G.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
|
|
1816
|
+
[G.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
|
|
1817
|
+
[G.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
|
|
1818
|
+
[G.SUCCESS_IMPERSONATION]: "Success Impersonation",
|
|
1819
|
+
[G.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
|
|
1820
|
+
[G.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
|
|
1821
|
+
[G.SUCCESS_LOGOUT]: "Success Logout",
|
|
1822
|
+
[G.SUCCESS_HOOK]: "Success Hook",
|
|
1823
|
+
[G.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
|
|
1824
|
+
[G.SUCCESS_REVOCATION]: "Success Revocation",
|
|
1825
|
+
[G.SUCCESS_SIGNUP]: "Success Signup",
|
|
1826
|
+
[G.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
|
|
1827
|
+
[G.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
|
|
1828
|
+
[G.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
|
|
1829
|
+
[G.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
|
|
1830
|
+
[G.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
|
|
1831
|
+
[G.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
|
|
1832
|
+
[G.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
|
|
1833
|
+
[G.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
|
|
1834
|
+
[G.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
|
|
1835
|
+
[G.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
|
|
1836
|
+
[G.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
|
|
1837
|
+
[G.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
|
|
1838
|
+
[G.WARNING_DURING_LOGIN]: "Warning During Login",
|
|
1839
|
+
[G.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
|
|
1840
|
+
[G.WARNING_USER_MANAGEMENT]: "Warning User Management"
|
|
1841
|
+
}, zn = (() => {
|
|
1841
1842
|
let e = {};
|
|
1842
|
-
for (let [t, n] of Object.entries(
|
|
1843
|
+
for (let [t, n] of Object.entries(G)) 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";
|
|
1843
1844
|
return e;
|
|
1844
1845
|
})();
|
|
1845
|
-
function
|
|
1846
|
-
return
|
|
1846
|
+
function Bn(e) {
|
|
1847
|
+
return Rn[e] ?? e;
|
|
1847
1848
|
}
|
|
1848
|
-
function
|
|
1849
|
-
return
|
|
1849
|
+
function Vn(e) {
|
|
1850
|
+
return zn[e] ?? "other";
|
|
1850
1851
|
}
|
|
1851
|
-
var
|
|
1852
|
+
var Hn = e.object({
|
|
1852
1853
|
name: e.string(),
|
|
1853
1854
|
version: e.string(),
|
|
1854
1855
|
env: e.object({ node: e.string().optional() }).optional()
|
|
1855
|
-
}),
|
|
1856
|
+
}), Un = e.object({
|
|
1856
1857
|
country_code: e.string().length(2),
|
|
1857
1858
|
city_name: e.string(),
|
|
1858
1859
|
latitude: e.string(),
|
|
1859
1860
|
longitude: e.string(),
|
|
1860
1861
|
time_zone: e.string(),
|
|
1861
1862
|
continent_code: e.string()
|
|
1862
|
-
}),
|
|
1863
|
-
type:
|
|
1863
|
+
}), Wn = e.object({
|
|
1864
|
+
type: Ln,
|
|
1864
1865
|
date: e.string(),
|
|
1865
1866
|
description: e.string().optional(),
|
|
1866
1867
|
ip: e.string().optional(),
|
|
@@ -1878,58 +1879,58 @@ var zn = e.object({
|
|
|
1878
1879
|
strategy: e.string().optional(),
|
|
1879
1880
|
strategy_type: e.string().optional(),
|
|
1880
1881
|
hostname: e.string().optional(),
|
|
1881
|
-
auth0_client:
|
|
1882
|
+
auth0_client: Hn.optional(),
|
|
1882
1883
|
log_id: e.string().optional(),
|
|
1883
|
-
location_info:
|
|
1884
|
-
}),
|
|
1884
|
+
location_info: Un.optional()
|
|
1885
|
+
}), Gn = Wn.extend({ log_id: e.string() }), Kn = e.enum([
|
|
1885
1886
|
"http",
|
|
1886
1887
|
"eventbridge",
|
|
1887
1888
|
"eventgrid",
|
|
1888
1889
|
"splunk",
|
|
1889
1890
|
"datadog",
|
|
1890
1891
|
"sumo"
|
|
1891
|
-
]),
|
|
1892
|
+
]), K = e.enum([
|
|
1892
1893
|
"active",
|
|
1893
1894
|
"paused",
|
|
1894
1895
|
"suspended"
|
|
1895
|
-
]),
|
|
1896
|
+
]), qn = e.object({
|
|
1896
1897
|
type: e.string(),
|
|
1897
1898
|
name: e.string()
|
|
1898
|
-
}),
|
|
1899
|
+
}), Jn = e.object({
|
|
1899
1900
|
name: e.string(),
|
|
1900
|
-
type:
|
|
1901
|
-
status:
|
|
1901
|
+
type: Kn,
|
|
1902
|
+
status: K.optional(),
|
|
1902
1903
|
sink: e.record(e.string(), e.unknown()),
|
|
1903
|
-
filters: e.array(
|
|
1904
|
+
filters: e.array(qn).optional(),
|
|
1904
1905
|
isPriority: e.boolean().optional()
|
|
1905
|
-
}),
|
|
1906
|
+
}), Yn = Jn.extend({
|
|
1906
1907
|
id: e.string(),
|
|
1907
|
-
status:
|
|
1908
|
+
status: K,
|
|
1908
1909
|
created_at: e.string().optional(),
|
|
1909
1910
|
updated_at: e.string().optional()
|
|
1910
|
-
}),
|
|
1911
|
+
}), Xn = e.enum([
|
|
1911
1912
|
"auth0",
|
|
1912
1913
|
"cognito",
|
|
1913
1914
|
"okta",
|
|
1914
1915
|
"oidc"
|
|
1915
|
-
]),
|
|
1916
|
+
]), Zn = e.object({
|
|
1916
1917
|
domain: e.string(),
|
|
1917
1918
|
client_id: e.string(),
|
|
1918
1919
|
client_secret: e.string(),
|
|
1919
1920
|
audience: e.string().optional(),
|
|
1920
1921
|
scope: e.string().optional()
|
|
1921
|
-
}),
|
|
1922
|
+
}), Qn = e.object({
|
|
1922
1923
|
id: e.string().optional(),
|
|
1923
1924
|
name: e.string(),
|
|
1924
|
-
provider:
|
|
1925
|
+
provider: Xn,
|
|
1925
1926
|
connection: e.string(),
|
|
1926
1927
|
enabled: e.boolean().default(!0),
|
|
1927
|
-
credentials:
|
|
1928
|
-
}),
|
|
1928
|
+
credentials: Zn
|
|
1929
|
+
}), $n = e.object({
|
|
1929
1930
|
id: e.string(),
|
|
1930
1931
|
created_at: e.string(),
|
|
1931
1932
|
updated_at: e.string()
|
|
1932
|
-
}).extend(
|
|
1933
|
+
}).extend(Qn.shape), er = e.object({
|
|
1933
1934
|
enabled: e.boolean().optional(),
|
|
1934
1935
|
shields: e.array(e.string()).optional(),
|
|
1935
1936
|
admin_notification_frequency: e.array(e.string()).optional(),
|
|
@@ -1938,13 +1939,13 @@ var zn = e.object({
|
|
|
1938
1939
|
"pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
|
|
1939
1940
|
"pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
|
|
1940
1941
|
}).optional()
|
|
1941
|
-
}),
|
|
1942
|
+
}), tr = e.object({
|
|
1942
1943
|
enabled: e.boolean().optional(),
|
|
1943
1944
|
shields: e.array(e.string()).optional(),
|
|
1944
1945
|
allowlist: e.array(e.string()).optional(),
|
|
1945
1946
|
mode: e.string().optional(),
|
|
1946
1947
|
max_attempts: e.number().optional()
|
|
1947
|
-
}),
|
|
1948
|
+
}), nr = e.object({
|
|
1948
1949
|
enabled: e.boolean().optional(),
|
|
1949
1950
|
shields: e.array(e.string()).optional(),
|
|
1950
1951
|
allowlist: e.array(e.string()).optional(),
|
|
@@ -1958,28 +1959,28 @@ var zn = e.object({
|
|
|
1958
1959
|
rate: e.number().optional()
|
|
1959
1960
|
}).optional()
|
|
1960
1961
|
}).optional()
|
|
1961
|
-
}),
|
|
1962
|
-
breached_password_detection:
|
|
1963
|
-
brute_force_protection:
|
|
1964
|
-
suspicious_ip_throttling:
|
|
1965
|
-
}),
|
|
1962
|
+
}), rr = e.object({
|
|
1963
|
+
breached_password_detection: er.optional(),
|
|
1964
|
+
brute_force_protection: tr.optional(),
|
|
1965
|
+
suspicious_ip_throttling: nr.optional()
|
|
1966
|
+
}), ir = e.object({
|
|
1966
1967
|
id: e.string().optional(),
|
|
1967
1968
|
user_id: e.string(),
|
|
1968
1969
|
password: e.string(),
|
|
1969
1970
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1970
1971
|
is_current: e.boolean().default(!0)
|
|
1971
|
-
}),
|
|
1972
|
+
}), ar = ir.extend({
|
|
1972
1973
|
id: e.string(),
|
|
1973
1974
|
created_at: e.string(),
|
|
1974
1975
|
updated_at: e.string()
|
|
1975
|
-
}),
|
|
1976
|
+
}), or = e.object({
|
|
1976
1977
|
initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
|
|
1977
1978
|
initial_ip: e.string().describe("First IP address associated with this session"),
|
|
1978
1979
|
initial_asn: e.string().describe("First autonomous system number associated with this session"),
|
|
1979
1980
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
1980
1981
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
1981
1982
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
1982
|
-
}),
|
|
1983
|
+
}), sr = e.object({
|
|
1983
1984
|
id: e.string(),
|
|
1984
1985
|
revoked_at: e.string().optional(),
|
|
1985
1986
|
used_at: e.string().optional(),
|
|
@@ -1987,14 +1988,14 @@ var zn = e.object({
|
|
|
1987
1988
|
expires_at: e.string().optional(),
|
|
1988
1989
|
login_session_id: e.string(),
|
|
1989
1990
|
idle_expires_at: e.string().optional(),
|
|
1990
|
-
device:
|
|
1991
|
+
device: or.describe("Metadata related to the device used in the session"),
|
|
1991
1992
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
1992
|
-
}),
|
|
1993
|
+
}), cr = e.object({
|
|
1993
1994
|
created_at: e.string(),
|
|
1994
1995
|
updated_at: e.string(),
|
|
1995
1996
|
authenticated_at: e.string(),
|
|
1996
1997
|
last_interaction_at: e.string()
|
|
1997
|
-
}).extend(
|
|
1998
|
+
}).extend(sr.shape), lr = e.object({
|
|
1998
1999
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
1999
2000
|
tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
|
|
2000
2001
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
@@ -2010,7 +2011,7 @@ var zn = e.object({
|
|
|
2010
2011
|
revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
|
|
2011
2012
|
connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
|
|
2012
2013
|
type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
|
|
2013
|
-
}),
|
|
2014
|
+
}), ur = e.object({
|
|
2014
2015
|
id: e.string().optional(),
|
|
2015
2016
|
audience: e.string().optional(),
|
|
2016
2017
|
friendly_name: e.string(),
|
|
@@ -2128,7 +2129,7 @@ var zn = e.object({
|
|
|
2128
2129
|
"shared_planetscale"
|
|
2129
2130
|
]).optional(),
|
|
2130
2131
|
d1_database_id: e.string().max(64).optional(),
|
|
2131
|
-
attack_protection:
|
|
2132
|
+
attack_protection: rr.optional(),
|
|
2132
2133
|
mfa: e.object({
|
|
2133
2134
|
policy: e.enum(["never", "always"]).default("never").optional(),
|
|
2134
2135
|
factors: e.object({
|
|
@@ -2155,99 +2156,138 @@ var zn = e.object({
|
|
|
2155
2156
|
}).optional(),
|
|
2156
2157
|
phone_message: e.object({ message: e.string().optional() }).optional()
|
|
2157
2158
|
}).optional()
|
|
2158
|
-
}),
|
|
2159
|
+
}), dr = e.object({
|
|
2159
2160
|
created_at: e.string().nullable().transform((e) => e ?? ""),
|
|
2160
2161
|
updated_at: e.string().nullable().transform((e) => e ?? "")
|
|
2161
|
-
}).extend(
|
|
2162
|
+
}).extend(ur.shape).extend({
|
|
2162
2163
|
id: e.string(),
|
|
2163
2164
|
is_control_plane: e.boolean().optional()
|
|
2164
|
-
}),
|
|
2165
|
+
}), fr = e.enum([
|
|
2165
2166
|
"provision",
|
|
2166
2167
|
"seed",
|
|
2167
2168
|
"upgrade",
|
|
2168
2169
|
"backup",
|
|
2169
|
-
"deprovision"
|
|
2170
|
-
|
|
2170
|
+
"deprovision",
|
|
2171
|
+
"users_import"
|
|
2172
|
+
]), pr = e.enum([
|
|
2171
2173
|
"pending",
|
|
2172
2174
|
"running",
|
|
2173
2175
|
"succeeded",
|
|
2174
2176
|
"failed",
|
|
2175
2177
|
"cancelled"
|
|
2176
|
-
]),
|
|
2178
|
+
]), mr = e.string().max(64), hr = ["inline", "cloudflare-workflows"], gr = e.object({
|
|
2177
2179
|
tenant_id: e.string().max(255).nullable().default(null),
|
|
2178
2180
|
rollout_id: e.string().max(255).nullable().optional(),
|
|
2179
|
-
kind:
|
|
2180
|
-
engine:
|
|
2181
|
+
kind: fr,
|
|
2182
|
+
engine: mr,
|
|
2181
2183
|
engine_instance_id: e.string().max(100).nullable().optional(),
|
|
2182
2184
|
target_worker_version: e.string().max(255).nullable().optional(),
|
|
2183
2185
|
target_database_version: e.string().max(255).nullable().optional(),
|
|
2184
|
-
initiated_by: e.string().max(255).nullable().optional()
|
|
2185
|
-
|
|
2186
|
+
initiated_by: e.string().max(255).nullable().optional(),
|
|
2187
|
+
input: e.record(e.string(), e.unknown()).nullable().optional()
|
|
2188
|
+
}), _r = gr.extend({
|
|
2186
2189
|
id: e.string(),
|
|
2187
|
-
status:
|
|
2190
|
+
status: pr,
|
|
2188
2191
|
current_step: e.string().max(255).nullable().optional(),
|
|
2189
2192
|
error: e.string().nullable().optional(),
|
|
2193
|
+
result: e.record(e.string(), e.unknown()).nullable().optional(),
|
|
2194
|
+
claimed_by: e.string().max(255).nullable().optional(),
|
|
2195
|
+
claim_expires_at: e.string().nullable().optional(),
|
|
2190
2196
|
created_at: e.string(),
|
|
2191
2197
|
updated_at: e.string(),
|
|
2192
2198
|
finished_at: e.string().nullable().optional()
|
|
2193
|
-
}),
|
|
2199
|
+
}), vr = _r.pick({
|
|
2194
2200
|
status: !0,
|
|
2195
2201
|
current_step: !0,
|
|
2196
2202
|
engine_instance_id: !0,
|
|
2197
2203
|
target_worker_version: !0,
|
|
2198
2204
|
target_database_version: !0,
|
|
2199
2205
|
error: !0,
|
|
2206
|
+
result: !0,
|
|
2207
|
+
claimed_by: !0,
|
|
2208
|
+
claim_expires_at: !0,
|
|
2200
2209
|
finished_at: !0
|
|
2201
|
-
}).partial(),
|
|
2210
|
+
}).partial(), yr = e.enum([
|
|
2202
2211
|
"started",
|
|
2203
2212
|
"succeeded",
|
|
2204
2213
|
"failed",
|
|
2205
2214
|
"retried",
|
|
2206
2215
|
"skipped",
|
|
2207
2216
|
"reconciled"
|
|
2208
|
-
]),
|
|
2217
|
+
]), br = e.object({
|
|
2209
2218
|
operation_id: e.string().max(255),
|
|
2210
2219
|
step: e.string().max(255),
|
|
2211
|
-
outcome:
|
|
2220
|
+
outcome: yr,
|
|
2212
2221
|
detail: e.record(e.string(), e.unknown()).nullable().optional(),
|
|
2213
2222
|
attempt: e.number().int().min(1).default(1)
|
|
2214
|
-
}),
|
|
2223
|
+
}), xr = br.extend({
|
|
2215
2224
|
id: e.string(),
|
|
2216
2225
|
created_at: e.string()
|
|
2217
|
-
}),
|
|
2226
|
+
}), q = e.enum([
|
|
2227
|
+
"pending",
|
|
2228
|
+
"inserted",
|
|
2229
|
+
"updated",
|
|
2230
|
+
"failed",
|
|
2231
|
+
"skipped"
|
|
2232
|
+
]), Sr = [
|
|
2233
|
+
"inserted",
|
|
2234
|
+
"updated",
|
|
2235
|
+
"failed",
|
|
2236
|
+
"skipped"
|
|
2237
|
+
], Cr = e.object({
|
|
2238
|
+
operation_id: e.string().max(255),
|
|
2239
|
+
seq: e.number().int().min(0),
|
|
2240
|
+
payload: e.record(e.string(), e.unknown()),
|
|
2241
|
+
status: q.default("pending"),
|
|
2242
|
+
error_code: e.string().max(64).nullable().optional(),
|
|
2243
|
+
error_message: e.string().nullable().optional(),
|
|
2244
|
+
error_path: e.string().max(255).nullable().optional(),
|
|
2245
|
+
entity_id: e.string().max(255).nullable().optional()
|
|
2246
|
+
}), wr = Cr.extend({
|
|
2247
|
+
status: q,
|
|
2248
|
+
created_at: e.string(),
|
|
2249
|
+
updated_at: e.string()
|
|
2250
|
+
}), Tr = e.object({
|
|
2251
|
+
seq: e.number().int().min(0),
|
|
2252
|
+
status: q,
|
|
2253
|
+
error_code: e.string().max(64).nullable().optional(),
|
|
2254
|
+
error_message: e.string().nullable().optional(),
|
|
2255
|
+
error_path: e.string().max(255).nullable().optional(),
|
|
2256
|
+
entity_id: e.string().max(255).nullable().optional()
|
|
2257
|
+
}), Er = e.enum([
|
|
2218
2258
|
"upgrade",
|
|
2219
2259
|
"reseed",
|
|
2220
2260
|
"backup"
|
|
2221
|
-
]),
|
|
2261
|
+
]), Dr = e.enum([
|
|
2222
2262
|
"pending",
|
|
2223
2263
|
"canary",
|
|
2224
2264
|
"rolling",
|
|
2225
2265
|
"paused",
|
|
2226
2266
|
"done",
|
|
2227
2267
|
"failed"
|
|
2228
|
-
]),
|
|
2229
|
-
kind:
|
|
2268
|
+
]), Or = e.object({
|
|
2269
|
+
kind: Er,
|
|
2230
2270
|
target_worker_version: e.string().max(255).nullable().optional(),
|
|
2231
2271
|
target_database_version: e.string().max(255).nullable().optional(),
|
|
2232
2272
|
wave_size: e.number().int().min(1).default(10),
|
|
2233
2273
|
canary_tenant_ids: e.array(e.string()).nullable().optional(),
|
|
2234
2274
|
filter: e.record(e.string(), e.unknown()).nullable().optional(),
|
|
2235
2275
|
initiated_by: e.string().max(255).nullable().optional()
|
|
2236
|
-
}),
|
|
2276
|
+
}), kr = Or.extend({
|
|
2237
2277
|
id: e.string(),
|
|
2238
|
-
status:
|
|
2278
|
+
status: Dr,
|
|
2239
2279
|
created_at: e.string(),
|
|
2240
2280
|
updated_at: e.string(),
|
|
2241
2281
|
finished_at: e.string().nullable().optional()
|
|
2242
|
-
}),
|
|
2282
|
+
}), Ar = kr.pick({
|
|
2243
2283
|
status: !0,
|
|
2244
2284
|
wave_size: !0,
|
|
2245
2285
|
canary_tenant_ids: !0,
|
|
2246
2286
|
filter: !0,
|
|
2247
2287
|
finished_at: !0
|
|
2248
|
-
}).partial(),
|
|
2288
|
+
}).partial(), jr = /* @__PURE__ */ function(e) {
|
|
2249
2289
|
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;
|
|
2250
|
-
}({}),
|
|
2290
|
+
}({}), Mr = e.object({
|
|
2251
2291
|
access_token: e.string(),
|
|
2252
2292
|
id_token: e.string().optional(),
|
|
2253
2293
|
scope: e.string().optional(),
|
|
@@ -2262,7 +2302,7 @@ e.object({
|
|
|
2262
2302
|
});
|
|
2263
2303
|
//#endregion
|
|
2264
2304
|
//#region src/types/Theme.ts
|
|
2265
|
-
var
|
|
2305
|
+
var Nr = e.object({
|
|
2266
2306
|
button_border_radius: e.number(),
|
|
2267
2307
|
button_border_weight: e.number(),
|
|
2268
2308
|
buttons_style: e.enum([
|
|
@@ -2280,7 +2320,7 @@ var Tr = e.object({
|
|
|
2280
2320
|
show_widget_shadow: e.boolean(),
|
|
2281
2321
|
widget_border_weight: e.number(),
|
|
2282
2322
|
widget_corner_radius: e.number()
|
|
2283
|
-
}),
|
|
2323
|
+
}), Pr = e.object({
|
|
2284
2324
|
base_focus_color: e.string(),
|
|
2285
2325
|
base_hover_color: e.string(),
|
|
2286
2326
|
body_text: e.string(),
|
|
@@ -2307,7 +2347,7 @@ var Tr = e.object({
|
|
|
2307
2347
|
}), J = e.object({
|
|
2308
2348
|
bold: e.boolean(),
|
|
2309
2349
|
size: e.number()
|
|
2310
|
-
}),
|
|
2350
|
+
}), Fr = e.object({
|
|
2311
2351
|
body_text: J,
|
|
2312
2352
|
buttons_text: J,
|
|
2313
2353
|
font_url: e.string(),
|
|
@@ -2317,7 +2357,7 @@ var Tr = e.object({
|
|
|
2317
2357
|
reference_text_size: e.number(),
|
|
2318
2358
|
subtitle: J,
|
|
2319
2359
|
title: J
|
|
2320
|
-
}),
|
|
2360
|
+
}), Ir = e.object({
|
|
2321
2361
|
background_color: e.string(),
|
|
2322
2362
|
background_image_url: e.string(),
|
|
2323
2363
|
page_layout: e.enum([
|
|
@@ -2330,7 +2370,7 @@ var Tr = e.object({
|
|
|
2330
2370
|
"chip",
|
|
2331
2371
|
"none"
|
|
2332
2372
|
]).optional()
|
|
2333
|
-
}),
|
|
2373
|
+
}), Lr = e.object({
|
|
2334
2374
|
header_text_alignment: e.enum([
|
|
2335
2375
|
"center",
|
|
2336
2376
|
"left",
|
|
@@ -2345,72 +2385,72 @@ var Tr = e.object({
|
|
|
2345
2385
|
]),
|
|
2346
2386
|
logo_url: e.string(),
|
|
2347
2387
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
2348
|
-
}),
|
|
2349
|
-
borders:
|
|
2350
|
-
colors:
|
|
2388
|
+
}), Rr = e.object({
|
|
2389
|
+
borders: Nr,
|
|
2390
|
+
colors: Pr,
|
|
2351
2391
|
displayName: e.string(),
|
|
2352
|
-
fonts:
|
|
2353
|
-
page_background:
|
|
2354
|
-
widget:
|
|
2355
|
-
}),
|
|
2392
|
+
fonts: Fr,
|
|
2393
|
+
page_background: Ir,
|
|
2394
|
+
widget: Lr
|
|
2395
|
+
}), zr = Rr.extend({ themeId: e.string() }), Br = e.object({
|
|
2356
2396
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
2357
2397
|
identifier_first: e.boolean().default(!0),
|
|
2358
2398
|
password_first: e.boolean().default(!1),
|
|
2359
2399
|
show_last_used_connection: e.boolean().default(!1),
|
|
2360
2400
|
webauthn_platform_first_factor: e.boolean()
|
|
2361
|
-
}),
|
|
2401
|
+
}), Vr = e.object({
|
|
2362
2402
|
hosts: e.array(e.string()).optional(),
|
|
2363
2403
|
methods: e.array(e.string()).optional(),
|
|
2364
2404
|
path: e.string().default("/*"),
|
|
2365
2405
|
headers: e.record(e.string(), e.string()).optional(),
|
|
2366
2406
|
query: e.record(e.string(), e.string()).optional()
|
|
2367
|
-
}),
|
|
2407
|
+
}), Hr = e.object({
|
|
2368
2408
|
type: e.string(),
|
|
2369
2409
|
options: e.record(e.string(), e.unknown()).default({})
|
|
2370
2410
|
}), Y = e.object({
|
|
2371
2411
|
id: e.string().optional(),
|
|
2372
2412
|
custom_domain_id: e.string(),
|
|
2373
2413
|
priority: e.number().int().default(100),
|
|
2374
|
-
match:
|
|
2375
|
-
handlers: e.array(
|
|
2376
|
-
}),
|
|
2414
|
+
match: Vr,
|
|
2415
|
+
handlers: e.array(Hr).min(1)
|
|
2416
|
+
}), Ur = Y.extend({
|
|
2377
2417
|
id: e.string(),
|
|
2378
2418
|
tenant_id: e.string(),
|
|
2379
2419
|
created_at: e.string(),
|
|
2380
2420
|
updated_at: e.string()
|
|
2381
|
-
}),
|
|
2421
|
+
}), Wr = Y.partial().omit({
|
|
2382
2422
|
id: !0,
|
|
2383
2423
|
custom_domain_id: !0
|
|
2384
|
-
}),
|
|
2424
|
+
}), Gr = e.object({
|
|
2385
2425
|
scim: e.string(),
|
|
2386
2426
|
auth0: e.string()
|
|
2387
|
-
}),
|
|
2427
|
+
}), Kr = e.object({
|
|
2388
2428
|
connection_id: e.string(),
|
|
2389
2429
|
user_id_attribute: e.string().default("externalId"),
|
|
2390
|
-
mapping: e.array(
|
|
2391
|
-
}),
|
|
2430
|
+
mapping: e.array(Gr).default([])
|
|
2431
|
+
}), qr = e.object({
|
|
2392
2432
|
created_at: e.string(),
|
|
2393
2433
|
updated_at: e.string()
|
|
2394
|
-
}).extend(
|
|
2434
|
+
}).extend(Kr.shape), Jr = e.object({
|
|
2395
2435
|
token_id: e.string(),
|
|
2396
2436
|
connection_id: e.string(),
|
|
2397
2437
|
token_hash: e.string(),
|
|
2398
2438
|
scopes: e.array(e.string()).default([]),
|
|
2399
2439
|
valid_until: e.string().optional()
|
|
2400
|
-
}),
|
|
2440
|
+
}), Yr = e.object({
|
|
2401
2441
|
created_at: e.string(),
|
|
2402
2442
|
last_used_at: e.string().optional()
|
|
2403
|
-
}).extend(
|
|
2443
|
+
}).extend(Jr.shape), Xr = e.object({
|
|
2404
2444
|
connection_id: e.string(),
|
|
2405
2445
|
external_id: e.string(),
|
|
2406
2446
|
user_id: e.string()
|
|
2407
|
-
}),
|
|
2447
|
+
}), Zr = e.object({ created_at: e.string() }).extend(Xr.shape), Qr = e.object({
|
|
2408
2448
|
name: e.string(),
|
|
2409
2449
|
enabled: e.boolean().optional().default(!0),
|
|
2410
2450
|
default_from_address: e.string().optional(),
|
|
2411
2451
|
credentials: e.record(e.string(), e.unknown()),
|
|
2412
2452
|
settings: e.object({}).optional()
|
|
2413
|
-
}),
|
|
2453
|
+
}), $r = e.enum([
|
|
2414
2454
|
"verify_email",
|
|
2415
2455
|
"verify_email_by_code",
|
|
2416
2456
|
"reset_email",
|
|
@@ -2423,8 +2463,8 @@ var Tr = e.object({
|
|
|
2423
2463
|
"change_password",
|
|
2424
2464
|
"password_reset",
|
|
2425
2465
|
"user_invitation"
|
|
2426
|
-
]),
|
|
2427
|
-
template:
|
|
2466
|
+
]), ei = e.object({
|
|
2467
|
+
template: $r,
|
|
2428
2468
|
body: e.string(),
|
|
2429
2469
|
from: e.string(),
|
|
2430
2470
|
subject: e.string(),
|
|
@@ -2433,19 +2473,19 @@ var Tr = e.object({
|
|
|
2433
2473
|
urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
|
|
2434
2474
|
includeEmailInRedirect: e.boolean().default(!1),
|
|
2435
2475
|
enabled: e.boolean().default(!0)
|
|
2436
|
-
}),
|
|
2476
|
+
}), ti = e.object({
|
|
2437
2477
|
id: e.string(),
|
|
2438
2478
|
login_id: e.string(),
|
|
2439
2479
|
session_id: e.string().optional(),
|
|
2440
2480
|
organization: e.string().optional(),
|
|
2441
2481
|
auth_connection: e.string().optional(),
|
|
2442
|
-
auth_strategy:
|
|
2482
|
+
auth_strategy: W.optional(),
|
|
2443
2483
|
user_id: e.string(),
|
|
2444
2484
|
client_id: e.string(),
|
|
2445
2485
|
expires_at: e.string().optional(),
|
|
2446
2486
|
idle_expires_at: e.string().optional(),
|
|
2447
2487
|
last_exchanged_at: e.string().optional(),
|
|
2448
|
-
device:
|
|
2488
|
+
device: or,
|
|
2449
2489
|
resource_servers: e.array(e.object({
|
|
2450
2490
|
audience: e.string(),
|
|
2451
2491
|
scopes: e.string()
|
|
@@ -2456,19 +2496,19 @@ var Tr = e.object({
|
|
|
2456
2496
|
family_id: e.string().optional(),
|
|
2457
2497
|
rotated_to: e.string().optional(),
|
|
2458
2498
|
rotated_at: e.string().optional()
|
|
2459
|
-
}),
|
|
2499
|
+
}), ni = ti.extend({
|
|
2460
2500
|
created_at: e.string(),
|
|
2461
2501
|
revoked_at: e.string().optional()
|
|
2462
|
-
}),
|
|
2502
|
+
}), ri = e.object({
|
|
2463
2503
|
to: e.string(),
|
|
2464
2504
|
message: e.string()
|
|
2465
|
-
}),
|
|
2505
|
+
}), ii = e.object({
|
|
2466
2506
|
name: e.string(),
|
|
2467
2507
|
options: e.object({})
|
|
2468
|
-
}),
|
|
2508
|
+
}), ai = e.object({
|
|
2469
2509
|
value: e.string(),
|
|
2470
2510
|
description: e.string().optional()
|
|
2471
|
-
}),
|
|
2511
|
+
}), oi = e.object({
|
|
2472
2512
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
2473
2513
|
enforce_policies: e.boolean().optional(),
|
|
2474
2514
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -2476,11 +2516,11 @@ var Tr = e.object({
|
|
|
2476
2516
|
persist_client_authorization: e.boolean().optional(),
|
|
2477
2517
|
enable_introspection_endpoint: e.boolean().optional(),
|
|
2478
2518
|
mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
|
|
2479
|
-
}),
|
|
2519
|
+
}), si = e.object({
|
|
2480
2520
|
id: e.string().optional(),
|
|
2481
2521
|
name: e.string(),
|
|
2482
2522
|
identifier: e.string(),
|
|
2483
|
-
scopes: e.array(
|
|
2523
|
+
scopes: e.array(ai).optional(),
|
|
2484
2524
|
signing_alg: e.string().optional(),
|
|
2485
2525
|
signing_secret: e.string().optional(),
|
|
2486
2526
|
token_lifetime: e.number().default(86400),
|
|
@@ -2488,37 +2528,37 @@ var Tr = e.object({
|
|
|
2488
2528
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
2489
2529
|
allow_offline_access: e.boolean().optional(),
|
|
2490
2530
|
verificationKey: e.string().optional(),
|
|
2491
|
-
options:
|
|
2531
|
+
options: oi.optional(),
|
|
2492
2532
|
is_system: e.boolean().optional(),
|
|
2493
2533
|
metadata: e.record(e.string(), e.any()).optional()
|
|
2494
|
-
}),
|
|
2534
|
+
}), ci = si.extend({
|
|
2495
2535
|
created_at: e.string().optional(),
|
|
2496
2536
|
updated_at: e.string().optional()
|
|
2497
|
-
}),
|
|
2537
|
+
}), li = e.array(ci), ui = e.object({
|
|
2498
2538
|
role_id: e.string(),
|
|
2499
2539
|
resource_server_identifier: e.string(),
|
|
2500
2540
|
permission_name: e.string()
|
|
2501
|
-
}),
|
|
2541
|
+
}), di = ui.extend({ created_at: e.string() }), fi = e.array(di), pi = e.object({
|
|
2502
2542
|
user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
|
|
2503
2543
|
clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
|
|
2504
2544
|
audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
|
|
2505
2545
|
scope: e.array(e.string()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
|
|
2506
|
-
}),
|
|
2546
|
+
}), mi = pi.extend({ id: e.string() }), hi = e.object({
|
|
2507
2547
|
user_id: e.string(),
|
|
2508
2548
|
last_login: e.string().optional(),
|
|
2509
2549
|
last_ip: e.string().optional(),
|
|
2510
2550
|
login_count: e.number().default(0),
|
|
2511
2551
|
failed_logins: e.array(e.string()).optional(),
|
|
2512
2552
|
last_password_reset: e.string().optional()
|
|
2513
|
-
}),
|
|
2553
|
+
}), gi = e.object({
|
|
2514
2554
|
user_id: e.string(),
|
|
2515
2555
|
resource_server_identifier: e.string(),
|
|
2516
2556
|
permission_name: e.string(),
|
|
2517
2557
|
organization_id: e.string().optional()
|
|
2518
|
-
}),
|
|
2558
|
+
}), _i = gi.extend({
|
|
2519
2559
|
tenant_id: e.string(),
|
|
2520
2560
|
created_at: e.string().optional()
|
|
2521
|
-
}),
|
|
2561
|
+
}), vi = e.array(_i), yi = e.object({
|
|
2522
2562
|
user_id: e.string(),
|
|
2523
2563
|
resource_server_identifier: e.string(),
|
|
2524
2564
|
resource_server_name: e.string(),
|
|
@@ -2526,65 +2566,65 @@ var Tr = e.object({
|
|
|
2526
2566
|
description: e.string().nullable().optional(),
|
|
2527
2567
|
created_at: e.string().optional(),
|
|
2528
2568
|
organization_id: e.string().optional()
|
|
2529
|
-
}),
|
|
2569
|
+
}), bi = e.array(yi), xi = e.object({
|
|
2530
2570
|
user_id: e.string(),
|
|
2531
2571
|
role_id: e.string(),
|
|
2532
2572
|
organization_id: e.string().optional()
|
|
2533
|
-
}),
|
|
2573
|
+
}), Si = xi.extend({
|
|
2534
2574
|
tenant_id: e.string(),
|
|
2535
2575
|
created_at: e.string().optional()
|
|
2536
|
-
}),
|
|
2576
|
+
}), Ci = e.array(Si), wi = e.object({
|
|
2537
2577
|
id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
|
|
2538
2578
|
name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
|
|
2539
2579
|
description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
|
|
2540
2580
|
is_system: e.boolean().optional(),
|
|
2541
2581
|
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." })
|
|
2542
|
-
}),
|
|
2582
|
+
}), Ti = wi.extend({
|
|
2543
2583
|
id: e.string().openapi({ description: "The unique identifier of the role" }),
|
|
2544
2584
|
created_at: e.string().optional(),
|
|
2545
2585
|
updated_at: e.string().optional()
|
|
2546
|
-
}),
|
|
2586
|
+
}), Ei = e.array(Ti), Di = e.object({
|
|
2547
2587
|
logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
|
|
2548
2588
|
colors: e.object({
|
|
2549
2589
|
primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
|
|
2550
2590
|
page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
|
|
2551
2591
|
}).optional()
|
|
2552
|
-
}).optional(),
|
|
2592
|
+
}).optional(), Oi = e.object({
|
|
2553
2593
|
connection_id: e.string().openapi({ description: "ID of the connection" }),
|
|
2554
2594
|
assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
|
|
2555
2595
|
show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
|
|
2556
2596
|
is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
|
|
2557
|
-
}),
|
|
2597
|
+
}), ki = e.object({ client_credentials: e.object({
|
|
2558
2598
|
enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
|
|
2559
2599
|
per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
|
|
2560
2600
|
per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
|
|
2561
|
-
}).optional() }).optional(),
|
|
2601
|
+
}).optional() }).optional(), Ai = e.object({
|
|
2562
2602
|
id: e.string().optional(),
|
|
2563
2603
|
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." }),
|
|
2564
2604
|
display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
|
|
2565
|
-
branding:
|
|
2605
|
+
branding: Di,
|
|
2566
2606
|
metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
|
|
2567
|
-
enabled_connections: e.array(
|
|
2568
|
-
token_quota:
|
|
2569
|
-
}),
|
|
2607
|
+
enabled_connections: e.array(Oi).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
|
|
2608
|
+
token_quota: ki
|
|
2609
|
+
}), ji = Ai.extend(t.shape).extend({
|
|
2570
2610
|
id: e.string(),
|
|
2571
2611
|
name: e.string().min(1).openapi({ description: "The name of the organization" })
|
|
2572
|
-
}),
|
|
2612
|
+
}), Mi = e.object({
|
|
2573
2613
|
connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
|
|
2574
2614
|
assign_membership_on_login: e.boolean().optional().default(!1),
|
|
2575
2615
|
show_as_button: e.boolean().optional().default(!0),
|
|
2576
2616
|
is_signup_enabled: e.boolean().optional().default(!0)
|
|
2577
|
-
}),
|
|
2617
|
+
}), Ni = Mi.extend({
|
|
2578
2618
|
connection: e.object({
|
|
2579
2619
|
name: e.string().optional(),
|
|
2580
2620
|
strategy: e.string().optional()
|
|
2581
2621
|
}).optional(),
|
|
2582
2622
|
created_at: e.string().optional(),
|
|
2583
2623
|
updated_at: e.string().optional()
|
|
2584
|
-
}),
|
|
2624
|
+
}), Pi = e.array(Ni), Fi = e.object({
|
|
2585
2625
|
user_id: e.string().openapi({ description: "ID of the user" }),
|
|
2586
2626
|
organization_id: e.string().openapi({ description: "ID of the organization" })
|
|
2587
|
-
}),
|
|
2627
|
+
}), Ii = Fi.extend(t.shape).extend({ id: e.string() }), Li = e.object({
|
|
2588
2628
|
idle_session_lifetime: e.number().default(72),
|
|
2589
2629
|
session_lifetime: e.number().default(168),
|
|
2590
2630
|
session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
|
|
@@ -2663,7 +2703,7 @@ var Tr = e.object({
|
|
|
2663
2703
|
}).optional(),
|
|
2664
2704
|
phone_message: e.object({ message: e.string().optional() }).optional()
|
|
2665
2705
|
}).optional()
|
|
2666
|
-
}),
|
|
2706
|
+
}), Ri = e.object({
|
|
2667
2707
|
date: e.string().openapi({
|
|
2668
2708
|
description: "Date these events occurred in ISO 8601 format",
|
|
2669
2709
|
example: "2025-12-19"
|
|
@@ -2688,10 +2728,10 @@ var Tr = e.object({
|
|
|
2688
2728
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2689
2729
|
example: "2025-12-19T00:00:00.000Z"
|
|
2690
2730
|
})
|
|
2691
|
-
}),
|
|
2731
|
+
}), zi = e.number().openapi({
|
|
2692
2732
|
description: "Number of active users in the last 30 days",
|
|
2693
2733
|
example: 1234
|
|
2694
|
-
}),
|
|
2734
|
+
}), Bi = e.enum([
|
|
2695
2735
|
"active-users",
|
|
2696
2736
|
"logins",
|
|
2697
2737
|
"signups",
|
|
@@ -2703,64 +2743,64 @@ var Tr = e.object({
|
|
|
2703
2743
|
"mfa",
|
|
2704
2744
|
"email-verifications",
|
|
2705
2745
|
"codes-sent"
|
|
2706
|
-
]),
|
|
2746
|
+
]), Vi = e.enum([
|
|
2707
2747
|
"hour",
|
|
2708
2748
|
"day",
|
|
2709
2749
|
"week",
|
|
2710
2750
|
"month"
|
|
2711
|
-
]),
|
|
2751
|
+
]), Hi = e.enum([
|
|
2712
2752
|
"time",
|
|
2713
2753
|
"connection",
|
|
2714
2754
|
"client_id",
|
|
2715
2755
|
"user_type",
|
|
2716
2756
|
"event"
|
|
2717
|
-
]),
|
|
2757
|
+
]), Ui = e.enum([
|
|
2718
2758
|
"password",
|
|
2719
2759
|
"social",
|
|
2720
2760
|
"passwordless",
|
|
2721
2761
|
"enterprise"
|
|
2722
|
-
]),
|
|
2762
|
+
]), Wi = e.object({
|
|
2723
2763
|
cohort: e.string(),
|
|
2724
2764
|
sessions: e.number(),
|
|
2725
2765
|
active: e.array(e.number())
|
|
2726
|
-
}),
|
|
2766
|
+
}), Gi = e.object({
|
|
2727
2767
|
interval: e.literal("week"),
|
|
2728
2768
|
from: e.string(),
|
|
2729
2769
|
to: e.string(),
|
|
2730
|
-
cohorts: e.array(
|
|
2731
|
-
}),
|
|
2770
|
+
cohorts: e.array(Wi)
|
|
2771
|
+
}), Ki = e.object({
|
|
2732
2772
|
cohort: e.string(),
|
|
2733
2773
|
tokens: e.number(),
|
|
2734
2774
|
active: e.array(e.number())
|
|
2735
|
-
}),
|
|
2775
|
+
}), qi = e.object({
|
|
2736
2776
|
interval: e.literal("week"),
|
|
2737
2777
|
from: e.string(),
|
|
2738
2778
|
to: e.string(),
|
|
2739
|
-
cohorts: e.array(
|
|
2740
|
-
}),
|
|
2779
|
+
cohorts: e.array(Ki)
|
|
2780
|
+
}), Ji = e.object({
|
|
2741
2781
|
name: e.string(),
|
|
2742
2782
|
type: e.string()
|
|
2743
|
-
}),
|
|
2783
|
+
}), Yi = e.object({
|
|
2744
2784
|
elapsed: e.number(),
|
|
2745
2785
|
rows_read: e.number().optional(),
|
|
2746
2786
|
bytes_read: e.number().optional()
|
|
2747
|
-
}),
|
|
2748
|
-
meta: e.array(
|
|
2787
|
+
}), Xi = e.object({
|
|
2788
|
+
meta: e.array(Ji),
|
|
2749
2789
|
data: e.array(e.record(e.string(), e.any())),
|
|
2750
2790
|
rows: e.number(),
|
|
2751
2791
|
rows_before_limit_at_least: e.number().optional(),
|
|
2752
|
-
statistics:
|
|
2753
|
-
}),
|
|
2792
|
+
statistics: Yi.optional()
|
|
2793
|
+
}), Zi = 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(".")), Qi = e.record(e.string(), e.record(e.string(), e.string())).openapi({
|
|
2754
2794
|
type: "object",
|
|
2755
2795
|
additionalProperties: {
|
|
2756
2796
|
type: "object",
|
|
2757
2797
|
additionalProperties: { type: "string" }
|
|
2758
2798
|
}
|
|
2759
|
-
}),
|
|
2760
|
-
prompt:
|
|
2799
|
+
}), $i = e.object({
|
|
2800
|
+
prompt: Zi,
|
|
2761
2801
|
language: e.string(),
|
|
2762
|
-
custom_text:
|
|
2763
|
-
}),
|
|
2802
|
+
custom_text: Qi
|
|
2803
|
+
}), ea = {
|
|
2764
2804
|
EMAIL: "email",
|
|
2765
2805
|
SMS: "sms",
|
|
2766
2806
|
USERNAME_PASSWORD: "Username-Password-Authentication",
|
|
@@ -2776,17 +2816,17 @@ var Tr = e.object({
|
|
|
2776
2816
|
WAAD: "waad",
|
|
2777
2817
|
ADFS: "adfs",
|
|
2778
2818
|
OKTA: "okta"
|
|
2779
|
-
},
|
|
2819
|
+
}, ta = {
|
|
2780
2820
|
DATABASE: "database",
|
|
2781
2821
|
SOCIAL: "social",
|
|
2782
2822
|
PASSWORDLESS: "passwordless"
|
|
2783
|
-
},
|
|
2784
|
-
function
|
|
2785
|
-
return e === "auth0" || e ===
|
|
2823
|
+
}, na = "auth0";
|
|
2824
|
+
function ra(e) {
|
|
2825
|
+
return e === "auth0" || e === ea.USERNAME_PASSWORD || e === "auth2";
|
|
2786
2826
|
}
|
|
2787
2827
|
//#endregion
|
|
2788
2828
|
//#region src/types/AuthenticationMethod.ts
|
|
2789
|
-
var
|
|
2829
|
+
var ia = e.enum([
|
|
2790
2830
|
"phone",
|
|
2791
2831
|
"totp",
|
|
2792
2832
|
"email",
|
|
@@ -2794,9 +2834,9 @@ var Xi = e.enum([
|
|
|
2794
2834
|
"webauthn-roaming",
|
|
2795
2835
|
"webauthn-platform",
|
|
2796
2836
|
"passkey"
|
|
2797
|
-
]),
|
|
2837
|
+
]), aa = e.object({
|
|
2798
2838
|
user_id: e.string(),
|
|
2799
|
-
type:
|
|
2839
|
+
type: ia,
|
|
2800
2840
|
phone_number: e.string().optional(),
|
|
2801
2841
|
totp_secret: e.string().optional(),
|
|
2802
2842
|
credential_id: e.string().optional(),
|
|
@@ -2807,7 +2847,7 @@ var Xi = e.enum([
|
|
|
2807
2847
|
friendly_name: e.string().optional(),
|
|
2808
2848
|
confirmed: e.boolean().default(!1)
|
|
2809
2849
|
});
|
|
2810
|
-
function
|
|
2850
|
+
function oa(t, n) {
|
|
2811
2851
|
t.type === "phone" && !t.phone_number && n.addIssue({
|
|
2812
2852
|
code: e.ZodIssueCode.custom,
|
|
2813
2853
|
message: "phone_number is required when type is 'phone'",
|
|
@@ -2830,15 +2870,15 @@ function Qi(t, n) {
|
|
|
2830
2870
|
path: ["public_key"]
|
|
2831
2871
|
}));
|
|
2832
2872
|
}
|
|
2833
|
-
var
|
|
2873
|
+
var sa = aa.superRefine(oa), ca = aa.extend({
|
|
2834
2874
|
id: e.string(),
|
|
2835
2875
|
created_at: e.string(),
|
|
2836
2876
|
updated_at: e.string()
|
|
2837
|
-
}).superRefine(
|
|
2877
|
+
}).superRefine(oa), la = e.object({
|
|
2838
2878
|
id: e.string().optional(),
|
|
2839
2879
|
created_at: e.string().datetime({ offset: !0 }).optional(),
|
|
2840
2880
|
updated_at: e.string().datetime({ offset: !0 }).optional()
|
|
2841
|
-
}),
|
|
2881
|
+
}), ua = {
|
|
2842
2882
|
"post-user-login": {
|
|
2843
2883
|
accessToken: ["setCustomClaim"],
|
|
2844
2884
|
idToken: ["setCustomClaim"],
|
|
@@ -2860,7 +2900,7 @@ var $i = Zi.superRefine(Qi), ea = Zi.extend({
|
|
|
2860
2900
|
};
|
|
2861
2901
|
//#endregion
|
|
2862
2902
|
//#region src/utils/user-id.ts
|
|
2863
|
-
function
|
|
2903
|
+
function da(e) {
|
|
2864
2904
|
let t = e.indexOf("|"), n = e.slice(0, t), r = e.slice(t + 1);
|
|
2865
2905
|
if (t === -1 || !n || !r) throw Error(`Invalid user_id: ${e}`);
|
|
2866
2906
|
return {
|
|
@@ -2869,8 +2909,11 @@ function ra(e) {
|
|
|
2869
2909
|
};
|
|
2870
2910
|
}
|
|
2871
2911
|
//#endregion
|
|
2912
|
+
//#region src/utils/http.ts
|
|
2913
|
+
var fa = "x-authhero-preserve-location";
|
|
2914
|
+
//#endregion
|
|
2872
2915
|
//#region src/utils/passthrough.ts
|
|
2873
|
-
function
|
|
2916
|
+
function pa(e) {
|
|
2874
2917
|
let { primary: t, secondaries: n, syncMethods: r = [
|
|
2875
2918
|
"create",
|
|
2876
2919
|
"rawCreate",
|
|
@@ -2904,12 +2947,12 @@ function ia(e) {
|
|
|
2904
2947
|
} : i.bind(e) : i;
|
|
2905
2948
|
} });
|
|
2906
2949
|
}
|
|
2907
|
-
function
|
|
2950
|
+
function ma(e) {
|
|
2908
2951
|
return e;
|
|
2909
2952
|
}
|
|
2910
2953
|
//#endregion
|
|
2911
2954
|
//#region src/utils/connection-attributes.ts
|
|
2912
|
-
function
|
|
2955
|
+
function ha(e) {
|
|
2913
2956
|
let t = e?.options;
|
|
2914
2957
|
if (!t) return {
|
|
2915
2958
|
usernameIdentifierActive: !1,
|
|
@@ -2932,35 +2975,35 @@ function oa(e) {
|
|
|
2932
2975
|
}
|
|
2933
2976
|
//#endregion
|
|
2934
2977
|
//#region src/utils/guards.ts
|
|
2935
|
-
function
|
|
2978
|
+
function ga(e) {
|
|
2936
2979
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
2937
2980
|
}
|
|
2938
2981
|
//#endregion
|
|
2939
2982
|
//#region src/utils/base64url.ts
|
|
2940
|
-
function
|
|
2983
|
+
function _a(e) {
|
|
2941
2984
|
let t = "";
|
|
2942
2985
|
for (let n of e) t += String.fromCharCode(n);
|
|
2943
2986
|
return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
2944
2987
|
}
|
|
2945
|
-
function
|
|
2988
|
+
function va(e) {
|
|
2946
2989
|
let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
|
|
2947
2990
|
for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
|
|
2948
2991
|
return r;
|
|
2949
2992
|
}
|
|
2950
|
-
function
|
|
2951
|
-
return
|
|
2993
|
+
function ya(e) {
|
|
2994
|
+
return _a(new TextEncoder().encode(e));
|
|
2952
2995
|
}
|
|
2953
|
-
function
|
|
2954
|
-
return new TextDecoder().decode(
|
|
2996
|
+
function ba(e) {
|
|
2997
|
+
return new TextDecoder().decode(va(e));
|
|
2955
2998
|
}
|
|
2956
2999
|
//#endregion
|
|
2957
3000
|
//#region src/utils/base64.ts
|
|
2958
|
-
function
|
|
3001
|
+
function xa(e) {
|
|
2959
3002
|
let t = "";
|
|
2960
3003
|
for (let n of e) t += String.fromCharCode(n);
|
|
2961
3004
|
return btoa(t);
|
|
2962
3005
|
}
|
|
2963
|
-
function
|
|
3006
|
+
function Sa(e) {
|
|
2964
3007
|
let t = atob(e), n = new Uint8Array(t.length);
|
|
2965
3008
|
for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
|
|
2966
3009
|
return n;
|
|
@@ -2968,12 +3011,12 @@ function pa(e) {
|
|
|
2968
3011
|
//#endregion
|
|
2969
3012
|
//#region src/utils/base32.ts
|
|
2970
3013
|
var X = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
|
|
2971
|
-
function
|
|
3014
|
+
function Ca(e) {
|
|
2972
3015
|
let t = "", n = 0, r = 0;
|
|
2973
3016
|
for (let i of e) for (n = n << 8 | i, r += 8; r >= 5;) r -= 5, t += X[n >> r & 31];
|
|
2974
3017
|
return r > 0 && (t += X[n << 5 - r & 31]), t;
|
|
2975
3018
|
}
|
|
2976
|
-
function
|
|
3019
|
+
function wa(e) {
|
|
2977
3020
|
let t = e.replace(/=+$/, "").toUpperCase(), n = t.length % 8;
|
|
2978
3021
|
if (n === 1 || n === 3 || n === 6) throw Error(`Invalid base32 length: ${t.length}`);
|
|
2979
3022
|
let r = [], i = 0, a = 0;
|
|
@@ -2987,19 +3030,19 @@ function ha(e) {
|
|
|
2987
3030
|
}
|
|
2988
3031
|
//#endregion
|
|
2989
3032
|
//#region src/utils/hex.ts
|
|
2990
|
-
function
|
|
3033
|
+
function Ta(e) {
|
|
2991
3034
|
let t = e instanceof Uint8Array ? e : new Uint8Array(e), n = "";
|
|
2992
3035
|
for (let e of t) n += e.toString(16).padStart(2, "0");
|
|
2993
3036
|
return n;
|
|
2994
3037
|
}
|
|
2995
3038
|
//#endregion
|
|
2996
3039
|
//#region src/utils/cursor.ts
|
|
2997
|
-
function
|
|
2998
|
-
return
|
|
3040
|
+
function Ea(e) {
|
|
3041
|
+
return ya(JSON.stringify(e));
|
|
2999
3042
|
}
|
|
3000
|
-
function
|
|
3043
|
+
function Da(e) {
|
|
3001
3044
|
try {
|
|
3002
|
-
let t = JSON.parse(
|
|
3045
|
+
let t = JSON.parse(ba(e));
|
|
3003
3046
|
return t && typeof t == "object" && typeof t.i == "string" ? t : null;
|
|
3004
3047
|
} catch {
|
|
3005
3048
|
return null;
|
|
@@ -3007,7 +3050,7 @@ function va(e) {
|
|
|
3007
3050
|
}
|
|
3008
3051
|
//#endregion
|
|
3009
3052
|
//#region src/utils/lucene.ts
|
|
3010
|
-
function
|
|
3053
|
+
function Oa(e) {
|
|
3011
3054
|
let t = [], n = "", r = !1;
|
|
3012
3055
|
for (let i = 0; i < e.length; i++) {
|
|
3013
3056
|
let a = e[i];
|
|
@@ -3015,53 +3058,53 @@ function ya(e) {
|
|
|
3015
3058
|
}
|
|
3016
3059
|
return n.trim() && t.push(n.trim()), t;
|
|
3017
3060
|
}
|
|
3018
|
-
function
|
|
3061
|
+
function ka(e) {
|
|
3019
3062
|
return e.replace(/\\([\\"+\-!(){}[\]^~*?:/&|])/g, "$1");
|
|
3020
3063
|
}
|
|
3021
|
-
function
|
|
3064
|
+
function Aa(e) {
|
|
3022
3065
|
return `"${e.replace(/([\\"])/g, "\\$1")}"`;
|
|
3023
3066
|
}
|
|
3024
|
-
function
|
|
3067
|
+
function ja(e) {
|
|
3025
3068
|
let t = e.trim();
|
|
3026
|
-
return
|
|
3069
|
+
return ka(t.length > 1 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t);
|
|
3027
3070
|
}
|
|
3028
|
-
function
|
|
3071
|
+
function Ma(e) {
|
|
3029
3072
|
let t = [], n = [];
|
|
3030
|
-
for (let r of
|
|
3073
|
+
for (let r of Oa(e)) /^or$/i.test(r) ? (t.push(n), n = []) : n.push(r);
|
|
3031
3074
|
return t.push(n), t.filter((e) => e.length > 0);
|
|
3032
3075
|
}
|
|
3033
|
-
function
|
|
3076
|
+
function Na(e, t) {
|
|
3034
3077
|
let n = new Set(t), r = (e) => {
|
|
3035
3078
|
let t = e.replace(/^([^:]+)=/, "$1:"), r = t.startsWith("-") ? t.slice(1) : t;
|
|
3036
3079
|
if (r.startsWith("_exists_:")) return n.has(r.slice(9));
|
|
3037
3080
|
let i = r.indexOf(":");
|
|
3038
3081
|
return i > 0 ? n.has(r.slice(0, i)) : !0;
|
|
3039
3082
|
};
|
|
3040
|
-
return
|
|
3083
|
+
return Ma(e).map((e) => e.filter(r).join(" ")).filter((e) => e.length > 0).join(" OR ");
|
|
3041
3084
|
}
|
|
3042
|
-
var
|
|
3043
|
-
function
|
|
3044
|
-
return
|
|
3085
|
+
var Pa = /^[^\s@%_*?"'()[\]{}^~:\\/]+@[^\s@%_*?"'()[\]{}^~:\\/]+\.[^\s@%_*?"'()[\]{}^~:\\/]+$/;
|
|
3086
|
+
function Fa(e) {
|
|
3087
|
+
return Pa.test(e);
|
|
3045
3088
|
}
|
|
3046
3089
|
//#endregion
|
|
3047
3090
|
//#region src/utils/session-retention.ts
|
|
3048
3091
|
var Z = 10080 * 60 * 1e3, Q = 4320 * 60 * 1e3;
|
|
3049
|
-
function
|
|
3092
|
+
function Ia(e) {
|
|
3050
3093
|
return Math.floor((e + Q) / Z);
|
|
3051
3094
|
}
|
|
3052
3095
|
function $(e) {
|
|
3053
3096
|
return e * Z - Q;
|
|
3054
3097
|
}
|
|
3055
|
-
function
|
|
3056
|
-
let n =
|
|
3098
|
+
function La(e, t = Date.now()) {
|
|
3099
|
+
let n = Ia(t), r = n - e + 1;
|
|
3057
3100
|
return {
|
|
3058
3101
|
currentWeek: n,
|
|
3059
3102
|
firstWeek: r,
|
|
3060
3103
|
sinceMs: $(r)
|
|
3061
3104
|
};
|
|
3062
3105
|
}
|
|
3063
|
-
function
|
|
3064
|
-
let { currentWeek: r, firstWeek: i, sinceMs: a } =
|
|
3106
|
+
function Ra(e, t, n = Date.now()) {
|
|
3107
|
+
let { currentWeek: r, firstWeek: i, sinceMs: a } = La(t, n), o = /* @__PURE__ */ new Map();
|
|
3065
3108
|
for (let t of e) {
|
|
3066
3109
|
if (t.created_week < i || t.created_week > r) continue;
|
|
3067
3110
|
let e = Math.min(Math.max(0, t.used_week - t.created_week), r - t.created_week), n = o.get(t.created_week);
|
|
@@ -3084,8 +3127,8 @@ function ka(e, t, n = Date.now()) {
|
|
|
3084
3127
|
cohorts: s
|
|
3085
3128
|
};
|
|
3086
3129
|
}
|
|
3087
|
-
function
|
|
3088
|
-
let r =
|
|
3130
|
+
function za(e, t, n = Date.now()) {
|
|
3131
|
+
let r = Ra(e, t, n);
|
|
3089
3132
|
return {
|
|
3090
3133
|
interval: r.interval,
|
|
3091
3134
|
from: r.from,
|
|
@@ -3099,16 +3142,16 @@ function Aa(e, t, n = Date.now()) {
|
|
|
3099
3142
|
}
|
|
3100
3143
|
//#endregion
|
|
3101
3144
|
//#region src/utils/username-validation.ts
|
|
3102
|
-
var
|
|
3103
|
-
function
|
|
3104
|
-
return
|
|
3145
|
+
var Ba = /^[A-Za-z0-9_+\-.!#$'^`~]+$/, Va = "Username can only contain alphanumeric characters and the following characters: '_', '+', '-', '.', '!', '#', '$', \"'\", '^', '`', '~'", Ha = "Usernames must not contain \"@\". Use the email field for email addresses.";
|
|
3146
|
+
function Ua(e) {
|
|
3147
|
+
return Ba.test(e);
|
|
3105
3148
|
}
|
|
3106
|
-
function
|
|
3149
|
+
function Wa(e) {
|
|
3107
3150
|
return e.toLowerCase();
|
|
3108
3151
|
}
|
|
3109
|
-
function
|
|
3110
|
-
if (e.includes("@")) return
|
|
3111
|
-
if (!
|
|
3152
|
+
function Ga(e, t) {
|
|
3153
|
+
if (e.includes("@")) return Ha;
|
|
3154
|
+
if (!Ua(e)) return Va;
|
|
3112
3155
|
if (t) {
|
|
3113
3156
|
let n = [...e].length;
|
|
3114
3157
|
if (n < t.min) return `Username must be at least ${t.min} characters`;
|
|
@@ -3117,4 +3160,16 @@ function Ia(e, t) {
|
|
|
3117
3160
|
return null;
|
|
3118
3161
|
}
|
|
3119
3162
|
//#endregion
|
|
3120
|
-
|
|
3163
|
+
//#region src/utils/feature-not-supported.ts
|
|
3164
|
+
var Ka = class extends Error {
|
|
3165
|
+
feature;
|
|
3166
|
+
adapter;
|
|
3167
|
+
constructor(e, t, n) {
|
|
3168
|
+
super(`${e} is not supported by the ${t} adapter.` + (n ? ` ${n}` : "")), this.name = "FeatureNotSupportedError", this.feature = e, this.adapter = t;
|
|
3169
|
+
}
|
|
3170
|
+
};
|
|
3171
|
+
function qa(e) {
|
|
3172
|
+
return e instanceof Error && e.name === "FeatureNotSupportedError";
|
|
3173
|
+
}
|
|
3174
|
+
//#endregion
|
|
3175
|
+
export { be as Auth0ActionEnum, Hn as Auth0Client, E as AuthorizationResponseMode, T as AuthorizationResponseType, tt as CodeChallengeMethod, C as ComponentCategory, S as ComponentType, na as DATABASE_CONNECTION_STRATEGY, xe as EmailActionEnum, Yt as FORM_FIELD_TYPES, Ka as FeatureNotSupportedError, ye as FlowActionTypeEnum, jr as GrantType, hr as KNOWN_TENANT_OPERATION_ENGINES, Un as LocationInfo, G as LogTypes, U as LoginSessionState, Q as MONDAY_EPOCH_SHIFT_MS, Ge as NodeType, fa as PRESERVE_LOCATION_HEADER, Te as RedirectTargetEnum, ea as Strategy, ta as StrategyType, Sr as TERMINAL_TENANT_OPERATION_ROW_STATUSES, ua as TRIGGER_API_SHAPES, Ha as USERNAME_CONTAINS_AT_MESSAGE, Va 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, te as actionExecutionStatusSchema, l as actionExecutionTriggerIdSchema, a as actionInsertSchema, Je as actionNodeSchema, ee as actionResponseSchema, s as actionSchema, c as actionSecretNameSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, ce as actionVersionInsertSchema, le as actionVersionSchema, zi as activeUsersResponseSchema, de as actorSchema, f as addressSchema, dn as allowedTriggersForHook, Ji as analyticsColumnMetaSchema, Hi as analyticsGroupBySchema, Vi as analyticsIntervalSchema, Xi as analyticsQueryResponseSchema, Bi as analyticsResourceSchema, Yi as analyticsStatisticsSchema, Ui as analyticsUserTypeSchema, rr as attackProtectionSchema, ue as auditCategorySchema, _e as auditEventInsertSchema, ve as auditEventSchema, ge as auth0ClientSchema, et as auth0FlowInsertSchema, $e as auth0FlowSchema, Ae as auth0QuerySchema, Ce as auth0UpdateUserActionSchema, Me as auth0UserResponseSchema, it as authParamsSchema, sa as authenticationMethodInsertSchema, ca as authenticationMethodSchema, ia as authenticationMethodTypeSchema, p as baseUserSchema, Kt as blockComponentSchema, Nr as bordersSchema, at as brandingSchema, er as breachedPasswordDetectionSchema, tr as bruteForceProtectionSchema, za as buildRefreshTokenRetention, Ra as buildSessionRetention, Be as buttonComponentSchema, rt as claimsRequestSchema, _ as clientGrantInsertSchema, Le as clientGrantListSchema, v as clientGrantSchema, g as clientInsertSchema, b as clientRegistrationTokenInsertSchema, Re as clientRegistrationTokenSchema, y as clientRegistrationTokenTypeSchema, Ie as clientSchema, st as codeInsertSchema, ct as codeSchema, ot as codeTypeSchema, Pr as colorsSchema, rn as componentMessageSchema, We as componentSchema, ut as connectionInsertSchema, lt as connectionOptionsSchema, dt as connectionSchema, x as coordinatesSchema, pa as createPassthroughAdapter, ma as createWriteOnlyAdapter, gt as customDomainCertificateUploadSchema, O as customDomainInsertSchema, pt as customDomainSchema, mt as customDomainUpdateSchema, ht as customDomainWithTenantIdSchema, $i as customTextEntrySchema, Qi as customTextSchema, Ri as dailyStatsSchema, wa as decodeBase32, Sa as decodeBase64, va as decodeBase64Url, ba as decodeBase64UrlString, Da as decodeCursor, Qr as emailProviderSchema, $r as emailTemplateNameSchema, ei as emailTemplateSchema, Se as emailVerificationRulesSchema, we as emailVerifyActionSchema, Ca as encodeBase32, xa as encodeBase64, _a as encodeBase64Url, ya as encodeBase64UrlString, Ea as encodeCursor, Ta as encodeHex, Qe as endingSchema, Aa as escapeLuceneValue, Jt as fieldComponentSchema, De as flowActionStepSchema, Oe as flowInsertSchema, ke as flowSchema, He as flowsFieldComponentSchema, qe as flowsFlowNodeSchema, Ke as flowsStepNodeSchema, J as fontDetailsSchema, Fr as fontsSchema, Xt as formControlSchema, tn as formInsertSchema, N as formNodeComponentDefinition, en as formNodeSchema, nn as formSchema, Ue as genericComponentSchema, Ye as genericNodeSchema, ha as getConnectionIdentifierConfig, Vn as getLogTypeCategory, Bn as getLogTypeDescription, pi as grantInsertSchema, mi as grantSchema, Hr as handlerConfigSchema, Tn as hookCodeInsertSchema, En as hookCodeSchema, vn as hookInsertSchema, B as hookPageId, wn as hookSchema, V as hookTemplateId, fn as hookTemplates, d as identitySchema, la as importMetadataSchema, kn as inviteInsertSchema, An as inviteSchema, On as inviteeSchema, Dn as inviterSchema, sn as isBlockComponent, ra as isDatabaseConnectionStrategy, Fa as isEmailSearchTerm, qa as isFeatureNotSupportedError, ln as isFieldComponent, ga as isPlainObject, cn as isWidgetComponent, Mn as jwksKeySchema, jn as jwksSchema, Ve as legalComponentSchema, he as locationInfoSchema, Wn as logInsertSchema, Gn as logSchema, qn as logStreamFilterSchema, Jn as logStreamInsertSchema, Yn as logStreamSchema, K as logStreamStatusSchema, Kn as logStreamTypeSchema, zn as logTypeCategories, Rn as logTypeDescriptions, W as loginSessionAuthStrategySchema, Fn as loginSessionInsertSchema, In as loginSessionSchema, Pn as loginSessionStateSchema, Vr as matchSchema, Xn as migrationProviderTypeSchema, Zn as migrationSourceCredentialsSchema, Qn as migrationSourceInsertSchema, $n as migrationSourceSchema, Xe as nodeSchema, Wa as normalizeUsername, Nn as openIDConfigurationSchema, Di as organizationBrandingSchema, Mi as organizationConnectionInsertSchema, Pi as organizationConnectionListSchema, Ni as organizationConnectionSchema, Oi as organizationEnabledConnectionSchema, Ai as organizationInsertSchema, ji as organizationSchema, ki as organizationTokenQuotaSchema, Ir as pageBackgroundSchema, da as parseUserId, ir as passwordInsertSchema, ar as passwordSchema, u as profileDataSchema, Zi as promptScreenSchema, Br as promptSettingSchema, Y as proxyRouteInsertSchema, Ur as proxyRouteSchema, Wr as proxyRouteUpdateSchema, Ee as redirectActionSchema, ti as refreshTokenInsertSchema, Ki as refreshTokenRetentionCohortSchema, qi as refreshTokenRetentionResponseSchema, ni as refreshTokenSchema, pe as requestContextSchema, si as resourceServerInsertSchema, li as resourceServerListSchema, oi as resourceServerOptionsSchema, ci as resourceServerSchema, ai as resourceServerScopeSchema, me as responseContextSchema, ze as richTextComponentSchema, wi as roleInsertSchema, Ei as roleListSchema, ui as rolePermissionInsertSchema, fi as rolePermissionListSchema, di as rolePermissionSchema, Ti as roleSchema, Or as rolloutInsertSchema, Er as rolloutKindSchema, kr as rolloutSchema, Dr as rolloutStatusSchema, Ar as rolloutUpdateSchema, Na as sanitizeLuceneQuery, Kr as scimConfigurationInsertSchema, qr as scimConfigurationSchema, Xr as scimExternalIdInsertSchema, Zr as scimExternalIdSchema, Gr as scimMappingEntrySchema, Jr as scimTokenInsertSchema, Yr as scimTokenSchema, an as screenLinkSchema, sr as sessionInsertSchema, Wi as sessionRetentionCohortSchema, Gi as sessionRetentionResponseSchema, La as sessionRetentionWindow, cr as sessionSchema, lr as signingKeySchema, ii as smsProviderSchema, ri as smsSendParamsSchema, Ma as splitLuceneOrGroups, Ze as startSchema, nr as suspiciousIpThrottlingSchema, fe as targetSchema, ur as tenantInsertSchema, mr as tenantOperationEngineSchema, br as tenantOperationEventInsertSchema, yr as tenantOperationEventOutcomeSchema, xr as tenantOperationEventSchema, gr as tenantOperationInsertSchema, fr as tenantOperationKindSchema, Cr as tenantOperationRowInsertSchema, Tr as tenantOperationRowOutcomeSchema, wr as tenantOperationRowSchema, q as tenantOperationRowStatusSchema, _r as tenantOperationSchema, pr as tenantOperationStatusSchema, vr as tenantOperationUpdateSchema, dr as tenantSchema, Li as tenantSettingsSchema, Rr as themeInsertSchema, zr as themeSchema, Mr as tokenResponseSchema, Oa as tokenizeLuceneQuery, je as totalsSchema, on as uiScreenSchema, ka as unescapeLuceneValue, ja as unquoteLuceneValue, hi as userActivitySchema, m as userInsertSchema, Fi as userOrganizationInsertSchema, Ii as userOrganizationSchema, gi as userPermissionInsertSchema, vi as userPermissionListSchema, _i as userPermissionSchema, bi as userPermissionWithDetailsListSchema, yi as userPermissionWithDetailsSchema, Ne as userResponseSchema, xi as userRoleInsertSchema, Ci as userRoleListSchema, Si as userRoleSchema, h as userSchema, Ua as usernameHasOnlyAllowedCharacters, Ga as validateUsername, ft as verificationMethodsSchema, Ia as weekIndex, $ as weekStartMs, qt as widgetComponentSchema, Lr as widgetSchema };
|