@authhero/adapter-interfaces 1.15.0 → 1.17.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 +249 -7
- package/dist/adapter-interfaces.mjs +602 -561
- package/package.json +1 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { z as e } from "@hono/zod-openapi";
|
|
2
|
-
const
|
|
2
|
+
const a = e.object({
|
|
3
3
|
created_at: e.string(),
|
|
4
4
|
updated_at: e.string()
|
|
5
|
-
}),
|
|
5
|
+
}), w = e.object({
|
|
6
6
|
id: e.string(),
|
|
7
7
|
version: e.string().optional()
|
|
8
|
-
}),
|
|
8
|
+
}), j = e.object({
|
|
9
9
|
name: e.string(),
|
|
10
10
|
version: e.string()
|
|
11
|
-
}),
|
|
11
|
+
}), R = e.object({
|
|
12
12
|
name: e.string(),
|
|
13
13
|
// Optional on writes so PATCH callers can omit the value to preserve the
|
|
14
14
|
// existing secret. The adapter merges by name when value is missing.
|
|
15
15
|
value: e.string().optional()
|
|
16
|
-
}),
|
|
16
|
+
}), k = e.object({
|
|
17
17
|
name: e.string().max(255),
|
|
18
18
|
code: e.string().max(1e5),
|
|
19
|
-
supported_triggers: e.array(
|
|
19
|
+
supported_triggers: e.array(w).optional(),
|
|
20
20
|
runtime: e.string().max(50).optional(),
|
|
21
|
-
dependencies: e.array(
|
|
22
|
-
secrets: e.array(
|
|
23
|
-
}),
|
|
21
|
+
dependencies: e.array(j).optional(),
|
|
22
|
+
secrets: e.array(R).optional()
|
|
23
|
+
}), zo = k.partial().extend({
|
|
24
24
|
status: e.enum(["draft", "built"]).optional(),
|
|
25
25
|
deployed_at: e.string().optional()
|
|
26
|
-
}),
|
|
26
|
+
}), qo = k.extend({
|
|
27
27
|
id: e.string(),
|
|
28
28
|
tenant_id: e.string(),
|
|
29
29
|
status: e.enum(["draft", "built"]).default("built"),
|
|
@@ -35,13 +35,26 @@ const r = e.object({
|
|
|
35
35
|
value: e.string().optional()
|
|
36
36
|
})
|
|
37
37
|
).optional(),
|
|
38
|
-
...
|
|
39
|
-
}), J = e.
|
|
38
|
+
...a.shape
|
|
39
|
+
}), J = e.object({
|
|
40
|
+
action_id: e.string(),
|
|
41
|
+
code: e.string().max(1e5),
|
|
42
|
+
runtime: e.string().max(50).optional(),
|
|
43
|
+
dependencies: e.array(j).optional(),
|
|
44
|
+
secrets: e.array(R).optional(),
|
|
45
|
+
supported_triggers: e.array(w).optional(),
|
|
46
|
+
deployed: e.boolean().default(!0)
|
|
47
|
+
}), Vo = J.extend({
|
|
48
|
+
id: e.string(),
|
|
49
|
+
tenant_id: e.string(),
|
|
50
|
+
number: e.number().int(),
|
|
51
|
+
...a.shape
|
|
52
|
+
}), ee = e.enum([
|
|
40
53
|
"user_action",
|
|
41
54
|
"admin_action",
|
|
42
55
|
"system",
|
|
43
56
|
"api"
|
|
44
|
-
]),
|
|
57
|
+
]), te = e.object({
|
|
45
58
|
type: e.enum(["user", "admin", "system", "api_key", "client_credentials"]),
|
|
46
59
|
id: e.string().optional(),
|
|
47
60
|
email: e.string().optional(),
|
|
@@ -49,13 +62,13 @@ const r = e.object({
|
|
|
49
62
|
org_name: e.string().optional(),
|
|
50
63
|
scopes: e.array(e.string()).optional(),
|
|
51
64
|
client_id: e.string().optional()
|
|
52
|
-
}),
|
|
65
|
+
}), oe = e.object({
|
|
53
66
|
type: e.string(),
|
|
54
67
|
id: e.string(),
|
|
55
68
|
before: e.record(e.unknown()).optional(),
|
|
56
69
|
after: e.record(e.unknown()).optional(),
|
|
57
70
|
diff: e.record(e.object({ old: e.unknown(), new: e.unknown() })).optional()
|
|
58
|
-
}),
|
|
71
|
+
}), ne = e.object({
|
|
59
72
|
method: e.string(),
|
|
60
73
|
path: e.string(),
|
|
61
74
|
query: e.record(e.string()).optional(),
|
|
@@ -63,56 +76,56 @@ const r = e.object({
|
|
|
63
76
|
ip: e.string(),
|
|
64
77
|
user_agent: e.string().optional(),
|
|
65
78
|
correlation_id: e.string().optional()
|
|
66
|
-
}),
|
|
79
|
+
}), ie = e.object({
|
|
67
80
|
status_code: e.number(),
|
|
68
81
|
body: e.unknown().optional()
|
|
69
|
-
}),
|
|
82
|
+
}), ae = e.object({
|
|
70
83
|
country_code: e.string(),
|
|
71
84
|
city_name: e.string(),
|
|
72
85
|
latitude: e.string(),
|
|
73
86
|
longitude: e.string(),
|
|
74
87
|
time_zone: e.string(),
|
|
75
88
|
continent_code: e.string()
|
|
76
|
-
}),
|
|
89
|
+
}), re = e.object({
|
|
77
90
|
name: e.string(),
|
|
78
91
|
version: e.string(),
|
|
79
92
|
env: e.record(e.string()).optional()
|
|
80
|
-
}),
|
|
93
|
+
}), se = e.object({
|
|
81
94
|
tenant_id: e.string(),
|
|
82
95
|
event_type: e.string(),
|
|
83
96
|
log_type: e.string(),
|
|
84
97
|
description: e.string().optional(),
|
|
85
|
-
category:
|
|
86
|
-
actor:
|
|
87
|
-
target:
|
|
88
|
-
request:
|
|
89
|
-
response:
|
|
98
|
+
category: ee,
|
|
99
|
+
actor: te,
|
|
100
|
+
target: oe,
|
|
101
|
+
request: ne,
|
|
102
|
+
response: ie.optional(),
|
|
90
103
|
connection: e.string().optional(),
|
|
91
104
|
strategy: e.string().optional(),
|
|
92
105
|
strategy_type: e.string().optional(),
|
|
93
106
|
audience: e.string().optional(),
|
|
94
107
|
scope: e.string().optional(),
|
|
95
|
-
location:
|
|
96
|
-
auth0_client:
|
|
108
|
+
location: ae.optional(),
|
|
109
|
+
auth0_client: re.optional(),
|
|
97
110
|
hostname: e.string(),
|
|
98
111
|
is_mobile: e.boolean().optional(),
|
|
99
112
|
timestamp: e.string()
|
|
100
|
-
}),
|
|
113
|
+
}), Xo = se.extend({
|
|
101
114
|
id: e.string()
|
|
102
|
-
}),
|
|
115
|
+
}), Yo = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), Zo = e.enum([
|
|
103
116
|
"CREATE_USER",
|
|
104
117
|
"GET_USER",
|
|
105
118
|
"UPDATE_USER",
|
|
106
119
|
"SEND_REQUEST",
|
|
107
120
|
"SEND_EMAIL"
|
|
108
|
-
]),
|
|
121
|
+
]), Qo = e.enum(["VERIFY_EMAIL"]), le = e.object({
|
|
109
122
|
require_mx_record: e.boolean().optional(),
|
|
110
123
|
block_aliases: e.boolean().optional(),
|
|
111
124
|
block_free_emails: e.boolean().optional(),
|
|
112
125
|
block_disposable_emails: e.boolean().optional(),
|
|
113
126
|
blocklist: e.array(e.string()).optional(),
|
|
114
127
|
allowlist: e.array(e.string()).optional()
|
|
115
|
-
}),
|
|
128
|
+
}), pe = e.object({
|
|
116
129
|
id: e.string(),
|
|
117
130
|
alias: e.string().max(100).optional(),
|
|
118
131
|
type: e.literal("AUTH0"),
|
|
@@ -124,7 +137,7 @@ const r = e.object({
|
|
|
124
137
|
user_id: e.string(),
|
|
125
138
|
changes: e.record(e.string(), e.any())
|
|
126
139
|
})
|
|
127
|
-
}),
|
|
140
|
+
}), ce = e.object({
|
|
128
141
|
id: e.string(),
|
|
129
142
|
alias: e.string().max(100).optional(),
|
|
130
143
|
type: e.literal("EMAIL"),
|
|
@@ -133,9 +146,9 @@ const r = e.object({
|
|
|
133
146
|
mask_output: e.boolean().optional(),
|
|
134
147
|
params: e.object({
|
|
135
148
|
email: e.string(),
|
|
136
|
-
rules:
|
|
149
|
+
rules: le.optional()
|
|
137
150
|
})
|
|
138
|
-
}),
|
|
151
|
+
}), de = e.enum(["change-email", "account", "custom"]), _e = e.object({
|
|
139
152
|
id: e.string(),
|
|
140
153
|
alias: e.string().max(100).optional(),
|
|
141
154
|
type: e.literal("REDIRECT"),
|
|
@@ -143,32 +156,32 @@ const r = e.object({
|
|
|
143
156
|
allow_failure: e.boolean().optional(),
|
|
144
157
|
mask_output: e.boolean().optional(),
|
|
145
158
|
params: e.object({
|
|
146
|
-
target:
|
|
159
|
+
target: de.openapi({
|
|
147
160
|
description: "The predefined target to redirect to, or 'custom' for a custom URL"
|
|
148
161
|
}),
|
|
149
162
|
custom_url: e.string().optional().openapi({
|
|
150
163
|
description: "Custom URL to redirect to when target is 'custom'"
|
|
151
164
|
})
|
|
152
165
|
})
|
|
153
|
-
}),
|
|
154
|
-
le,
|
|
166
|
+
}), ge = e.union([
|
|
155
167
|
pe,
|
|
156
|
-
|
|
157
|
-
|
|
168
|
+
ce,
|
|
169
|
+
_e
|
|
170
|
+
]), ue = e.object({
|
|
158
171
|
name: e.string().min(1).max(150).openapi({
|
|
159
172
|
description: "The name of the flow"
|
|
160
173
|
}),
|
|
161
174
|
// Actions is an array of action steps (Auth0 stores as JSON blob)
|
|
162
|
-
actions: e.array(
|
|
175
|
+
actions: e.array(ge).optional().default([]).openapi({
|
|
163
176
|
description: "The list of actions to execute in sequence"
|
|
164
177
|
})
|
|
165
|
-
}),
|
|
166
|
-
...
|
|
178
|
+
}), $o = ue.extend({
|
|
179
|
+
...a.shape,
|
|
167
180
|
id: e.string().openapi({
|
|
168
181
|
description: "Unique identifier for the flow",
|
|
169
182
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
170
183
|
})
|
|
171
|
-
}),
|
|
184
|
+
}), Jo = e.object({
|
|
172
185
|
page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
|
|
173
186
|
description: "The page number where 0 is the first page"
|
|
174
187
|
}),
|
|
@@ -184,12 +197,12 @@ const r = e.object({
|
|
|
184
197
|
q: e.string().optional().openapi({
|
|
185
198
|
description: "A lucene query string used to filter the results"
|
|
186
199
|
})
|
|
187
|
-
}),
|
|
200
|
+
}), en = e.object({
|
|
188
201
|
start: e.number(),
|
|
189
202
|
limit: e.number(),
|
|
190
203
|
length: e.number(),
|
|
191
204
|
total: e.number().optional()
|
|
192
|
-
}),
|
|
205
|
+
}), me = e.object({
|
|
193
206
|
email: e.string().optional(),
|
|
194
207
|
email_verified: e.boolean().optional(),
|
|
195
208
|
name: e.string().optional(),
|
|
@@ -198,7 +211,7 @@ const r = e.object({
|
|
|
198
211
|
phone_number: e.string().optional(),
|
|
199
212
|
phone_verified: e.boolean().optional(),
|
|
200
213
|
family_name: e.string().optional()
|
|
201
|
-
}).catchall(e.any()),
|
|
214
|
+
}).catchall(e.any()), he = e.object({
|
|
202
215
|
connection: e.string(),
|
|
203
216
|
user_id: e.string(),
|
|
204
217
|
provider: e.string(),
|
|
@@ -211,8 +224,8 @@ const r = e.object({
|
|
|
211
224
|
access_token: e.string().optional(),
|
|
212
225
|
access_token_secret: e.string().optional(),
|
|
213
226
|
refresh_token: e.string().optional(),
|
|
214
|
-
profileData:
|
|
215
|
-
}),
|
|
227
|
+
profileData: me.optional()
|
|
228
|
+
}), be = e.object({
|
|
216
229
|
formatted: e.string().optional(),
|
|
217
230
|
// Full mailing address
|
|
218
231
|
street_address: e.string().optional(),
|
|
@@ -225,7 +238,7 @@ const r = e.object({
|
|
|
225
238
|
// Zip code or postal code
|
|
226
239
|
country: e.string().optional()
|
|
227
240
|
// Country name
|
|
228
|
-
}).optional(),
|
|
241
|
+
}).optional(), v = e.object({
|
|
229
242
|
email: e.string().optional().transform((t) => t && t.toLowerCase()),
|
|
230
243
|
username: e.string().refine((t) => !t.includes("@"), {
|
|
231
244
|
message: 'Usernames must not contain "@". Use the email field for email addresses.'
|
|
@@ -257,8 +270,8 @@ const r = e.object({
|
|
|
257
270
|
zoneinfo: e.string().optional(),
|
|
258
271
|
// e.g., "Europe/Paris"
|
|
259
272
|
// OIDC address claim (OIDC Core 5.1.1)
|
|
260
|
-
address:
|
|
261
|
-
}),
|
|
273
|
+
address: be
|
|
274
|
+
}), fe = v.extend({
|
|
262
275
|
email_verified: e.boolean().default(!1),
|
|
263
276
|
verify_email: e.boolean().optional(),
|
|
264
277
|
last_ip: e.string().optional(),
|
|
@@ -281,31 +294,31 @@ const r = e.object({
|
|
|
281
294
|
hash: e.string(),
|
|
282
295
|
algorithm: e.string()
|
|
283
296
|
}).optional()
|
|
284
|
-
}),
|
|
285
|
-
...
|
|
286
|
-
...
|
|
297
|
+
}), Ee = e.object({
|
|
298
|
+
...fe.omit({ password: !0 }).shape,
|
|
299
|
+
...a.shape,
|
|
287
300
|
user_id: e.string(),
|
|
288
301
|
provider: e.string(),
|
|
289
302
|
is_social: e.boolean(),
|
|
290
303
|
email: e.string().optional(),
|
|
291
304
|
login_count: e.number().default(0),
|
|
292
|
-
identities: e.array(
|
|
293
|
-
}),
|
|
305
|
+
identities: e.array(he).optional()
|
|
306
|
+
}), tn = Ee.omit({
|
|
294
307
|
registration_completed_at: !0
|
|
295
|
-
}),
|
|
308
|
+
}), on = v.extend({
|
|
296
309
|
login_count: e.number(),
|
|
297
310
|
multifactor: e.array(e.string()).optional(),
|
|
298
311
|
last_ip: e.string().optional(),
|
|
299
312
|
last_login: e.string().optional(),
|
|
300
313
|
user_id: e.string()
|
|
301
314
|
}).catchall(e.any());
|
|
302
|
-
let
|
|
315
|
+
let Se = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", ye = (t = 21) => {
|
|
303
316
|
let o = "", n = crypto.getRandomValues(new Uint8Array(t |= 0));
|
|
304
317
|
for (; t--; )
|
|
305
|
-
o +=
|
|
318
|
+
o += Se[n[t] & 63];
|
|
306
319
|
return o;
|
|
307
320
|
};
|
|
308
|
-
const
|
|
321
|
+
const Ae = e.object({
|
|
309
322
|
client_id: e.string().optional().openapi({
|
|
310
323
|
description: "ID of this client. Generated server-side if omitted (Auth0 behavior)."
|
|
311
324
|
}),
|
|
@@ -318,7 +331,7 @@ const ye = e.object({
|
|
|
318
331
|
global: e.boolean().default(!1).openapi({
|
|
319
332
|
description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."
|
|
320
333
|
}),
|
|
321
|
-
client_secret: e.string().default(() =>
|
|
334
|
+
client_secret: e.string().default(() => ye()).optional().openapi({
|
|
322
335
|
description: "Client secret (which you must not make public)."
|
|
323
336
|
}),
|
|
324
337
|
app_type: e.enum([
|
|
@@ -523,14 +536,14 @@ const ye = e.object({
|
|
|
523
536
|
user_linking_mode: e.enum(["builtin", "off"]).optional().openapi({
|
|
524
537
|
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."
|
|
525
538
|
})
|
|
526
|
-
}),
|
|
539
|
+
}), nn = e.object({
|
|
527
540
|
created_at: e.string(),
|
|
528
541
|
updated_at: e.string(),
|
|
529
|
-
...
|
|
542
|
+
...Ae.shape,
|
|
530
543
|
// Insert allows omitting (server-generated to match Auth0). The read schema
|
|
531
544
|
// always has it — the row in storage is non-null.
|
|
532
545
|
client_id: e.string()
|
|
533
|
-
}),
|
|
546
|
+
}), Ie = e.object({
|
|
534
547
|
client_id: e.string().min(1).openapi({
|
|
535
548
|
description: "ID of the client."
|
|
536
549
|
}),
|
|
@@ -555,37 +568,37 @@ const ye = e.object({
|
|
|
555
568
|
authorization_details_types: e.array(e.string()).optional().openapi({
|
|
556
569
|
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."
|
|
557
570
|
})
|
|
558
|
-
}),
|
|
571
|
+
}), Ce = e.object({
|
|
559
572
|
id: e.string().openapi({
|
|
560
573
|
description: "ID of the client grant."
|
|
561
574
|
}),
|
|
562
|
-
...
|
|
575
|
+
...Ie.shape,
|
|
563
576
|
created_at: e.string().optional(),
|
|
564
577
|
updated_at: e.string().optional()
|
|
565
|
-
}),
|
|
578
|
+
}), an = e.array(Ce), Te = e.enum(["iat", "rat"]), Oe = e.object({
|
|
566
579
|
id: e.string(),
|
|
567
580
|
token_hash: e.string(),
|
|
568
|
-
type:
|
|
581
|
+
type: Te,
|
|
569
582
|
client_id: e.string().optional(),
|
|
570
583
|
sub: e.string().optional(),
|
|
571
584
|
constraints: e.record(e.unknown()).optional(),
|
|
572
585
|
single_use: e.boolean().default(!1),
|
|
573
586
|
expires_at: e.string().optional()
|
|
574
|
-
}),
|
|
587
|
+
}), rn = e.object({
|
|
575
588
|
created_at: e.string(),
|
|
576
589
|
used_at: e.string().optional(),
|
|
577
590
|
revoked_at: e.string().optional(),
|
|
578
|
-
...
|
|
591
|
+
...Oe.shape
|
|
579
592
|
}), m = e.object({
|
|
580
593
|
x: e.number(),
|
|
581
594
|
y: e.number()
|
|
582
595
|
});
|
|
583
|
-
var
|
|
596
|
+
var D = /* @__PURE__ */ ((t) => (t.RICH_TEXT = "RICH_TEXT", t.NEXT_BUTTON = "NEXT_BUTTON", t.BACK_BUTTON = "BACK_BUTTON", t.SUBMIT_BUTTON = "SUBMIT_BUTTON", t.DIVIDER = "DIVIDER", t.TEXT = "TEXT", t.EMAIL = "EMAIL", t.PASSWORD = "PASSWORD", t.NUMBER = "NUMBER", t.PHONE = "PHONE", t.DATE = "DATE", t.CHECKBOX = "CHECKBOX", t.RADIO = "RADIO", t.SELECT = "SELECT", t.HIDDEN = "HIDDEN", t.LEGAL = "LEGAL", t))(D || {}), L = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.FIELD = "FIELD", t))(L || {});
|
|
584
597
|
const C = e.object({
|
|
585
598
|
id: e.string(),
|
|
586
|
-
category: e.nativeEnum(
|
|
587
|
-
type: e.nativeEnum(
|
|
588
|
-
}),
|
|
599
|
+
category: e.nativeEnum(L),
|
|
600
|
+
type: e.nativeEnum(D)
|
|
601
|
+
}), Ne = C.extend({
|
|
589
602
|
category: e.literal(
|
|
590
603
|
"BLOCK"
|
|
591
604
|
/* BLOCK */
|
|
@@ -597,7 +610,7 @@ const C = e.object({
|
|
|
597
610
|
config: e.object({
|
|
598
611
|
content: e.string()
|
|
599
612
|
}).passthrough()
|
|
600
|
-
}),
|
|
613
|
+
}), we = C.extend({
|
|
601
614
|
category: e.literal(
|
|
602
615
|
"BLOCK"
|
|
603
616
|
/* BLOCK */
|
|
@@ -619,7 +632,7 @@ const C = e.object({
|
|
|
619
632
|
config: e.object({
|
|
620
633
|
text: e.string()
|
|
621
634
|
}).passthrough()
|
|
622
|
-
}),
|
|
635
|
+
}), je = C.extend({
|
|
623
636
|
category: e.literal(
|
|
624
637
|
"FIELD"
|
|
625
638
|
/* FIELD */
|
|
@@ -633,7 +646,7 @@ const C = e.object({
|
|
|
633
646
|
config: e.object({
|
|
634
647
|
text: e.string()
|
|
635
648
|
}).passthrough()
|
|
636
|
-
}),
|
|
649
|
+
}), Re = C.extend({
|
|
637
650
|
category: e.literal(
|
|
638
651
|
"FIELD"
|
|
639
652
|
/* FIELD */
|
|
@@ -686,19 +699,19 @@ const C = e.object({
|
|
|
686
699
|
label: e.string().optional(),
|
|
687
700
|
placeholder: e.string().optional()
|
|
688
701
|
}).passthrough()
|
|
689
|
-
}),
|
|
702
|
+
}), ke = e.object({
|
|
690
703
|
id: e.string(),
|
|
691
704
|
category: e.string(),
|
|
692
705
|
type: e.string()
|
|
693
|
-
}).passthrough(),
|
|
694
|
-
Oe,
|
|
706
|
+
}).passthrough(), ve = e.union([
|
|
695
707
|
Ne,
|
|
696
708
|
we,
|
|
697
709
|
je,
|
|
698
|
-
Re
|
|
710
|
+
Re,
|
|
711
|
+
ke
|
|
699
712
|
]);
|
|
700
|
-
var
|
|
701
|
-
const
|
|
713
|
+
var De = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(De || {});
|
|
714
|
+
const Le = e.object({
|
|
702
715
|
id: e.string(),
|
|
703
716
|
type: e.literal(
|
|
704
717
|
"STEP"
|
|
@@ -707,10 +720,10 @@ const De = e.object({
|
|
|
707
720
|
coordinates: m,
|
|
708
721
|
alias: e.string().optional(),
|
|
709
722
|
config: e.object({
|
|
710
|
-
components: e.array(
|
|
723
|
+
components: e.array(ve),
|
|
711
724
|
next_node: e.string()
|
|
712
725
|
}).passthrough()
|
|
713
|
-
}),
|
|
726
|
+
}), Ue = e.object({
|
|
714
727
|
id: e.string(),
|
|
715
728
|
type: e.literal(
|
|
716
729
|
"FLOW"
|
|
@@ -722,7 +735,7 @@ const De = e.object({
|
|
|
722
735
|
flow_id: e.string(),
|
|
723
736
|
next_node: e.string()
|
|
724
737
|
})
|
|
725
|
-
}),
|
|
738
|
+
}), xe = e.object({
|
|
726
739
|
id: e.string(),
|
|
727
740
|
type: e.literal(
|
|
728
741
|
"ACTION"
|
|
@@ -744,47 +757,47 @@ const De = e.object({
|
|
|
744
757
|
description: "The next node to navigate to after action (for non-redirect actions)"
|
|
745
758
|
})
|
|
746
759
|
}).passthrough()
|
|
747
|
-
}),
|
|
760
|
+
}), Fe = e.object({
|
|
748
761
|
id: e.string(),
|
|
749
762
|
type: e.string(),
|
|
750
763
|
coordinates: m
|
|
751
|
-
}).passthrough(),
|
|
752
|
-
De,
|
|
764
|
+
}).passthrough(), Pe = e.union([
|
|
753
765
|
Le,
|
|
754
766
|
Ue,
|
|
755
|
-
xe
|
|
756
|
-
|
|
767
|
+
xe,
|
|
768
|
+
Fe
|
|
769
|
+
]), Me = e.object({
|
|
757
770
|
next_node: e.string(),
|
|
758
771
|
coordinates: m
|
|
759
|
-
}).passthrough(),
|
|
772
|
+
}).passthrough(), He = e.object({
|
|
760
773
|
resume_flow: e.boolean().optional(),
|
|
761
774
|
coordinates: m
|
|
762
|
-
}).passthrough(),
|
|
775
|
+
}).passthrough(), Ge = e.object({
|
|
763
776
|
id: e.string(),
|
|
764
777
|
name: e.string(),
|
|
765
778
|
languages: e.object({
|
|
766
779
|
primary: e.string()
|
|
767
780
|
}).passthrough(),
|
|
768
|
-
nodes: e.array(
|
|
769
|
-
start:
|
|
770
|
-
ending:
|
|
781
|
+
nodes: e.array(Pe),
|
|
782
|
+
start: Me,
|
|
783
|
+
ending: He,
|
|
771
784
|
created_at: e.string(),
|
|
772
785
|
updated_at: e.string(),
|
|
773
786
|
links: e.object({
|
|
774
787
|
sdkSrc: e.string().optional(),
|
|
775
788
|
sdk_src: e.string().optional()
|
|
776
789
|
}).passthrough()
|
|
777
|
-
}).passthrough(),
|
|
790
|
+
}).passthrough(), sn = Ge.omit({
|
|
778
791
|
id: !0,
|
|
779
792
|
created_at: !0,
|
|
780
793
|
updated_at: !0
|
|
781
794
|
});
|
|
782
|
-
var
|
|
783
|
-
const
|
|
795
|
+
var U = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "id_token token", t.CODE = "code", t))(U || {}), x = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(x || {}), F = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(F || {});
|
|
796
|
+
const Be = e.object({
|
|
784
797
|
client_id: e.string(),
|
|
785
798
|
act_as: e.string().optional(),
|
|
786
|
-
response_type: e.nativeEnum(
|
|
787
|
-
response_mode: e.nativeEnum(
|
|
799
|
+
response_type: e.nativeEnum(U).optional(),
|
|
800
|
+
response_mode: e.nativeEnum(x).optional(),
|
|
788
801
|
redirect_uri: e.string().optional(),
|
|
789
802
|
audience: e.string().optional(),
|
|
790
803
|
organization: e.string().optional(),
|
|
@@ -792,7 +805,7 @@ const Ge = e.object({
|
|
|
792
805
|
nonce: e.string().optional(),
|
|
793
806
|
scope: e.string().optional(),
|
|
794
807
|
prompt: e.string().optional(),
|
|
795
|
-
code_challenge_method: e.nativeEnum(
|
|
808
|
+
code_challenge_method: e.nativeEnum(F).optional(),
|
|
796
809
|
code_challenge: e.string().optional(),
|
|
797
810
|
username: e.string().optional(),
|
|
798
811
|
ui_locales: e.string().optional(),
|
|
@@ -804,7 +817,7 @@ const Ge = e.object({
|
|
|
804
817
|
acr_values: e.string().optional(),
|
|
805
818
|
// The following fields are not available in Auth0
|
|
806
819
|
vendor_id: e.string().optional()
|
|
807
|
-
}),
|
|
820
|
+
}), ln = e.object({
|
|
808
821
|
colors: e.object({
|
|
809
822
|
primary: e.string(),
|
|
810
823
|
// Auth0 supports either a hex color string ("#ffffff") or a gradient
|
|
@@ -825,7 +838,7 @@ const Ge = e.object({
|
|
|
825
838
|
font: e.object({
|
|
826
839
|
url: e.string()
|
|
827
840
|
}).optional()
|
|
828
|
-
}),
|
|
841
|
+
}), We = e.enum([
|
|
829
842
|
"password_reset",
|
|
830
843
|
"email_verification",
|
|
831
844
|
"otp",
|
|
@@ -833,7 +846,7 @@ const Ge = e.object({
|
|
|
833
846
|
"authorization_code",
|
|
834
847
|
"oauth2_state",
|
|
835
848
|
"ticket"
|
|
836
|
-
]),
|
|
849
|
+
]), Ke = e.object({
|
|
837
850
|
code_id: e.string().openapi({
|
|
838
851
|
description: "The code that will be used in for instance an email verification flow"
|
|
839
852
|
}),
|
|
@@ -843,7 +856,7 @@ const Ge = e.object({
|
|
|
843
856
|
connection_id: e.string().optional().openapi({
|
|
844
857
|
description: "The connection that the code is connected to"
|
|
845
858
|
}),
|
|
846
|
-
code_type:
|
|
859
|
+
code_type: We,
|
|
847
860
|
code_verifier: e.string().optional().openapi({
|
|
848
861
|
description: "The code verifier used in PKCE in outbound flows"
|
|
849
862
|
}),
|
|
@@ -868,10 +881,10 @@ const Ge = e.object({
|
|
|
868
881
|
expires_at: e.string(),
|
|
869
882
|
used_at: e.string().optional(),
|
|
870
883
|
user_id: e.string().optional()
|
|
871
|
-
}),
|
|
872
|
-
...
|
|
884
|
+
}), pn = e.object({
|
|
885
|
+
...Ke.shape,
|
|
873
886
|
created_at: e.string()
|
|
874
|
-
}),
|
|
887
|
+
}), ze = e.object({
|
|
875
888
|
kid: e.string().optional(),
|
|
876
889
|
team_id: e.string().optional(),
|
|
877
890
|
realms: e.string().optional(),
|
|
@@ -1005,14 +1018,14 @@ function T(t) {
|
|
|
1005
1018
|
return t;
|
|
1006
1019
|
}
|
|
1007
1020
|
}
|
|
1008
|
-
const
|
|
1021
|
+
const qe = e.object({
|
|
1009
1022
|
id: e.string().optional(),
|
|
1010
1023
|
name: e.string(),
|
|
1011
1024
|
display_name: e.string().optional(),
|
|
1012
1025
|
strategy: e.string(),
|
|
1013
1026
|
options: e.preprocess(
|
|
1014
1027
|
(t) => t === null ? {} : T(t),
|
|
1015
|
-
|
|
1028
|
+
ze
|
|
1016
1029
|
).default({}),
|
|
1017
1030
|
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
1018
1031
|
response_type: e.custom().optional(),
|
|
@@ -1021,11 +1034,11 @@ const ze = e.object({
|
|
|
1021
1034
|
show_as_button: e.boolean().optional(),
|
|
1022
1035
|
metadata: e.record(e.any()).optional(),
|
|
1023
1036
|
is_system: e.boolean().optional()
|
|
1024
|
-
}),
|
|
1037
|
+
}), cn = e.object({
|
|
1025
1038
|
id: e.string(),
|
|
1026
1039
|
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
1027
1040
|
updated_at: e.string().transform((t) => t === null ? "" : t)
|
|
1028
|
-
}).extend(
|
|
1041
|
+
}).extend(qe.shape), Ve = e.object({
|
|
1029
1042
|
domain: e.string(),
|
|
1030
1043
|
custom_domain_id: e.string().optional(),
|
|
1031
1044
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -1050,8 +1063,8 @@ const ze = e.object({
|
|
|
1050
1063
|
http_body: e.string(),
|
|
1051
1064
|
http_url: e.string()
|
|
1052
1065
|
})
|
|
1053
|
-
]),
|
|
1054
|
-
...
|
|
1066
|
+
]), Ye = e.object({
|
|
1067
|
+
...Ve.shape,
|
|
1055
1068
|
custom_domain_id: e.string(),
|
|
1056
1069
|
primary: e.boolean(),
|
|
1057
1070
|
status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
|
|
@@ -1060,7 +1073,7 @@ const ze = e.object({
|
|
|
1060
1073
|
methods: e.array(Xe)
|
|
1061
1074
|
}).optional(),
|
|
1062
1075
|
tls_policy: e.string().optional()
|
|
1063
|
-
}),
|
|
1076
|
+
}), dn = Ye.extend({
|
|
1064
1077
|
tenant_id: e.string()
|
|
1065
1078
|
}), O = e.object({
|
|
1066
1079
|
id: e.string(),
|
|
@@ -1068,17 +1081,17 @@ const ze = e.object({
|
|
|
1068
1081
|
visible: e.boolean().optional().default(!0)
|
|
1069
1082
|
}), l = O.extend({
|
|
1070
1083
|
category: e.literal("BLOCK").optional()
|
|
1071
|
-
}),
|
|
1084
|
+
}), Ze = l.extend({
|
|
1072
1085
|
type: e.literal("DIVIDER"),
|
|
1073
1086
|
config: e.object({
|
|
1074
1087
|
text: e.string().optional()
|
|
1075
1088
|
}).optional()
|
|
1076
|
-
}),
|
|
1089
|
+
}), Qe = l.extend({
|
|
1077
1090
|
type: e.literal("HTML"),
|
|
1078
1091
|
config: e.object({
|
|
1079
1092
|
content: e.string().optional()
|
|
1080
1093
|
}).optional()
|
|
1081
|
-
}),
|
|
1094
|
+
}), $e = l.extend({
|
|
1082
1095
|
type: e.literal("IMAGE"),
|
|
1083
1096
|
config: e.object({
|
|
1084
1097
|
src: e.string().optional(),
|
|
@@ -1086,29 +1099,29 @@ const ze = e.object({
|
|
|
1086
1099
|
width: e.number().optional(),
|
|
1087
1100
|
height: e.number().optional()
|
|
1088
1101
|
}).optional()
|
|
1089
|
-
}),
|
|
1102
|
+
}), Je = l.extend({
|
|
1090
1103
|
type: e.literal("JUMP_BUTTON"),
|
|
1091
1104
|
config: e.object({
|
|
1092
1105
|
text: e.string().optional(),
|
|
1093
1106
|
target_step: e.string().optional()
|
|
1094
1107
|
})
|
|
1095
|
-
}),
|
|
1108
|
+
}), et = l.extend({
|
|
1096
1109
|
type: e.literal("RESEND_BUTTON"),
|
|
1097
1110
|
config: e.object({
|
|
1098
1111
|
text: e.string().optional(),
|
|
1099
1112
|
resend_action: e.string().optional()
|
|
1100
1113
|
})
|
|
1101
|
-
}),
|
|
1114
|
+
}), tt = l.extend({
|
|
1102
1115
|
type: e.literal("NEXT_BUTTON"),
|
|
1103
1116
|
config: e.object({
|
|
1104
1117
|
text: e.string().optional()
|
|
1105
1118
|
})
|
|
1106
|
-
}),
|
|
1119
|
+
}), ot = l.extend({
|
|
1107
1120
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
1108
1121
|
config: e.object({
|
|
1109
1122
|
text: e.string().optional()
|
|
1110
1123
|
})
|
|
1111
|
-
}),
|
|
1124
|
+
}), nt = l.extend({
|
|
1112
1125
|
type: e.literal("RICH_TEXT"),
|
|
1113
1126
|
config: e.object({
|
|
1114
1127
|
content: e.string().optional()
|
|
@@ -1119,17 +1132,17 @@ const ze = e.object({
|
|
|
1119
1132
|
hint: e.string().min(1).max(500).optional(),
|
|
1120
1133
|
required: e.boolean().optional(),
|
|
1121
1134
|
sensitive: e.boolean().optional()
|
|
1122
|
-
}),
|
|
1135
|
+
}), it = N.extend({
|
|
1123
1136
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
1124
1137
|
config: e.object({
|
|
1125
1138
|
credential_type: e.string().optional()
|
|
1126
1139
|
})
|
|
1127
|
-
}),
|
|
1140
|
+
}), at = N.extend({
|
|
1128
1141
|
type: e.literal("GMAPS_ADDRESS"),
|
|
1129
1142
|
config: e.object({
|
|
1130
1143
|
api_key: e.string().optional()
|
|
1131
1144
|
})
|
|
1132
|
-
}),
|
|
1145
|
+
}), rt = N.extend({
|
|
1133
1146
|
type: e.literal("RECAPTCHA"),
|
|
1134
1147
|
config: e.object({
|
|
1135
1148
|
site_key: e.string().optional()
|
|
@@ -1147,12 +1160,12 @@ const ze = e.object({
|
|
|
1147
1160
|
).optional(),
|
|
1148
1161
|
required: e.boolean().optional(),
|
|
1149
1162
|
sensitive: e.boolean().optional()
|
|
1150
|
-
}),
|
|
1163
|
+
}), st = i.extend({
|
|
1151
1164
|
type: e.literal("BOOLEAN"),
|
|
1152
1165
|
config: e.object({
|
|
1153
1166
|
default_value: e.boolean().optional()
|
|
1154
1167
|
}).optional()
|
|
1155
|
-
}),
|
|
1168
|
+
}), lt = i.extend({
|
|
1156
1169
|
type: e.literal("CARDS"),
|
|
1157
1170
|
config: e.object({
|
|
1158
1171
|
options: e.array(
|
|
@@ -1165,7 +1178,7 @@ const ze = e.object({
|
|
|
1165
1178
|
).optional(),
|
|
1166
1179
|
multi_select: e.boolean().optional()
|
|
1167
1180
|
}).optional()
|
|
1168
|
-
}),
|
|
1181
|
+
}), pt = i.extend({
|
|
1169
1182
|
type: e.literal("CHOICE"),
|
|
1170
1183
|
config: e.object({
|
|
1171
1184
|
options: e.array(
|
|
@@ -1178,7 +1191,7 @@ const ze = e.object({
|
|
|
1178
1191
|
multiple: e.boolean().optional(),
|
|
1179
1192
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
1180
1193
|
}).optional()
|
|
1181
|
-
}),
|
|
1194
|
+
}), ct = i.extend({
|
|
1182
1195
|
type: e.literal("CUSTOM"),
|
|
1183
1196
|
config: e.object({
|
|
1184
1197
|
component: e.string().optional(),
|
|
@@ -1186,7 +1199,7 @@ const ze = e.object({
|
|
|
1186
1199
|
schema: e.record(e.any()).optional(),
|
|
1187
1200
|
code: e.string().optional()
|
|
1188
1201
|
})
|
|
1189
|
-
}),
|
|
1202
|
+
}), dt = i.extend({
|
|
1190
1203
|
type: e.literal("DATE"),
|
|
1191
1204
|
config: e.object({
|
|
1192
1205
|
format: e.string().optional(),
|
|
@@ -1194,7 +1207,7 @@ const ze = e.object({
|
|
|
1194
1207
|
max: e.string().optional(),
|
|
1195
1208
|
default_value: e.string().optional()
|
|
1196
1209
|
}).optional()
|
|
1197
|
-
}),
|
|
1210
|
+
}), _t = i.extend({
|
|
1198
1211
|
type: e.literal("DROPDOWN"),
|
|
1199
1212
|
config: e.object({
|
|
1200
1213
|
options: e.array(
|
|
@@ -1208,26 +1221,26 @@ const ze = e.object({
|
|
|
1208
1221
|
multiple: e.boolean().optional(),
|
|
1209
1222
|
default_value: e.union([e.string(), e.array(e.string())]).optional()
|
|
1210
1223
|
}).optional()
|
|
1211
|
-
}),
|
|
1224
|
+
}), gt = i.extend({
|
|
1212
1225
|
type: e.literal("EMAIL"),
|
|
1213
1226
|
config: e.object({
|
|
1214
1227
|
placeholder: e.string().optional(),
|
|
1215
1228
|
default_value: e.string().optional()
|
|
1216
1229
|
}).optional()
|
|
1217
|
-
}),
|
|
1230
|
+
}), ut = i.extend({
|
|
1218
1231
|
type: e.literal("FILE"),
|
|
1219
1232
|
config: e.object({
|
|
1220
1233
|
accept: e.string().optional(),
|
|
1221
1234
|
max_size: e.number().optional(),
|
|
1222
1235
|
multiple: e.boolean().optional()
|
|
1223
1236
|
}).optional()
|
|
1224
|
-
}),
|
|
1237
|
+
}), mt = i.extend({
|
|
1225
1238
|
type: e.literal("LEGAL"),
|
|
1226
1239
|
config: e.object({
|
|
1227
1240
|
text: e.string(),
|
|
1228
1241
|
html: e.boolean().optional()
|
|
1229
1242
|
}).optional()
|
|
1230
|
-
}),
|
|
1243
|
+
}), ht = i.extend({
|
|
1231
1244
|
type: e.literal("NUMBER"),
|
|
1232
1245
|
config: e.object({
|
|
1233
1246
|
placeholder: e.string().optional(),
|
|
@@ -1236,7 +1249,7 @@ const ze = e.object({
|
|
|
1236
1249
|
step: e.number().optional(),
|
|
1237
1250
|
default_value: e.string().optional()
|
|
1238
1251
|
}).optional()
|
|
1239
|
-
}),
|
|
1252
|
+
}), bt = i.extend({
|
|
1240
1253
|
type: e.literal("PASSWORD"),
|
|
1241
1254
|
config: e.object({
|
|
1242
1255
|
placeholder: e.string().optional(),
|
|
@@ -1245,13 +1258,13 @@ const ze = e.object({
|
|
|
1245
1258
|
forgot_password_link: e.string().optional(),
|
|
1246
1259
|
default_value: e.string().optional()
|
|
1247
1260
|
}).optional()
|
|
1248
|
-
}),
|
|
1261
|
+
}), ft = i.extend({
|
|
1249
1262
|
type: e.literal("PAYMENT"),
|
|
1250
1263
|
config: e.object({
|
|
1251
1264
|
provider: e.string().optional(),
|
|
1252
1265
|
currency: e.string().optional()
|
|
1253
1266
|
}).optional()
|
|
1254
|
-
}),
|
|
1267
|
+
}), Et = i.extend({
|
|
1255
1268
|
type: e.literal("SOCIAL"),
|
|
1256
1269
|
config: e.object({
|
|
1257
1270
|
providers: e.array(e.string()).optional(),
|
|
@@ -1266,7 +1279,7 @@ const ze = e.object({
|
|
|
1266
1279
|
})
|
|
1267
1280
|
).optional()
|
|
1268
1281
|
}).optional()
|
|
1269
|
-
}),
|
|
1282
|
+
}), St = i.extend({
|
|
1270
1283
|
type: e.literal("TEL"),
|
|
1271
1284
|
config: e.object({
|
|
1272
1285
|
placeholder: e.string().optional(),
|
|
@@ -1274,7 +1287,7 @@ const ze = e.object({
|
|
|
1274
1287
|
default_value: e.string().optional(),
|
|
1275
1288
|
allow_email: e.boolean().optional()
|
|
1276
1289
|
}).optional()
|
|
1277
|
-
}),
|
|
1290
|
+
}), yt = i.extend({
|
|
1278
1291
|
type: e.literal("TEXT"),
|
|
1279
1292
|
config: e.object({
|
|
1280
1293
|
placeholder: e.string().optional(),
|
|
@@ -1282,37 +1295,36 @@ const ze = e.object({
|
|
|
1282
1295
|
max_length: e.number().optional(),
|
|
1283
1296
|
default_value: e.string().optional()
|
|
1284
1297
|
}).optional()
|
|
1285
|
-
}),
|
|
1298
|
+
}), At = i.extend({
|
|
1286
1299
|
type: e.literal("COUNTRY"),
|
|
1287
1300
|
config: e.object({
|
|
1288
1301
|
placeholder: e.string().optional(),
|
|
1289
1302
|
default_value: e.string().optional()
|
|
1290
1303
|
}).optional()
|
|
1291
|
-
}),
|
|
1304
|
+
}), It = i.extend({
|
|
1292
1305
|
type: e.literal("URL"),
|
|
1293
1306
|
config: e.object({
|
|
1294
1307
|
placeholder: e.string().optional(),
|
|
1295
1308
|
default_value: e.string().optional()
|
|
1296
1309
|
}).optional()
|
|
1297
|
-
}),
|
|
1298
|
-
Ye,
|
|
1310
|
+
}), Ct = e.discriminatedUnion("type", [
|
|
1299
1311
|
Ze,
|
|
1300
1312
|
Qe,
|
|
1301
1313
|
$e,
|
|
1302
1314
|
Je,
|
|
1303
1315
|
et,
|
|
1304
1316
|
tt,
|
|
1305
|
-
ot
|
|
1306
|
-
|
|
1307
|
-
nt,
|
|
1308
|
-
it,
|
|
1309
|
-
at
|
|
1317
|
+
ot,
|
|
1318
|
+
nt
|
|
1310
1319
|
]), Tt = e.discriminatedUnion("type", [
|
|
1311
|
-
|
|
1320
|
+
it,
|
|
1321
|
+
at,
|
|
1322
|
+
rt
|
|
1323
|
+
]), Ot = e.discriminatedUnion("type", [
|
|
1312
1324
|
st,
|
|
1313
1325
|
lt,
|
|
1314
|
-
yt,
|
|
1315
1326
|
pt,
|
|
1327
|
+
At,
|
|
1316
1328
|
ct,
|
|
1317
1329
|
dt,
|
|
1318
1330
|
_t,
|
|
@@ -1324,12 +1336,13 @@ const ze = e.object({
|
|
|
1324
1336
|
ft,
|
|
1325
1337
|
Et,
|
|
1326
1338
|
St,
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1339
|
+
yt,
|
|
1340
|
+
It
|
|
1341
|
+
]), P = e.union([
|
|
1330
1342
|
Ct,
|
|
1331
|
-
Tt
|
|
1332
|
-
|
|
1343
|
+
Tt,
|
|
1344
|
+
Ot
|
|
1345
|
+
]), _n = /* @__PURE__ */ new Set([
|
|
1333
1346
|
"BOOLEAN",
|
|
1334
1347
|
"CARDS",
|
|
1335
1348
|
"CHOICE",
|
|
@@ -1343,7 +1356,7 @@ const ze = e.object({
|
|
|
1343
1356
|
"TEL",
|
|
1344
1357
|
"TEXT",
|
|
1345
1358
|
"URL"
|
|
1346
|
-
]),
|
|
1359
|
+
]), gn = e.object({
|
|
1347
1360
|
id: e.string(),
|
|
1348
1361
|
type: e.literal("submit"),
|
|
1349
1362
|
label: e.string(),
|
|
@@ -1355,7 +1368,7 @@ const ze = e.object({
|
|
|
1355
1368
|
}), E = e.object({
|
|
1356
1369
|
x: e.number(),
|
|
1357
1370
|
y: e.number()
|
|
1358
|
-
}),
|
|
1371
|
+
}), Nt = e.object({
|
|
1359
1372
|
id: e.string(),
|
|
1360
1373
|
type: e.literal("FLOW"),
|
|
1361
1374
|
coordinates: E,
|
|
@@ -1364,7 +1377,7 @@ const ze = e.object({
|
|
|
1364
1377
|
flow_id: e.string().max(30),
|
|
1365
1378
|
next_node: e.string().optional()
|
|
1366
1379
|
})
|
|
1367
|
-
}),
|
|
1380
|
+
}), wt = e.object({
|
|
1368
1381
|
id: e.string(),
|
|
1369
1382
|
type: e.literal("ROUTER"),
|
|
1370
1383
|
coordinates: E,
|
|
@@ -1380,20 +1393,20 @@ const ze = e.object({
|
|
|
1380
1393
|
),
|
|
1381
1394
|
fallback: e.string()
|
|
1382
1395
|
})
|
|
1383
|
-
}),
|
|
1396
|
+
}), jt = e.object({
|
|
1384
1397
|
id: e.string(),
|
|
1385
1398
|
type: e.literal("STEP"),
|
|
1386
1399
|
coordinates: E,
|
|
1387
1400
|
alias: e.string().min(1).max(150).optional(),
|
|
1388
1401
|
config: e.object({
|
|
1389
|
-
components: e.array(
|
|
1402
|
+
components: e.array(P),
|
|
1390
1403
|
next_node: e.string().optional()
|
|
1391
1404
|
})
|
|
1392
|
-
}),
|
|
1393
|
-
Ot,
|
|
1405
|
+
}), Rt = e.discriminatedUnion("type", [
|
|
1394
1406
|
Nt,
|
|
1395
|
-
wt
|
|
1396
|
-
|
|
1407
|
+
wt,
|
|
1408
|
+
jt
|
|
1409
|
+
]), kt = e.object({
|
|
1397
1410
|
name: e.string().openapi({
|
|
1398
1411
|
description: "The name of the form"
|
|
1399
1412
|
}),
|
|
@@ -1406,7 +1419,7 @@ const ze = e.object({
|
|
|
1406
1419
|
default: e.string().optional()
|
|
1407
1420
|
}).optional(),
|
|
1408
1421
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1409
|
-
nodes: e.array(
|
|
1422
|
+
nodes: e.array(Rt).optional(),
|
|
1410
1423
|
start: e.object({
|
|
1411
1424
|
hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
|
|
1412
1425
|
next_node: e.string().optional(),
|
|
@@ -1428,42 +1441,42 @@ const ze = e.object({
|
|
|
1428
1441
|
}).optional()
|
|
1429
1442
|
}).openapi({
|
|
1430
1443
|
description: "Schema for flow-based forms (matches Auth0 Forms structure)"
|
|
1431
|
-
}),
|
|
1432
|
-
...
|
|
1433
|
-
...
|
|
1444
|
+
}), un = e.object({
|
|
1445
|
+
...a.shape,
|
|
1446
|
+
...kt.shape,
|
|
1434
1447
|
id: e.string()
|
|
1435
|
-
}),
|
|
1448
|
+
}), vt = e.object({
|
|
1436
1449
|
id: e.number().optional(),
|
|
1437
1450
|
text: e.string(),
|
|
1438
1451
|
type: e.enum(["info", "error", "success", "warning"])
|
|
1439
|
-
}),
|
|
1452
|
+
}), Dt = e.object({
|
|
1440
1453
|
id: e.string().optional(),
|
|
1441
1454
|
text: e.string(),
|
|
1442
1455
|
href: e.string(),
|
|
1443
1456
|
linkText: e.string().optional()
|
|
1444
|
-
}),
|
|
1457
|
+
}), mn = e.object({
|
|
1445
1458
|
/** Screen identifier for CSS targeting (e.g., 'identifier', 'enter-password', 'signup') */
|
|
1446
1459
|
name: e.string().optional(),
|
|
1447
1460
|
action: e.string(),
|
|
1448
1461
|
method: e.enum(["POST", "GET"]),
|
|
1449
1462
|
title: e.string().optional(),
|
|
1450
1463
|
description: e.string().optional(),
|
|
1451
|
-
components: e.array(
|
|
1452
|
-
messages: e.array(
|
|
1453
|
-
links: e.array(
|
|
1464
|
+
components: e.array(P),
|
|
1465
|
+
messages: e.array(vt).optional(),
|
|
1466
|
+
links: e.array(Dt).optional(),
|
|
1454
1467
|
/** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
|
|
1455
1468
|
footer: e.string().optional()
|
|
1456
1469
|
});
|
|
1457
|
-
function
|
|
1470
|
+
function hn(t) {
|
|
1458
1471
|
return t.category === "BLOCK";
|
|
1459
1472
|
}
|
|
1460
|
-
function
|
|
1473
|
+
function bn(t) {
|
|
1461
1474
|
return t.category === "WIDGET";
|
|
1462
1475
|
}
|
|
1463
|
-
function
|
|
1476
|
+
function fn(t) {
|
|
1464
1477
|
return t.category === "FIELD";
|
|
1465
1478
|
}
|
|
1466
|
-
const
|
|
1479
|
+
const M = e.enum([
|
|
1467
1480
|
"pre-user-registration",
|
|
1468
1481
|
"post-user-registration",
|
|
1469
1482
|
"post-user-login",
|
|
@@ -1472,28 +1485,28 @@ const x = e.enum([
|
|
|
1472
1485
|
"pre-user-deletion",
|
|
1473
1486
|
"post-user-deletion"
|
|
1474
1487
|
// Potentially other triggers specific to webhooks in the future
|
|
1475
|
-
]),
|
|
1488
|
+
]), H = e.enum([
|
|
1476
1489
|
"pre-user-registration",
|
|
1477
1490
|
"post-user-registration",
|
|
1478
1491
|
"post-user-login",
|
|
1479
1492
|
"validate-registration-username",
|
|
1480
1493
|
"pre-user-deletion",
|
|
1481
1494
|
"post-user-deletion"
|
|
1482
|
-
]),
|
|
1495
|
+
]), G = e.enum([
|
|
1483
1496
|
"post-user-login",
|
|
1484
1497
|
"post-user-registration",
|
|
1485
1498
|
"post-user-update",
|
|
1486
1499
|
"credentials-exchange"
|
|
1487
|
-
]),
|
|
1500
|
+
]), B = e.enum([
|
|
1488
1501
|
"post-user-login",
|
|
1489
1502
|
"credentials-exchange",
|
|
1490
1503
|
"pre-user-registration",
|
|
1491
1504
|
"post-user-registration"
|
|
1492
|
-
]),
|
|
1505
|
+
]), W = e.enum([
|
|
1493
1506
|
"ensure-username",
|
|
1494
1507
|
"set-preferred-username",
|
|
1495
1508
|
"account-linking"
|
|
1496
|
-
]),
|
|
1509
|
+
]), En = {
|
|
1497
1510
|
"ensure-username": {
|
|
1498
1511
|
name: "Ensure Username",
|
|
1499
1512
|
description: "Automatically assigns a username to users who sign in without one. Creates a linked username account for social/email users.",
|
|
@@ -1530,71 +1543,71 @@ const x = e.enum([
|
|
|
1530
1543
|
* Everything else is opaque to the runtime. Persisted as JSON.
|
|
1531
1544
|
*/
|
|
1532
1545
|
metadata: e.record(e.unknown()).optional()
|
|
1533
|
-
},
|
|
1546
|
+
}, Lt = e.object({
|
|
1534
1547
|
...p,
|
|
1535
|
-
trigger_id:
|
|
1548
|
+
trigger_id: M,
|
|
1536
1549
|
url: e.string()
|
|
1537
|
-
}), Lt = e.object({
|
|
1538
|
-
...p,
|
|
1539
|
-
trigger_id: F,
|
|
1540
|
-
form_id: e.string()
|
|
1541
1550
|
}), Ut = e.object({
|
|
1542
1551
|
...p,
|
|
1543
|
-
trigger_id:
|
|
1544
|
-
|
|
1552
|
+
trigger_id: H,
|
|
1553
|
+
form_id: e.string()
|
|
1545
1554
|
}), xt = e.object({
|
|
1546
1555
|
...p,
|
|
1547
|
-
trigger_id:
|
|
1556
|
+
trigger_id: G,
|
|
1557
|
+
template_id: W
|
|
1558
|
+
}), Ft = e.object({
|
|
1559
|
+
...p,
|
|
1560
|
+
trigger_id: B,
|
|
1548
1561
|
code_id: e.string()
|
|
1549
|
-
}),
|
|
1550
|
-
Dt,
|
|
1562
|
+
}), Sn = e.union([
|
|
1551
1563
|
Lt,
|
|
1552
1564
|
Ut,
|
|
1553
|
-
xt
|
|
1554
|
-
|
|
1565
|
+
xt,
|
|
1566
|
+
Ft
|
|
1567
|
+
]), Pt = e.object({
|
|
1555
1568
|
...p,
|
|
1556
|
-
trigger_id:
|
|
1557
|
-
...
|
|
1569
|
+
trigger_id: M,
|
|
1570
|
+
...a.shape,
|
|
1558
1571
|
hook_id: e.string(),
|
|
1559
1572
|
url: e.string()
|
|
1560
|
-
}),
|
|
1573
|
+
}), Mt = e.object({
|
|
1561
1574
|
...p,
|
|
1562
|
-
trigger_id:
|
|
1563
|
-
...
|
|
1575
|
+
trigger_id: H,
|
|
1576
|
+
...a.shape,
|
|
1564
1577
|
hook_id: e.string(),
|
|
1565
1578
|
form_id: e.string()
|
|
1566
|
-
}),
|
|
1579
|
+
}), Ht = e.object({
|
|
1567
1580
|
...p,
|
|
1568
|
-
trigger_id:
|
|
1569
|
-
...
|
|
1581
|
+
trigger_id: G,
|
|
1582
|
+
...a.shape,
|
|
1570
1583
|
hook_id: e.string(),
|
|
1571
|
-
template_id:
|
|
1572
|
-
}),
|
|
1584
|
+
template_id: W
|
|
1585
|
+
}), Gt = e.object({
|
|
1573
1586
|
...p,
|
|
1574
|
-
trigger_id:
|
|
1575
|
-
...
|
|
1587
|
+
trigger_id: B,
|
|
1588
|
+
...a.shape,
|
|
1576
1589
|
hook_id: e.string(),
|
|
1577
1590
|
code_id: e.string()
|
|
1578
|
-
}),
|
|
1579
|
-
Ft,
|
|
1591
|
+
}), yn = e.union([
|
|
1580
1592
|
Pt,
|
|
1581
1593
|
Mt,
|
|
1582
|
-
Ht
|
|
1583
|
-
|
|
1594
|
+
Ht,
|
|
1595
|
+
Gt
|
|
1596
|
+
]), Bt = e.object({
|
|
1584
1597
|
code: e.string().max(1e5),
|
|
1585
1598
|
secrets: e.record(e.string()).optional()
|
|
1586
|
-
}),
|
|
1599
|
+
}), An = Bt.extend({
|
|
1587
1600
|
id: e.string(),
|
|
1588
1601
|
tenant_id: e.string(),
|
|
1589
|
-
...
|
|
1590
|
-
}), Bt = e.object({
|
|
1591
|
-
name: e.string().optional()
|
|
1602
|
+
...a.shape
|
|
1592
1603
|
}), Wt = e.object({
|
|
1593
|
-
|
|
1604
|
+
name: e.string().optional()
|
|
1594
1605
|
}), Kt = e.object({
|
|
1606
|
+
email: e.string().optional()
|
|
1607
|
+
}), zt = e.object({
|
|
1595
1608
|
organization_id: e.string().max(50),
|
|
1596
|
-
inviter:
|
|
1597
|
-
invitee:
|
|
1609
|
+
inviter: Wt,
|
|
1610
|
+
invitee: Kt,
|
|
1598
1611
|
invitation_url: e.string().url(),
|
|
1599
1612
|
client_id: e.string(),
|
|
1600
1613
|
connection_id: e.string().optional(),
|
|
@@ -1603,13 +1616,13 @@ const x = e.enum([
|
|
|
1603
1616
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1604
1617
|
roles: e.array(e.string()).default([]).optional(),
|
|
1605
1618
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1606
|
-
}),
|
|
1619
|
+
}), In = e.object({
|
|
1607
1620
|
id: e.string(),
|
|
1608
1621
|
organization_id: e.string().max(50),
|
|
1609
1622
|
created_at: e.string().datetime(),
|
|
1610
1623
|
expires_at: e.string().datetime(),
|
|
1611
1624
|
ticket_id: e.string().optional()
|
|
1612
|
-
}).extend(
|
|
1625
|
+
}).extend(zt.shape), qt = e.object({
|
|
1613
1626
|
alg: e.enum([
|
|
1614
1627
|
"RS256",
|
|
1615
1628
|
"RS384",
|
|
@@ -1648,15 +1661,13 @@ const x = e.enum([
|
|
|
1648
1661
|
path: [n],
|
|
1649
1662
|
message: `EC JWK is missing required member '${n}'`
|
|
1650
1663
|
});
|
|
1651
|
-
}),
|
|
1652
|
-
keys: e.array(
|
|
1653
|
-
}),
|
|
1664
|
+
}), Cn = e.object({
|
|
1665
|
+
keys: e.array(qt)
|
|
1666
|
+
}), Tn = e.object({
|
|
1654
1667
|
issuer: e.string(),
|
|
1655
1668
|
authorization_endpoint: e.string(),
|
|
1656
1669
|
token_endpoint: e.string(),
|
|
1657
|
-
device_authorization_endpoint: e.string(),
|
|
1658
1670
|
userinfo_endpoint: e.string(),
|
|
1659
|
-
mfa_challenge_endpoint: e.string(),
|
|
1660
1671
|
jwks_uri: e.string(),
|
|
1661
1672
|
registration_endpoint: e.string().optional(),
|
|
1662
1673
|
revocation_endpoint: e.string(),
|
|
@@ -1675,21 +1686,21 @@ const x = e.enum([
|
|
|
1675
1686
|
request_object_signing_alg_values_supported: e.array(e.string()).optional(),
|
|
1676
1687
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
|
|
1677
1688
|
});
|
|
1678
|
-
var
|
|
1679
|
-
const
|
|
1689
|
+
var K = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.AUTHENTICATED = "authenticated", t.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", t.AWAITING_MFA = "awaiting_mfa", t.AWAITING_HOOK = "awaiting_hook", t.AWAITING_CONTINUATION = "awaiting_continuation", t.COMPLETED = "completed", t.FAILED = "failed", t.EXPIRED = "expired", t))(K || {});
|
|
1690
|
+
const Vt = e.nativeEnum(K), Xt = e.object({
|
|
1680
1691
|
strategy: e.string(),
|
|
1681
1692
|
strategy_type: e.string()
|
|
1682
|
-
}),
|
|
1693
|
+
}), Yt = e.object({
|
|
1683
1694
|
csrf_token: e.string(),
|
|
1684
1695
|
auth0Client: e.string().optional(),
|
|
1685
|
-
authParams:
|
|
1696
|
+
authParams: Be,
|
|
1686
1697
|
expires_at: e.string(),
|
|
1687
1698
|
deleted_at: e.string().optional(),
|
|
1688
1699
|
ip: e.string().optional(),
|
|
1689
1700
|
useragent: e.string().optional(),
|
|
1690
1701
|
session_id: e.string().optional(),
|
|
1691
1702
|
authorization_url: e.string().optional(),
|
|
1692
|
-
state:
|
|
1703
|
+
state: Vt.optional().default(
|
|
1693
1704
|
"pending"
|
|
1694
1705
|
/* PENDING */
|
|
1695
1706
|
),
|
|
@@ -1705,14 +1716,14 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
1705
1716
|
// ISO timestamp persisted for audit/metadata; not used to reject resumed sessions
|
|
1706
1717
|
}).openapi({
|
|
1707
1718
|
description: "This represents a login sesion"
|
|
1708
|
-
}),
|
|
1709
|
-
...
|
|
1719
|
+
}), On = e.object({
|
|
1720
|
+
...Yt.shape,
|
|
1710
1721
|
id: e.string().openapi({
|
|
1711
1722
|
description: "This is is used as the state in the universal login"
|
|
1712
1723
|
}),
|
|
1713
1724
|
created_at: e.string(),
|
|
1714
1725
|
updated_at: e.string()
|
|
1715
|
-
}),
|
|
1726
|
+
}), Zt = {
|
|
1716
1727
|
// Network & System
|
|
1717
1728
|
ACLS_SUMMARY: "acls_summary",
|
|
1718
1729
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
@@ -1886,24 +1897,24 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
1886
1897
|
WARNING_DURING_LOGIN: "w",
|
|
1887
1898
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1888
1899
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1889
|
-
},
|
|
1890
|
-
(t) => Object.values(
|
|
1900
|
+
}, Qt = e.string().refine(
|
|
1901
|
+
(t) => Object.values(Zt).includes(t),
|
|
1891
1902
|
{ message: "Invalid log type" }
|
|
1892
|
-
),
|
|
1903
|
+
), $t = e.object({
|
|
1893
1904
|
name: e.string(),
|
|
1894
1905
|
version: e.string(),
|
|
1895
1906
|
env: e.object({
|
|
1896
1907
|
node: e.string().optional()
|
|
1897
1908
|
}).optional()
|
|
1898
|
-
}),
|
|
1909
|
+
}), Jt = e.object({
|
|
1899
1910
|
country_code: e.string().length(2),
|
|
1900
1911
|
city_name: e.string(),
|
|
1901
1912
|
latitude: e.string(),
|
|
1902
1913
|
longitude: e.string(),
|
|
1903
1914
|
time_zone: e.string(),
|
|
1904
1915
|
continent_code: e.string()
|
|
1905
|
-
}),
|
|
1906
|
-
type:
|
|
1916
|
+
}), eo = e.object({
|
|
1917
|
+
type: Qt,
|
|
1907
1918
|
date: e.string(),
|
|
1908
1919
|
description: e.string().optional(),
|
|
1909
1920
|
ip: e.string().optional(),
|
|
@@ -1922,39 +1933,39 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
1922
1933
|
strategy: e.string().optional(),
|
|
1923
1934
|
strategy_type: e.string().optional(),
|
|
1924
1935
|
hostname: e.string().optional(),
|
|
1925
|
-
auth0_client:
|
|
1936
|
+
auth0_client: $t.optional(),
|
|
1926
1937
|
log_id: e.string().optional(),
|
|
1927
|
-
location_info:
|
|
1928
|
-
}),
|
|
1929
|
-
...
|
|
1938
|
+
location_info: Jt.optional()
|
|
1939
|
+
}), Nn = e.object({
|
|
1940
|
+
...eo.shape,
|
|
1930
1941
|
log_id: e.string()
|
|
1931
|
-
}),
|
|
1942
|
+
}), to = e.enum([
|
|
1932
1943
|
"http",
|
|
1933
1944
|
"eventbridge",
|
|
1934
1945
|
"eventgrid",
|
|
1935
1946
|
"splunk",
|
|
1936
1947
|
"datadog",
|
|
1937
1948
|
"sumo"
|
|
1938
|
-
]),
|
|
1949
|
+
]), z = e.enum([
|
|
1939
1950
|
"active",
|
|
1940
1951
|
"paused",
|
|
1941
1952
|
"suspended"
|
|
1942
|
-
]),
|
|
1953
|
+
]), oo = e.object({
|
|
1943
1954
|
type: e.string(),
|
|
1944
1955
|
name: e.string()
|
|
1945
|
-
}),
|
|
1956
|
+
}), no = e.object({
|
|
1946
1957
|
name: e.string(),
|
|
1947
|
-
type:
|
|
1948
|
-
status:
|
|
1958
|
+
type: to,
|
|
1959
|
+
status: z.optional(),
|
|
1949
1960
|
sink: e.record(e.string(), e.unknown()),
|
|
1950
|
-
filters: e.array(
|
|
1961
|
+
filters: e.array(oo).optional(),
|
|
1951
1962
|
isPriority: e.boolean().optional()
|
|
1952
|
-
}),
|
|
1963
|
+
}), wn = no.extend({
|
|
1953
1964
|
id: e.string(),
|
|
1954
|
-
status:
|
|
1965
|
+
status: z,
|
|
1955
1966
|
created_at: e.string().optional(),
|
|
1956
1967
|
updated_at: e.string().optional()
|
|
1957
|
-
}),
|
|
1968
|
+
}), io = e.object({
|
|
1958
1969
|
enabled: e.boolean().optional(),
|
|
1959
1970
|
shields: e.array(e.string()).optional(),
|
|
1960
1971
|
admin_notification_frequency: e.array(e.string()).optional(),
|
|
@@ -1967,13 +1978,13 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
1967
1978
|
shields: e.array(e.string()).optional()
|
|
1968
1979
|
}).optional()
|
|
1969
1980
|
}).optional()
|
|
1970
|
-
}),
|
|
1981
|
+
}), ao = e.object({
|
|
1971
1982
|
enabled: e.boolean().optional(),
|
|
1972
1983
|
shields: e.array(e.string()).optional(),
|
|
1973
1984
|
allowlist: e.array(e.string()).optional(),
|
|
1974
1985
|
mode: e.string().optional(),
|
|
1975
1986
|
max_attempts: e.number().optional()
|
|
1976
|
-
}),
|
|
1987
|
+
}), ro = e.object({
|
|
1977
1988
|
enabled: e.boolean().optional(),
|
|
1978
1989
|
shields: e.array(e.string()).optional(),
|
|
1979
1990
|
allowlist: e.array(e.string()).optional(),
|
|
@@ -1987,28 +1998,28 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
1987
1998
|
rate: e.number().optional()
|
|
1988
1999
|
}).optional()
|
|
1989
2000
|
}).optional()
|
|
1990
|
-
}), ro = e.object({
|
|
1991
|
-
breached_password_detection: no.optional(),
|
|
1992
|
-
brute_force_protection: io.optional(),
|
|
1993
|
-
suspicious_ip_throttling: ao.optional()
|
|
1994
2001
|
}), so = e.object({
|
|
2002
|
+
breached_password_detection: io.optional(),
|
|
2003
|
+
brute_force_protection: ao.optional(),
|
|
2004
|
+
suspicious_ip_throttling: ro.optional()
|
|
2005
|
+
}), lo = e.object({
|
|
1995
2006
|
id: e.string().optional(),
|
|
1996
2007
|
user_id: e.string(),
|
|
1997
2008
|
password: e.string(),
|
|
1998
2009
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1999
2010
|
is_current: e.boolean().default(!0)
|
|
2000
|
-
}),
|
|
2011
|
+
}), jn = lo.extend({
|
|
2001
2012
|
id: e.string(),
|
|
2002
2013
|
created_at: e.string(),
|
|
2003
2014
|
updated_at: e.string()
|
|
2004
|
-
}),
|
|
2015
|
+
}), q = e.object({
|
|
2005
2016
|
initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
|
|
2006
2017
|
initial_ip: e.string().describe("First IP address associated with this session"),
|
|
2007
2018
|
initial_asn: e.string().describe("First autonomous system number associated with this session"),
|
|
2008
2019
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
2009
2020
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
2010
2021
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
2011
|
-
}),
|
|
2022
|
+
}), po = e.object({
|
|
2012
2023
|
id: e.string(),
|
|
2013
2024
|
revoked_at: e.string().optional(),
|
|
2014
2025
|
used_at: e.string().optional(),
|
|
@@ -2016,18 +2027,21 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
2016
2027
|
expires_at: e.string().optional(),
|
|
2017
2028
|
login_session_id: e.string(),
|
|
2018
2029
|
idle_expires_at: e.string().optional(),
|
|
2019
|
-
device:
|
|
2030
|
+
device: q.describe(
|
|
2020
2031
|
"Metadata related to the device used in the session"
|
|
2021
2032
|
),
|
|
2022
2033
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
2023
|
-
}),
|
|
2034
|
+
}), Rn = e.object({
|
|
2024
2035
|
created_at: e.string(),
|
|
2025
2036
|
updated_at: e.string(),
|
|
2026
2037
|
authenticated_at: e.string(),
|
|
2027
2038
|
last_interaction_at: e.string(),
|
|
2028
|
-
...
|
|
2029
|
-
}),
|
|
2039
|
+
...po.shape
|
|
2040
|
+
}), kn = e.object({
|
|
2030
2041
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
2042
|
+
tenant_id: e.string().optional().openapi({
|
|
2043
|
+
description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped."
|
|
2044
|
+
}),
|
|
2031
2045
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
2032
2046
|
fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
|
|
2033
2047
|
thumbprint: e.string().openapi({ description: "The cert thumbprint" }),
|
|
@@ -2051,7 +2065,7 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
2051
2065
|
type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
|
|
2052
2066
|
description: "The type of the signing key"
|
|
2053
2067
|
})
|
|
2054
|
-
}),
|
|
2068
|
+
}), co = e.object({
|
|
2055
2069
|
id: e.string().optional(),
|
|
2056
2070
|
// Basic settings
|
|
2057
2071
|
audience: e.string(),
|
|
@@ -2204,7 +2218,7 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
2204
2218
|
pushed_authorization_requests_supported: e.boolean().optional(),
|
|
2205
2219
|
authorization_response_iss_parameter_supported: e.boolean().optional(),
|
|
2206
2220
|
// Attack-protection config (singleton, exposed via /api/v2/attack-protection)
|
|
2207
|
-
attack_protection:
|
|
2221
|
+
attack_protection: so.optional(),
|
|
2208
2222
|
// Guardian MFA Factors configuration (internal storage, exposed via /guardian API)
|
|
2209
2223
|
mfa: e.object({
|
|
2210
2224
|
// MFA policy: "never" = MFA disabled, "always" = MFA required for all logins
|
|
@@ -2236,14 +2250,14 @@ const qt = e.nativeEnum(G), Xt = e.object({
|
|
|
2236
2250
|
message: e.string().optional()
|
|
2237
2251
|
}).optional()
|
|
2238
2252
|
}).optional()
|
|
2239
|
-
}),
|
|
2253
|
+
}), vn = e.object({
|
|
2240
2254
|
created_at: e.string().nullable().transform((t) => t ?? ""),
|
|
2241
2255
|
updated_at: e.string().nullable().transform((t) => t ?? ""),
|
|
2242
|
-
...
|
|
2256
|
+
...co.shape,
|
|
2243
2257
|
id: e.string()
|
|
2244
2258
|
});
|
|
2245
|
-
var
|
|
2246
|
-
const
|
|
2259
|
+
var _o = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(_o || {});
|
|
2260
|
+
const Dn = e.object({
|
|
2247
2261
|
access_token: e.string(),
|
|
2248
2262
|
id_token: e.string().optional(),
|
|
2249
2263
|
scope: e.string().optional(),
|
|
@@ -2256,7 +2270,7 @@ e.object({
|
|
|
2256
2270
|
code: e.string(),
|
|
2257
2271
|
state: e.string().optional()
|
|
2258
2272
|
});
|
|
2259
|
-
const
|
|
2273
|
+
const go = e.object({
|
|
2260
2274
|
button_border_radius: e.number(),
|
|
2261
2275
|
button_border_weight: e.number(),
|
|
2262
2276
|
buttons_style: e.enum(["pill", "rounded", "sharp"]),
|
|
@@ -2266,7 +2280,7 @@ const _o = e.object({
|
|
|
2266
2280
|
show_widget_shadow: e.boolean(),
|
|
2267
2281
|
widget_border_weight: e.number(),
|
|
2268
2282
|
widget_corner_radius: e.number()
|
|
2269
|
-
}),
|
|
2283
|
+
}), uo = e.object({
|
|
2270
2284
|
base_focus_color: e.string(),
|
|
2271
2285
|
base_hover_color: e.string(),
|
|
2272
2286
|
body_text: e.string(),
|
|
@@ -2289,7 +2303,7 @@ const _o = e.object({
|
|
|
2289
2303
|
}), u = e.object({
|
|
2290
2304
|
bold: e.boolean(),
|
|
2291
2305
|
size: e.number()
|
|
2292
|
-
}),
|
|
2306
|
+
}), mo = e.object({
|
|
2293
2307
|
body_text: u,
|
|
2294
2308
|
buttons_text: u,
|
|
2295
2309
|
font_url: e.string(),
|
|
@@ -2299,7 +2313,7 @@ const _o = e.object({
|
|
|
2299
2313
|
reference_text_size: e.number(),
|
|
2300
2314
|
subtitle: u,
|
|
2301
2315
|
title: u
|
|
2302
|
-
}),
|
|
2316
|
+
}), ho = e.object({
|
|
2303
2317
|
background_color: e.string(),
|
|
2304
2318
|
background_image_url: e.string(),
|
|
2305
2319
|
page_layout: e.enum(["center", "left", "right"]),
|
|
@@ -2312,33 +2326,56 @@ const _o = e.object({
|
|
|
2312
2326
|
* Optional for backwards compatibility; absent values mean "widget".
|
|
2313
2327
|
*/
|
|
2314
2328
|
logo_placement: e.enum(["widget", "chip", "none"]).optional()
|
|
2315
|
-
}),
|
|
2329
|
+
}), bo = e.object({
|
|
2316
2330
|
header_text_alignment: e.enum(["center", "left", "right"]),
|
|
2317
2331
|
logo_height: e.number(),
|
|
2318
2332
|
logo_position: e.enum(["center", "left", "none", "right"]),
|
|
2319
2333
|
logo_url: e.string(),
|
|
2320
2334
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
2321
|
-
}),
|
|
2322
|
-
borders:
|
|
2323
|
-
colors:
|
|
2335
|
+
}), fo = e.object({
|
|
2336
|
+
borders: go,
|
|
2337
|
+
colors: uo,
|
|
2324
2338
|
displayName: e.string(),
|
|
2325
|
-
fonts:
|
|
2326
|
-
page_background:
|
|
2327
|
-
widget:
|
|
2328
|
-
}),
|
|
2339
|
+
fonts: mo,
|
|
2340
|
+
page_background: ho,
|
|
2341
|
+
widget: bo
|
|
2342
|
+
}), Ln = fo.extend({
|
|
2329
2343
|
themeId: e.string()
|
|
2330
|
-
}),
|
|
2344
|
+
}), Un = e.object({
|
|
2331
2345
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
2332
2346
|
identifier_first: e.boolean().default(!0),
|
|
2333
2347
|
password_first: e.boolean().default(!1),
|
|
2334
2348
|
webauthn_platform_first_factor: e.boolean()
|
|
2335
|
-
}),
|
|
2349
|
+
}), xn = e.object({
|
|
2336
2350
|
name: e.string(),
|
|
2337
2351
|
enabled: e.boolean().optional().default(!0),
|
|
2338
2352
|
default_from_address: e.string().optional(),
|
|
2339
2353
|
credentials: e.record(e.string(), e.unknown()),
|
|
2340
2354
|
settings: e.object({}).optional()
|
|
2341
|
-
}),
|
|
2355
|
+
}), Eo = e.enum([
|
|
2356
|
+
"verify_email",
|
|
2357
|
+
"verify_email_by_code",
|
|
2358
|
+
"reset_email",
|
|
2359
|
+
"reset_email_by_code",
|
|
2360
|
+
"welcome_email",
|
|
2361
|
+
"blocked_account",
|
|
2362
|
+
"stolen_credentials",
|
|
2363
|
+
"enrollment_email",
|
|
2364
|
+
"mfa_oob_code",
|
|
2365
|
+
"change_password",
|
|
2366
|
+
"password_reset",
|
|
2367
|
+
"user_invitation"
|
|
2368
|
+
]), Fn = e.object({
|
|
2369
|
+
template: Eo,
|
|
2370
|
+
body: e.string(),
|
|
2371
|
+
from: e.string(),
|
|
2372
|
+
subject: e.string(),
|
|
2373
|
+
syntax: e.literal("liquid").default("liquid"),
|
|
2374
|
+
resultUrl: e.string().optional(),
|
|
2375
|
+
urlLifetimeInSeconds: e.number().int().nonnegative().optional(),
|
|
2376
|
+
includeEmailInRedirect: e.boolean().default(!1),
|
|
2377
|
+
enabled: e.boolean().default(!0)
|
|
2378
|
+
}), So = e.object({
|
|
2342
2379
|
// Internal primary key (ULID). Never sent to clients in the new wire format.
|
|
2343
2380
|
id: e.string(),
|
|
2344
2381
|
// Link to the login session
|
|
@@ -2351,7 +2388,7 @@ const _o = e.object({
|
|
|
2351
2388
|
idle_expires_at: e.string().optional(),
|
|
2352
2389
|
// When the token was last used.
|
|
2353
2390
|
last_exchanged_at: e.string().optional(),
|
|
2354
|
-
device:
|
|
2391
|
+
device: q,
|
|
2355
2392
|
resource_servers: e.array(
|
|
2356
2393
|
e.object({
|
|
2357
2394
|
audience: e.string(),
|
|
@@ -2372,23 +2409,23 @@ const _o = e.object({
|
|
|
2372
2409
|
// ISO of the *first* rotation. Anchors the leeway window so siblings minted
|
|
2373
2410
|
// within the window don't extend the parent's exposure.
|
|
2374
2411
|
rotated_at: e.string().optional()
|
|
2375
|
-
}),
|
|
2412
|
+
}), Pn = e.object({
|
|
2376
2413
|
// When the refresh token record was created.
|
|
2377
2414
|
created_at: e.string(),
|
|
2378
2415
|
// When the token was explicitly revoked (null = still active).
|
|
2379
2416
|
revoked_at: e.string().optional(),
|
|
2380
2417
|
// Spread in the rest of the refresh token properties.
|
|
2381
|
-
...
|
|
2382
|
-
}),
|
|
2418
|
+
...So.shape
|
|
2419
|
+
}), Mn = e.object({
|
|
2383
2420
|
to: e.string(),
|
|
2384
2421
|
message: e.string()
|
|
2385
|
-
}),
|
|
2422
|
+
}), Hn = e.object({
|
|
2386
2423
|
name: e.string(),
|
|
2387
2424
|
options: e.object({})
|
|
2388
|
-
}),
|
|
2425
|
+
}), yo = e.object({
|
|
2389
2426
|
value: e.string(),
|
|
2390
2427
|
description: e.string().optional()
|
|
2391
|
-
}),
|
|
2428
|
+
}), Ao = e.object({
|
|
2392
2429
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
2393
2430
|
enforce_policies: e.boolean().optional(),
|
|
2394
2431
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -2398,11 +2435,11 @@ const _o = e.object({
|
|
|
2398
2435
|
mtls: e.object({
|
|
2399
2436
|
bound_access_tokens: e.boolean().optional()
|
|
2400
2437
|
}).optional()
|
|
2401
|
-
}),
|
|
2438
|
+
}), Io = e.object({
|
|
2402
2439
|
id: e.string().optional(),
|
|
2403
2440
|
name: e.string(),
|
|
2404
2441
|
identifier: e.string(),
|
|
2405
|
-
scopes: e.array(
|
|
2442
|
+
scopes: e.array(yo).optional(),
|
|
2406
2443
|
signing_alg: e.string().optional(),
|
|
2407
2444
|
signing_secret: e.string().optional(),
|
|
2408
2445
|
token_lifetime: e.number().default(86400),
|
|
@@ -2410,30 +2447,30 @@ const _o = e.object({
|
|
|
2410
2447
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
2411
2448
|
allow_offline_access: e.boolean().optional(),
|
|
2412
2449
|
verificationKey: e.string().optional(),
|
|
2413
|
-
options:
|
|
2450
|
+
options: Ao.optional(),
|
|
2414
2451
|
is_system: e.boolean().optional(),
|
|
2415
2452
|
metadata: e.record(e.any()).optional()
|
|
2416
|
-
}),
|
|
2417
|
-
...
|
|
2453
|
+
}), Co = e.object({
|
|
2454
|
+
...Io.shape,
|
|
2418
2455
|
created_at: e.string().optional(),
|
|
2419
2456
|
updated_at: e.string().optional()
|
|
2420
|
-
}),
|
|
2457
|
+
}), Gn = e.array(Co), To = e.object({
|
|
2421
2458
|
role_id: e.string(),
|
|
2422
2459
|
resource_server_identifier: e.string(),
|
|
2423
2460
|
permission_name: e.string()
|
|
2424
|
-
}),
|
|
2425
|
-
...
|
|
2461
|
+
}), Oo = e.object({
|
|
2462
|
+
...To.shape,
|
|
2426
2463
|
created_at: e.string()
|
|
2427
|
-
}),
|
|
2464
|
+
}), Bn = e.array(Oo), No = e.object({
|
|
2428
2465
|
user_id: e.string(),
|
|
2429
2466
|
resource_server_identifier: e.string(),
|
|
2430
2467
|
permission_name: e.string(),
|
|
2431
2468
|
organization_id: e.string().optional()
|
|
2432
|
-
}),
|
|
2433
|
-
...
|
|
2469
|
+
}), wo = e.object({
|
|
2470
|
+
...No.shape,
|
|
2434
2471
|
tenant_id: e.string(),
|
|
2435
2472
|
created_at: e.string().optional()
|
|
2436
|
-
}),
|
|
2473
|
+
}), Wn = e.array(wo), jo = e.object({
|
|
2437
2474
|
user_id: e.string(),
|
|
2438
2475
|
resource_server_identifier: e.string(),
|
|
2439
2476
|
resource_server_name: e.string(),
|
|
@@ -2441,17 +2478,17 @@ const _o = e.object({
|
|
|
2441
2478
|
description: e.string().nullable().optional(),
|
|
2442
2479
|
created_at: e.string().optional(),
|
|
2443
2480
|
organization_id: e.string().optional()
|
|
2444
|
-
}),
|
|
2445
|
-
|
|
2446
|
-
),
|
|
2481
|
+
}), Kn = e.array(
|
|
2482
|
+
jo
|
|
2483
|
+
), Ro = e.object({
|
|
2447
2484
|
user_id: e.string(),
|
|
2448
2485
|
role_id: e.string(),
|
|
2449
2486
|
organization_id: e.string().optional()
|
|
2450
|
-
}),
|
|
2451
|
-
...
|
|
2487
|
+
}), ko = e.object({
|
|
2488
|
+
...Ro.shape,
|
|
2452
2489
|
tenant_id: e.string(),
|
|
2453
2490
|
created_at: e.string().optional()
|
|
2454
|
-
}),
|
|
2491
|
+
}), zn = e.array(ko), vo = e.object({
|
|
2455
2492
|
id: e.string().optional().openapi({
|
|
2456
2493
|
description: "The unique identifier of the role. If not provided, one will be generated."
|
|
2457
2494
|
}),
|
|
@@ -2465,13 +2502,13 @@ const _o = e.object({
|
|
|
2465
2502
|
metadata: e.record(e.any()).optional().openapi({
|
|
2466
2503
|
description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
|
|
2467
2504
|
})
|
|
2468
|
-
}),
|
|
2505
|
+
}), Do = vo.extend({
|
|
2469
2506
|
id: e.string().openapi({
|
|
2470
2507
|
description: "The unique identifier of the role"
|
|
2471
2508
|
}),
|
|
2472
2509
|
created_at: e.string().optional(),
|
|
2473
2510
|
updated_at: e.string().optional()
|
|
2474
|
-
}),
|
|
2511
|
+
}), qn = e.array(Do), Lo = e.object({
|
|
2475
2512
|
logo_url: e.string().optional().openapi({
|
|
2476
2513
|
description: "URL of the organization's logo"
|
|
2477
2514
|
}),
|
|
@@ -2483,7 +2520,7 @@ const _o = e.object({
|
|
|
2483
2520
|
description: "Page background color in hex format (e.g., #FFFFFF)"
|
|
2484
2521
|
})
|
|
2485
2522
|
}).optional()
|
|
2486
|
-
}).optional(),
|
|
2523
|
+
}).optional(), Uo = e.object({
|
|
2487
2524
|
connection_id: e.string().openapi({
|
|
2488
2525
|
description: "ID of the connection"
|
|
2489
2526
|
}),
|
|
@@ -2496,7 +2533,7 @@ const _o = e.object({
|
|
|
2496
2533
|
is_signup_enabled: e.boolean().default(!0).openapi({
|
|
2497
2534
|
description: "Whether signup is enabled for this connection"
|
|
2498
2535
|
})
|
|
2499
|
-
}),
|
|
2536
|
+
}), xo = e.object({
|
|
2500
2537
|
client_credentials: e.object({
|
|
2501
2538
|
enforce: e.boolean().default(!1).openapi({
|
|
2502
2539
|
description: "Whether to enforce token quota limits"
|
|
@@ -2508,7 +2545,7 @@ const _o = e.object({
|
|
|
2508
2545
|
description: "Maximum tokens per hour (0 = unlimited)"
|
|
2509
2546
|
})
|
|
2510
2547
|
}).optional()
|
|
2511
|
-
}).optional(),
|
|
2548
|
+
}).optional(), Fo = e.object({
|
|
2512
2549
|
id: e.string().optional(),
|
|
2513
2550
|
name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
|
|
2514
2551
|
message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
|
|
@@ -2518,31 +2555,31 @@ const _o = e.object({
|
|
|
2518
2555
|
display_name: e.string().optional().openapi({
|
|
2519
2556
|
description: "The display name of the organization"
|
|
2520
2557
|
}),
|
|
2521
|
-
branding:
|
|
2558
|
+
branding: Lo,
|
|
2522
2559
|
metadata: e.record(e.any()).default({}).optional().openapi({
|
|
2523
2560
|
description: "Custom metadata for the organization"
|
|
2524
2561
|
}),
|
|
2525
|
-
enabled_connections: e.array(
|
|
2562
|
+
enabled_connections: e.array(Uo).default([]).optional().openapi({
|
|
2526
2563
|
description: "List of enabled connections for the organization"
|
|
2527
2564
|
}),
|
|
2528
|
-
token_quota:
|
|
2529
|
-
}),
|
|
2530
|
-
...
|
|
2531
|
-
...
|
|
2565
|
+
token_quota: xo
|
|
2566
|
+
}), Vn = e.object({
|
|
2567
|
+
...Fo.shape,
|
|
2568
|
+
...a.shape,
|
|
2532
2569
|
id: e.string(),
|
|
2533
2570
|
// Override name to be lenient when reading from database (to support existing uppercase names)
|
|
2534
2571
|
name: e.string().min(1).openapi({
|
|
2535
2572
|
description: "The name of the organization"
|
|
2536
2573
|
})
|
|
2537
|
-
}),
|
|
2574
|
+
}), Po = e.object({
|
|
2538
2575
|
connection_id: e.string().openapi({
|
|
2539
2576
|
description: "ID of the tenant-level connection to enable for the org."
|
|
2540
2577
|
}),
|
|
2541
2578
|
assign_membership_on_login: e.boolean().optional().default(!1),
|
|
2542
2579
|
show_as_button: e.boolean().optional().default(!0),
|
|
2543
2580
|
is_signup_enabled: e.boolean().optional().default(!0)
|
|
2544
|
-
}),
|
|
2545
|
-
...
|
|
2581
|
+
}), Mo = e.object({
|
|
2582
|
+
...Po.shape,
|
|
2546
2583
|
// Auth0 includes the embedded connection in GET responses.
|
|
2547
2584
|
connection: e.object({
|
|
2548
2585
|
name: e.string().optional(),
|
|
@@ -2550,20 +2587,20 @@ const _o = e.object({
|
|
|
2550
2587
|
}).optional(),
|
|
2551
2588
|
created_at: e.string().optional(),
|
|
2552
2589
|
updated_at: e.string().optional()
|
|
2553
|
-
}),
|
|
2554
|
-
|
|
2555
|
-
),
|
|
2590
|
+
}), Xn = e.array(
|
|
2591
|
+
Mo
|
|
2592
|
+
), Ho = e.object({
|
|
2556
2593
|
user_id: e.string().openapi({
|
|
2557
2594
|
description: "ID of the user"
|
|
2558
2595
|
}),
|
|
2559
2596
|
organization_id: e.string().openapi({
|
|
2560
2597
|
description: "ID of the organization"
|
|
2561
2598
|
})
|
|
2562
|
-
}),
|
|
2563
|
-
...
|
|
2564
|
-
...
|
|
2599
|
+
}), Yn = e.object({
|
|
2600
|
+
...Ho.shape,
|
|
2601
|
+
...a.shape,
|
|
2565
2602
|
id: e.string()
|
|
2566
|
-
}),
|
|
2603
|
+
}), Zn = e.object({
|
|
2567
2604
|
// Session settings
|
|
2568
2605
|
idle_session_lifetime: e.number().default(72),
|
|
2569
2606
|
session_lifetime: e.number().default(168),
|
|
@@ -2663,7 +2700,7 @@ const _o = e.object({
|
|
|
2663
2700
|
message: e.string().optional()
|
|
2664
2701
|
}).optional()
|
|
2665
2702
|
}).optional()
|
|
2666
|
-
}),
|
|
2703
|
+
}), Qn = e.object({
|
|
2667
2704
|
date: e.string().openapi({
|
|
2668
2705
|
description: "Date these events occurred in ISO 8601 format",
|
|
2669
2706
|
example: "2025-12-19"
|
|
@@ -2688,10 +2725,10 @@ const _o = e.object({
|
|
|
2688
2725
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2689
2726
|
example: "2025-12-19T00:00:00.000Z"
|
|
2690
2727
|
})
|
|
2691
|
-
}),
|
|
2728
|
+
}), $n = e.number().openapi({
|
|
2692
2729
|
description: "Number of active users in the last 30 days",
|
|
2693
2730
|
example: 1234
|
|
2694
|
-
}),
|
|
2731
|
+
}), Go = e.enum([
|
|
2695
2732
|
"login",
|
|
2696
2733
|
"login-id",
|
|
2697
2734
|
"login-password",
|
|
@@ -2720,17 +2757,17 @@ const _o = e.object({
|
|
|
2720
2757
|
"custom-form",
|
|
2721
2758
|
"login-passwordless",
|
|
2722
2759
|
"mfa-login-options"
|
|
2723
|
-
]),
|
|
2760
|
+
]), Bo = e.record(e.string(), e.record(e.string(), e.string())).openapi({
|
|
2724
2761
|
type: "object",
|
|
2725
2762
|
additionalProperties: {
|
|
2726
2763
|
type: "object",
|
|
2727
2764
|
additionalProperties: { type: "string" }
|
|
2728
2765
|
}
|
|
2729
|
-
}),
|
|
2730
|
-
prompt:
|
|
2766
|
+
}), Jn = e.object({
|
|
2767
|
+
prompt: Go,
|
|
2731
2768
|
language: e.string(),
|
|
2732
|
-
custom_text:
|
|
2733
|
-
}),
|
|
2769
|
+
custom_text: Bo
|
|
2770
|
+
}), ei = {
|
|
2734
2771
|
EMAIL: "email",
|
|
2735
2772
|
SMS: "sms",
|
|
2736
2773
|
USERNAME_PASSWORD: "Username-Password-Authentication",
|
|
@@ -2746,11 +2783,11 @@ const _o = e.object({
|
|
|
2746
2783
|
WAAD: "waad",
|
|
2747
2784
|
ADFS: "adfs",
|
|
2748
2785
|
AUTH0: "auth0"
|
|
2749
|
-
},
|
|
2786
|
+
}, ti = {
|
|
2750
2787
|
DATABASE: "database",
|
|
2751
2788
|
SOCIAL: "social",
|
|
2752
2789
|
PASSWORDLESS: "passwordless"
|
|
2753
|
-
},
|
|
2790
|
+
}, Wo = e.enum([
|
|
2754
2791
|
"phone",
|
|
2755
2792
|
"totp",
|
|
2756
2793
|
"email",
|
|
@@ -2758,9 +2795,9 @@ const _o = e.object({
|
|
|
2758
2795
|
"webauthn-roaming",
|
|
2759
2796
|
"webauthn-platform",
|
|
2760
2797
|
"passkey"
|
|
2761
|
-
]),
|
|
2798
|
+
]), V = e.object({
|
|
2762
2799
|
user_id: e.string(),
|
|
2763
|
-
type:
|
|
2800
|
+
type: Wo,
|
|
2764
2801
|
// Phone-specific
|
|
2765
2802
|
phone_number: e.string().optional(),
|
|
2766
2803
|
// TOTP-specific
|
|
@@ -2775,7 +2812,7 @@ const _o = e.object({
|
|
|
2775
2812
|
// Common
|
|
2776
2813
|
confirmed: e.boolean().default(!1)
|
|
2777
2814
|
});
|
|
2778
|
-
function
|
|
2815
|
+
function X(t, o) {
|
|
2779
2816
|
t.type === "phone" && !t.phone_number && o.addIssue({
|
|
2780
2817
|
code: e.ZodIssueCode.custom,
|
|
2781
2818
|
message: "phone_number is required when type is 'phone'",
|
|
@@ -2794,32 +2831,32 @@ function z(t, o) {
|
|
|
2794
2831
|
path: ["public_key"]
|
|
2795
2832
|
}));
|
|
2796
2833
|
}
|
|
2797
|
-
const
|
|
2798
|
-
...
|
|
2834
|
+
const oi = V.superRefine(X), ni = e.object({
|
|
2835
|
+
...V.shape,
|
|
2799
2836
|
id: e.string(),
|
|
2800
2837
|
created_at: e.string(),
|
|
2801
2838
|
updated_at: e.string()
|
|
2802
|
-
}).superRefine(
|
|
2803
|
-
function
|
|
2839
|
+
}).superRefine(X);
|
|
2840
|
+
function ii(t) {
|
|
2804
2841
|
const [o, n] = t.split("|");
|
|
2805
2842
|
if (!o || !n)
|
|
2806
2843
|
throw new Error(`Invalid user_id: ${t}`);
|
|
2807
2844
|
return { connection: o, id: n };
|
|
2808
2845
|
}
|
|
2809
|
-
function
|
|
2846
|
+
function ai(t) {
|
|
2810
2847
|
const {
|
|
2811
2848
|
primary: o,
|
|
2812
2849
|
secondaries: n,
|
|
2813
2850
|
syncMethods: h = ["create", "rawCreate", "update", "remove", "delete", "set"]
|
|
2814
2851
|
} = t, S = {
|
|
2815
|
-
get(c,
|
|
2816
|
-
if (typeof
|
|
2817
|
-
return c[
|
|
2818
|
-
const d = c[
|
|
2819
|
-
return typeof d != "function" ? d : h.includes(
|
|
2852
|
+
get(c, r) {
|
|
2853
|
+
if (typeof r == "symbol")
|
|
2854
|
+
return c[r];
|
|
2855
|
+
const d = c[r];
|
|
2856
|
+
return typeof d != "function" ? d : h.includes(r) ? async (..._) => {
|
|
2820
2857
|
const y = await d.apply(c, _), g = [];
|
|
2821
2858
|
for (const s of n) {
|
|
2822
|
-
const b = s.adapter[
|
|
2859
|
+
const b = s.adapter[r];
|
|
2823
2860
|
if (typeof b != "function")
|
|
2824
2861
|
continue;
|
|
2825
2862
|
const A = (async () => {
|
|
@@ -2827,13 +2864,13 @@ function ti(t) {
|
|
|
2827
2864
|
await b.apply(s.adapter, _);
|
|
2828
2865
|
} catch (f) {
|
|
2829
2866
|
try {
|
|
2830
|
-
s.onError ? s.onError(f,
|
|
2831
|
-
`Passthrough adapter: secondary write failed for ${
|
|
2867
|
+
s.onError ? s.onError(f, r, _) : console.error(
|
|
2868
|
+
`Passthrough adapter: secondary write failed for ${r}:`,
|
|
2832
2869
|
f
|
|
2833
2870
|
);
|
|
2834
2871
|
} catch (I) {
|
|
2835
2872
|
console.error(
|
|
2836
|
-
`Passthrough adapter: onError handler threw for ${
|
|
2873
|
+
`Passthrough adapter: onError handler threw for ${r}:`,
|
|
2837
2874
|
I
|
|
2838
2875
|
);
|
|
2839
2876
|
}
|
|
@@ -2847,11 +2884,11 @@ function ti(t) {
|
|
|
2847
2884
|
};
|
|
2848
2885
|
return new Proxy(o, S);
|
|
2849
2886
|
}
|
|
2850
|
-
function
|
|
2887
|
+
function ri(t) {
|
|
2851
2888
|
return t;
|
|
2852
2889
|
}
|
|
2853
|
-
function
|
|
2854
|
-
var S, c,
|
|
2890
|
+
function si(t) {
|
|
2891
|
+
var S, c, r, d, _, y, g, s, b, A, f, I;
|
|
2855
2892
|
const o = t == null ? void 0 : t.options;
|
|
2856
2893
|
if (!o)
|
|
2857
2894
|
return {
|
|
@@ -2862,12 +2899,12 @@ function ni(t) {
|
|
|
2862
2899
|
};
|
|
2863
2900
|
const n = o.attributes;
|
|
2864
2901
|
if (n) {
|
|
2865
|
-
const
|
|
2902
|
+
const Y = ((c = (S = n.username) == null ? void 0 : S.identifier) == null ? void 0 : c.active) === !0, Z = ((d = (r = n.email) == null ? void 0 : r.identifier) == null ? void 0 : d.active) !== !1, Q = ((y = (_ = n.username) == null ? void 0 : _.validation) == null ? void 0 : y.min_length) ?? 1, $ = ((s = (g = n.username) == null ? void 0 : g.validation) == null ? void 0 : s.max_length) ?? 15;
|
|
2866
2903
|
return {
|
|
2867
|
-
usernameIdentifierActive:
|
|
2868
|
-
emailIdentifierActive:
|
|
2869
|
-
usernameMinLength:
|
|
2870
|
-
usernameMaxLength:
|
|
2904
|
+
usernameIdentifierActive: Y,
|
|
2905
|
+
emailIdentifierActive: Z,
|
|
2906
|
+
usernameMinLength: Q,
|
|
2907
|
+
usernameMaxLength: $
|
|
2871
2908
|
};
|
|
2872
2909
|
}
|
|
2873
2910
|
return {
|
|
@@ -2877,201 +2914,205 @@ function ni(t) {
|
|
|
2877
2914
|
usernameMaxLength: ((I = (f = o.validation) == null ? void 0 : f.username) == null ? void 0 : I.max) ?? 15
|
|
2878
2915
|
};
|
|
2879
2916
|
}
|
|
2880
|
-
function
|
|
2917
|
+
function li(t) {
|
|
2881
2918
|
return typeof t == "object" && t !== null && !Array.isArray(t);
|
|
2882
2919
|
}
|
|
2883
2920
|
export {
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
Ie as
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2921
|
+
Zo as Auth0ActionEnum,
|
|
2922
|
+
$t as Auth0Client,
|
|
2923
|
+
x as AuthorizationResponseMode,
|
|
2924
|
+
U as AuthorizationResponseType,
|
|
2925
|
+
F as CodeChallengeMethod,
|
|
2926
|
+
L as ComponentCategory,
|
|
2927
|
+
D as ComponentType,
|
|
2928
|
+
Qo as EmailActionEnum,
|
|
2929
|
+
_n as FORM_FIELD_TYPES,
|
|
2930
|
+
Yo as FlowActionTypeEnum,
|
|
2931
|
+
_o as GrantType,
|
|
2932
|
+
Jt as LocationInfo,
|
|
2933
|
+
Zt as LogTypes,
|
|
2934
|
+
K as LoginSessionState,
|
|
2935
|
+
De as NodeType,
|
|
2936
|
+
de as RedirectTargetEnum,
|
|
2937
|
+
ei as Strategy,
|
|
2938
|
+
ti as StrategyType,
|
|
2939
|
+
j as actionDependencySchema,
|
|
2940
|
+
k as actionInsertSchema,
|
|
2941
|
+
xe as actionNodeSchema,
|
|
2942
|
+
qo as actionSchema,
|
|
2943
|
+
R as actionSecretSchema,
|
|
2944
|
+
w as actionTriggerSchema,
|
|
2945
|
+
zo as actionUpdateSchema,
|
|
2946
|
+
J as actionVersionInsertSchema,
|
|
2947
|
+
Vo as actionVersionSchema,
|
|
2948
|
+
$n as activeUsersResponseSchema,
|
|
2949
|
+
te as actorSchema,
|
|
2950
|
+
be as addressSchema,
|
|
2951
|
+
so as attackProtectionSchema,
|
|
2952
|
+
ee as auditCategorySchema,
|
|
2953
|
+
se as auditEventInsertSchema,
|
|
2954
|
+
Xo as auditEventSchema,
|
|
2955
|
+
re as auth0ClientSchema,
|
|
2956
|
+
sn as auth0FlowInsertSchema,
|
|
2957
|
+
Ge as auth0FlowSchema,
|
|
2958
|
+
Jo as auth0QuerySchema,
|
|
2959
|
+
pe as auth0UpdateUserActionSchema,
|
|
2960
|
+
tn as auth0UserResponseSchema,
|
|
2961
|
+
Be as authParamsSchema,
|
|
2962
|
+
oi as authenticationMethodInsertSchema,
|
|
2963
|
+
ni as authenticationMethodSchema,
|
|
2964
|
+
Wo as authenticationMethodTypeSchema,
|
|
2965
|
+
v as baseUserSchema,
|
|
2966
|
+
Ct as blockComponentSchema,
|
|
2967
|
+
go as bordersSchema,
|
|
2968
|
+
ln as brandingSchema,
|
|
2969
|
+
io as breachedPasswordDetectionSchema,
|
|
2970
|
+
ao as bruteForceProtectionSchema,
|
|
2971
|
+
we as buttonComponentSchema,
|
|
2972
|
+
Ie as clientGrantInsertSchema,
|
|
2973
|
+
an as clientGrantListSchema,
|
|
2974
|
+
Ce as clientGrantSchema,
|
|
2975
|
+
Ae as clientInsertSchema,
|
|
2976
|
+
Oe as clientRegistrationTokenInsertSchema,
|
|
2977
|
+
rn as clientRegistrationTokenSchema,
|
|
2978
|
+
Te as clientRegistrationTokenTypeSchema,
|
|
2979
|
+
nn as clientSchema,
|
|
2980
|
+
Ke as codeInsertSchema,
|
|
2981
|
+
pn as codeSchema,
|
|
2982
|
+
We as codeTypeSchema,
|
|
2983
|
+
uo as colorsSchema,
|
|
2984
|
+
vt as componentMessageSchema,
|
|
2985
|
+
ve as componentSchema,
|
|
2986
|
+
qe as connectionInsertSchema,
|
|
2987
|
+
ze as connectionOptionsSchema,
|
|
2988
|
+
cn as connectionSchema,
|
|
2950
2989
|
m as coordinatesSchema,
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2990
|
+
ai as createPassthroughAdapter,
|
|
2991
|
+
ri as createWriteOnlyAdapter,
|
|
2992
|
+
Ve as customDomainInsertSchema,
|
|
2993
|
+
Ye as customDomainSchema,
|
|
2994
|
+
dn as customDomainWithTenantIdSchema,
|
|
2995
|
+
Jn as customTextEntrySchema,
|
|
2996
|
+
Bo as customTextSchema,
|
|
2997
|
+
Qn as dailyStatsSchema,
|
|
2998
|
+
xn as emailProviderSchema,
|
|
2999
|
+
Eo as emailTemplateNameSchema,
|
|
3000
|
+
Fn as emailTemplateSchema,
|
|
3001
|
+
le as emailVerificationRulesSchema,
|
|
3002
|
+
ce as emailVerifyActionSchema,
|
|
3003
|
+
He as endingSchema,
|
|
3004
|
+
Ot as fieldComponentSchema,
|
|
3005
|
+
ge as flowActionStepSchema,
|
|
3006
|
+
ue as flowInsertSchema,
|
|
3007
|
+
$o as flowSchema,
|
|
3008
|
+
Re as flowsFieldComponentSchema,
|
|
3009
|
+
Ue as flowsFlowNodeSchema,
|
|
3010
|
+
Le as flowsStepNodeSchema,
|
|
2970
3011
|
u as fontDetailsSchema,
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3012
|
+
mo as fontsSchema,
|
|
3013
|
+
gn as formControlSchema,
|
|
3014
|
+
kt as formInsertSchema,
|
|
3015
|
+
P as formNodeComponentDefinition,
|
|
3016
|
+
Rt as formNodeSchema,
|
|
3017
|
+
un as formSchema,
|
|
3018
|
+
ke as genericComponentSchema,
|
|
3019
|
+
Fe as genericNodeSchema,
|
|
3020
|
+
si as getConnectionIdentifierConfig,
|
|
3021
|
+
Bt as hookCodeInsertSchema,
|
|
3022
|
+
An as hookCodeSchema,
|
|
3023
|
+
Sn as hookInsertSchema,
|
|
3024
|
+
yn as hookSchema,
|
|
3025
|
+
W as hookTemplateId,
|
|
3026
|
+
En as hookTemplates,
|
|
3027
|
+
he as identitySchema,
|
|
3028
|
+
zt as inviteInsertSchema,
|
|
3029
|
+
In as inviteSchema,
|
|
3030
|
+
Kt as inviteeSchema,
|
|
3031
|
+
Wt as inviterSchema,
|
|
3032
|
+
hn as isBlockComponent,
|
|
3033
|
+
fn as isFieldComponent,
|
|
3034
|
+
li as isPlainObject,
|
|
3035
|
+
bn as isWidgetComponent,
|
|
3036
|
+
Cn as jwksKeySchema,
|
|
3037
|
+
qt as jwksSchema,
|
|
3038
|
+
je as legalComponentSchema,
|
|
3039
|
+
ae as locationInfoSchema,
|
|
3040
|
+
eo as logInsertSchema,
|
|
3041
|
+
Nn as logSchema,
|
|
3042
|
+
oo as logStreamFilterSchema,
|
|
3043
|
+
no as logStreamInsertSchema,
|
|
3044
|
+
wn as logStreamSchema,
|
|
3045
|
+
z as logStreamStatusSchema,
|
|
3046
|
+
to as logStreamTypeSchema,
|
|
3006
3047
|
Xt as loginSessionAuthStrategySchema,
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3048
|
+
Yt as loginSessionInsertSchema,
|
|
3049
|
+
On as loginSessionSchema,
|
|
3050
|
+
Vt as loginSessionStateSchema,
|
|
3051
|
+
Pe as nodeSchema,
|
|
3052
|
+
Tn as openIDConfigurationSchema,
|
|
3053
|
+
Lo as organizationBrandingSchema,
|
|
3054
|
+
Po as organizationConnectionInsertSchema,
|
|
3055
|
+
Xn as organizationConnectionListSchema,
|
|
3056
|
+
Mo as organizationConnectionSchema,
|
|
3057
|
+
Uo as organizationEnabledConnectionSchema,
|
|
3058
|
+
Fo as organizationInsertSchema,
|
|
3059
|
+
Vn as organizationSchema,
|
|
3060
|
+
xo as organizationTokenQuotaSchema,
|
|
3061
|
+
ho as pageBackgroundSchema,
|
|
3062
|
+
ii as parseUserId,
|
|
3063
|
+
lo as passwordInsertSchema,
|
|
3064
|
+
jn as passwordSchema,
|
|
3065
|
+
me as profileDataSchema,
|
|
3066
|
+
Go as promptScreenSchema,
|
|
3067
|
+
Un as promptSettingSchema,
|
|
3068
|
+
_e as redirectActionSchema,
|
|
3069
|
+
So as refreshTokenInsertSchema,
|
|
3070
|
+
Pn as refreshTokenSchema,
|
|
3071
|
+
ne as requestContextSchema,
|
|
3072
|
+
Io as resourceServerInsertSchema,
|
|
3073
|
+
Gn as resourceServerListSchema,
|
|
3074
|
+
Ao as resourceServerOptionsSchema,
|
|
3075
|
+
Co as resourceServerSchema,
|
|
3076
|
+
yo as resourceServerScopeSchema,
|
|
3077
|
+
ie as responseContextSchema,
|
|
3078
|
+
Ne as richTextComponentSchema,
|
|
3079
|
+
vo as roleInsertSchema,
|
|
3080
|
+
qn as roleListSchema,
|
|
3081
|
+
To as rolePermissionInsertSchema,
|
|
3082
|
+
Bn as rolePermissionListSchema,
|
|
3083
|
+
Oo as rolePermissionSchema,
|
|
3084
|
+
Do as roleSchema,
|
|
3085
|
+
Dt as screenLinkSchema,
|
|
3086
|
+
po as sessionInsertSchema,
|
|
3087
|
+
Rn as sessionSchema,
|
|
3088
|
+
kn as signingKeySchema,
|
|
3089
|
+
Hn as smsProviderSchema,
|
|
3090
|
+
Mn as smsSendParamsSchema,
|
|
3091
|
+
Me as startSchema,
|
|
3092
|
+
ro as suspiciousIpThrottlingSchema,
|
|
3093
|
+
oe as targetSchema,
|
|
3094
|
+
co as tenantInsertSchema,
|
|
3095
|
+
vn as tenantSchema,
|
|
3096
|
+
Zn as tenantSettingsSchema,
|
|
3097
|
+
fo as themeInsertSchema,
|
|
3098
|
+
Ln as themeSchema,
|
|
3099
|
+
Dn as tokenResponseSchema,
|
|
3100
|
+
en as totalsSchema,
|
|
3101
|
+
mn as uiScreenSchema,
|
|
3102
|
+
fe as userInsertSchema,
|
|
3103
|
+
Ho as userOrganizationInsertSchema,
|
|
3104
|
+
Yn as userOrganizationSchema,
|
|
3105
|
+
No as userPermissionInsertSchema,
|
|
3106
|
+
Wn as userPermissionListSchema,
|
|
3107
|
+
wo as userPermissionSchema,
|
|
3108
|
+
Kn as userPermissionWithDetailsListSchema,
|
|
3109
|
+
jo as userPermissionWithDetailsSchema,
|
|
3110
|
+
on as userResponseSchema,
|
|
3111
|
+
Ro as userRoleInsertSchema,
|
|
3112
|
+
zn as userRoleListSchema,
|
|
3113
|
+
ko as userRoleSchema,
|
|
3114
|
+
Ee as userSchema,
|
|
3074
3115
|
Xe as verificationMethodsSchema,
|
|
3075
|
-
|
|
3076
|
-
|
|
3116
|
+
Tt as widgetComponentSchema,
|
|
3117
|
+
bo as widgetSchema
|
|
3077
3118
|
};
|