@authhero/adapter-interfaces 3.7.0 → 3.8.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 +22 -2
- package/dist/adapter-interfaces.mjs +428 -420
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/Themes.d.ts +0 -1
- package/dist/types/types/AuditEvent.d.ts +4 -0
- package/dist/types/types/Strategy.d.ts +17 -0
- package/package.json +1 -1
|
@@ -74,7 +74,7 @@ var t = e.object({
|
|
|
74
74
|
tenant_id: !0,
|
|
75
75
|
created_at: !0,
|
|
76
76
|
updated_at: !0
|
|
77
|
-
}),
|
|
77
|
+
}), u = 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
|
+
}), oe = u.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), se = e.enum([
|
|
90
90
|
"user_action",
|
|
91
91
|
"admin_action",
|
|
92
92
|
"system",
|
|
93
93
|
"api"
|
|
94
|
-
]),
|
|
94
|
+
]), ce = 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
|
+
}), le = 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
|
+
}), ue = e.object({
|
|
118
118
|
method: e.string(),
|
|
119
119
|
path: e.string(),
|
|
120
120
|
query: e.record(e.string(), e.string()).optional(),
|
|
@@ -122,58 +122,60 @@ 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
|
+
}), de = e.object({
|
|
126
126
|
status_code: e.number(),
|
|
127
127
|
body: e.unknown().optional()
|
|
128
|
-
}),
|
|
128
|
+
}), fe = 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
|
+
}), pe = e.object({
|
|
136
136
|
name: e.string(),
|
|
137
137
|
version: e.string(),
|
|
138
138
|
env: e.record(e.string(), e.string()).optional()
|
|
139
|
-
}),
|
|
139
|
+
}), d = 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: se,
|
|
145
|
+
actor: ce,
|
|
146
|
+
target: le,
|
|
147
|
+
request: ue,
|
|
148
|
+
response: de.optional(),
|
|
149
149
|
connection: e.string().optional(),
|
|
150
|
+
connection_id: e.string().optional(),
|
|
151
|
+
client_name: e.string().optional(),
|
|
150
152
|
strategy: e.string().optional(),
|
|
151
153
|
strategy_type: e.string().optional(),
|
|
152
154
|
audience: e.string().optional(),
|
|
153
155
|
scope: e.string().optional(),
|
|
154
|
-
location:
|
|
155
|
-
auth0_client:
|
|
156
|
+
location: fe.optional(),
|
|
157
|
+
auth0_client: pe.optional(),
|
|
156
158
|
hostname: e.string(),
|
|
157
159
|
is_mobile: e.boolean().optional(),
|
|
158
160
|
timestamp: e.string()
|
|
159
|
-
}),
|
|
161
|
+
}), me = d.extend({ id: e.string() }), he = e.enum([
|
|
160
162
|
"AUTH0",
|
|
161
163
|
"EMAIL",
|
|
162
164
|
"REDIRECT"
|
|
163
|
-
]),
|
|
165
|
+
]), ge = e.enum([
|
|
164
166
|
"CREATE_USER",
|
|
165
167
|
"GET_USER",
|
|
166
168
|
"UPDATE_USER",
|
|
167
169
|
"SEND_REQUEST",
|
|
168
170
|
"SEND_EMAIL"
|
|
169
|
-
]),
|
|
171
|
+
]), _e = e.enum(["VERIFY_EMAIL"]), f = e.object({
|
|
170
172
|
require_mx_record: e.boolean().optional(),
|
|
171
173
|
block_aliases: e.boolean().optional(),
|
|
172
174
|
block_free_emails: e.boolean().optional(),
|
|
173
175
|
block_disposable_emails: e.boolean().optional(),
|
|
174
176
|
blocklist: e.array(e.string()).optional(),
|
|
175
177
|
allowlist: e.array(e.string()).optional()
|
|
176
|
-
}),
|
|
178
|
+
}), p = e.object({
|
|
177
179
|
id: e.string(),
|
|
178
180
|
alias: e.string().max(100).optional(),
|
|
179
181
|
type: e.literal("AUTH0"),
|
|
@@ -185,7 +187,7 @@ var t = e.object({
|
|
|
185
187
|
user_id: e.string(),
|
|
186
188
|
changes: e.record(e.string(), e.any())
|
|
187
189
|
})
|
|
188
|
-
}),
|
|
190
|
+
}), m = e.object({
|
|
189
191
|
id: e.string(),
|
|
190
192
|
alias: e.string().max(100).optional(),
|
|
191
193
|
type: e.literal("EMAIL"),
|
|
@@ -194,13 +196,13 @@ var t = e.object({
|
|
|
194
196
|
mask_output: e.boolean().optional(),
|
|
195
197
|
params: e.object({
|
|
196
198
|
email: e.string(),
|
|
197
|
-
rules:
|
|
199
|
+
rules: f.optional()
|
|
198
200
|
})
|
|
199
|
-
}),
|
|
201
|
+
}), h = e.enum([
|
|
200
202
|
"change-email",
|
|
201
203
|
"account",
|
|
202
204
|
"custom"
|
|
203
|
-
]),
|
|
205
|
+
]), g = e.object({
|
|
204
206
|
id: e.string(),
|
|
205
207
|
alias: e.string().max(100).optional(),
|
|
206
208
|
type: e.literal("REDIRECT"),
|
|
@@ -208,31 +210,31 @@ var t = e.object({
|
|
|
208
210
|
allow_failure: e.boolean().optional(),
|
|
209
211
|
mask_output: e.boolean().optional(),
|
|
210
212
|
params: e.object({
|
|
211
|
-
target:
|
|
213
|
+
target: h.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
|
|
212
214
|
custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
|
|
213
215
|
})
|
|
214
|
-
}),
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
]),
|
|
216
|
+
}), _ = e.union([
|
|
217
|
+
p,
|
|
218
|
+
m,
|
|
219
|
+
g
|
|
220
|
+
]), v = e.object({
|
|
219
221
|
name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
|
|
220
|
-
actions: e.array(
|
|
221
|
-
}),
|
|
222
|
+
actions: e.array(_).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
|
|
223
|
+
}), ve = v.extend(t.shape).extend({ id: e.string().openapi({
|
|
222
224
|
description: "Unique identifier for the flow",
|
|
223
225
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
224
|
-
}) }),
|
|
226
|
+
}) }), ye = e.object({
|
|
225
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" }),
|
|
226
228
|
per_page: e.string().min(1).optional().default("10").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page" }),
|
|
227
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" }),
|
|
228
230
|
sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
|
|
229
231
|
q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
|
|
230
|
-
}),
|
|
232
|
+
}), be = e.object({
|
|
231
233
|
start: e.number(),
|
|
232
234
|
limit: e.number(),
|
|
233
235
|
length: e.number(),
|
|
234
236
|
total: e.number().optional()
|
|
235
|
-
}),
|
|
237
|
+
}), y = e.object({
|
|
236
238
|
email: e.string().optional(),
|
|
237
239
|
email_verified: e.boolean().optional(),
|
|
238
240
|
name: e.string().optional(),
|
|
@@ -241,7 +243,7 @@ var t = e.object({
|
|
|
241
243
|
phone_number: e.string().optional(),
|
|
242
244
|
phone_verified: e.boolean().optional(),
|
|
243
245
|
family_name: e.string().optional()
|
|
244
|
-
}).catchall(e.any()),
|
|
246
|
+
}).catchall(e.any()), xe = e.object({
|
|
245
247
|
connection: e.string(),
|
|
246
248
|
user_id: e.string(),
|
|
247
249
|
provider: e.string(),
|
|
@@ -254,15 +256,15 @@ var t = e.object({
|
|
|
254
256
|
access_token: e.string().optional(),
|
|
255
257
|
access_token_secret: e.string().optional(),
|
|
256
258
|
refresh_token: e.string().optional(),
|
|
257
|
-
profileData:
|
|
258
|
-
}),
|
|
259
|
+
profileData: y.optional()
|
|
260
|
+
}), b = e.object({
|
|
259
261
|
formatted: e.string().optional(),
|
|
260
262
|
street_address: e.string().optional(),
|
|
261
263
|
locality: e.string().optional(),
|
|
262
264
|
region: e.string().optional(),
|
|
263
265
|
postal_code: e.string().optional(),
|
|
264
266
|
country: e.string().optional()
|
|
265
|
-
}).optional(),
|
|
267
|
+
}).optional(), x = e.object({
|
|
266
268
|
email: e.string().transform((e) => e.toLowerCase()).optional(),
|
|
267
269
|
username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
|
|
268
270
|
phone_number: e.string().optional(),
|
|
@@ -285,8 +287,8 @@ var t = e.object({
|
|
|
285
287
|
gender: e.string().optional(),
|
|
286
288
|
birthdate: e.string().optional(),
|
|
287
289
|
zoneinfo: e.string().optional(),
|
|
288
|
-
address:
|
|
289
|
-
}),
|
|
290
|
+
address: b
|
|
291
|
+
}), S = x.extend({
|
|
290
292
|
email_verified: e.boolean().default(!1),
|
|
291
293
|
verify_email: e.boolean().optional(),
|
|
292
294
|
last_ip: e.string().optional(),
|
|
@@ -300,29 +302,29 @@ var t = e.object({
|
|
|
300
302
|
hash: e.string(),
|
|
301
303
|
algorithm: e.string()
|
|
302
304
|
}).optional()
|
|
303
|
-
}),
|
|
305
|
+
}), C = S.omit({ password: !0 }).extend(t.shape).extend({
|
|
304
306
|
user_id: e.string(),
|
|
305
307
|
provider: e.string(),
|
|
306
308
|
is_social: e.boolean(),
|
|
307
309
|
email: e.string().optional(),
|
|
308
310
|
login_count: e.number().default(0),
|
|
309
|
-
identities: e.array(
|
|
310
|
-
}),
|
|
311
|
+
identities: e.array(xe).optional()
|
|
312
|
+
}), Se = C.omit({ registration_completed_at: !0 }), Ce = x.extend({
|
|
311
313
|
login_count: e.number(),
|
|
312
314
|
multifactor: e.array(e.string()).optional(),
|
|
313
315
|
last_ip: e.string().optional(),
|
|
314
316
|
last_login: e.string().optional(),
|
|
315
317
|
user_id: e.string()
|
|
316
|
-
}).catchall(e.any()),
|
|
318
|
+
}).catchall(e.any()), we = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Te = (e = 21) => {
|
|
317
319
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
318
|
-
for (; e--;) t +=
|
|
320
|
+
for (; e--;) t += we[n[e] & 63];
|
|
319
321
|
return t;
|
|
320
|
-
},
|
|
322
|
+
}, w = e.object({
|
|
321
323
|
client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
|
|
322
324
|
name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
|
|
323
325
|
description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
|
|
324
326
|
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)." }),
|
|
325
|
-
client_secret: e.string().default(() =>
|
|
327
|
+
client_secret: e.string().default(() => Te()).optional().openapi({ description: "Client secret (which you must not make public)." }),
|
|
326
328
|
app_type: e.enum([
|
|
327
329
|
"native",
|
|
328
330
|
"spa",
|
|
@@ -429,10 +431,10 @@ var t = e.object({
|
|
|
429
431
|
]).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." }),
|
|
430
432
|
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." }),
|
|
431
433
|
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." })
|
|
432
|
-
}),
|
|
434
|
+
}), Ee = e.object({
|
|
433
435
|
created_at: e.string(),
|
|
434
436
|
updated_at: e.string()
|
|
435
|
-
}).extend(
|
|
437
|
+
}).extend(w.shape).extend({ client_id: e.string() }), T = e.object({
|
|
436
438
|
client_id: e.string().min(1).openapi({ description: "ID of the client." }),
|
|
437
439
|
audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
|
|
438
440
|
scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
|
|
@@ -445,38 +447,38 @@ var t = e.object({
|
|
|
445
447
|
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." }),
|
|
446
448
|
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." }),
|
|
447
449
|
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." })
|
|
448
|
-
}),
|
|
450
|
+
}), E = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(T.shape).extend({
|
|
449
451
|
created_at: e.string().optional(),
|
|
450
452
|
updated_at: e.string().optional()
|
|
451
|
-
}),
|
|
453
|
+
}), De = e.array(E), D = e.enum(["iat", "rat"]), O = e.object({
|
|
452
454
|
id: e.string(),
|
|
453
455
|
token_hash: e.string(),
|
|
454
|
-
type:
|
|
456
|
+
type: D,
|
|
455
457
|
client_id: e.string().optional(),
|
|
456
458
|
sub: e.string().optional(),
|
|
457
459
|
constraints: e.record(e.string(), e.unknown()).optional(),
|
|
458
460
|
single_use: e.boolean().default(!1),
|
|
459
461
|
expires_at: e.string().optional()
|
|
460
|
-
}),
|
|
462
|
+
}), Oe = e.object({
|
|
461
463
|
created_at: e.string(),
|
|
462
464
|
used_at: e.string().optional(),
|
|
463
465
|
revoked_at: e.string().optional()
|
|
464
|
-
}).extend(
|
|
466
|
+
}).extend(O.shape), k = e.object({
|
|
465
467
|
x: e.number(),
|
|
466
468
|
y: e.number()
|
|
467
|
-
}),
|
|
469
|
+
}), A = /* @__PURE__ */ function(e) {
|
|
468
470
|
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;
|
|
469
|
-
}({}),
|
|
471
|
+
}({}), j = /* @__PURE__ */ function(e) {
|
|
470
472
|
return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
|
|
471
|
-
}({}),
|
|
473
|
+
}({}), M = e.object({
|
|
472
474
|
id: e.string(),
|
|
473
|
-
category: e.nativeEnum(
|
|
474
|
-
type: e.nativeEnum(
|
|
475
|
-
}),
|
|
475
|
+
category: e.nativeEnum(j),
|
|
476
|
+
type: e.nativeEnum(A)
|
|
477
|
+
}), N = M.extend({
|
|
476
478
|
category: e.literal("BLOCK"),
|
|
477
479
|
type: e.literal("RICH_TEXT"),
|
|
478
480
|
config: e.object({ content: e.string() }).passthrough()
|
|
479
|
-
}),
|
|
481
|
+
}), P = M.extend({
|
|
480
482
|
category: e.literal("BLOCK"),
|
|
481
483
|
type: e.union([
|
|
482
484
|
e.literal("NEXT_BUTTON"),
|
|
@@ -484,13 +486,13 @@ var t = e.object({
|
|
|
484
486
|
e.literal("SUBMIT_BUTTON")
|
|
485
487
|
]),
|
|
486
488
|
config: e.object({ text: e.string() }).passthrough()
|
|
487
|
-
}),
|
|
489
|
+
}), F = M.extend({
|
|
488
490
|
category: e.literal("FIELD"),
|
|
489
491
|
type: e.literal("LEGAL"),
|
|
490
492
|
required: e.boolean().optional(),
|
|
491
493
|
sensitive: e.boolean().optional(),
|
|
492
494
|
config: e.object({ text: e.string() }).passthrough()
|
|
493
|
-
}),
|
|
495
|
+
}), I = M.extend({
|
|
494
496
|
category: e.literal("FIELD"),
|
|
495
497
|
type: e.union([
|
|
496
498
|
e.literal("TEXT"),
|
|
@@ -510,40 +512,40 @@ var t = e.object({
|
|
|
510
512
|
label: e.string().optional(),
|
|
511
513
|
placeholder: e.string().optional()
|
|
512
514
|
}).passthrough()
|
|
513
|
-
}),
|
|
515
|
+
}), L = e.object({
|
|
514
516
|
id: e.string(),
|
|
515
517
|
category: e.string(),
|
|
516
518
|
type: e.string()
|
|
517
|
-
}).passthrough(),
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
]),
|
|
519
|
+
}).passthrough(), R = e.union([
|
|
520
|
+
N,
|
|
521
|
+
P,
|
|
522
|
+
F,
|
|
523
|
+
I,
|
|
524
|
+
L
|
|
525
|
+
]), ke = /* @__PURE__ */ function(e) {
|
|
524
526
|
return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
|
|
525
|
-
}({}),
|
|
527
|
+
}({}), Ae = e.object({
|
|
526
528
|
id: e.string(),
|
|
527
529
|
type: e.literal("STEP"),
|
|
528
|
-
coordinates:
|
|
530
|
+
coordinates: k,
|
|
529
531
|
alias: e.string().optional(),
|
|
530
532
|
config: e.object({
|
|
531
|
-
components: e.array(
|
|
533
|
+
components: e.array(R),
|
|
532
534
|
next_node: e.string()
|
|
533
535
|
}).passthrough()
|
|
534
|
-
}),
|
|
536
|
+
}), je = e.object({
|
|
535
537
|
id: e.string(),
|
|
536
538
|
type: e.literal("FLOW"),
|
|
537
|
-
coordinates:
|
|
539
|
+
coordinates: k,
|
|
538
540
|
alias: e.string().optional(),
|
|
539
541
|
config: e.object({
|
|
540
542
|
flow_id: e.string(),
|
|
541
543
|
next_node: e.string()
|
|
542
544
|
})
|
|
543
|
-
}),
|
|
545
|
+
}), Me = e.object({
|
|
544
546
|
id: e.string(),
|
|
545
547
|
type: e.literal("ACTION"),
|
|
546
|
-
coordinates:
|
|
548
|
+
coordinates: k,
|
|
547
549
|
alias: e.string().optional(),
|
|
548
550
|
config: e.object({
|
|
549
551
|
action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
|
|
@@ -555,26 +557,26 @@ var t = e.object({
|
|
|
555
557
|
custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
|
|
556
558
|
next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
|
|
557
559
|
}).passthrough()
|
|
558
|
-
}),
|
|
560
|
+
}), Ne = e.object({
|
|
559
561
|
id: e.string(),
|
|
560
562
|
type: e.string(),
|
|
561
|
-
coordinates:
|
|
562
|
-
}).passthrough(),
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
563
|
+
coordinates: k
|
|
564
|
+
}).passthrough(), Pe = e.union([
|
|
565
|
+
Ae,
|
|
566
|
+
je,
|
|
567
|
+
Me,
|
|
568
|
+
Ne
|
|
567
569
|
]), Fe = e.object({
|
|
568
570
|
next_node: e.string(),
|
|
569
|
-
coordinates:
|
|
571
|
+
coordinates: k
|
|
570
572
|
}).passthrough(), Ie = e.object({
|
|
571
573
|
resume_flow: e.boolean().optional(),
|
|
572
|
-
coordinates:
|
|
574
|
+
coordinates: k
|
|
573
575
|
}).passthrough(), Le = e.object({
|
|
574
576
|
id: e.string(),
|
|
575
577
|
name: e.string(),
|
|
576
578
|
languages: e.object({ primary: e.string() }).passthrough(),
|
|
577
|
-
nodes: e.array(
|
|
579
|
+
nodes: e.array(Pe),
|
|
578
580
|
start: Fe,
|
|
579
581
|
ending: Ie,
|
|
580
582
|
created_at: e.string(),
|
|
@@ -1350,11 +1352,11 @@ var Yt = e.enum([
|
|
|
1350
1352
|
}), fn = dn.extend({
|
|
1351
1353
|
id: e.string(),
|
|
1352
1354
|
tenant_id: e.string()
|
|
1353
|
-
}).extend(t.shape),
|
|
1355
|
+
}).extend(t.shape), pn = e.object({ name: e.string().optional() }), mn = e.object({ email: e.string().optional() }), hn = e.object({
|
|
1354
1356
|
id: e.string().optional(),
|
|
1355
1357
|
organization_id: e.string().max(50),
|
|
1356
|
-
inviter:
|
|
1357
|
-
invitee:
|
|
1358
|
+
inviter: pn,
|
|
1359
|
+
invitee: mn,
|
|
1358
1360
|
invitation_url: e.string().url(),
|
|
1359
1361
|
client_id: e.string(),
|
|
1360
1362
|
connection_id: e.string().optional(),
|
|
@@ -1363,13 +1365,13 @@ var Yt = e.enum([
|
|
|
1363
1365
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1364
1366
|
roles: e.array(e.string()).default([]).optional(),
|
|
1365
1367
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1366
|
-
}),
|
|
1368
|
+
}), gn = e.object({
|
|
1367
1369
|
id: e.string(),
|
|
1368
1370
|
organization_id: e.string().max(50),
|
|
1369
1371
|
created_at: e.string().datetime(),
|
|
1370
1372
|
expires_at: e.string().datetime(),
|
|
1371
1373
|
ticket_id: e.string().optional()
|
|
1372
|
-
}).extend(
|
|
1374
|
+
}).extend(hn.omit({ id: !0 }).shape), _n = e.object({
|
|
1373
1375
|
alg: e.enum([
|
|
1374
1376
|
"RS256",
|
|
1375
1377
|
"RS384",
|
|
@@ -1410,7 +1412,7 @@ var Yt = e.enum([
|
|
|
1410
1412
|
path: [r],
|
|
1411
1413
|
message: `EC JWK is missing required member '${r}'`
|
|
1412
1414
|
});
|
|
1413
|
-
}),
|
|
1415
|
+
}), vn = e.object({ keys: e.array(_n) }), yn = e.object({
|
|
1414
1416
|
issuer: e.string(),
|
|
1415
1417
|
authorization_endpoint: e.string(),
|
|
1416
1418
|
token_endpoint: e.string(),
|
|
@@ -1434,12 +1436,12 @@ var Yt = e.enum([
|
|
|
1434
1436
|
request_object_signing_alg_values_supported: e.array(e.string()).optional(),
|
|
1435
1437
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string()),
|
|
1436
1438
|
client_id_metadata_document_supported: e.boolean().optional()
|
|
1437
|
-
}),
|
|
1439
|
+
}), bn = /* @__PURE__ */ function(e) {
|
|
1438
1440
|
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;
|
|
1439
|
-
}({}),
|
|
1441
|
+
}({}), xn = e.nativeEnum(bn), Sn = e.object({
|
|
1440
1442
|
strategy: e.string(),
|
|
1441
1443
|
strategy_type: e.string()
|
|
1442
|
-
}),
|
|
1444
|
+
}), Cn = e.object({
|
|
1443
1445
|
csrf_token: e.string(),
|
|
1444
1446
|
auth0Client: e.string().optional(),
|
|
1445
1447
|
authParams: We,
|
|
@@ -1449,18 +1451,18 @@ var Yt = e.enum([
|
|
|
1449
1451
|
useragent: e.string().optional(),
|
|
1450
1452
|
session_id: e.string().optional(),
|
|
1451
1453
|
authorization_url: e.string().optional(),
|
|
1452
|
-
state:
|
|
1454
|
+
state: xn.optional().default("pending"),
|
|
1453
1455
|
state_data: e.string().optional(),
|
|
1454
1456
|
failure_reason: e.string().optional(),
|
|
1455
1457
|
user_id: e.string().optional(),
|
|
1456
1458
|
auth_connection: e.string().optional(),
|
|
1457
|
-
auth_strategy:
|
|
1459
|
+
auth_strategy: Sn.optional(),
|
|
1458
1460
|
authenticated_at: e.string().optional()
|
|
1459
|
-
}).openapi({ description: "This represents a login sesion" }),
|
|
1461
|
+
}).openapi({ description: "This represents a login sesion" }), wn = Cn.extend({
|
|
1460
1462
|
id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
|
|
1461
1463
|
created_at: e.string(),
|
|
1462
1464
|
updated_at: e.string()
|
|
1463
|
-
}),
|
|
1465
|
+
}), Y = {
|
|
1464
1466
|
ACLS_SUMMARY: "acls_summary",
|
|
1465
1467
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
1466
1468
|
API_LIMIT: "api_limit",
|
|
@@ -1620,190 +1622,190 @@ var Yt = e.enum([
|
|
|
1620
1622
|
WARNING_DURING_LOGIN: "w",
|
|
1621
1623
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1622
1624
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1623
|
-
},
|
|
1624
|
-
[
|
|
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
|
-
},
|
|
1625
|
+
}, Tn = e.string().refine((e) => Object.values(Y).includes(e), { message: "Invalid log type" }), En = {
|
|
1626
|
+
[Y.ACLS_SUMMARY]: "ACLs Summary",
|
|
1627
|
+
[Y.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
|
|
1628
|
+
[Y.API_LIMIT]: "API Rate Limit Reached",
|
|
1629
|
+
[Y.API_LIMIT_WARNING]: "API Rate Limit Warning",
|
|
1630
|
+
[Y.APPI]: "API Operation",
|
|
1631
|
+
[Y.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
|
|
1632
|
+
[Y.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
|
|
1633
|
+
[Y.CIBA_START_FAILED]: "CIBA Start Failed",
|
|
1634
|
+
[Y.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
|
|
1635
|
+
[Y.CODE_LINK_SENT]: "Code/Link Sent",
|
|
1636
|
+
[Y.CODE_SENT]: "Code Sent",
|
|
1637
|
+
[Y.DEPRECATION_NOTICE]: "Deprecation Notice",
|
|
1638
|
+
[Y.FAILED_LOGIN]: "Failed Login",
|
|
1639
|
+
[Y.FAILED_BY_CONNECTOR]: "Failed by Connector",
|
|
1640
|
+
[Y.FAILED_CHANGE_EMAIL]: "Failed Change Email",
|
|
1641
|
+
[Y.FAILED_BY_CORS]: "Failed by CORS",
|
|
1642
|
+
[Y.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
|
|
1643
|
+
[Y.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
|
|
1644
|
+
[Y.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
|
|
1645
|
+
[Y.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
|
|
1646
|
+
[Y.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
|
|
1647
|
+
[Y.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
|
|
1648
|
+
[Y.FAILED_CHANGE_USERNAME]: "Failed Change Username",
|
|
1649
|
+
[Y.FAILED_DELEGATION]: "Failed Delegation",
|
|
1650
|
+
[Y.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
|
|
1651
|
+
[Y.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
|
|
1652
|
+
[Y.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
|
|
1653
|
+
[Y.FAILED_USER_DELETION]: "Failed User Deletion",
|
|
1654
|
+
[Y.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
|
|
1655
|
+
[Y.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
|
|
1656
|
+
[Y.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
|
|
1657
|
+
[Y.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
|
|
1658
|
+
[Y.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
|
|
1659
|
+
[Y.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
|
|
1660
|
+
[Y.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
|
|
1661
|
+
[Y.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
|
|
1662
|
+
[Y.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
|
|
1663
|
+
[Y.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
|
|
1664
|
+
[Y.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
|
|
1665
|
+
[Y.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
|
|
1666
|
+
[Y.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
|
|
1667
|
+
[Y.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
|
|
1668
|
+
[Y.FAILED_HOOK]: "Failed Hook",
|
|
1669
|
+
[Y.FAILED_IMPERSONATION]: "Failed Impersonation",
|
|
1670
|
+
[Y.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
|
|
1671
|
+
[Y.FAILED_LOGOUT]: "Failed Logout",
|
|
1672
|
+
[Y.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
|
|
1673
|
+
[Y.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
|
|
1674
|
+
[Y.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
|
|
1675
|
+
[Y.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
|
|
1676
|
+
[Y.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
|
|
1677
|
+
[Y.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
|
|
1678
|
+
[Y.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
|
|
1679
|
+
[Y.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
|
|
1680
|
+
[Y.FAILED_SIGNUP]: "Failed Signup",
|
|
1681
|
+
[Y.FAILED_SILENT_AUTH]: "Failed Silent Auth",
|
|
1682
|
+
[Y.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
|
|
1683
|
+
[Y.FAILED_USERS_IMPORT]: "Failed Users Import",
|
|
1684
|
+
[Y.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
|
|
1685
|
+
[Y.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
|
|
1686
|
+
[Y.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
|
|
1687
|
+
[Y.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
|
|
1688
|
+
[Y.MFA_AUTH_FAILED]: "MFA Auth Failed",
|
|
1689
|
+
[Y.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
|
|
1690
|
+
[Y.MFA_AUTH_SUCCESS]: "MFA Auth Success",
|
|
1691
|
+
[Y.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
|
|
1692
|
+
[Y.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
|
|
1693
|
+
[Y.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
|
|
1694
|
+
[Y.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
|
|
1695
|
+
[Y.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
|
|
1696
|
+
[Y.MFA_EMAIL_SENT]: "MFA Email Sent",
|
|
1697
|
+
[Y.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
|
|
1698
|
+
[Y.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
|
|
1699
|
+
[Y.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
|
|
1700
|
+
[Y.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
|
|
1701
|
+
[Y.MFA_SMS_SENT]: "MFA SMS Sent",
|
|
1702
|
+
[Y.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
|
|
1703
|
+
[Y.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
|
|
1704
|
+
[Y.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
|
|
1705
|
+
[Y.SECOND_FACTOR_STARTED]: "Second Factor Started",
|
|
1706
|
+
[Y.MFA_ENROLL_STARTED]: "MFA Enroll Started",
|
|
1707
|
+
[Y.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
|
|
1708
|
+
[Y.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
|
|
1709
|
+
[Y.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
|
|
1710
|
+
[Y.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
|
|
1711
|
+
[Y.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
|
|
1712
|
+
[Y.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
|
|
1713
|
+
[Y.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
|
|
1714
|
+
[Y.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
|
|
1715
|
+
[Y.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
|
|
1716
|
+
[Y.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
|
|
1717
|
+
[Y.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
|
|
1718
|
+
[Y.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
|
|
1719
|
+
[Y.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
|
|
1720
|
+
[Y.INFORMATION]: "Information",
|
|
1721
|
+
[Y.MFA_REQUIRED]: "MFA Required",
|
|
1722
|
+
[Y.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
|
|
1723
|
+
[Y.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
|
|
1724
|
+
[Y.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
|
|
1725
|
+
[Y.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
|
|
1726
|
+
[Y.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
|
|
1727
|
+
[Y.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
|
|
1728
|
+
[Y.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
|
|
1729
|
+
[Y.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
|
|
1730
|
+
[Y.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
|
|
1731
|
+
[Y.BREACHED_PASSWORD]: "Breached Password",
|
|
1732
|
+
[Y.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
|
|
1733
|
+
[Y.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
|
|
1734
|
+
[Y.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
|
|
1735
|
+
[Y.SUCCESS_LOGIN]: "Success Login",
|
|
1736
|
+
[Y.SUCCESS_API_OPERATION]: "Success API Operation",
|
|
1737
|
+
[Y.FAILED_API_OPERATION]: "Failed API Operation",
|
|
1738
|
+
[Y.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
|
|
1739
|
+
[Y.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
|
|
1740
|
+
[Y.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
|
|
1741
|
+
[Y.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
|
|
1742
|
+
[Y.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
|
|
1743
|
+
[Y.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
|
|
1744
|
+
[Y.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
|
|
1745
|
+
[Y.SUCCESS_DELEGATION]: "Success Delegation",
|
|
1746
|
+
[Y.SUCCESS_USER_DELETION]: "Success User Deletion",
|
|
1747
|
+
[Y.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
|
|
1748
|
+
[Y.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
|
|
1749
|
+
[Y.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
|
|
1750
|
+
[Y.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
|
|
1751
|
+
[Y.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
|
|
1752
|
+
[Y.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
|
|
1753
|
+
[Y.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
|
|
1754
|
+
[Y.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
|
|
1755
|
+
[Y.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
|
|
1756
|
+
[Y.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
|
|
1757
|
+
[Y.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
|
|
1758
|
+
[Y.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
|
|
1759
|
+
[Y.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
|
|
1760
|
+
[Y.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
|
|
1761
|
+
[Y.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
|
|
1762
|
+
[Y.SUCCESS_IMPERSONATION]: "Success Impersonation",
|
|
1763
|
+
[Y.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
|
|
1764
|
+
[Y.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
|
|
1765
|
+
[Y.SUCCESS_LOGOUT]: "Success Logout",
|
|
1766
|
+
[Y.SUCCESS_HOOK]: "Success Hook",
|
|
1767
|
+
[Y.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
|
|
1768
|
+
[Y.SUCCESS_REVOCATION]: "Success Revocation",
|
|
1769
|
+
[Y.SUCCESS_SIGNUP]: "Success Signup",
|
|
1770
|
+
[Y.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
|
|
1771
|
+
[Y.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
|
|
1772
|
+
[Y.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
|
|
1773
|
+
[Y.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
|
|
1774
|
+
[Y.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
|
|
1775
|
+
[Y.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
|
|
1776
|
+
[Y.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
|
|
1777
|
+
[Y.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
|
|
1778
|
+
[Y.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
|
|
1779
|
+
[Y.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
|
|
1780
|
+
[Y.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
|
|
1781
|
+
[Y.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
|
|
1782
|
+
[Y.WARNING_DURING_LOGIN]: "Warning During Login",
|
|
1783
|
+
[Y.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
|
|
1784
|
+
[Y.WARNING_USER_MANAGEMENT]: "Warning User Management"
|
|
1785
|
+
}, Dn = (() => {
|
|
1784
1786
|
let e = {};
|
|
1785
|
-
for (let [t, n] of Object.entries(
|
|
1787
|
+
for (let [t, n] of Object.entries(Y)) 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";
|
|
1786
1788
|
return e;
|
|
1787
1789
|
})();
|
|
1788
|
-
function Dn(e) {
|
|
1789
|
-
return Tn[e] ?? e;
|
|
1790
|
-
}
|
|
1791
1790
|
function On(e) {
|
|
1792
|
-
return En[e] ??
|
|
1791
|
+
return En[e] ?? e;
|
|
1792
|
+
}
|
|
1793
|
+
function kn(e) {
|
|
1794
|
+
return Dn[e] ?? "other";
|
|
1793
1795
|
}
|
|
1794
|
-
var
|
|
1796
|
+
var An = e.object({
|
|
1795
1797
|
name: e.string(),
|
|
1796
1798
|
version: e.string(),
|
|
1797
1799
|
env: e.object({ node: e.string().optional() }).optional()
|
|
1798
|
-
}),
|
|
1800
|
+
}), jn = e.object({
|
|
1799
1801
|
country_code: e.string().length(2),
|
|
1800
1802
|
city_name: e.string(),
|
|
1801
1803
|
latitude: e.string(),
|
|
1802
1804
|
longitude: e.string(),
|
|
1803
1805
|
time_zone: e.string(),
|
|
1804
1806
|
continent_code: e.string()
|
|
1805
|
-
}),
|
|
1806
|
-
type:
|
|
1807
|
+
}), Mn = e.object({
|
|
1808
|
+
type: Tn,
|
|
1807
1809
|
date: e.string(),
|
|
1808
1810
|
description: e.string().optional(),
|
|
1809
1811
|
ip: e.string().optional(),
|
|
@@ -1821,58 +1823,58 @@ var kn = e.object({
|
|
|
1821
1823
|
strategy: e.string().optional(),
|
|
1822
1824
|
strategy_type: e.string().optional(),
|
|
1823
1825
|
hostname: e.string().optional(),
|
|
1824
|
-
auth0_client:
|
|
1826
|
+
auth0_client: An.optional(),
|
|
1825
1827
|
log_id: e.string().optional(),
|
|
1826
|
-
location_info:
|
|
1827
|
-
}),
|
|
1828
|
+
location_info: jn.optional()
|
|
1829
|
+
}), Nn = Mn.extend({ log_id: e.string() }), Pn = e.enum([
|
|
1828
1830
|
"http",
|
|
1829
1831
|
"eventbridge",
|
|
1830
1832
|
"eventgrid",
|
|
1831
1833
|
"splunk",
|
|
1832
1834
|
"datadog",
|
|
1833
1835
|
"sumo"
|
|
1834
|
-
]),
|
|
1836
|
+
]), X = e.enum([
|
|
1835
1837
|
"active",
|
|
1836
1838
|
"paused",
|
|
1837
1839
|
"suspended"
|
|
1838
|
-
]),
|
|
1840
|
+
]), Fn = e.object({
|
|
1839
1841
|
type: e.string(),
|
|
1840
1842
|
name: e.string()
|
|
1841
|
-
}),
|
|
1843
|
+
}), In = e.object({
|
|
1842
1844
|
name: e.string(),
|
|
1843
|
-
type:
|
|
1844
|
-
status:
|
|
1845
|
+
type: Pn,
|
|
1846
|
+
status: X.optional(),
|
|
1845
1847
|
sink: e.record(e.string(), e.unknown()),
|
|
1846
|
-
filters: e.array(
|
|
1848
|
+
filters: e.array(Fn).optional(),
|
|
1847
1849
|
isPriority: e.boolean().optional()
|
|
1848
|
-
}),
|
|
1850
|
+
}), Ln = In.extend({
|
|
1849
1851
|
id: e.string(),
|
|
1850
|
-
status:
|
|
1852
|
+
status: X,
|
|
1851
1853
|
created_at: e.string().optional(),
|
|
1852
1854
|
updated_at: e.string().optional()
|
|
1853
|
-
}),
|
|
1855
|
+
}), Rn = e.enum([
|
|
1854
1856
|
"auth0",
|
|
1855
1857
|
"cognito",
|
|
1856
1858
|
"okta",
|
|
1857
1859
|
"oidc"
|
|
1858
|
-
]),
|
|
1860
|
+
]), zn = e.object({
|
|
1859
1861
|
domain: e.string(),
|
|
1860
1862
|
client_id: e.string(),
|
|
1861
1863
|
client_secret: e.string(),
|
|
1862
1864
|
audience: e.string().optional(),
|
|
1863
1865
|
scope: e.string().optional()
|
|
1864
|
-
}),
|
|
1866
|
+
}), Bn = e.object({
|
|
1865
1867
|
id: e.string().optional(),
|
|
1866
1868
|
name: e.string(),
|
|
1867
|
-
provider:
|
|
1869
|
+
provider: Rn,
|
|
1868
1870
|
connection: e.string(),
|
|
1869
1871
|
enabled: e.boolean().default(!0),
|
|
1870
|
-
credentials:
|
|
1871
|
-
}),
|
|
1872
|
+
credentials: zn
|
|
1873
|
+
}), Vn = e.object({
|
|
1872
1874
|
id: e.string(),
|
|
1873
1875
|
created_at: e.string(),
|
|
1874
1876
|
updated_at: e.string()
|
|
1875
|
-
}).extend(
|
|
1877
|
+
}).extend(Bn.shape), Hn = e.object({
|
|
1876
1878
|
enabled: e.boolean().optional(),
|
|
1877
1879
|
shields: e.array(e.string()).optional(),
|
|
1878
1880
|
admin_notification_frequency: e.array(e.string()).optional(),
|
|
@@ -1881,13 +1883,13 @@ var kn = e.object({
|
|
|
1881
1883
|
"pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
|
|
1882
1884
|
"pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
|
|
1883
1885
|
}).optional()
|
|
1884
|
-
}),
|
|
1886
|
+
}), Un = e.object({
|
|
1885
1887
|
enabled: e.boolean().optional(),
|
|
1886
1888
|
shields: e.array(e.string()).optional(),
|
|
1887
1889
|
allowlist: e.array(e.string()).optional(),
|
|
1888
1890
|
mode: e.string().optional(),
|
|
1889
1891
|
max_attempts: e.number().optional()
|
|
1890
|
-
}),
|
|
1892
|
+
}), Wn = e.object({
|
|
1891
1893
|
enabled: e.boolean().optional(),
|
|
1892
1894
|
shields: e.array(e.string()).optional(),
|
|
1893
1895
|
allowlist: e.array(e.string()).optional(),
|
|
@@ -1901,28 +1903,28 @@ var kn = e.object({
|
|
|
1901
1903
|
rate: e.number().optional()
|
|
1902
1904
|
}).optional()
|
|
1903
1905
|
}).optional()
|
|
1904
|
-
}), Wn = e.object({
|
|
1905
|
-
breached_password_detection: Vn.optional(),
|
|
1906
|
-
brute_force_protection: Hn.optional(),
|
|
1907
|
-
suspicious_ip_throttling: Un.optional()
|
|
1908
1906
|
}), Gn = e.object({
|
|
1907
|
+
breached_password_detection: Hn.optional(),
|
|
1908
|
+
brute_force_protection: Un.optional(),
|
|
1909
|
+
suspicious_ip_throttling: Wn.optional()
|
|
1910
|
+
}), Kn = e.object({
|
|
1909
1911
|
id: e.string().optional(),
|
|
1910
1912
|
user_id: e.string(),
|
|
1911
1913
|
password: e.string(),
|
|
1912
1914
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1913
1915
|
is_current: e.boolean().default(!0)
|
|
1914
|
-
}),
|
|
1916
|
+
}), qn = Kn.extend({
|
|
1915
1917
|
id: e.string(),
|
|
1916
1918
|
created_at: e.string(),
|
|
1917
1919
|
updated_at: e.string()
|
|
1918
|
-
}),
|
|
1920
|
+
}), Jn = e.object({
|
|
1919
1921
|
initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
|
|
1920
1922
|
initial_ip: e.string().describe("First IP address associated with this session"),
|
|
1921
1923
|
initial_asn: e.string().describe("First autonomous system number associated with this session"),
|
|
1922
1924
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
1923
1925
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
1924
1926
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
1925
|
-
}),
|
|
1927
|
+
}), Yn = e.object({
|
|
1926
1928
|
id: e.string(),
|
|
1927
1929
|
revoked_at: e.string().optional(),
|
|
1928
1930
|
used_at: e.string().optional(),
|
|
@@ -1930,14 +1932,14 @@ var kn = e.object({
|
|
|
1930
1932
|
expires_at: e.string().optional(),
|
|
1931
1933
|
login_session_id: e.string(),
|
|
1932
1934
|
idle_expires_at: e.string().optional(),
|
|
1933
|
-
device:
|
|
1935
|
+
device: Jn.describe("Metadata related to the device used in the session"),
|
|
1934
1936
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
1935
|
-
}),
|
|
1937
|
+
}), Xn = e.object({
|
|
1936
1938
|
created_at: e.string(),
|
|
1937
1939
|
updated_at: e.string(),
|
|
1938
1940
|
authenticated_at: e.string(),
|
|
1939
1941
|
last_interaction_at: e.string()
|
|
1940
|
-
}).extend(
|
|
1942
|
+
}).extend(Yn.shape), Zn = e.object({
|
|
1941
1943
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
1942
1944
|
tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
|
|
1943
1945
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
@@ -1953,7 +1955,7 @@ var kn = e.object({
|
|
|
1953
1955
|
revoked_at: e.string().optional().openapi({ description: "The date and time when the key was revoked" }),
|
|
1954
1956
|
connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
|
|
1955
1957
|
type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
|
|
1956
|
-
}),
|
|
1958
|
+
}), Qn = e.object({
|
|
1957
1959
|
id: e.string().optional(),
|
|
1958
1960
|
audience: e.string().optional(),
|
|
1959
1961
|
friendly_name: e.string(),
|
|
@@ -2071,7 +2073,7 @@ var kn = e.object({
|
|
|
2071
2073
|
"shared_planetscale"
|
|
2072
2074
|
]).optional(),
|
|
2073
2075
|
d1_database_id: e.string().max(64).optional(),
|
|
2074
|
-
attack_protection:
|
|
2076
|
+
attack_protection: Gn.optional(),
|
|
2075
2077
|
mfa: e.object({
|
|
2076
2078
|
policy: e.enum(["never", "always"]).default("never").optional(),
|
|
2077
2079
|
factors: e.object({
|
|
@@ -2098,42 +2100,42 @@ var kn = e.object({
|
|
|
2098
2100
|
}).optional(),
|
|
2099
2101
|
phone_message: e.object({ message: e.string().optional() }).optional()
|
|
2100
2102
|
}).optional()
|
|
2101
|
-
}),
|
|
2103
|
+
}), $n = e.object({
|
|
2102
2104
|
created_at: e.string().nullable().transform((e) => e ?? ""),
|
|
2103
2105
|
updated_at: e.string().nullable().transform((e) => e ?? "")
|
|
2104
|
-
}).extend(
|
|
2106
|
+
}).extend(Qn.shape).extend({
|
|
2105
2107
|
id: e.string(),
|
|
2106
2108
|
is_control_plane: e.boolean().optional()
|
|
2107
|
-
}),
|
|
2109
|
+
}), er = e.enum([
|
|
2108
2110
|
"provision",
|
|
2109
2111
|
"seed",
|
|
2110
2112
|
"upgrade",
|
|
2111
2113
|
"backup",
|
|
2112
2114
|
"deprovision"
|
|
2113
|
-
]),
|
|
2115
|
+
]), tr = e.enum([
|
|
2114
2116
|
"pending",
|
|
2115
2117
|
"running",
|
|
2116
2118
|
"succeeded",
|
|
2117
2119
|
"failed",
|
|
2118
2120
|
"cancelled"
|
|
2119
|
-
]),
|
|
2121
|
+
]), nr = e.enum(["inline", "cloudflare-workflows"]), rr = e.object({
|
|
2120
2122
|
tenant_id: e.string().max(255).nullable().default(null),
|
|
2121
2123
|
rollout_id: e.string().max(255).nullable().optional(),
|
|
2122
|
-
kind:
|
|
2123
|
-
engine:
|
|
2124
|
+
kind: er,
|
|
2125
|
+
engine: nr,
|
|
2124
2126
|
engine_instance_id: e.string().max(100).nullable().optional(),
|
|
2125
2127
|
target_worker_version: e.string().max(255).nullable().optional(),
|
|
2126
2128
|
target_database_version: e.string().max(255).nullable().optional(),
|
|
2127
2129
|
initiated_by: e.string().max(255).nullable().optional()
|
|
2128
|
-
}),
|
|
2130
|
+
}), ir = rr.extend({
|
|
2129
2131
|
id: e.string(),
|
|
2130
|
-
status:
|
|
2132
|
+
status: tr,
|
|
2131
2133
|
current_step: e.string().max(255).nullable().optional(),
|
|
2132
2134
|
error: e.string().nullable().optional(),
|
|
2133
2135
|
created_at: e.string(),
|
|
2134
2136
|
updated_at: e.string(),
|
|
2135
2137
|
finished_at: e.string().nullable().optional()
|
|
2136
|
-
}),
|
|
2138
|
+
}), ar = ir.pick({
|
|
2137
2139
|
status: !0,
|
|
2138
2140
|
current_step: !0,
|
|
2139
2141
|
engine_instance_id: !0,
|
|
@@ -2141,56 +2143,56 @@ var kn = e.object({
|
|
|
2141
2143
|
target_database_version: !0,
|
|
2142
2144
|
error: !0,
|
|
2143
2145
|
finished_at: !0
|
|
2144
|
-
}).partial(),
|
|
2146
|
+
}).partial(), or = e.enum([
|
|
2145
2147
|
"started",
|
|
2146
2148
|
"succeeded",
|
|
2147
2149
|
"failed",
|
|
2148
2150
|
"retried",
|
|
2149
2151
|
"skipped",
|
|
2150
2152
|
"reconciled"
|
|
2151
|
-
]),
|
|
2153
|
+
]), sr = e.object({
|
|
2152
2154
|
operation_id: e.string().max(255),
|
|
2153
2155
|
step: e.string().max(255),
|
|
2154
|
-
outcome:
|
|
2156
|
+
outcome: or,
|
|
2155
2157
|
detail: e.record(e.string(), e.unknown()).nullable().optional(),
|
|
2156
2158
|
attempt: e.number().int().min(1).default(1)
|
|
2157
|
-
}),
|
|
2159
|
+
}), cr = sr.extend({
|
|
2158
2160
|
id: e.string(),
|
|
2159
2161
|
created_at: e.string()
|
|
2160
|
-
}),
|
|
2162
|
+
}), lr = e.enum([
|
|
2161
2163
|
"upgrade",
|
|
2162
2164
|
"reseed",
|
|
2163
2165
|
"backup"
|
|
2164
|
-
]),
|
|
2166
|
+
]), ur = e.enum([
|
|
2165
2167
|
"pending",
|
|
2166
2168
|
"canary",
|
|
2167
2169
|
"rolling",
|
|
2168
2170
|
"paused",
|
|
2169
2171
|
"done",
|
|
2170
2172
|
"failed"
|
|
2171
|
-
]),
|
|
2172
|
-
kind:
|
|
2173
|
+
]), dr = e.object({
|
|
2174
|
+
kind: lr,
|
|
2173
2175
|
target_worker_version: e.string().max(255).nullable().optional(),
|
|
2174
2176
|
target_database_version: e.string().max(255).nullable().optional(),
|
|
2175
2177
|
wave_size: e.number().int().min(1).default(10),
|
|
2176
2178
|
canary_tenant_ids: e.array(e.string()).nullable().optional(),
|
|
2177
2179
|
filter: e.record(e.string(), e.unknown()).nullable().optional(),
|
|
2178
2180
|
initiated_by: e.string().max(255).nullable().optional()
|
|
2179
|
-
}),
|
|
2181
|
+
}), fr = dr.extend({
|
|
2180
2182
|
id: e.string(),
|
|
2181
|
-
status:
|
|
2183
|
+
status: ur,
|
|
2182
2184
|
created_at: e.string(),
|
|
2183
2185
|
updated_at: e.string(),
|
|
2184
2186
|
finished_at: e.string().nullable().optional()
|
|
2185
|
-
}),
|
|
2187
|
+
}), pr = fr.pick({
|
|
2186
2188
|
status: !0,
|
|
2187
2189
|
wave_size: !0,
|
|
2188
2190
|
canary_tenant_ids: !0,
|
|
2189
2191
|
filter: !0,
|
|
2190
2192
|
finished_at: !0
|
|
2191
|
-
}).partial(),
|
|
2193
|
+
}).partial(), mr = /* @__PURE__ */ function(e) {
|
|
2192
2194
|
return e.RefreshToken = "refresh_token", e.AuthorizationCode = "authorization_code", e.ClientCredential = "client_credentials", e.Passwordless = "passwordless", e.Password = "password", e.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", e.TokenExchange = "urn:ietf:params:oauth:grant-type:token-exchange", e;
|
|
2193
|
-
}({}),
|
|
2195
|
+
}({}), hr = e.object({
|
|
2194
2196
|
access_token: e.string(),
|
|
2195
2197
|
id_token: e.string().optional(),
|
|
2196
2198
|
scope: e.string().optional(),
|
|
@@ -2205,7 +2207,7 @@ e.object({
|
|
|
2205
2207
|
});
|
|
2206
2208
|
//#endregion
|
|
2207
2209
|
//#region src/types/Theme.ts
|
|
2208
|
-
var
|
|
2210
|
+
var gr = e.object({
|
|
2209
2211
|
button_border_radius: e.number(),
|
|
2210
2212
|
button_border_weight: e.number(),
|
|
2211
2213
|
buttons_style: e.enum([
|
|
@@ -2223,7 +2225,7 @@ var hr = e.object({
|
|
|
2223
2225
|
show_widget_shadow: e.boolean(),
|
|
2224
2226
|
widget_border_weight: e.number(),
|
|
2225
2227
|
widget_corner_radius: e.number()
|
|
2226
|
-
}),
|
|
2228
|
+
}), _r = e.object({
|
|
2227
2229
|
base_focus_color: e.string(),
|
|
2228
2230
|
base_hover_color: e.string(),
|
|
2229
2231
|
body_text: e.string(),
|
|
@@ -2247,20 +2249,20 @@ var hr = e.object({
|
|
|
2247
2249
|
success: e.string(),
|
|
2248
2250
|
widget_background: e.string(),
|
|
2249
2251
|
widget_border: e.string()
|
|
2250
|
-
}),
|
|
2252
|
+
}), Z = e.object({
|
|
2251
2253
|
bold: e.boolean(),
|
|
2252
2254
|
size: e.number()
|
|
2253
|
-
}),
|
|
2254
|
-
body_text:
|
|
2255
|
-
buttons_text:
|
|
2255
|
+
}), vr = e.object({
|
|
2256
|
+
body_text: Z,
|
|
2257
|
+
buttons_text: Z,
|
|
2256
2258
|
font_url: e.string(),
|
|
2257
|
-
input_labels:
|
|
2258
|
-
links:
|
|
2259
|
+
input_labels: Z,
|
|
2260
|
+
links: Z,
|
|
2259
2261
|
links_style: e.enum(["normal", "underlined"]),
|
|
2260
2262
|
reference_text_size: e.number(),
|
|
2261
|
-
subtitle:
|
|
2262
|
-
title:
|
|
2263
|
-
}),
|
|
2263
|
+
subtitle: Z,
|
|
2264
|
+
title: Z
|
|
2265
|
+
}), yr = e.object({
|
|
2264
2266
|
background_color: e.string(),
|
|
2265
2267
|
background_image_url: e.string(),
|
|
2266
2268
|
page_layout: e.enum([
|
|
@@ -2273,7 +2275,7 @@ var hr = e.object({
|
|
|
2273
2275
|
"chip",
|
|
2274
2276
|
"none"
|
|
2275
2277
|
]).optional()
|
|
2276
|
-
}),
|
|
2278
|
+
}), br = e.object({
|
|
2277
2279
|
header_text_alignment: e.enum([
|
|
2278
2280
|
"center",
|
|
2279
2281
|
"left",
|
|
@@ -2288,48 +2290,48 @@ var hr = e.object({
|
|
|
2288
2290
|
]),
|
|
2289
2291
|
logo_url: e.string(),
|
|
2290
2292
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
2291
|
-
}),
|
|
2292
|
-
borders:
|
|
2293
|
-
colors:
|
|
2293
|
+
}), xr = e.object({
|
|
2294
|
+
borders: gr,
|
|
2295
|
+
colors: _r,
|
|
2294
2296
|
displayName: e.string(),
|
|
2295
|
-
fonts:
|
|
2296
|
-
page_background:
|
|
2297
|
-
widget:
|
|
2298
|
-
}),
|
|
2297
|
+
fonts: vr,
|
|
2298
|
+
page_background: yr,
|
|
2299
|
+
widget: br
|
|
2300
|
+
}), Sr = xr.extend({ themeId: e.string() }), Cr = e.object({
|
|
2299
2301
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
2300
2302
|
identifier_first: e.boolean().default(!0),
|
|
2301
2303
|
password_first: e.boolean().default(!1),
|
|
2302
2304
|
webauthn_platform_first_factor: e.boolean()
|
|
2303
|
-
}),
|
|
2305
|
+
}), wr = e.object({
|
|
2304
2306
|
hosts: e.array(e.string()).optional(),
|
|
2305
2307
|
methods: e.array(e.string()).optional(),
|
|
2306
2308
|
path: e.string().default("/*"),
|
|
2307
2309
|
headers: e.record(e.string(), e.string()).optional(),
|
|
2308
2310
|
query: e.record(e.string(), e.string()).optional()
|
|
2309
|
-
}),
|
|
2311
|
+
}), Tr = e.object({
|
|
2310
2312
|
type: e.string(),
|
|
2311
2313
|
options: e.record(e.string(), e.unknown()).default({})
|
|
2312
|
-
}),
|
|
2314
|
+
}), Q = e.object({
|
|
2313
2315
|
id: e.string().optional(),
|
|
2314
2316
|
custom_domain_id: e.string(),
|
|
2315
2317
|
priority: e.number().int().default(100),
|
|
2316
|
-
match:
|
|
2317
|
-
handlers: e.array(
|
|
2318
|
-
}),
|
|
2318
|
+
match: wr,
|
|
2319
|
+
handlers: e.array(Tr).min(1)
|
|
2320
|
+
}), Er = Q.extend({
|
|
2319
2321
|
id: e.string(),
|
|
2320
2322
|
tenant_id: e.string(),
|
|
2321
2323
|
created_at: e.string(),
|
|
2322
2324
|
updated_at: e.string()
|
|
2323
|
-
}),
|
|
2325
|
+
}), Dr = Q.partial().omit({
|
|
2324
2326
|
id: !0,
|
|
2325
2327
|
custom_domain_id: !0
|
|
2326
|
-
}),
|
|
2328
|
+
}), Or = e.object({
|
|
2327
2329
|
name: e.string(),
|
|
2328
2330
|
enabled: e.boolean().optional().default(!0),
|
|
2329
2331
|
default_from_address: e.string().optional(),
|
|
2330
2332
|
credentials: e.record(e.string(), e.unknown()),
|
|
2331
2333
|
settings: e.object({}).optional()
|
|
2332
|
-
}),
|
|
2334
|
+
}), kr = e.enum([
|
|
2333
2335
|
"verify_email",
|
|
2334
2336
|
"verify_email_by_code",
|
|
2335
2337
|
"reset_email",
|
|
@@ -2342,8 +2344,8 @@ var hr = e.object({
|
|
|
2342
2344
|
"change_password",
|
|
2343
2345
|
"password_reset",
|
|
2344
2346
|
"user_invitation"
|
|
2345
|
-
]),
|
|
2346
|
-
template:
|
|
2347
|
+
]), Ar = e.object({
|
|
2348
|
+
template: kr,
|
|
2347
2349
|
body: e.string(),
|
|
2348
2350
|
from: e.string(),
|
|
2349
2351
|
subject: e.string(),
|
|
@@ -2352,7 +2354,7 @@ var hr = e.object({
|
|
|
2352
2354
|
urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
|
|
2353
2355
|
includeEmailInRedirect: e.boolean().default(!1),
|
|
2354
2356
|
enabled: e.boolean().default(!0)
|
|
2355
|
-
}),
|
|
2357
|
+
}), jr = e.object({
|
|
2356
2358
|
id: e.string(),
|
|
2357
2359
|
login_id: e.string(),
|
|
2358
2360
|
user_id: e.string(),
|
|
@@ -2360,7 +2362,7 @@ var hr = e.object({
|
|
|
2360
2362
|
expires_at: e.string().optional(),
|
|
2361
2363
|
idle_expires_at: e.string().optional(),
|
|
2362
2364
|
last_exchanged_at: e.string().optional(),
|
|
2363
|
-
device:
|
|
2365
|
+
device: Jn,
|
|
2364
2366
|
resource_servers: e.array(e.object({
|
|
2365
2367
|
audience: e.string(),
|
|
2366
2368
|
scopes: e.string()
|
|
@@ -2371,19 +2373,19 @@ var hr = e.object({
|
|
|
2371
2373
|
family_id: e.string().optional(),
|
|
2372
2374
|
rotated_to: e.string().optional(),
|
|
2373
2375
|
rotated_at: e.string().optional()
|
|
2374
|
-
}),
|
|
2376
|
+
}), Mr = jr.extend({
|
|
2375
2377
|
created_at: e.string(),
|
|
2376
2378
|
revoked_at: e.string().optional()
|
|
2377
|
-
}),
|
|
2379
|
+
}), Nr = e.object({
|
|
2378
2380
|
to: e.string(),
|
|
2379
2381
|
message: e.string()
|
|
2380
|
-
}),
|
|
2382
|
+
}), Pr = e.object({
|
|
2381
2383
|
name: e.string(),
|
|
2382
2384
|
options: e.object({})
|
|
2383
|
-
}),
|
|
2385
|
+
}), Fr = e.object({
|
|
2384
2386
|
value: e.string(),
|
|
2385
2387
|
description: e.string().optional()
|
|
2386
|
-
}),
|
|
2388
|
+
}), Ir = e.object({
|
|
2387
2389
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
2388
2390
|
enforce_policies: e.boolean().optional(),
|
|
2389
2391
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -2391,11 +2393,11 @@ var hr = e.object({
|
|
|
2391
2393
|
persist_client_authorization: e.boolean().optional(),
|
|
2392
2394
|
enable_introspection_endpoint: e.boolean().optional(),
|
|
2393
2395
|
mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
|
|
2394
|
-
}),
|
|
2396
|
+
}), Lr = e.object({
|
|
2395
2397
|
id: e.string().optional(),
|
|
2396
2398
|
name: e.string(),
|
|
2397
2399
|
identifier: e.string(),
|
|
2398
|
-
scopes: e.array(
|
|
2400
|
+
scopes: e.array(Fr).optional(),
|
|
2399
2401
|
signing_alg: e.string().optional(),
|
|
2400
2402
|
signing_secret: e.string().optional(),
|
|
2401
2403
|
token_lifetime: e.number().default(86400),
|
|
@@ -2403,37 +2405,37 @@ var hr = e.object({
|
|
|
2403
2405
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
2404
2406
|
allow_offline_access: e.boolean().optional(),
|
|
2405
2407
|
verificationKey: e.string().optional(),
|
|
2406
|
-
options:
|
|
2408
|
+
options: Ir.optional(),
|
|
2407
2409
|
is_system: e.boolean().optional(),
|
|
2408
2410
|
metadata: e.record(e.string(), e.any()).optional()
|
|
2409
|
-
}),
|
|
2411
|
+
}), Rr = Lr.extend({
|
|
2410
2412
|
created_at: e.string().optional(),
|
|
2411
2413
|
updated_at: e.string().optional()
|
|
2412
|
-
}),
|
|
2414
|
+
}), zr = e.array(Rr), Br = e.object({
|
|
2413
2415
|
role_id: e.string(),
|
|
2414
2416
|
resource_server_identifier: e.string(),
|
|
2415
2417
|
permission_name: e.string()
|
|
2416
|
-
}),
|
|
2418
|
+
}), Vr = Br.extend({ created_at: e.string() }), Hr = e.array(Vr), Ur = e.object({
|
|
2417
2419
|
user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
|
|
2418
2420
|
clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
|
|
2419
2421
|
audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
|
|
2420
2422
|
scope: e.array(e.string()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
|
|
2421
|
-
}),
|
|
2423
|
+
}), Wr = Ur.extend({ id: e.string() }), Gr = e.object({
|
|
2422
2424
|
user_id: e.string(),
|
|
2423
2425
|
last_login: e.string().optional(),
|
|
2424
2426
|
last_ip: e.string().optional(),
|
|
2425
2427
|
login_count: e.number().default(0),
|
|
2426
2428
|
failed_logins: e.array(e.string()).optional(),
|
|
2427
2429
|
last_password_reset: e.string().optional()
|
|
2428
|
-
}),
|
|
2430
|
+
}), Kr = e.object({
|
|
2429
2431
|
user_id: e.string(),
|
|
2430
2432
|
resource_server_identifier: e.string(),
|
|
2431
2433
|
permission_name: e.string(),
|
|
2432
2434
|
organization_id: e.string().optional()
|
|
2433
|
-
}),
|
|
2435
|
+
}), qr = Kr.extend({
|
|
2434
2436
|
tenant_id: e.string(),
|
|
2435
2437
|
created_at: e.string().optional()
|
|
2436
|
-
}),
|
|
2438
|
+
}), Jr = e.array(qr), Yr = e.object({
|
|
2437
2439
|
user_id: e.string(),
|
|
2438
2440
|
resource_server_identifier: e.string(),
|
|
2439
2441
|
resource_server_name: e.string(),
|
|
@@ -2441,65 +2443,65 @@ var hr = e.object({
|
|
|
2441
2443
|
description: e.string().nullable().optional(),
|
|
2442
2444
|
created_at: e.string().optional(),
|
|
2443
2445
|
organization_id: e.string().optional()
|
|
2444
|
-
}),
|
|
2446
|
+
}), Xr = e.array(Yr), Zr = e.object({
|
|
2445
2447
|
user_id: e.string(),
|
|
2446
2448
|
role_id: e.string(),
|
|
2447
2449
|
organization_id: e.string().optional()
|
|
2448
|
-
}),
|
|
2450
|
+
}), Qr = Zr.extend({
|
|
2449
2451
|
tenant_id: e.string(),
|
|
2450
2452
|
created_at: e.string().optional()
|
|
2451
|
-
}),
|
|
2453
|
+
}), $r = e.array(Qr), ei = e.object({
|
|
2452
2454
|
id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
|
|
2453
2455
|
name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
|
|
2454
2456
|
description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
|
|
2455
2457
|
is_system: e.boolean().optional(),
|
|
2456
2458
|
metadata: e.record(e.string(), e.any()).optional().openapi({ description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios." })
|
|
2457
|
-
}),
|
|
2459
|
+
}), ti = ei.extend({
|
|
2458
2460
|
id: e.string().openapi({ description: "The unique identifier of the role" }),
|
|
2459
2461
|
created_at: e.string().optional(),
|
|
2460
2462
|
updated_at: e.string().optional()
|
|
2461
|
-
}),
|
|
2463
|
+
}), ni = e.array(ti), ri = e.object({
|
|
2462
2464
|
logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
|
|
2463
2465
|
colors: e.object({
|
|
2464
2466
|
primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
|
|
2465
2467
|
page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
|
|
2466
2468
|
}).optional()
|
|
2467
|
-
}).optional(),
|
|
2469
|
+
}).optional(), ii = e.object({
|
|
2468
2470
|
connection_id: e.string().openapi({ description: "ID of the connection" }),
|
|
2469
2471
|
assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
|
|
2470
2472
|
show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
|
|
2471
2473
|
is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
|
|
2472
|
-
}),
|
|
2474
|
+
}), ai = e.object({ client_credentials: e.object({
|
|
2473
2475
|
enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
|
|
2474
2476
|
per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
|
|
2475
2477
|
per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
|
|
2476
|
-
}).optional() }).optional(),
|
|
2478
|
+
}).optional() }).optional(), oi = e.object({
|
|
2477
2479
|
id: e.string().optional(),
|
|
2478
2480
|
name: e.string().min(1).regex(/^[a-z0-9_-]+$/, { message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores" }).openapi({ description: "The name of the organization. Must be lowercase and can only contain letters, numbers, hyphens, and underscores." }),
|
|
2479
2481
|
display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
|
|
2480
|
-
branding:
|
|
2482
|
+
branding: ri,
|
|
2481
2483
|
metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
|
|
2482
|
-
enabled_connections: e.array(
|
|
2483
|
-
token_quota:
|
|
2484
|
-
}),
|
|
2484
|
+
enabled_connections: e.array(ii).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
|
|
2485
|
+
token_quota: ai
|
|
2486
|
+
}), si = oi.extend(t.shape).extend({
|
|
2485
2487
|
id: e.string(),
|
|
2486
2488
|
name: e.string().min(1).openapi({ description: "The name of the organization" })
|
|
2487
|
-
}),
|
|
2489
|
+
}), ci = e.object({
|
|
2488
2490
|
connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
|
|
2489
2491
|
assign_membership_on_login: e.boolean().optional().default(!1),
|
|
2490
2492
|
show_as_button: e.boolean().optional().default(!0),
|
|
2491
2493
|
is_signup_enabled: e.boolean().optional().default(!0)
|
|
2492
|
-
}),
|
|
2494
|
+
}), li = ci.extend({
|
|
2493
2495
|
connection: e.object({
|
|
2494
2496
|
name: e.string().optional(),
|
|
2495
2497
|
strategy: e.string().optional()
|
|
2496
2498
|
}).optional(),
|
|
2497
2499
|
created_at: e.string().optional(),
|
|
2498
2500
|
updated_at: e.string().optional()
|
|
2499
|
-
}),
|
|
2501
|
+
}), ui = e.array(li), di = e.object({
|
|
2500
2502
|
user_id: e.string().openapi({ description: "ID of the user" }),
|
|
2501
2503
|
organization_id: e.string().openapi({ description: "ID of the organization" })
|
|
2502
|
-
}),
|
|
2504
|
+
}), fi = di.extend(t.shape).extend({ id: e.string() }), pi = e.object({
|
|
2503
2505
|
idle_session_lifetime: e.number().default(72),
|
|
2504
2506
|
session_lifetime: e.number().default(168),
|
|
2505
2507
|
session_cookie: e.object({ mode: e.enum(["persistent", "non-persistent"]).optional() }).optional(),
|
|
@@ -2578,7 +2580,7 @@ var hr = e.object({
|
|
|
2578
2580
|
}).optional(),
|
|
2579
2581
|
phone_message: e.object({ message: e.string().optional() }).optional()
|
|
2580
2582
|
}).optional()
|
|
2581
|
-
}),
|
|
2583
|
+
}), mi = e.object({
|
|
2582
2584
|
date: e.string().openapi({
|
|
2583
2585
|
description: "Date these events occurred in ISO 8601 format",
|
|
2584
2586
|
example: "2025-12-19"
|
|
@@ -2603,10 +2605,10 @@ var hr = e.object({
|
|
|
2603
2605
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2604
2606
|
example: "2025-12-19T00:00:00.000Z"
|
|
2605
2607
|
})
|
|
2606
|
-
}),
|
|
2608
|
+
}), hi = e.number().openapi({
|
|
2607
2609
|
description: "Number of active users in the last 30 days",
|
|
2608
2610
|
example: 1234
|
|
2609
|
-
}),
|
|
2611
|
+
}), gi = e.enum([
|
|
2610
2612
|
"active-users",
|
|
2611
2613
|
"logins",
|
|
2612
2614
|
"signups",
|
|
@@ -2618,46 +2620,46 @@ var hr = e.object({
|
|
|
2618
2620
|
"mfa",
|
|
2619
2621
|
"email-verifications",
|
|
2620
2622
|
"codes-sent"
|
|
2621
|
-
]),
|
|
2623
|
+
]), _i = e.enum([
|
|
2622
2624
|
"hour",
|
|
2623
2625
|
"day",
|
|
2624
2626
|
"week",
|
|
2625
2627
|
"month"
|
|
2626
|
-
]),
|
|
2628
|
+
]), vi = e.enum([
|
|
2627
2629
|
"time",
|
|
2628
2630
|
"connection",
|
|
2629
2631
|
"client_id",
|
|
2630
2632
|
"user_type",
|
|
2631
2633
|
"event"
|
|
2632
|
-
]),
|
|
2634
|
+
]), yi = e.enum([
|
|
2633
2635
|
"password",
|
|
2634
2636
|
"social",
|
|
2635
2637
|
"passwordless",
|
|
2636
2638
|
"enterprise"
|
|
2637
|
-
]),
|
|
2639
|
+
]), bi = e.object({
|
|
2638
2640
|
name: e.string(),
|
|
2639
2641
|
type: e.string()
|
|
2640
|
-
}),
|
|
2642
|
+
}), xi = e.object({
|
|
2641
2643
|
elapsed: e.number(),
|
|
2642
2644
|
rows_read: e.number().optional(),
|
|
2643
2645
|
bytes_read: e.number().optional()
|
|
2644
|
-
}),
|
|
2645
|
-
meta: e.array(
|
|
2646
|
+
}), Si = e.object({
|
|
2647
|
+
meta: e.array(bi),
|
|
2646
2648
|
data: e.array(e.record(e.string(), e.any())),
|
|
2647
2649
|
rows: e.number(),
|
|
2648
2650
|
rows_before_limit_at_least: e.number().optional(),
|
|
2649
|
-
statistics:
|
|
2650
|
-
}),
|
|
2651
|
+
statistics: xi.optional()
|
|
2652
|
+
}), Ci = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), wi = e.record(e.string(), e.record(e.string(), e.string())).openapi({
|
|
2651
2653
|
type: "object",
|
|
2652
2654
|
additionalProperties: {
|
|
2653
2655
|
type: "object",
|
|
2654
2656
|
additionalProperties: { type: "string" }
|
|
2655
2657
|
}
|
|
2656
|
-
}),
|
|
2657
|
-
prompt:
|
|
2658
|
+
}), Ti = e.object({
|
|
2659
|
+
prompt: Ci,
|
|
2658
2660
|
language: e.string(),
|
|
2659
|
-
custom_text:
|
|
2660
|
-
}),
|
|
2661
|
+
custom_text: wi
|
|
2662
|
+
}), Ei = {
|
|
2661
2663
|
EMAIL: "email",
|
|
2662
2664
|
SMS: "sms",
|
|
2663
2665
|
USERNAME_PASSWORD: "Username-Password-Authentication",
|
|
@@ -2673,11 +2675,17 @@ var hr = e.object({
|
|
|
2673
2675
|
WAAD: "waad",
|
|
2674
2676
|
ADFS: "adfs",
|
|
2675
2677
|
OKTA: "okta"
|
|
2676
|
-
},
|
|
2678
|
+
}, Di = {
|
|
2677
2679
|
DATABASE: "database",
|
|
2678
2680
|
SOCIAL: "social",
|
|
2679
2681
|
PASSWORDLESS: "passwordless"
|
|
2680
|
-
},
|
|
2682
|
+
}, Oi = "auth0";
|
|
2683
|
+
function ki(e) {
|
|
2684
|
+
return e === "auth0" || e === Ei.USERNAME_PASSWORD || e === "auth2";
|
|
2685
|
+
}
|
|
2686
|
+
//#endregion
|
|
2687
|
+
//#region src/types/AuthenticationMethod.ts
|
|
2688
|
+
var Ai = e.enum([
|
|
2681
2689
|
"phone",
|
|
2682
2690
|
"totp",
|
|
2683
2691
|
"email",
|
|
@@ -2685,9 +2693,9 @@ var hr = e.object({
|
|
|
2685
2693
|
"webauthn-roaming",
|
|
2686
2694
|
"webauthn-platform",
|
|
2687
2695
|
"passkey"
|
|
2688
|
-
]),
|
|
2696
|
+
]), ji = e.object({
|
|
2689
2697
|
user_id: e.string(),
|
|
2690
|
-
type:
|
|
2698
|
+
type: Ai,
|
|
2691
2699
|
phone_number: e.string().optional(),
|
|
2692
2700
|
totp_secret: e.string().optional(),
|
|
2693
2701
|
credential_id: e.string().optional(),
|
|
@@ -2698,7 +2706,7 @@ var hr = e.object({
|
|
|
2698
2706
|
friendly_name: e.string().optional(),
|
|
2699
2707
|
confirmed: e.boolean().default(!1)
|
|
2700
2708
|
});
|
|
2701
|
-
function
|
|
2709
|
+
function $(t, n) {
|
|
2702
2710
|
t.type === "phone" && !t.phone_number && n.addIssue({
|
|
2703
2711
|
code: e.ZodIssueCode.custom,
|
|
2704
2712
|
message: "phone_number is required when type is 'phone'",
|
|
@@ -2721,18 +2729,18 @@ function ki(t, n) {
|
|
|
2721
2729
|
path: ["public_key"]
|
|
2722
2730
|
}));
|
|
2723
2731
|
}
|
|
2724
|
-
var
|
|
2732
|
+
var Mi = ji.superRefine($), Ni = ji.extend({
|
|
2725
2733
|
id: e.string(),
|
|
2726
2734
|
created_at: e.string(),
|
|
2727
2735
|
updated_at: e.string()
|
|
2728
|
-
}).superRefine(
|
|
2736
|
+
}).superRefine($), Pi = e.object({
|
|
2729
2737
|
id: e.string().optional(),
|
|
2730
2738
|
created_at: e.string().datetime({ offset: !0 }).optional(),
|
|
2731
2739
|
updated_at: e.string().datetime({ offset: !0 }).optional()
|
|
2732
2740
|
});
|
|
2733
2741
|
//#endregion
|
|
2734
2742
|
//#region src/utils/user-id.ts
|
|
2735
|
-
function
|
|
2743
|
+
function Fi(e) {
|
|
2736
2744
|
let [t, n] = e.split("|");
|
|
2737
2745
|
if (!t || !n) throw Error(`Invalid user_id: ${e}`);
|
|
2738
2746
|
return {
|
|
@@ -2742,7 +2750,7 @@ function Ni(e) {
|
|
|
2742
2750
|
}
|
|
2743
2751
|
//#endregion
|
|
2744
2752
|
//#region src/utils/passthrough.ts
|
|
2745
|
-
function
|
|
2753
|
+
function Ii(e) {
|
|
2746
2754
|
let { primary: t, secondaries: n, syncMethods: r = [
|
|
2747
2755
|
"create",
|
|
2748
2756
|
"rawCreate",
|
|
@@ -2776,12 +2784,12 @@ function Pi(e) {
|
|
|
2776
2784
|
} : i.bind(e) : i;
|
|
2777
2785
|
} });
|
|
2778
2786
|
}
|
|
2779
|
-
function
|
|
2787
|
+
function Li(e) {
|
|
2780
2788
|
return e;
|
|
2781
2789
|
}
|
|
2782
2790
|
//#endregion
|
|
2783
2791
|
//#region src/utils/connection-attributes.ts
|
|
2784
|
-
function
|
|
2792
|
+
function Ri(e) {
|
|
2785
2793
|
let t = e?.options;
|
|
2786
2794
|
if (!t) return {
|
|
2787
2795
|
usernameIdentifierActive: !1,
|
|
@@ -2804,8 +2812,8 @@ function Ii(e) {
|
|
|
2804
2812
|
}
|
|
2805
2813
|
//#endregion
|
|
2806
2814
|
//#region src/utils/guards.ts
|
|
2807
|
-
function
|
|
2815
|
+
function zi(e) {
|
|
2808
2816
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
2809
2817
|
}
|
|
2810
2818
|
//#endregion
|
|
2811
|
-
export {
|
|
2819
|
+
export { ge as Auth0ActionEnum, An as Auth0Client, Be as AuthorizationResponseMode, ze as AuthorizationResponseType, Ve as CodeChallengeMethod, j as ComponentCategory, A as ComponentType, Oi as DATABASE_CONNECTION_STRATEGY, _e as EmailActionEnum, Ft as FORM_FIELD_TYPES, he as FlowActionTypeEnum, mr as GrantType, jn as LocationInfo, Y as LogTypes, bn as LoginSessionState, ke as NodeType, h as RedirectTargetEnum, Ei as Strategy, Di as StrategyType, r as actionDependencySchema, l as actionExecutionErrorSchema, ae as actionExecutionInsertSchema, ne as actionExecutionLogEntrySchema, re as actionExecutionLogsSchema, te as actionExecutionResultSchema, ie as actionExecutionSchema, c as actionExecutionStatusSchema, s as actionExecutionTriggerIdSchema, a as actionInsertSchema, Me as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, u as actionVersionInsertSchema, oe as actionVersionSchema, hi as activeUsersResponseSchema, ce as actorSchema, b 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, se as auditCategorySchema, d as auditEventInsertSchema, me as auditEventSchema, pe as auth0ClientSchema, Re as auth0FlowInsertSchema, Le as auth0FlowSchema, ye as auth0QuerySchema, p as auth0UpdateUserActionSchema, Se as auth0UserResponseSchema, We as authParamsSchema, Mi as authenticationMethodInsertSchema, Ni as authenticationMethodSchema, Ai as authenticationMethodTypeSchema, x as baseUserSchema, Mt as blockComponentSchema, gr as bordersSchema, Ge as brandingSchema, Hn as breachedPasswordDetectionSchema, Un as bruteForceProtectionSchema, P as buttonComponentSchema, Ue as claimsRequestSchema, T as clientGrantInsertSchema, De as clientGrantListSchema, E as clientGrantSchema, w as clientInsertSchema, O as clientRegistrationTokenInsertSchema, Oe as clientRegistrationTokenSchema, D as clientRegistrationTokenTypeSchema, Ee as clientSchema, qe as codeInsertSchema, Je as codeSchema, Ke as codeTypeSchema, _r as colorsSchema, Ut as componentMessageSchema, R as componentSchema, Xe as connectionInsertSchema, Ye as connectionOptionsSchema, Ze as connectionSchema, k as coordinatesSchema, Ii as createPassthroughAdapter, Li as createWriteOnlyAdapter, nt as customDomainCertificateUploadSchema, B as customDomainInsertSchema, $e as customDomainSchema, et as customDomainUpdateSchema, tt as customDomainWithTenantIdSchema, Ti as customTextEntrySchema, wi as customTextSchema, mi as dailyStatsSchema, Or as emailProviderSchema, kr as emailTemplateNameSchema, Ar as emailTemplateSchema, f as emailVerificationRulesSchema, m as emailVerifyActionSchema, Ie as endingSchema, Pt as fieldComponentSchema, _ as flowActionStepSchema, v as flowInsertSchema, ve as flowSchema, I as flowsFieldComponentSchema, je as flowsFlowNodeSchema, Ae as flowsStepNodeSchema, Z as fontDetailsSchema, vr as fontsSchema, It as formControlSchema, Vt as formInsertSchema, G as formNodeComponentDefinition, Bt as formNodeSchema, Ht as formSchema, L as genericComponentSchema, Ne as genericNodeSchema, Ri as getConnectionIdentifierConfig, kn as getLogTypeCategory, On as getLogTypeDescription, Ur as grantInsertSchema, Wr as grantSchema, Tr as handlerConfigSchema, dn as hookCodeInsertSchema, fn as hookCodeSchema, an as hookInsertSchema, un as hookSchema, q as hookTemplateId, $t as hookTemplates, xe as identitySchema, Pi as importMetadataSchema, hn as inviteInsertSchema, gn as inviteSchema, mn as inviteeSchema, pn as inviterSchema, Kt as isBlockComponent, ki as isDatabaseConnectionStrategy, Jt as isFieldComponent, zi as isPlainObject, qt as isWidgetComponent, vn as jwksKeySchema, _n as jwksSchema, F as legalComponentSchema, fe as locationInfoSchema, Mn as logInsertSchema, Nn as logSchema, Fn as logStreamFilterSchema, In as logStreamInsertSchema, Ln as logStreamSchema, X as logStreamStatusSchema, Pn as logStreamTypeSchema, Dn as logTypeCategories, En as logTypeDescriptions, Sn as loginSessionAuthStrategySchema, Cn as loginSessionInsertSchema, wn as loginSessionSchema, xn as loginSessionStateSchema, wr as matchSchema, Rn as migrationProviderTypeSchema, zn as migrationSourceCredentialsSchema, Bn as migrationSourceInsertSchema, Vn as migrationSourceSchema, Pe as nodeSchema, yn 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, Fi as parseUserId, Kn as passwordInsertSchema, qn as passwordSchema, y as profileDataSchema, Ci as promptScreenSchema, Cr as promptSettingSchema, Q as proxyRouteInsertSchema, Er as proxyRouteSchema, Dr as proxyRouteUpdateSchema, g as redirectActionSchema, jr as refreshTokenInsertSchema, Mr as refreshTokenSchema, ue as requestContextSchema, Lr as resourceServerInsertSchema, zr as resourceServerListSchema, Ir as resourceServerOptionsSchema, Rr as resourceServerSchema, Fr as resourceServerScopeSchema, de as responseContextSchema, N 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, Wt as screenLinkSchema, Yn as sessionInsertSchema, Xn as sessionSchema, Zn as signingKeySchema, Pr as smsProviderSchema, Nr as smsSendParamsSchema, Fe as startSchema, Wn as suspiciousIpThrottlingSchema, le 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, be as totalsSchema, Gt as uiScreenSchema, Gr as userActivitySchema, S as userInsertSchema, di as userOrganizationInsertSchema, fi as userOrganizationSchema, Kr as userPermissionInsertSchema, Jr as userPermissionListSchema, qr as userPermissionSchema, Xr as userPermissionWithDetailsListSchema, Yr as userPermissionWithDetailsSchema, Ce as userResponseSchema, Zr as userRoleInsertSchema, $r as userRoleListSchema, Qr as userRoleSchema, C as userSchema, Qe as verificationMethodsSchema, Nt as widgetComponentSchema, br as widgetSchema };
|