@authhero/adapter-interfaces 2.3.0 → 2.5.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 +18 -8
- package/dist/adapter-interfaces.mjs +890 -712
- package/package.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { z as e } from "@hono/zod-openapi";
|
|
2
|
-
const
|
|
2
|
+
const s = e.object({
|
|
3
3
|
created_at: e.string(),
|
|
4
4
|
updated_at: e.string()
|
|
5
|
-
}),
|
|
5
|
+
}), D = e.object({
|
|
6
6
|
id: e.string(),
|
|
7
7
|
version: e.string().optional()
|
|
8
|
-
}),
|
|
8
|
+
}), F = e.object({
|
|
9
9
|
name: e.string(),
|
|
10
10
|
version: e.string()
|
|
11
|
-
}),
|
|
11
|
+
}), U = e.object({
|
|
12
12
|
name: e.string(),
|
|
13
13
|
// Optional on writes so PATCH callers can omit the value to preserve the
|
|
14
14
|
// existing secret. The adapter merges by name when value is missing.
|
|
15
15
|
value: e.string().optional()
|
|
16
|
-
}),
|
|
16
|
+
}), w = e.object({
|
|
17
17
|
name: e.string().max(255),
|
|
18
18
|
code: e.string().max(1e5),
|
|
19
|
-
supported_triggers: e.array(
|
|
19
|
+
supported_triggers: e.array(D).optional(),
|
|
20
20
|
runtime: e.string().max(50).optional(),
|
|
21
|
-
dependencies: e.array(
|
|
22
|
-
secrets: e.array(
|
|
21
|
+
dependencies: e.array(F).optional(),
|
|
22
|
+
secrets: e.array(U).optional(),
|
|
23
23
|
// Marks this action as a shared template owned by the control-plane tenant.
|
|
24
24
|
// Other tenants can opt-in by creating a row with the same `name` and
|
|
25
25
|
// `inherit: true`; at execute time the loader reads code from this row.
|
|
@@ -28,10 +28,10 @@ const a = e.object({
|
|
|
28
28
|
// read through from the control-plane system action with a matching name.
|
|
29
29
|
// The local `secrets` still override (local-first then upstream fallback).
|
|
30
30
|
inherit: e.boolean().optional()
|
|
31
|
-
}),
|
|
31
|
+
}), ln = w.partial().extend({
|
|
32
32
|
status: e.enum(["draft", "built"]).optional(),
|
|
33
33
|
deployed_at: e.string().optional()
|
|
34
|
-
}),
|
|
34
|
+
}), cn = w.extend({
|
|
35
35
|
id: e.string(),
|
|
36
36
|
tenant_id: e.string(),
|
|
37
37
|
status: e.enum(["draft", "built"]).default("built"),
|
|
@@ -43,63 +43,63 @@ const a = e.object({
|
|
|
43
43
|
value: e.string().optional()
|
|
44
44
|
})
|
|
45
45
|
).optional(),
|
|
46
|
-
...
|
|
47
|
-
}),
|
|
46
|
+
...s.shape
|
|
47
|
+
}), te = e.string(), oe = e.enum([
|
|
48
48
|
"unspecified",
|
|
49
49
|
"pending",
|
|
50
50
|
"final",
|
|
51
51
|
"partial",
|
|
52
52
|
"canceled",
|
|
53
53
|
"suspended"
|
|
54
|
-
]),
|
|
54
|
+
]), ne = e.object({
|
|
55
55
|
id: e.string(),
|
|
56
56
|
msg: e.string(),
|
|
57
57
|
url: e.string().optional()
|
|
58
|
-
}),
|
|
58
|
+
}), ie = e.object({
|
|
59
59
|
action_name: e.string(),
|
|
60
|
-
error:
|
|
60
|
+
error: ne.nullable(),
|
|
61
61
|
started_at: e.string(),
|
|
62
62
|
ended_at: e.string()
|
|
63
|
-
}),
|
|
63
|
+
}), ae = e.object({
|
|
64
64
|
level: e.enum(["log", "info", "warn", "error", "debug"]),
|
|
65
65
|
message: e.string()
|
|
66
|
-
}),
|
|
66
|
+
}), se = e.array(
|
|
67
67
|
e.object({
|
|
68
68
|
action_name: e.string(),
|
|
69
|
-
lines: e.array(
|
|
69
|
+
lines: e.array(ae)
|
|
70
70
|
})
|
|
71
|
-
),
|
|
71
|
+
), re = e.object({
|
|
72
72
|
id: e.string(),
|
|
73
73
|
tenant_id: e.string(),
|
|
74
|
-
trigger_id:
|
|
75
|
-
status:
|
|
76
|
-
results: e.array(
|
|
77
|
-
logs:
|
|
74
|
+
trigger_id: te,
|
|
75
|
+
status: oe,
|
|
76
|
+
results: e.array(ie),
|
|
77
|
+
logs: se.optional(),
|
|
78
78
|
created_at: e.string(),
|
|
79
79
|
updated_at: e.string()
|
|
80
|
-
}),
|
|
80
|
+
}), pn = re.omit({
|
|
81
81
|
tenant_id: !0,
|
|
82
82
|
created_at: !0,
|
|
83
83
|
updated_at: !0
|
|
84
|
-
}),
|
|
84
|
+
}), le = e.object({
|
|
85
85
|
action_id: e.string(),
|
|
86
86
|
code: e.string().max(1e5),
|
|
87
87
|
runtime: e.string().max(50).optional(),
|
|
88
|
-
dependencies: e.array(
|
|
89
|
-
secrets: e.array(
|
|
90
|
-
supported_triggers: e.array(
|
|
88
|
+
dependencies: e.array(F).optional(),
|
|
89
|
+
secrets: e.array(U).optional(),
|
|
90
|
+
supported_triggers: e.array(D).optional(),
|
|
91
91
|
deployed: e.boolean().default(!0)
|
|
92
|
-
}),
|
|
92
|
+
}), _n = le.extend({
|
|
93
93
|
id: e.string(),
|
|
94
94
|
tenant_id: e.string(),
|
|
95
95
|
number: e.number().int(),
|
|
96
|
-
...
|
|
97
|
-
}),
|
|
96
|
+
...s.shape
|
|
97
|
+
}), ce = e.enum([
|
|
98
98
|
"user_action",
|
|
99
99
|
"admin_action",
|
|
100
100
|
"system",
|
|
101
101
|
"api"
|
|
102
|
-
]),
|
|
102
|
+
]), pe = e.object({
|
|
103
103
|
type: e.enum(["user", "admin", "system", "api_key", "client_credentials"]),
|
|
104
104
|
id: e.string().optional(),
|
|
105
105
|
email: e.string().optional(),
|
|
@@ -107,7 +107,7 @@ const a = e.object({
|
|
|
107
107
|
org_name: e.string().optional(),
|
|
108
108
|
scopes: e.array(e.string()).optional(),
|
|
109
109
|
client_id: e.string().optional()
|
|
110
|
-
}),
|
|
110
|
+
}), _e = e.object({
|
|
111
111
|
type: e.string(),
|
|
112
112
|
id: e.string(),
|
|
113
113
|
before: e.record(e.unknown()).optional(),
|
|
@@ -121,56 +121,56 @@ const a = e.object({
|
|
|
121
121
|
ip: e.string(),
|
|
122
122
|
user_agent: e.string().optional(),
|
|
123
123
|
correlation_id: e.string().optional()
|
|
124
|
-
}),
|
|
124
|
+
}), ge = e.object({
|
|
125
125
|
status_code: e.number(),
|
|
126
126
|
body: e.unknown().optional()
|
|
127
|
-
}),
|
|
127
|
+
}), ue = e.object({
|
|
128
128
|
country_code: e.string(),
|
|
129
129
|
city_name: e.string(),
|
|
130
130
|
latitude: e.string(),
|
|
131
131
|
longitude: e.string(),
|
|
132
132
|
time_zone: e.string(),
|
|
133
133
|
continent_code: e.string()
|
|
134
|
-
}),
|
|
134
|
+
}), me = e.object({
|
|
135
135
|
name: e.string(),
|
|
136
136
|
version: e.string(),
|
|
137
137
|
env: e.record(e.string()).optional()
|
|
138
|
-
}),
|
|
138
|
+
}), Ee = e.object({
|
|
139
139
|
tenant_id: e.string(),
|
|
140
140
|
event_type: e.string(),
|
|
141
141
|
log_type: e.string(),
|
|
142
142
|
description: e.string().optional(),
|
|
143
|
-
category:
|
|
144
|
-
actor:
|
|
145
|
-
target:
|
|
143
|
+
category: ce,
|
|
144
|
+
actor: pe,
|
|
145
|
+
target: _e,
|
|
146
146
|
request: de,
|
|
147
|
-
response:
|
|
147
|
+
response: ge.optional(),
|
|
148
148
|
connection: e.string().optional(),
|
|
149
149
|
strategy: e.string().optional(),
|
|
150
150
|
strategy_type: e.string().optional(),
|
|
151
151
|
audience: e.string().optional(),
|
|
152
152
|
scope: e.string().optional(),
|
|
153
|
-
location:
|
|
154
|
-
auth0_client:
|
|
153
|
+
location: ue.optional(),
|
|
154
|
+
auth0_client: me.optional(),
|
|
155
155
|
hostname: e.string(),
|
|
156
156
|
is_mobile: e.boolean().optional(),
|
|
157
157
|
timestamp: e.string()
|
|
158
|
-
}),
|
|
158
|
+
}), dn = Ee.extend({
|
|
159
159
|
id: e.string()
|
|
160
|
-
}),
|
|
160
|
+
}), gn = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), un = e.enum([
|
|
161
161
|
"CREATE_USER",
|
|
162
162
|
"GET_USER",
|
|
163
163
|
"UPDATE_USER",
|
|
164
164
|
"SEND_REQUEST",
|
|
165
165
|
"SEND_EMAIL"
|
|
166
|
-
]),
|
|
166
|
+
]), mn = e.enum(["VERIFY_EMAIL"]), Se = e.object({
|
|
167
167
|
require_mx_record: e.boolean().optional(),
|
|
168
168
|
block_aliases: e.boolean().optional(),
|
|
169
169
|
block_free_emails: e.boolean().optional(),
|
|
170
170
|
block_disposable_emails: e.boolean().optional(),
|
|
171
171
|
blocklist: e.array(e.string()).optional(),
|
|
172
172
|
allowlist: e.array(e.string()).optional()
|
|
173
|
-
}),
|
|
173
|
+
}), he = e.object({
|
|
174
174
|
id: e.string(),
|
|
175
175
|
alias: e.string().max(100).optional(),
|
|
176
176
|
type: e.literal("AUTH0"),
|
|
@@ -182,7 +182,7 @@ const a = e.object({
|
|
|
182
182
|
user_id: e.string(),
|
|
183
183
|
changes: e.record(e.string(), e.any())
|
|
184
184
|
})
|
|
185
|
-
}),
|
|
185
|
+
}), be = e.object({
|
|
186
186
|
id: e.string(),
|
|
187
187
|
alias: e.string().max(100).optional(),
|
|
188
188
|
type: e.literal("EMAIL"),
|
|
@@ -191,9 +191,9 @@ const a = e.object({
|
|
|
191
191
|
mask_output: e.boolean().optional(),
|
|
192
192
|
params: e.object({
|
|
193
193
|
email: e.string(),
|
|
194
|
-
rules:
|
|
194
|
+
rules: Se.optional()
|
|
195
195
|
})
|
|
196
|
-
}),
|
|
196
|
+
}), Ae = e.enum(["change-email", "account", "custom"]), fe = e.object({
|
|
197
197
|
id: e.string(),
|
|
198
198
|
alias: e.string().max(100).optional(),
|
|
199
199
|
type: e.literal("REDIRECT"),
|
|
@@ -201,39 +201,39 @@ const a = e.object({
|
|
|
201
201
|
allow_failure: e.boolean().optional(),
|
|
202
202
|
mask_output: e.boolean().optional(),
|
|
203
203
|
params: e.object({
|
|
204
|
-
target:
|
|
204
|
+
target: Ae.openapi({
|
|
205
205
|
description: "The predefined target to redirect to, or 'custom' for a custom URL"
|
|
206
206
|
}),
|
|
207
207
|
custom_url: e.string().optional().openapi({
|
|
208
208
|
description: "Custom URL to redirect to when target is 'custom'"
|
|
209
209
|
})
|
|
210
210
|
})
|
|
211
|
-
}),
|
|
211
|
+
}), Ce = e.union([
|
|
212
|
+
he,
|
|
212
213
|
be,
|
|
213
|
-
fe
|
|
214
|
-
|
|
215
|
-
]), Ae = e.object({
|
|
214
|
+
fe
|
|
215
|
+
]), Ie = e.object({
|
|
216
216
|
name: e.string().min(1).max(150).openapi({
|
|
217
217
|
description: "The name of the flow"
|
|
218
218
|
}),
|
|
219
219
|
// Actions is an array of action steps (Auth0 stores as JSON blob)
|
|
220
|
-
actions: e.array(
|
|
220
|
+
actions: e.array(Ce).optional().default([]).openapi({
|
|
221
221
|
description: "The list of actions to execute in sequence"
|
|
222
222
|
})
|
|
223
|
-
}),
|
|
224
|
-
...
|
|
223
|
+
}), En = Ie.extend({
|
|
224
|
+
...s.shape,
|
|
225
225
|
id: e.string().openapi({
|
|
226
226
|
description: "Unique identifier for the flow",
|
|
227
227
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
228
228
|
})
|
|
229
|
-
}),
|
|
230
|
-
page: e.string().min(0).optional().default("0").transform((
|
|
229
|
+
}), Sn = e.object({
|
|
230
|
+
page: e.string().min(0).optional().default("0").transform((o) => parseInt(o, 10)).openapi({
|
|
231
231
|
description: "The page number where 0 is the first page"
|
|
232
232
|
}),
|
|
233
|
-
per_page: e.string().min(1).optional().default("10").transform((
|
|
233
|
+
per_page: e.string().min(1).optional().default("10").transform((o) => parseInt(o, 10)).openapi({
|
|
234
234
|
description: "The number of items per page"
|
|
235
235
|
}),
|
|
236
|
-
include_totals: e.string().optional().default("false").transform((
|
|
236
|
+
include_totals: e.string().optional().default("false").transform((o) => o === "true").openapi({
|
|
237
237
|
description: "If the total number of items should be included in the response"
|
|
238
238
|
}),
|
|
239
239
|
sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({
|
|
@@ -247,7 +247,7 @@ const a = e.object({
|
|
|
247
247
|
limit: e.number(),
|
|
248
248
|
length: e.number(),
|
|
249
249
|
total: e.number().optional()
|
|
250
|
-
}),
|
|
250
|
+
}), Oe = e.object({
|
|
251
251
|
email: e.string().optional(),
|
|
252
252
|
email_verified: e.boolean().optional(),
|
|
253
253
|
name: e.string().optional(),
|
|
@@ -256,7 +256,7 @@ const a = e.object({
|
|
|
256
256
|
phone_number: e.string().optional(),
|
|
257
257
|
phone_verified: e.boolean().optional(),
|
|
258
258
|
family_name: e.string().optional()
|
|
259
|
-
}).catchall(e.any()),
|
|
259
|
+
}).catchall(e.any()), Te = e.object({
|
|
260
260
|
connection: e.string(),
|
|
261
261
|
user_id: e.string(),
|
|
262
262
|
provider: e.string(),
|
|
@@ -269,8 +269,8 @@ const a = e.object({
|
|
|
269
269
|
access_token: e.string().optional(),
|
|
270
270
|
access_token_secret: e.string().optional(),
|
|
271
271
|
refresh_token: e.string().optional(),
|
|
272
|
-
profileData:
|
|
273
|
-
}),
|
|
272
|
+
profileData: Oe.optional()
|
|
273
|
+
}), Ne = e.object({
|
|
274
274
|
formatted: e.string().optional(),
|
|
275
275
|
// Full mailing address
|
|
276
276
|
street_address: e.string().optional(),
|
|
@@ -283,9 +283,9 @@ const a = e.object({
|
|
|
283
283
|
// Zip code or postal code
|
|
284
284
|
country: e.string().optional()
|
|
285
285
|
// Country name
|
|
286
|
-
}).optional(),
|
|
287
|
-
email: e.string().optional().transform((
|
|
288
|
-
username: e.string().refine((
|
|
286
|
+
}).optional(), k = e.object({
|
|
287
|
+
email: e.string().optional().transform((o) => o && o.toLowerCase()),
|
|
288
|
+
username: e.string().refine((o) => !o.includes("@"), {
|
|
289
289
|
message: 'Usernames must not contain "@". Use the email field for email addresses.'
|
|
290
290
|
}).optional(),
|
|
291
291
|
phone_number: e.string().optional(),
|
|
@@ -315,8 +315,8 @@ const a = e.object({
|
|
|
315
315
|
zoneinfo: e.string().optional(),
|
|
316
316
|
// e.g., "Europe/Paris"
|
|
317
317
|
// OIDC address claim (OIDC Core 5.1.1)
|
|
318
|
-
address:
|
|
319
|
-
}),
|
|
318
|
+
address: Ne
|
|
319
|
+
}), ye = k.extend({
|
|
320
320
|
email_verified: e.boolean().default(!1),
|
|
321
321
|
verify_email: e.boolean().optional(),
|
|
322
322
|
last_ip: e.string().optional(),
|
|
@@ -339,31 +339,31 @@ const a = e.object({
|
|
|
339
339
|
hash: e.string(),
|
|
340
340
|
algorithm: e.string()
|
|
341
341
|
}).optional()
|
|
342
|
-
}),
|
|
343
|
-
...
|
|
344
|
-
...
|
|
342
|
+
}), Re = e.object({
|
|
343
|
+
...ye.omit({ password: !0 }).shape,
|
|
344
|
+
...s.shape,
|
|
345
345
|
user_id: e.string(),
|
|
346
346
|
provider: e.string(),
|
|
347
347
|
is_social: e.boolean(),
|
|
348
348
|
email: e.string().optional(),
|
|
349
349
|
login_count: e.number().default(0),
|
|
350
|
-
identities: e.array(
|
|
351
|
-
}), bn =
|
|
350
|
+
identities: e.array(Te).optional()
|
|
351
|
+
}), bn = Re.omit({
|
|
352
352
|
registration_completed_at: !0
|
|
353
|
-
}),
|
|
353
|
+
}), An = k.extend({
|
|
354
354
|
login_count: e.number(),
|
|
355
355
|
multifactor: e.array(e.string()).optional(),
|
|
356
356
|
last_ip: e.string().optional(),
|
|
357
357
|
last_login: e.string().optional(),
|
|
358
358
|
user_id: e.string()
|
|
359
359
|
}).catchall(e.any());
|
|
360
|
-
let
|
|
361
|
-
let
|
|
362
|
-
for (;
|
|
363
|
-
|
|
364
|
-
return
|
|
360
|
+
let Le = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", De = (o = 21) => {
|
|
361
|
+
let n = "", i = crypto.getRandomValues(new Uint8Array(o |= 0));
|
|
362
|
+
for (; o--; )
|
|
363
|
+
n += Le[i[o] & 63];
|
|
364
|
+
return n;
|
|
365
365
|
};
|
|
366
|
-
const
|
|
366
|
+
const Fe = e.object({
|
|
367
367
|
client_id: e.string().optional().openapi({
|
|
368
368
|
description: "ID of this client. Generated server-side if omitted (Auth0 behavior)."
|
|
369
369
|
}),
|
|
@@ -376,7 +376,7 @@ const ke = e.object({
|
|
|
376
376
|
global: e.boolean().default(!1).openapi({
|
|
377
377
|
description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."
|
|
378
378
|
}),
|
|
379
|
-
client_secret: e.string().default(() =>
|
|
379
|
+
client_secret: e.string().default(() => De()).optional().openapi({
|
|
380
380
|
description: "Client secret (which you must not make public)."
|
|
381
381
|
}),
|
|
382
382
|
app_type: e.enum([
|
|
@@ -584,14 +584,14 @@ const ke = e.object({
|
|
|
584
584
|
user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({
|
|
585
585
|
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."
|
|
586
586
|
})
|
|
587
|
-
}),
|
|
587
|
+
}), fn = e.object({
|
|
588
588
|
created_at: e.string(),
|
|
589
589
|
updated_at: e.string(),
|
|
590
|
-
...
|
|
590
|
+
...Fe.shape,
|
|
591
591
|
// Insert allows omitting (server-generated to match Auth0). The read schema
|
|
592
592
|
// always has it — the row in storage is non-null.
|
|
593
593
|
client_id: e.string()
|
|
594
|
-
}),
|
|
594
|
+
}), Ue = e.object({
|
|
595
595
|
client_id: e.string().min(1).openapi({
|
|
596
596
|
description: "ID of the client."
|
|
597
597
|
}),
|
|
@@ -616,37 +616,37 @@ const ke = e.object({
|
|
|
616
616
|
authorization_details_types: e.array(e.string()).optional().openapi({
|
|
617
617
|
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."
|
|
618
618
|
})
|
|
619
|
-
}),
|
|
619
|
+
}), we = e.object({
|
|
620
620
|
id: e.string().openapi({
|
|
621
621
|
description: "ID of the client grant."
|
|
622
622
|
}),
|
|
623
|
-
...
|
|
623
|
+
...Ue.shape,
|
|
624
624
|
created_at: e.string().optional(),
|
|
625
625
|
updated_at: e.string().optional()
|
|
626
|
-
}),
|
|
626
|
+
}), Cn = e.array(we), ke = e.enum(["iat", "rat"]), je = e.object({
|
|
627
627
|
id: e.string(),
|
|
628
628
|
token_hash: e.string(),
|
|
629
|
-
type:
|
|
629
|
+
type: ke,
|
|
630
630
|
client_id: e.string().optional(),
|
|
631
631
|
sub: e.string().optional(),
|
|
632
632
|
constraints: e.record(e.unknown()).optional(),
|
|
633
633
|
single_use: e.boolean().default(!1),
|
|
634
634
|
expires_at: e.string().optional()
|
|
635
|
-
}),
|
|
635
|
+
}), In = e.object({
|
|
636
636
|
created_at: e.string(),
|
|
637
637
|
used_at: e.string().optional(),
|
|
638
638
|
revoked_at: e.string().optional(),
|
|
639
|
-
...
|
|
640
|
-
}),
|
|
639
|
+
...je.shape
|
|
640
|
+
}), E = e.object({
|
|
641
641
|
x: e.number(),
|
|
642
642
|
y: e.number()
|
|
643
643
|
});
|
|
644
|
-
var
|
|
645
|
-
const
|
|
644
|
+
var j = /* @__PURE__ */ ((o) => (o.RICH_TEXT = "RICH_TEXT", o.NEXT_BUTTON = "NEXT_BUTTON", o.BACK_BUTTON = "BACK_BUTTON", o.SUBMIT_BUTTON = "SUBMIT_BUTTON", o.DIVIDER = "DIVIDER", o.TEXT = "TEXT", o.EMAIL = "EMAIL", o.PASSWORD = "PASSWORD", o.NUMBER = "NUMBER", o.PHONE = "PHONE", o.DATE = "DATE", o.CHECKBOX = "CHECKBOX", o.RADIO = "RADIO", o.SELECT = "SELECT", o.HIDDEN = "HIDDEN", o.LEGAL = "LEGAL", o))(j || {}), M = /* @__PURE__ */ ((o) => (o.BLOCK = "BLOCK", o.FIELD = "FIELD", o))(M || {});
|
|
645
|
+
const T = e.object({
|
|
646
646
|
id: e.string(),
|
|
647
|
-
category: e.nativeEnum(
|
|
648
|
-
type: e.nativeEnum(
|
|
649
|
-
}),
|
|
647
|
+
category: e.nativeEnum(M),
|
|
648
|
+
type: e.nativeEnum(j)
|
|
649
|
+
}), Me = T.extend({
|
|
650
650
|
category: e.literal(
|
|
651
651
|
"BLOCK"
|
|
652
652
|
/* BLOCK */
|
|
@@ -658,7 +658,7 @@ const C = e.object({
|
|
|
658
658
|
config: e.object({
|
|
659
659
|
content: e.string()
|
|
660
660
|
}).passthrough()
|
|
661
|
-
}),
|
|
661
|
+
}), Pe = T.extend({
|
|
662
662
|
category: e.literal(
|
|
663
663
|
"BLOCK"
|
|
664
664
|
/* BLOCK */
|
|
@@ -680,7 +680,7 @@ const C = e.object({
|
|
|
680
680
|
config: e.object({
|
|
681
681
|
text: e.string()
|
|
682
682
|
}).passthrough()
|
|
683
|
-
}),
|
|
683
|
+
}), ve = T.extend({
|
|
684
684
|
category: e.literal(
|
|
685
685
|
"FIELD"
|
|
686
686
|
/* FIELD */
|
|
@@ -694,7 +694,7 @@ const C = e.object({
|
|
|
694
694
|
config: e.object({
|
|
695
695
|
text: e.string()
|
|
696
696
|
}).passthrough()
|
|
697
|
-
}),
|
|
697
|
+
}), xe = T.extend({
|
|
698
698
|
category: e.literal(
|
|
699
699
|
"FIELD"
|
|
700
700
|
/* FIELD */
|
|
@@ -747,49 +747,49 @@ const C = e.object({
|
|
|
747
747
|
label: e.string().optional(),
|
|
748
748
|
placeholder: e.string().optional()
|
|
749
749
|
}).passthrough()
|
|
750
|
-
}),
|
|
750
|
+
}), He = e.object({
|
|
751
751
|
id: e.string(),
|
|
752
752
|
category: e.string(),
|
|
753
753
|
type: e.string()
|
|
754
|
-
}).passthrough(),
|
|
755
|
-
|
|
756
|
-
Ue,
|
|
757
|
-
Fe,
|
|
754
|
+
}).passthrough(), Ge = e.union([
|
|
755
|
+
Me,
|
|
758
756
|
Pe,
|
|
759
|
-
|
|
757
|
+
ve,
|
|
758
|
+
xe,
|
|
759
|
+
He
|
|
760
760
|
]);
|
|
761
|
-
var
|
|
761
|
+
var We = /* @__PURE__ */ ((o) => (o.STEP = "STEP", o.FLOW = "FLOW", o.CONDITION = "CONDITION", o.ACTION = "ACTION", o))(We || {});
|
|
762
762
|
const Be = e.object({
|
|
763
763
|
id: e.string(),
|
|
764
764
|
type: e.literal(
|
|
765
765
|
"STEP"
|
|
766
766
|
/* STEP */
|
|
767
767
|
),
|
|
768
|
-
coordinates:
|
|
768
|
+
coordinates: E,
|
|
769
769
|
alias: e.string().optional(),
|
|
770
770
|
config: e.object({
|
|
771
|
-
components: e.array(
|
|
771
|
+
components: e.array(Ge),
|
|
772
772
|
next_node: e.string()
|
|
773
773
|
}).passthrough()
|
|
774
|
-
}),
|
|
774
|
+
}), Ke = e.object({
|
|
775
775
|
id: e.string(),
|
|
776
776
|
type: e.literal(
|
|
777
777
|
"FLOW"
|
|
778
778
|
/* FLOW */
|
|
779
779
|
),
|
|
780
|
-
coordinates:
|
|
780
|
+
coordinates: E,
|
|
781
781
|
alias: e.string().optional(),
|
|
782
782
|
config: e.object({
|
|
783
783
|
flow_id: e.string(),
|
|
784
784
|
next_node: e.string()
|
|
785
785
|
})
|
|
786
|
-
}),
|
|
786
|
+
}), Ve = e.object({
|
|
787
787
|
id: e.string(),
|
|
788
788
|
type: e.literal(
|
|
789
789
|
"ACTION"
|
|
790
790
|
/* ACTION */
|
|
791
791
|
),
|
|
792
|
-
coordinates:
|
|
792
|
+
coordinates: E,
|
|
793
793
|
alias: e.string().optional(),
|
|
794
794
|
config: e.object({
|
|
795
795
|
action_type: e.enum(["REDIRECT"]).openapi({
|
|
@@ -805,43 +805,43 @@ const Be = e.object({
|
|
|
805
805
|
description: "The next node to navigate to after action (for non-redirect actions)"
|
|
806
806
|
})
|
|
807
807
|
}).passthrough()
|
|
808
|
-
}),
|
|
808
|
+
}), Xe = e.object({
|
|
809
809
|
id: e.string(),
|
|
810
810
|
type: e.string(),
|
|
811
|
-
coordinates:
|
|
811
|
+
coordinates: E
|
|
812
812
|
}).passthrough(), qe = e.union([
|
|
813
813
|
Be,
|
|
814
|
-
We,
|
|
815
814
|
Ke,
|
|
816
|
-
|
|
817
|
-
|
|
815
|
+
Ve,
|
|
816
|
+
Xe
|
|
817
|
+
]), ze = e.object({
|
|
818
818
|
next_node: e.string(),
|
|
819
|
-
coordinates:
|
|
820
|
-
}).passthrough(), Ve = e.object({
|
|
821
|
-
resume_flow: e.boolean().optional(),
|
|
822
|
-
coordinates: m
|
|
819
|
+
coordinates: E
|
|
823
820
|
}).passthrough(), Ye = e.object({
|
|
821
|
+
resume_flow: e.boolean().optional(),
|
|
822
|
+
coordinates: E
|
|
823
|
+
}).passthrough(), Qe = e.object({
|
|
824
824
|
id: e.string(),
|
|
825
825
|
name: e.string(),
|
|
826
826
|
languages: e.object({
|
|
827
827
|
primary: e.string()
|
|
828
828
|
}).passthrough(),
|
|
829
829
|
nodes: e.array(qe),
|
|
830
|
-
start:
|
|
831
|
-
ending:
|
|
830
|
+
start: ze,
|
|
831
|
+
ending: Ye,
|
|
832
832
|
created_at: e.string(),
|
|
833
833
|
updated_at: e.string(),
|
|
834
834
|
links: e.object({
|
|
835
835
|
sdkSrc: e.string().optional(),
|
|
836
836
|
sdk_src: e.string().optional()
|
|
837
837
|
}).passthrough()
|
|
838
|
-
}).passthrough(),
|
|
838
|
+
}).passthrough(), On = Qe.omit({
|
|
839
839
|
id: !0,
|
|
840
840
|
created_at: !0,
|
|
841
841
|
updated_at: !0
|
|
842
842
|
});
|
|
843
|
-
var
|
|
844
|
-
const
|
|
843
|
+
var P = /* @__PURE__ */ ((o) => (o.TOKEN = "token", o.ID_TOKEN = "id_token", o.TOKEN_ID_TOKEN = "id_token token", o.CODE = "code", o.CODE_ID_TOKEN = "code id_token", o.CODE_TOKEN = "code token", o.CODE_ID_TOKEN_TOKEN = "code id_token token", o))(P || {}), v = /* @__PURE__ */ ((o) => (o.QUERY = "query", o.FRAGMENT = "fragment", o.FORM_POST = "form_post", o.WEB_MESSAGE = "web_message", o.SAML_POST = "saml_post", o))(v || {}), x = /* @__PURE__ */ ((o) => (o.S256 = "S256", o.Plain = "plain", o))(x || {});
|
|
844
|
+
const L = e.union([
|
|
845
845
|
e.null(),
|
|
846
846
|
e.object({
|
|
847
847
|
essential: e.boolean().optional(),
|
|
@@ -849,13 +849,13 @@ const N = e.union([
|
|
|
849
849
|
values: e.array(e.unknown()).optional()
|
|
850
850
|
})
|
|
851
851
|
]).nullable(), Ze = e.object({
|
|
852
|
-
userinfo: e.record(e.string(),
|
|
853
|
-
id_token: e.record(e.string(),
|
|
854
|
-
}),
|
|
852
|
+
userinfo: e.record(e.string(), L).optional(),
|
|
853
|
+
id_token: e.record(e.string(), L).optional()
|
|
854
|
+
}), Je = e.object({
|
|
855
855
|
client_id: e.string(),
|
|
856
856
|
act_as: e.string().optional(),
|
|
857
|
-
response_type: e.nativeEnum(
|
|
858
|
-
response_mode: e.nativeEnum(
|
|
857
|
+
response_type: e.nativeEnum(P).optional(),
|
|
858
|
+
response_mode: e.nativeEnum(v).optional(),
|
|
859
859
|
redirect_uri: e.string().optional(),
|
|
860
860
|
audience: e.string().optional(),
|
|
861
861
|
organization: e.string().optional(),
|
|
@@ -863,7 +863,7 @@ const N = e.union([
|
|
|
863
863
|
nonce: e.string().optional(),
|
|
864
864
|
scope: e.string().optional(),
|
|
865
865
|
prompt: e.string().optional(),
|
|
866
|
-
code_challenge_method: e.nativeEnum(
|
|
866
|
+
code_challenge_method: e.nativeEnum(x).optional(),
|
|
867
867
|
code_challenge: e.string().optional(),
|
|
868
868
|
username: e.string().optional(),
|
|
869
869
|
ui_locales: e.string().optional(),
|
|
@@ -878,7 +878,7 @@ const N = e.union([
|
|
|
878
878
|
claims: Ze.optional(),
|
|
879
879
|
// The following fields are not available in Auth0
|
|
880
880
|
vendor_id: e.string().optional()
|
|
881
|
-
}),
|
|
881
|
+
}), Tn = e.object({
|
|
882
882
|
colors: e.object({
|
|
883
883
|
primary: e.string(),
|
|
884
884
|
// Auth0 supports either a hex color string ("#ffffff") or a gradient
|
|
@@ -911,7 +911,7 @@ const N = e.union([
|
|
|
911
911
|
"authorization_code",
|
|
912
912
|
"oauth2_state",
|
|
913
913
|
"ticket"
|
|
914
|
-
]),
|
|
914
|
+
]), et = e.object({
|
|
915
915
|
code_id: e.string().openapi({
|
|
916
916
|
description: "The code that will be used in for instance an email verification flow"
|
|
917
917
|
}),
|
|
@@ -946,10 +946,10 @@ const N = e.union([
|
|
|
946
946
|
expires_at: e.string(),
|
|
947
947
|
used_at: e.string().optional(),
|
|
948
948
|
user_id: e.string().optional()
|
|
949
|
-
}),
|
|
950
|
-
...
|
|
949
|
+
}), Nn = e.object({
|
|
950
|
+
...et.shape,
|
|
951
951
|
created_at: e.string()
|
|
952
|
-
}),
|
|
952
|
+
}), tt = e.object({
|
|
953
953
|
kid: e.string().optional(),
|
|
954
954
|
team_id: e.string().optional(),
|
|
955
955
|
realms: e.string().optional(),
|
|
@@ -1088,27 +1088,27 @@ const N = e.union([
|
|
|
1088
1088
|
// Controls when root user attributes are updated from external IdP
|
|
1089
1089
|
set_user_root_attributes: e.enum(["on_each_login", "on_first_login", "never_on_login"]).optional()
|
|
1090
1090
|
});
|
|
1091
|
-
function
|
|
1092
|
-
if (
|
|
1093
|
-
if (Array.isArray(
|
|
1094
|
-
return
|
|
1095
|
-
if (
|
|
1096
|
-
const
|
|
1097
|
-
for (const [
|
|
1098
|
-
|
|
1099
|
-
return
|
|
1091
|
+
function N(o) {
|
|
1092
|
+
if (o !== null) {
|
|
1093
|
+
if (Array.isArray(o))
|
|
1094
|
+
return o.filter((n) => n !== null).map(N);
|
|
1095
|
+
if (o && typeof o == "object") {
|
|
1096
|
+
const n = {};
|
|
1097
|
+
for (const [i, S] of Object.entries(o))
|
|
1098
|
+
S !== null && (n[i] = N(S));
|
|
1099
|
+
return n;
|
|
1100
1100
|
}
|
|
1101
|
-
return
|
|
1101
|
+
return o;
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
const
|
|
1104
|
+
const ot = e.object({
|
|
1105
1105
|
id: e.string().optional(),
|
|
1106
1106
|
name: e.string(),
|
|
1107
1107
|
display_name: e.string().optional(),
|
|
1108
1108
|
strategy: e.string(),
|
|
1109
1109
|
options: e.preprocess(
|
|
1110
|
-
(
|
|
1111
|
-
|
|
1110
|
+
(o) => o === null ? {} : N(o),
|
|
1111
|
+
tt
|
|
1112
1112
|
).default({}),
|
|
1113
1113
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
1114
1114
|
response_type: e.custom().optional(),
|
|
@@ -1117,11 +1117,11 @@ const tt = e.object({
|
|
|
1117
1117
|
show_as_button: e.boolean().optional(),
|
|
1118
1118
|
metadata: e.record(e.any()).optional(),
|
|
1119
1119
|
is_system: e.boolean().optional()
|
|
1120
|
-
}),
|
|
1120
|
+
}), yn = e.object({
|
|
1121
1121
|
id: e.string(),
|
|
1122
|
-
created_at: e.string().transform((
|
|
1123
|
-
updated_at: e.string().transform((
|
|
1124
|
-
}).extend(
|
|
1122
|
+
created_at: e.string().transform((o) => o === null ? "" : o),
|
|
1123
|
+
updated_at: e.string().transform((o) => o === null ? "" : o)
|
|
1124
|
+
}).extend(ot.shape), nt = e.object({
|
|
1125
1125
|
domain: e.string(),
|
|
1126
1126
|
custom_domain_id: e.string().optional(),
|
|
1127
1127
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -1135,7 +1135,7 @@ const tt = e.object({
|
|
|
1135
1135
|
"null"
|
|
1136
1136
|
]).optional(),
|
|
1137
1137
|
domain_metadata: e.record(e.string().max(255)).optional()
|
|
1138
|
-
}),
|
|
1138
|
+
}), it = e.discriminatedUnion("name", [
|
|
1139
1139
|
e.object({
|
|
1140
1140
|
name: e.literal("txt"),
|
|
1141
1141
|
record: e.string(),
|
|
@@ -1146,35 +1146,35 @@ const tt = e.object({
|
|
|
1146
1146
|
http_body: e.string(),
|
|
1147
1147
|
http_url: e.string()
|
|
1148
1148
|
})
|
|
1149
|
-
]),
|
|
1150
|
-
...
|
|
1149
|
+
]), at = e.object({
|
|
1150
|
+
...nt.shape,
|
|
1151
1151
|
custom_domain_id: e.string(),
|
|
1152
1152
|
primary: e.boolean(),
|
|
1153
1153
|
status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
|
|
1154
1154
|
origin_domain_name: e.string().optional(),
|
|
1155
1155
|
verification: e.object({
|
|
1156
|
-
methods: e.array(
|
|
1156
|
+
methods: e.array(it)
|
|
1157
1157
|
}).optional(),
|
|
1158
1158
|
tls_policy: e.string().optional()
|
|
1159
|
-
}),
|
|
1159
|
+
}), Rn = at.extend({
|
|
1160
1160
|
tenant_id: e.string()
|
|
1161
|
-
}),
|
|
1161
|
+
}), y = e.object({
|
|
1162
1162
|
id: e.string(),
|
|
1163
1163
|
order: e.number().optional(),
|
|
1164
1164
|
visible: e.boolean().optional().default(!0)
|
|
1165
|
-
}),
|
|
1165
|
+
}), c = y.extend({
|
|
1166
1166
|
category: e.literal("BLOCK").optional()
|
|
1167
|
-
}),
|
|
1167
|
+
}), st = c.extend({
|
|
1168
1168
|
type: e.literal("DIVIDER"),
|
|
1169
1169
|
config: e.object({
|
|
1170
1170
|
text: e.string().optional()
|
|
1171
1171
|
}).optional()
|
|
1172
|
-
}),
|
|
1172
|
+
}), rt = c.extend({
|
|
1173
1173
|
type: e.literal("HTML"),
|
|
1174
1174
|
config: e.object({
|
|
1175
1175
|
content: e.string().optional()
|
|
1176
1176
|
}).optional()
|
|
1177
|
-
}),
|
|
1177
|
+
}), lt = c.extend({
|
|
1178
1178
|
type: e.literal("IMAGE"),
|
|
1179
1179
|
config: e.object({
|
|
1180
1180
|
src: e.string().optional(),
|
|
@@ -1182,55 +1182,55 @@ const tt = e.object({
|
|
|
1182
1182
|
width: e.number().optional(),
|
|
1183
1183
|
height: e.number().optional()
|
|
1184
1184
|
}).optional()
|
|
1185
|
-
}),
|
|
1185
|
+
}), ct = c.extend({
|
|
1186
1186
|
type: e.literal("JUMP_BUTTON"),
|
|
1187
1187
|
config: e.object({
|
|
1188
1188
|
text: e.string().optional(),
|
|
1189
1189
|
target_step: e.string().optional()
|
|
1190
1190
|
})
|
|
1191
|
-
}),
|
|
1191
|
+
}), pt = c.extend({
|
|
1192
1192
|
type: e.literal("RESEND_BUTTON"),
|
|
1193
1193
|
config: e.object({
|
|
1194
1194
|
text: e.string().optional(),
|
|
1195
1195
|
resend_action: e.string().optional()
|
|
1196
1196
|
})
|
|
1197
|
-
}),
|
|
1197
|
+
}), _t = c.extend({
|
|
1198
1198
|
type: e.literal("NEXT_BUTTON"),
|
|
1199
1199
|
config: e.object({
|
|
1200
1200
|
text: e.string().optional()
|
|
1201
1201
|
})
|
|
1202
|
-
}), dt =
|
|
1202
|
+
}), dt = c.extend({
|
|
1203
1203
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
1204
1204
|
config: e.object({
|
|
1205
1205
|
text: e.string().optional()
|
|
1206
1206
|
})
|
|
1207
|
-
}),
|
|
1207
|
+
}), gt = c.extend({
|
|
1208
1208
|
type: e.literal("RICH_TEXT"),
|
|
1209
1209
|
config: e.object({
|
|
1210
1210
|
content: e.string().optional()
|
|
1211
1211
|
}).optional()
|
|
1212
|
-
}),
|
|
1212
|
+
}), R = y.extend({
|
|
1213
1213
|
category: e.literal("WIDGET").optional(),
|
|
1214
1214
|
label: e.string().min(1).optional(),
|
|
1215
1215
|
hint: e.string().min(1).max(500).optional(),
|
|
1216
1216
|
required: e.boolean().optional(),
|
|
1217
1217
|
sensitive: e.boolean().optional()
|
|
1218
|
-
}),
|
|
1218
|
+
}), ut = R.extend({
|
|
1219
1219
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
1220
1220
|
config: e.object({
|
|
1221
1221
|
credential_type: e.string().optional()
|
|
1222
1222
|
})
|
|
1223
|
-
}),
|
|
1223
|
+
}), mt = R.extend({
|
|
1224
1224
|
type: e.literal("GMAPS_ADDRESS"),
|
|
1225
1225
|
config: e.object({
|
|
1226
1226
|
api_key: e.string().optional()
|
|
1227
1227
|
})
|
|
1228
|
-
}),
|
|
1228
|
+
}), Et = R.extend({
|
|
1229
1229
|
type: e.literal("RECAPTCHA"),
|
|
1230
1230
|
config: e.object({
|
|
1231
1231
|
site_key: e.string().optional()
|
|
1232
1232
|
})
|
|
1233
|
-
}),
|
|
1233
|
+
}), a = y.extend({
|
|
1234
1234
|
category: e.literal("FIELD").optional(),
|
|
1235
1235
|
label: e.string().min(1).optional(),
|
|
1236
1236
|
hint: e.string().min(1).max(500).optional(),
|
|
@@ -1243,12 +1243,12 @@ const tt = e.object({
|
|
|
1243
1243
|
).optional(),
|
|
1244
1244
|
required: e.boolean().optional(),
|
|
1245
1245
|
sensitive: e.boolean().optional()
|
|
1246
|
-
}),
|
|
1246
|
+
}), St = a.extend({
|
|
1247
1247
|
type: e.literal("BOOLEAN"),
|
|
1248
1248
|
config: e.object({
|
|
1249
1249
|
default_value: e.boolean().optional()
|
|
1250
1250
|
}).optional()
|
|
1251
|
-
}),
|
|
1251
|
+
}), ht = a.extend({
|
|
1252
1252
|
type: e.literal("CARDS"),
|
|
1253
1253
|
config: e.object({
|
|
1254
1254
|
options: e.array(
|
|
@@ -1261,7 +1261,7 @@ const tt = e.object({
|
|
|
1261
1261
|
).optional(),
|
|
1262
1262
|
multi_select: e.boolean().optional()
|
|
1263
1263
|
}).optional()
|
|
1264
|
-
}),
|
|
1264
|
+
}), bt = a.extend({
|
|
1265
1265
|
type: e.literal("CHOICE"),
|
|
1266
1266
|
config: e.object({
|
|
1267
1267
|
options: e.array(
|
|
@@ -1274,7 +1274,7 @@ const tt = e.object({
|
|
|
1274
1274
|
multiple: e.boolean().optional(),
|
|
1275
1275
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
1276
1276
|
}).optional()
|
|
1277
|
-
}),
|
|
1277
|
+
}), At = a.extend({
|
|
1278
1278
|
type: e.literal("CUSTOM"),
|
|
1279
1279
|
config: e.object({
|
|
1280
1280
|
component: e.string().optional(),
|
|
@@ -1282,7 +1282,7 @@ const tt = e.object({
|
|
|
1282
1282
|
schema: e.record(e.any()).optional(),
|
|
1283
1283
|
code: e.string().optional()
|
|
1284
1284
|
})
|
|
1285
|
-
}),
|
|
1285
|
+
}), ft = a.extend({
|
|
1286
1286
|
type: e.literal("DATE"),
|
|
1287
1287
|
config: e.object({
|
|
1288
1288
|
format: e.string().optional(),
|
|
@@ -1290,7 +1290,7 @@ const tt = e.object({
|
|
|
1290
1290
|
max: e.string().optional(),
|
|
1291
1291
|
default_value: e.string().optional()
|
|
1292
1292
|
}).optional()
|
|
1293
|
-
}),
|
|
1293
|
+
}), Ct = a.extend({
|
|
1294
1294
|
type: e.literal("DROPDOWN"),
|
|
1295
1295
|
config: e.object({
|
|
1296
1296
|
options: e.array(
|
|
@@ -1304,26 +1304,26 @@ const tt = e.object({
|
|
|
1304
1304
|
multiple: e.boolean().optional(),
|
|
1305
1305
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
1306
1306
|
}).optional()
|
|
1307
|
-
}),
|
|
1307
|
+
}), It = a.extend({
|
|
1308
1308
|
type: e.literal("EMAIL"),
|
|
1309
1309
|
config: e.object({
|
|
1310
1310
|
placeholder: e.string().optional(),
|
|
1311
1311
|
default_value: e.string().optional()
|
|
1312
1312
|
}).optional()
|
|
1313
|
-
}),
|
|
1313
|
+
}), Ot = a.extend({
|
|
1314
1314
|
type: e.literal("FILE"),
|
|
1315
1315
|
config: e.object({
|
|
1316
1316
|
accept: e.string().optional(),
|
|
1317
1317
|
max_size: e.number().optional(),
|
|
1318
1318
|
multiple: e.boolean().optional()
|
|
1319
1319
|
}).optional()
|
|
1320
|
-
}),
|
|
1320
|
+
}), Tt = a.extend({
|
|
1321
1321
|
type: e.literal("LEGAL"),
|
|
1322
1322
|
config: e.object({
|
|
1323
1323
|
text: e.string(),
|
|
1324
1324
|
html: e.boolean().optional()
|
|
1325
1325
|
}).optional()
|
|
1326
|
-
}),
|
|
1326
|
+
}), Nt = a.extend({
|
|
1327
1327
|
type: e.literal("NUMBER"),
|
|
1328
1328
|
config: e.object({
|
|
1329
1329
|
placeholder: e.string().optional(),
|
|
@@ -1332,7 +1332,7 @@ const tt = e.object({
|
|
|
1332
1332
|
step: e.number().optional(),
|
|
1333
1333
|
default_value: e.string().optional()
|
|
1334
1334
|
}).optional()
|
|
1335
|
-
}),
|
|
1335
|
+
}), yt = a.extend({
|
|
1336
1336
|
type: e.literal("PASSWORD"),
|
|
1337
1337
|
config: e.object({
|
|
1338
1338
|
placeholder: e.string().optional(),
|
|
@@ -1341,13 +1341,13 @@ const tt = e.object({
|
|
|
1341
1341
|
forgot_password_link: e.string().optional(),
|
|
1342
1342
|
default_value: e.string().optional()
|
|
1343
1343
|
}).optional()
|
|
1344
|
-
}),
|
|
1344
|
+
}), Rt = a.extend({
|
|
1345
1345
|
type: e.literal("PAYMENT"),
|
|
1346
1346
|
config: e.object({
|
|
1347
1347
|
provider: e.string().optional(),
|
|
1348
1348
|
currency: e.string().optional()
|
|
1349
1349
|
}).optional()
|
|
1350
|
-
}),
|
|
1350
|
+
}), Lt = a.extend({
|
|
1351
1351
|
type: e.literal("SOCIAL"),
|
|
1352
1352
|
config: e.object({
|
|
1353
1353
|
providers: e.array(e.string()).optional(),
|
|
@@ -1362,7 +1362,7 @@ const tt = e.object({
|
|
|
1362
1362
|
})
|
|
1363
1363
|
).optional()
|
|
1364
1364
|
}).optional()
|
|
1365
|
-
}),
|
|
1365
|
+
}), Dt = a.extend({
|
|
1366
1366
|
type: e.literal("TEL"),
|
|
1367
1367
|
config: e.object({
|
|
1368
1368
|
placeholder: e.string().optional(),
|
|
@@ -1370,7 +1370,7 @@ const tt = e.object({
|
|
|
1370
1370
|
default_value: e.string().optional(),
|
|
1371
1371
|
allow_email: e.boolean().optional()
|
|
1372
1372
|
}).optional()
|
|
1373
|
-
}),
|
|
1373
|
+
}), Ft = a.extend({
|
|
1374
1374
|
type: e.literal("TEXT"),
|
|
1375
1375
|
config: e.object({
|
|
1376
1376
|
placeholder: e.string().optional(),
|
|
@@ -1378,54 +1378,54 @@ const tt = e.object({
|
|
|
1378
1378
|
max_length: e.number().optional(),
|
|
1379
1379
|
default_value: e.string().optional()
|
|
1380
1380
|
}).optional()
|
|
1381
|
-
}),
|
|
1381
|
+
}), Ut = a.extend({
|
|
1382
1382
|
type: e.literal("COUNTRY"),
|
|
1383
1383
|
config: e.object({
|
|
1384
1384
|
placeholder: e.string().optional(),
|
|
1385
1385
|
default_value: e.string().optional()
|
|
1386
1386
|
}).optional()
|
|
1387
|
-
}),
|
|
1387
|
+
}), wt = a.extend({
|
|
1388
1388
|
type: e.literal("URL"),
|
|
1389
1389
|
config: e.object({
|
|
1390
1390
|
placeholder: e.string().optional(),
|
|
1391
1391
|
default_value: e.string().optional()
|
|
1392
1392
|
}).optional()
|
|
1393
|
-
}),
|
|
1394
|
-
at,
|
|
1393
|
+
}), kt = e.discriminatedUnion("type", [
|
|
1395
1394
|
st,
|
|
1396
1395
|
rt,
|
|
1397
1396
|
lt,
|
|
1398
1397
|
ct,
|
|
1399
1398
|
pt,
|
|
1399
|
+
_t,
|
|
1400
1400
|
dt,
|
|
1401
|
-
|
|
1402
|
-
]),
|
|
1403
|
-
gt,
|
|
1401
|
+
gt
|
|
1402
|
+
]), jt = e.discriminatedUnion("type", [
|
|
1404
1403
|
ut,
|
|
1405
|
-
mt
|
|
1406
|
-
|
|
1404
|
+
mt,
|
|
1405
|
+
Et
|
|
1406
|
+
]), Mt = e.discriminatedUnion("type", [
|
|
1407
|
+
St,
|
|
1407
1408
|
ht,
|
|
1408
1409
|
bt,
|
|
1409
|
-
|
|
1410
|
-
Rt,
|
|
1411
|
-
St,
|
|
1412
|
-
Et,
|
|
1413
|
-
yt,
|
|
1410
|
+
Ut,
|
|
1414
1411
|
At,
|
|
1415
|
-
|
|
1412
|
+
ft,
|
|
1416
1413
|
Ct,
|
|
1417
|
-
|
|
1414
|
+
It,
|
|
1418
1415
|
Ot,
|
|
1419
|
-
|
|
1416
|
+
Tt,
|
|
1420
1417
|
Nt,
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
vt
|
|
1424
|
-
]), M = e.union([
|
|
1425
|
-
Dt,
|
|
1418
|
+
yt,
|
|
1419
|
+
Rt,
|
|
1426
1420
|
Lt,
|
|
1427
|
-
|
|
1428
|
-
|
|
1421
|
+
Dt,
|
|
1422
|
+
Ft,
|
|
1423
|
+
wt
|
|
1424
|
+
]), H = e.union([
|
|
1425
|
+
kt,
|
|
1426
|
+
jt,
|
|
1427
|
+
Mt
|
|
1428
|
+
]), Ln = /* @__PURE__ */ new Set([
|
|
1429
1429
|
"BOOLEAN",
|
|
1430
1430
|
"CARDS",
|
|
1431
1431
|
"CHOICE",
|
|
@@ -1439,7 +1439,7 @@ const tt = e.object({
|
|
|
1439
1439
|
"TEL",
|
|
1440
1440
|
"TEXT",
|
|
1441
1441
|
"URL"
|
|
1442
|
-
]),
|
|
1442
|
+
]), Dn = e.object({
|
|
1443
1443
|
id: e.string(),
|
|
1444
1444
|
type: e.literal("submit"),
|
|
1445
1445
|
label: e.string(),
|
|
@@ -1448,22 +1448,22 @@ const tt = e.object({
|
|
|
1448
1448
|
order: e.number().optional(),
|
|
1449
1449
|
visible: e.boolean().optional().default(!0),
|
|
1450
1450
|
customizations: e.record(e.string(), e.any()).optional()
|
|
1451
|
-
}),
|
|
1451
|
+
}), A = e.object({
|
|
1452
1452
|
x: e.number(),
|
|
1453
1453
|
y: e.number()
|
|
1454
|
-
}),
|
|
1454
|
+
}), Pt = e.object({
|
|
1455
1455
|
id: e.string(),
|
|
1456
1456
|
type: e.literal("FLOW"),
|
|
1457
|
-
coordinates:
|
|
1457
|
+
coordinates: A,
|
|
1458
1458
|
alias: e.string().min(1).max(150).optional(),
|
|
1459
1459
|
config: e.object({
|
|
1460
1460
|
flow_id: e.string().max(30),
|
|
1461
1461
|
next_node: e.string().optional()
|
|
1462
1462
|
})
|
|
1463
|
-
}),
|
|
1463
|
+
}), vt = e.object({
|
|
1464
1464
|
id: e.string(),
|
|
1465
1465
|
type: e.literal("ROUTER"),
|
|
1466
|
-
coordinates:
|
|
1466
|
+
coordinates: A,
|
|
1467
1467
|
alias: e.string().min(1).max(150),
|
|
1468
1468
|
config: e.object({
|
|
1469
1469
|
rules: e.array(
|
|
@@ -1476,20 +1476,20 @@ const tt = e.object({
|
|
|
1476
1476
|
),
|
|
1477
1477
|
fallback: e.string()
|
|
1478
1478
|
})
|
|
1479
|
-
}),
|
|
1479
|
+
}), xt = e.object({
|
|
1480
1480
|
id: e.string(),
|
|
1481
1481
|
type: e.literal("STEP"),
|
|
1482
|
-
coordinates:
|
|
1482
|
+
coordinates: A,
|
|
1483
1483
|
alias: e.string().min(1).max(150).optional(),
|
|
1484
1484
|
config: e.object({
|
|
1485
|
-
components: e.array(
|
|
1485
|
+
components: e.array(H),
|
|
1486
1486
|
next_node: e.string().optional()
|
|
1487
1487
|
})
|
|
1488
|
-
}),
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
]),
|
|
1488
|
+
}), Ht = e.discriminatedUnion("type", [
|
|
1489
|
+
Pt,
|
|
1490
|
+
vt,
|
|
1491
|
+
xt
|
|
1492
|
+
]), Gt = e.object({
|
|
1493
1493
|
name: e.string().openapi({
|
|
1494
1494
|
description: "The name of the form"
|
|
1495
1495
|
}),
|
|
@@ -1502,11 +1502,11 @@ const tt = e.object({
|
|
|
1502
1502
|
default: e.string().optional()
|
|
1503
1503
|
}).optional(),
|
|
1504
1504
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1505
|
-
nodes: e.array(
|
|
1505
|
+
nodes: e.array(Ht).optional(),
|
|
1506
1506
|
start: e.object({
|
|
1507
1507
|
hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
|
|
1508
1508
|
next_node: e.string().optional(),
|
|
1509
|
-
coordinates:
|
|
1509
|
+
coordinates: A.optional()
|
|
1510
1510
|
}).optional(),
|
|
1511
1511
|
ending: e.object({
|
|
1512
1512
|
redirection: e.object({
|
|
@@ -1514,7 +1514,7 @@ const tt = e.object({
|
|
|
1514
1514
|
target: e.string().optional()
|
|
1515
1515
|
}).optional(),
|
|
1516
1516
|
after_submit: e.object({ flow_id: e.string().optional() }).optional(),
|
|
1517
|
-
coordinates:
|
|
1517
|
+
coordinates: A.optional(),
|
|
1518
1518
|
resume_flow: e.boolean().optional()
|
|
1519
1519
|
}).optional(),
|
|
1520
1520
|
style: e.object({ css: e.string().optional() }).optional(),
|
|
@@ -1524,11 +1524,11 @@ const tt = e.object({
|
|
|
1524
1524
|
}).optional()
|
|
1525
1525
|
}).openapi({
|
|
1526
1526
|
description: "Schema for flow-based forms (matches Auth0 Forms structure)"
|
|
1527
|
-
}),
|
|
1528
|
-
...
|
|
1529
|
-
...
|
|
1527
|
+
}), Fn = e.object({
|
|
1528
|
+
...s.shape,
|
|
1529
|
+
...Gt.shape,
|
|
1530
1530
|
id: e.string()
|
|
1531
|
-
}),
|
|
1531
|
+
}), Wt = e.object({
|
|
1532
1532
|
id: e.number().optional(),
|
|
1533
1533
|
text: e.string(),
|
|
1534
1534
|
type: e.enum(["info", "error", "success", "warning"])
|
|
@@ -1537,29 +1537,29 @@ const tt = e.object({
|
|
|
1537
1537
|
text: e.string(),
|
|
1538
1538
|
href: e.string(),
|
|
1539
1539
|
linkText: e.string().optional()
|
|
1540
|
-
}),
|
|
1540
|
+
}), Un = e.object({
|
|
1541
1541
|
/** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
|
|
1542
1542
|
name: e.string().optional(),
|
|
1543
1543
|
action: e.string(),
|
|
1544
1544
|
method: e.enum(["POST", "GET"]),
|
|
1545
1545
|
title: e.string().optional(),
|
|
1546
1546
|
description: e.string().optional(),
|
|
1547
|
-
components: e.array(
|
|
1548
|
-
messages: e.array(
|
|
1547
|
+
components: e.array(H),
|
|
1548
|
+
messages: e.array(Wt).optional(),
|
|
1549
1549
|
links: e.array(Bt).optional(),
|
|
1550
1550
|
/** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
|
|
1551
1551
|
footer: e.string().optional()
|
|
1552
1552
|
});
|
|
1553
|
-
function
|
|
1554
|
-
return
|
|
1553
|
+
function wn(o) {
|
|
1554
|
+
return o.category === "BLOCK";
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1557
|
-
return
|
|
1556
|
+
function kn(o) {
|
|
1557
|
+
return o.category === "WIDGET";
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1560
|
-
return
|
|
1559
|
+
function jn(o) {
|
|
1560
|
+
return o.category === "FIELD";
|
|
1561
1561
|
}
|
|
1562
|
-
const
|
|
1562
|
+
const G = e.enum([
|
|
1563
1563
|
"pre-user-registration",
|
|
1564
1564
|
"post-user-registration",
|
|
1565
1565
|
"post-user-login",
|
|
@@ -1568,7 +1568,7 @@ const H = e.enum([
|
|
|
1568
1568
|
"pre-user-deletion",
|
|
1569
1569
|
"post-user-deletion"
|
|
1570
1570
|
// Potentially other triggers specific to webhooks in the future
|
|
1571
|
-
]),
|
|
1571
|
+
]), W = e.enum([
|
|
1572
1572
|
"pre-user-registration",
|
|
1573
1573
|
"post-user-registration",
|
|
1574
1574
|
"post-user-login",
|
|
@@ -1580,16 +1580,16 @@ const H = e.enum([
|
|
|
1580
1580
|
"post-user-registration",
|
|
1581
1581
|
"post-user-update",
|
|
1582
1582
|
"credentials-exchange"
|
|
1583
|
-
]),
|
|
1583
|
+
]), K = e.enum([
|
|
1584
1584
|
"post-user-login",
|
|
1585
1585
|
"credentials-exchange",
|
|
1586
1586
|
"pre-user-registration",
|
|
1587
1587
|
"post-user-registration"
|
|
1588
|
-
]),
|
|
1588
|
+
]), V = e.enum([
|
|
1589
1589
|
"ensure-username",
|
|
1590
1590
|
"set-preferred-username",
|
|
1591
1591
|
"account-linking"
|
|
1592
|
-
]),
|
|
1592
|
+
]), Mn = {
|
|
1593
1593
|
"ensure-username": {
|
|
1594
1594
|
name: "Ensure Username",
|
|
1595
1595
|
description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
|
|
@@ -1609,7 +1609,7 @@ const H = e.enum([
|
|
|
1609
1609
|
"post-user-update"
|
|
1610
1610
|
]
|
|
1611
1611
|
}
|
|
1612
|
-
},
|
|
1612
|
+
}, p = {
|
|
1613
1613
|
enabled: e.boolean().default(!1),
|
|
1614
1614
|
synchronous: e.boolean().default(!1),
|
|
1615
1615
|
priority: e.number().optional(),
|
|
@@ -1626,71 +1626,72 @@ const H = e.enum([
|
|
|
1626
1626
|
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
1627
1627
|
*/
|
|
1628
1628
|
metadata: e.record(e.unknown()).optional()
|
|
1629
|
-
},
|
|
1630
|
-
...
|
|
1631
|
-
trigger_id: H,
|
|
1632
|
-
url: e.string()
|
|
1633
|
-
}), Kt = e.object({
|
|
1634
|
-
...c,
|
|
1629
|
+
}, Kt = e.object({
|
|
1630
|
+
...p,
|
|
1635
1631
|
trigger_id: G,
|
|
1632
|
+
url: e.string()
|
|
1633
|
+
}), Vt = e.object({
|
|
1634
|
+
...p,
|
|
1635
|
+
trigger_id: W,
|
|
1636
1636
|
form_id: e.string()
|
|
1637
|
-
}),
|
|
1638
|
-
...
|
|
1637
|
+
}), Xt = e.object({
|
|
1638
|
+
...p,
|
|
1639
1639
|
trigger_id: B,
|
|
1640
|
-
template_id:
|
|
1640
|
+
template_id: V
|
|
1641
1641
|
}), qt = e.object({
|
|
1642
|
-
...
|
|
1643
|
-
trigger_id:
|
|
1642
|
+
...p,
|
|
1643
|
+
trigger_id: K,
|
|
1644
1644
|
code_id: e.string()
|
|
1645
|
-
}),
|
|
1646
|
-
Wt,
|
|
1645
|
+
}), Pn = e.union([
|
|
1647
1646
|
Kt,
|
|
1648
|
-
|
|
1647
|
+
Vt,
|
|
1648
|
+
Xt,
|
|
1649
1649
|
qt
|
|
1650
|
-
]),
|
|
1651
|
-
...
|
|
1652
|
-
trigger_id:
|
|
1653
|
-
...
|
|
1650
|
+
]), zt = e.object({
|
|
1651
|
+
...p,
|
|
1652
|
+
trigger_id: G,
|
|
1653
|
+
...s.shape,
|
|
1654
1654
|
hook_id: e.string(),
|
|
1655
1655
|
url: e.string()
|
|
1656
|
-
}),
|
|
1657
|
-
...
|
|
1658
|
-
trigger_id:
|
|
1659
|
-
...
|
|
1656
|
+
}), Yt = e.object({
|
|
1657
|
+
...p,
|
|
1658
|
+
trigger_id: W,
|
|
1659
|
+
...s.shape,
|
|
1660
1660
|
hook_id: e.string(),
|
|
1661
1661
|
form_id: e.string()
|
|
1662
|
-
}),
|
|
1663
|
-
...
|
|
1662
|
+
}), Qt = e.object({
|
|
1663
|
+
...p,
|
|
1664
1664
|
trigger_id: B,
|
|
1665
|
-
...
|
|
1665
|
+
...s.shape,
|
|
1666
1666
|
hook_id: e.string(),
|
|
1667
|
-
template_id:
|
|
1667
|
+
template_id: V
|
|
1668
1668
|
}), Zt = e.object({
|
|
1669
|
-
...
|
|
1670
|
-
trigger_id:
|
|
1671
|
-
...
|
|
1669
|
+
...p,
|
|
1670
|
+
trigger_id: K,
|
|
1671
|
+
...s.shape,
|
|
1672
1672
|
hook_id: e.string(),
|
|
1673
1673
|
code_id: e.string()
|
|
1674
|
-
}),
|
|
1675
|
-
|
|
1676
|
-
Vt,
|
|
1674
|
+
}), vn = e.union([
|
|
1675
|
+
zt,
|
|
1677
1676
|
Yt,
|
|
1677
|
+
Qt,
|
|
1678
1678
|
Zt
|
|
1679
|
-
]),
|
|
1679
|
+
]), Jt = e.object({
|
|
1680
1680
|
code: e.string().max(1e5),
|
|
1681
1681
|
secrets: e.record(e.string()).optional()
|
|
1682
|
-
}),
|
|
1682
|
+
}), xn = Jt.extend({
|
|
1683
1683
|
id: e.string(),
|
|
1684
1684
|
tenant_id: e.string(),
|
|
1685
|
-
...
|
|
1685
|
+
...s.shape
|
|
1686
1686
|
}), $t = e.object({
|
|
1687
1687
|
name: e.string().optional()
|
|
1688
|
-
}), Jt = e.object({
|
|
1689
|
-
email: e.string().optional()
|
|
1690
1688
|
}), eo = e.object({
|
|
1689
|
+
email: e.string().optional()
|
|
1690
|
+
}), to = e.object({
|
|
1691
|
+
id: e.string().optional(),
|
|
1691
1692
|
organization_id: e.string().max(50),
|
|
1692
1693
|
inviter: $t,
|
|
1693
|
-
invitee:
|
|
1694
|
+
invitee: eo,
|
|
1694
1695
|
invitation_url: e.string().url(),
|
|
1695
1696
|
client_id: e.string(),
|
|
1696
1697
|
connection_id: e.string().optional(),
|
|
@@ -1699,13 +1700,13 @@ const H = e.enum([
|
|
|
1699
1700
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1700
1701
|
roles: e.array(e.string()).default([]).optional(),
|
|
1701
1702
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1702
|
-
}),
|
|
1703
|
+
}), Hn = e.object({
|
|
1703
1704
|
id: e.string(),
|
|
1704
1705
|
organization_id: e.string().max(50),
|
|
1705
1706
|
created_at: e.string().datetime(),
|
|
1706
1707
|
expires_at: e.string().datetime(),
|
|
1707
1708
|
ticket_id: e.string().optional()
|
|
1708
|
-
}).extend(
|
|
1709
|
+
}).extend(to.omit({ id: !0 }).shape), oo = e.object({
|
|
1709
1710
|
alg: e.enum([
|
|
1710
1711
|
"RS256",
|
|
1711
1712
|
"RS384",
|
|
@@ -1729,24 +1730,24 @@ const H = e.enum([
|
|
|
1729
1730
|
y: e.string().optional(),
|
|
1730
1731
|
x5t: e.string().optional(),
|
|
1731
1732
|
x5c: e.array(e.string()).optional()
|
|
1732
|
-
}).superRefine((
|
|
1733
|
-
if (
|
|
1734
|
-
for (const
|
|
1735
|
-
|
|
1733
|
+
}).superRefine((o, n) => {
|
|
1734
|
+
if (o.kty === "RSA")
|
|
1735
|
+
for (const i of ["n", "e"])
|
|
1736
|
+
o[i] || n.addIssue({
|
|
1736
1737
|
code: e.ZodIssueCode.custom,
|
|
1737
|
-
path: [
|
|
1738
|
-
message: `RSA JWK is missing required member '${
|
|
1738
|
+
path: [i],
|
|
1739
|
+
message: `RSA JWK is missing required member '${i}'`
|
|
1739
1740
|
});
|
|
1740
|
-
else if (
|
|
1741
|
-
for (const
|
|
1742
|
-
|
|
1741
|
+
else if (o.kty === "EC")
|
|
1742
|
+
for (const i of ["crv", "x", "y"])
|
|
1743
|
+
o[i] || n.addIssue({
|
|
1743
1744
|
code: e.ZodIssueCode.custom,
|
|
1744
|
-
path: [
|
|
1745
|
-
message: `EC JWK is missing required member '${
|
|
1745
|
+
path: [i],
|
|
1746
|
+
message: `EC JWK is missing required member '${i}'`
|
|
1746
1747
|
});
|
|
1747
|
-
}),
|
|
1748
|
-
keys: e.array(
|
|
1749
|
-
}),
|
|
1748
|
+
}), Gn = e.object({
|
|
1749
|
+
keys: e.array(oo)
|
|
1750
|
+
}), Wn = e.object({
|
|
1750
1751
|
issuer: e.string(),
|
|
1751
1752
|
authorization_endpoint: e.string(),
|
|
1752
1753
|
token_endpoint: e.string(),
|
|
@@ -1770,21 +1771,21 @@ const H = e.enum([
|
|
|
1770
1771
|
request_object_signing_alg_values_supported: e.array(e.string()).optional(),
|
|
1771
1772
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
|
|
1772
1773
|
});
|
|
1773
|
-
var
|
|
1774
|
-
const
|
|
1774
|
+
var X = /* @__PURE__ */ ((o) => (o.PENDING = "pending", o.AUTHENTICATED = "authenticated", o.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", o.AWAITING_MFA = "awaiting_mfa", o.AWAITING_HOOK = "awaiting_hook", o.AWAITING_CONTINUATION = "awaiting_continuation", o.COMPLETED = "completed", o.FAILED = "failed", o.EXPIRED = "expired", o))(X || {});
|
|
1775
|
+
const no = e.nativeEnum(X), io = e.object({
|
|
1775
1776
|
strategy: e.string(),
|
|
1776
1777
|
strategy_type: e.string()
|
|
1777
|
-
}),
|
|
1778
|
+
}), ao = e.object({
|
|
1778
1779
|
csrf_token: e.string(),
|
|
1779
1780
|
auth0Client: e.string().optional(),
|
|
1780
|
-
authParams:
|
|
1781
|
+
authParams: Je,
|
|
1781
1782
|
expires_at: e.string(),
|
|
1782
1783
|
deleted_at: e.string().optional(),
|
|
1783
1784
|
ip: e.string().optional(),
|
|
1784
1785
|
useragent: e.string().optional(),
|
|
1785
1786
|
session_id: e.string().optional(),
|
|
1786
1787
|
authorization_url: e.string().optional(),
|
|
1787
|
-
state:
|
|
1788
|
+
state: no.optional().default(
|
|
1788
1789
|
"pending"
|
|
1789
1790
|
/* PENDING */
|
|
1790
1791
|
),
|
|
@@ -1795,19 +1796,19 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
1795
1796
|
// Set once user is authenticated
|
|
1796
1797
|
auth_connection: e.string().optional(),
|
|
1797
1798
|
// The connection used to authenticate (may differ from primary user's connection)
|
|
1798
|
-
auth_strategy:
|
|
1799
|
+
auth_strategy: io.optional(),
|
|
1799
1800
|
authenticated_at: e.string().optional()
|
|
1800
1801
|
// ISO timestamp persisted for audit/metadata; not used to reject resumed sessions
|
|
1801
1802
|
}).openapi({
|
|
1802
1803
|
description: "This represents a login sesion"
|
|
1803
|
-
}),
|
|
1804
|
-
...
|
|
1804
|
+
}), Bn = e.object({
|
|
1805
|
+
...ao.shape,
|
|
1805
1806
|
id: e.string().openapi({
|
|
1806
1807
|
description: "This is is used as the state in the universal login"
|
|
1807
1808
|
}),
|
|
1808
1809
|
created_at: e.string(),
|
|
1809
1810
|
updated_at: e.string()
|
|
1810
|
-
}),
|
|
1811
|
+
}), t = {
|
|
1811
1812
|
// Network & System
|
|
1812
1813
|
ACLS_SUMMARY: "acls_summary",
|
|
1813
1814
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
@@ -1911,6 +1912,8 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
1911
1912
|
BLOCKED_IP_ADDRESS: "limit_mu",
|
|
1912
1913
|
BLOCKED_ACCOUNT_IP: "limit_sul",
|
|
1913
1914
|
BLOCKED_ACCOUNT_EMAIL: "limit_wc",
|
|
1915
|
+
// Generic information
|
|
1916
|
+
INFORMATION: "i",
|
|
1914
1917
|
// MFA & My Account
|
|
1915
1918
|
MFA_REQUIRED: "mfar",
|
|
1916
1919
|
MANAGEMENT_API_READ_OPERATION: "mgmt_api_read",
|
|
@@ -1950,6 +1953,7 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
1950
1953
|
SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN: "sens",
|
|
1951
1954
|
SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN: "seoobft",
|
|
1952
1955
|
SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN: "seotpft",
|
|
1956
|
+
SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN: "sepotpft",
|
|
1953
1957
|
SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN: "sepft",
|
|
1954
1958
|
SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN: "sepkoobft",
|
|
1955
1959
|
SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN: "sepkotpft",
|
|
@@ -1984,22 +1988,192 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
1984
1988
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1985
1989
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1986
1990
|
}, so = e.string().refine(
|
|
1987
|
-
(
|
|
1991
|
+
(o) => Object.values(t).includes(o),
|
|
1988
1992
|
{ message: "Invalid log type" }
|
|
1989
|
-
), ro =
|
|
1993
|
+
), ro = {
|
|
1994
|
+
[t.ACLS_SUMMARY]: "ACLs Summary",
|
|
1995
|
+
[t.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
|
|
1996
|
+
[t.API_LIMIT]: "API Rate Limit Reached",
|
|
1997
|
+
[t.API_LIMIT_WARNING]: "API Rate Limit Warning",
|
|
1998
|
+
[t.APPI]: "API Operation",
|
|
1999
|
+
[t.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
|
|
2000
|
+
[t.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
|
|
2001
|
+
[t.CIBA_START_FAILED]: "CIBA Start Failed",
|
|
2002
|
+
[t.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
|
|
2003
|
+
[t.CODE_LINK_SENT]: "Code/Link Sent",
|
|
2004
|
+
[t.CODE_SENT]: "Code Sent",
|
|
2005
|
+
[t.DEPRECATION_NOTICE]: "Deprecation Notice",
|
|
2006
|
+
[t.FAILED_LOGIN]: "Failed Login",
|
|
2007
|
+
[t.FAILED_BY_CONNECTOR]: "Failed by Connector",
|
|
2008
|
+
[t.FAILED_CHANGE_EMAIL]: "Failed Change Email",
|
|
2009
|
+
[t.FAILED_BY_CORS]: "Failed by CORS",
|
|
2010
|
+
[t.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
|
|
2011
|
+
[t.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
|
|
2012
|
+
[t.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
|
|
2013
|
+
[t.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
|
|
2014
|
+
[t.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
|
|
2015
|
+
[t.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
|
|
2016
|
+
[t.FAILED_CHANGE_USERNAME]: "Failed Change Username",
|
|
2017
|
+
[t.FAILED_DELEGATION]: "Failed Delegation",
|
|
2018
|
+
[t.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
|
|
2019
|
+
[t.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
|
|
2020
|
+
[t.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
|
|
2021
|
+
[t.FAILED_USER_DELETION]: "Failed User Deletion",
|
|
2022
|
+
[t.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
|
|
2023
|
+
[t.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
|
|
2024
|
+
[t.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
|
|
2025
|
+
[t.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
|
|
2026
|
+
[t.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
|
|
2027
|
+
[t.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
|
|
2028
|
+
[t.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
|
|
2029
|
+
[t.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
|
|
2030
|
+
[t.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
|
|
2031
|
+
[t.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
|
|
2032
|
+
[t.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
|
|
2033
|
+
[t.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
|
|
2034
|
+
[t.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
|
|
2035
|
+
[t.FAILED_HOOK]: "Failed Hook",
|
|
2036
|
+
[t.FAILED_IMPERSONATION]: "Failed Impersonation",
|
|
2037
|
+
[t.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
|
|
2038
|
+
[t.FAILED_LOGOUT]: "Failed Logout",
|
|
2039
|
+
[t.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
|
|
2040
|
+
[t.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
|
|
2041
|
+
[t.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
|
|
2042
|
+
[t.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
|
|
2043
|
+
[t.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
|
|
2044
|
+
[t.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
|
|
2045
|
+
[t.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
|
|
2046
|
+
[t.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
|
|
2047
|
+
[t.FAILED_SIGNUP]: "Failed Signup",
|
|
2048
|
+
[t.FAILED_SILENT_AUTH]: "Failed Silent Auth",
|
|
2049
|
+
[t.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
|
|
2050
|
+
[t.FAILED_USERS_IMPORT]: "Failed Users Import",
|
|
2051
|
+
[t.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
|
|
2052
|
+
[t.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
|
|
2053
|
+
[t.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
|
|
2054
|
+
[t.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
|
|
2055
|
+
[t.MFA_AUTH_FAILED]: "MFA Auth Failed",
|
|
2056
|
+
[t.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
|
|
2057
|
+
[t.MFA_AUTH_SUCCESS]: "MFA Auth Success",
|
|
2058
|
+
[t.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
|
|
2059
|
+
[t.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
|
|
2060
|
+
[t.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
|
|
2061
|
+
[t.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
|
|
2062
|
+
[t.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
|
|
2063
|
+
[t.MFA_EMAIL_SENT]: "MFA Email Sent",
|
|
2064
|
+
[t.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
|
|
2065
|
+
[t.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
|
|
2066
|
+
[t.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
|
|
2067
|
+
[t.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
|
|
2068
|
+
[t.MFA_SMS_SENT]: "MFA SMS Sent",
|
|
2069
|
+
[t.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
|
|
2070
|
+
[t.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
|
|
2071
|
+
[t.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
|
|
2072
|
+
[t.SECOND_FACTOR_STARTED]: "Second Factor Started",
|
|
2073
|
+
[t.MFA_ENROLL_STARTED]: "MFA Enroll Started",
|
|
2074
|
+
[t.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
|
|
2075
|
+
[t.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
|
|
2076
|
+
[t.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
|
|
2077
|
+
[t.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
|
|
2078
|
+
[t.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
|
|
2079
|
+
[t.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
|
|
2080
|
+
[t.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
|
|
2081
|
+
[t.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
|
|
2082
|
+
[t.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
|
|
2083
|
+
[t.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
|
|
2084
|
+
[t.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
|
|
2085
|
+
[t.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
|
|
2086
|
+
[t.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
|
|
2087
|
+
[t.INFORMATION]: "Information",
|
|
2088
|
+
[t.MFA_REQUIRED]: "MFA Required",
|
|
2089
|
+
[t.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
|
|
2090
|
+
[t.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
|
|
2091
|
+
[t.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
|
|
2092
|
+
[t.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
|
|
2093
|
+
[t.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
|
|
2094
|
+
[t.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
|
|
2095
|
+
[t.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
|
|
2096
|
+
[t.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
|
|
2097
|
+
[t.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
|
|
2098
|
+
[t.BREACHED_PASSWORD]: "Breached Password",
|
|
2099
|
+
[t.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
|
|
2100
|
+
[t.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
|
|
2101
|
+
[t.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
|
|
2102
|
+
[t.SUCCESS_LOGIN]: "Success Login",
|
|
2103
|
+
[t.SUCCESS_API_OPERATION]: "Success API Operation",
|
|
2104
|
+
[t.FAILED_API_OPERATION]: "Failed API Operation",
|
|
2105
|
+
[t.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
|
|
2106
|
+
[t.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
|
|
2107
|
+
[t.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
|
|
2108
|
+
[t.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
|
|
2109
|
+
[t.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
|
|
2110
|
+
[t.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
|
|
2111
|
+
[t.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
|
|
2112
|
+
[t.SUCCESS_DELEGATION]: "Success Delegation",
|
|
2113
|
+
[t.SUCCESS_USER_DELETION]: "Success User Deletion",
|
|
2114
|
+
[t.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
|
|
2115
|
+
[t.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
|
|
2116
|
+
[t.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
|
|
2117
|
+
[t.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
|
|
2118
|
+
[t.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
|
|
2119
|
+
[t.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
|
|
2120
|
+
[t.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
|
|
2121
|
+
[t.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
|
|
2122
|
+
[t.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
|
|
2123
|
+
[t.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
|
|
2124
|
+
[t.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
|
|
2125
|
+
[t.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
|
|
2126
|
+
[t.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
|
|
2127
|
+
[t.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
|
|
2128
|
+
[t.SUCCESS_IMPERSONATION]: "Success Impersonation",
|
|
2129
|
+
[t.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
|
|
2130
|
+
[t.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
|
|
2131
|
+
[t.SUCCESS_LOGOUT]: "Success Logout",
|
|
2132
|
+
[t.SUCCESS_HOOK]: "Success Hook",
|
|
2133
|
+
[t.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
|
|
2134
|
+
[t.SUCCESS_REVOCATION]: "Success Revocation",
|
|
2135
|
+
[t.SUCCESS_SIGNUP]: "Success Signup",
|
|
2136
|
+
[t.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
|
|
2137
|
+
[t.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
|
|
2138
|
+
[t.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
|
|
2139
|
+
[t.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
|
|
2140
|
+
[t.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
|
|
2141
|
+
[t.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
|
|
2142
|
+
[t.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
|
|
2143
|
+
[t.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
|
|
2144
|
+
[t.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
|
|
2145
|
+
[t.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
|
|
2146
|
+
[t.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
|
|
2147
|
+
[t.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
|
|
2148
|
+
[t.WARNING_DURING_LOGIN]: "Warning During Login",
|
|
2149
|
+
[t.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
|
|
2150
|
+
[t.WARNING_USER_MANAGEMENT]: "Warning User Management"
|
|
2151
|
+
}, lo = (() => {
|
|
2152
|
+
const o = {};
|
|
2153
|
+
for (const [n, i] of Object.entries(t))
|
|
2154
|
+
n.startsWith("SUCCESS_") || n.startsWith("SUCCESSFUL_") || n.startsWith("SUCCESSFULLY_") || n.endsWith("_SUCCEEDED") || n.endsWith("_COMPLETED") ? o[i] = "success" : n.startsWith("FAILED_") || n.startsWith("ERROR_") || n.startsWith("BREACHED_") || n.startsWith("BLOCKED_") || n === "MFA_AUTH_FAILED" || n === "MFA_AUTH_REJECTED" || n === "MFA_RECOVERY_FAILED" || n === "MFA_ENROLLMENT_FAILED" || n === "EMAIL_VERIFICATION_FAILED" || n === "WEBAUTHN_CHALLENGE_FAILED" || n === "WEBAUTHN_ENROLLMENT_FAILED" || n === "PASSKEY_CHALLENGE_FAILED" || n === "FLOWS_EXECUTION_FAILED" || n === "FORMS_SUBMISSION_FAILED" || n === "CIBA_EXCHANGE_FAILED" || n === "CIBA_START_FAILED" || n === "ACTIONS_EXECUTION_FAILED" || n === "RICH_CONSENTS_ACCESS_ERROR" || n === "USER_CANCELED_DEVICE_CONFIRMATION" || n === "TOO_MANY_MFA_FAILURES" || n === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || n === "API_LIMIT" || n === "MAX_AMOUNT_OF_AUTHENTICATORS" ? o[i] = "failure" : n.startsWith("WARNING_") || n === "API_LIMIT_WARNING" || n === "DEPRECATION_NOTICE" || n === "PRE_LOGIN_ASSESSMENT" ? o[i] = "warning" : n === "CODE_SENT" || n === "CODE_LINK_SENT" || n === "MFA_EMAIL_SENT" || n === "MFA_SMS_SENT" || n === "EMAIL_VERIFICATION_SENT" || n === "PUSH_NOTIFICATION_SENT" ? o[i] = "code_sent" : n === "INFORMATION" || n === "INFORMATION_FROM_SS_SSO_OPERATION" || n === "MANAGEMENT_API_READ_OPERATION" || n === "APPI" || n === "ACLS_SUMMARY" || n === "ORGANIZATION_MEMBER_ADDED" ? o[i] = "info" : o[i] = "other";
|
|
2155
|
+
return o;
|
|
2156
|
+
})();
|
|
2157
|
+
function Kn(o) {
|
|
2158
|
+
return ro[o] ?? o;
|
|
2159
|
+
}
|
|
2160
|
+
function Vn(o) {
|
|
2161
|
+
return lo[o] ?? "other";
|
|
2162
|
+
}
|
|
2163
|
+
const co = e.object({
|
|
1990
2164
|
name: e.string(),
|
|
1991
2165
|
version: e.string(),
|
|
1992
2166
|
env: e.object({
|
|
1993
2167
|
node: e.string().optional()
|
|
1994
2168
|
}).optional()
|
|
1995
|
-
}),
|
|
2169
|
+
}), po = e.object({
|
|
1996
2170
|
country_code: e.string().length(2),
|
|
1997
2171
|
city_name: e.string(),
|
|
1998
2172
|
latitude: e.string(),
|
|
1999
2173
|
longitude: e.string(),
|
|
2000
2174
|
time_zone: e.string(),
|
|
2001
2175
|
continent_code: e.string()
|
|
2002
|
-
}),
|
|
2176
|
+
}), _o = e.object({
|
|
2003
2177
|
type: so,
|
|
2004
2178
|
date: e.string(),
|
|
2005
2179
|
description: e.string().optional(),
|
|
@@ -2019,40 +2193,40 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2019
2193
|
strategy: e.string().optional(),
|
|
2020
2194
|
strategy_type: e.string().optional(),
|
|
2021
2195
|
hostname: e.string().optional(),
|
|
2022
|
-
auth0_client:
|
|
2196
|
+
auth0_client: co.optional(),
|
|
2023
2197
|
log_id: e.string().optional(),
|
|
2024
|
-
location_info:
|
|
2025
|
-
}),
|
|
2026
|
-
...
|
|
2198
|
+
location_info: po.optional()
|
|
2199
|
+
}), Xn = e.object({
|
|
2200
|
+
..._o.shape,
|
|
2027
2201
|
log_id: e.string()
|
|
2028
|
-
}),
|
|
2202
|
+
}), go = e.enum([
|
|
2029
2203
|
"http",
|
|
2030
2204
|
"eventbridge",
|
|
2031
2205
|
"eventgrid",
|
|
2032
2206
|
"splunk",
|
|
2033
2207
|
"datadog",
|
|
2034
2208
|
"sumo"
|
|
2035
|
-
]), q = e.enum(["active", "paused", "suspended"]),
|
|
2209
|
+
]), q = e.enum(["active", "paused", "suspended"]), uo = e.object({
|
|
2036
2210
|
type: e.string(),
|
|
2037
2211
|
name: e.string()
|
|
2038
|
-
}),
|
|
2212
|
+
}), mo = e.object({
|
|
2039
2213
|
name: e.string(),
|
|
2040
|
-
type:
|
|
2214
|
+
type: go,
|
|
2041
2215
|
status: q.optional(),
|
|
2042
2216
|
sink: e.record(e.string(), e.unknown()),
|
|
2043
|
-
filters: e.array(
|
|
2217
|
+
filters: e.array(uo).optional(),
|
|
2044
2218
|
isPriority: e.boolean().optional()
|
|
2045
|
-
}),
|
|
2219
|
+
}), qn = mo.extend({
|
|
2046
2220
|
id: e.string(),
|
|
2047
2221
|
status: q,
|
|
2048
2222
|
created_at: e.string().optional(),
|
|
2049
2223
|
updated_at: e.string().optional()
|
|
2050
|
-
}),
|
|
2224
|
+
}), Eo = e.enum([
|
|
2051
2225
|
"auth0",
|
|
2052
2226
|
"cognito",
|
|
2053
2227
|
"okta",
|
|
2054
2228
|
"oidc"
|
|
2055
|
-
]),
|
|
2229
|
+
]), So = e.object({
|
|
2056
2230
|
domain: e.string(),
|
|
2057
2231
|
client_id: e.string(),
|
|
2058
2232
|
client_secret: e.string(),
|
|
@@ -2061,11 +2235,11 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2061
2235
|
}), ho = e.object({
|
|
2062
2236
|
id: e.string().optional(),
|
|
2063
2237
|
name: e.string(),
|
|
2064
|
-
provider:
|
|
2238
|
+
provider: Eo,
|
|
2065
2239
|
connection: e.string(),
|
|
2066
2240
|
enabled: e.boolean().default(!0),
|
|
2067
|
-
credentials:
|
|
2068
|
-
}),
|
|
2241
|
+
credentials: So
|
|
2242
|
+
}), zn = e.object({
|
|
2069
2243
|
id: e.string(),
|
|
2070
2244
|
created_at: e.string(),
|
|
2071
2245
|
updated_at: e.string()
|
|
@@ -2082,13 +2256,13 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2082
2256
|
shields: e.array(e.string()).optional()
|
|
2083
2257
|
}).optional()
|
|
2084
2258
|
}).optional()
|
|
2085
|
-
}),
|
|
2259
|
+
}), Ao = e.object({
|
|
2086
2260
|
enabled: e.boolean().optional(),
|
|
2087
2261
|
shields: e.array(e.string()).optional(),
|
|
2088
2262
|
allowlist: e.array(e.string()).optional(),
|
|
2089
2263
|
mode: e.string().optional(),
|
|
2090
2264
|
max_attempts: e.number().optional()
|
|
2091
|
-
}),
|
|
2265
|
+
}), fo = e.object({
|
|
2092
2266
|
enabled: e.boolean().optional(),
|
|
2093
2267
|
shields: e.array(e.string()).optional(),
|
|
2094
2268
|
allowlist: e.array(e.string()).optional(),
|
|
@@ -2102,28 +2276,28 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2102
2276
|
rate: e.number().optional()
|
|
2103
2277
|
}).optional()
|
|
2104
2278
|
}).optional()
|
|
2105
|
-
}),
|
|
2279
|
+
}), Co = e.object({
|
|
2106
2280
|
breached_password_detection: bo.optional(),
|
|
2107
|
-
brute_force_protection:
|
|
2108
|
-
suspicious_ip_throttling:
|
|
2109
|
-
}),
|
|
2281
|
+
brute_force_protection: Ao.optional(),
|
|
2282
|
+
suspicious_ip_throttling: fo.optional()
|
|
2283
|
+
}), Io = e.object({
|
|
2110
2284
|
id: e.string().optional(),
|
|
2111
2285
|
user_id: e.string(),
|
|
2112
2286
|
password: e.string(),
|
|
2113
2287
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
2114
2288
|
is_current: e.boolean().default(!0)
|
|
2115
|
-
}),
|
|
2289
|
+
}), Yn = Io.extend({
|
|
2116
2290
|
id: e.string(),
|
|
2117
2291
|
created_at: e.string(),
|
|
2118
2292
|
updated_at: e.string()
|
|
2119
|
-
}),
|
|
2293
|
+
}), z = e.object({
|
|
2120
2294
|
initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
|
|
2121
2295
|
initial_ip: e.string().describe("First IP address associated with this session"),
|
|
2122
2296
|
initial_asn: e.string().describe("First autonomous system number associated with this session"),
|
|
2123
2297
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
2124
2298
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
2125
2299
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
2126
|
-
}),
|
|
2300
|
+
}), Oo = e.object({
|
|
2127
2301
|
id: e.string(),
|
|
2128
2302
|
revoked_at: e.string().optional(),
|
|
2129
2303
|
used_at: e.string().optional(),
|
|
@@ -2131,17 +2305,17 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2131
2305
|
expires_at: e.string().optional(),
|
|
2132
2306
|
login_session_id: e.string(),
|
|
2133
2307
|
idle_expires_at: e.string().optional(),
|
|
2134
|
-
device:
|
|
2308
|
+
device: z.describe(
|
|
2135
2309
|
"Metadata related to the device used in the session"
|
|
2136
2310
|
),
|
|
2137
2311
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
2138
|
-
}),
|
|
2312
|
+
}), Qn = e.object({
|
|
2139
2313
|
created_at: e.string(),
|
|
2140
2314
|
updated_at: e.string(),
|
|
2141
2315
|
authenticated_at: e.string(),
|
|
2142
2316
|
last_interaction_at: e.string(),
|
|
2143
|
-
...
|
|
2144
|
-
}),
|
|
2317
|
+
...Oo.shape
|
|
2318
|
+
}), Zn = e.object({
|
|
2145
2319
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
2146
2320
|
tenant_id: e.string().optional().openapi({
|
|
2147
2321
|
description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped."
|
|
@@ -2169,7 +2343,7 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2169
2343
|
type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
|
|
2170
2344
|
description: "The type of the signing key"
|
|
2171
2345
|
})
|
|
2172
|
-
}),
|
|
2346
|
+
}), To = e.object({
|
|
2173
2347
|
id: e.string().optional(),
|
|
2174
2348
|
// Basic settings
|
|
2175
2349
|
audience: e.string(),
|
|
@@ -2235,10 +2409,10 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2235
2409
|
// `/connect/start` despite not being loopback. Off by default.
|
|
2236
2410
|
allow_http_return_to: e.array(
|
|
2237
2411
|
e.string().refine(
|
|
2238
|
-
(
|
|
2412
|
+
(o) => {
|
|
2239
2413
|
try {
|
|
2240
|
-
const
|
|
2241
|
-
return
|
|
2414
|
+
const n = new URL(o);
|
|
2415
|
+
return n.protocol === "http:" && (n.pathname === "" || n.pathname === "/") && !n.search && !n.hash && o === n.origin;
|
|
2242
2416
|
} catch {
|
|
2243
2417
|
return !1;
|
|
2244
2418
|
}
|
|
@@ -2322,7 +2496,7 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2322
2496
|
pushed_authorization_requests_supported: e.boolean().optional(),
|
|
2323
2497
|
authorization_response_iss_parameter_supported: e.boolean().optional(),
|
|
2324
2498
|
// Attack-protection config (singleton, exposed via /api/v2/attack-protection)
|
|
2325
|
-
attack_protection:
|
|
2499
|
+
attack_protection: Co.optional(),
|
|
2326
2500
|
// Guardian MFA Factors configuration (internal storage, exposed via /guardian API)
|
|
2327
2501
|
mfa: e.object({
|
|
2328
2502
|
// MFA policy: "never" = MFA disabled, "always" = MFA required for all logins
|
|
@@ -2354,10 +2528,10 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2354
2528
|
message: e.string().optional()
|
|
2355
2529
|
}).optional()
|
|
2356
2530
|
}).optional()
|
|
2357
|
-
}),
|
|
2358
|
-
created_at: e.string().nullable().transform((
|
|
2359
|
-
updated_at: e.string().nullable().transform((
|
|
2360
|
-
...
|
|
2531
|
+
}), Jn = e.object({
|
|
2532
|
+
created_at: e.string().nullable().transform((o) => o ?? ""),
|
|
2533
|
+
updated_at: e.string().nullable().transform((o) => o ?? ""),
|
|
2534
|
+
...To.shape,
|
|
2361
2535
|
id: e.string(),
|
|
2362
2536
|
// Computed server-side: true when this tenant is the deployment's control
|
|
2363
2537
|
// plane (either `multiTenancyConfig.controlPlaneTenantId` matches the
|
|
@@ -2365,8 +2539,8 @@ const oo = e.nativeEnum(z), no = e.object({
|
|
|
2365
2539
|
// deployment). Not persisted; ignored on writes.
|
|
2366
2540
|
is_control_plane: e.boolean().optional()
|
|
2367
2541
|
});
|
|
2368
|
-
var
|
|
2369
|
-
const
|
|
2542
|
+
var No = /* @__PURE__ */ ((o) => (o.RefreshToken = "refresh_token", o.AuthorizationCode = "authorization_code", o.ClientCredential = "client_credentials", o.Passwordless = "passwordless", o.Password = "password", o.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", o))(No || {});
|
|
2543
|
+
const $n = e.object({
|
|
2370
2544
|
access_token: e.string(),
|
|
2371
2545
|
id_token: e.string().optional(),
|
|
2372
2546
|
scope: e.string().optional(),
|
|
@@ -2379,7 +2553,7 @@ e.object({
|
|
|
2379
2553
|
code: e.string(),
|
|
2380
2554
|
state: e.string().optional()
|
|
2381
2555
|
});
|
|
2382
|
-
const
|
|
2556
|
+
const yo = e.object({
|
|
2383
2557
|
button_border_radius: e.number(),
|
|
2384
2558
|
button_border_weight: e.number(),
|
|
2385
2559
|
buttons_style: e.enum(["pill", "rounded", "sharp"]),
|
|
@@ -2389,7 +2563,7 @@ const To = e.object({
|
|
|
2389
2563
|
show_widget_shadow: e.boolean(),
|
|
2390
2564
|
widget_border_weight: e.number(),
|
|
2391
2565
|
widget_corner_radius: e.number()
|
|
2392
|
-
}),
|
|
2566
|
+
}), Ro = e.object({
|
|
2393
2567
|
base_focus_color: e.string(),
|
|
2394
2568
|
base_hover_color: e.string(),
|
|
2395
2569
|
body_text: e.string(),
|
|
@@ -2409,20 +2583,20 @@ const To = e.object({
|
|
|
2409
2583
|
success: e.string(),
|
|
2410
2584
|
widget_background: e.string(),
|
|
2411
2585
|
widget_border: e.string()
|
|
2412
|
-
}),
|
|
2586
|
+
}), m = e.object({
|
|
2413
2587
|
bold: e.boolean(),
|
|
2414
2588
|
size: e.number()
|
|
2415
|
-
}),
|
|
2416
|
-
body_text:
|
|
2417
|
-
buttons_text:
|
|
2589
|
+
}), Lo = e.object({
|
|
2590
|
+
body_text: m,
|
|
2591
|
+
buttons_text: m,
|
|
2418
2592
|
font_url: e.string(),
|
|
2419
|
-
input_labels:
|
|
2420
|
-
links:
|
|
2593
|
+
input_labels: m,
|
|
2594
|
+
links: m,
|
|
2421
2595
|
links_style: e.enum(["normal", "underlined"]),
|
|
2422
2596
|
reference_text_size: e.number(),
|
|
2423
|
-
subtitle:
|
|
2424
|
-
title:
|
|
2425
|
-
}),
|
|
2597
|
+
subtitle: m,
|
|
2598
|
+
title: m
|
|
2599
|
+
}), Do = e.object({
|
|
2426
2600
|
background_color: e.string(),
|
|
2427
2601
|
background_image_url: e.string(),
|
|
2428
2602
|
page_layout: e.enum(["center", "left", "right"]),
|
|
@@ -2435,33 +2609,33 @@ const To = e.object({
|
|
|
2435
2609
|
* Optional for backwards compatibility; absent values mean "widget".
|
|
2436
2610
|
*/
|
|
2437
2611
|
logo_placement: e.enum(["widget", "chip", "none"]).optional()
|
|
2438
|
-
}),
|
|
2612
|
+
}), Fo = e.object({
|
|
2439
2613
|
header_text_alignment: e.enum(["center", "left", "right"]),
|
|
2440
2614
|
logo_height: e.number(),
|
|
2441
2615
|
logo_position: e.enum(["center", "left", "none", "right"]),
|
|
2442
2616
|
logo_url: e.string(),
|
|
2443
2617
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
2444
|
-
}),
|
|
2445
|
-
borders:
|
|
2446
|
-
colors:
|
|
2618
|
+
}), Uo = e.object({
|
|
2619
|
+
borders: yo,
|
|
2620
|
+
colors: Ro,
|
|
2447
2621
|
displayName: e.string(),
|
|
2448
|
-
fonts:
|
|
2449
|
-
page_background:
|
|
2450
|
-
widget:
|
|
2451
|
-
}),
|
|
2622
|
+
fonts: Lo,
|
|
2623
|
+
page_background: Do,
|
|
2624
|
+
widget: Fo
|
|
2625
|
+
}), ei = Uo.extend({
|
|
2452
2626
|
themeId: e.string()
|
|
2453
|
-
}),
|
|
2627
|
+
}), ti = e.object({
|
|
2454
2628
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
2455
2629
|
identifier_first: e.boolean().default(!0),
|
|
2456
2630
|
password_first: e.boolean().default(!1),
|
|
2457
2631
|
webauthn_platform_first_factor: e.boolean()
|
|
2458
|
-
}),
|
|
2632
|
+
}), oi = e.object({
|
|
2459
2633
|
name: e.string(),
|
|
2460
2634
|
enabled: e.boolean().optional().default(!0),
|
|
2461
2635
|
default_from_address: e.string().optional(),
|
|
2462
2636
|
credentials: e.record(e.string(), e.unknown()),
|
|
2463
2637
|
settings: e.object({}).optional()
|
|
2464
|
-
}),
|
|
2638
|
+
}), wo = e.enum([
|
|
2465
2639
|
"verify_email",
|
|
2466
2640
|
"verify_email_by_code",
|
|
2467
2641
|
"reset_email",
|
|
@@ -2474,8 +2648,8 @@ const To = e.object({
|
|
|
2474
2648
|
"change_password",
|
|
2475
2649
|
"password_reset",
|
|
2476
2650
|
"user_invitation"
|
|
2477
|
-
]),
|
|
2478
|
-
template:
|
|
2651
|
+
]), ni = e.object({
|
|
2652
|
+
template: wo,
|
|
2479
2653
|
body: e.string(),
|
|
2480
2654
|
from: e.string(),
|
|
2481
2655
|
subject: e.string(),
|
|
@@ -2484,7 +2658,7 @@ const To = e.object({
|
|
|
2484
2658
|
urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
|
|
2485
2659
|
includeEmailInRedirect: e.boolean().default(!1),
|
|
2486
2660
|
enabled: e.boolean().default(!0)
|
|
2487
|
-
}),
|
|
2661
|
+
}), ko = e.object({
|
|
2488
2662
|
// Internal primary key (ULID). Never sent to clients in the new wire format.
|
|
2489
2663
|
id: e.string(),
|
|
2490
2664
|
// Link to the login session
|
|
@@ -2497,7 +2671,7 @@ const To = e.object({
|
|
|
2497
2671
|
idle_expires_at: e.string().optional(),
|
|
2498
2672
|
// When the token was last used.
|
|
2499
2673
|
last_exchanged_at: e.string().optional(),
|
|
2500
|
-
device:
|
|
2674
|
+
device: z,
|
|
2501
2675
|
resource_servers: e.array(
|
|
2502
2676
|
e.object({
|
|
2503
2677
|
audience: e.string(),
|
|
@@ -2518,23 +2692,23 @@ const To = e.object({
|
|
|
2518
2692
|
// ISO of the *first* rotation. Anchors the leeway window so siblings minted
|
|
2519
2693
|
// within the window don't extend the parent's exposure.
|
|
2520
2694
|
rotated_at: e.string().optional()
|
|
2521
|
-
}),
|
|
2695
|
+
}), ii = e.object({
|
|
2522
2696
|
// When the refresh token record was created.
|
|
2523
2697
|
created_at: e.string(),
|
|
2524
2698
|
// When the token was explicitly revoked (null = still active).
|
|
2525
2699
|
revoked_at: e.string().optional(),
|
|
2526
2700
|
// Spread in the rest of the refresh token properties.
|
|
2527
|
-
...
|
|
2528
|
-
}),
|
|
2701
|
+
...ko.shape
|
|
2702
|
+
}), ai = e.object({
|
|
2529
2703
|
to: e.string(),
|
|
2530
2704
|
message: e.string()
|
|
2531
|
-
}),
|
|
2705
|
+
}), si = e.object({
|
|
2532
2706
|
name: e.string(),
|
|
2533
2707
|
options: e.object({})
|
|
2534
|
-
}),
|
|
2708
|
+
}), jo = e.object({
|
|
2535
2709
|
value: e.string(),
|
|
2536
2710
|
description: e.string().optional()
|
|
2537
|
-
}),
|
|
2711
|
+
}), Mo = e.object({
|
|
2538
2712
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
2539
2713
|
enforce_policies: e.boolean().optional(),
|
|
2540
2714
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -2544,11 +2718,11 @@ const To = e.object({
|
|
|
2544
2718
|
mtls: e.object({
|
|
2545
2719
|
bound_access_tokens: e.boolean().optional()
|
|
2546
2720
|
}).optional()
|
|
2547
|
-
}),
|
|
2721
|
+
}), Po = e.object({
|
|
2548
2722
|
id: e.string().optional(),
|
|
2549
2723
|
name: e.string(),
|
|
2550
2724
|
identifier: e.string(),
|
|
2551
|
-
scopes: e.array(
|
|
2725
|
+
scopes: e.array(jo).optional(),
|
|
2552
2726
|
signing_alg: e.string().optional(),
|
|
2553
2727
|
signing_secret: e.string().optional(),
|
|
2554
2728
|
token_lifetime: e.number().default(86400),
|
|
@@ -2556,30 +2730,30 @@ const To = e.object({
|
|
|
2556
2730
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
2557
2731
|
allow_offline_access: e.boolean().optional(),
|
|
2558
2732
|
verificationKey: e.string().optional(),
|
|
2559
|
-
options:
|
|
2733
|
+
options: Mo.optional(),
|
|
2560
2734
|
is_system: e.boolean().optional(),
|
|
2561
2735
|
metadata: e.record(e.any()).optional()
|
|
2562
|
-
}),
|
|
2563
|
-
...
|
|
2736
|
+
}), vo = e.object({
|
|
2737
|
+
...Po.shape,
|
|
2564
2738
|
created_at: e.string().optional(),
|
|
2565
2739
|
updated_at: e.string().optional()
|
|
2566
|
-
}),
|
|
2740
|
+
}), ri = e.array(vo), xo = e.object({
|
|
2567
2741
|
role_id: e.string(),
|
|
2568
2742
|
resource_server_identifier: e.string(),
|
|
2569
2743
|
permission_name: e.string()
|
|
2570
|
-
}),
|
|
2571
|
-
...
|
|
2744
|
+
}), Ho = e.object({
|
|
2745
|
+
...xo.shape,
|
|
2572
2746
|
created_at: e.string()
|
|
2573
|
-
}),
|
|
2747
|
+
}), li = e.array(Ho), Go = e.object({
|
|
2574
2748
|
user_id: e.string(),
|
|
2575
2749
|
resource_server_identifier: e.string(),
|
|
2576
2750
|
permission_name: e.string(),
|
|
2577
2751
|
organization_id: e.string().optional()
|
|
2578
|
-
}),
|
|
2579
|
-
...
|
|
2752
|
+
}), Wo = e.object({
|
|
2753
|
+
...Go.shape,
|
|
2580
2754
|
tenant_id: e.string(),
|
|
2581
2755
|
created_at: e.string().optional()
|
|
2582
|
-
}),
|
|
2756
|
+
}), ci = e.array(Wo), Bo = e.object({
|
|
2583
2757
|
user_id: e.string(),
|
|
2584
2758
|
resource_server_identifier: e.string(),
|
|
2585
2759
|
resource_server_name: e.string(),
|
|
@@ -2587,17 +2761,17 @@ const To = e.object({
|
|
|
2587
2761
|
description: e.string().nullable().optional(),
|
|
2588
2762
|
created_at: e.string().optional(),
|
|
2589
2763
|
organization_id: e.string().optional()
|
|
2590
|
-
}),
|
|
2591
|
-
|
|
2592
|
-
),
|
|
2764
|
+
}), pi = e.array(
|
|
2765
|
+
Bo
|
|
2766
|
+
), Ko = e.object({
|
|
2593
2767
|
user_id: e.string(),
|
|
2594
2768
|
role_id: e.string(),
|
|
2595
2769
|
organization_id: e.string().optional()
|
|
2596
|
-
}),
|
|
2597
|
-
...
|
|
2770
|
+
}), Vo = e.object({
|
|
2771
|
+
...Ko.shape,
|
|
2598
2772
|
tenant_id: e.string(),
|
|
2599
2773
|
created_at: e.string().optional()
|
|
2600
|
-
}),
|
|
2774
|
+
}), _i = e.array(Vo), Xo = e.object({
|
|
2601
2775
|
id: e.string().optional().openapi({
|
|
2602
2776
|
description: "The unique identifier of the role. If not provided, one will be generated."
|
|
2603
2777
|
}),
|
|
@@ -2611,13 +2785,13 @@ const To = e.object({
|
|
|
2611
2785
|
metadata: e.record(e.any()).optional().openapi({
|
|
2612
2786
|
description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
|
|
2613
2787
|
})
|
|
2614
|
-
}),
|
|
2788
|
+
}), qo = Xo.extend({
|
|
2615
2789
|
id: e.string().openapi({
|
|
2616
2790
|
description: "The unique identifier of the role"
|
|
2617
2791
|
}),
|
|
2618
2792
|
created_at: e.string().optional(),
|
|
2619
2793
|
updated_at: e.string().optional()
|
|
2620
|
-
}),
|
|
2794
|
+
}), di = e.array(qo), zo = e.object({
|
|
2621
2795
|
logo_url: e.string().optional().openapi({
|
|
2622
2796
|
description: "URL of the organization's logo"
|
|
2623
2797
|
}),
|
|
@@ -2629,7 +2803,7 @@ const To = e.object({
|
|
|
2629
2803
|
description: "Page background color in hex format (e.g., #FFFFFF)"
|
|
2630
2804
|
})
|
|
2631
2805
|
}).optional()
|
|
2632
|
-
}).optional(),
|
|
2806
|
+
}).optional(), Yo = e.object({
|
|
2633
2807
|
connection_id: e.string().openapi({
|
|
2634
2808
|
description: "ID of the connection"
|
|
2635
2809
|
}),
|
|
@@ -2642,7 +2816,7 @@ const To = e.object({
|
|
|
2642
2816
|
is_signup_enabled: e.boolean().default(!0).openapi({
|
|
2643
2817
|
description: "Whether signup is enabled for this connection"
|
|
2644
2818
|
})
|
|
2645
|
-
}),
|
|
2819
|
+
}), Qo = e.object({
|
|
2646
2820
|
client_credentials: e.object({
|
|
2647
2821
|
enforce: e.boolean().default(!1).openapi({
|
|
2648
2822
|
description: "Whether to enforce token quota limits"
|
|
@@ -2654,7 +2828,7 @@ const To = e.object({
|
|
|
2654
2828
|
description: "Maximum tokens per hour (0 = unlimited)"
|
|
2655
2829
|
})
|
|
2656
2830
|
}).optional()
|
|
2657
|
-
}).optional(),
|
|
2831
|
+
}).optional(), Zo = e.object({
|
|
2658
2832
|
id: e.string().optional(),
|
|
2659
2833
|
name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
|
|
2660
2834
|
message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
|
|
@@ -2664,31 +2838,31 @@ const To = e.object({
|
|
|
2664
2838
|
display_name: e.string().optional().openapi({
|
|
2665
2839
|
description: "The display name of the organization"
|
|
2666
2840
|
}),
|
|
2667
|
-
branding:
|
|
2841
|
+
branding: zo,
|
|
2668
2842
|
metadata: e.record(e.any()).default({}).optional().openapi({
|
|
2669
2843
|
description: "Custom metadata for the organization"
|
|
2670
2844
|
}),
|
|
2671
|
-
enabled_connections: e.array(
|
|
2845
|
+
enabled_connections: e.array(Yo).default([]).optional().openapi({
|
|
2672
2846
|
description: "List of enabled connections for the organization"
|
|
2673
2847
|
}),
|
|
2674
|
-
token_quota:
|
|
2675
|
-
}),
|
|
2676
|
-
...
|
|
2677
|
-
...
|
|
2848
|
+
token_quota: Qo
|
|
2849
|
+
}), gi = e.object({
|
|
2850
|
+
...Zo.shape,
|
|
2851
|
+
...s.shape,
|
|
2678
2852
|
id: e.string(),
|
|
2679
2853
|
// Override name to be lenient when reading from database (to support existing uppercase names)
|
|
2680
2854
|
name: e.string().min(1).openapi({
|
|
2681
2855
|
description: "The name of the organization"
|
|
2682
2856
|
})
|
|
2683
|
-
}),
|
|
2857
|
+
}), Jo = e.object({
|
|
2684
2858
|
connection_id: e.string().openapi({
|
|
2685
2859
|
description: "ID of the tenant-level connection to enable for the org."
|
|
2686
2860
|
}),
|
|
2687
2861
|
assign_membership_on_login: e.boolean().optional().default(!1),
|
|
2688
2862
|
show_as_button: e.boolean().optional().default(!0),
|
|
2689
2863
|
is_signup_enabled: e.boolean().optional().default(!0)
|
|
2690
|
-
}),
|
|
2691
|
-
...
|
|
2864
|
+
}), $o = e.object({
|
|
2865
|
+
...Jo.shape,
|
|
2692
2866
|
// Auth0 includes the embedded connection in GET responses.
|
|
2693
2867
|
connection: e.object({
|
|
2694
2868
|
name: e.string().optional(),
|
|
@@ -2696,20 +2870,20 @@ const To = e.object({
|
|
|
2696
2870
|
}).optional(),
|
|
2697
2871
|
created_at: e.string().optional(),
|
|
2698
2872
|
updated_at: e.string().optional()
|
|
2699
|
-
}),
|
|
2700
|
-
|
|
2701
|
-
),
|
|
2873
|
+
}), ui = e.array(
|
|
2874
|
+
$o
|
|
2875
|
+
), en = e.object({
|
|
2702
2876
|
user_id: e.string().openapi({
|
|
2703
2877
|
description: "ID of the user"
|
|
2704
2878
|
}),
|
|
2705
2879
|
organization_id: e.string().openapi({
|
|
2706
2880
|
description: "ID of the organization"
|
|
2707
2881
|
})
|
|
2708
|
-
}),
|
|
2709
|
-
|
|
2710
|
-
...
|
|
2882
|
+
}), mi = e.object({
|
|
2883
|
+
...en.shape,
|
|
2884
|
+
...s.shape,
|
|
2711
2885
|
id: e.string()
|
|
2712
|
-
}),
|
|
2886
|
+
}), Ei = e.object({
|
|
2713
2887
|
// Session settings
|
|
2714
2888
|
idle_session_lifetime: e.number().default(72),
|
|
2715
2889
|
session_lifetime: e.number().default(168),
|
|
@@ -2809,7 +2983,7 @@ const To = e.object({
|
|
|
2809
2983
|
message: e.string().optional()
|
|
2810
2984
|
}).optional()
|
|
2811
2985
|
}).optional()
|
|
2812
|
-
}),
|
|
2986
|
+
}), Si = e.object({
|
|
2813
2987
|
date: e.string().openapi({
|
|
2814
2988
|
description: "Date these events occurred in ISO 8601 format",
|
|
2815
2989
|
example: "2025-12-19"
|
|
@@ -2834,40 +3008,40 @@ const To = e.object({
|
|
|
2834
3008
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2835
3009
|
example: "2025-12-19T00:00:00.000Z"
|
|
2836
3010
|
})
|
|
2837
|
-
}),
|
|
3011
|
+
}), hi = e.number().openapi({
|
|
2838
3012
|
description: "Number of active users in the last 30 days",
|
|
2839
3013
|
example: 1234
|
|
2840
|
-
}),
|
|
3014
|
+
}), bi = e.enum([
|
|
2841
3015
|
"active-users",
|
|
2842
3016
|
"logins",
|
|
2843
3017
|
"signups",
|
|
2844
3018
|
"refresh-tokens",
|
|
2845
3019
|
"sessions"
|
|
2846
|
-
]),
|
|
3020
|
+
]), Ai = e.enum(["hour", "day", "week", "month"]), fi = e.enum([
|
|
2847
3021
|
"time",
|
|
2848
3022
|
"connection",
|
|
2849
3023
|
"client_id",
|
|
2850
3024
|
"user_type",
|
|
2851
3025
|
"event"
|
|
2852
|
-
]),
|
|
3026
|
+
]), Ci = e.enum([
|
|
2853
3027
|
"password",
|
|
2854
3028
|
"social",
|
|
2855
3029
|
"passwordless",
|
|
2856
3030
|
"enterprise"
|
|
2857
|
-
]),
|
|
3031
|
+
]), tn = e.object({
|
|
2858
3032
|
name: e.string(),
|
|
2859
3033
|
type: e.string()
|
|
2860
|
-
}),
|
|
3034
|
+
}), on = e.object({
|
|
2861
3035
|
elapsed: e.number(),
|
|
2862
3036
|
rows_read: e.number().optional(),
|
|
2863
3037
|
bytes_read: e.number().optional()
|
|
2864
|
-
}),
|
|
2865
|
-
meta: e.array(
|
|
3038
|
+
}), Ii = e.object({
|
|
3039
|
+
meta: e.array(tn),
|
|
2866
3040
|
data: e.array(e.record(e.string(), e.any())),
|
|
2867
3041
|
rows: e.number(),
|
|
2868
3042
|
rows_before_limit_at_least: e.number().optional(),
|
|
2869
|
-
statistics:
|
|
2870
|
-
}),
|
|
3043
|
+
statistics: on.optional()
|
|
3044
|
+
}), nn = e.enum([
|
|
2871
3045
|
"login",
|
|
2872
3046
|
"login-id",
|
|
2873
3047
|
"login-password",
|
|
@@ -2896,17 +3070,17 @@ const To = e.object({
|
|
|
2896
3070
|
"custom-form",
|
|
2897
3071
|
"login-passwordless",
|
|
2898
3072
|
"mfa-login-options"
|
|
2899
|
-
]),
|
|
3073
|
+
]), an = e.record(e.string(), e.record(e.string(), e.string())).openapi({
|
|
2900
3074
|
type: "object",
|
|
2901
3075
|
additionalProperties: {
|
|
2902
3076
|
type: "object",
|
|
2903
3077
|
additionalProperties: { type: "string" }
|
|
2904
3078
|
}
|
|
2905
|
-
}),
|
|
2906
|
-
prompt:
|
|
3079
|
+
}), Oi = e.object({
|
|
3080
|
+
prompt: nn,
|
|
2907
3081
|
language: e.string(),
|
|
2908
|
-
custom_text:
|
|
2909
|
-
}),
|
|
3082
|
+
custom_text: an
|
|
3083
|
+
}), Ti = {
|
|
2910
3084
|
EMAIL: "email",
|
|
2911
3085
|
SMS: "sms",
|
|
2912
3086
|
USERNAME_PASSWORD: "Username-Password-Authentication",
|
|
@@ -2921,11 +3095,11 @@ const To = e.object({
|
|
|
2921
3095
|
SAMLP: "samlp",
|
|
2922
3096
|
WAAD: "waad",
|
|
2923
3097
|
ADFS: "adfs"
|
|
2924
|
-
},
|
|
3098
|
+
}, Ni = {
|
|
2925
3099
|
DATABASE: "database",
|
|
2926
3100
|
SOCIAL: "social",
|
|
2927
3101
|
PASSWORDLESS: "passwordless"
|
|
2928
|
-
},
|
|
3102
|
+
}, sn = e.enum([
|
|
2929
3103
|
"phone",
|
|
2930
3104
|
"totp",
|
|
2931
3105
|
"email",
|
|
@@ -2933,9 +3107,9 @@ const To = e.object({
|
|
|
2933
3107
|
"webauthn-roaming",
|
|
2934
3108
|
"webauthn-platform",
|
|
2935
3109
|
"passkey"
|
|
2936
|
-
]),
|
|
3110
|
+
]), Y = e.object({
|
|
2937
3111
|
user_id: e.string(),
|
|
2938
|
-
type:
|
|
3112
|
+
type: sn,
|
|
2939
3113
|
// Phone-specific
|
|
2940
3114
|
phone_number: e.string().optional(),
|
|
2941
3115
|
// TOTP-specific
|
|
@@ -2950,327 +3124,331 @@ const To = e.object({
|
|
|
2950
3124
|
// Common
|
|
2951
3125
|
confirmed: e.boolean().default(!1)
|
|
2952
3126
|
});
|
|
2953
|
-
function
|
|
2954
|
-
|
|
3127
|
+
function Q(o, n) {
|
|
3128
|
+
o.type === "phone" && !o.phone_number && n.addIssue({
|
|
2955
3129
|
code: e.ZodIssueCode.custom,
|
|
2956
3130
|
message: "phone_number is required when type is 'phone'",
|
|
2957
3131
|
path: ["phone_number"]
|
|
2958
|
-
}),
|
|
3132
|
+
}), o.type === "totp" && !o.totp_secret && n.addIssue({
|
|
2959
3133
|
code: e.ZodIssueCode.custom,
|
|
2960
3134
|
message: "totp_secret is required when type is 'totp'",
|
|
2961
3135
|
path: ["totp_secret"]
|
|
2962
|
-
}), ["webauthn-roaming", "webauthn-platform", "passkey"].includes(
|
|
3136
|
+
}), ["webauthn-roaming", "webauthn-platform", "passkey"].includes(o.type) && (o.credential_id || n.addIssue({
|
|
2963
3137
|
code: e.ZodIssueCode.custom,
|
|
2964
|
-
message: `credential_id is required when type is '${
|
|
3138
|
+
message: `credential_id is required when type is '${o.type}'`,
|
|
2965
3139
|
path: ["credential_id"]
|
|
2966
|
-
}),
|
|
3140
|
+
}), o.public_key || n.addIssue({
|
|
2967
3141
|
code: e.ZodIssueCode.custom,
|
|
2968
|
-
message: `public_key is required when type is '${
|
|
3142
|
+
message: `public_key is required when type is '${o.type}'`,
|
|
2969
3143
|
path: ["public_key"]
|
|
2970
3144
|
}));
|
|
2971
3145
|
}
|
|
2972
|
-
const
|
|
2973
|
-
...
|
|
3146
|
+
const yi = Y.superRefine(Q), Ri = e.object({
|
|
3147
|
+
...Y.shape,
|
|
2974
3148
|
id: e.string(),
|
|
2975
3149
|
created_at: e.string(),
|
|
2976
3150
|
updated_at: e.string()
|
|
2977
|
-
}).superRefine(
|
|
2978
|
-
function
|
|
2979
|
-
const [
|
|
2980
|
-
if (!
|
|
2981
|
-
throw new Error(`Invalid user_id: ${
|
|
2982
|
-
return { connection:
|
|
3151
|
+
}).superRefine(Q);
|
|
3152
|
+
function Li(o) {
|
|
3153
|
+
const [n, i] = o.split("|");
|
|
3154
|
+
if (!n || !i)
|
|
3155
|
+
throw new Error(`Invalid user_id: ${o}`);
|
|
3156
|
+
return { connection: n, id: i };
|
|
2983
3157
|
}
|
|
2984
|
-
function
|
|
3158
|
+
function Di(o) {
|
|
2985
3159
|
const {
|
|
2986
|
-
primary:
|
|
2987
|
-
secondaries:
|
|
2988
|
-
syncMethods:
|
|
2989
|
-
} =
|
|
2990
|
-
get(
|
|
2991
|
-
if (typeof
|
|
2992
|
-
return
|
|
2993
|
-
const d =
|
|
2994
|
-
return typeof d != "function" ? d :
|
|
2995
|
-
const
|
|
2996
|
-
for (const
|
|
2997
|
-
const
|
|
2998
|
-
if (typeof
|
|
3160
|
+
primary: n,
|
|
3161
|
+
secondaries: i,
|
|
3162
|
+
syncMethods: S = ["create", "rawCreate", "update", "remove", "delete", "set"]
|
|
3163
|
+
} = o, f = {
|
|
3164
|
+
get(_, r) {
|
|
3165
|
+
if (typeof r == "symbol")
|
|
3166
|
+
return _[r];
|
|
3167
|
+
const d = _[r];
|
|
3168
|
+
return typeof d != "function" ? d : S.includes(r) ? async (...g) => {
|
|
3169
|
+
const C = await d.apply(_, g), u = [];
|
|
3170
|
+
for (const l of i) {
|
|
3171
|
+
const h = l.adapter[r];
|
|
3172
|
+
if (typeof h != "function")
|
|
2999
3173
|
continue;
|
|
3000
|
-
const
|
|
3174
|
+
const I = (async () => {
|
|
3001
3175
|
try {
|
|
3002
|
-
await
|
|
3003
|
-
} catch (
|
|
3176
|
+
await h.apply(l.adapter, g);
|
|
3177
|
+
} catch (b) {
|
|
3004
3178
|
try {
|
|
3005
|
-
|
|
3006
|
-
`Passthrough adapter: secondary write failed for ${
|
|
3007
|
-
|
|
3179
|
+
l.onError ? l.onError(b, r, g) : console.error(
|
|
3180
|
+
`Passthrough adapter: secondary write failed for ${r}:`,
|
|
3181
|
+
b
|
|
3008
3182
|
);
|
|
3009
|
-
} catch (
|
|
3183
|
+
} catch (O) {
|
|
3010
3184
|
console.error(
|
|
3011
|
-
`Passthrough adapter: onError handler threw for ${
|
|
3012
|
-
|
|
3185
|
+
`Passthrough adapter: onError handler threw for ${r}:`,
|
|
3186
|
+
O
|
|
3013
3187
|
);
|
|
3014
3188
|
}
|
|
3015
3189
|
}
|
|
3016
3190
|
})();
|
|
3017
|
-
|
|
3191
|
+
l.blocking && u.push(I);
|
|
3018
3192
|
}
|
|
3019
|
-
return
|
|
3020
|
-
} : d.bind(
|
|
3193
|
+
return u.length > 0 && await Promise.all(u), C;
|
|
3194
|
+
} : d.bind(_);
|
|
3021
3195
|
}
|
|
3022
3196
|
};
|
|
3023
|
-
return new Proxy(
|
|
3197
|
+
return new Proxy(n, f);
|
|
3024
3198
|
}
|
|
3025
|
-
function
|
|
3026
|
-
return
|
|
3199
|
+
function Fi(o) {
|
|
3200
|
+
return o;
|
|
3027
3201
|
}
|
|
3028
|
-
function
|
|
3029
|
-
var
|
|
3030
|
-
const
|
|
3031
|
-
if (!
|
|
3202
|
+
function Ui(o) {
|
|
3203
|
+
var f, _, r, d, g, C, u, l, h, I, b, O;
|
|
3204
|
+
const n = o == null ? void 0 : o.options;
|
|
3205
|
+
if (!n)
|
|
3032
3206
|
return {
|
|
3033
3207
|
usernameIdentifierActive: !1,
|
|
3034
3208
|
emailIdentifierActive: !0,
|
|
3035
3209
|
usernameMinLength: 1,
|
|
3036
3210
|
usernameMaxLength: 15
|
|
3037
3211
|
};
|
|
3038
|
-
const
|
|
3039
|
-
if (
|
|
3040
|
-
const Z = ((
|
|
3212
|
+
const i = n.attributes;
|
|
3213
|
+
if (i) {
|
|
3214
|
+
const Z = ((_ = (f = i.username) == null ? void 0 : f.identifier) == null ? void 0 : _.active) === !0, J = ((d = (r = i.email) == null ? void 0 : r.identifier) == null ? void 0 : d.active) !== !1, $ = ((C = (g = i.username) == null ? void 0 : g.validation) == null ? void 0 : C.min_length) ?? 1, ee = ((l = (u = i.username) == null ? void 0 : u.validation) == null ? void 0 : l.max_length) ?? 15;
|
|
3041
3215
|
return {
|
|
3042
3216
|
usernameIdentifierActive: Z,
|
|
3043
|
-
emailIdentifierActive:
|
|
3217
|
+
emailIdentifierActive: J,
|
|
3044
3218
|
usernameMinLength: $,
|
|
3045
|
-
usernameMaxLength:
|
|
3219
|
+
usernameMaxLength: ee
|
|
3046
3220
|
};
|
|
3047
3221
|
}
|
|
3048
3222
|
return {
|
|
3049
|
-
usernameIdentifierActive:
|
|
3223
|
+
usernameIdentifierActive: n.requires_username === !0,
|
|
3050
3224
|
emailIdentifierActive: !0,
|
|
3051
|
-
usernameMinLength: ((
|
|
3052
|
-
usernameMaxLength: ((
|
|
3225
|
+
usernameMinLength: ((I = (h = n.validation) == null ? void 0 : h.username) == null ? void 0 : I.min) ?? 1,
|
|
3226
|
+
usernameMaxLength: ((O = (b = n.validation) == null ? void 0 : b.username) == null ? void 0 : O.max) ?? 15
|
|
3053
3227
|
};
|
|
3054
3228
|
}
|
|
3055
|
-
function
|
|
3056
|
-
return typeof
|
|
3229
|
+
function wi(o) {
|
|
3230
|
+
return typeof o == "object" && o !== null && !Array.isArray(o);
|
|
3057
3231
|
}
|
|
3058
3232
|
export {
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3233
|
+
un as Auth0ActionEnum,
|
|
3234
|
+
co as Auth0Client,
|
|
3235
|
+
v as AuthorizationResponseMode,
|
|
3236
|
+
P as AuthorizationResponseType,
|
|
3237
|
+
x as CodeChallengeMethod,
|
|
3238
|
+
M as ComponentCategory,
|
|
3239
|
+
j as ComponentType,
|
|
3240
|
+
mn as EmailActionEnum,
|
|
3241
|
+
Ln as FORM_FIELD_TYPES,
|
|
3242
|
+
gn as FlowActionTypeEnum,
|
|
3243
|
+
No as GrantType,
|
|
3244
|
+
po as LocationInfo,
|
|
3245
|
+
t as LogTypes,
|
|
3246
|
+
X as LoginSessionState,
|
|
3247
|
+
We as NodeType,
|
|
3248
|
+
Ae as RedirectTargetEnum,
|
|
3249
|
+
Ti as Strategy,
|
|
3250
|
+
Ni as StrategyType,
|
|
3251
|
+
F as actionDependencySchema,
|
|
3252
|
+
ne as actionExecutionErrorSchema,
|
|
3253
|
+
pn as actionExecutionInsertSchema,
|
|
3254
|
+
ae as actionExecutionLogEntrySchema,
|
|
3255
|
+
se as actionExecutionLogsSchema,
|
|
3256
|
+
ie as actionExecutionResultSchema,
|
|
3257
|
+
re as actionExecutionSchema,
|
|
3258
|
+
oe as actionExecutionStatusSchema,
|
|
3259
|
+
te as actionExecutionTriggerIdSchema,
|
|
3260
|
+
w as actionInsertSchema,
|
|
3261
|
+
Ve as actionNodeSchema,
|
|
3262
|
+
cn as actionSchema,
|
|
3263
|
+
U as actionSecretSchema,
|
|
3264
|
+
D as actionTriggerSchema,
|
|
3265
|
+
ln as actionUpdateSchema,
|
|
3266
|
+
le as actionVersionInsertSchema,
|
|
3267
|
+
_n as actionVersionSchema,
|
|
3268
|
+
hi as activeUsersResponseSchema,
|
|
3269
|
+
pe as actorSchema,
|
|
3270
|
+
Ne as addressSchema,
|
|
3271
|
+
tn as analyticsColumnMetaSchema,
|
|
3272
|
+
fi as analyticsGroupBySchema,
|
|
3273
|
+
Ai as analyticsIntervalSchema,
|
|
3274
|
+
Ii as analyticsQueryResponseSchema,
|
|
3275
|
+
bi as analyticsResourceSchema,
|
|
3276
|
+
on as analyticsStatisticsSchema,
|
|
3277
|
+
Ci as analyticsUserTypeSchema,
|
|
3278
|
+
Co as attackProtectionSchema,
|
|
3279
|
+
ce as auditCategorySchema,
|
|
3280
|
+
Ee as auditEventInsertSchema,
|
|
3281
|
+
dn as auditEventSchema,
|
|
3282
|
+
me as auth0ClientSchema,
|
|
3283
|
+
On as auth0FlowInsertSchema,
|
|
3284
|
+
Qe as auth0FlowSchema,
|
|
3285
|
+
Sn as auth0QuerySchema,
|
|
3286
|
+
he as auth0UpdateUserActionSchema,
|
|
3113
3287
|
bn as auth0UserResponseSchema,
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3288
|
+
Je as authParamsSchema,
|
|
3289
|
+
yi as authenticationMethodInsertSchema,
|
|
3290
|
+
Ri as authenticationMethodSchema,
|
|
3291
|
+
sn as authenticationMethodTypeSchema,
|
|
3292
|
+
k as baseUserSchema,
|
|
3293
|
+
kt as blockComponentSchema,
|
|
3294
|
+
yo as bordersSchema,
|
|
3295
|
+
Tn as brandingSchema,
|
|
3122
3296
|
bo as breachedPasswordDetectionSchema,
|
|
3123
|
-
|
|
3124
|
-
|
|
3297
|
+
Ao as bruteForceProtectionSchema,
|
|
3298
|
+
Pe as buttonComponentSchema,
|
|
3125
3299
|
Ze as claimsRequestSchema,
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3300
|
+
Ue as clientGrantInsertSchema,
|
|
3301
|
+
Cn as clientGrantListSchema,
|
|
3302
|
+
we as clientGrantSchema,
|
|
3303
|
+
Fe as clientInsertSchema,
|
|
3304
|
+
je as clientRegistrationTokenInsertSchema,
|
|
3305
|
+
In as clientRegistrationTokenSchema,
|
|
3306
|
+
ke as clientRegistrationTokenTypeSchema,
|
|
3307
|
+
fn as clientSchema,
|
|
3308
|
+
et as codeInsertSchema,
|
|
3309
|
+
Nn as codeSchema,
|
|
3136
3310
|
$e as codeTypeSchema,
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3311
|
+
Ro as colorsSchema,
|
|
3312
|
+
Wt as componentMessageSchema,
|
|
3313
|
+
Ge as componentSchema,
|
|
3314
|
+
ot as connectionInsertSchema,
|
|
3315
|
+
tt as connectionOptionsSchema,
|
|
3316
|
+
yn as connectionSchema,
|
|
3317
|
+
E as coordinatesSchema,
|
|
3318
|
+
Di as createPassthroughAdapter,
|
|
3319
|
+
Fi as createWriteOnlyAdapter,
|
|
3320
|
+
nt as customDomainInsertSchema,
|
|
3321
|
+
at as customDomainSchema,
|
|
3322
|
+
Rn as customDomainWithTenantIdSchema,
|
|
3323
|
+
Oi as customTextEntrySchema,
|
|
3324
|
+
an as customTextSchema,
|
|
3325
|
+
Si as dailyStatsSchema,
|
|
3326
|
+
oi as emailProviderSchema,
|
|
3327
|
+
wo as emailTemplateNameSchema,
|
|
3328
|
+
ni as emailTemplateSchema,
|
|
3329
|
+
Se as emailVerificationRulesSchema,
|
|
3330
|
+
be as emailVerifyActionSchema,
|
|
3331
|
+
Ye as endingSchema,
|
|
3332
|
+
Mt as fieldComponentSchema,
|
|
3333
|
+
Ce as flowActionStepSchema,
|
|
3334
|
+
Ie as flowInsertSchema,
|
|
3335
|
+
En as flowSchema,
|
|
3336
|
+
xe as flowsFieldComponentSchema,
|
|
3337
|
+
Ke as flowsFlowNodeSchema,
|
|
3164
3338
|
Be as flowsStepNodeSchema,
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3339
|
+
m as fontDetailsSchema,
|
|
3340
|
+
Lo as fontsSchema,
|
|
3341
|
+
Dn as formControlSchema,
|
|
3342
|
+
Gt as formInsertSchema,
|
|
3343
|
+
H as formNodeComponentDefinition,
|
|
3344
|
+
Ht as formNodeSchema,
|
|
3345
|
+
Fn as formSchema,
|
|
3346
|
+
He as genericComponentSchema,
|
|
3347
|
+
Xe as genericNodeSchema,
|
|
3348
|
+
Ui as getConnectionIdentifierConfig,
|
|
3349
|
+
Vn as getLogTypeCategory,
|
|
3350
|
+
Kn as getLogTypeDescription,
|
|
3351
|
+
Jt as hookCodeInsertSchema,
|
|
3352
|
+
xn as hookCodeSchema,
|
|
3353
|
+
Pn as hookInsertSchema,
|
|
3354
|
+
vn as hookSchema,
|
|
3355
|
+
V as hookTemplateId,
|
|
3356
|
+
Mn as hookTemplates,
|
|
3357
|
+
Te as identitySchema,
|
|
3358
|
+
to as inviteInsertSchema,
|
|
3359
|
+
Hn as inviteSchema,
|
|
3360
|
+
eo as inviteeSchema,
|
|
3185
3361
|
$t as inviterSchema,
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3362
|
+
wn as isBlockComponent,
|
|
3363
|
+
jn as isFieldComponent,
|
|
3364
|
+
wi as isPlainObject,
|
|
3365
|
+
kn as isWidgetComponent,
|
|
3366
|
+
Gn as jwksKeySchema,
|
|
3367
|
+
oo as jwksSchema,
|
|
3368
|
+
ve as legalComponentSchema,
|
|
3369
|
+
ue as locationInfoSchema,
|
|
3370
|
+
_o as logInsertSchema,
|
|
3371
|
+
Xn as logSchema,
|
|
3372
|
+
uo as logStreamFilterSchema,
|
|
3373
|
+
mo as logStreamInsertSchema,
|
|
3374
|
+
qn as logStreamSchema,
|
|
3199
3375
|
q as logStreamStatusSchema,
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3376
|
+
go as logStreamTypeSchema,
|
|
3377
|
+
lo as logTypeCategories,
|
|
3378
|
+
ro as logTypeDescriptions,
|
|
3379
|
+
io as loginSessionAuthStrategySchema,
|
|
3380
|
+
ao as loginSessionInsertSchema,
|
|
3381
|
+
Bn as loginSessionSchema,
|
|
3382
|
+
no as loginSessionStateSchema,
|
|
3383
|
+
Eo as migrationProviderTypeSchema,
|
|
3384
|
+
So as migrationSourceCredentialsSchema,
|
|
3207
3385
|
ho as migrationSourceInsertSchema,
|
|
3208
|
-
|
|
3386
|
+
zn as migrationSourceSchema,
|
|
3209
3387
|
qe as nodeSchema,
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3388
|
+
Wn as openIDConfigurationSchema,
|
|
3389
|
+
zo as organizationBrandingSchema,
|
|
3390
|
+
Jo as organizationConnectionInsertSchema,
|
|
3391
|
+
ui as organizationConnectionListSchema,
|
|
3392
|
+
$o as organizationConnectionSchema,
|
|
3393
|
+
Yo as organizationEnabledConnectionSchema,
|
|
3394
|
+
Zo as organizationInsertSchema,
|
|
3395
|
+
gi as organizationSchema,
|
|
3396
|
+
Qo as organizationTokenQuotaSchema,
|
|
3397
|
+
Do as pageBackgroundSchema,
|
|
3398
|
+
Li as parseUserId,
|
|
3399
|
+
Io as passwordInsertSchema,
|
|
3400
|
+
Yn as passwordSchema,
|
|
3401
|
+
Oe as profileDataSchema,
|
|
3402
|
+
nn as promptScreenSchema,
|
|
3403
|
+
ti as promptSettingSchema,
|
|
3404
|
+
fe as redirectActionSchema,
|
|
3405
|
+
ko as refreshTokenInsertSchema,
|
|
3406
|
+
ii as refreshTokenSchema,
|
|
3229
3407
|
de as requestContextSchema,
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3408
|
+
Po as resourceServerInsertSchema,
|
|
3409
|
+
ri as resourceServerListSchema,
|
|
3410
|
+
Mo as resourceServerOptionsSchema,
|
|
3411
|
+
vo as resourceServerSchema,
|
|
3412
|
+
jo as resourceServerScopeSchema,
|
|
3413
|
+
ge as responseContextSchema,
|
|
3414
|
+
Me as richTextComponentSchema,
|
|
3415
|
+
Xo as roleInsertSchema,
|
|
3416
|
+
di as roleListSchema,
|
|
3417
|
+
xo as rolePermissionInsertSchema,
|
|
3418
|
+
li as rolePermissionListSchema,
|
|
3419
|
+
Ho as rolePermissionSchema,
|
|
3420
|
+
qo as roleSchema,
|
|
3243
3421
|
Bt as screenLinkSchema,
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3422
|
+
Oo as sessionInsertSchema,
|
|
3423
|
+
Qn as sessionSchema,
|
|
3424
|
+
Zn as signingKeySchema,
|
|
3425
|
+
si as smsProviderSchema,
|
|
3426
|
+
ai as smsSendParamsSchema,
|
|
3427
|
+
ze as startSchema,
|
|
3428
|
+
fo as suspiciousIpThrottlingSchema,
|
|
3429
|
+
_e as targetSchema,
|
|
3430
|
+
To as tenantInsertSchema,
|
|
3431
|
+
Jn as tenantSchema,
|
|
3432
|
+
Ei as tenantSettingsSchema,
|
|
3433
|
+
Uo as themeInsertSchema,
|
|
3434
|
+
ei as themeSchema,
|
|
3435
|
+
$n as tokenResponseSchema,
|
|
3258
3436
|
hn as totalsSchema,
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3437
|
+
Un as uiScreenSchema,
|
|
3438
|
+
ye as userInsertSchema,
|
|
3439
|
+
en as userOrganizationInsertSchema,
|
|
3440
|
+
mi as userOrganizationSchema,
|
|
3441
|
+
Go as userPermissionInsertSchema,
|
|
3442
|
+
ci as userPermissionListSchema,
|
|
3443
|
+
Wo as userPermissionSchema,
|
|
3444
|
+
pi as userPermissionWithDetailsListSchema,
|
|
3445
|
+
Bo as userPermissionWithDetailsSchema,
|
|
3446
|
+
An as userResponseSchema,
|
|
3447
|
+
Ko as userRoleInsertSchema,
|
|
3448
|
+
_i as userRoleListSchema,
|
|
3449
|
+
Vo as userRoleSchema,
|
|
3450
|
+
Re as userSchema,
|
|
3451
|
+
it as verificationMethodsSchema,
|
|
3452
|
+
jt as widgetComponentSchema,
|
|
3453
|
+
Fo as widgetSchema
|
|
3276
3454
|
};
|