@authhero/adapter-interfaces 3.1.1 → 3.3.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 +279 -1
- package/dist/adapter-interfaces.mjs +421 -401
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/Sessions.d.ts +17 -0
- package/dist/types/adapters/Tenants.d.ts +1 -0
- package/dist/types/types/Forms.d.ts +258 -0
- package/dist/types/types/Tenant.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
|
+
]), l = e.object({
|
|
44
44
|
id: e.string(),
|
|
45
45
|
msg: e.string(),
|
|
46
46
|
url: e.string().optional()
|
|
47
|
-
}),
|
|
47
|
+
}), te = e.object({
|
|
48
48
|
action_name: e.string(),
|
|
49
|
-
error:
|
|
49
|
+
error: l.nullable(),
|
|
50
50
|
started_at: e.string(),
|
|
51
51
|
ended_at: e.string()
|
|
52
|
-
}),
|
|
52
|
+
}), ne = 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
|
+
}), re = e.array(e.object({
|
|
62
62
|
action_name: e.string(),
|
|
63
|
-
lines: e.array(
|
|
64
|
-
})),
|
|
63
|
+
lines: e.array(ne)
|
|
64
|
+
})), ie = 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(te),
|
|
70
|
+
logs: re.optional(),
|
|
71
71
|
created_at: e.string(),
|
|
72
72
|
updated_at: e.string()
|
|
73
|
-
}),
|
|
73
|
+
}), ae = ie.omit({
|
|
74
74
|
tenant_id: !0,
|
|
75
75
|
created_at: !0,
|
|
76
76
|
updated_at: !0
|
|
77
|
-
}),
|
|
77
|
+
}), oe = 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
|
+
}), se = oe.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), ce = e.enum([
|
|
90
90
|
"user_action",
|
|
91
91
|
"admin_action",
|
|
92
92
|
"system",
|
|
93
93
|
"api"
|
|
94
|
-
]),
|
|
94
|
+
]), le = 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
|
+
}), ue = 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
|
+
}), de = e.object({
|
|
118
118
|
method: e.string(),
|
|
119
119
|
path: e.string(),
|
|
120
120
|
query: e.record(e.string(), e.string()).optional(),
|
|
@@ -122,41 +122,41 @@ 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
|
+
}), fe = e.object({
|
|
126
126
|
status_code: e.number(),
|
|
127
127
|
body: e.unknown().optional()
|
|
128
|
-
}),
|
|
128
|
+
}), pe = 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
|
+
}), me = e.object({
|
|
136
136
|
name: e.string(),
|
|
137
137
|
version: e.string(),
|
|
138
138
|
env: e.record(e.string(), e.string()).optional()
|
|
139
|
-
}),
|
|
139
|
+
}), he = 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: ce,
|
|
145
|
+
actor: le,
|
|
146
|
+
target: ue,
|
|
147
|
+
request: de,
|
|
148
|
+
response: fe.optional(),
|
|
149
149
|
connection: e.string().optional(),
|
|
150
150
|
strategy: e.string().optional(),
|
|
151
151
|
strategy_type: e.string().optional(),
|
|
152
152
|
audience: e.string().optional(),
|
|
153
153
|
scope: e.string().optional(),
|
|
154
|
-
location:
|
|
155
|
-
auth0_client:
|
|
154
|
+
location: pe.optional(),
|
|
155
|
+
auth0_client: me.optional(),
|
|
156
156
|
hostname: e.string(),
|
|
157
157
|
is_mobile: e.boolean().optional(),
|
|
158
158
|
timestamp: e.string()
|
|
159
|
-
}), ge =
|
|
159
|
+
}), ge = he.extend({ id: e.string() }), _e = e.enum([
|
|
160
160
|
"AUTH0",
|
|
161
161
|
"EMAIL",
|
|
162
162
|
"REDIRECT"
|
|
@@ -166,14 +166,14 @@ var t = e.object({
|
|
|
166
166
|
"UPDATE_USER",
|
|
167
167
|
"SEND_REQUEST",
|
|
168
168
|
"SEND_EMAIL"
|
|
169
|
-
]), ye = e.enum(["VERIFY_EMAIL"]),
|
|
169
|
+
]), ye = e.enum(["VERIFY_EMAIL"]), be = e.object({
|
|
170
170
|
require_mx_record: e.boolean().optional(),
|
|
171
171
|
block_aliases: e.boolean().optional(),
|
|
172
172
|
block_free_emails: e.boolean().optional(),
|
|
173
173
|
block_disposable_emails: e.boolean().optional(),
|
|
174
174
|
blocklist: e.array(e.string()).optional(),
|
|
175
175
|
allowlist: e.array(e.string()).optional()
|
|
176
|
-
}),
|
|
176
|
+
}), xe = e.object({
|
|
177
177
|
id: e.string(),
|
|
178
178
|
alias: e.string().max(100).optional(),
|
|
179
179
|
type: e.literal("AUTH0"),
|
|
@@ -185,7 +185,7 @@ var t = e.object({
|
|
|
185
185
|
user_id: e.string(),
|
|
186
186
|
changes: e.record(e.string(), e.any())
|
|
187
187
|
})
|
|
188
|
-
}),
|
|
188
|
+
}), Se = e.object({
|
|
189
189
|
id: e.string(),
|
|
190
190
|
alias: e.string().max(100).optional(),
|
|
191
191
|
type: e.literal("EMAIL"),
|
|
@@ -194,13 +194,13 @@ var t = e.object({
|
|
|
194
194
|
mask_output: e.boolean().optional(),
|
|
195
195
|
params: e.object({
|
|
196
196
|
email: e.string(),
|
|
197
|
-
rules:
|
|
197
|
+
rules: be.optional()
|
|
198
198
|
})
|
|
199
|
-
}),
|
|
199
|
+
}), Ce = e.enum([
|
|
200
200
|
"change-email",
|
|
201
201
|
"account",
|
|
202
202
|
"custom"
|
|
203
|
-
]),
|
|
203
|
+
]), u = e.object({
|
|
204
204
|
id: e.string(),
|
|
205
205
|
alias: e.string().max(100).optional(),
|
|
206
206
|
type: e.literal("REDIRECT"),
|
|
@@ -208,31 +208,31 @@ var t = e.object({
|
|
|
208
208
|
allow_failure: e.boolean().optional(),
|
|
209
209
|
mask_output: e.boolean().optional(),
|
|
210
210
|
params: e.object({
|
|
211
|
-
target:
|
|
211
|
+
target: Ce.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
|
|
212
212
|
custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
|
|
213
213
|
})
|
|
214
|
-
}),
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
]),
|
|
214
|
+
}), d = e.union([
|
|
215
|
+
xe,
|
|
216
|
+
Se,
|
|
217
|
+
u
|
|
218
|
+
]), f = e.object({
|
|
219
219
|
name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
|
|
220
|
-
actions: e.array(
|
|
221
|
-
}),
|
|
220
|
+
actions: e.array(d).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
|
|
221
|
+
}), we = f.extend(t.shape).extend({ id: e.string().openapi({
|
|
222
222
|
description: "Unique identifier for the flow",
|
|
223
223
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
224
|
-
}) }),
|
|
224
|
+
}) }), Te = e.object({
|
|
225
225
|
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
226
|
per_page: e.string().min(1).optional().default("10").transform((e) => parseInt(e, 10)).openapi({ description: "The number of items per page" }),
|
|
227
227
|
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
228
|
sort: e.string().regex(/^.+:(-1|1)$/).optional().openapi({ description: "A property that should have the format 'string:-1' or 'string:1'" }),
|
|
229
229
|
q: e.string().optional().openapi({ description: "A lucene query string used to filter the results" })
|
|
230
|
-
}),
|
|
230
|
+
}), Ee = e.object({
|
|
231
231
|
start: e.number(),
|
|
232
232
|
limit: e.number(),
|
|
233
233
|
length: e.number(),
|
|
234
234
|
total: e.number().optional()
|
|
235
|
-
}),
|
|
235
|
+
}), p = e.object({
|
|
236
236
|
email: e.string().optional(),
|
|
237
237
|
email_verified: e.boolean().optional(),
|
|
238
238
|
name: e.string().optional(),
|
|
@@ -241,7 +241,7 @@ var t = e.object({
|
|
|
241
241
|
phone_number: e.string().optional(),
|
|
242
242
|
phone_verified: e.boolean().optional(),
|
|
243
243
|
family_name: e.string().optional()
|
|
244
|
-
}).catchall(e.any()),
|
|
244
|
+
}).catchall(e.any()), m = e.object({
|
|
245
245
|
connection: e.string(),
|
|
246
246
|
user_id: e.string(),
|
|
247
247
|
provider: e.string(),
|
|
@@ -254,15 +254,15 @@ var t = e.object({
|
|
|
254
254
|
access_token: e.string().optional(),
|
|
255
255
|
access_token_secret: e.string().optional(),
|
|
256
256
|
refresh_token: e.string().optional(),
|
|
257
|
-
profileData:
|
|
258
|
-
}),
|
|
257
|
+
profileData: p.optional()
|
|
258
|
+
}), h = e.object({
|
|
259
259
|
formatted: e.string().optional(),
|
|
260
260
|
street_address: e.string().optional(),
|
|
261
261
|
locality: e.string().optional(),
|
|
262
262
|
region: e.string().optional(),
|
|
263
263
|
postal_code: e.string().optional(),
|
|
264
264
|
country: e.string().optional()
|
|
265
|
-
}).optional(),
|
|
265
|
+
}).optional(), g = e.object({
|
|
266
266
|
email: e.string().transform((e) => e.toLowerCase()).optional(),
|
|
267
267
|
username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
|
|
268
268
|
phone_number: e.string().optional(),
|
|
@@ -285,8 +285,8 @@ var t = e.object({
|
|
|
285
285
|
gender: e.string().optional(),
|
|
286
286
|
birthdate: e.string().optional(),
|
|
287
287
|
zoneinfo: e.string().optional(),
|
|
288
|
-
address:
|
|
289
|
-
}),
|
|
288
|
+
address: h
|
|
289
|
+
}), _ = g.extend({
|
|
290
290
|
email_verified: e.boolean().default(!1),
|
|
291
291
|
verify_email: e.boolean().optional(),
|
|
292
292
|
last_ip: e.string().optional(),
|
|
@@ -300,29 +300,29 @@ var t = e.object({
|
|
|
300
300
|
hash: e.string(),
|
|
301
301
|
algorithm: e.string()
|
|
302
302
|
}).optional()
|
|
303
|
-
}),
|
|
303
|
+
}), v = _.omit({ password: !0 }).extend(t.shape).extend({
|
|
304
304
|
user_id: e.string(),
|
|
305
305
|
provider: e.string(),
|
|
306
306
|
is_social: e.boolean(),
|
|
307
307
|
email: e.string().optional(),
|
|
308
308
|
login_count: e.number().default(0),
|
|
309
|
-
identities: e.array(
|
|
310
|
-
}),
|
|
309
|
+
identities: e.array(m).optional()
|
|
310
|
+
}), De = v.omit({ registration_completed_at: !0 }), Oe = g.extend({
|
|
311
311
|
login_count: e.number(),
|
|
312
312
|
multifactor: e.array(e.string()).optional(),
|
|
313
313
|
last_ip: e.string().optional(),
|
|
314
314
|
last_login: e.string().optional(),
|
|
315
315
|
user_id: e.string()
|
|
316
|
-
}).catchall(e.any()),
|
|
316
|
+
}).catchall(e.any()), ke = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ae = (e = 21) => {
|
|
317
317
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
318
|
-
for (; e--;) t +=
|
|
318
|
+
for (; e--;) t += ke[n[e] & 63];
|
|
319
319
|
return t;
|
|
320
|
-
},
|
|
320
|
+
}, y = e.object({
|
|
321
321
|
client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
|
|
322
322
|
name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
|
|
323
323
|
description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
|
|
324
324
|
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(() =>
|
|
325
|
+
client_secret: e.string().default(() => Ae()).optional().openapi({ description: "Client secret (which you must not make public)." }),
|
|
326
326
|
app_type: e.enum([
|
|
327
327
|
"native",
|
|
328
328
|
"spa",
|
|
@@ -429,10 +429,10 @@ var t = e.object({
|
|
|
429
429
|
]).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
430
|
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
431
|
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
|
-
}),
|
|
432
|
+
}), je = e.object({
|
|
433
433
|
created_at: e.string(),
|
|
434
434
|
updated_at: e.string()
|
|
435
|
-
}).extend(
|
|
435
|
+
}).extend(y.shape).extend({ client_id: e.string() }), b = e.object({
|
|
436
436
|
client_id: e.string().min(1).openapi({ description: "ID of the client." }),
|
|
437
437
|
audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
|
|
438
438
|
scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
|
|
@@ -445,38 +445,38 @@ var t = e.object({
|
|
|
445
445
|
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
446
|
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
447
|
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
|
-
}),
|
|
448
|
+
}), x = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(b.shape).extend({
|
|
449
449
|
created_at: e.string().optional(),
|
|
450
450
|
updated_at: e.string().optional()
|
|
451
|
-
}),
|
|
451
|
+
}), Me = e.array(x), S = e.enum(["iat", "rat"]), C = e.object({
|
|
452
452
|
id: e.string(),
|
|
453
453
|
token_hash: e.string(),
|
|
454
|
-
type:
|
|
454
|
+
type: S,
|
|
455
455
|
client_id: e.string().optional(),
|
|
456
456
|
sub: e.string().optional(),
|
|
457
457
|
constraints: e.record(e.string(), e.unknown()).optional(),
|
|
458
458
|
single_use: e.boolean().default(!1),
|
|
459
459
|
expires_at: e.string().optional()
|
|
460
|
-
}),
|
|
460
|
+
}), Ne = e.object({
|
|
461
461
|
created_at: e.string(),
|
|
462
462
|
used_at: e.string().optional(),
|
|
463
463
|
revoked_at: e.string().optional()
|
|
464
|
-
}).extend(
|
|
464
|
+
}).extend(C.shape), w = e.object({
|
|
465
465
|
x: e.number(),
|
|
466
466
|
y: e.number()
|
|
467
|
-
}),
|
|
467
|
+
}), T = /* @__PURE__ */ function(e) {
|
|
468
468
|
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
|
-
}({}),
|
|
469
|
+
}({}), E = /* @__PURE__ */ function(e) {
|
|
470
470
|
return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
|
|
471
|
-
}({}),
|
|
471
|
+
}({}), D = e.object({
|
|
472
472
|
id: e.string(),
|
|
473
|
-
category: e.nativeEnum(
|
|
474
|
-
type: e.nativeEnum(
|
|
475
|
-
}),
|
|
473
|
+
category: e.nativeEnum(E),
|
|
474
|
+
type: e.nativeEnum(T)
|
|
475
|
+
}), O = D.extend({
|
|
476
476
|
category: e.literal("BLOCK"),
|
|
477
477
|
type: e.literal("RICH_TEXT"),
|
|
478
478
|
config: e.object({ content: e.string() }).passthrough()
|
|
479
|
-
}),
|
|
479
|
+
}), k = D.extend({
|
|
480
480
|
category: e.literal("BLOCK"),
|
|
481
481
|
type: e.union([
|
|
482
482
|
e.literal("NEXT_BUTTON"),
|
|
@@ -484,13 +484,13 @@ var t = e.object({
|
|
|
484
484
|
e.literal("SUBMIT_BUTTON")
|
|
485
485
|
]),
|
|
486
486
|
config: e.object({ text: e.string() }).passthrough()
|
|
487
|
-
}),
|
|
487
|
+
}), A = D.extend({
|
|
488
488
|
category: e.literal("FIELD"),
|
|
489
489
|
type: e.literal("LEGAL"),
|
|
490
490
|
required: e.boolean().optional(),
|
|
491
491
|
sensitive: e.boolean().optional(),
|
|
492
492
|
config: e.object({ text: e.string() }).passthrough()
|
|
493
|
-
}),
|
|
493
|
+
}), j = D.extend({
|
|
494
494
|
category: e.literal("FIELD"),
|
|
495
495
|
type: e.union([
|
|
496
496
|
e.literal("TEXT"),
|
|
@@ -510,40 +510,40 @@ var t = e.object({
|
|
|
510
510
|
label: e.string().optional(),
|
|
511
511
|
placeholder: e.string().optional()
|
|
512
512
|
}).passthrough()
|
|
513
|
-
}),
|
|
513
|
+
}), M = e.object({
|
|
514
514
|
id: e.string(),
|
|
515
515
|
category: e.string(),
|
|
516
516
|
type: e.string()
|
|
517
|
-
}).passthrough(),
|
|
517
|
+
}).passthrough(), N = e.union([
|
|
518
|
+
O,
|
|
519
|
+
k,
|
|
520
|
+
A,
|
|
518
521
|
j,
|
|
519
|
-
M
|
|
520
|
-
|
|
521
|
-
P,
|
|
522
|
-
F
|
|
523
|
-
]), je = /* @__PURE__ */ function(e) {
|
|
522
|
+
M
|
|
523
|
+
]), Pe = /* @__PURE__ */ function(e) {
|
|
524
524
|
return e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e;
|
|
525
|
-
}({}),
|
|
525
|
+
}({}), P = e.object({
|
|
526
526
|
id: e.string(),
|
|
527
527
|
type: e.literal("STEP"),
|
|
528
|
-
coordinates:
|
|
528
|
+
coordinates: w,
|
|
529
529
|
alias: e.string().optional(),
|
|
530
530
|
config: e.object({
|
|
531
|
-
components: e.array(
|
|
531
|
+
components: e.array(N),
|
|
532
532
|
next_node: e.string()
|
|
533
533
|
}).passthrough()
|
|
534
|
-
}),
|
|
534
|
+
}), F = e.object({
|
|
535
535
|
id: e.string(),
|
|
536
536
|
type: e.literal("FLOW"),
|
|
537
|
-
coordinates:
|
|
537
|
+
coordinates: w,
|
|
538
538
|
alias: e.string().optional(),
|
|
539
539
|
config: e.object({
|
|
540
540
|
flow_id: e.string(),
|
|
541
541
|
next_node: e.string()
|
|
542
542
|
})
|
|
543
|
-
}),
|
|
543
|
+
}), I = e.object({
|
|
544
544
|
id: e.string(),
|
|
545
545
|
type: e.literal("ACTION"),
|
|
546
|
-
coordinates:
|
|
546
|
+
coordinates: w,
|
|
547
547
|
alias: e.string().optional(),
|
|
548
548
|
config: e.object({
|
|
549
549
|
action_type: e.enum(["REDIRECT"]).openapi({ description: "The type of action to perform" }),
|
|
@@ -555,56 +555,56 @@ var t = e.object({
|
|
|
555
555
|
custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
|
|
556
556
|
next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
|
|
557
557
|
}).passthrough()
|
|
558
|
-
}),
|
|
558
|
+
}), L = e.object({
|
|
559
559
|
id: e.string(),
|
|
560
560
|
type: e.string(),
|
|
561
|
-
coordinates:
|
|
562
|
-
}).passthrough(),
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
]),
|
|
561
|
+
coordinates: w
|
|
562
|
+
}).passthrough(), R = e.union([
|
|
563
|
+
P,
|
|
564
|
+
F,
|
|
565
|
+
I,
|
|
566
|
+
L
|
|
567
|
+
]), Fe = e.object({
|
|
568
568
|
next_node: e.string(),
|
|
569
|
-
coordinates:
|
|
570
|
-
}).passthrough(),
|
|
569
|
+
coordinates: w
|
|
570
|
+
}).passthrough(), Ie = e.object({
|
|
571
571
|
resume_flow: e.boolean().optional(),
|
|
572
|
-
coordinates:
|
|
573
|
-
}).passthrough(),
|
|
572
|
+
coordinates: w
|
|
573
|
+
}).passthrough(), Le = e.object({
|
|
574
574
|
id: e.string(),
|
|
575
575
|
name: e.string(),
|
|
576
576
|
languages: e.object({ primary: e.string() }).passthrough(),
|
|
577
|
-
nodes: e.array(
|
|
578
|
-
start:
|
|
579
|
-
ending:
|
|
577
|
+
nodes: e.array(R),
|
|
578
|
+
start: Fe,
|
|
579
|
+
ending: Ie,
|
|
580
580
|
created_at: e.string(),
|
|
581
581
|
updated_at: e.string(),
|
|
582
582
|
links: e.object({
|
|
583
583
|
sdkSrc: e.string().optional(),
|
|
584
584
|
sdk_src: e.string().optional()
|
|
585
585
|
}).passthrough()
|
|
586
|
-
}).passthrough(),
|
|
586
|
+
}).passthrough(), Re = Le.omit({
|
|
587
587
|
id: !0,
|
|
588
588
|
created_at: !0,
|
|
589
589
|
updated_at: !0
|
|
590
|
-
}),
|
|
590
|
+
}), ze = /* @__PURE__ */ function(e) {
|
|
591
591
|
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;
|
|
592
|
-
}({}),
|
|
592
|
+
}({}), Be = /* @__PURE__ */ function(e) {
|
|
593
593
|
return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
|
|
594
|
-
}({}),
|
|
594
|
+
}({}), Ve = /* @__PURE__ */ function(e) {
|
|
595
595
|
return e.S256 = "S256", e.Plain = "plain", e;
|
|
596
|
-
}({}),
|
|
596
|
+
}({}), He = e.union([e.null(), e.object({
|
|
597
597
|
essential: e.boolean().optional(),
|
|
598
598
|
value: e.unknown().optional(),
|
|
599
599
|
values: e.array(e.unknown()).optional()
|
|
600
|
-
})]).nullable(),
|
|
601
|
-
userinfo: e.record(e.string(),
|
|
602
|
-
id_token: e.record(e.string(),
|
|
603
|
-
}),
|
|
600
|
+
})]).nullable(), Ue = e.object({
|
|
601
|
+
userinfo: e.record(e.string(), He).optional(),
|
|
602
|
+
id_token: e.record(e.string(), He).optional()
|
|
603
|
+
}), We = e.object({
|
|
604
604
|
client_id: e.string(),
|
|
605
605
|
act_as: e.string().optional(),
|
|
606
|
-
response_type: e.nativeEnum(
|
|
607
|
-
response_mode: e.nativeEnum(
|
|
606
|
+
response_type: e.nativeEnum(ze).optional(),
|
|
607
|
+
response_mode: e.nativeEnum(Be).optional(),
|
|
608
608
|
redirect_uri: e.string().optional(),
|
|
609
609
|
audience: e.string().optional(),
|
|
610
610
|
organization: e.string().optional(),
|
|
@@ -612,15 +612,15 @@ var t = e.object({
|
|
|
612
612
|
nonce: e.string().optional(),
|
|
613
613
|
scope: e.string().optional(),
|
|
614
614
|
prompt: e.string().optional(),
|
|
615
|
-
code_challenge_method: e.nativeEnum(
|
|
615
|
+
code_challenge_method: e.nativeEnum(Ve).optional(),
|
|
616
616
|
code_challenge: e.string().optional(),
|
|
617
617
|
username: e.string().optional(),
|
|
618
618
|
ui_locales: e.string().optional(),
|
|
619
619
|
max_age: e.number().optional(),
|
|
620
620
|
acr_values: e.string().optional(),
|
|
621
|
-
claims:
|
|
621
|
+
claims: Ue.optional(),
|
|
622
622
|
vendor_id: e.string().optional()
|
|
623
|
-
}),
|
|
623
|
+
}), Ge = e.object({
|
|
624
624
|
colors: e.object({
|
|
625
625
|
primary: e.string(),
|
|
626
626
|
page_background: e.union([e.string(), e.object({
|
|
@@ -639,7 +639,7 @@ var t = e.object({
|
|
|
639
639
|
"light",
|
|
640
640
|
"auto"
|
|
641
641
|
]).optional()
|
|
642
|
-
}),
|
|
642
|
+
}), Ke = e.enum([
|
|
643
643
|
"password_reset",
|
|
644
644
|
"email_verification",
|
|
645
645
|
"otp",
|
|
@@ -647,11 +647,11 @@ var t = e.object({
|
|
|
647
647
|
"authorization_code",
|
|
648
648
|
"oauth2_state",
|
|
649
649
|
"ticket"
|
|
650
|
-
]),
|
|
650
|
+
]), qe = e.object({
|
|
651
651
|
code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
|
|
652
652
|
login_id: e.string().openapi({ description: "The id of the login session that the code is connected to" }),
|
|
653
653
|
connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
|
|
654
|
-
code_type:
|
|
654
|
+
code_type: Ke,
|
|
655
655
|
code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
|
|
656
656
|
code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
|
|
657
657
|
code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
|
|
@@ -662,7 +662,7 @@ var t = e.object({
|
|
|
662
662
|
expires_at: e.string(),
|
|
663
663
|
used_at: e.string().optional(),
|
|
664
664
|
user_id: e.string().optional()
|
|
665
|
-
}),
|
|
665
|
+
}), Je = qe.extend({ created_at: e.string() }), Ye = e.object({
|
|
666
666
|
kid: e.string().optional(),
|
|
667
667
|
team_id: e.string().optional(),
|
|
668
668
|
realms: e.string().optional(),
|
|
@@ -778,23 +778,23 @@ var t = e.object({
|
|
|
778
778
|
"never_on_login"
|
|
779
779
|
]).optional()
|
|
780
780
|
});
|
|
781
|
-
function
|
|
781
|
+
function z(e) {
|
|
782
782
|
if (e !== null) {
|
|
783
|
-
if (Array.isArray(e)) return e.filter((e) => e !== null).map(
|
|
783
|
+
if (Array.isArray(e)) return e.filter((e) => e !== null).map(z);
|
|
784
784
|
if (e && typeof e == "object") {
|
|
785
785
|
let t = {};
|
|
786
|
-
for (let [n, r] of Object.entries(e)) r !== null && (t[n] =
|
|
786
|
+
for (let [n, r] of Object.entries(e)) r !== null && (t[n] = z(r));
|
|
787
787
|
return t;
|
|
788
788
|
}
|
|
789
789
|
return e;
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
|
-
var
|
|
792
|
+
var Xe = e.object({
|
|
793
793
|
id: e.string().optional(),
|
|
794
794
|
name: e.string(),
|
|
795
795
|
display_name: e.string().optional(),
|
|
796
796
|
strategy: e.string(),
|
|
797
|
-
options: e.preprocess((e) => e === null ? {} :
|
|
797
|
+
options: e.preprocess((e) => e === null ? {} : z(e), Ye).default({}),
|
|
798
798
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
799
799
|
response_type: e.custom().optional(),
|
|
800
800
|
response_mode: e.custom().optional(),
|
|
@@ -802,11 +802,11 @@ var Ze = e.object({
|
|
|
802
802
|
show_as_button: e.boolean().optional(),
|
|
803
803
|
metadata: e.record(e.string(), e.any()).optional(),
|
|
804
804
|
is_system: e.boolean().optional()
|
|
805
|
-
}),
|
|
805
|
+
}), Ze = e.object({
|
|
806
806
|
id: e.string(),
|
|
807
807
|
created_at: e.string().transform((e) => e === null ? "" : e),
|
|
808
808
|
updated_at: e.string().transform((e) => e === null ? "" : e)
|
|
809
|
-
}).extend(
|
|
809
|
+
}).extend(Xe.shape), B = e.object({
|
|
810
810
|
domain: e.string(),
|
|
811
811
|
custom_domain_id: e.string().optional(),
|
|
812
812
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -820,7 +820,7 @@ var Ze = e.object({
|
|
|
820
820
|
"null"
|
|
821
821
|
]).optional(),
|
|
822
822
|
domain_metadata: e.record(e.string(), e.string().max(255)).optional()
|
|
823
|
-
}),
|
|
823
|
+
}), Qe = e.discriminatedUnion("name", [e.object({
|
|
824
824
|
name: e.literal("txt"),
|
|
825
825
|
record: e.string(),
|
|
826
826
|
domain: e.string()
|
|
@@ -828,7 +828,7 @@ var Ze = e.object({
|
|
|
828
828
|
name: e.literal("http"),
|
|
829
829
|
http_body: e.string(),
|
|
830
830
|
http_url: e.string()
|
|
831
|
-
})]),
|
|
831
|
+
})]), $e = B.extend({
|
|
832
832
|
custom_domain_id: e.string(),
|
|
833
833
|
primary: e.boolean(),
|
|
834
834
|
status: e.enum([
|
|
@@ -838,26 +838,26 @@ var Ze = e.object({
|
|
|
838
838
|
"ready"
|
|
839
839
|
]),
|
|
840
840
|
origin_domain_name: e.string().optional(),
|
|
841
|
-
verification: e.object({ methods: e.array(
|
|
841
|
+
verification: e.object({ methods: e.array(Qe) }).optional(),
|
|
842
842
|
tls_policy: e.string().optional()
|
|
843
|
-
}),
|
|
843
|
+
}), et = B.pick({
|
|
844
844
|
tls_policy: !0,
|
|
845
845
|
custom_client_ip_header: !0,
|
|
846
846
|
domain_metadata: !0
|
|
847
|
-
}).strict(),
|
|
847
|
+
}).strict(), tt = $e.extend({ tenant_id: e.string() }), nt = e.object({
|
|
848
848
|
certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
|
|
849
849
|
private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
|
|
850
|
-
}),
|
|
850
|
+
}), V = e.object({
|
|
851
851
|
id: e.string(),
|
|
852
852
|
order: e.number().optional(),
|
|
853
853
|
visible: e.boolean().optional().default(!0)
|
|
854
|
-
}),
|
|
854
|
+
}), H = V.extend({ category: e.literal("BLOCK").optional() }), rt = H.extend({
|
|
855
855
|
type: e.literal("DIVIDER"),
|
|
856
856
|
config: e.object({ text: e.string().optional() }).optional()
|
|
857
|
-
}),
|
|
857
|
+
}), it = H.extend({
|
|
858
858
|
type: e.literal("HTML"),
|
|
859
859
|
config: e.object({ content: e.string().optional() }).optional()
|
|
860
|
-
}),
|
|
860
|
+
}), at = H.extend({
|
|
861
861
|
type: e.literal("IMAGE"),
|
|
862
862
|
config: e.object({
|
|
863
863
|
src: e.string().optional(),
|
|
@@ -865,43 +865,43 @@ var Ze = e.object({
|
|
|
865
865
|
width: e.number().optional(),
|
|
866
866
|
height: e.number().optional()
|
|
867
867
|
}).optional()
|
|
868
|
-
}),
|
|
868
|
+
}), ot = H.extend({
|
|
869
869
|
type: e.literal("JUMP_BUTTON"),
|
|
870
870
|
config: e.object({
|
|
871
871
|
text: e.string().optional(),
|
|
872
872
|
target_step: e.string().optional()
|
|
873
873
|
})
|
|
874
|
-
}),
|
|
874
|
+
}), st = H.extend({
|
|
875
875
|
type: e.literal("RESEND_BUTTON"),
|
|
876
876
|
config: e.object({
|
|
877
877
|
text: e.string().optional(),
|
|
878
878
|
resend_action: e.string().optional()
|
|
879
879
|
})
|
|
880
|
-
}),
|
|
880
|
+
}), ct = H.extend({
|
|
881
881
|
type: e.literal("NEXT_BUTTON"),
|
|
882
882
|
config: e.object({ text: e.string().optional() })
|
|
883
|
-
}),
|
|
883
|
+
}), lt = H.extend({
|
|
884
884
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
885
885
|
config: e.object({ text: e.string().optional() })
|
|
886
|
-
}),
|
|
886
|
+
}), ut = H.extend({
|
|
887
887
|
type: e.literal("RICH_TEXT"),
|
|
888
888
|
config: e.object({ content: e.string().optional() }).optional()
|
|
889
|
-
}),
|
|
889
|
+
}), U = V.extend({
|
|
890
890
|
category: e.literal("WIDGET").optional(),
|
|
891
891
|
label: e.string().min(1).optional(),
|
|
892
892
|
hint: e.string().min(1).max(500).optional(),
|
|
893
893
|
required: e.boolean().optional(),
|
|
894
894
|
sensitive: e.boolean().optional()
|
|
895
|
-
}),
|
|
895
|
+
}), dt = U.extend({
|
|
896
896
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
897
897
|
config: e.object({ credential_type: e.string().optional() })
|
|
898
|
-
}),
|
|
898
|
+
}), ft = U.extend({
|
|
899
899
|
type: e.literal("GMAPS_ADDRESS"),
|
|
900
900
|
config: e.object({ api_key: e.string().optional() })
|
|
901
|
-
}),
|
|
901
|
+
}), pt = U.extend({
|
|
902
902
|
type: e.literal("RECAPTCHA"),
|
|
903
903
|
config: e.object({ site_key: e.string().optional() })
|
|
904
|
-
}),
|
|
904
|
+
}), W = V.extend({
|
|
905
905
|
category: e.literal("FIELD").optional(),
|
|
906
906
|
label: e.string().min(1).optional(),
|
|
907
907
|
hint: e.string().min(1).max(500).optional(),
|
|
@@ -917,10 +917,10 @@ var Ze = e.object({
|
|
|
917
917
|
})).optional(),
|
|
918
918
|
required: e.boolean().optional(),
|
|
919
919
|
sensitive: e.boolean().optional()
|
|
920
|
-
}),
|
|
920
|
+
}), mt = W.extend({
|
|
921
921
|
type: e.literal("BOOLEAN"),
|
|
922
922
|
config: e.object({ default_value: e.boolean().optional() }).optional()
|
|
923
|
-
}),
|
|
923
|
+
}), ht = W.extend({
|
|
924
924
|
type: e.literal("CARDS"),
|
|
925
925
|
config: e.object({
|
|
926
926
|
options: e.array(e.object({
|
|
@@ -931,7 +931,7 @@ var Ze = e.object({
|
|
|
931
931
|
})).optional(),
|
|
932
932
|
multi_select: e.boolean().optional()
|
|
933
933
|
}).optional()
|
|
934
|
-
}),
|
|
934
|
+
}), gt = W.extend({
|
|
935
935
|
type: e.literal("CHOICE"),
|
|
936
936
|
config: e.object({
|
|
937
937
|
options: e.array(e.object({
|
|
@@ -942,7 +942,24 @@ var Ze = e.object({
|
|
|
942
942
|
multiple: e.boolean().optional(),
|
|
943
943
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
944
944
|
}).optional()
|
|
945
|
-
}),
|
|
945
|
+
}), _t = W.extend({
|
|
946
|
+
type: e.literal("CODE"),
|
|
947
|
+
config: e.object({
|
|
948
|
+
length: e.number().int().positive().max(100).optional(),
|
|
949
|
+
mode: e.enum(["numeric", "alphanumeric"]).optional(),
|
|
950
|
+
auto_submit: e.boolean().optional(),
|
|
951
|
+
group_size: e.number().int().min(0).max(100).optional(),
|
|
952
|
+
separator: e.string().optional(),
|
|
953
|
+
placeholder: e.string().optional(),
|
|
954
|
+
default_value: e.string().optional()
|
|
955
|
+
}).refine((e) => e.group_size === void 0 || e.length === void 0 || e.group_size <= e.length, {
|
|
956
|
+
message: "group_size cannot exceed length",
|
|
957
|
+
path: ["group_size"]
|
|
958
|
+
}).refine((e) => e.default_value === void 0 || e.length === void 0 || e.default_value.length <= e.length, {
|
|
959
|
+
message: "default_value is longer than the configured length",
|
|
960
|
+
path: ["default_value"]
|
|
961
|
+
}).optional()
|
|
962
|
+
}), vt = W.extend({
|
|
946
963
|
type: e.literal("CUSTOM"),
|
|
947
964
|
config: e.object({
|
|
948
965
|
component: e.string().optional(),
|
|
@@ -950,7 +967,7 @@ var Ze = e.object({
|
|
|
950
967
|
schema: e.record(e.string(), e.any()).optional(),
|
|
951
968
|
code: e.string().optional()
|
|
952
969
|
})
|
|
953
|
-
}), yt =
|
|
970
|
+
}), yt = W.extend({
|
|
954
971
|
type: e.literal("DATE"),
|
|
955
972
|
config: e.object({
|
|
956
973
|
format: e.string().optional(),
|
|
@@ -958,7 +975,7 @@ var Ze = e.object({
|
|
|
958
975
|
max: e.string().optional(),
|
|
959
976
|
default_value: e.string().optional()
|
|
960
977
|
}).optional()
|
|
961
|
-
}), bt =
|
|
978
|
+
}), bt = W.extend({
|
|
962
979
|
type: e.literal("DROPDOWN"),
|
|
963
980
|
config: e.object({
|
|
964
981
|
options: e.array(e.object({
|
|
@@ -970,26 +987,26 @@ var Ze = e.object({
|
|
|
970
987
|
multiple: e.boolean().optional(),
|
|
971
988
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
972
989
|
}).optional()
|
|
973
|
-
}), xt =
|
|
990
|
+
}), xt = W.extend({
|
|
974
991
|
type: e.literal("EMAIL"),
|
|
975
992
|
config: e.object({
|
|
976
993
|
placeholder: e.string().optional(),
|
|
977
994
|
default_value: e.string().optional()
|
|
978
995
|
}).optional()
|
|
979
|
-
}), St =
|
|
996
|
+
}), St = W.extend({
|
|
980
997
|
type: e.literal("FILE"),
|
|
981
998
|
config: e.object({
|
|
982
999
|
accept: e.string().optional(),
|
|
983
1000
|
max_size: e.number().optional(),
|
|
984
1001
|
multiple: e.boolean().optional()
|
|
985
1002
|
}).optional()
|
|
986
|
-
}), Ct =
|
|
1003
|
+
}), Ct = W.extend({
|
|
987
1004
|
type: e.literal("LEGAL"),
|
|
988
1005
|
config: e.object({
|
|
989
1006
|
text: e.string(),
|
|
990
1007
|
html: e.boolean().optional()
|
|
991
1008
|
}).optional()
|
|
992
|
-
}), wt =
|
|
1009
|
+
}), wt = W.extend({
|
|
993
1010
|
type: e.literal("NUMBER"),
|
|
994
1011
|
config: e.object({
|
|
995
1012
|
placeholder: e.string().optional(),
|
|
@@ -998,7 +1015,7 @@ var Ze = e.object({
|
|
|
998
1015
|
step: e.number().optional(),
|
|
999
1016
|
default_value: e.string().optional()
|
|
1000
1017
|
}).optional()
|
|
1001
|
-
}), Tt =
|
|
1018
|
+
}), Tt = W.extend({
|
|
1002
1019
|
type: e.literal("PASSWORD"),
|
|
1003
1020
|
config: e.object({
|
|
1004
1021
|
placeholder: e.string().optional(),
|
|
@@ -1007,13 +1024,13 @@ var Ze = e.object({
|
|
|
1007
1024
|
forgot_password_link: e.string().optional(),
|
|
1008
1025
|
default_value: e.string().optional()
|
|
1009
1026
|
}).optional()
|
|
1010
|
-
}), Et =
|
|
1027
|
+
}), Et = W.extend({
|
|
1011
1028
|
type: e.literal("PAYMENT"),
|
|
1012
1029
|
config: e.object({
|
|
1013
1030
|
provider: e.string().optional(),
|
|
1014
1031
|
currency: e.string().optional()
|
|
1015
1032
|
}).optional()
|
|
1016
|
-
}), Dt =
|
|
1033
|
+
}), Dt = W.extend({
|
|
1017
1034
|
type: e.literal("SOCIAL"),
|
|
1018
1035
|
config: e.object({
|
|
1019
1036
|
providers: e.array(e.string()).optional(),
|
|
@@ -1025,7 +1042,7 @@ var Ze = e.object({
|
|
|
1025
1042
|
href: e.string().optional()
|
|
1026
1043
|
})).optional()
|
|
1027
1044
|
}).optional()
|
|
1028
|
-
}), Ot =
|
|
1045
|
+
}), Ot = W.extend({
|
|
1029
1046
|
type: e.literal("TEL"),
|
|
1030
1047
|
config: e.object({
|
|
1031
1048
|
placeholder: e.string().optional(),
|
|
@@ -1033,7 +1050,7 @@ var Ze = e.object({
|
|
|
1033
1050
|
default_value: e.string().optional(),
|
|
1034
1051
|
allow_email: e.boolean().optional()
|
|
1035
1052
|
}).optional()
|
|
1036
|
-
}), kt =
|
|
1053
|
+
}), kt = W.extend({
|
|
1037
1054
|
type: e.literal("TEXT"),
|
|
1038
1055
|
config: e.object({
|
|
1039
1056
|
placeholder: e.string().optional(),
|
|
@@ -1041,32 +1058,33 @@ var Ze = e.object({
|
|
|
1041
1058
|
max_length: e.number().optional(),
|
|
1042
1059
|
default_value: e.string().optional()
|
|
1043
1060
|
}).optional()
|
|
1044
|
-
}), At =
|
|
1061
|
+
}), At = W.extend({
|
|
1045
1062
|
type: e.literal("COUNTRY"),
|
|
1046
1063
|
config: e.object({
|
|
1047
1064
|
placeholder: e.string().optional(),
|
|
1048
1065
|
default_value: e.string().optional()
|
|
1049
1066
|
}).optional()
|
|
1050
|
-
}), jt =
|
|
1067
|
+
}), jt = W.extend({
|
|
1051
1068
|
type: e.literal("URL"),
|
|
1052
1069
|
config: e.object({
|
|
1053
1070
|
placeholder: e.string().optional(),
|
|
1054
1071
|
default_value: e.string().optional()
|
|
1055
1072
|
}).optional()
|
|
1056
1073
|
}), Mt = e.discriminatedUnion("type", [
|
|
1074
|
+
rt,
|
|
1057
1075
|
it,
|
|
1058
1076
|
at,
|
|
1059
1077
|
ot,
|
|
1060
1078
|
st,
|
|
1061
1079
|
ct,
|
|
1062
1080
|
lt,
|
|
1063
|
-
ut
|
|
1064
|
-
dt
|
|
1081
|
+
ut
|
|
1065
1082
|
]), Nt = e.discriminatedUnion("type", [
|
|
1083
|
+
dt,
|
|
1066
1084
|
ft,
|
|
1067
|
-
pt
|
|
1068
|
-
mt
|
|
1085
|
+
pt
|
|
1069
1086
|
]), Pt = e.discriminatedUnion("type", [
|
|
1087
|
+
mt,
|
|
1070
1088
|
ht,
|
|
1071
1089
|
gt,
|
|
1072
1090
|
_t,
|
|
@@ -1084,14 +1102,15 @@ var Ze = e.object({
|
|
|
1084
1102
|
Ot,
|
|
1085
1103
|
kt,
|
|
1086
1104
|
jt
|
|
1087
|
-
]),
|
|
1105
|
+
]), G = e.union([
|
|
1088
1106
|
Mt,
|
|
1089
1107
|
Nt,
|
|
1090
1108
|
Pt
|
|
1091
|
-
]), Ft = new Set([
|
|
1109
|
+
]), Ft = /* @__PURE__ */ new Set([
|
|
1092
1110
|
"BOOLEAN",
|
|
1093
1111
|
"CARDS",
|
|
1094
1112
|
"CHOICE",
|
|
1113
|
+
"CODE",
|
|
1095
1114
|
"COUNTRY",
|
|
1096
1115
|
"DATE",
|
|
1097
1116
|
"DROPDOWN",
|
|
@@ -1111,13 +1130,13 @@ var Ze = e.object({
|
|
|
1111
1130
|
order: e.number().optional(),
|
|
1112
1131
|
visible: e.boolean().optional().default(!0),
|
|
1113
1132
|
customizations: e.record(e.string(), e.any()).optional()
|
|
1114
|
-
}),
|
|
1133
|
+
}), K = e.object({
|
|
1115
1134
|
x: e.number(),
|
|
1116
1135
|
y: e.number()
|
|
1117
1136
|
}), Lt = e.object({
|
|
1118
1137
|
id: e.string(),
|
|
1119
1138
|
type: e.literal("FLOW"),
|
|
1120
|
-
coordinates:
|
|
1139
|
+
coordinates: K,
|
|
1121
1140
|
alias: e.string().min(1).max(150).optional(),
|
|
1122
1141
|
config: e.object({
|
|
1123
1142
|
flow_id: e.string().max(30),
|
|
@@ -1126,7 +1145,7 @@ var Ze = e.object({
|
|
|
1126
1145
|
}), Rt = e.object({
|
|
1127
1146
|
id: e.string(),
|
|
1128
1147
|
type: e.literal("ROUTER"),
|
|
1129
|
-
coordinates:
|
|
1148
|
+
coordinates: K,
|
|
1130
1149
|
alias: e.string().min(1).max(150),
|
|
1131
1150
|
config: e.object({
|
|
1132
1151
|
rules: e.array(e.object({
|
|
@@ -1140,10 +1159,10 @@ var Ze = e.object({
|
|
|
1140
1159
|
}), zt = e.object({
|
|
1141
1160
|
id: e.string(),
|
|
1142
1161
|
type: e.literal("STEP"),
|
|
1143
|
-
coordinates:
|
|
1162
|
+
coordinates: K,
|
|
1144
1163
|
alias: e.string().min(1).max(150).optional(),
|
|
1145
1164
|
config: e.object({
|
|
1146
|
-
components: e.array(
|
|
1165
|
+
components: e.array(G),
|
|
1147
1166
|
next_node: e.string().optional()
|
|
1148
1167
|
})
|
|
1149
1168
|
}), Bt = e.discriminatedUnion("type", [
|
|
@@ -1168,7 +1187,7 @@ var Ze = e.object({
|
|
|
1168
1187
|
value: e.string()
|
|
1169
1188
|
})).optional(),
|
|
1170
1189
|
next_node: e.string().optional(),
|
|
1171
|
-
coordinates:
|
|
1190
|
+
coordinates: K.optional()
|
|
1172
1191
|
}).optional(),
|
|
1173
1192
|
ending: e.object({
|
|
1174
1193
|
redirection: e.object({
|
|
@@ -1176,7 +1195,7 @@ var Ze = e.object({
|
|
|
1176
1195
|
target: e.string().optional()
|
|
1177
1196
|
}).optional(),
|
|
1178
1197
|
after_submit: e.object({ flow_id: e.string().optional() }).optional(),
|
|
1179
|
-
coordinates:
|
|
1198
|
+
coordinates: K.optional(),
|
|
1180
1199
|
resume_flow: e.boolean().optional()
|
|
1181
1200
|
}).optional(),
|
|
1182
1201
|
style: e.object({ css: e.string().optional() }).optional(),
|
|
@@ -1193,34 +1212,34 @@ var Ze = e.object({
|
|
|
1193
1212
|
"success",
|
|
1194
1213
|
"warning"
|
|
1195
1214
|
])
|
|
1196
|
-
}),
|
|
1215
|
+
}), Wt = e.object({
|
|
1197
1216
|
id: e.string().optional(),
|
|
1198
1217
|
text: e.string(),
|
|
1199
1218
|
href: e.string(),
|
|
1200
1219
|
linkText: e.string().optional()
|
|
1201
|
-
}),
|
|
1220
|
+
}), Gt = e.object({
|
|
1202
1221
|
name: e.string().optional(),
|
|
1203
1222
|
action: e.string(),
|
|
1204
1223
|
method: e.enum(["POST", "GET"]),
|
|
1205
1224
|
title: e.string().optional(),
|
|
1206
1225
|
description: e.string().optional(),
|
|
1207
|
-
components: e.array(
|
|
1226
|
+
components: e.array(G),
|
|
1208
1227
|
messages: e.array(Ut).optional(),
|
|
1209
|
-
links: e.array(
|
|
1228
|
+
links: e.array(Wt).optional(),
|
|
1210
1229
|
footer: e.string().optional()
|
|
1211
1230
|
});
|
|
1212
|
-
function
|
|
1231
|
+
function Kt(e) {
|
|
1213
1232
|
return e.category === "BLOCK";
|
|
1214
1233
|
}
|
|
1215
|
-
function
|
|
1234
|
+
function qt(e) {
|
|
1216
1235
|
return e.category === "WIDGET";
|
|
1217
1236
|
}
|
|
1218
|
-
function
|
|
1237
|
+
function Jt(e) {
|
|
1219
1238
|
return e.category === "FIELD";
|
|
1220
1239
|
}
|
|
1221
1240
|
//#endregion
|
|
1222
1241
|
//#region src/types/Hook.ts
|
|
1223
|
-
var
|
|
1242
|
+
var Yt = e.enum([
|
|
1224
1243
|
"pre-user-registration",
|
|
1225
1244
|
"post-user-registration",
|
|
1226
1245
|
"post-user-login",
|
|
@@ -1228,19 +1247,19 @@ var Jt = e.enum([
|
|
|
1228
1247
|
"validate-registration-username",
|
|
1229
1248
|
"pre-user-deletion",
|
|
1230
1249
|
"post-user-deletion"
|
|
1231
|
-
]),
|
|
1250
|
+
]), Xt = e.enum([
|
|
1232
1251
|
"pre-user-registration",
|
|
1233
1252
|
"post-user-registration",
|
|
1234
1253
|
"post-user-login",
|
|
1235
1254
|
"validate-registration-username",
|
|
1236
1255
|
"pre-user-deletion",
|
|
1237
1256
|
"post-user-deletion"
|
|
1238
|
-
]),
|
|
1257
|
+
]), Zt = e.enum([
|
|
1239
1258
|
"post-user-login",
|
|
1240
1259
|
"post-user-registration",
|
|
1241
1260
|
"post-user-update",
|
|
1242
1261
|
"credentials-exchange"
|
|
1243
|
-
]),
|
|
1262
|
+
]), Qt = e.enum([
|
|
1244
1263
|
"post-user-login",
|
|
1245
1264
|
"credentials-exchange",
|
|
1246
1265
|
"pre-user-registration",
|
|
@@ -1249,7 +1268,7 @@ var Jt = e.enum([
|
|
|
1249
1268
|
"ensure-username",
|
|
1250
1269
|
"set-preferred-username",
|
|
1251
1270
|
"account-linking"
|
|
1252
|
-
]),
|
|
1271
|
+
]), $t = {
|
|
1253
1272
|
"ensure-username": {
|
|
1254
1273
|
name: "Ensure Username",
|
|
1255
1274
|
description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
|
|
@@ -1275,67 +1294,67 @@ var Jt = e.enum([
|
|
|
1275
1294
|
priority: e.number().optional(),
|
|
1276
1295
|
hook_id: e.string().optional(),
|
|
1277
1296
|
metadata: e.record(e.string(), e.unknown()).optional()
|
|
1278
|
-
},
|
|
1279
|
-
...J,
|
|
1280
|
-
trigger_id: Jt,
|
|
1281
|
-
url: e.string()
|
|
1282
|
-
}), en = e.object({
|
|
1297
|
+
}, en = e.object({
|
|
1283
1298
|
...J,
|
|
1284
1299
|
trigger_id: Yt,
|
|
1285
|
-
|
|
1300
|
+
url: e.string()
|
|
1286
1301
|
}), tn = e.object({
|
|
1287
1302
|
...J,
|
|
1288
1303
|
trigger_id: Xt,
|
|
1289
|
-
|
|
1304
|
+
form_id: e.string()
|
|
1290
1305
|
}), nn = e.object({
|
|
1291
1306
|
...J,
|
|
1292
1307
|
trigger_id: Zt,
|
|
1308
|
+
template_id: q
|
|
1309
|
+
}), rn = e.object({
|
|
1310
|
+
...J,
|
|
1311
|
+
trigger_id: Qt,
|
|
1293
1312
|
code_id: e.string()
|
|
1294
|
-
}),
|
|
1295
|
-
$t,
|
|
1313
|
+
}), an = e.union([
|
|
1296
1314
|
en,
|
|
1297
1315
|
tn,
|
|
1298
|
-
nn
|
|
1299
|
-
|
|
1316
|
+
nn,
|
|
1317
|
+
rn
|
|
1318
|
+
]), on = e.object({
|
|
1300
1319
|
...J,
|
|
1301
|
-
trigger_id:
|
|
1320
|
+
trigger_id: Yt
|
|
1302
1321
|
}).extend(t.shape).extend({
|
|
1303
1322
|
hook_id: e.string(),
|
|
1304
1323
|
url: e.string()
|
|
1305
|
-
}),
|
|
1324
|
+
}), sn = e.object({
|
|
1306
1325
|
...J,
|
|
1307
|
-
trigger_id:
|
|
1326
|
+
trigger_id: Xt
|
|
1308
1327
|
}).extend(t.shape).extend({
|
|
1309
1328
|
hook_id: e.string(),
|
|
1310
1329
|
form_id: e.string()
|
|
1311
|
-
}),
|
|
1330
|
+
}), cn = e.object({
|
|
1312
1331
|
...J,
|
|
1313
|
-
trigger_id:
|
|
1332
|
+
trigger_id: Zt
|
|
1314
1333
|
}).extend(t.shape).extend({
|
|
1315
1334
|
hook_id: e.string(),
|
|
1316
1335
|
template_id: q
|
|
1317
|
-
}),
|
|
1336
|
+
}), ln = e.object({
|
|
1318
1337
|
...J,
|
|
1319
|
-
trigger_id:
|
|
1338
|
+
trigger_id: Qt
|
|
1320
1339
|
}).extend(t.shape).extend({
|
|
1321
1340
|
hook_id: e.string(),
|
|
1322
1341
|
code_id: e.string()
|
|
1323
|
-
}),
|
|
1324
|
-
an,
|
|
1342
|
+
}), un = e.union([
|
|
1325
1343
|
on,
|
|
1326
1344
|
sn,
|
|
1327
|
-
cn
|
|
1328
|
-
|
|
1345
|
+
cn,
|
|
1346
|
+
ln
|
|
1347
|
+
]), dn = e.object({
|
|
1329
1348
|
code: e.string().max(1e5),
|
|
1330
1349
|
secrets: e.record(e.string(), e.string()).optional()
|
|
1331
|
-
}),
|
|
1350
|
+
}), fn = dn.extend({
|
|
1332
1351
|
id: e.string(),
|
|
1333
1352
|
tenant_id: e.string()
|
|
1334
|
-
}).extend(t.shape),
|
|
1353
|
+
}).extend(t.shape), pn = e.object({ name: e.string().optional() }), mn = e.object({ email: e.string().optional() }), Y = e.object({
|
|
1335
1354
|
id: e.string().optional(),
|
|
1336
1355
|
organization_id: e.string().max(50),
|
|
1337
|
-
inviter:
|
|
1338
|
-
invitee:
|
|
1356
|
+
inviter: pn,
|
|
1357
|
+
invitee: mn,
|
|
1339
1358
|
invitation_url: e.string().url(),
|
|
1340
1359
|
client_id: e.string(),
|
|
1341
1360
|
connection_id: e.string().optional(),
|
|
@@ -1350,7 +1369,7 @@ var Jt = e.enum([
|
|
|
1350
1369
|
created_at: e.string().datetime(),
|
|
1351
1370
|
expires_at: e.string().datetime(),
|
|
1352
1371
|
ticket_id: e.string().optional()
|
|
1353
|
-
}).extend(
|
|
1372
|
+
}).extend(Y.omit({ id: !0 }).shape), gn = e.object({
|
|
1354
1373
|
alg: e.enum([
|
|
1355
1374
|
"RS256",
|
|
1356
1375
|
"RS384",
|
|
@@ -1423,7 +1442,7 @@ var Jt = e.enum([
|
|
|
1423
1442
|
}), Sn = e.object({
|
|
1424
1443
|
csrf_token: e.string(),
|
|
1425
1444
|
auth0Client: e.string().optional(),
|
|
1426
|
-
authParams:
|
|
1445
|
+
authParams: We,
|
|
1427
1446
|
expires_at: e.string(),
|
|
1428
1447
|
deleted_at: e.string().optional(),
|
|
1429
1448
|
ip: e.string().optional(),
|
|
@@ -1441,7 +1460,7 @@ var Jt = e.enum([
|
|
|
1441
1460
|
id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
|
|
1442
1461
|
created_at: e.string(),
|
|
1443
1462
|
updated_at: e.string()
|
|
1444
|
-
}),
|
|
1463
|
+
}), X = {
|
|
1445
1464
|
ACLS_SUMMARY: "acls_summary",
|
|
1446
1465
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
1447
1466
|
API_LIMIT: "api_limit",
|
|
@@ -1601,169 +1620,169 @@ var Jt = e.enum([
|
|
|
1601
1620
|
WARNING_DURING_LOGIN: "w",
|
|
1602
1621
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1603
1622
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1604
|
-
}, wn = e.string().refine((e) => Object.values(
|
|
1605
|
-
[
|
|
1606
|
-
[
|
|
1607
|
-
[
|
|
1608
|
-
[
|
|
1609
|
-
[
|
|
1610
|
-
[
|
|
1611
|
-
[
|
|
1612
|
-
[
|
|
1613
|
-
[
|
|
1614
|
-
[
|
|
1615
|
-
[
|
|
1616
|
-
[
|
|
1617
|
-
[
|
|
1618
|
-
[
|
|
1619
|
-
[
|
|
1620
|
-
[
|
|
1621
|
-
[
|
|
1622
|
-
[
|
|
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
|
-
[
|
|
1623
|
+
}, wn = e.string().refine((e) => Object.values(X).includes(e), { message: "Invalid log type" }), Tn = {
|
|
1624
|
+
[X.ACLS_SUMMARY]: "ACLs Summary",
|
|
1625
|
+
[X.ACTIONS_EXECUTION_FAILED]: "Actions Execution Failed",
|
|
1626
|
+
[X.API_LIMIT]: "API Rate Limit Reached",
|
|
1627
|
+
[X.API_LIMIT_WARNING]: "API Rate Limit Warning",
|
|
1628
|
+
[X.APPI]: "API Operation",
|
|
1629
|
+
[X.CIBA_EXCHANGE_FAILED]: "CIBA Exchange Failed",
|
|
1630
|
+
[X.CIBA_EXCHANGE_SUCCEEDED]: "CIBA Exchange Succeeded",
|
|
1631
|
+
[X.CIBA_START_FAILED]: "CIBA Start Failed",
|
|
1632
|
+
[X.CIBA_START_SUCCEEDED]: "CIBA Start Succeeded",
|
|
1633
|
+
[X.CODE_LINK_SENT]: "Code/Link Sent",
|
|
1634
|
+
[X.CODE_SENT]: "Code Sent",
|
|
1635
|
+
[X.DEPRECATION_NOTICE]: "Deprecation Notice",
|
|
1636
|
+
[X.FAILED_LOGIN]: "Failed Login",
|
|
1637
|
+
[X.FAILED_BY_CONNECTOR]: "Failed by Connector",
|
|
1638
|
+
[X.FAILED_CHANGE_EMAIL]: "Failed Change Email",
|
|
1639
|
+
[X.FAILED_BY_CORS]: "Failed by CORS",
|
|
1640
|
+
[X.FAILED_CROSS_ORIGIN_AUTHENTICATION]: "Failed Cross Origin Authentication",
|
|
1641
|
+
[X.FAILED_CHANGE_PASSWORD]: "Failed Change Password",
|
|
1642
|
+
[X.FAILED_POST_CHANGE_PASSWORD_HOOK]: "Failed Post-Change Password Hook",
|
|
1643
|
+
[X.FAILED_CHANGE_PHONE_NUMBER]: "Failed Change Phone Number",
|
|
1644
|
+
[X.FAILED_CHANGE_PASSWORD_REQUEST]: "Failed Change Password Request",
|
|
1645
|
+
[X.FAILED_CONNECTOR_PROVISIONING]: "Failed Connector Provisioning",
|
|
1646
|
+
[X.FAILED_CHANGE_USERNAME]: "Failed Change Username",
|
|
1647
|
+
[X.FAILED_DELEGATION]: "Failed Delegation",
|
|
1648
|
+
[X.FAILED_DEVICE_ACTIVATION]: "Failed Device Activation",
|
|
1649
|
+
[X.FAILED_DEVICE_AUTHORIZATION_REQUEST]: "Failed Device Authorization Request",
|
|
1650
|
+
[X.USER_CANCELED_DEVICE_CONFIRMATION]: "User Canceled Device Confirmation",
|
|
1651
|
+
[X.FAILED_USER_DELETION]: "Failed User Deletion",
|
|
1652
|
+
[X.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Authorization Code for Access Token",
|
|
1653
|
+
[X.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Failed Exchange Access Token for Client Credentials",
|
|
1654
|
+
[X.FAILED_EXCHANGE_CUSTOM_TOKEN]: "Failed Exchange Custom Token",
|
|
1655
|
+
[X.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Failed Exchange Device Code for Access Token",
|
|
1656
|
+
[X.FAILED_FEDERATED_LOGOUT]: "Failed Federated Logout",
|
|
1657
|
+
[X.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Failed Exchange Native Social Login",
|
|
1658
|
+
[X.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Failed Exchange Password OOB for Access Token",
|
|
1659
|
+
[X.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Password OTP for Access Token",
|
|
1660
|
+
[X.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Failed Exchange Password for Access Token",
|
|
1661
|
+
[X.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Failed Exchange Passwordless OTP for Access Token",
|
|
1662
|
+
[X.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Failed Exchange Password MFA Recovery for Access Token",
|
|
1663
|
+
[X.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN]: "Failed Exchange Rotating Refresh Token",
|
|
1664
|
+
[X.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Refresh Token for Access Token",
|
|
1665
|
+
[X.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Failed Exchange Subject Token for Access Token",
|
|
1666
|
+
[X.FAILED_HOOK]: "Failed Hook",
|
|
1667
|
+
[X.FAILED_IMPERSONATION]: "Failed Impersonation",
|
|
1668
|
+
[X.FAILED_INVITE_ACCEPT]: "Failed Invite Accept",
|
|
1669
|
+
[X.FAILED_LOGOUT]: "Failed Logout",
|
|
1670
|
+
[X.FLOWS_EXECUTION_COMPLETED]: "Flows Execution Completed",
|
|
1671
|
+
[X.FLOWS_EXECUTION_FAILED]: "Flows Execution Failed",
|
|
1672
|
+
[X.FAILED_SENDING_NOTIFICATION]: "Failed Sending Notification",
|
|
1673
|
+
[X.FORMS_SUBMISSION_FAILED]: "Forms Submission Failed",
|
|
1674
|
+
[X.FORMS_SUBMISSION_SUCCEEDED]: "Forms Submission Succeeded",
|
|
1675
|
+
[X.FAILED_LOGIN_INCORRECT_PASSWORD]: "Failed Login - Incorrect Password",
|
|
1676
|
+
[X.FAILED_PUSHED_AUTHORIZATION_REQUEST]: "Failed Pushed Authorization Request",
|
|
1677
|
+
[X.FAILED_POST_USER_REGISTRATION_HOOK]: "Failed Post-User Registration Hook",
|
|
1678
|
+
[X.FAILED_SIGNUP]: "Failed Signup",
|
|
1679
|
+
[X.FAILED_SILENT_AUTH]: "Failed Silent Auth",
|
|
1680
|
+
[X.FAILED_LOGIN_INVALID_EMAIL_USERNAME]: "Failed Login - Invalid Email/Username",
|
|
1681
|
+
[X.FAILED_USERS_IMPORT]: "Failed Users Import",
|
|
1682
|
+
[X.FAILED_VERIFICATION_EMAIL]: "Failed Verification Email",
|
|
1683
|
+
[X.FAILED_VERIFICATION_EMAIL_REQUEST]: "Failed Verification Email Request",
|
|
1684
|
+
[X.EMAIL_VERIFICATION_CONFIRMED]: "Email Verification Confirmed",
|
|
1685
|
+
[X.EMAIL_VERIFICATION_FAILED]: "Email Verification Failed",
|
|
1686
|
+
[X.MFA_AUTH_FAILED]: "MFA Auth Failed",
|
|
1687
|
+
[X.MFA_AUTH_REJECTED]: "MFA Auth Rejected",
|
|
1688
|
+
[X.MFA_AUTH_SUCCESS]: "MFA Auth Success",
|
|
1689
|
+
[X.MFA_ENROLLMENT_COMPLETE]: "MFA Enrollment Complete",
|
|
1690
|
+
[X.TOO_MANY_MFA_FAILURES]: "Too Many MFA Failures",
|
|
1691
|
+
[X.MFA_RECOVERY_FAILED]: "MFA Recovery Failed",
|
|
1692
|
+
[X.MFA_RECOVERY_RATE_LIMIT_EXCEED]: "MFA Recovery Rate Limit Exceeded",
|
|
1693
|
+
[X.MFA_RECOVERY_SUCCESS]: "MFA Recovery Success",
|
|
1694
|
+
[X.MFA_EMAIL_SENT]: "MFA Email Sent",
|
|
1695
|
+
[X.EMAIL_VERIFICATION_SENT]: "Email Verification Sent",
|
|
1696
|
+
[X.EMAIL_VERIFICATION_SEND_FAILURE]: "Email Verification Send Failure",
|
|
1697
|
+
[X.PUSH_NOTIFICATION_SENT]: "Push Notification Sent",
|
|
1698
|
+
[X.ERROR_SENDING_MFA_PUSH_NOTIFICATION]: "Error Sending MFA Push Notification",
|
|
1699
|
+
[X.MFA_SMS_SENT]: "MFA SMS Sent",
|
|
1700
|
+
[X.ERROR_SENDING_MFA_SMS]: "Error Sending MFA SMS",
|
|
1701
|
+
[X.MFA_VOICE_CALL_SUCCESS]: "MFA Voice Call Success",
|
|
1702
|
+
[X.MFA_VOICE_CALL_FAILED]: "MFA Voice Call Failed",
|
|
1703
|
+
[X.SECOND_FACTOR_STARTED]: "Second Factor Started",
|
|
1704
|
+
[X.MFA_ENROLL_STARTED]: "MFA Enroll Started",
|
|
1705
|
+
[X.MFA_ENROLLMENT_FAILED]: "MFA Enrollment Failed",
|
|
1706
|
+
[X.GUARDIAN_TENANT_UPDATE]: "Guardian Tenant Update",
|
|
1707
|
+
[X.UNENROLL_DEVICE_ACCOUNT]: "Unenroll Device Account",
|
|
1708
|
+
[X.UPDATE_DEVICE_ACCOUNT]: "Update Device Account",
|
|
1709
|
+
[X.WEBAUTHN_CHALLENGE_FAILED]: "WebAuthn Challenge Failed",
|
|
1710
|
+
[X.WEBAUTHN_ENROLLMENT_FAILED]: "WebAuthn Enrollment Failed",
|
|
1711
|
+
[X.FAILED_KMS_API_OPERATION]: "Failed KMS API Operation",
|
|
1712
|
+
[X.SUCCESS_KMS_API_OPERATION]: "Success KMS API Operation",
|
|
1713
|
+
[X.KMS_KEY_STATE_CHANGED]: "KMS Key State Changed",
|
|
1714
|
+
[X.TOO_MANY_CALLS_TO_DELEGATION]: "Too Many Calls to Delegation",
|
|
1715
|
+
[X.BLOCKED_IP_ADDRESS]: "Blocked IP Address",
|
|
1716
|
+
[X.BLOCKED_ACCOUNT_IP]: "Blocked Account (IP)",
|
|
1717
|
+
[X.BLOCKED_ACCOUNT_EMAIL]: "Blocked Account (Email)",
|
|
1718
|
+
[X.INFORMATION]: "Information",
|
|
1719
|
+
[X.MFA_REQUIRED]: "MFA Required",
|
|
1720
|
+
[X.MANAGEMENT_API_READ_OPERATION]: "Management API Read Operation",
|
|
1721
|
+
[X.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Failed Authentication Method Operation (My Account)",
|
|
1722
|
+
[X.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT]: "Successful Authentication Method Operation (My Account)",
|
|
1723
|
+
[X.FAILED_OIDC_BACKCHANNEL_LOGOUT]: "Failed OIDC Backchannel Logout",
|
|
1724
|
+
[X.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT]: "Successful OIDC Backchannel Logout",
|
|
1725
|
+
[X.ORGANIZATION_MEMBER_ADDED]: "Organization Member Added",
|
|
1726
|
+
[X.PASSKEY_CHALLENGE_FAILED]: "Passkey Challenge Failed",
|
|
1727
|
+
[X.PASSKEY_CHALLENGE_STARTED]: "Passkey Challenge Started",
|
|
1728
|
+
[X.PRE_LOGIN_ASSESSMENT]: "Pre-Login Assessment",
|
|
1729
|
+
[X.BREACHED_PASSWORD]: "Breached Password",
|
|
1730
|
+
[X.BREACHED_PASSWORD_ON_RESET]: "Breached Password on Reset",
|
|
1731
|
+
[X.SUCCESS_RESOURCE_CLEANUP]: "Success Resource Cleanup",
|
|
1732
|
+
[X.RICH_CONSENTS_ACCESS_ERROR]: "Rich Consents Access Error",
|
|
1733
|
+
[X.SUCCESS_LOGIN]: "Success Login",
|
|
1734
|
+
[X.SUCCESS_API_OPERATION]: "Success API Operation",
|
|
1735
|
+
[X.FAILED_API_OPERATION]: "Failed API Operation",
|
|
1736
|
+
[X.SUCCESS_CHANGE_EMAIL]: "Success Change Email",
|
|
1737
|
+
[X.SUCCESS_CROSS_ORIGIN_AUTHENTICATION]: "Success Cross Origin Authentication",
|
|
1738
|
+
[X.SUCCESS_CHANGE_PASSWORD]: "Success Change Password",
|
|
1739
|
+
[X.SUCCESS_CHANGE_PHONE_NUMBER]: "Success Change Phone Number",
|
|
1740
|
+
[X.SUCCESS_CHANGE_PASSWORD_REQUEST]: "Success Change Password Request",
|
|
1741
|
+
[X.SUCCESS_CHANGE_USERNAME]: "Success Change Username",
|
|
1742
|
+
[X.SUCCESS_CREDENTIAL_VALIDATION]: "Success Credential Validation",
|
|
1743
|
+
[X.SUCCESS_DELEGATION]: "Success Delegation",
|
|
1744
|
+
[X.SUCCESS_USER_DELETION]: "Success User Deletion",
|
|
1745
|
+
[X.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Authorization Code for Access Token",
|
|
1746
|
+
[X.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS]: "Success Exchange Access Token for Client Credentials",
|
|
1747
|
+
[X.SUCCESS_EXCHANGE_CUSTOM_TOKEN]: "Success Exchange Custom Token",
|
|
1748
|
+
[X.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN]: "Success Exchange Device Code for Access Token",
|
|
1749
|
+
[X.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN]: "Success Exchange Native Social Login",
|
|
1750
|
+
[X.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Password OOB for Access Token",
|
|
1751
|
+
[X.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Password OTP for Access Token",
|
|
1752
|
+
[X.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passwordless OTP for Access Token",
|
|
1753
|
+
[X.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN]: "Success Exchange Password for Access Token",
|
|
1754
|
+
[X.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OOB for Access Token",
|
|
1755
|
+
[X.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN]: "Success Exchange Passkey OTP for Access Token",
|
|
1756
|
+
[X.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Passkey MFA Recovery for Access Token",
|
|
1757
|
+
[X.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN]: "Success Exchange Password MFA Recovery for Access Token",
|
|
1758
|
+
[X.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Refresh Token for Access Token",
|
|
1759
|
+
[X.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN]: "Success Exchange Subject Token for Access Token",
|
|
1760
|
+
[X.SUCCESS_IMPERSONATION]: "Success Impersonation",
|
|
1761
|
+
[X.SUCCESSFULLY_ACCEPTED_USER_INVITE]: "Successfully Accepted User Invite",
|
|
1762
|
+
[X.BREACHED_PASSWORD_ON_SIGNUP]: "Breached Password on Signup",
|
|
1763
|
+
[X.SUCCESS_LOGOUT]: "Success Logout",
|
|
1764
|
+
[X.SUCCESS_HOOK]: "Success Hook",
|
|
1765
|
+
[X.SUCCESS_PASSWORD_MIGRATION]: "Success Password Migration",
|
|
1766
|
+
[X.SUCCESS_REVOCATION]: "Success Revocation",
|
|
1767
|
+
[X.SUCCESS_SIGNUP]: "Success Signup",
|
|
1768
|
+
[X.FAILED_SS_SSO_OPERATION]: "Failed SS SSO Operation",
|
|
1769
|
+
[X.INFORMATION_FROM_SS_SSO_OPERATION]: "Information from SS SSO Operation",
|
|
1770
|
+
[X.SUCCESS_SS_SSO_OPERATION]: "Success SS SSO Operation",
|
|
1771
|
+
[X.SUCCESS_SILENT_AUTH]: "Success Silent Auth",
|
|
1772
|
+
[X.SUCCESSFUL_SCIM_OPERATION]: "Successful SCIM Operation",
|
|
1773
|
+
[X.SUCCESSFULLY_IMPORTED_USERS]: "Successfully Imported Users",
|
|
1774
|
+
[X.SUCCESS_VERIFICATION_EMAIL]: "Success Verification Email",
|
|
1775
|
+
[X.SUCCESS_VERIFICATION_EMAIL_REQUEST]: "Success Verification Email Request",
|
|
1776
|
+
[X.MAX_AMOUNT_OF_AUTHENTICATORS]: "Max Amount of Authenticators",
|
|
1777
|
+
[X.USER_LOGIN_BLOCK_RELEASED]: "User Login Block Released",
|
|
1778
|
+
[X.FAILED_UNIVERSAL_LOGOUT]: "Failed Universal Logout",
|
|
1779
|
+
[X.SUCCESSFUL_UNIVERSAL_LOGOUT]: "Successful Universal Logout",
|
|
1780
|
+
[X.WARNING_DURING_LOGIN]: "Warning During Login",
|
|
1781
|
+
[X.WARNING_SENDING_NOTIFICATION]: "Warning Sending Notification",
|
|
1782
|
+
[X.WARNING_USER_MANAGEMENT]: "Warning User Management"
|
|
1764
1783
|
}, En = (() => {
|
|
1765
1784
|
let e = {};
|
|
1766
|
-
for (let [t, n] of Object.entries(
|
|
1785
|
+
for (let [t, n] of Object.entries(X)) 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";
|
|
1767
1786
|
return e;
|
|
1768
1787
|
})();
|
|
1769
1788
|
function Dn(e) {
|
|
@@ -1812,7 +1831,7 @@ var kn = e.object({
|
|
|
1812
1831
|
"splunk",
|
|
1813
1832
|
"datadog",
|
|
1814
1833
|
"sumo"
|
|
1815
|
-
]),
|
|
1834
|
+
]), Z = e.enum([
|
|
1816
1835
|
"active",
|
|
1817
1836
|
"paused",
|
|
1818
1837
|
"suspended"
|
|
@@ -1822,13 +1841,13 @@ var kn = e.object({
|
|
|
1822
1841
|
}), Fn = e.object({
|
|
1823
1842
|
name: e.string(),
|
|
1824
1843
|
type: Nn,
|
|
1825
|
-
status:
|
|
1844
|
+
status: Z.optional(),
|
|
1826
1845
|
sink: e.record(e.string(), e.unknown()),
|
|
1827
1846
|
filters: e.array(Pn).optional(),
|
|
1828
1847
|
isPriority: e.boolean().optional()
|
|
1829
1848
|
}), In = Fn.extend({
|
|
1830
1849
|
id: e.string(),
|
|
1831
|
-
status:
|
|
1850
|
+
status: Z,
|
|
1832
1851
|
created_at: e.string().optional(),
|
|
1833
1852
|
updated_at: e.string().optional()
|
|
1834
1853
|
}), Ln = e.enum([
|
|
@@ -2044,6 +2063,7 @@ var kn = e.object({
|
|
|
2044
2063
|
provisioning_state_changed_at: e.string().optional(),
|
|
2045
2064
|
bundle_configuration: e.string().max(64).optional(),
|
|
2046
2065
|
worker_version: e.string().max(64).optional(),
|
|
2066
|
+
database_version: e.string().max(64).optional(),
|
|
2047
2067
|
worker_script_name: e.string().max(255).optional(),
|
|
2048
2068
|
storage_kind: e.enum([
|
|
2049
2069
|
"own_d1",
|
|
@@ -2143,19 +2163,19 @@ var tr = e.object({
|
|
|
2143
2163
|
success: e.string(),
|
|
2144
2164
|
widget_background: e.string(),
|
|
2145
2165
|
widget_border: e.string()
|
|
2146
|
-
}),
|
|
2166
|
+
}), Q = e.object({
|
|
2147
2167
|
bold: e.boolean(),
|
|
2148
2168
|
size: e.number()
|
|
2149
2169
|
}), rr = e.object({
|
|
2150
|
-
body_text:
|
|
2151
|
-
buttons_text:
|
|
2170
|
+
body_text: Q,
|
|
2171
|
+
buttons_text: Q,
|
|
2152
2172
|
font_url: e.string(),
|
|
2153
|
-
input_labels:
|
|
2154
|
-
links:
|
|
2173
|
+
input_labels: Q,
|
|
2174
|
+
links: Q,
|
|
2155
2175
|
links_style: e.enum(["normal", "underlined"]),
|
|
2156
2176
|
reference_text_size: e.number(),
|
|
2157
|
-
subtitle:
|
|
2158
|
-
title:
|
|
2177
|
+
subtitle: Q,
|
|
2178
|
+
title: Q
|
|
2159
2179
|
}), ir = e.object({
|
|
2160
2180
|
background_color: e.string(),
|
|
2161
2181
|
background_image_url: e.string(),
|
|
@@ -2205,18 +2225,18 @@ var tr = e.object({
|
|
|
2205
2225
|
}), ur = e.object({
|
|
2206
2226
|
type: e.string(),
|
|
2207
2227
|
options: e.record(e.string(), e.unknown()).default({})
|
|
2208
|
-
}),
|
|
2228
|
+
}), $ = e.object({
|
|
2209
2229
|
id: e.string().optional(),
|
|
2210
2230
|
custom_domain_id: e.string(),
|
|
2211
2231
|
priority: e.number().int().default(100),
|
|
2212
2232
|
match: lr,
|
|
2213
2233
|
handlers: e.array(ur).min(1)
|
|
2214
|
-
}), dr =
|
|
2234
|
+
}), dr = $.extend({
|
|
2215
2235
|
id: e.string(),
|
|
2216
2236
|
tenant_id: e.string(),
|
|
2217
2237
|
created_at: e.string(),
|
|
2218
2238
|
updated_at: e.string()
|
|
2219
|
-
}), fr =
|
|
2239
|
+
}), fr = $.partial().omit({
|
|
2220
2240
|
id: !0,
|
|
2221
2241
|
custom_domain_id: !0
|
|
2222
2242
|
}), pr = e.object({
|
|
@@ -2581,7 +2601,7 @@ var tr = e.object({
|
|
|
2581
2601
|
friendly_name: e.string().optional(),
|
|
2582
2602
|
confirmed: e.boolean().default(!1)
|
|
2583
2603
|
});
|
|
2584
|
-
function
|
|
2604
|
+
function mi(t, n) {
|
|
2585
2605
|
t.type === "phone" && !t.phone_number && n.addIssue({
|
|
2586
2606
|
code: e.ZodIssueCode.custom,
|
|
2587
2607
|
message: "phone_number is required when type is 'phone'",
|
|
@@ -2604,14 +2624,14 @@ function $(t, n) {
|
|
|
2604
2624
|
path: ["public_key"]
|
|
2605
2625
|
}));
|
|
2606
2626
|
}
|
|
2607
|
-
var
|
|
2627
|
+
var hi = pi.superRefine(mi), gi = pi.extend({
|
|
2608
2628
|
id: e.string(),
|
|
2609
2629
|
created_at: e.string(),
|
|
2610
2630
|
updated_at: e.string()
|
|
2611
|
-
}).superRefine(
|
|
2631
|
+
}).superRefine(mi);
|
|
2612
2632
|
//#endregion
|
|
2613
2633
|
//#region src/utils/user-id.ts
|
|
2614
|
-
function
|
|
2634
|
+
function _i(e) {
|
|
2615
2635
|
let [t, n] = e.split("|");
|
|
2616
2636
|
if (!t || !n) throw Error(`Invalid user_id: ${e}`);
|
|
2617
2637
|
return {
|
|
@@ -2621,7 +2641,7 @@ function gi(e) {
|
|
|
2621
2641
|
}
|
|
2622
2642
|
//#endregion
|
|
2623
2643
|
//#region src/utils/passthrough.ts
|
|
2624
|
-
function
|
|
2644
|
+
function vi(e) {
|
|
2625
2645
|
let { primary: t, secondaries: n, syncMethods: r = [
|
|
2626
2646
|
"create",
|
|
2627
2647
|
"rawCreate",
|
|
@@ -2655,12 +2675,12 @@ function _i(e) {
|
|
|
2655
2675
|
} : i.bind(e) : i;
|
|
2656
2676
|
} });
|
|
2657
2677
|
}
|
|
2658
|
-
function
|
|
2678
|
+
function yi(e) {
|
|
2659
2679
|
return e;
|
|
2660
2680
|
}
|
|
2661
2681
|
//#endregion
|
|
2662
2682
|
//#region src/utils/connection-attributes.ts
|
|
2663
|
-
function
|
|
2683
|
+
function bi(e) {
|
|
2664
2684
|
let t = e?.options;
|
|
2665
2685
|
if (!t) return {
|
|
2666
2686
|
usernameIdentifierActive: !1,
|
|
@@ -2683,8 +2703,8 @@ function yi(e) {
|
|
|
2683
2703
|
}
|
|
2684
2704
|
//#endregion
|
|
2685
2705
|
//#region src/utils/guards.ts
|
|
2686
|
-
function
|
|
2706
|
+
function xi(e) {
|
|
2687
2707
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
2688
2708
|
}
|
|
2689
2709
|
//#endregion
|
|
2690
|
-
export { ve as Auth0ActionEnum, kn as Auth0Client,
|
|
2710
|
+
export { ve as Auth0ActionEnum, kn as Auth0Client, Be as AuthorizationResponseMode, ze as AuthorizationResponseType, Ve as CodeChallengeMethod, E as ComponentCategory, T as ComponentType, ye as EmailActionEnum, Ft as FORM_FIELD_TYPES, _e as FlowActionTypeEnum, $n as GrantType, An as LocationInfo, X as LogTypes, yn as LoginSessionState, Pe as NodeType, Ce as RedirectTargetEnum, ui 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, I as actionNodeSchema, ee as actionSchema, i as actionSecretSchema, n as actionTriggerSchema, o as actionUpdateSchema, oe as actionVersionInsertSchema, se as actionVersionSchema, $r as activeUsersResponseSchema, le as actorSchema, h as addressSchema, ii as analyticsColumnMetaSchema, ni as analyticsGroupBySchema, ti as analyticsIntervalSchema, oi as analyticsQueryResponseSchema, ei as analyticsResourceSchema, ai as analyticsStatisticsSchema, ri as analyticsUserTypeSchema, Wn as attackProtectionSchema, ce as auditCategorySchema, he as auditEventInsertSchema, ge as auditEventSchema, me as auth0ClientSchema, Re as auth0FlowInsertSchema, Le as auth0FlowSchema, Te as auth0QuerySchema, xe as auth0UpdateUserActionSchema, De as auth0UserResponseSchema, We as authParamsSchema, hi as authenticationMethodInsertSchema, gi as authenticationMethodSchema, fi as authenticationMethodTypeSchema, g as baseUserSchema, Mt as blockComponentSchema, tr as bordersSchema, Ge as brandingSchema, Vn as breachedPasswordDetectionSchema, Hn as bruteForceProtectionSchema, k as buttonComponentSchema, Ue as claimsRequestSchema, b as clientGrantInsertSchema, Me as clientGrantListSchema, x as clientGrantSchema, y as clientInsertSchema, C as clientRegistrationTokenInsertSchema, Ne as clientRegistrationTokenSchema, S as clientRegistrationTokenTypeSchema, je as clientSchema, qe as codeInsertSchema, Je as codeSchema, Ke as codeTypeSchema, nr as colorsSchema, Ut as componentMessageSchema, N as componentSchema, Xe as connectionInsertSchema, Ye as connectionOptionsSchema, Ze as connectionSchema, w as coordinatesSchema, vi as createPassthroughAdapter, yi as createWriteOnlyAdapter, nt as customDomainCertificateUploadSchema, B as customDomainInsertSchema, $e as customDomainSchema, et as customDomainUpdateSchema, tt as customDomainWithTenantIdSchema, li as customTextEntrySchema, ci as customTextSchema, Qr as dailyStatsSchema, pr as emailProviderSchema, mr as emailTemplateNameSchema, hr as emailTemplateSchema, be as emailVerificationRulesSchema, Se as emailVerifyActionSchema, Ie as endingSchema, Pt as fieldComponentSchema, d as flowActionStepSchema, f as flowInsertSchema, we as flowSchema, j as flowsFieldComponentSchema, F as flowsFlowNodeSchema, P as flowsStepNodeSchema, Q as fontDetailsSchema, rr as fontsSchema, It as formControlSchema, Vt as formInsertSchema, G as formNodeComponentDefinition, Bt as formNodeSchema, Ht as formSchema, M as genericComponentSchema, L as genericNodeSchema, bi as getConnectionIdentifierConfig, On as getLogTypeCategory, Dn as getLogTypeDescription, Or as grantInsertSchema, kr as grantSchema, ur as handlerConfigSchema, dn as hookCodeInsertSchema, fn as hookCodeSchema, an as hookInsertSchema, un as hookSchema, q as hookTemplateId, $t as hookTemplates, m as identitySchema, Y as inviteInsertSchema, hn as inviteSchema, mn as inviteeSchema, pn as inviterSchema, Kt as isBlockComponent, Jt as isFieldComponent, xi as isPlainObject, qt as isWidgetComponent, _n as jwksKeySchema, gn as jwksSchema, A as legalComponentSchema, pe as locationInfoSchema, jn as logInsertSchema, Mn as logSchema, Pn as logStreamFilterSchema, Fn as logStreamInsertSchema, In as logStreamSchema, Z as logStreamStatusSchema, Nn as logStreamTypeSchema, En as logTypeCategories, Tn as logTypeDescriptions, xn as loginSessionAuthStrategySchema, Sn as loginSessionInsertSchema, Cn as loginSessionSchema, bn as loginSessionStateSchema, lr as matchSchema, Ln as migrationProviderTypeSchema, Rn as migrationSourceCredentialsSchema, zn as migrationSourceInsertSchema, Bn as migrationSourceSchema, R as nodeSchema, vn as openIDConfigurationSchema, Vr as organizationBrandingSchema, Kr as organizationConnectionInsertSchema, Jr as organizationConnectionListSchema, qr as organizationConnectionSchema, Hr as organizationEnabledConnectionSchema, Wr as organizationInsertSchema, Gr as organizationSchema, Ur as organizationTokenQuotaSchema, ir as pageBackgroundSchema, _i as parseUserId, Gn as passwordInsertSchema, Kn as passwordSchema, p as profileDataSchema, si as promptScreenSchema, cr as promptSettingSchema, $ as proxyRouteInsertSchema, dr as proxyRouteSchema, fr as proxyRouteUpdateSchema, u as redirectActionSchema, gr as refreshTokenInsertSchema, _r as refreshTokenSchema, de as requestContextSchema, Sr as resourceServerInsertSchema, wr as resourceServerListSchema, xr as resourceServerOptionsSchema, Cr as resourceServerSchema, br as resourceServerScopeSchema, fe as responseContextSchema, O as richTextComponentSchema, Rr as roleInsertSchema, Br as roleListSchema, Tr as rolePermissionInsertSchema, Dr as rolePermissionListSchema, Er as rolePermissionSchema, zr as roleSchema, Wt as screenLinkSchema, Jn as sessionInsertSchema, Yn as sessionSchema, Xn as signingKeySchema, yr as smsProviderSchema, vr as smsSendParamsSchema, Fe as startSchema, Un as suspiciousIpThrottlingSchema, ue as targetSchema, Zn as tenantInsertSchema, Qn as tenantSchema, Zr as tenantSettingsSchema, or as themeInsertSchema, sr as themeSchema, er as tokenResponseSchema, Ee as totalsSchema, Gt as uiScreenSchema, _ as userInsertSchema, Yr as userOrganizationInsertSchema, Xr as userOrganizationSchema, Ar as userPermissionInsertSchema, Mr as userPermissionListSchema, jr as userPermissionSchema, Pr as userPermissionWithDetailsListSchema, Nr as userPermissionWithDetailsSchema, Oe as userResponseSchema, Fr as userRoleInsertSchema, Lr as userRoleListSchema, Ir as userRoleSchema, v as userSchema, Qe as verificationMethodsSchema, Nt as widgetComponentSchema, ar as widgetSchema };
|