@authhero/adapter-interfaces 3.9.0 → 3.10.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 +53 -2
- package/dist/adapter-interfaces.mjs +461 -429
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/types/auth0/Totals.d.ts +7 -0
- package/dist/types/utils/base64url.d.ts +22 -0
- package/dist/types/utils/cursor.d.ts +20 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -40,16 +40,16 @@ var t = e.object({
|
|
|
40
40
|
"partial",
|
|
41
41
|
"canceled",
|
|
42
42
|
"suspended"
|
|
43
|
-
]),
|
|
43
|
+
]), te = e.object({
|
|
44
44
|
id: e.string(),
|
|
45
45
|
msg: e.string(),
|
|
46
46
|
url: e.string().optional()
|
|
47
|
-
}),
|
|
47
|
+
}), ne = e.object({
|
|
48
48
|
action_name: e.string(),
|
|
49
|
-
error:
|
|
49
|
+
error: te.nullable(),
|
|
50
50
|
started_at: e.string(),
|
|
51
51
|
ended_at: e.string()
|
|
52
|
-
}),
|
|
52
|
+
}), re = e.object({
|
|
53
53
|
level: e.enum([
|
|
54
54
|
"log",
|
|
55
55
|
"info",
|
|
@@ -58,23 +58,23 @@ var t = e.object({
|
|
|
58
58
|
"debug"
|
|
59
59
|
]),
|
|
60
60
|
message: e.string()
|
|
61
|
-
}),
|
|
61
|
+
}), ie = e.array(e.object({
|
|
62
62
|
action_name: e.string(),
|
|
63
|
-
lines: e.array(
|
|
64
|
-
})),
|
|
63
|
+
lines: e.array(re)
|
|
64
|
+
})), ae = e.object({
|
|
65
65
|
id: e.string(),
|
|
66
66
|
tenant_id: e.string(),
|
|
67
67
|
trigger_id: s,
|
|
68
68
|
status: c,
|
|
69
|
-
results: e.array(
|
|
70
|
-
logs:
|
|
69
|
+
results: e.array(ne),
|
|
70
|
+
logs: ie.optional(),
|
|
71
71
|
created_at: e.string(),
|
|
72
72
|
updated_at: e.string()
|
|
73
|
-
}),
|
|
73
|
+
}), oe = ae.omit({
|
|
74
74
|
tenant_id: !0,
|
|
75
75
|
created_at: !0,
|
|
76
76
|
updated_at: !0
|
|
77
|
-
}),
|
|
77
|
+
}), se = e.object({
|
|
78
78
|
action_id: e.string(),
|
|
79
79
|
code: e.string().max(1e5),
|
|
80
80
|
runtime: e.string().max(50).optional(),
|
|
@@ -82,16 +82,16 @@ var t = e.object({
|
|
|
82
82
|
secrets: e.array(i).optional(),
|
|
83
83
|
supported_triggers: e.array(n).optional(),
|
|
84
84
|
deployed: e.boolean().default(!0)
|
|
85
|
-
}),
|
|
85
|
+
}), ce = se.extend({
|
|
86
86
|
id: e.string(),
|
|
87
87
|
tenant_id: e.string(),
|
|
88
88
|
number: e.number().int()
|
|
89
|
-
}).extend(t.shape),
|
|
89
|
+
}).extend(t.shape), le = e.enum([
|
|
90
90
|
"user_action",
|
|
91
91
|
"admin_action",
|
|
92
92
|
"system",
|
|
93
93
|
"api"
|
|
94
|
-
]),
|
|
94
|
+
]), ue = e.object({
|
|
95
95
|
type: e.enum([
|
|
96
96
|
"user",
|
|
97
97
|
"admin",
|
|
@@ -105,7 +105,7 @@ var t = e.object({
|
|
|
105
105
|
org_name: e.string().optional(),
|
|
106
106
|
scopes: e.array(e.string()).optional(),
|
|
107
107
|
client_id: e.string().optional()
|
|
108
|
-
}),
|
|
108
|
+
}), de = e.object({
|
|
109
109
|
type: e.string(),
|
|
110
110
|
id: e.string(),
|
|
111
111
|
before: e.record(e.string(), e.unknown()).optional(),
|
|
@@ -114,7 +114,7 @@ var t = e.object({
|
|
|
114
114
|
old: e.unknown(),
|
|
115
115
|
new: e.unknown()
|
|
116
116
|
})).optional()
|
|
117
|
-
}),
|
|
117
|
+
}), fe = e.object({
|
|
118
118
|
method: e.string(),
|
|
119
119
|
path: e.string(),
|
|
120
120
|
query: e.record(e.string(), e.string()).optional(),
|
|
@@ -122,30 +122,30 @@ var t = e.object({
|
|
|
122
122
|
ip: e.string(),
|
|
123
123
|
user_agent: e.string().optional(),
|
|
124
124
|
correlation_id: e.string().optional()
|
|
125
|
-
}),
|
|
125
|
+
}), pe = e.object({
|
|
126
126
|
status_code: e.number(),
|
|
127
127
|
body: e.unknown().optional()
|
|
128
|
-
}),
|
|
128
|
+
}), me = e.object({
|
|
129
129
|
country_code: e.string(),
|
|
130
130
|
city_name: e.string(),
|
|
131
131
|
latitude: e.string(),
|
|
132
132
|
longitude: e.string(),
|
|
133
133
|
time_zone: e.string(),
|
|
134
134
|
continent_code: e.string()
|
|
135
|
-
}),
|
|
135
|
+
}), he = e.object({
|
|
136
136
|
name: e.string(),
|
|
137
137
|
version: e.string(),
|
|
138
138
|
env: e.record(e.string(), e.string()).optional()
|
|
139
|
-
}),
|
|
139
|
+
}), l = e.object({
|
|
140
140
|
tenant_id: e.string(),
|
|
141
141
|
event_type: e.string(),
|
|
142
142
|
log_type: e.string(),
|
|
143
143
|
description: e.string().optional(),
|
|
144
|
-
category:
|
|
145
|
-
actor:
|
|
146
|
-
target:
|
|
147
|
-
request:
|
|
148
|
-
response:
|
|
144
|
+
category: le,
|
|
145
|
+
actor: ue,
|
|
146
|
+
target: de,
|
|
147
|
+
request: fe,
|
|
148
|
+
response: pe.optional(),
|
|
149
149
|
connection: e.string().optional(),
|
|
150
150
|
connection_id: e.string().optional(),
|
|
151
151
|
client_name: e.string().optional(),
|
|
@@ -153,29 +153,29 @@ var t = e.object({
|
|
|
153
153
|
strategy_type: e.string().optional(),
|
|
154
154
|
audience: e.string().optional(),
|
|
155
155
|
scope: e.string().optional(),
|
|
156
|
-
location:
|
|
157
|
-
auth0_client:
|
|
156
|
+
location: me.optional(),
|
|
157
|
+
auth0_client: he.optional(),
|
|
158
158
|
hostname: e.string(),
|
|
159
159
|
is_mobile: e.boolean().optional(),
|
|
160
160
|
timestamp: e.string()
|
|
161
|
-
}),
|
|
161
|
+
}), ge = l.extend({ id: e.string() }), _e = e.enum([
|
|
162
162
|
"AUTH0",
|
|
163
163
|
"EMAIL",
|
|
164
164
|
"REDIRECT"
|
|
165
|
-
]),
|
|
165
|
+
]), ve = e.enum([
|
|
166
166
|
"CREATE_USER",
|
|
167
167
|
"GET_USER",
|
|
168
168
|
"UPDATE_USER",
|
|
169
169
|
"SEND_REQUEST",
|
|
170
170
|
"SEND_EMAIL"
|
|
171
|
-
]),
|
|
171
|
+
]), ye = e.enum(["VERIFY_EMAIL"]), u = e.object({
|
|
172
172
|
require_mx_record: e.boolean().optional(),
|
|
173
173
|
block_aliases: e.boolean().optional(),
|
|
174
174
|
block_free_emails: e.boolean().optional(),
|
|
175
175
|
block_disposable_emails: e.boolean().optional(),
|
|
176
176
|
blocklist: e.array(e.string()).optional(),
|
|
177
177
|
allowlist: e.array(e.string()).optional()
|
|
178
|
-
}),
|
|
178
|
+
}), d = e.object({
|
|
179
179
|
id: e.string(),
|
|
180
180
|
alias: e.string().max(100).optional(),
|
|
181
181
|
type: e.literal("AUTH0"),
|
|
@@ -187,7 +187,7 @@ var t = e.object({
|
|
|
187
187
|
user_id: e.string(),
|
|
188
188
|
changes: e.record(e.string(), e.any())
|
|
189
189
|
})
|
|
190
|
-
}),
|
|
190
|
+
}), f = e.object({
|
|
191
191
|
id: e.string(),
|
|
192
192
|
alias: e.string().max(100).optional(),
|
|
193
193
|
type: e.literal("EMAIL"),
|
|
@@ -196,13 +196,13 @@ var t = e.object({
|
|
|
196
196
|
mask_output: e.boolean().optional(),
|
|
197
197
|
params: e.object({
|
|
198
198
|
email: e.string(),
|
|
199
|
-
rules:
|
|
199
|
+
rules: u.optional()
|
|
200
200
|
})
|
|
201
|
-
}),
|
|
201
|
+
}), p = e.enum([
|
|
202
202
|
"change-email",
|
|
203
203
|
"account",
|
|
204
204
|
"custom"
|
|
205
|
-
]),
|
|
205
|
+
]), m = e.object({
|
|
206
206
|
id: e.string(),
|
|
207
207
|
alias: e.string().max(100).optional(),
|
|
208
208
|
type: e.literal("REDIRECT"),
|
|
@@ -210,31 +210,32 @@ var t = e.object({
|
|
|
210
210
|
allow_failure: e.boolean().optional(),
|
|
211
211
|
mask_output: e.boolean().optional(),
|
|
212
212
|
params: e.object({
|
|
213
|
-
target:
|
|
213
|
+
target: p.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
|
|
214
214
|
custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
|
|
215
215
|
})
|
|
216
|
-
}),
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
]),
|
|
216
|
+
}), h = e.union([
|
|
217
|
+
d,
|
|
218
|
+
f,
|
|
219
|
+
m
|
|
220
|
+
]), g = e.object({
|
|
221
221
|
name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
|
|
222
|
-
actions: e.array(
|
|
223
|
-
}),
|
|
222
|
+
actions: e.array(h).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
|
|
223
|
+
}), be = g.extend(t.shape).extend({ id: e.string().openapi({
|
|
224
224
|
description: "Unique identifier for the flow",
|
|
225
225
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
226
|
-
}) }),
|
|
226
|
+
}) }), xe = e.object({
|
|
227
227
|
page: e.string().min(0).optional().default("0").transform((e) => parseInt(e, 10)).openapi({ description: "The page number where 0 is the first page" }),
|
|
228
228
|
per_page: e.string().min(1).optional().default("10").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page" }),
|
|
229
229
|
include_totals: e.string().optional().default("false").transform((e) => e === "true").openapi({ description: "If the total number of items should be included in the response" }),
|
|
230
230
|
sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
|
|
231
231
|
q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
|
|
232
|
-
}),
|
|
232
|
+
}), Se = e.object({
|
|
233
233
|
start: e.number(),
|
|
234
234
|
limit: e.number(),
|
|
235
235
|
length: e.number(),
|
|
236
|
-
total: e.number().optional()
|
|
237
|
-
|
|
236
|
+
total: e.number().optional(),
|
|
237
|
+
next: e.string().optional()
|
|
238
|
+
}), _ = e.object({
|
|
238
239
|
email: e.string().optional(),
|
|
239
240
|
email_verified: e.boolean().optional(),
|
|
240
241
|
name: e.string().optional(),
|
|
@@ -243,7 +244,7 @@ var t = e.object({
|
|
|
243
244
|
phone_number: e.string().optional(),
|
|
244
245
|
phone_verified: e.boolean().optional(),
|
|
245
246
|
family_name: e.string().optional()
|
|
246
|
-
}).catchall(e.any()),
|
|
247
|
+
}).catchall(e.any()), Ce = e.object({
|
|
247
248
|
connection: e.string(),
|
|
248
249
|
user_id: e.string(),
|
|
249
250
|
provider: e.string(),
|
|
@@ -256,15 +257,15 @@ var t = e.object({
|
|
|
256
257
|
access_token: e.string().optional(),
|
|
257
258
|
access_token_secret: e.string().optional(),
|
|
258
259
|
refresh_token: e.string().optional(),
|
|
259
|
-
profileData:
|
|
260
|
-
}),
|
|
260
|
+
profileData: _.optional()
|
|
261
|
+
}), v = e.object({
|
|
261
262
|
formatted: e.string().optional(),
|
|
262
263
|
street_address: e.string().optional(),
|
|
263
264
|
locality: e.string().optional(),
|
|
264
265
|
region: e.string().optional(),
|
|
265
266
|
postal_code: e.string().optional(),
|
|
266
267
|
country: e.string().optional()
|
|
267
|
-
}).optional(),
|
|
268
|
+
}).optional(), y = e.object({
|
|
268
269
|
email: e.string().transform((e) => e.toLowerCase()).optional(),
|
|
269
270
|
username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
|
|
270
271
|
phone_number: e.string().optional(),
|
|
@@ -287,8 +288,8 @@ var t = e.object({
|
|
|
287
288
|
gender: e.string().optional(),
|
|
288
289
|
birthdate: e.string().optional(),
|
|
289
290
|
zoneinfo: e.string().optional(),
|
|
290
|
-
address:
|
|
291
|
-
}),
|
|
291
|
+
address: v
|
|
292
|
+
}), b = y.extend({
|
|
292
293
|
email_verified: e.boolean().default(!1),
|
|
293
294
|
verify_email: e.boolean().optional(),
|
|
294
295
|
last_ip: e.string().optional(),
|
|
@@ -302,29 +303,29 @@ var t = e.object({
|
|
|
302
303
|
hash: e.string(),
|
|
303
304
|
algorithm: e.string()
|
|
304
305
|
}).optional()
|
|
305
|
-
}),
|
|
306
|
+
}), x = b.omit({ password: !0 }).extend(t.shape).extend({
|
|
306
307
|
user_id: e.string(),
|
|
307
308
|
provider: e.string(),
|
|
308
309
|
is_social: e.boolean(),
|
|
309
310
|
email: e.string().optional(),
|
|
310
311
|
login_count: e.number().default(0),
|
|
311
|
-
identities: e.array(
|
|
312
|
-
}),
|
|
312
|
+
identities: e.array(Ce).optional()
|
|
313
|
+
}), we = x.omit({ registration_completed_at: !0 }), Te = y.extend({
|
|
313
314
|
login_count: e.number(),
|
|
314
315
|
multifactor: e.array(e.string()).optional(),
|
|
315
316
|
last_ip: e.string().optional(),
|
|
316
317
|
last_login: e.string().optional(),
|
|
317
318
|
user_id: e.string()
|
|
318
|
-
}).catchall(e.any()),
|
|
319
|
+
}).catchall(e.any()), Ee = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", De = (e = 21) => {
|
|
319
320
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
320
|
-
for (; e--;) t +=
|
|
321
|
+
for (; e--;) t += Ee[n[e] & 63];
|
|
321
322
|
return t;
|
|
322
|
-
},
|
|
323
|
+
}, S = e.object({
|
|
323
324
|
client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
|
|
324
325
|
name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
|
|
325
326
|
description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
|
|
326
327
|
global: e.boolean().default(!1).openapi({ description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)." }),
|
|
327
|
-
client_secret: e.string().default(() =>
|
|
328
|
+
client_secret: e.string().default(() => De()).optional().openapi({ description: "Client secret (which you must not make public)." }),
|
|
328
329
|
app_type: e.enum([
|
|
329
330
|
"native",
|
|
330
331
|
"spa",
|
|
@@ -431,10 +432,10 @@ var t = e.object({
|
|
|
431
432
|
]).optional().openapi({ description: "Provenance of this client. `manual` = Management API; `open_dcr` = RFC 7591 without IAT; `iat_dcr` = RFC 7591 with an Initial Access Token." }),
|
|
432
433
|
registration_metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Arbitrary metadata captured at Dynamic Client Registration time that isn't a first-class client field (e.g. integration_type, domain). Also stores `iat_constraints` for clients created via IAT so RFC 7592 PUT can enforce field immutability." }),
|
|
433
434
|
user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({ description: "Per-client override for the built-in email-based user-linking path. `builtin` runs the legacy in-process linking at user creation/email update. `off` disables the legacy path; linking only happens if the tenant has enabled the `account-linking` template hook. When unset, the service-level `userLinkingMode` default applies." })
|
|
434
|
-
}),
|
|
435
|
+
}), Oe = e.object({
|
|
435
436
|
created_at: e.string(),
|
|
436
437
|
updated_at: e.string()
|
|
437
|
-
}).extend(
|
|
438
|
+
}).extend(S.shape).extend({ client_id: e.string() }), C = e.object({
|
|
438
439
|
client_id: e.string().min(1).openapi({ description: "ID of the client." }),
|
|
439
440
|
audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
|
|
440
441
|
scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
|
|
@@ -447,38 +448,38 @@ var t = e.object({
|
|
|
447
448
|
is_system: e.boolean().optional().openapi({ description: "If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly." }),
|
|
448
449
|
subject_type: e.enum(["client", "user"]).optional().openapi({ description: "The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." }),
|
|
449
450
|
authorization_details_types: e.array(e.string()).optional().openapi({ description: "Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." })
|
|
450
|
-
}),
|
|
451
|
+
}), w = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(C.shape).extend({
|
|
451
452
|
created_at: e.string().optional(),
|
|
452
453
|
updated_at: e.string().optional()
|
|
453
|
-
}),
|
|
454
|
+
}), ke = e.array(w), T = e.enum(["iat", "rat"]), E = e.object({
|
|
454
455
|
id: e.string(),
|
|
455
456
|
token_hash: e.string(),
|
|
456
|
-
type:
|
|
457
|
+
type: T,
|
|
457
458
|
client_id: e.string().optional(),
|
|
458
459
|
sub: e.string().optional(),
|
|
459
460
|
constraints: e.record(e.string(), e.unknown()).optional(),
|
|
460
461
|
single_use: e.boolean().default(!1),
|
|
461
462
|
expires_at: e.string().optional()
|
|
462
|
-
}),
|
|
463
|
+
}), Ae = e.object({
|
|
463
464
|
created_at: e.string(),
|
|
464
465
|
used_at: e.string().optional(),
|
|
465
466
|
revoked_at: e.string().optional()
|
|
466
|
-
}).extend(
|
|
467
|
+
}).extend(E.shape), D = e.object({
|
|
467
468
|
x: e.number(),
|
|
468
469
|
y: e.number()
|
|
469
|
-
}),
|
|
470
|
+
}), O = /* @__PURE__ */ function(e) {
|
|
470
471
|
return e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e;
|
|
471
|
-
}({}),
|
|
472
|
+
}({}), k = /* @__PURE__ */ function(e) {
|
|
472
473
|
return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
|
|
473
|
-
}({}),
|
|
474
|
+
}({}), A = e.object({
|
|
474
475
|
id: e.string(),
|
|
475
|
-
category: e.nativeEnum(
|
|
476
|
-
type: e.nativeEnum(
|
|
477
|
-
}),
|
|
476
|
+
category: e.nativeEnum(k),
|
|
477
|
+
type: e.nativeEnum(O)
|
|
478
|
+
}), j = A.extend({
|
|
478
479
|
category: e.literal("BLOCK"),
|
|
479
480
|
type: e.literal("RICH_TEXT"),
|
|
480
481
|
config: e.object({ content: e.string() }).passthrough()
|
|
481
|
-
}),
|
|
482
|
+
}), M = A.extend({
|
|
482
483
|
category: e.literal("BLOCK"),
|
|
483
484
|
type: e.union([
|
|
484
485
|
e.literal("NEXT_BUTTON"),
|
|
@@ -486,13 +487,13 @@ var t = e.object({
|
|
|
486
487
|
e.literal("SUBMIT_BUTTON")
|
|
487
488
|
]),
|
|
488
489
|
config: e.object({ text: e.string() }).passthrough()
|
|
489
|
-
}),
|
|
490
|
+
}), N = A.extend({
|
|
490
491
|
category: e.literal("FIELD"),
|
|
491
492
|
type: e.literal("LEGAL"),
|
|
492
493
|
required: e.boolean().optional(),
|
|
493
494
|
sensitive: e.boolean().optional(),
|
|
494
495
|
config: e.object({ text: e.string() }).passthrough()
|
|
495
|
-
}),
|
|
496
|
+
}), P = A.extend({
|
|
496
497
|
category: e.literal("FIELD"),
|
|
497
498
|
type: e.union([
|
|
498
499
|
e.literal("TEXT"),
|
|
@@ -512,40 +513,40 @@ var t = e.object({
|
|
|
512
513
|
label: e.string().optional(),
|
|
513
514
|
placeholder: e.string().optional()
|
|
514
515
|
}).passthrough()
|
|
515
|
-
}),
|
|
516
|
+
}), F = e.object({
|
|
516
517
|
id: e.string(),
|
|
517
518
|
category: e.string(),
|
|
518
519
|
type: e.string()
|
|
519
|
-
}).passthrough(),
|
|
520
|
+
}).passthrough(), I = e.union([
|
|
521
|
+
j,
|
|
522
|
+
M,
|
|
520
523
|
N,
|
|
521
524
|
P,
|
|
522
|
-
F
|
|
523
|
-
|
|
524
|
-
L
|
|
525
|
-
]), ke = /* @__PURE__ */ function(e) {
|
|
525
|
+
F
|
|
526
|
+
]), je = /* @__PURE__ */ function(e) {
|
|
526
527
|
return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
|
|
527
|
-
}({}),
|
|
528
|
+
}({}), L = e.object({
|
|
528
529
|
id: e.string(),
|
|
529
530
|
type: e.literal("STEP"),
|
|
530
|
-
coordinates:
|
|
531
|
+
coordinates: D,
|
|
531
532
|
alias: e.string().optional(),
|
|
532
533
|
config: e.object({
|
|
533
|
-
components: e.array(
|
|
534
|
+
components: e.array(I),
|
|
534
535
|
next_node: e.string()
|
|
535
536
|
}).passthrough()
|
|
536
|
-
}),
|
|
537
|
+
}), Me = e.object({
|
|
537
538
|
id: e.string(),
|
|
538
539
|
type: e.literal("FLOW"),
|
|
539
|
-
coordinates:
|
|
540
|
+
coordinates: D,
|
|
540
541
|
alias: e.string().optional(),
|
|
541
542
|
config: e.object({
|
|
542
543
|
flow_id: e.string(),
|
|
543
544
|
next_node: e.string()
|
|
544
545
|
})
|
|
545
|
-
}),
|
|
546
|
+
}), Ne = e.object({
|
|
546
547
|
id: e.string(),
|
|
547
548
|
type: e.literal("ACTION"),
|
|
548
|
-
coordinates:
|
|
549
|
+
coordinates: D,
|
|
549
550
|
alias: e.string().optional(),
|
|
550
551
|
config: e.object({
|
|
551
552
|
action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
|
|
@@ -557,56 +558,56 @@ var t = e.object({
|
|
|
557
558
|
custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
|
|
558
559
|
next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
|
|
559
560
|
}).passthrough()
|
|
560
|
-
}),
|
|
561
|
+
}), Pe = e.object({
|
|
561
562
|
id: e.string(),
|
|
562
563
|
type: e.string(),
|
|
563
|
-
coordinates:
|
|
564
|
-
}).passthrough(),
|
|
565
|
-
|
|
566
|
-
je,
|
|
564
|
+
coordinates: D
|
|
565
|
+
}).passthrough(), Fe = e.union([
|
|
566
|
+
L,
|
|
567
567
|
Me,
|
|
568
|
-
Ne
|
|
569
|
-
|
|
568
|
+
Ne,
|
|
569
|
+
Pe
|
|
570
|
+
]), Ie = e.object({
|
|
570
571
|
next_node: e.string(),
|
|
571
|
-
coordinates:
|
|
572
|
-
}).passthrough(), Ie = e.object({
|
|
573
|
-
resume_flow: e.boolean().optional(),
|
|
574
|
-
coordinates: k
|
|
572
|
+
coordinates: D
|
|
575
573
|
}).passthrough(), Le = e.object({
|
|
574
|
+
resume_flow: e.boolean().optional(),
|
|
575
|
+
coordinates: D
|
|
576
|
+
}).passthrough(), Re = e.object({
|
|
576
577
|
id: e.string(),
|
|
577
578
|
name: e.string(),
|
|
578
579
|
languages: e.object({ primary: e.string() }).passthrough(),
|
|
579
|
-
nodes: e.array(
|
|
580
|
-
start:
|
|
581
|
-
ending:
|
|
580
|
+
nodes: e.array(Fe),
|
|
581
|
+
start: Ie,
|
|
582
|
+
ending: Le,
|
|
582
583
|
created_at: e.string(),
|
|
583
584
|
updated_at: e.string(),
|
|
584
585
|
links: e.object({
|
|
585
586
|
sdkSrc: e.string().optional(),
|
|
586
587
|
sdk_src: e.string().optional()
|
|
587
588
|
}).passthrough()
|
|
588
|
-
}).passthrough(),
|
|
589
|
+
}).passthrough(), ze = Re.omit({
|
|
589
590
|
id: !0,
|
|
590
591
|
created_at: !0,
|
|
591
592
|
updated_at: !0
|
|
592
|
-
}),
|
|
593
|
+
}), Be = /* @__PURE__ */ function(e) {
|
|
593
594
|
return e.TOKEN = "token", e.ID_TOKEN = "id_token", e.TOKEN_ID_TOKEN = "id_token token", e.CODE = "code", e.CODE_ID_TOKEN = "code id_token", e.CODE_TOKEN = "code token", e.CODE_ID_TOKEN_TOKEN = "code id_token token", e;
|
|
594
|
-
}({}), Be = /* @__PURE__ */ function(e) {
|
|
595
|
-
return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
|
|
596
595
|
}({}), Ve = /* @__PURE__ */ function(e) {
|
|
596
|
+
return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
|
|
597
|
+
}({}), He = /* @__PURE__ */ function(e) {
|
|
597
598
|
return e.S256 = "S256", e.Plain = "plain", e;
|
|
598
|
-
}({}),
|
|
599
|
+
}({}), Ue = e.union([e.null(), e.object({
|
|
599
600
|
essential: e.boolean().optional(),
|
|
600
601
|
value: e.unknown().optional(),
|
|
601
602
|
values: e.array(e.unknown()).optional()
|
|
602
|
-
})]).nullable(),
|
|
603
|
-
userinfo: e.record(e.string(),
|
|
604
|
-
id_token: e.record(e.string(),
|
|
605
|
-
}),
|
|
603
|
+
})]).nullable(), We = e.object({
|
|
604
|
+
userinfo: e.record(e.string(), Ue).optional(),
|
|
605
|
+
id_token: e.record(e.string(), Ue).optional()
|
|
606
|
+
}), Ge = e.object({
|
|
606
607
|
client_id: e.string(),
|
|
607
608
|
act_as: e.string().optional(),
|
|
608
|
-
response_type: e.nativeEnum(
|
|
609
|
-
response_mode: e.nativeEnum(
|
|
609
|
+
response_type: e.nativeEnum(Be).optional(),
|
|
610
|
+
response_mode: e.nativeEnum(Ve).optional(),
|
|
610
611
|
redirect_uri: e.string().optional(),
|
|
611
612
|
audience: e.string().optional(),
|
|
612
613
|
organization: e.string().optional(),
|
|
@@ -614,15 +615,15 @@ var t = e.object({
|
|
|
614
615
|
nonce: e.string().optional(),
|
|
615
616
|
scope: e.string().optional(),
|
|
616
617
|
prompt: e.string().optional(),
|
|
617
|
-
code_challenge_method: e.nativeEnum(
|
|
618
|
+
code_challenge_method: e.nativeEnum(He).optional(),
|
|
618
619
|
code_challenge: e.string().optional(),
|
|
619
620
|
username: e.string().optional(),
|
|
620
621
|
ui_locales: e.string().optional(),
|
|
621
622
|
max_age: e.number().optional(),
|
|
622
623
|
acr_values: e.string().optional(),
|
|
623
|
-
claims:
|
|
624
|
+
claims: We.optional(),
|
|
624
625
|
vendor_id: e.string().optional()
|
|
625
|
-
}),
|
|
626
|
+
}), Ke = e.object({
|
|
626
627
|
colors: e.object({
|
|
627
628
|
primary: e.string(),
|
|
628
629
|
page_background: e.union([e.string(), e.object({
|
|
@@ -641,7 +642,7 @@ var t = e.object({
|
|
|
641
642
|
"light",
|
|
642
643
|
"auto"
|
|
643
644
|
]).optional()
|
|
644
|
-
}),
|
|
645
|
+
}), qe = e.enum([
|
|
645
646
|
"password_reset",
|
|
646
647
|
"email_verification",
|
|
647
648
|
"otp",
|
|
@@ -649,11 +650,11 @@ var t = e.object({
|
|
|
649
650
|
"authorization_code",
|
|
650
651
|
"oauth2_state",
|
|
651
652
|
"ticket"
|
|
652
|
-
]),
|
|
653
|
+
]), Je = e.object({
|
|
653
654
|
code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
|
|
654
655
|
login_id: e.string().openapi({ description: "The id of the login session that the code is connected to" }),
|
|
655
656
|
connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
|
|
656
|
-
code_type:
|
|
657
|
+
code_type: qe,
|
|
657
658
|
code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
|
|
658
659
|
code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
|
|
659
660
|
code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
|
|
@@ -664,7 +665,7 @@ var t = e.object({
|
|
|
664
665
|
expires_at: e.string(),
|
|
665
666
|
used_at: e.string().optional(),
|
|
666
667
|
user_id: e.string().optional()
|
|
667
|
-
}),
|
|
668
|
+
}), Ye = Je.extend({ created_at: e.string() }), Xe = e.object({
|
|
668
669
|
kid: e.string().optional(),
|
|
669
670
|
team_id: e.string().optional(),
|
|
670
671
|
realms: e.string().optional(),
|
|
@@ -780,23 +781,23 @@ var t = e.object({
|
|
|
780
781
|
"never_on_login"
|
|
781
782
|
]).optional()
|
|
782
783
|
});
|
|
783
|
-
function
|
|
784
|
+
function R(e) {
|
|
784
785
|
if (e !== null) {
|
|
785
|
-
if (Array.isArray(e)) return e.filter((e) => e !== null).map(
|
|
786
|
+
if (Array.isArray(e)) return e.filter((e) => e !== null).map(R);
|
|
786
787
|
if (e && typeof e == "object") {
|
|
787
788
|
let t = {};
|
|
788
|
-
for (let [n, r] of Object.entries(e)) r !== null && (t[n] =
|
|
789
|
+
for (let [n, r] of Object.entries(e)) r !== null && (t[n] = R(r));
|
|
789
790
|
return t;
|
|
790
791
|
}
|
|
791
792
|
return e;
|
|
792
793
|
}
|
|
793
794
|
}
|
|
794
|
-
var
|
|
795
|
+
var Ze = e.object({
|
|
795
796
|
id: e.string().optional(),
|
|
796
797
|
name: e.string(),
|
|
797
798
|
display_name: e.string().optional(),
|
|
798
799
|
strategy: e.string(),
|
|
799
|
-
options: e.preprocess((e) => e === null ? {} :
|
|
800
|
+
options: e.preprocess((e) => e === null ? {} : R(e), Xe).default({}),
|
|
800
801
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
801
802
|
response_type: e.custom().optional(),
|
|
802
803
|
response_mode: e.custom().optional(),
|
|
@@ -804,11 +805,11 @@ var Xe = e.object({
|
|
|
804
805
|
show_as_button: e.boolean().optional(),
|
|
805
806
|
metadata: e.record(e.string(), e.any()).optional(),
|
|
806
807
|
is_system: e.boolean().optional()
|
|
807
|
-
}),
|
|
808
|
+
}), Qe = e.object({
|
|
808
809
|
id: e.string(),
|
|
809
810
|
created_at: e.string().transform((e) => e === null ? "" : e),
|
|
810
811
|
updated_at: e.string().transform((e) => e === null ? "" : e)
|
|
811
|
-
}).extend(
|
|
812
|
+
}).extend(Ze.shape), z = e.object({
|
|
812
813
|
domain: e.string(),
|
|
813
814
|
custom_domain_id: e.string().optional(),
|
|
814
815
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -822,7 +823,7 @@ var Xe = e.object({
|
|
|
822
823
|
"null"
|
|
823
824
|
]).optional(),
|
|
824
825
|
domain_metadata: e.record(e.string(), e.string().max(255)).optional()
|
|
825
|
-
}),
|
|
826
|
+
}), $e = e.discriminatedUnion("name", [e.object({
|
|
826
827
|
name: e.literal("txt"),
|
|
827
828
|
record: e.string(),
|
|
828
829
|
domain: e.string()
|
|
@@ -830,7 +831,7 @@ var Xe = e.object({
|
|
|
830
831
|
name: e.literal("http"),
|
|
831
832
|
http_body: e.string(),
|
|
832
833
|
http_url: e.string()
|
|
833
|
-
})]),
|
|
834
|
+
})]), et = z.extend({
|
|
834
835
|
custom_domain_id: e.string(),
|
|
835
836
|
primary: e.boolean(),
|
|
836
837
|
status: e.enum([
|
|
@@ -840,26 +841,26 @@ var Xe = e.object({
|
|
|
840
841
|
"ready"
|
|
841
842
|
]),
|
|
842
843
|
origin_domain_name: e.string().optional(),
|
|
843
|
-
verification: e.object({ methods: e.array(
|
|
844
|
+
verification: e.object({ methods: e.array($e) }).optional(),
|
|
844
845
|
tls_policy: e.string().optional()
|
|
845
|
-
}),
|
|
846
|
+
}), tt = z.pick({
|
|
846
847
|
tls_policy: !0,
|
|
847
848
|
custom_client_ip_header: !0,
|
|
848
849
|
domain_metadata: !0
|
|
849
|
-
}).strict(),
|
|
850
|
+
}).strict(), nt = et.extend({ tenant_id: e.string() }), rt = e.object({
|
|
850
851
|
certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
|
|
851
852
|
private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
|
|
852
|
-
}),
|
|
853
|
+
}), B = e.object({
|
|
853
854
|
id: e.string(),
|
|
854
855
|
order: e.number().optional(),
|
|
855
856
|
visible: e.boolean().optional().default(!0)
|
|
856
|
-
}),
|
|
857
|
+
}), V = B.extend({ category: e.literal("BLOCK").optional() }), it = V.extend({
|
|
857
858
|
type: e.literal("DIVIDER"),
|
|
858
859
|
config: e.object({ text: e.string().optional() }).optional()
|
|
859
|
-
}),
|
|
860
|
+
}), at = V.extend({
|
|
860
861
|
type: e.literal("HTML"),
|
|
861
862
|
config: e.object({ content: e.string().optional() }).optional()
|
|
862
|
-
}),
|
|
863
|
+
}), ot = V.extend({
|
|
863
864
|
type: e.literal("IMAGE"),
|
|
864
865
|
config: e.object({
|
|
865
866
|
src: e.string().optional(),
|
|
@@ -867,43 +868,43 @@ var Xe = e.object({
|
|
|
867
868
|
width: e.number().optional(),
|
|
868
869
|
height: e.number().optional()
|
|
869
870
|
}).optional()
|
|
870
|
-
}),
|
|
871
|
+
}), st = V.extend({
|
|
871
872
|
type: e.literal("JUMP_BUTTON"),
|
|
872
873
|
config: e.object({
|
|
873
874
|
text: e.string().optional(),
|
|
874
875
|
target_step: e.string().optional()
|
|
875
876
|
})
|
|
876
|
-
}),
|
|
877
|
+
}), ct = V.extend({
|
|
877
878
|
type: e.literal("RESEND_BUTTON"),
|
|
878
879
|
config: e.object({
|
|
879
880
|
text: e.string().optional(),
|
|
880
881
|
resend_action: e.string().optional()
|
|
881
882
|
})
|
|
882
|
-
}),
|
|
883
|
+
}), lt = V.extend({
|
|
883
884
|
type: e.literal("NEXT_BUTTON"),
|
|
884
885
|
config: e.object({ text: e.string().optional() })
|
|
885
|
-
}),
|
|
886
|
+
}), ut = V.extend({
|
|
886
887
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
887
888
|
config: e.object({ text: e.string().optional() })
|
|
888
|
-
}),
|
|
889
|
+
}), dt = V.extend({
|
|
889
890
|
type: e.literal("RICH_TEXT"),
|
|
890
891
|
config: e.object({ content: e.string().optional() }).optional()
|
|
891
|
-
}),
|
|
892
|
+
}), H = B.extend({
|
|
892
893
|
category: e.literal("WIDGET").optional(),
|
|
893
894
|
label: e.string().min(1).optional(),
|
|
894
895
|
hint: e.string().min(1).max(500).optional(),
|
|
895
896
|
required: e.boolean().optional(),
|
|
896
897
|
sensitive: e.boolean().optional()
|
|
897
|
-
}),
|
|
898
|
+
}), ft = H.extend({
|
|
898
899
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
899
900
|
config: e.object({ credential_type: e.string().optional() })
|
|
900
|
-
}),
|
|
901
|
+
}), pt = H.extend({
|
|
901
902
|
type: e.literal("GMAPS_ADDRESS"),
|
|
902
903
|
config: e.object({ api_key: e.string().optional() })
|
|
903
|
-
}),
|
|
904
|
+
}), mt = H.extend({
|
|
904
905
|
type: e.literal("RECAPTCHA"),
|
|
905
906
|
config: e.object({ site_key: e.string().optional() })
|
|
906
|
-
}),
|
|
907
|
+
}), U = B.extend({
|
|
907
908
|
category: e.literal("FIELD").optional(),
|
|
908
909
|
label: e.string().min(1).optional(),
|
|
909
910
|
hint: e.string().min(1).max(500).optional(),
|
|
@@ -919,10 +920,10 @@ var Xe = e.object({
|
|
|
919
920
|
})).optional(),
|
|
920
921
|
required: e.boolean().optional(),
|
|
921
922
|
sensitive: e.boolean().optional()
|
|
922
|
-
}),
|
|
923
|
+
}), ht = U.extend({
|
|
923
924
|
type: e.literal("BOOLEAN"),
|
|
924
925
|
config: e.object({ default_value: e.boolean().optional() }).optional()
|
|
925
|
-
}),
|
|
926
|
+
}), gt = U.extend({
|
|
926
927
|
type: e.literal("CARDS"),
|
|
927
928
|
config: e.object({
|
|
928
929
|
options: e.array(e.object({
|
|
@@ -933,7 +934,7 @@ var Xe = e.object({
|
|
|
933
934
|
})).optional(),
|
|
934
935
|
multi_select: e.boolean().optional()
|
|
935
936
|
}).optional()
|
|
936
|
-
}),
|
|
937
|
+
}), _t = U.extend({
|
|
937
938
|
type: e.literal("CHOICE"),
|
|
938
939
|
config: e.object({
|
|
939
940
|
options: e.array(e.object({
|
|
@@ -944,7 +945,7 @@ var Xe = e.object({
|
|
|
944
945
|
multiple: e.boolean().optional(),
|
|
945
946
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
946
947
|
}).optional()
|
|
947
|
-
}),
|
|
948
|
+
}), vt = U.extend({
|
|
948
949
|
type: e.literal("CODE"),
|
|
949
950
|
config: e.object({
|
|
950
951
|
length: e.number().int().positive().max(100).optional(),
|
|
@@ -961,7 +962,7 @@ var Xe = e.object({
|
|
|
961
962
|
message: "default_value is longer than the configured length",
|
|
962
963
|
path: ["default_value"]
|
|
963
964
|
}).optional()
|
|
964
|
-
}),
|
|
965
|
+
}), yt = U.extend({
|
|
965
966
|
type: e.literal("CUSTOM"),
|
|
966
967
|
config: e.object({
|
|
967
968
|
component: e.string().optional(),
|
|
@@ -969,7 +970,7 @@ var Xe = e.object({
|
|
|
969
970
|
schema: e.record(e.string(), e.any()).optional(),
|
|
970
971
|
code: e.string().optional()
|
|
971
972
|
})
|
|
972
|
-
}),
|
|
973
|
+
}), bt = U.extend({
|
|
973
974
|
type: e.literal("DATE"),
|
|
974
975
|
config: e.object({
|
|
975
976
|
format: e.string().optional(),
|
|
@@ -977,7 +978,7 @@ var Xe = e.object({
|
|
|
977
978
|
max: e.string().optional(),
|
|
978
979
|
default_value: e.string().optional()
|
|
979
980
|
}).optional()
|
|
980
|
-
}),
|
|
981
|
+
}), xt = U.extend({
|
|
981
982
|
type: e.literal("DROPDOWN"),
|
|
982
983
|
config: e.object({
|
|
983
984
|
options: e.array(e.object({
|
|
@@ -989,26 +990,26 @@ var Xe = e.object({
|
|
|
989
990
|
multiple: e.boolean().optional(),
|
|
990
991
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
991
992
|
}).optional()
|
|
992
|
-
}),
|
|
993
|
+
}), St = U.extend({
|
|
993
994
|
type: e.literal("EMAIL"),
|
|
994
995
|
config: e.object({
|
|
995
996
|
placeholder: e.string().optional(),
|
|
996
997
|
default_value: e.string().optional()
|
|
997
998
|
}).optional()
|
|
998
|
-
}),
|
|
999
|
+
}), Ct = U.extend({
|
|
999
1000
|
type: e.literal("FILE"),
|
|
1000
1001
|
config: e.object({
|
|
1001
1002
|
accept: e.string().optional(),
|
|
1002
1003
|
max_size: e.number().optional(),
|
|
1003
1004
|
multiple: e.boolean().optional()
|
|
1004
1005
|
}).optional()
|
|
1005
|
-
}),
|
|
1006
|
+
}), wt = U.extend({
|
|
1006
1007
|
type: e.literal("LEGAL"),
|
|
1007
1008
|
config: e.object({
|
|
1008
1009
|
text: e.string(),
|
|
1009
1010
|
html: e.boolean().optional()
|
|
1010
1011
|
}).optional()
|
|
1011
|
-
}),
|
|
1012
|
+
}), Tt = U.extend({
|
|
1012
1013
|
type: e.literal("NUMBER"),
|
|
1013
1014
|
config: e.object({
|
|
1014
1015
|
placeholder: e.string().optional(),
|
|
@@ -1017,7 +1018,7 @@ var Xe = e.object({
|
|
|
1017
1018
|
step: e.number().optional(),
|
|
1018
1019
|
default_value: e.string().optional()
|
|
1019
1020
|
}).optional()
|
|
1020
|
-
}),
|
|
1021
|
+
}), Et = U.extend({
|
|
1021
1022
|
type: e.literal("PASSWORD"),
|
|
1022
1023
|
config: e.object({
|
|
1023
1024
|
placeholder: e.string().optional(),
|
|
@@ -1026,13 +1027,13 @@ var Xe = e.object({
|
|
|
1026
1027
|
forgot_password_link: e.string().optional(),
|
|
1027
1028
|
default_value: e.string().optional()
|
|
1028
1029
|
}).optional()
|
|
1029
|
-
}),
|
|
1030
|
+
}), Dt = U.extend({
|
|
1030
1031
|
type: e.literal("PAYMENT"),
|
|
1031
1032
|
config: e.object({
|
|
1032
1033
|
provider: e.string().optional(),
|
|
1033
1034
|
currency: e.string().optional()
|
|
1034
1035
|
}).optional()
|
|
1035
|
-
}),
|
|
1036
|
+
}), Ot = U.extend({
|
|
1036
1037
|
type: e.literal("SOCIAL"),
|
|
1037
1038
|
config: e.object({
|
|
1038
1039
|
providers: e.array(e.string()).optional(),
|
|
@@ -1044,7 +1045,7 @@ var Xe = e.object({
|
|
|
1044
1045
|
href: e.string().optional()
|
|
1045
1046
|
})).optional()
|
|
1046
1047
|
}).optional()
|
|
1047
|
-
}),
|
|
1048
|
+
}), kt = U.extend({
|
|
1048
1049
|
type: e.literal("TEL"),
|
|
1049
1050
|
config: e.object({
|
|
1050
1051
|
placeholder: e.string().optional(),
|
|
@@ -1052,7 +1053,7 @@ var Xe = e.object({
|
|
|
1052
1053
|
default_value: e.string().optional(),
|
|
1053
1054
|
allow_email: e.boolean().optional()
|
|
1054
1055
|
}).optional()
|
|
1055
|
-
}),
|
|
1056
|
+
}), At = U.extend({
|
|
1056
1057
|
type: e.literal("TEXT"),
|
|
1057
1058
|
config: e.object({
|
|
1058
1059
|
placeholder: e.string().optional(),
|
|
@@ -1060,38 +1061,37 @@ var Xe = e.object({
|
|
|
1060
1061
|
max_length: e.number().optional(),
|
|
1061
1062
|
default_value: e.string().optional()
|
|
1062
1063
|
}).optional()
|
|
1063
|
-
}),
|
|
1064
|
+
}), jt = U.extend({
|
|
1064
1065
|
type: e.literal("COUNTRY"),
|
|
1065
1066
|
config: e.object({
|
|
1066
1067
|
placeholder: e.string().optional(),
|
|
1067
1068
|
default_value: e.string().optional()
|
|
1068
1069
|
}).optional()
|
|
1069
|
-
}),
|
|
1070
|
+
}), Mt = U.extend({
|
|
1070
1071
|
type: e.literal("URL"),
|
|
1071
1072
|
config: e.object({
|
|
1072
1073
|
placeholder: e.string().optional(),
|
|
1073
1074
|
default_value: e.string().optional()
|
|
1074
1075
|
}).optional()
|
|
1075
|
-
}),
|
|
1076
|
-
rt,
|
|
1076
|
+
}), Nt = e.discriminatedUnion("type", [
|
|
1077
1077
|
it,
|
|
1078
1078
|
at,
|
|
1079
1079
|
ot,
|
|
1080
1080
|
st,
|
|
1081
1081
|
ct,
|
|
1082
1082
|
lt,
|
|
1083
|
-
ut
|
|
1084
|
-
|
|
1085
|
-
dt,
|
|
1086
|
-
ft,
|
|
1087
|
-
pt
|
|
1083
|
+
ut,
|
|
1084
|
+
dt
|
|
1088
1085
|
]), Pt = e.discriminatedUnion("type", [
|
|
1089
|
-
|
|
1086
|
+
ft,
|
|
1087
|
+
pt,
|
|
1088
|
+
mt
|
|
1089
|
+
]), Ft = e.discriminatedUnion("type", [
|
|
1090
1090
|
ht,
|
|
1091
1091
|
gt,
|
|
1092
1092
|
_t,
|
|
1093
|
-
At,
|
|
1094
1093
|
vt,
|
|
1094
|
+
jt,
|
|
1095
1095
|
yt,
|
|
1096
1096
|
bt,
|
|
1097
1097
|
xt,
|
|
@@ -1103,12 +1103,13 @@ var Xe = e.object({
|
|
|
1103
1103
|
Dt,
|
|
1104
1104
|
Ot,
|
|
1105
1105
|
kt,
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1106
|
+
At,
|
|
1107
|
+
Mt
|
|
1108
|
+
]), W = e.union([
|
|
1109
1109
|
Nt,
|
|
1110
|
-
Pt
|
|
1111
|
-
|
|
1110
|
+
Pt,
|
|
1111
|
+
Ft
|
|
1112
|
+
]), It = /* @__PURE__ */ new Set([
|
|
1112
1113
|
"BOOLEAN",
|
|
1113
1114
|
"CARDS",
|
|
1114
1115
|
"CHOICE",
|
|
@@ -1123,7 +1124,7 @@ var Xe = e.object({
|
|
|
1123
1124
|
"TEL",
|
|
1124
1125
|
"TEXT",
|
|
1125
1126
|
"URL"
|
|
1126
|
-
]),
|
|
1127
|
+
]), Lt = e.object({
|
|
1127
1128
|
id: e.string(),
|
|
1128
1129
|
type: e.literal("submit"),
|
|
1129
1130
|
label: e.string(),
|
|
@@ -1132,22 +1133,22 @@ var Xe = e.object({
|
|
|
1132
1133
|
order: e.number().optional(),
|
|
1133
1134
|
visible: e.boolean().optional().default(!0),
|
|
1134
1135
|
customizations: e.record(e.string(), e.any()).optional()
|
|
1135
|
-
}),
|
|
1136
|
+
}), G = e.object({
|
|
1136
1137
|
x: e.number(),
|
|
1137
1138
|
y: e.number()
|
|
1138
|
-
}),
|
|
1139
|
+
}), Rt = e.object({
|
|
1139
1140
|
id: e.string(),
|
|
1140
1141
|
type: e.literal("FLOW"),
|
|
1141
|
-
coordinates:
|
|
1142
|
+
coordinates: G,
|
|
1142
1143
|
alias: e.string().min(1).max(150).optional(),
|
|
1143
1144
|
config: e.object({
|
|
1144
1145
|
flow_id: e.string().max(30),
|
|
1145
1146
|
next_node: e.string().optional()
|
|
1146
1147
|
})
|
|
1147
|
-
}),
|
|
1148
|
+
}), zt = e.object({
|
|
1148
1149
|
id: e.string(),
|
|
1149
1150
|
type: e.literal("ROUTER"),
|
|
1150
|
-
coordinates:
|
|
1151
|
+
coordinates: G,
|
|
1151
1152
|
alias: e.string().min(1).max(150),
|
|
1152
1153
|
config: e.object({
|
|
1153
1154
|
rules: e.array(e.object({
|
|
@@ -1158,20 +1159,20 @@ var Xe = e.object({
|
|
|
1158
1159
|
})),
|
|
1159
1160
|
fallback: e.string()
|
|
1160
1161
|
})
|
|
1161
|
-
}),
|
|
1162
|
+
}), Bt = e.object({
|
|
1162
1163
|
id: e.string(),
|
|
1163
1164
|
type: e.literal("STEP"),
|
|
1164
|
-
coordinates:
|
|
1165
|
+
coordinates: G,
|
|
1165
1166
|
alias: e.string().min(1).max(150).optional(),
|
|
1166
1167
|
config: e.object({
|
|
1167
|
-
components: e.array(
|
|
1168
|
+
components: e.array(W),
|
|
1168
1169
|
next_node: e.string().optional()
|
|
1169
1170
|
})
|
|
1170
|
-
}),
|
|
1171
|
-
Lt,
|
|
1171
|
+
}), Vt = e.discriminatedUnion("type", [
|
|
1172
1172
|
Rt,
|
|
1173
|
-
zt
|
|
1174
|
-
|
|
1173
|
+
zt,
|
|
1174
|
+
Bt
|
|
1175
|
+
]), Ht = e.object({
|
|
1175
1176
|
name: e.string().openapi({ description: "The name of the form" }),
|
|
1176
1177
|
messages: e.object({
|
|
1177
1178
|
errors: e.record(e.string(), e.any()).optional(),
|
|
@@ -1182,14 +1183,14 @@ var Xe = e.object({
|
|
|
1182
1183
|
default: e.string().optional()
|
|
1183
1184
|
}).optional(),
|
|
1184
1185
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1185
|
-
nodes: e.array(
|
|
1186
|
+
nodes: e.array(Vt).optional(),
|
|
1186
1187
|
start: e.object({
|
|
1187
1188
|
hidden_fields: e.array(e.object({
|
|
1188
1189
|
key: e.string(),
|
|
1189
1190
|
value: e.string()
|
|
1190
1191
|
})).optional(),
|
|
1191
1192
|
next_node: e.string().optional(),
|
|
1192
|
-
coordinates:
|
|
1193
|
+
coordinates: G.optional()
|
|
1193
1194
|
}).optional(),
|
|
1194
1195
|
ending: e.object({
|
|
1195
1196
|
redirection: e.object({
|
|
@@ -1197,7 +1198,7 @@ var Xe = e.object({
|
|
|
1197
1198
|
target: e.string().optional()
|
|
1198
1199
|
}).optional(),
|
|
1199
1200
|
after_submit: e.object({ flow_id: e.string().optional() }).optional(),
|
|
1200
|
-
coordinates:
|
|
1201
|
+
coordinates: G.optional(),
|
|
1201
1202
|
resume_flow: e.boolean().optional()
|
|
1202
1203
|
}).optional(),
|
|
1203
1204
|
style: e.object({ css: e.string().optional() }).optional(),
|
|
@@ -1205,7 +1206,7 @@ var Xe = e.object({
|
|
|
1205
1206
|
sdkSrc: e.string().optional(),
|
|
1206
1207
|
sdk_src: e.string().optional()
|
|
1207
1208
|
}).optional()
|
|
1208
|
-
}).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }),
|
|
1209
|
+
}).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" }), Ut = t.extend(Ht.shape).extend({ id: e.string() }), Wt = e.object({
|
|
1209
1210
|
id: e.number().optional(),
|
|
1210
1211
|
text: e.string(),
|
|
1211
1212
|
type: e.enum([
|
|
@@ -1214,34 +1215,34 @@ var Xe = e.object({
|
|
|
1214
1215
|
"success",
|
|
1215
1216
|
"warning"
|
|
1216
1217
|
])
|
|
1217
|
-
}),
|
|
1218
|
+
}), Gt = e.object({
|
|
1218
1219
|
id: e.string().optional(),
|
|
1219
1220
|
text: e.string(),
|
|
1220
1221
|
href: e.string(),
|
|
1221
1222
|
linkText: e.string().optional()
|
|
1222
|
-
}),
|
|
1223
|
+
}), Kt = e.object({
|
|
1223
1224
|
name: e.string().optional(),
|
|
1224
1225
|
action: e.string(),
|
|
1225
1226
|
method: e.enum(["POST", "GET"]),
|
|
1226
1227
|
title: e.string().optional(),
|
|
1227
1228
|
description: e.string().optional(),
|
|
1228
|
-
components: e.array(
|
|
1229
|
-
messages: e.array(
|
|
1230
|
-
links: e.array(
|
|
1229
|
+
components: e.array(W),
|
|
1230
|
+
messages: e.array(Wt).optional(),
|
|
1231
|
+
links: e.array(Gt).optional(),
|
|
1231
1232
|
footer: e.string().optional()
|
|
1232
1233
|
});
|
|
1233
|
-
function
|
|
1234
|
+
function qt(e) {
|
|
1234
1235
|
return e.category === "BLOCK";
|
|
1235
1236
|
}
|
|
1236
|
-
function
|
|
1237
|
+
function Jt(e) {
|
|
1237
1238
|
return e.category === "WIDGET";
|
|
1238
1239
|
}
|
|
1239
|
-
function
|
|
1240
|
+
function Yt(e) {
|
|
1240
1241
|
return e.category === "FIELD";
|
|
1241
1242
|
}
|
|
1242
1243
|
//#endregion
|
|
1243
1244
|
//#region src/types/Hook.ts
|
|
1244
|
-
var
|
|
1245
|
+
var Xt = e.enum([
|
|
1245
1246
|
"pre-user-registration",
|
|
1246
1247
|
"post-user-registration",
|
|
1247
1248
|
"post-user-login",
|
|
@@ -1249,28 +1250,28 @@ var Yt = e.enum([
|
|
|
1249
1250
|
"validate-registration-username",
|
|
1250
1251
|
"pre-user-deletion",
|
|
1251
1252
|
"post-user-deletion"
|
|
1252
|
-
]),
|
|
1253
|
+
]), Zt = e.enum([
|
|
1253
1254
|
"pre-user-registration",
|
|
1254
1255
|
"post-user-registration",
|
|
1255
1256
|
"post-user-login",
|
|
1256
1257
|
"validate-registration-username",
|
|
1257
1258
|
"pre-user-deletion",
|
|
1258
1259
|
"post-user-deletion"
|
|
1259
|
-
]),
|
|
1260
|
+
]), Qt = e.enum([
|
|
1260
1261
|
"post-user-login",
|
|
1261
1262
|
"post-user-registration",
|
|
1262
1263
|
"post-user-update",
|
|
1263
1264
|
"credentials-exchange"
|
|
1264
|
-
]),
|
|
1265
|
+
]), $t = e.enum([
|
|
1265
1266
|
"post-user-login",
|
|
1266
1267
|
"credentials-exchange",
|
|
1267
1268
|
"pre-user-registration",
|
|
1268
1269
|
"post-user-registration"
|
|
1269
|
-
]),
|
|
1270
|
+
]), K = e.enum([
|
|
1270
1271
|
"ensure-username",
|
|
1271
1272
|
"set-preferred-username",
|
|
1272
1273
|
"account-linking"
|
|
1273
|
-
]),
|
|
1274
|
+
]), en = {
|
|
1274
1275
|
"ensure-username": {
|
|
1275
1276
|
name: "Ensure Username",
|
|
1276
1277
|
description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
|
|
@@ -1290,73 +1291,73 @@ var Yt = e.enum([
|
|
|
1290
1291
|
"post-user-update"
|
|
1291
1292
|
]
|
|
1292
1293
|
}
|
|
1293
|
-
},
|
|
1294
|
+
}, q = {
|
|
1294
1295
|
enabled: e.boolean().default(!1),
|
|
1295
1296
|
synchronous: e.boolean().default(!1),
|
|
1296
1297
|
priority: e.number().optional(),
|
|
1297
1298
|
hook_id: e.string().optional(),
|
|
1298
1299
|
metadata: e.record(e.string(), e.unknown()).optional()
|
|
1299
|
-
},
|
|
1300
|
-
...
|
|
1301
|
-
trigger_id: Yt,
|
|
1302
|
-
url: e.string()
|
|
1303
|
-
}), tn = e.object({
|
|
1304
|
-
...J,
|
|
1300
|
+
}, tn = e.object({
|
|
1301
|
+
...q,
|
|
1305
1302
|
trigger_id: Xt,
|
|
1306
|
-
|
|
1303
|
+
url: e.string()
|
|
1307
1304
|
}), nn = e.object({
|
|
1308
|
-
...
|
|
1305
|
+
...q,
|
|
1309
1306
|
trigger_id: Zt,
|
|
1310
|
-
|
|
1307
|
+
form_id: e.string()
|
|
1311
1308
|
}), rn = e.object({
|
|
1312
|
-
...
|
|
1309
|
+
...q,
|
|
1313
1310
|
trigger_id: Qt,
|
|
1311
|
+
template_id: K
|
|
1312
|
+
}), an = e.object({
|
|
1313
|
+
...q,
|
|
1314
|
+
trigger_id: $t,
|
|
1314
1315
|
code_id: e.string()
|
|
1315
|
-
}),
|
|
1316
|
-
en,
|
|
1316
|
+
}), on = e.union([
|
|
1317
1317
|
tn,
|
|
1318
1318
|
nn,
|
|
1319
|
-
rn
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
}).extend(t.shape).extend({
|
|
1324
|
-
hook_id: e.string(),
|
|
1325
|
-
url: e.string()
|
|
1326
|
-
}), sn = e.object({
|
|
1327
|
-
...J,
|
|
1319
|
+
rn,
|
|
1320
|
+
an
|
|
1321
|
+
]), sn = e.object({
|
|
1322
|
+
...q,
|
|
1328
1323
|
trigger_id: Xt
|
|
1329
1324
|
}).extend(t.shape).extend({
|
|
1330
1325
|
hook_id: e.string(),
|
|
1331
|
-
|
|
1326
|
+
url: e.string()
|
|
1332
1327
|
}), cn = e.object({
|
|
1333
|
-
...
|
|
1328
|
+
...q,
|
|
1334
1329
|
trigger_id: Zt
|
|
1335
1330
|
}).extend(t.shape).extend({
|
|
1336
1331
|
hook_id: e.string(),
|
|
1337
|
-
|
|
1332
|
+
form_id: e.string()
|
|
1338
1333
|
}), ln = e.object({
|
|
1339
|
-
...
|
|
1334
|
+
...q,
|
|
1340
1335
|
trigger_id: Qt
|
|
1336
|
+
}).extend(t.shape).extend({
|
|
1337
|
+
hook_id: e.string(),
|
|
1338
|
+
template_id: K
|
|
1339
|
+
}), un = e.object({
|
|
1340
|
+
...q,
|
|
1341
|
+
trigger_id: $t
|
|
1341
1342
|
}).extend(t.shape).extend({
|
|
1342
1343
|
hook_id: e.string(),
|
|
1343
1344
|
code_id: e.string()
|
|
1344
|
-
}),
|
|
1345
|
-
on,
|
|
1345
|
+
}), dn = e.union([
|
|
1346
1346
|
sn,
|
|
1347
1347
|
cn,
|
|
1348
|
-
ln
|
|
1349
|
-
|
|
1348
|
+
ln,
|
|
1349
|
+
un
|
|
1350
|
+
]), fn = e.object({
|
|
1350
1351
|
code: e.string().max(1e5),
|
|
1351
1352
|
secrets: e.record(e.string(), e.string()).optional()
|
|
1352
|
-
}),
|
|
1353
|
+
}), pn = fn.extend({
|
|
1353
1354
|
id: e.string(),
|
|
1354
1355
|
tenant_id: e.string()
|
|
1355
|
-
}).extend(t.shape),
|
|
1356
|
+
}).extend(t.shape), mn = e.object({ name: e.string().optional() }), hn = e.object({ email: e.string().optional() }), gn = e.object({
|
|
1356
1357
|
id: e.string().optional(),
|
|
1357
1358
|
organization_id: e.string().max(50),
|
|
1358
|
-
inviter:
|
|
1359
|
-
invitee:
|
|
1359
|
+
inviter: mn,
|
|
1360
|
+
invitee: hn,
|
|
1360
1361
|
invitation_url: e.string().url(),
|
|
1361
1362
|
client_id: e.string(),
|
|
1362
1363
|
connection_id: e.string().optional(),
|
|
@@ -1365,13 +1366,13 @@ var Yt = e.enum([
|
|
|
1365
1366
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1366
1367
|
roles: e.array(e.string()).default([]).optional(),
|
|
1367
1368
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1368
|
-
}),
|
|
1369
|
+
}), _n = e.object({
|
|
1369
1370
|
id: e.string(),
|
|
1370
1371
|
organization_id: e.string().max(50),
|
|
1371
1372
|
created_at: e.string().datetime(),
|
|
1372
1373
|
expires_at: e.string().datetime(),
|
|
1373
1374
|
ticket_id: e.string().optional()
|
|
1374
|
-
}).extend(
|
|
1375
|
+
}).extend(gn.omit({ id: !0 }).shape), vn = e.object({
|
|
1375
1376
|
alg: e.enum([
|
|
1376
1377
|
"RS256",
|
|
1377
1378
|
"RS384",
|
|
@@ -1412,7 +1413,7 @@ var Yt = e.enum([
|
|
|
1412
1413
|
path: [r],
|
|
1413
1414
|
message: `EC JWK is missing required member '${r}'`
|
|
1414
1415
|
});
|
|
1415
|
-
}),
|
|
1416
|
+
}), yn = e.object({ keys: e.array(vn) }), bn = e.object({
|
|
1416
1417
|
issuer: e.string(),
|
|
1417
1418
|
authorization_endpoint: e.string(),
|
|
1418
1419
|
token_endpoint: e.string(),
|
|
@@ -1436,33 +1437,33 @@ var Yt = e.enum([
|
|
|
1436
1437
|
request_object_signing_alg_values_supported: e.array(e.string()).optional(),
|
|
1437
1438
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string()),
|
|
1438
1439
|
client_id_metadata_document_supported: e.boolean().optional()
|
|
1439
|
-
}),
|
|
1440
|
+
}), xn = /* @__PURE__ */ function(e) {
|
|
1440
1441
|
return e.PENDING = "pending", e.AUTHENTICATED = "authenticated", e.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", e.AWAITING_MFA = "awaiting_mfa", e.AWAITING_HOOK = "awaiting_hook", e.AWAITING_CONTINUATION = "awaiting_continuation", e.AWAITING_CONSENT = "awaiting_consent", e.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
|
|
1441
|
-
}({}),
|
|
1442
|
+
}({}), Sn = e.nativeEnum(xn), Cn = e.object({
|
|
1442
1443
|
strategy: e.string(),
|
|
1443
1444
|
strategy_type: e.string()
|
|
1444
|
-
}),
|
|
1445
|
+
}), wn = e.object({
|
|
1445
1446
|
csrf_token: e.string(),
|
|
1446
1447
|
auth0Client: e.string().optional(),
|
|
1447
|
-
authParams:
|
|
1448
|
+
authParams: Ge,
|
|
1448
1449
|
expires_at: e.string(),
|
|
1449
1450
|
deleted_at: e.string().optional(),
|
|
1450
1451
|
ip: e.string().optional(),
|
|
1451
1452
|
useragent: e.string().optional(),
|
|
1452
1453
|
session_id: e.string().optional(),
|
|
1453
1454
|
authorization_url: e.string().optional(),
|
|
1454
|
-
state:
|
|
1455
|
+
state: Sn.optional().default("pending"),
|
|
1455
1456
|
state_data: e.string().optional(),
|
|
1456
1457
|
failure_reason: e.string().optional(),
|
|
1457
1458
|
user_id: e.string().optional(),
|
|
1458
1459
|
auth_connection: e.string().optional(),
|
|
1459
|
-
auth_strategy:
|
|
1460
|
+
auth_strategy: Cn.optional(),
|
|
1460
1461
|
authenticated_at: e.string().optional()
|
|
1461
|
-
}).openapi({ description: "This represents a login sesion" }),
|
|
1462
|
+
}).openapi({ description: "This represents a login sesion" }), Tn = wn.extend({
|
|
1462
1463
|
id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
|
|
1463
1464
|
created_at: e.string(),
|
|
1464
1465
|
updated_at: e.string()
|
|
1465
|
-
}),
|
|
1466
|
+
}), J = {
|
|
1466
1467
|
ACLS_SUMMARY: "acls_summary",
|
|
1467
1468
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
1468
1469
|
API_LIMIT: "api_limit",
|
|
@@ -1622,176 +1623,176 @@ var Yt = e.enum([
|
|
|
1622
1623
|
WARNING_DURING_LOGIN: "w",
|
|
1623
1624
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1624
1625
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1625
|
-
},
|
|
1626
|
-
[
|
|
1627
|
-
[
|
|
1628
|
-
[
|
|
1629
|
-
[
|
|
1630
|
-
[
|
|
1631
|
-
[
|
|
1632
|
-
[
|
|
1633
|
-
[
|
|
1634
|
-
[
|
|
1635
|
-
[
|
|
1636
|
-
[
|
|
1637
|
-
[
|
|
1638
|
-
[
|
|
1639
|
-
[
|
|
1640
|
-
[
|
|
1641
|
-
[
|
|
1642
|
-
[
|
|
1643
|
-
[
|
|
1644
|
-
[
|
|
1645
|
-
[
|
|
1646
|
-
[
|
|
1647
|
-
[
|
|
1648
|
-
[
|
|
1649
|
-
[
|
|
1650
|
-
[
|
|
1651
|
-
[
|
|
1652
|
-
[
|
|
1653
|
-
[
|
|
1654
|
-
[
|
|
1655
|
-
[
|
|
1656
|
-
[
|
|
1657
|
-
[
|
|
1658
|
-
[
|
|
1659
|
-
[
|
|
1660
|
-
[
|
|
1661
|
-
[
|
|
1662
|
-
[
|
|
1663
|
-
[
|
|
1664
|
-
[
|
|
1665
|
-
[
|
|
1666
|
-
[
|
|
1667
|
-
[
|
|
1668
|
-
[
|
|
1669
|
-
[
|
|
1670
|
-
[
|
|
1671
|
-
[
|
|
1672
|
-
[
|
|
1673
|
-
[
|
|
1674
|
-
[
|
|
1675
|
-
[
|
|
1676
|
-
[
|
|
1677
|
-
[
|
|
1678
|
-
[
|
|
1679
|
-
[
|
|
1680
|
-
[
|
|
1681
|
-
[
|
|
1682
|
-
[
|
|
1683
|
-
[
|
|
1684
|
-
[
|
|
1685
|
-
[
|
|
1686
|
-
[
|
|
1687
|
-
[
|
|
1688
|
-
[
|
|
1689
|
-
[
|
|
1690
|
-
[
|
|
1691
|
-
[
|
|
1692
|
-
[
|
|
1693
|
-
[
|
|
1694
|
-
[
|
|
1695
|
-
[
|
|
1696
|
-
[
|
|
1697
|
-
[
|
|
1698
|
-
[
|
|
1699
|
-
[
|
|
1700
|
-
[
|
|
1701
|
-
[
|
|
1702
|
-
[
|
|
1703
|
-
[
|
|
1704
|
-
[
|
|
1705
|
-
[
|
|
1706
|
-
[
|
|
1707
|
-
[
|
|
1708
|
-
[
|
|
1709
|
-
[
|
|
1710
|
-
[
|
|
1711
|
-
[
|
|
1712
|
-
[
|
|
1713
|
-
[
|
|
1714
|
-
[
|
|
1715
|
-
[
|
|
1716
|
-
[
|
|
1717
|
-
[
|
|
1718
|
-
[
|
|
1719
|
-
[
|
|
1720
|
-
[
|
|
1721
|
-
[
|
|
1722
|
-
[
|
|
1723
|
-
[
|
|
1724
|
-
[
|
|
1725
|
-
[
|
|
1726
|
-
[
|
|
1727
|
-
[
|
|
1728
|
-
[
|
|
1729
|
-
[
|
|
1730
|
-
[
|
|
1731
|
-
[
|
|
1732
|
-
[
|
|
1733
|
-
[
|
|
1734
|
-
[
|
|
1735
|
-
[
|
|
1736
|
-
[
|
|
1737
|
-
[
|
|
1738
|
-
[
|
|
1739
|
-
[
|
|
1740
|
-
[
|
|
1741
|
-
[
|
|
1742
|
-
[
|
|
1743
|
-
[
|
|
1744
|
-
[
|
|
1745
|
-
[
|
|
1746
|
-
[
|
|
1747
|
-
[
|
|
1748
|
-
[
|
|
1749
|
-
[
|
|
1750
|
-
[
|
|
1751
|
-
[
|
|
1752
|
-
[
|
|
1753
|
-
[
|
|
1754
|
-
[
|
|
1755
|
-
[
|
|
1756
|
-
[
|
|
1757
|
-
[
|
|
1758
|
-
[
|
|
1759
|
-
[
|
|
1760
|
-
[
|
|
1761
|
-
[
|
|
1762
|
-
[
|
|
1763
|
-
[
|
|
1764
|
-
[
|
|
1765
|
-
[
|
|
1766
|
-
[
|
|
1767
|
-
[
|
|
1768
|
-
[
|
|
1769
|
-
[
|
|
1770
|
-
[
|
|
1771
|
-
[
|
|
1772
|
-
[
|
|
1773
|
-
[
|
|
1774
|
-
[
|
|
1775
|
-
[
|
|
1776
|
-
[
|
|
1777
|
-
[
|
|
1778
|
-
[
|
|
1779
|
-
[
|
|
1780
|
-
[
|
|
1781
|
-
[
|
|
1782
|
-
[
|
|
1783
|
-
[
|
|
1784
|
-
[
|
|
1785
|
-
},
|
|
1626
|
+
}, En = e.string().refine((e) => Object.values(J).includes(e), { message: "Invalid log type" }), Dn = {
|
|
1627
|
+
[J.ACLS_SUMMARY]: "ACLs Summary",
|
|
1628
|
+
[J.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
|
|
1629
|
+
[J.API_LIMIT]: "API Rate Limit Reached",
|
|
1630
|
+
[J.API_LIMIT_WARNING]: "API Rate Limit Warning",
|
|
1631
|
+
[J.APPI]: "API Operation",
|
|
1632
|
+
[J.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
|
|
1633
|
+
[J.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
|
|
1634
|
+
[J.CIBA_START_FAILED]: "CIBA Start Failed",
|
|
1635
|
+
[J.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
|
|
1636
|
+
[J.CODE_LINK_SENT]: "Code/Link Sent",
|
|
1637
|
+
[J.CODE_SENT]: "Code Sent",
|
|
1638
|
+
[J.DEPRECATION_NOTICE]: "Deprecation Notice",
|
|
1639
|
+
[J.FAILED_LOGIN]: "Failed Login",
|
|
1640
|
+
[J.FAILED_BY_CONNECTOR]: "Failed by Connector",
|
|
1641
|
+
[J.FAILED_CHANGE_EMAIL]: "Failed Change Email",
|
|
1642
|
+
[J.FAILED_BY_CORS]: "Failed by CORS",
|
|
1643
|
+
[J.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
|
|
1644
|
+
[J.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
|
|
1645
|
+
[J.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
|
|
1646
|
+
[J.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
|
|
1647
|
+
[J.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
|
|
1648
|
+
[J.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
|
|
1649
|
+
[J.FAILED_CHANGE_USERNAME]: "Failed Change Username",
|
|
1650
|
+
[J.FAILED_DELEGATION]: "Failed Delegation",
|
|
1651
|
+
[J.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
|
|
1652
|
+
[J.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
|
|
1653
|
+
[J.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
|
|
1654
|
+
[J.FAILED_USER_DELETION]: "Failed User Deletion",
|
|
1655
|
+
[J.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
|
|
1656
|
+
[J.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
|
|
1657
|
+
[J.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
|
|
1658
|
+
[J.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
|
|
1659
|
+
[J.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
|
|
1660
|
+
[J.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
|
|
1661
|
+
[J.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
|
|
1662
|
+
[J.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
|
|
1663
|
+
[J.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
|
|
1664
|
+
[J.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
|
|
1665
|
+
[J.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
|
|
1666
|
+
[J.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
|
|
1667
|
+
[J.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
|
|
1668
|
+
[J.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
|
|
1669
|
+
[J.FAILED_HOOK]: "Failed Hook",
|
|
1670
|
+
[J.FAILED_IMPERSONATION]: "Failed Impersonation",
|
|
1671
|
+
[J.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
|
|
1672
|
+
[J.FAILED_LOGOUT]: "Failed Logout",
|
|
1673
|
+
[J.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
|
|
1674
|
+
[J.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
|
|
1675
|
+
[J.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
|
|
1676
|
+
[J.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
|
|
1677
|
+
[J.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
|
|
1678
|
+
[J.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
|
|
1679
|
+
[J.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
|
|
1680
|
+
[J.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
|
|
1681
|
+
[J.FAILED_SIGNUP]: "Failed Signup",
|
|
1682
|
+
[J.FAILED_SILENT_AUTH]: "Failed Silent Auth",
|
|
1683
|
+
[J.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
|
|
1684
|
+
[J.FAILED_USERS_IMPORT]: "Failed Users Import",
|
|
1685
|
+
[J.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
|
|
1686
|
+
[J.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
|
|
1687
|
+
[J.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
|
|
1688
|
+
[J.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
|
|
1689
|
+
[J.MFA_AUTH_FAILED]: "MFA Auth Failed",
|
|
1690
|
+
[J.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
|
|
1691
|
+
[J.MFA_AUTH_SUCCESS]: "MFA Auth Success",
|
|
1692
|
+
[J.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
|
|
1693
|
+
[J.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
|
|
1694
|
+
[J.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
|
|
1695
|
+
[J.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
|
|
1696
|
+
[J.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
|
|
1697
|
+
[J.MFA_EMAIL_SENT]: "MFA Email Sent",
|
|
1698
|
+
[J.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
|
|
1699
|
+
[J.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
|
|
1700
|
+
[J.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
|
|
1701
|
+
[J.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
|
|
1702
|
+
[J.MFA_SMS_SENT]: "MFA SMS Sent",
|
|
1703
|
+
[J.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
|
|
1704
|
+
[J.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
|
|
1705
|
+
[J.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
|
|
1706
|
+
[J.SECOND_FACTOR_STARTED]: "Second Factor Started",
|
|
1707
|
+
[J.MFA_ENROLL_STARTED]: "MFA Enroll Started",
|
|
1708
|
+
[J.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
|
|
1709
|
+
[J.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
|
|
1710
|
+
[J.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
|
|
1711
|
+
[J.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
|
|
1712
|
+
[J.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
|
|
1713
|
+
[J.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
|
|
1714
|
+
[J.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
|
|
1715
|
+
[J.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
|
|
1716
|
+
[J.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
|
|
1717
|
+
[J.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
|
|
1718
|
+
[J.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
|
|
1719
|
+
[J.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
|
|
1720
|
+
[J.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
|
|
1721
|
+
[J.INFORMATION]: "Information",
|
|
1722
|
+
[J.MFA_REQUIRED]: "MFA Required",
|
|
1723
|
+
[J.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
|
|
1724
|
+
[J.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
|
|
1725
|
+
[J.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
|
|
1726
|
+
[J.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
|
|
1727
|
+
[J.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
|
|
1728
|
+
[J.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
|
|
1729
|
+
[J.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
|
|
1730
|
+
[J.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
|
|
1731
|
+
[J.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
|
|
1732
|
+
[J.BREACHED_PASSWORD]: "Breached Password",
|
|
1733
|
+
[J.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
|
|
1734
|
+
[J.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
|
|
1735
|
+
[J.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
|
|
1736
|
+
[J.SUCCESS_LOGIN]: "Success Login",
|
|
1737
|
+
[J.SUCCESS_API_OPERATION]: "Success API Operation",
|
|
1738
|
+
[J.FAILED_API_OPERATION]: "Failed API Operation",
|
|
1739
|
+
[J.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
|
|
1740
|
+
[J.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
|
|
1741
|
+
[J.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
|
|
1742
|
+
[J.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
|
|
1743
|
+
[J.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
|
|
1744
|
+
[J.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
|
|
1745
|
+
[J.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
|
|
1746
|
+
[J.SUCCESS_DELEGATION]: "Success Delegation",
|
|
1747
|
+
[J.SUCCESS_USER_DELETION]: "Success User Deletion",
|
|
1748
|
+
[J.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
|
|
1749
|
+
[J.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
|
|
1750
|
+
[J.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
|
|
1751
|
+
[J.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
|
|
1752
|
+
[J.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
|
|
1753
|
+
[J.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
|
|
1754
|
+
[J.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
|
|
1755
|
+
[J.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
|
|
1756
|
+
[J.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
|
|
1757
|
+
[J.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
|
|
1758
|
+
[J.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
|
|
1759
|
+
[J.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
|
|
1760
|
+
[J.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
|
|
1761
|
+
[J.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
|
|
1762
|
+
[J.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
|
|
1763
|
+
[J.SUCCESS_IMPERSONATION]: "Success Impersonation",
|
|
1764
|
+
[J.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
|
|
1765
|
+
[J.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
|
|
1766
|
+
[J.SUCCESS_LOGOUT]: "Success Logout",
|
|
1767
|
+
[J.SUCCESS_HOOK]: "Success Hook",
|
|
1768
|
+
[J.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
|
|
1769
|
+
[J.SUCCESS_REVOCATION]: "Success Revocation",
|
|
1770
|
+
[J.SUCCESS_SIGNUP]: "Success Signup",
|
|
1771
|
+
[J.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
|
|
1772
|
+
[J.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
|
|
1773
|
+
[J.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
|
|
1774
|
+
[J.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
|
|
1775
|
+
[J.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
|
|
1776
|
+
[J.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
|
|
1777
|
+
[J.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
|
|
1778
|
+
[J.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
|
|
1779
|
+
[J.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
|
|
1780
|
+
[J.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
|
|
1781
|
+
[J.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
|
|
1782
|
+
[J.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
|
|
1783
|
+
[J.WARNING_DURING_LOGIN]: "Warning During Login",
|
|
1784
|
+
[J.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
|
|
1785
|
+
[J.WARNING_USER_MANAGEMENT]: "Warning User Management"
|
|
1786
|
+
}, Y = (() => {
|
|
1786
1787
|
let e = {};
|
|
1787
|
-
for (let [t, n] of Object.entries(
|
|
1788
|
+
for (let [t, n] of Object.entries(J)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
|
|
1788
1789
|
return e;
|
|
1789
1790
|
})();
|
|
1790
1791
|
function On(e) {
|
|
1791
|
-
return
|
|
1792
|
+
return Dn[e] ?? e;
|
|
1792
1793
|
}
|
|
1793
1794
|
function kn(e) {
|
|
1794
|
-
return
|
|
1795
|
+
return Y[e] ?? "other";
|
|
1795
1796
|
}
|
|
1796
1797
|
var An = e.object({
|
|
1797
1798
|
name: e.string(),
|
|
@@ -1805,7 +1806,7 @@ var An = e.object({
|
|
|
1805
1806
|
time_zone: e.string(),
|
|
1806
1807
|
continent_code: e.string()
|
|
1807
1808
|
}), Mn = e.object({
|
|
1808
|
-
type:
|
|
1809
|
+
type: En,
|
|
1809
1810
|
date: e.string(),
|
|
1810
1811
|
description: e.string().optional(),
|
|
1811
1812
|
ip: e.string().optional(),
|
|
@@ -2706,7 +2707,7 @@ var Ai = e.enum([
|
|
|
2706
2707
|
friendly_name: e.string().optional(),
|
|
2707
2708
|
confirmed: e.boolean().default(!1)
|
|
2708
2709
|
});
|
|
2709
|
-
function
|
|
2710
|
+
function Mi(t, n) {
|
|
2710
2711
|
t.type === "phone" && !t.phone_number && n.addIssue({
|
|
2711
2712
|
code: e.ZodIssueCode.custom,
|
|
2712
2713
|
message: "phone_number is required when type is 'phone'",
|
|
@@ -2729,18 +2730,18 @@ function $(t, n) {
|
|
|
2729
2730
|
path: ["public_key"]
|
|
2730
2731
|
}));
|
|
2731
2732
|
}
|
|
2732
|
-
var
|
|
2733
|
+
var Ni = ji.superRefine(Mi), Pi = ji.extend({
|
|
2733
2734
|
id: e.string(),
|
|
2734
2735
|
created_at: e.string(),
|
|
2735
2736
|
updated_at: e.string()
|
|
2736
|
-
}).superRefine(
|
|
2737
|
+
}).superRefine(Mi), Fi = e.object({
|
|
2737
2738
|
id: e.string().optional(),
|
|
2738
2739
|
created_at: e.string().datetime({ offset: !0 }).optional(),
|
|
2739
2740
|
updated_at: e.string().datetime({ offset: !0 }).optional()
|
|
2740
2741
|
});
|
|
2741
2742
|
//#endregion
|
|
2742
2743
|
//#region src/utils/user-id.ts
|
|
2743
|
-
function
|
|
2744
|
+
function Ii(e) {
|
|
2744
2745
|
let [t, n] = e.split("|");
|
|
2745
2746
|
if (!t || !n) throw Error(`Invalid user_id: ${e}`);
|
|
2746
2747
|
return {
|
|
@@ -2750,7 +2751,7 @@ function Fi(e) {
|
|
|
2750
2751
|
}
|
|
2751
2752
|
//#endregion
|
|
2752
2753
|
//#region src/utils/passthrough.ts
|
|
2753
|
-
function
|
|
2754
|
+
function Li(e) {
|
|
2754
2755
|
let { primary: t, secondaries: n, syncMethods: r = [
|
|
2755
2756
|
"create",
|
|
2756
2757
|
"rawCreate",
|
|
@@ -2784,12 +2785,12 @@ function Ii(e) {
|
|
|
2784
2785
|
} : i.bind(e) : i;
|
|
2785
2786
|
} });
|
|
2786
2787
|
}
|
|
2787
|
-
function
|
|
2788
|
+
function Ri(e) {
|
|
2788
2789
|
return e;
|
|
2789
2790
|
}
|
|
2790
2791
|
//#endregion
|
|
2791
2792
|
//#region src/utils/connection-attributes.ts
|
|
2792
|
-
function
|
|
2793
|
+
function zi(e) {
|
|
2793
2794
|
let t = e?.options;
|
|
2794
2795
|
if (!t) return {
|
|
2795
2796
|
usernameIdentifierActive: !1,
|
|
@@ -2812,8 +2813,39 @@ function Ri(e) {
|
|
|
2812
2813
|
}
|
|
2813
2814
|
//#endregion
|
|
2814
2815
|
//#region src/utils/guards.ts
|
|
2815
|
-
function
|
|
2816
|
+
function Bi(e) {
|
|
2816
2817
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
2817
2818
|
}
|
|
2818
2819
|
//#endregion
|
|
2819
|
-
|
|
2820
|
+
//#region src/utils/base64url.ts
|
|
2821
|
+
function Vi(e) {
|
|
2822
|
+
let t = "";
|
|
2823
|
+
for (let n of e) t += String.fromCharCode(n);
|
|
2824
|
+
return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
2825
|
+
}
|
|
2826
|
+
function Hi(e) {
|
|
2827
|
+
let t = e.replace(/-/g, "+").replace(/_/g, "/"), n = atob(t), r = new Uint8Array(n.length);
|
|
2828
|
+
for (let e = 0; e < n.length; e++) r[e] = n.charCodeAt(e);
|
|
2829
|
+
return r;
|
|
2830
|
+
}
|
|
2831
|
+
function Ui(e) {
|
|
2832
|
+
return Vi(new TextEncoder().encode(e));
|
|
2833
|
+
}
|
|
2834
|
+
function $(e) {
|
|
2835
|
+
return new TextDecoder().decode(Hi(e));
|
|
2836
|
+
}
|
|
2837
|
+
//#endregion
|
|
2838
|
+
//#region src/utils/cursor.ts
|
|
2839
|
+
function Wi(e) {
|
|
2840
|
+
return Ui(JSON.stringify(e));
|
|
2841
|
+
}
|
|
2842
|
+
function Gi(e) {
|
|
2843
|
+
try {
|
|
2844
|
+
let t = JSON.parse($(e));
|
|
2845
|
+
return t && typeof t == "object" && typeof t.i == "string" ? t : null;
|
|
2846
|
+
} catch {
|
|
2847
|
+
return null;
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
//#endregion
|
|
2851
|
+
export { ve as Auth0ActionEnum, An as Auth0Client, Ve as AuthorizationResponseMode, Be as AuthorizationResponseType, He as CodeChallengeMethod, k as ComponentCategory, O as ComponentType, Oi as DATABASE_CONNECTION_STRATEGY, ye as EmailActionEnum, It as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, mr as GrantType, jn as LocationInfo, J as LogTypes, xn as LoginSessionState, je as NodeType, p as RedirectTargetEnum, Ei as Strategy, Di as StrategyType, r as actionDependencySchema, te as actionExecutionErrorSchema, oe as actionExecutionInsertSchema, re as actionExecutionLogEntrySchema, ie as actionExecutionLogsSchema, ne as actionExecutionResultSchema, ae as actionExecutionSchema, c as actionExecutionStatusSchema, s as actionExecutionTriggerIdSchema, a as actionInsertSchema, Ne as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, se as actionVersionInsertSchema, ce as actionVersionSchema, hi as activeUsersResponseSchema, ue as actorSchema, v as addressSchema, bi as analyticsColumnMetaSchema, vi as analyticsGroupBySchema, _i as analyticsIntervalSchema, Si as analyticsQueryResponseSchema, gi as analyticsResourceSchema, xi as analyticsStatisticsSchema, yi as analyticsUserTypeSchema, Gn as attackProtectionSchema, le as auditCategorySchema, l as auditEventInsertSchema, ge as auditEventSchema, he as auth0ClientSchema, ze as auth0FlowInsertSchema, Re as auth0FlowSchema, xe as auth0QuerySchema, d as auth0UpdateUserActionSchema, we as auth0UserResponseSchema, Ge as authParamsSchema, Ni as authenticationMethodInsertSchema, Pi as authenticationMethodSchema, Ai as authenticationMethodTypeSchema, y as baseUserSchema, Nt as blockComponentSchema, gr as bordersSchema, Ke as brandingSchema, Hn as breachedPasswordDetectionSchema, Un as bruteForceProtectionSchema, M as buttonComponentSchema, We as claimsRequestSchema, C as clientGrantInsertSchema, ke as clientGrantListSchema, w as clientGrantSchema, S as clientInsertSchema, E as clientRegistrationTokenInsertSchema, Ae as clientRegistrationTokenSchema, T as clientRegistrationTokenTypeSchema, Oe as clientSchema, Je as codeInsertSchema, Ye as codeSchema, qe as codeTypeSchema, _r as colorsSchema, Wt as componentMessageSchema, I as componentSchema, Ze as connectionInsertSchema, Xe as connectionOptionsSchema, Qe as connectionSchema, D as coordinatesSchema, Li as createPassthroughAdapter, Ri as createWriteOnlyAdapter, rt as customDomainCertificateUploadSchema, z as customDomainInsertSchema, et as customDomainSchema, tt as customDomainUpdateSchema, nt as customDomainWithTenantIdSchema, Ti as customTextEntrySchema, wi as customTextSchema, mi as dailyStatsSchema, Hi as decodeBase64Url, $ as decodeBase64UrlString, Gi as decodeCursor, Or as emailProviderSchema, kr as emailTemplateNameSchema, Ar as emailTemplateSchema, u as emailVerificationRulesSchema, f as emailVerifyActionSchema, Vi as encodeBase64Url, Ui as encodeBase64UrlString, Wi as encodeCursor, Le as endingSchema, Ft as fieldComponentSchema, h as flowActionStepSchema, g as flowInsertSchema, be as flowSchema, P as flowsFieldComponentSchema, Me as flowsFlowNodeSchema, L as flowsStepNodeSchema, Z as fontDetailsSchema, vr as fontsSchema, Lt as formControlSchema, Ht as formInsertSchema, W as formNodeComponentDefinition, Vt as formNodeSchema, Ut as formSchema, F as genericComponentSchema, Pe as genericNodeSchema, zi as getConnectionIdentifierConfig, kn as getLogTypeCategory, On as getLogTypeDescription, Ur as grantInsertSchema, Wr as grantSchema, Tr as handlerConfigSchema, fn as hookCodeInsertSchema, pn as hookCodeSchema, on as hookInsertSchema, dn as hookSchema, K as hookTemplateId, en as hookTemplates, Ce as identitySchema, Fi as importMetadataSchema, gn as inviteInsertSchema, _n as inviteSchema, hn as inviteeSchema, mn as inviterSchema, qt as isBlockComponent, ki as isDatabaseConnectionStrategy, Yt as isFieldComponent, Bi as isPlainObject, Jt as isWidgetComponent, yn as jwksKeySchema, vn as jwksSchema, N as legalComponentSchema, me as locationInfoSchema, Mn as logInsertSchema, Nn as logSchema, Fn as logStreamFilterSchema, In as logStreamInsertSchema, Ln as logStreamSchema, X as logStreamStatusSchema, Pn as logStreamTypeSchema, Y as logTypeCategories, Dn as logTypeDescriptions, Cn as loginSessionAuthStrategySchema, wn as loginSessionInsertSchema, Tn as loginSessionSchema, Sn as loginSessionStateSchema, wr as matchSchema, Rn as migrationProviderTypeSchema, zn as migrationSourceCredentialsSchema, Bn as migrationSourceInsertSchema, Vn as migrationSourceSchema, Fe as nodeSchema, bn as openIDConfigurationSchema, ri as organizationBrandingSchema, ci as organizationConnectionInsertSchema, ui as organizationConnectionListSchema, li as organizationConnectionSchema, ii as organizationEnabledConnectionSchema, oi as organizationInsertSchema, si as organizationSchema, ai as organizationTokenQuotaSchema, yr as pageBackgroundSchema, Ii as parseUserId, Kn as passwordInsertSchema, qn as passwordSchema, _ as profileDataSchema, Ci as promptScreenSchema, Cr as promptSettingSchema, Q as proxyRouteInsertSchema, Er as proxyRouteSchema, Dr as proxyRouteUpdateSchema, m as redirectActionSchema, jr as refreshTokenInsertSchema, Mr as refreshTokenSchema, fe as requestContextSchema, Lr as resourceServerInsertSchema, zr as resourceServerListSchema, Ir as resourceServerOptionsSchema, Rr as resourceServerSchema, Fr as resourceServerScopeSchema, pe as responseContextSchema, j as richTextComponentSchema, ei as roleInsertSchema, ni as roleListSchema, Br as rolePermissionInsertSchema, Hr as rolePermissionListSchema, Vr as rolePermissionSchema, ti as roleSchema, dr as rolloutInsertSchema, lr as rolloutKindSchema, fr as rolloutSchema, ur as rolloutStatusSchema, pr as rolloutUpdateSchema, Gt as screenLinkSchema, Yn as sessionInsertSchema, Xn as sessionSchema, Zn as signingKeySchema, Pr as smsProviderSchema, Nr as smsSendParamsSchema, Ie as startSchema, Wn as suspiciousIpThrottlingSchema, de as targetSchema, Qn as tenantInsertSchema, nr as tenantOperationEngineSchema, sr as tenantOperationEventInsertSchema, or as tenantOperationEventOutcomeSchema, cr as tenantOperationEventSchema, rr as tenantOperationInsertSchema, er as tenantOperationKindSchema, ir as tenantOperationSchema, tr as tenantOperationStatusSchema, ar as tenantOperationUpdateSchema, $n as tenantSchema, pi as tenantSettingsSchema, xr as themeInsertSchema, Sr as themeSchema, hr as tokenResponseSchema, Se as totalsSchema, Kt as uiScreenSchema, Gr as userActivitySchema, b as userInsertSchema, di as userOrganizationInsertSchema, fi as userOrganizationSchema, Kr as userPermissionInsertSchema, Jr as userPermissionListSchema, qr as userPermissionSchema, Xr as userPermissionWithDetailsListSchema, Yr as userPermissionWithDetailsSchema, Te as userResponseSchema, Zr as userRoleInsertSchema, $r as userRoleListSchema, Qr as userRoleSchema, x as userSchema, $e as verificationMethodsSchema, Pt as widgetComponentSchema, br as widgetSchema };
|