@authhero/adapter-interfaces 0.109.0 → 0.111.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 +1811 -156
- package/dist/adapter-interfaces.mjs +448 -344
- package/package.json +1 -1
|
@@ -2,6 +2,1001 @@
|
|
|
2
2
|
|
|
3
3
|
import { z } from '@hono/zod-openapi';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Flow action types supported by the system (Auth0 compatible)
|
|
7
|
+
* For now we support AUTH0, EMAIL, and REDIRECT types
|
|
8
|
+
*/
|
|
9
|
+
export declare const FlowActionTypeEnum: z.ZodEnum<[
|
|
10
|
+
"AUTH0",
|
|
11
|
+
"EMAIL",
|
|
12
|
+
"REDIRECT"
|
|
13
|
+
]>;
|
|
14
|
+
export type FlowActionType = z.infer<typeof FlowActionTypeEnum>;
|
|
15
|
+
/**
|
|
16
|
+
* AUTH0 action operations
|
|
17
|
+
*/
|
|
18
|
+
export declare const Auth0ActionEnum: z.ZodEnum<[
|
|
19
|
+
"CREATE_USER",
|
|
20
|
+
"GET_USER",
|
|
21
|
+
"UPDATE_USER",
|
|
22
|
+
"SEND_REQUEST",
|
|
23
|
+
"SEND_EMAIL"
|
|
24
|
+
]>;
|
|
25
|
+
/**
|
|
26
|
+
* EMAIL action operations
|
|
27
|
+
*/
|
|
28
|
+
export declare const EmailActionEnum: z.ZodEnum<[
|
|
29
|
+
"VERIFY_EMAIL"
|
|
30
|
+
]>;
|
|
31
|
+
/**
|
|
32
|
+
* Email verification rules schema
|
|
33
|
+
*/
|
|
34
|
+
export declare const emailVerificationRulesSchema: z.ZodObject<{
|
|
35
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
40
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
require_mx_record?: boolean | undefined;
|
|
43
|
+
block_aliases?: boolean | undefined;
|
|
44
|
+
block_free_emails?: boolean | undefined;
|
|
45
|
+
block_disposable_emails?: boolean | undefined;
|
|
46
|
+
blocklist?: string[] | undefined;
|
|
47
|
+
allowlist?: string[] | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
require_mx_record?: boolean | undefined;
|
|
50
|
+
block_aliases?: boolean | undefined;
|
|
51
|
+
block_free_emails?: boolean | undefined;
|
|
52
|
+
block_disposable_emails?: boolean | undefined;
|
|
53
|
+
blocklist?: string[] | undefined;
|
|
54
|
+
allowlist?: string[] | undefined;
|
|
55
|
+
}>;
|
|
56
|
+
export type EmailVerificationRules = z.infer<typeof emailVerificationRulesSchema>;
|
|
57
|
+
/**
|
|
58
|
+
* AUTH0 UPDATE_USER action step
|
|
59
|
+
*/
|
|
60
|
+
export declare const auth0UpdateUserActionSchema: z.ZodObject<{
|
|
61
|
+
id: z.ZodString;
|
|
62
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
63
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
64
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
65
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
+
params: z.ZodObject<{
|
|
68
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
69
|
+
user_id: z.ZodString;
|
|
70
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
user_id: string;
|
|
73
|
+
changes: Record<string, any>;
|
|
74
|
+
connection_id?: string | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
user_id: string;
|
|
77
|
+
changes: Record<string, any>;
|
|
78
|
+
connection_id?: string | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
params: {
|
|
82
|
+
user_id: string;
|
|
83
|
+
changes: Record<string, any>;
|
|
84
|
+
connection_id?: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
type: "AUTH0";
|
|
87
|
+
id: string;
|
|
88
|
+
action: "UPDATE_USER";
|
|
89
|
+
alias?: string | undefined;
|
|
90
|
+
allow_failure?: boolean | undefined;
|
|
91
|
+
mask_output?: boolean | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
params: {
|
|
94
|
+
user_id: string;
|
|
95
|
+
changes: Record<string, any>;
|
|
96
|
+
connection_id?: string | undefined;
|
|
97
|
+
};
|
|
98
|
+
type: "AUTH0";
|
|
99
|
+
id: string;
|
|
100
|
+
action: "UPDATE_USER";
|
|
101
|
+
alias?: string | undefined;
|
|
102
|
+
allow_failure?: boolean | undefined;
|
|
103
|
+
mask_output?: boolean | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
export type Auth0UpdateUserAction = z.infer<typeof auth0UpdateUserActionSchema>;
|
|
106
|
+
/**
|
|
107
|
+
* EMAIL VERIFY_EMAIL action step
|
|
108
|
+
*/
|
|
109
|
+
export declare const emailVerifyActionSchema: z.ZodObject<{
|
|
110
|
+
id: z.ZodString;
|
|
111
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
112
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
113
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
114
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
params: z.ZodObject<{
|
|
117
|
+
email: z.ZodString;
|
|
118
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
119
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
require_mx_record?: boolean | undefined;
|
|
127
|
+
block_aliases?: boolean | undefined;
|
|
128
|
+
block_free_emails?: boolean | undefined;
|
|
129
|
+
block_disposable_emails?: boolean | undefined;
|
|
130
|
+
blocklist?: string[] | undefined;
|
|
131
|
+
allowlist?: string[] | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
require_mx_record?: boolean | undefined;
|
|
134
|
+
block_aliases?: boolean | undefined;
|
|
135
|
+
block_free_emails?: boolean | undefined;
|
|
136
|
+
block_disposable_emails?: boolean | undefined;
|
|
137
|
+
blocklist?: string[] | undefined;
|
|
138
|
+
allowlist?: string[] | undefined;
|
|
139
|
+
}>>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
email: string;
|
|
142
|
+
rules?: {
|
|
143
|
+
require_mx_record?: boolean | undefined;
|
|
144
|
+
block_aliases?: boolean | undefined;
|
|
145
|
+
block_free_emails?: boolean | undefined;
|
|
146
|
+
block_disposable_emails?: boolean | undefined;
|
|
147
|
+
blocklist?: string[] | undefined;
|
|
148
|
+
allowlist?: string[] | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
email: string;
|
|
152
|
+
rules?: {
|
|
153
|
+
require_mx_record?: boolean | undefined;
|
|
154
|
+
block_aliases?: boolean | undefined;
|
|
155
|
+
block_free_emails?: boolean | undefined;
|
|
156
|
+
block_disposable_emails?: boolean | undefined;
|
|
157
|
+
blocklist?: string[] | undefined;
|
|
158
|
+
allowlist?: string[] | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
}>;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
params: {
|
|
163
|
+
email: string;
|
|
164
|
+
rules?: {
|
|
165
|
+
require_mx_record?: boolean | undefined;
|
|
166
|
+
block_aliases?: boolean | undefined;
|
|
167
|
+
block_free_emails?: boolean | undefined;
|
|
168
|
+
block_disposable_emails?: boolean | undefined;
|
|
169
|
+
blocklist?: string[] | undefined;
|
|
170
|
+
allowlist?: string[] | undefined;
|
|
171
|
+
} | undefined;
|
|
172
|
+
};
|
|
173
|
+
type: "EMAIL";
|
|
174
|
+
id: string;
|
|
175
|
+
action: "VERIFY_EMAIL";
|
|
176
|
+
alias?: string | undefined;
|
|
177
|
+
allow_failure?: boolean | undefined;
|
|
178
|
+
mask_output?: boolean | undefined;
|
|
179
|
+
}, {
|
|
180
|
+
params: {
|
|
181
|
+
email: string;
|
|
182
|
+
rules?: {
|
|
183
|
+
require_mx_record?: boolean | undefined;
|
|
184
|
+
block_aliases?: boolean | undefined;
|
|
185
|
+
block_free_emails?: boolean | undefined;
|
|
186
|
+
block_disposable_emails?: boolean | undefined;
|
|
187
|
+
blocklist?: string[] | undefined;
|
|
188
|
+
allowlist?: string[] | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
};
|
|
191
|
+
type: "EMAIL";
|
|
192
|
+
id: string;
|
|
193
|
+
action: "VERIFY_EMAIL";
|
|
194
|
+
alias?: string | undefined;
|
|
195
|
+
allow_failure?: boolean | undefined;
|
|
196
|
+
mask_output?: boolean | undefined;
|
|
197
|
+
}>;
|
|
198
|
+
export type EmailVerifyAction = z.infer<typeof emailVerifyActionSchema>;
|
|
199
|
+
/**
|
|
200
|
+
* Pre-defined redirect targets
|
|
201
|
+
*/
|
|
202
|
+
export declare const RedirectTargetEnum: z.ZodEnum<[
|
|
203
|
+
"change-email",
|
|
204
|
+
"account",
|
|
205
|
+
"custom"
|
|
206
|
+
]>;
|
|
207
|
+
export type RedirectTarget = z.infer<typeof RedirectTargetEnum>;
|
|
208
|
+
/**
|
|
209
|
+
* REDIRECT action step - redirects user to a predefined or custom URL
|
|
210
|
+
*/
|
|
211
|
+
export declare const redirectActionSchema: z.ZodObject<{
|
|
212
|
+
id: z.ZodString;
|
|
213
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
214
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
215
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
216
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
params: z.ZodObject<{
|
|
219
|
+
target: z.ZodEnum<[
|
|
220
|
+
"change-email",
|
|
221
|
+
"account",
|
|
222
|
+
"custom"
|
|
223
|
+
]>;
|
|
224
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
target: "custom" | "change-email" | "account";
|
|
227
|
+
custom_url?: string | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
target: "custom" | "change-email" | "account";
|
|
230
|
+
custom_url?: string | undefined;
|
|
231
|
+
}>;
|
|
232
|
+
}, "strip", z.ZodTypeAny, {
|
|
233
|
+
params: {
|
|
234
|
+
target: "custom" | "change-email" | "account";
|
|
235
|
+
custom_url?: string | undefined;
|
|
236
|
+
};
|
|
237
|
+
type: "REDIRECT";
|
|
238
|
+
id: string;
|
|
239
|
+
action: "REDIRECT_USER";
|
|
240
|
+
alias?: string | undefined;
|
|
241
|
+
allow_failure?: boolean | undefined;
|
|
242
|
+
mask_output?: boolean | undefined;
|
|
243
|
+
}, {
|
|
244
|
+
params: {
|
|
245
|
+
target: "custom" | "change-email" | "account";
|
|
246
|
+
custom_url?: string | undefined;
|
|
247
|
+
};
|
|
248
|
+
type: "REDIRECT";
|
|
249
|
+
id: string;
|
|
250
|
+
action: "REDIRECT_USER";
|
|
251
|
+
alias?: string | undefined;
|
|
252
|
+
allow_failure?: boolean | undefined;
|
|
253
|
+
mask_output?: boolean | undefined;
|
|
254
|
+
}>;
|
|
255
|
+
export type RedirectAction = z.infer<typeof redirectActionSchema>;
|
|
256
|
+
/**
|
|
257
|
+
* Union of all supported action steps
|
|
258
|
+
*/
|
|
259
|
+
export declare const flowActionStepSchema: z.ZodUnion<[
|
|
260
|
+
z.ZodObject<{
|
|
261
|
+
id: z.ZodString;
|
|
262
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
263
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
264
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
265
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
266
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
+
params: z.ZodObject<{
|
|
268
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
269
|
+
user_id: z.ZodString;
|
|
270
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
271
|
+
}, "strip", z.ZodTypeAny, {
|
|
272
|
+
user_id: string;
|
|
273
|
+
changes: Record<string, any>;
|
|
274
|
+
connection_id?: string | undefined;
|
|
275
|
+
}, {
|
|
276
|
+
user_id: string;
|
|
277
|
+
changes: Record<string, any>;
|
|
278
|
+
connection_id?: string | undefined;
|
|
279
|
+
}>;
|
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
params: {
|
|
282
|
+
user_id: string;
|
|
283
|
+
changes: Record<string, any>;
|
|
284
|
+
connection_id?: string | undefined;
|
|
285
|
+
};
|
|
286
|
+
type: "AUTH0";
|
|
287
|
+
id: string;
|
|
288
|
+
action: "UPDATE_USER";
|
|
289
|
+
alias?: string | undefined;
|
|
290
|
+
allow_failure?: boolean | undefined;
|
|
291
|
+
mask_output?: boolean | undefined;
|
|
292
|
+
}, {
|
|
293
|
+
params: {
|
|
294
|
+
user_id: string;
|
|
295
|
+
changes: Record<string, any>;
|
|
296
|
+
connection_id?: string | undefined;
|
|
297
|
+
};
|
|
298
|
+
type: "AUTH0";
|
|
299
|
+
id: string;
|
|
300
|
+
action: "UPDATE_USER";
|
|
301
|
+
alias?: string | undefined;
|
|
302
|
+
allow_failure?: boolean | undefined;
|
|
303
|
+
mask_output?: boolean | undefined;
|
|
304
|
+
}>,
|
|
305
|
+
z.ZodObject<{
|
|
306
|
+
id: z.ZodString;
|
|
307
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
308
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
309
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
310
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
311
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
312
|
+
params: z.ZodObject<{
|
|
313
|
+
email: z.ZodString;
|
|
314
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
315
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
316
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
318
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
319
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
320
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
require_mx_record?: boolean | undefined;
|
|
323
|
+
block_aliases?: boolean | undefined;
|
|
324
|
+
block_free_emails?: boolean | undefined;
|
|
325
|
+
block_disposable_emails?: boolean | undefined;
|
|
326
|
+
blocklist?: string[] | undefined;
|
|
327
|
+
allowlist?: string[] | undefined;
|
|
328
|
+
}, {
|
|
329
|
+
require_mx_record?: boolean | undefined;
|
|
330
|
+
block_aliases?: boolean | undefined;
|
|
331
|
+
block_free_emails?: boolean | undefined;
|
|
332
|
+
block_disposable_emails?: boolean | undefined;
|
|
333
|
+
blocklist?: string[] | undefined;
|
|
334
|
+
allowlist?: string[] | undefined;
|
|
335
|
+
}>>;
|
|
336
|
+
}, "strip", z.ZodTypeAny, {
|
|
337
|
+
email: string;
|
|
338
|
+
rules?: {
|
|
339
|
+
require_mx_record?: boolean | undefined;
|
|
340
|
+
block_aliases?: boolean | undefined;
|
|
341
|
+
block_free_emails?: boolean | undefined;
|
|
342
|
+
block_disposable_emails?: boolean | undefined;
|
|
343
|
+
blocklist?: string[] | undefined;
|
|
344
|
+
allowlist?: string[] | undefined;
|
|
345
|
+
} | undefined;
|
|
346
|
+
}, {
|
|
347
|
+
email: string;
|
|
348
|
+
rules?: {
|
|
349
|
+
require_mx_record?: boolean | undefined;
|
|
350
|
+
block_aliases?: boolean | undefined;
|
|
351
|
+
block_free_emails?: boolean | undefined;
|
|
352
|
+
block_disposable_emails?: boolean | undefined;
|
|
353
|
+
blocklist?: string[] | undefined;
|
|
354
|
+
allowlist?: string[] | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
}>;
|
|
357
|
+
}, "strip", z.ZodTypeAny, {
|
|
358
|
+
params: {
|
|
359
|
+
email: string;
|
|
360
|
+
rules?: {
|
|
361
|
+
require_mx_record?: boolean | undefined;
|
|
362
|
+
block_aliases?: boolean | undefined;
|
|
363
|
+
block_free_emails?: boolean | undefined;
|
|
364
|
+
block_disposable_emails?: boolean | undefined;
|
|
365
|
+
blocklist?: string[] | undefined;
|
|
366
|
+
allowlist?: string[] | undefined;
|
|
367
|
+
} | undefined;
|
|
368
|
+
};
|
|
369
|
+
type: "EMAIL";
|
|
370
|
+
id: string;
|
|
371
|
+
action: "VERIFY_EMAIL";
|
|
372
|
+
alias?: string | undefined;
|
|
373
|
+
allow_failure?: boolean | undefined;
|
|
374
|
+
mask_output?: boolean | undefined;
|
|
375
|
+
}, {
|
|
376
|
+
params: {
|
|
377
|
+
email: string;
|
|
378
|
+
rules?: {
|
|
379
|
+
require_mx_record?: boolean | undefined;
|
|
380
|
+
block_aliases?: boolean | undefined;
|
|
381
|
+
block_free_emails?: boolean | undefined;
|
|
382
|
+
block_disposable_emails?: boolean | undefined;
|
|
383
|
+
blocklist?: string[] | undefined;
|
|
384
|
+
allowlist?: string[] | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
};
|
|
387
|
+
type: "EMAIL";
|
|
388
|
+
id: string;
|
|
389
|
+
action: "VERIFY_EMAIL";
|
|
390
|
+
alias?: string | undefined;
|
|
391
|
+
allow_failure?: boolean | undefined;
|
|
392
|
+
mask_output?: boolean | undefined;
|
|
393
|
+
}>,
|
|
394
|
+
z.ZodObject<{
|
|
395
|
+
id: z.ZodString;
|
|
396
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
397
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
398
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
399
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
400
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
401
|
+
params: z.ZodObject<{
|
|
402
|
+
target: z.ZodEnum<[
|
|
403
|
+
"change-email",
|
|
404
|
+
"account",
|
|
405
|
+
"custom"
|
|
406
|
+
]>;
|
|
407
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
target: "custom" | "change-email" | "account";
|
|
410
|
+
custom_url?: string | undefined;
|
|
411
|
+
}, {
|
|
412
|
+
target: "custom" | "change-email" | "account";
|
|
413
|
+
custom_url?: string | undefined;
|
|
414
|
+
}>;
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
416
|
+
params: {
|
|
417
|
+
target: "custom" | "change-email" | "account";
|
|
418
|
+
custom_url?: string | undefined;
|
|
419
|
+
};
|
|
420
|
+
type: "REDIRECT";
|
|
421
|
+
id: string;
|
|
422
|
+
action: "REDIRECT_USER";
|
|
423
|
+
alias?: string | undefined;
|
|
424
|
+
allow_failure?: boolean | undefined;
|
|
425
|
+
mask_output?: boolean | undefined;
|
|
426
|
+
}, {
|
|
427
|
+
params: {
|
|
428
|
+
target: "custom" | "change-email" | "account";
|
|
429
|
+
custom_url?: string | undefined;
|
|
430
|
+
};
|
|
431
|
+
type: "REDIRECT";
|
|
432
|
+
id: string;
|
|
433
|
+
action: "REDIRECT_USER";
|
|
434
|
+
alias?: string | undefined;
|
|
435
|
+
allow_failure?: boolean | undefined;
|
|
436
|
+
mask_output?: boolean | undefined;
|
|
437
|
+
}>
|
|
438
|
+
]>;
|
|
439
|
+
export type FlowActionStep = z.infer<typeof flowActionStepSchema>;
|
|
440
|
+
/**
|
|
441
|
+
* Schema for creating a flow
|
|
442
|
+
*/
|
|
443
|
+
export declare const flowInsertSchema: z.ZodObject<{
|
|
444
|
+
name: z.ZodString;
|
|
445
|
+
actions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<[
|
|
446
|
+
z.ZodObject<{
|
|
447
|
+
id: z.ZodString;
|
|
448
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
449
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
450
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
451
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
452
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
453
|
+
params: z.ZodObject<{
|
|
454
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
455
|
+
user_id: z.ZodString;
|
|
456
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
457
|
+
}, "strip", z.ZodTypeAny, {
|
|
458
|
+
user_id: string;
|
|
459
|
+
changes: Record<string, any>;
|
|
460
|
+
connection_id?: string | undefined;
|
|
461
|
+
}, {
|
|
462
|
+
user_id: string;
|
|
463
|
+
changes: Record<string, any>;
|
|
464
|
+
connection_id?: string | undefined;
|
|
465
|
+
}>;
|
|
466
|
+
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
params: {
|
|
468
|
+
user_id: string;
|
|
469
|
+
changes: Record<string, any>;
|
|
470
|
+
connection_id?: string | undefined;
|
|
471
|
+
};
|
|
472
|
+
type: "AUTH0";
|
|
473
|
+
id: string;
|
|
474
|
+
action: "UPDATE_USER";
|
|
475
|
+
alias?: string | undefined;
|
|
476
|
+
allow_failure?: boolean | undefined;
|
|
477
|
+
mask_output?: boolean | undefined;
|
|
478
|
+
}, {
|
|
479
|
+
params: {
|
|
480
|
+
user_id: string;
|
|
481
|
+
changes: Record<string, any>;
|
|
482
|
+
connection_id?: string | undefined;
|
|
483
|
+
};
|
|
484
|
+
type: "AUTH0";
|
|
485
|
+
id: string;
|
|
486
|
+
action: "UPDATE_USER";
|
|
487
|
+
alias?: string | undefined;
|
|
488
|
+
allow_failure?: boolean | undefined;
|
|
489
|
+
mask_output?: boolean | undefined;
|
|
490
|
+
}>,
|
|
491
|
+
z.ZodObject<{
|
|
492
|
+
id: z.ZodString;
|
|
493
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
494
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
495
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
496
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
497
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
498
|
+
params: z.ZodObject<{
|
|
499
|
+
email: z.ZodString;
|
|
500
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
501
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
502
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
503
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
504
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
505
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
506
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
507
|
+
}, "strip", z.ZodTypeAny, {
|
|
508
|
+
require_mx_record?: boolean | undefined;
|
|
509
|
+
block_aliases?: boolean | undefined;
|
|
510
|
+
block_free_emails?: boolean | undefined;
|
|
511
|
+
block_disposable_emails?: boolean | undefined;
|
|
512
|
+
blocklist?: string[] | undefined;
|
|
513
|
+
allowlist?: string[] | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
require_mx_record?: boolean | undefined;
|
|
516
|
+
block_aliases?: boolean | undefined;
|
|
517
|
+
block_free_emails?: boolean | undefined;
|
|
518
|
+
block_disposable_emails?: boolean | undefined;
|
|
519
|
+
blocklist?: string[] | undefined;
|
|
520
|
+
allowlist?: string[] | undefined;
|
|
521
|
+
}>>;
|
|
522
|
+
}, "strip", z.ZodTypeAny, {
|
|
523
|
+
email: string;
|
|
524
|
+
rules?: {
|
|
525
|
+
require_mx_record?: boolean | undefined;
|
|
526
|
+
block_aliases?: boolean | undefined;
|
|
527
|
+
block_free_emails?: boolean | undefined;
|
|
528
|
+
block_disposable_emails?: boolean | undefined;
|
|
529
|
+
blocklist?: string[] | undefined;
|
|
530
|
+
allowlist?: string[] | undefined;
|
|
531
|
+
} | undefined;
|
|
532
|
+
}, {
|
|
533
|
+
email: string;
|
|
534
|
+
rules?: {
|
|
535
|
+
require_mx_record?: boolean | undefined;
|
|
536
|
+
block_aliases?: boolean | undefined;
|
|
537
|
+
block_free_emails?: boolean | undefined;
|
|
538
|
+
block_disposable_emails?: boolean | undefined;
|
|
539
|
+
blocklist?: string[] | undefined;
|
|
540
|
+
allowlist?: string[] | undefined;
|
|
541
|
+
} | undefined;
|
|
542
|
+
}>;
|
|
543
|
+
}, "strip", z.ZodTypeAny, {
|
|
544
|
+
params: {
|
|
545
|
+
email: string;
|
|
546
|
+
rules?: {
|
|
547
|
+
require_mx_record?: boolean | undefined;
|
|
548
|
+
block_aliases?: boolean | undefined;
|
|
549
|
+
block_free_emails?: boolean | undefined;
|
|
550
|
+
block_disposable_emails?: boolean | undefined;
|
|
551
|
+
blocklist?: string[] | undefined;
|
|
552
|
+
allowlist?: string[] | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
};
|
|
555
|
+
type: "EMAIL";
|
|
556
|
+
id: string;
|
|
557
|
+
action: "VERIFY_EMAIL";
|
|
558
|
+
alias?: string | undefined;
|
|
559
|
+
allow_failure?: boolean | undefined;
|
|
560
|
+
mask_output?: boolean | undefined;
|
|
561
|
+
}, {
|
|
562
|
+
params: {
|
|
563
|
+
email: string;
|
|
564
|
+
rules?: {
|
|
565
|
+
require_mx_record?: boolean | undefined;
|
|
566
|
+
block_aliases?: boolean | undefined;
|
|
567
|
+
block_free_emails?: boolean | undefined;
|
|
568
|
+
block_disposable_emails?: boolean | undefined;
|
|
569
|
+
blocklist?: string[] | undefined;
|
|
570
|
+
allowlist?: string[] | undefined;
|
|
571
|
+
} | undefined;
|
|
572
|
+
};
|
|
573
|
+
type: "EMAIL";
|
|
574
|
+
id: string;
|
|
575
|
+
action: "VERIFY_EMAIL";
|
|
576
|
+
alias?: string | undefined;
|
|
577
|
+
allow_failure?: boolean | undefined;
|
|
578
|
+
mask_output?: boolean | undefined;
|
|
579
|
+
}>,
|
|
580
|
+
z.ZodObject<{
|
|
581
|
+
id: z.ZodString;
|
|
582
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
583
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
584
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
585
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
586
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
587
|
+
params: z.ZodObject<{
|
|
588
|
+
target: z.ZodEnum<[
|
|
589
|
+
"change-email",
|
|
590
|
+
"account",
|
|
591
|
+
"custom"
|
|
592
|
+
]>;
|
|
593
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, "strip", z.ZodTypeAny, {
|
|
595
|
+
target: "custom" | "change-email" | "account";
|
|
596
|
+
custom_url?: string | undefined;
|
|
597
|
+
}, {
|
|
598
|
+
target: "custom" | "change-email" | "account";
|
|
599
|
+
custom_url?: string | undefined;
|
|
600
|
+
}>;
|
|
601
|
+
}, "strip", z.ZodTypeAny, {
|
|
602
|
+
params: {
|
|
603
|
+
target: "custom" | "change-email" | "account";
|
|
604
|
+
custom_url?: string | undefined;
|
|
605
|
+
};
|
|
606
|
+
type: "REDIRECT";
|
|
607
|
+
id: string;
|
|
608
|
+
action: "REDIRECT_USER";
|
|
609
|
+
alias?: string | undefined;
|
|
610
|
+
allow_failure?: boolean | undefined;
|
|
611
|
+
mask_output?: boolean | undefined;
|
|
612
|
+
}, {
|
|
613
|
+
params: {
|
|
614
|
+
target: "custom" | "change-email" | "account";
|
|
615
|
+
custom_url?: string | undefined;
|
|
616
|
+
};
|
|
617
|
+
type: "REDIRECT";
|
|
618
|
+
id: string;
|
|
619
|
+
action: "REDIRECT_USER";
|
|
620
|
+
alias?: string | undefined;
|
|
621
|
+
allow_failure?: boolean | undefined;
|
|
622
|
+
mask_output?: boolean | undefined;
|
|
623
|
+
}>
|
|
624
|
+
]>, "many">>>;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
name: string;
|
|
627
|
+
actions: ({
|
|
628
|
+
params: {
|
|
629
|
+
user_id: string;
|
|
630
|
+
changes: Record<string, any>;
|
|
631
|
+
connection_id?: string | undefined;
|
|
632
|
+
};
|
|
633
|
+
type: "AUTH0";
|
|
634
|
+
id: string;
|
|
635
|
+
action: "UPDATE_USER";
|
|
636
|
+
alias?: string | undefined;
|
|
637
|
+
allow_failure?: boolean | undefined;
|
|
638
|
+
mask_output?: boolean | undefined;
|
|
639
|
+
} | {
|
|
640
|
+
params: {
|
|
641
|
+
email: string;
|
|
642
|
+
rules?: {
|
|
643
|
+
require_mx_record?: boolean | undefined;
|
|
644
|
+
block_aliases?: boolean | undefined;
|
|
645
|
+
block_free_emails?: boolean | undefined;
|
|
646
|
+
block_disposable_emails?: boolean | undefined;
|
|
647
|
+
blocklist?: string[] | undefined;
|
|
648
|
+
allowlist?: string[] | undefined;
|
|
649
|
+
} | undefined;
|
|
650
|
+
};
|
|
651
|
+
type: "EMAIL";
|
|
652
|
+
id: string;
|
|
653
|
+
action: "VERIFY_EMAIL";
|
|
654
|
+
alias?: string | undefined;
|
|
655
|
+
allow_failure?: boolean | undefined;
|
|
656
|
+
mask_output?: boolean | undefined;
|
|
657
|
+
} | {
|
|
658
|
+
params: {
|
|
659
|
+
target: "custom" | "change-email" | "account";
|
|
660
|
+
custom_url?: string | undefined;
|
|
661
|
+
};
|
|
662
|
+
type: "REDIRECT";
|
|
663
|
+
id: string;
|
|
664
|
+
action: "REDIRECT_USER";
|
|
665
|
+
alias?: string | undefined;
|
|
666
|
+
allow_failure?: boolean | undefined;
|
|
667
|
+
mask_output?: boolean | undefined;
|
|
668
|
+
})[];
|
|
669
|
+
}, {
|
|
670
|
+
name: string;
|
|
671
|
+
actions?: ({
|
|
672
|
+
params: {
|
|
673
|
+
user_id: string;
|
|
674
|
+
changes: Record<string, any>;
|
|
675
|
+
connection_id?: string | undefined;
|
|
676
|
+
};
|
|
677
|
+
type: "AUTH0";
|
|
678
|
+
id: string;
|
|
679
|
+
action: "UPDATE_USER";
|
|
680
|
+
alias?: string | undefined;
|
|
681
|
+
allow_failure?: boolean | undefined;
|
|
682
|
+
mask_output?: boolean | undefined;
|
|
683
|
+
} | {
|
|
684
|
+
params: {
|
|
685
|
+
email: string;
|
|
686
|
+
rules?: {
|
|
687
|
+
require_mx_record?: boolean | undefined;
|
|
688
|
+
block_aliases?: boolean | undefined;
|
|
689
|
+
block_free_emails?: boolean | undefined;
|
|
690
|
+
block_disposable_emails?: boolean | undefined;
|
|
691
|
+
blocklist?: string[] | undefined;
|
|
692
|
+
allowlist?: string[] | undefined;
|
|
693
|
+
} | undefined;
|
|
694
|
+
};
|
|
695
|
+
type: "EMAIL";
|
|
696
|
+
id: string;
|
|
697
|
+
action: "VERIFY_EMAIL";
|
|
698
|
+
alias?: string | undefined;
|
|
699
|
+
allow_failure?: boolean | undefined;
|
|
700
|
+
mask_output?: boolean | undefined;
|
|
701
|
+
} | {
|
|
702
|
+
params: {
|
|
703
|
+
target: "custom" | "change-email" | "account";
|
|
704
|
+
custom_url?: string | undefined;
|
|
705
|
+
};
|
|
706
|
+
type: "REDIRECT";
|
|
707
|
+
id: string;
|
|
708
|
+
action: "REDIRECT_USER";
|
|
709
|
+
alias?: string | undefined;
|
|
710
|
+
allow_failure?: boolean | undefined;
|
|
711
|
+
mask_output?: boolean | undefined;
|
|
712
|
+
})[] | undefined;
|
|
713
|
+
}>;
|
|
714
|
+
export type FlowInsert = z.infer<typeof flowInsertSchema>;
|
|
715
|
+
/**
|
|
716
|
+
* Full flow schema including system fields
|
|
717
|
+
*/
|
|
718
|
+
export declare const flowSchema: z.ZodObject<{
|
|
719
|
+
name: z.ZodString;
|
|
720
|
+
actions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<[
|
|
721
|
+
z.ZodObject<{
|
|
722
|
+
id: z.ZodString;
|
|
723
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
724
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
725
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
726
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
727
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
728
|
+
params: z.ZodObject<{
|
|
729
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
730
|
+
user_id: z.ZodString;
|
|
731
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
732
|
+
}, "strip", z.ZodTypeAny, {
|
|
733
|
+
user_id: string;
|
|
734
|
+
changes: Record<string, any>;
|
|
735
|
+
connection_id?: string | undefined;
|
|
736
|
+
}, {
|
|
737
|
+
user_id: string;
|
|
738
|
+
changes: Record<string, any>;
|
|
739
|
+
connection_id?: string | undefined;
|
|
740
|
+
}>;
|
|
741
|
+
}, "strip", z.ZodTypeAny, {
|
|
742
|
+
params: {
|
|
743
|
+
user_id: string;
|
|
744
|
+
changes: Record<string, any>;
|
|
745
|
+
connection_id?: string | undefined;
|
|
746
|
+
};
|
|
747
|
+
type: "AUTH0";
|
|
748
|
+
id: string;
|
|
749
|
+
action: "UPDATE_USER";
|
|
750
|
+
alias?: string | undefined;
|
|
751
|
+
allow_failure?: boolean | undefined;
|
|
752
|
+
mask_output?: boolean | undefined;
|
|
753
|
+
}, {
|
|
754
|
+
params: {
|
|
755
|
+
user_id: string;
|
|
756
|
+
changes: Record<string, any>;
|
|
757
|
+
connection_id?: string | undefined;
|
|
758
|
+
};
|
|
759
|
+
type: "AUTH0";
|
|
760
|
+
id: string;
|
|
761
|
+
action: "UPDATE_USER";
|
|
762
|
+
alias?: string | undefined;
|
|
763
|
+
allow_failure?: boolean | undefined;
|
|
764
|
+
mask_output?: boolean | undefined;
|
|
765
|
+
}>,
|
|
766
|
+
z.ZodObject<{
|
|
767
|
+
id: z.ZodString;
|
|
768
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
769
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
770
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
771
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
772
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
773
|
+
params: z.ZodObject<{
|
|
774
|
+
email: z.ZodString;
|
|
775
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
776
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
777
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
778
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
779
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
780
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
781
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
782
|
+
}, "strip", z.ZodTypeAny, {
|
|
783
|
+
require_mx_record?: boolean | undefined;
|
|
784
|
+
block_aliases?: boolean | undefined;
|
|
785
|
+
block_free_emails?: boolean | undefined;
|
|
786
|
+
block_disposable_emails?: boolean | undefined;
|
|
787
|
+
blocklist?: string[] | undefined;
|
|
788
|
+
allowlist?: string[] | undefined;
|
|
789
|
+
}, {
|
|
790
|
+
require_mx_record?: boolean | undefined;
|
|
791
|
+
block_aliases?: boolean | undefined;
|
|
792
|
+
block_free_emails?: boolean | undefined;
|
|
793
|
+
block_disposable_emails?: boolean | undefined;
|
|
794
|
+
blocklist?: string[] | undefined;
|
|
795
|
+
allowlist?: string[] | undefined;
|
|
796
|
+
}>>;
|
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
|
798
|
+
email: string;
|
|
799
|
+
rules?: {
|
|
800
|
+
require_mx_record?: boolean | undefined;
|
|
801
|
+
block_aliases?: boolean | undefined;
|
|
802
|
+
block_free_emails?: boolean | undefined;
|
|
803
|
+
block_disposable_emails?: boolean | undefined;
|
|
804
|
+
blocklist?: string[] | undefined;
|
|
805
|
+
allowlist?: string[] | undefined;
|
|
806
|
+
} | undefined;
|
|
807
|
+
}, {
|
|
808
|
+
email: string;
|
|
809
|
+
rules?: {
|
|
810
|
+
require_mx_record?: boolean | undefined;
|
|
811
|
+
block_aliases?: boolean | undefined;
|
|
812
|
+
block_free_emails?: boolean | undefined;
|
|
813
|
+
block_disposable_emails?: boolean | undefined;
|
|
814
|
+
blocklist?: string[] | undefined;
|
|
815
|
+
allowlist?: string[] | undefined;
|
|
816
|
+
} | undefined;
|
|
817
|
+
}>;
|
|
818
|
+
}, "strip", z.ZodTypeAny, {
|
|
819
|
+
params: {
|
|
820
|
+
email: string;
|
|
821
|
+
rules?: {
|
|
822
|
+
require_mx_record?: boolean | undefined;
|
|
823
|
+
block_aliases?: boolean | undefined;
|
|
824
|
+
block_free_emails?: boolean | undefined;
|
|
825
|
+
block_disposable_emails?: boolean | undefined;
|
|
826
|
+
blocklist?: string[] | undefined;
|
|
827
|
+
allowlist?: string[] | undefined;
|
|
828
|
+
} | undefined;
|
|
829
|
+
};
|
|
830
|
+
type: "EMAIL";
|
|
831
|
+
id: string;
|
|
832
|
+
action: "VERIFY_EMAIL";
|
|
833
|
+
alias?: string | undefined;
|
|
834
|
+
allow_failure?: boolean | undefined;
|
|
835
|
+
mask_output?: boolean | undefined;
|
|
836
|
+
}, {
|
|
837
|
+
params: {
|
|
838
|
+
email: string;
|
|
839
|
+
rules?: {
|
|
840
|
+
require_mx_record?: boolean | undefined;
|
|
841
|
+
block_aliases?: boolean | undefined;
|
|
842
|
+
block_free_emails?: boolean | undefined;
|
|
843
|
+
block_disposable_emails?: boolean | undefined;
|
|
844
|
+
blocklist?: string[] | undefined;
|
|
845
|
+
allowlist?: string[] | undefined;
|
|
846
|
+
} | undefined;
|
|
847
|
+
};
|
|
848
|
+
type: "EMAIL";
|
|
849
|
+
id: string;
|
|
850
|
+
action: "VERIFY_EMAIL";
|
|
851
|
+
alias?: string | undefined;
|
|
852
|
+
allow_failure?: boolean | undefined;
|
|
853
|
+
mask_output?: boolean | undefined;
|
|
854
|
+
}>,
|
|
855
|
+
z.ZodObject<{
|
|
856
|
+
id: z.ZodString;
|
|
857
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
858
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
859
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
860
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
862
|
+
params: z.ZodObject<{
|
|
863
|
+
target: z.ZodEnum<[
|
|
864
|
+
"change-email",
|
|
865
|
+
"account",
|
|
866
|
+
"custom"
|
|
867
|
+
]>;
|
|
868
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
869
|
+
}, "strip", z.ZodTypeAny, {
|
|
870
|
+
target: "custom" | "change-email" | "account";
|
|
871
|
+
custom_url?: string | undefined;
|
|
872
|
+
}, {
|
|
873
|
+
target: "custom" | "change-email" | "account";
|
|
874
|
+
custom_url?: string | undefined;
|
|
875
|
+
}>;
|
|
876
|
+
}, "strip", z.ZodTypeAny, {
|
|
877
|
+
params: {
|
|
878
|
+
target: "custom" | "change-email" | "account";
|
|
879
|
+
custom_url?: string | undefined;
|
|
880
|
+
};
|
|
881
|
+
type: "REDIRECT";
|
|
882
|
+
id: string;
|
|
883
|
+
action: "REDIRECT_USER";
|
|
884
|
+
alias?: string | undefined;
|
|
885
|
+
allow_failure?: boolean | undefined;
|
|
886
|
+
mask_output?: boolean | undefined;
|
|
887
|
+
}, {
|
|
888
|
+
params: {
|
|
889
|
+
target: "custom" | "change-email" | "account";
|
|
890
|
+
custom_url?: string | undefined;
|
|
891
|
+
};
|
|
892
|
+
type: "REDIRECT";
|
|
893
|
+
id: string;
|
|
894
|
+
action: "REDIRECT_USER";
|
|
895
|
+
alias?: string | undefined;
|
|
896
|
+
allow_failure?: boolean | undefined;
|
|
897
|
+
mask_output?: boolean | undefined;
|
|
898
|
+
}>
|
|
899
|
+
]>, "many">>>;
|
|
900
|
+
} & {
|
|
901
|
+
id: z.ZodString;
|
|
902
|
+
created_at: z.ZodString;
|
|
903
|
+
updated_at: z.ZodString;
|
|
904
|
+
}, "strip", z.ZodTypeAny, {
|
|
905
|
+
created_at: string;
|
|
906
|
+
updated_at: string;
|
|
907
|
+
id: string;
|
|
908
|
+
name: string;
|
|
909
|
+
actions: ({
|
|
910
|
+
params: {
|
|
911
|
+
user_id: string;
|
|
912
|
+
changes: Record<string, any>;
|
|
913
|
+
connection_id?: string | undefined;
|
|
914
|
+
};
|
|
915
|
+
type: "AUTH0";
|
|
916
|
+
id: string;
|
|
917
|
+
action: "UPDATE_USER";
|
|
918
|
+
alias?: string | undefined;
|
|
919
|
+
allow_failure?: boolean | undefined;
|
|
920
|
+
mask_output?: boolean | undefined;
|
|
921
|
+
} | {
|
|
922
|
+
params: {
|
|
923
|
+
email: string;
|
|
924
|
+
rules?: {
|
|
925
|
+
require_mx_record?: boolean | undefined;
|
|
926
|
+
block_aliases?: boolean | undefined;
|
|
927
|
+
block_free_emails?: boolean | undefined;
|
|
928
|
+
block_disposable_emails?: boolean | undefined;
|
|
929
|
+
blocklist?: string[] | undefined;
|
|
930
|
+
allowlist?: string[] | undefined;
|
|
931
|
+
} | undefined;
|
|
932
|
+
};
|
|
933
|
+
type: "EMAIL";
|
|
934
|
+
id: string;
|
|
935
|
+
action: "VERIFY_EMAIL";
|
|
936
|
+
alias?: string | undefined;
|
|
937
|
+
allow_failure?: boolean | undefined;
|
|
938
|
+
mask_output?: boolean | undefined;
|
|
939
|
+
} | {
|
|
940
|
+
params: {
|
|
941
|
+
target: "custom" | "change-email" | "account";
|
|
942
|
+
custom_url?: string | undefined;
|
|
943
|
+
};
|
|
944
|
+
type: "REDIRECT";
|
|
945
|
+
id: string;
|
|
946
|
+
action: "REDIRECT_USER";
|
|
947
|
+
alias?: string | undefined;
|
|
948
|
+
allow_failure?: boolean | undefined;
|
|
949
|
+
mask_output?: boolean | undefined;
|
|
950
|
+
})[];
|
|
951
|
+
}, {
|
|
952
|
+
created_at: string;
|
|
953
|
+
updated_at: string;
|
|
954
|
+
id: string;
|
|
955
|
+
name: string;
|
|
956
|
+
actions?: ({
|
|
957
|
+
params: {
|
|
958
|
+
user_id: string;
|
|
959
|
+
changes: Record<string, any>;
|
|
960
|
+
connection_id?: string | undefined;
|
|
961
|
+
};
|
|
962
|
+
type: "AUTH0";
|
|
963
|
+
id: string;
|
|
964
|
+
action: "UPDATE_USER";
|
|
965
|
+
alias?: string | undefined;
|
|
966
|
+
allow_failure?: boolean | undefined;
|
|
967
|
+
mask_output?: boolean | undefined;
|
|
968
|
+
} | {
|
|
969
|
+
params: {
|
|
970
|
+
email: string;
|
|
971
|
+
rules?: {
|
|
972
|
+
require_mx_record?: boolean | undefined;
|
|
973
|
+
block_aliases?: boolean | undefined;
|
|
974
|
+
block_free_emails?: boolean | undefined;
|
|
975
|
+
block_disposable_emails?: boolean | undefined;
|
|
976
|
+
blocklist?: string[] | undefined;
|
|
977
|
+
allowlist?: string[] | undefined;
|
|
978
|
+
} | undefined;
|
|
979
|
+
};
|
|
980
|
+
type: "EMAIL";
|
|
981
|
+
id: string;
|
|
982
|
+
action: "VERIFY_EMAIL";
|
|
983
|
+
alias?: string | undefined;
|
|
984
|
+
allow_failure?: boolean | undefined;
|
|
985
|
+
mask_output?: boolean | undefined;
|
|
986
|
+
} | {
|
|
987
|
+
params: {
|
|
988
|
+
target: "custom" | "change-email" | "account";
|
|
989
|
+
custom_url?: string | undefined;
|
|
990
|
+
};
|
|
991
|
+
type: "REDIRECT";
|
|
992
|
+
id: string;
|
|
993
|
+
action: "REDIRECT_USER";
|
|
994
|
+
alias?: string | undefined;
|
|
995
|
+
allow_failure?: boolean | undefined;
|
|
996
|
+
mask_output?: boolean | undefined;
|
|
997
|
+
})[] | undefined;
|
|
998
|
+
}>;
|
|
999
|
+
export type Flow = z.infer<typeof flowSchema>;
|
|
5
1000
|
export declare const auth0QuerySchema: z.ZodObject<{
|
|
6
1001
|
page: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, number, string | undefined>;
|
|
7
1002
|
per_page: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, number, string | undefined>;
|
|
@@ -15,8 +1010,8 @@ export declare const auth0QuerySchema: z.ZodObject<{
|
|
|
15
1010
|
sort?: string | undefined;
|
|
16
1011
|
q?: string | undefined;
|
|
17
1012
|
}, {
|
|
18
|
-
page?: string | undefined;
|
|
19
1013
|
sort?: string | undefined;
|
|
1014
|
+
page?: string | undefined;
|
|
20
1015
|
per_page?: string | undefined;
|
|
21
1016
|
include_totals?: string | undefined;
|
|
22
1017
|
q?: string | undefined;
|
|
@@ -55,13 +1050,13 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
55
1050
|
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
56
1051
|
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
57
1052
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
email?: string | undefined;
|
|
59
1053
|
name?: string | undefined;
|
|
1054
|
+
user_id?: string | undefined;
|
|
1055
|
+
email?: string | undefined;
|
|
60
1056
|
username?: string | undefined;
|
|
61
1057
|
given_name?: string | undefined;
|
|
62
1058
|
phone_number?: string | undefined;
|
|
63
1059
|
family_name?: string | undefined;
|
|
64
|
-
user_id?: string | undefined;
|
|
65
1060
|
profileData?: string | undefined;
|
|
66
1061
|
nickname?: string | undefined;
|
|
67
1062
|
picture?: string | undefined;
|
|
@@ -70,13 +1065,13 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
70
1065
|
app_metadata?: any;
|
|
71
1066
|
user_metadata?: any;
|
|
72
1067
|
}, {
|
|
73
|
-
email?: string | undefined;
|
|
74
1068
|
name?: string | undefined;
|
|
1069
|
+
user_id?: string | undefined;
|
|
1070
|
+
email?: string | undefined;
|
|
75
1071
|
username?: string | undefined;
|
|
76
1072
|
given_name?: string | undefined;
|
|
77
1073
|
phone_number?: string | undefined;
|
|
78
1074
|
family_name?: string | undefined;
|
|
79
|
-
user_id?: string | undefined;
|
|
80
1075
|
profileData?: string | undefined;
|
|
81
1076
|
nickname?: string | undefined;
|
|
82
1077
|
picture?: string | undefined;
|
|
@@ -112,13 +1107,13 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
112
1107
|
}, "strip", z.ZodTypeAny, {
|
|
113
1108
|
email_verified: boolean;
|
|
114
1109
|
connection: string;
|
|
115
|
-
email?: string | undefined;
|
|
116
1110
|
name?: string | undefined;
|
|
1111
|
+
user_id?: string | undefined;
|
|
1112
|
+
email?: string | undefined;
|
|
117
1113
|
username?: string | undefined;
|
|
118
1114
|
given_name?: string | undefined;
|
|
119
1115
|
phone_number?: string | undefined;
|
|
120
1116
|
family_name?: string | undefined;
|
|
121
|
-
user_id?: string | undefined;
|
|
122
1117
|
provider?: string | undefined;
|
|
123
1118
|
profileData?: string | undefined;
|
|
124
1119
|
nickname?: string | undefined;
|
|
@@ -133,14 +1128,14 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
133
1128
|
is_social?: boolean | undefined;
|
|
134
1129
|
}, {
|
|
135
1130
|
connection: string;
|
|
1131
|
+
name?: string | undefined;
|
|
1132
|
+
user_id?: string | undefined;
|
|
136
1133
|
email?: string | undefined;
|
|
137
1134
|
email_verified?: boolean | undefined;
|
|
138
|
-
name?: string | undefined;
|
|
139
1135
|
username?: string | undefined;
|
|
140
1136
|
given_name?: string | undefined;
|
|
141
1137
|
phone_number?: string | undefined;
|
|
142
1138
|
family_name?: string | undefined;
|
|
143
|
-
user_id?: string | undefined;
|
|
144
1139
|
provider?: string | undefined;
|
|
145
1140
|
profileData?: string | undefined;
|
|
146
1141
|
nickname?: string | undefined;
|
|
@@ -198,8 +1193,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
198
1193
|
family_name: z.ZodOptional<z.ZodString>;
|
|
199
1194
|
}, z.ZodAny, "strip">>>;
|
|
200
1195
|
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
connection: string;
|
|
202
1196
|
user_id: string;
|
|
1197
|
+
connection: string;
|
|
203
1198
|
provider: string;
|
|
204
1199
|
isSocial: boolean;
|
|
205
1200
|
access_token?: string | undefined;
|
|
@@ -216,8 +1211,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
216
1211
|
family_name: z.ZodOptional<z.ZodString>;
|
|
217
1212
|
}, z.ZodAny, "strip"> | undefined;
|
|
218
1213
|
}, {
|
|
219
|
-
connection: string;
|
|
220
1214
|
user_id: string;
|
|
1215
|
+
connection: string;
|
|
221
1216
|
provider: string;
|
|
222
1217
|
isSocial: boolean;
|
|
223
1218
|
access_token?: string | undefined;
|
|
@@ -256,14 +1251,14 @@ export declare const userSchema: z.ZodObject<{
|
|
|
256
1251
|
}, "strip", z.ZodTypeAny, {
|
|
257
1252
|
created_at: string;
|
|
258
1253
|
updated_at: string;
|
|
1254
|
+
user_id: string;
|
|
259
1255
|
email_verified: boolean;
|
|
260
1256
|
connection: string;
|
|
261
|
-
user_id: string;
|
|
262
1257
|
provider: string;
|
|
263
1258
|
is_social: boolean;
|
|
264
1259
|
login_count: number;
|
|
265
|
-
email?: string | undefined;
|
|
266
1260
|
name?: string | undefined;
|
|
1261
|
+
email?: string | undefined;
|
|
267
1262
|
username?: string | undefined;
|
|
268
1263
|
given_name?: string | undefined;
|
|
269
1264
|
phone_number?: string | undefined;
|
|
@@ -279,8 +1274,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
279
1274
|
last_ip?: string | undefined;
|
|
280
1275
|
last_login?: string | undefined;
|
|
281
1276
|
identities?: {
|
|
282
|
-
connection: string;
|
|
283
1277
|
user_id: string;
|
|
1278
|
+
connection: string;
|
|
284
1279
|
provider: string;
|
|
285
1280
|
isSocial: boolean;
|
|
286
1281
|
access_token?: string | undefined;
|
|
@@ -300,13 +1295,13 @@ export declare const userSchema: z.ZodObject<{
|
|
|
300
1295
|
}, {
|
|
301
1296
|
created_at: string;
|
|
302
1297
|
updated_at: string;
|
|
303
|
-
connection: string;
|
|
304
1298
|
user_id: string;
|
|
1299
|
+
connection: string;
|
|
305
1300
|
provider: string;
|
|
306
1301
|
is_social: boolean;
|
|
1302
|
+
name?: string | undefined;
|
|
307
1303
|
email?: string | undefined;
|
|
308
1304
|
email_verified?: boolean | undefined;
|
|
309
|
-
name?: string | undefined;
|
|
310
1305
|
username?: string | undefined;
|
|
311
1306
|
given_name?: string | undefined;
|
|
312
1307
|
phone_number?: string | undefined;
|
|
@@ -323,8 +1318,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
323
1318
|
last_login?: string | undefined;
|
|
324
1319
|
login_count?: number | undefined;
|
|
325
1320
|
identities?: {
|
|
326
|
-
connection: string;
|
|
327
1321
|
user_id: string;
|
|
1322
|
+
connection: string;
|
|
328
1323
|
provider: string;
|
|
329
1324
|
isSocial: boolean;
|
|
330
1325
|
access_token?: string | undefined;
|
|
@@ -386,8 +1381,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
386
1381
|
family_name: z.ZodOptional<z.ZodString>;
|
|
387
1382
|
}, z.ZodAny, "strip">>>;
|
|
388
1383
|
}, "strip", z.ZodTypeAny, {
|
|
389
|
-
connection: string;
|
|
390
1384
|
user_id: string;
|
|
1385
|
+
connection: string;
|
|
391
1386
|
provider: string;
|
|
392
1387
|
isSocial: boolean;
|
|
393
1388
|
access_token?: string | undefined;
|
|
@@ -404,8 +1399,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
404
1399
|
family_name: z.ZodOptional<z.ZodString>;
|
|
405
1400
|
}, z.ZodAny, "strip"> | undefined;
|
|
406
1401
|
}, {
|
|
407
|
-
connection: string;
|
|
408
1402
|
user_id: string;
|
|
1403
|
+
connection: string;
|
|
409
1404
|
provider: string;
|
|
410
1405
|
isSocial: boolean;
|
|
411
1406
|
access_token?: string | undefined;
|
|
@@ -444,14 +1439,14 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
444
1439
|
}, "strip", z.ZodTypeAny, {
|
|
445
1440
|
created_at: string;
|
|
446
1441
|
updated_at: string;
|
|
1442
|
+
user_id: string;
|
|
447
1443
|
email_verified: boolean;
|
|
448
1444
|
connection: string;
|
|
449
|
-
user_id: string;
|
|
450
1445
|
provider: string;
|
|
451
1446
|
is_social: boolean;
|
|
452
1447
|
login_count: number;
|
|
453
|
-
email?: string | undefined;
|
|
454
1448
|
name?: string | undefined;
|
|
1449
|
+
email?: string | undefined;
|
|
455
1450
|
username?: string | undefined;
|
|
456
1451
|
given_name?: string | undefined;
|
|
457
1452
|
phone_number?: string | undefined;
|
|
@@ -467,8 +1462,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
467
1462
|
last_ip?: string | undefined;
|
|
468
1463
|
last_login?: string | undefined;
|
|
469
1464
|
identities?: {
|
|
470
|
-
connection: string;
|
|
471
1465
|
user_id: string;
|
|
1466
|
+
connection: string;
|
|
472
1467
|
provider: string;
|
|
473
1468
|
isSocial: boolean;
|
|
474
1469
|
access_token?: string | undefined;
|
|
@@ -488,13 +1483,13 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
488
1483
|
}, {
|
|
489
1484
|
created_at: string;
|
|
490
1485
|
updated_at: string;
|
|
491
|
-
connection: string;
|
|
492
1486
|
user_id: string;
|
|
1487
|
+
connection: string;
|
|
493
1488
|
provider: string;
|
|
494
1489
|
is_social: boolean;
|
|
1490
|
+
name?: string | undefined;
|
|
495
1491
|
email?: string | undefined;
|
|
496
1492
|
email_verified?: boolean | undefined;
|
|
497
|
-
name?: string | undefined;
|
|
498
1493
|
username?: string | undefined;
|
|
499
1494
|
given_name?: string | undefined;
|
|
500
1495
|
phone_number?: string | undefined;
|
|
@@ -511,8 +1506,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
511
1506
|
last_login?: string | undefined;
|
|
512
1507
|
login_count?: number | undefined;
|
|
513
1508
|
identities?: {
|
|
514
|
-
connection: string;
|
|
515
1509
|
user_id: string;
|
|
1510
|
+
connection: string;
|
|
516
1511
|
provider: string;
|
|
517
1512
|
isSocial: boolean;
|
|
518
1513
|
access_token?: string | undefined;
|
|
@@ -1041,9 +2036,9 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
1041
2036
|
authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1042
2037
|
id: z.ZodString;
|
|
1043
2038
|
}, "strip", z.ZodTypeAny, {
|
|
2039
|
+
id: string;
|
|
1044
2040
|
client_id: string;
|
|
1045
2041
|
audience: string;
|
|
1046
|
-
id: string;
|
|
1047
2042
|
created_at?: string | undefined;
|
|
1048
2043
|
updated_at?: string | undefined;
|
|
1049
2044
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1053,9 +2048,9 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
1053
2048
|
subject_type?: "client" | "user" | undefined;
|
|
1054
2049
|
authorization_details_types?: string[] | undefined;
|
|
1055
2050
|
}, {
|
|
2051
|
+
id: string;
|
|
1056
2052
|
client_id: string;
|
|
1057
2053
|
audience: string;
|
|
1058
|
-
id: string;
|
|
1059
2054
|
created_at?: string | undefined;
|
|
1060
2055
|
updated_at?: string | undefined;
|
|
1061
2056
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1086,9 +2081,9 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
1086
2081
|
authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1087
2082
|
id: z.ZodString;
|
|
1088
2083
|
}, "strip", z.ZodTypeAny, {
|
|
2084
|
+
id: string;
|
|
1089
2085
|
client_id: string;
|
|
1090
2086
|
audience: string;
|
|
1091
|
-
id: string;
|
|
1092
2087
|
created_at?: string | undefined;
|
|
1093
2088
|
updated_at?: string | undefined;
|
|
1094
2089
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1098,9 +2093,9 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
1098
2093
|
subject_type?: "client" | "user" | undefined;
|
|
1099
2094
|
authorization_details_types?: string[] | undefined;
|
|
1100
2095
|
}, {
|
|
2096
|
+
id: string;
|
|
1101
2097
|
client_id: string;
|
|
1102
2098
|
audience: string;
|
|
1103
|
-
id: string;
|
|
1104
2099
|
created_at?: string | undefined;
|
|
1105
2100
|
updated_at?: string | undefined;
|
|
1106
2101
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -2202,6 +3197,87 @@ export declare const flowNodeSchema: z.ZodObject<{
|
|
|
2202
3197
|
};
|
|
2203
3198
|
alias?: string | undefined;
|
|
2204
3199
|
}>;
|
|
3200
|
+
export declare const actionNodeSchema: z.ZodObject<{
|
|
3201
|
+
id: z.ZodString;
|
|
3202
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
3203
|
+
coordinates: z.ZodObject<{
|
|
3204
|
+
x: z.ZodNumber;
|
|
3205
|
+
y: z.ZodNumber;
|
|
3206
|
+
}, "strip", z.ZodTypeAny, {
|
|
3207
|
+
x: number;
|
|
3208
|
+
y: number;
|
|
3209
|
+
}, {
|
|
3210
|
+
x: number;
|
|
3211
|
+
y: number;
|
|
3212
|
+
}>;
|
|
3213
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
3214
|
+
config: z.ZodObject<{
|
|
3215
|
+
action_type: z.ZodEnum<[
|
|
3216
|
+
"REDIRECT"
|
|
3217
|
+
]>;
|
|
3218
|
+
target: z.ZodEnum<[
|
|
3219
|
+
"change-email",
|
|
3220
|
+
"account",
|
|
3221
|
+
"custom"
|
|
3222
|
+
]>;
|
|
3223
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3224
|
+
next_node: z.ZodString;
|
|
3225
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3226
|
+
action_type: z.ZodEnum<[
|
|
3227
|
+
"REDIRECT"
|
|
3228
|
+
]>;
|
|
3229
|
+
target: z.ZodEnum<[
|
|
3230
|
+
"change-email",
|
|
3231
|
+
"account",
|
|
3232
|
+
"custom"
|
|
3233
|
+
]>;
|
|
3234
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3235
|
+
next_node: z.ZodString;
|
|
3236
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3237
|
+
action_type: z.ZodEnum<[
|
|
3238
|
+
"REDIRECT"
|
|
3239
|
+
]>;
|
|
3240
|
+
target: z.ZodEnum<[
|
|
3241
|
+
"change-email",
|
|
3242
|
+
"account",
|
|
3243
|
+
"custom"
|
|
3244
|
+
]>;
|
|
3245
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3246
|
+
next_node: z.ZodString;
|
|
3247
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3248
|
+
}, "strip", z.ZodTypeAny, {
|
|
3249
|
+
type: NodeType.ACTION;
|
|
3250
|
+
id: string;
|
|
3251
|
+
config: {
|
|
3252
|
+
target: "custom" | "change-email" | "account";
|
|
3253
|
+
next_node: string;
|
|
3254
|
+
action_type: "REDIRECT";
|
|
3255
|
+
custom_url?: string | undefined;
|
|
3256
|
+
} & {
|
|
3257
|
+
[k: string]: unknown;
|
|
3258
|
+
};
|
|
3259
|
+
coordinates: {
|
|
3260
|
+
x: number;
|
|
3261
|
+
y: number;
|
|
3262
|
+
};
|
|
3263
|
+
alias?: string | undefined;
|
|
3264
|
+
}, {
|
|
3265
|
+
type: NodeType.ACTION;
|
|
3266
|
+
id: string;
|
|
3267
|
+
config: {
|
|
3268
|
+
target: "custom" | "change-email" | "account";
|
|
3269
|
+
next_node: string;
|
|
3270
|
+
action_type: "REDIRECT";
|
|
3271
|
+
custom_url?: string | undefined;
|
|
3272
|
+
} & {
|
|
3273
|
+
[k: string]: unknown;
|
|
3274
|
+
};
|
|
3275
|
+
coordinates: {
|
|
3276
|
+
x: number;
|
|
3277
|
+
y: number;
|
|
3278
|
+
};
|
|
3279
|
+
alias?: string | undefined;
|
|
3280
|
+
}>;
|
|
2205
3281
|
export declare const genericNodeSchema: z.ZodObject<{
|
|
2206
3282
|
id: z.ZodString;
|
|
2207
3283
|
type: z.ZodString;
|
|
@@ -2945,6 +4021,87 @@ export declare const nodeSchema: z.ZodUnion<[
|
|
|
2945
4021
|
};
|
|
2946
4022
|
alias?: string | undefined;
|
|
2947
4023
|
}>,
|
|
4024
|
+
z.ZodObject<{
|
|
4025
|
+
id: z.ZodString;
|
|
4026
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
4027
|
+
coordinates: z.ZodObject<{
|
|
4028
|
+
x: z.ZodNumber;
|
|
4029
|
+
y: z.ZodNumber;
|
|
4030
|
+
}, "strip", z.ZodTypeAny, {
|
|
4031
|
+
x: number;
|
|
4032
|
+
y: number;
|
|
4033
|
+
}, {
|
|
4034
|
+
x: number;
|
|
4035
|
+
y: number;
|
|
4036
|
+
}>;
|
|
4037
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
4038
|
+
config: z.ZodObject<{
|
|
4039
|
+
action_type: z.ZodEnum<[
|
|
4040
|
+
"REDIRECT"
|
|
4041
|
+
]>;
|
|
4042
|
+
target: z.ZodEnum<[
|
|
4043
|
+
"change-email",
|
|
4044
|
+
"account",
|
|
4045
|
+
"custom"
|
|
4046
|
+
]>;
|
|
4047
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4048
|
+
next_node: z.ZodString;
|
|
4049
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4050
|
+
action_type: z.ZodEnum<[
|
|
4051
|
+
"REDIRECT"
|
|
4052
|
+
]>;
|
|
4053
|
+
target: z.ZodEnum<[
|
|
4054
|
+
"change-email",
|
|
4055
|
+
"account",
|
|
4056
|
+
"custom"
|
|
4057
|
+
]>;
|
|
4058
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4059
|
+
next_node: z.ZodString;
|
|
4060
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4061
|
+
action_type: z.ZodEnum<[
|
|
4062
|
+
"REDIRECT"
|
|
4063
|
+
]>;
|
|
4064
|
+
target: z.ZodEnum<[
|
|
4065
|
+
"change-email",
|
|
4066
|
+
"account",
|
|
4067
|
+
"custom"
|
|
4068
|
+
]>;
|
|
4069
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4070
|
+
next_node: z.ZodString;
|
|
4071
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4072
|
+
}, "strip", z.ZodTypeAny, {
|
|
4073
|
+
type: NodeType.ACTION;
|
|
4074
|
+
id: string;
|
|
4075
|
+
config: {
|
|
4076
|
+
target: "custom" | "change-email" | "account";
|
|
4077
|
+
next_node: string;
|
|
4078
|
+
action_type: "REDIRECT";
|
|
4079
|
+
custom_url?: string | undefined;
|
|
4080
|
+
} & {
|
|
4081
|
+
[k: string]: unknown;
|
|
4082
|
+
};
|
|
4083
|
+
coordinates: {
|
|
4084
|
+
x: number;
|
|
4085
|
+
y: number;
|
|
4086
|
+
};
|
|
4087
|
+
alias?: string | undefined;
|
|
4088
|
+
}, {
|
|
4089
|
+
type: NodeType.ACTION;
|
|
4090
|
+
id: string;
|
|
4091
|
+
config: {
|
|
4092
|
+
target: "custom" | "change-email" | "account";
|
|
4093
|
+
next_node: string;
|
|
4094
|
+
action_type: "REDIRECT";
|
|
4095
|
+
custom_url?: string | undefined;
|
|
4096
|
+
} & {
|
|
4097
|
+
[k: string]: unknown;
|
|
4098
|
+
};
|
|
4099
|
+
coordinates: {
|
|
4100
|
+
x: number;
|
|
4101
|
+
y: number;
|
|
4102
|
+
};
|
|
4103
|
+
alias?: string | undefined;
|
|
4104
|
+
}>,
|
|
2948
4105
|
z.ZodObject<{
|
|
2949
4106
|
id: z.ZodString;
|
|
2950
4107
|
type: z.ZodString;
|
|
@@ -2988,6 +4145,7 @@ export declare const nodeSchema: z.ZodUnion<[
|
|
|
2988
4145
|
]>;
|
|
2989
4146
|
export type StepNode = z.infer<typeof stepNodeSchema>;
|
|
2990
4147
|
export type FlowNode = z.infer<typeof flowNodeSchema>;
|
|
4148
|
+
export type ActionNode = z.infer<typeof actionNodeSchema>;
|
|
2991
4149
|
export type GenericNode = z.infer<typeof genericNodeSchema>;
|
|
2992
4150
|
type Node$1 = z.infer<typeof nodeSchema>;
|
|
2993
4151
|
export declare const startSchema: z.ZodObject<{
|
|
@@ -3771,7 +4929,88 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
3771
4929
|
id: string;
|
|
3772
4930
|
config: {
|
|
3773
4931
|
next_node: string;
|
|
3774
|
-
flow_id: string;
|
|
4932
|
+
flow_id: string;
|
|
4933
|
+
};
|
|
4934
|
+
coordinates: {
|
|
4935
|
+
x: number;
|
|
4936
|
+
y: number;
|
|
4937
|
+
};
|
|
4938
|
+
alias?: string | undefined;
|
|
4939
|
+
}>,
|
|
4940
|
+
z.ZodObject<{
|
|
4941
|
+
id: z.ZodString;
|
|
4942
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
4943
|
+
coordinates: z.ZodObject<{
|
|
4944
|
+
x: z.ZodNumber;
|
|
4945
|
+
y: z.ZodNumber;
|
|
4946
|
+
}, "strip", z.ZodTypeAny, {
|
|
4947
|
+
x: number;
|
|
4948
|
+
y: number;
|
|
4949
|
+
}, {
|
|
4950
|
+
x: number;
|
|
4951
|
+
y: number;
|
|
4952
|
+
}>;
|
|
4953
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
4954
|
+
config: z.ZodObject<{
|
|
4955
|
+
action_type: z.ZodEnum<[
|
|
4956
|
+
"REDIRECT"
|
|
4957
|
+
]>;
|
|
4958
|
+
target: z.ZodEnum<[
|
|
4959
|
+
"change-email",
|
|
4960
|
+
"account",
|
|
4961
|
+
"custom"
|
|
4962
|
+
]>;
|
|
4963
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4964
|
+
next_node: z.ZodString;
|
|
4965
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4966
|
+
action_type: z.ZodEnum<[
|
|
4967
|
+
"REDIRECT"
|
|
4968
|
+
]>;
|
|
4969
|
+
target: z.ZodEnum<[
|
|
4970
|
+
"change-email",
|
|
4971
|
+
"account",
|
|
4972
|
+
"custom"
|
|
4973
|
+
]>;
|
|
4974
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4975
|
+
next_node: z.ZodString;
|
|
4976
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4977
|
+
action_type: z.ZodEnum<[
|
|
4978
|
+
"REDIRECT"
|
|
4979
|
+
]>;
|
|
4980
|
+
target: z.ZodEnum<[
|
|
4981
|
+
"change-email",
|
|
4982
|
+
"account",
|
|
4983
|
+
"custom"
|
|
4984
|
+
]>;
|
|
4985
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4986
|
+
next_node: z.ZodString;
|
|
4987
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4988
|
+
}, "strip", z.ZodTypeAny, {
|
|
4989
|
+
type: NodeType.ACTION;
|
|
4990
|
+
id: string;
|
|
4991
|
+
config: {
|
|
4992
|
+
target: "custom" | "change-email" | "account";
|
|
4993
|
+
next_node: string;
|
|
4994
|
+
action_type: "REDIRECT";
|
|
4995
|
+
custom_url?: string | undefined;
|
|
4996
|
+
} & {
|
|
4997
|
+
[k: string]: unknown;
|
|
4998
|
+
};
|
|
4999
|
+
coordinates: {
|
|
5000
|
+
x: number;
|
|
5001
|
+
y: number;
|
|
5002
|
+
};
|
|
5003
|
+
alias?: string | undefined;
|
|
5004
|
+
}, {
|
|
5005
|
+
type: NodeType.ACTION;
|
|
5006
|
+
id: string;
|
|
5007
|
+
config: {
|
|
5008
|
+
target: "custom" | "change-email" | "account";
|
|
5009
|
+
next_node: string;
|
|
5010
|
+
action_type: "REDIRECT";
|
|
5011
|
+
custom_url?: string | undefined;
|
|
5012
|
+
} & {
|
|
5013
|
+
[k: string]: unknown;
|
|
3775
5014
|
};
|
|
3776
5015
|
coordinates: {
|
|
3777
5016
|
x: number;
|
|
@@ -4619,6 +5858,87 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
4619
5858
|
};
|
|
4620
5859
|
alias?: string | undefined;
|
|
4621
5860
|
}>,
|
|
5861
|
+
z.ZodObject<{
|
|
5862
|
+
id: z.ZodString;
|
|
5863
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
5864
|
+
coordinates: z.ZodObject<{
|
|
5865
|
+
x: z.ZodNumber;
|
|
5866
|
+
y: z.ZodNumber;
|
|
5867
|
+
}, "strip", z.ZodTypeAny, {
|
|
5868
|
+
x: number;
|
|
5869
|
+
y: number;
|
|
5870
|
+
}, {
|
|
5871
|
+
x: number;
|
|
5872
|
+
y: number;
|
|
5873
|
+
}>;
|
|
5874
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
5875
|
+
config: z.ZodObject<{
|
|
5876
|
+
action_type: z.ZodEnum<[
|
|
5877
|
+
"REDIRECT"
|
|
5878
|
+
]>;
|
|
5879
|
+
target: z.ZodEnum<[
|
|
5880
|
+
"change-email",
|
|
5881
|
+
"account",
|
|
5882
|
+
"custom"
|
|
5883
|
+
]>;
|
|
5884
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5885
|
+
next_node: z.ZodString;
|
|
5886
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5887
|
+
action_type: z.ZodEnum<[
|
|
5888
|
+
"REDIRECT"
|
|
5889
|
+
]>;
|
|
5890
|
+
target: z.ZodEnum<[
|
|
5891
|
+
"change-email",
|
|
5892
|
+
"account",
|
|
5893
|
+
"custom"
|
|
5894
|
+
]>;
|
|
5895
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5896
|
+
next_node: z.ZodString;
|
|
5897
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5898
|
+
action_type: z.ZodEnum<[
|
|
5899
|
+
"REDIRECT"
|
|
5900
|
+
]>;
|
|
5901
|
+
target: z.ZodEnum<[
|
|
5902
|
+
"change-email",
|
|
5903
|
+
"account",
|
|
5904
|
+
"custom"
|
|
5905
|
+
]>;
|
|
5906
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5907
|
+
next_node: z.ZodString;
|
|
5908
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
5909
|
+
}, "strip", z.ZodTypeAny, {
|
|
5910
|
+
type: NodeType.ACTION;
|
|
5911
|
+
id: string;
|
|
5912
|
+
config: {
|
|
5913
|
+
target: "custom" | "change-email" | "account";
|
|
5914
|
+
next_node: string;
|
|
5915
|
+
action_type: "REDIRECT";
|
|
5916
|
+
custom_url?: string | undefined;
|
|
5917
|
+
} & {
|
|
5918
|
+
[k: string]: unknown;
|
|
5919
|
+
};
|
|
5920
|
+
coordinates: {
|
|
5921
|
+
x: number;
|
|
5922
|
+
y: number;
|
|
5923
|
+
};
|
|
5924
|
+
alias?: string | undefined;
|
|
5925
|
+
}, {
|
|
5926
|
+
type: NodeType.ACTION;
|
|
5927
|
+
id: string;
|
|
5928
|
+
config: {
|
|
5929
|
+
target: "custom" | "change-email" | "account";
|
|
5930
|
+
next_node: string;
|
|
5931
|
+
action_type: "REDIRECT";
|
|
5932
|
+
custom_url?: string | undefined;
|
|
5933
|
+
} & {
|
|
5934
|
+
[k: string]: unknown;
|
|
5935
|
+
};
|
|
5936
|
+
coordinates: {
|
|
5937
|
+
x: number;
|
|
5938
|
+
y: number;
|
|
5939
|
+
};
|
|
5940
|
+
alias?: string | undefined;
|
|
5941
|
+
}>,
|
|
4622
5942
|
z.ZodObject<{
|
|
4623
5943
|
id: z.ZodString;
|
|
4624
5944
|
type: z.ZodString;
|
|
@@ -5459,6 +6779,87 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
5459
6779
|
};
|
|
5460
6780
|
alias?: string | undefined;
|
|
5461
6781
|
}>,
|
|
6782
|
+
z.ZodObject<{
|
|
6783
|
+
id: z.ZodString;
|
|
6784
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
6785
|
+
coordinates: z.ZodObject<{
|
|
6786
|
+
x: z.ZodNumber;
|
|
6787
|
+
y: z.ZodNumber;
|
|
6788
|
+
}, "strip", z.ZodTypeAny, {
|
|
6789
|
+
x: number;
|
|
6790
|
+
y: number;
|
|
6791
|
+
}, {
|
|
6792
|
+
x: number;
|
|
6793
|
+
y: number;
|
|
6794
|
+
}>;
|
|
6795
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
6796
|
+
config: z.ZodObject<{
|
|
6797
|
+
action_type: z.ZodEnum<[
|
|
6798
|
+
"REDIRECT"
|
|
6799
|
+
]>;
|
|
6800
|
+
target: z.ZodEnum<[
|
|
6801
|
+
"change-email",
|
|
6802
|
+
"account",
|
|
6803
|
+
"custom"
|
|
6804
|
+
]>;
|
|
6805
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6806
|
+
next_node: z.ZodString;
|
|
6807
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6808
|
+
action_type: z.ZodEnum<[
|
|
6809
|
+
"REDIRECT"
|
|
6810
|
+
]>;
|
|
6811
|
+
target: z.ZodEnum<[
|
|
6812
|
+
"change-email",
|
|
6813
|
+
"account",
|
|
6814
|
+
"custom"
|
|
6815
|
+
]>;
|
|
6816
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6817
|
+
next_node: z.ZodString;
|
|
6818
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6819
|
+
action_type: z.ZodEnum<[
|
|
6820
|
+
"REDIRECT"
|
|
6821
|
+
]>;
|
|
6822
|
+
target: z.ZodEnum<[
|
|
6823
|
+
"change-email",
|
|
6824
|
+
"account",
|
|
6825
|
+
"custom"
|
|
6826
|
+
]>;
|
|
6827
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6828
|
+
next_node: z.ZodString;
|
|
6829
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6830
|
+
}, "strip", z.ZodTypeAny, {
|
|
6831
|
+
type: NodeType.ACTION;
|
|
6832
|
+
id: string;
|
|
6833
|
+
config: {
|
|
6834
|
+
target: "custom" | "change-email" | "account";
|
|
6835
|
+
next_node: string;
|
|
6836
|
+
action_type: "REDIRECT";
|
|
6837
|
+
custom_url?: string | undefined;
|
|
6838
|
+
} & {
|
|
6839
|
+
[k: string]: unknown;
|
|
6840
|
+
};
|
|
6841
|
+
coordinates: {
|
|
6842
|
+
x: number;
|
|
6843
|
+
y: number;
|
|
6844
|
+
};
|
|
6845
|
+
alias?: string | undefined;
|
|
6846
|
+
}, {
|
|
6847
|
+
type: NodeType.ACTION;
|
|
6848
|
+
id: string;
|
|
6849
|
+
config: {
|
|
6850
|
+
target: "custom" | "change-email" | "account";
|
|
6851
|
+
next_node: string;
|
|
6852
|
+
action_type: "REDIRECT";
|
|
6853
|
+
custom_url?: string | undefined;
|
|
6854
|
+
} & {
|
|
6855
|
+
[k: string]: unknown;
|
|
6856
|
+
};
|
|
6857
|
+
coordinates: {
|
|
6858
|
+
x: number;
|
|
6859
|
+
y: number;
|
|
6860
|
+
};
|
|
6861
|
+
alias?: string | undefined;
|
|
6862
|
+
}>,
|
|
5462
6863
|
z.ZodObject<{
|
|
5463
6864
|
id: z.ZodString;
|
|
5464
6865
|
type: z.ZodString;
|
|
@@ -6301,6 +7702,87 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
6301
7702
|
};
|
|
6302
7703
|
alias?: string | undefined;
|
|
6303
7704
|
}>,
|
|
7705
|
+
z.ZodObject<{
|
|
7706
|
+
id: z.ZodString;
|
|
7707
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
7708
|
+
coordinates: z.ZodObject<{
|
|
7709
|
+
x: z.ZodNumber;
|
|
7710
|
+
y: z.ZodNumber;
|
|
7711
|
+
}, "strip", z.ZodTypeAny, {
|
|
7712
|
+
x: number;
|
|
7713
|
+
y: number;
|
|
7714
|
+
}, {
|
|
7715
|
+
x: number;
|
|
7716
|
+
y: number;
|
|
7717
|
+
}>;
|
|
7718
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
7719
|
+
config: z.ZodObject<{
|
|
7720
|
+
action_type: z.ZodEnum<[
|
|
7721
|
+
"REDIRECT"
|
|
7722
|
+
]>;
|
|
7723
|
+
target: z.ZodEnum<[
|
|
7724
|
+
"change-email",
|
|
7725
|
+
"account",
|
|
7726
|
+
"custom"
|
|
7727
|
+
]>;
|
|
7728
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7729
|
+
next_node: z.ZodString;
|
|
7730
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7731
|
+
action_type: z.ZodEnum<[
|
|
7732
|
+
"REDIRECT"
|
|
7733
|
+
]>;
|
|
7734
|
+
target: z.ZodEnum<[
|
|
7735
|
+
"change-email",
|
|
7736
|
+
"account",
|
|
7737
|
+
"custom"
|
|
7738
|
+
]>;
|
|
7739
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7740
|
+
next_node: z.ZodString;
|
|
7741
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7742
|
+
action_type: z.ZodEnum<[
|
|
7743
|
+
"REDIRECT"
|
|
7744
|
+
]>;
|
|
7745
|
+
target: z.ZodEnum<[
|
|
7746
|
+
"change-email",
|
|
7747
|
+
"account",
|
|
7748
|
+
"custom"
|
|
7749
|
+
]>;
|
|
7750
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7751
|
+
next_node: z.ZodString;
|
|
7752
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7753
|
+
}, "strip", z.ZodTypeAny, {
|
|
7754
|
+
type: NodeType.ACTION;
|
|
7755
|
+
id: string;
|
|
7756
|
+
config: {
|
|
7757
|
+
target: "custom" | "change-email" | "account";
|
|
7758
|
+
next_node: string;
|
|
7759
|
+
action_type: "REDIRECT";
|
|
7760
|
+
custom_url?: string | undefined;
|
|
7761
|
+
} & {
|
|
7762
|
+
[k: string]: unknown;
|
|
7763
|
+
};
|
|
7764
|
+
coordinates: {
|
|
7765
|
+
x: number;
|
|
7766
|
+
y: number;
|
|
7767
|
+
};
|
|
7768
|
+
alias?: string | undefined;
|
|
7769
|
+
}, {
|
|
7770
|
+
type: NodeType.ACTION;
|
|
7771
|
+
id: string;
|
|
7772
|
+
config: {
|
|
7773
|
+
target: "custom" | "change-email" | "account";
|
|
7774
|
+
next_node: string;
|
|
7775
|
+
action_type: "REDIRECT";
|
|
7776
|
+
custom_url?: string | undefined;
|
|
7777
|
+
} & {
|
|
7778
|
+
[k: string]: unknown;
|
|
7779
|
+
};
|
|
7780
|
+
coordinates: {
|
|
7781
|
+
x: number;
|
|
7782
|
+
y: number;
|
|
7783
|
+
};
|
|
7784
|
+
alias?: string | undefined;
|
|
7785
|
+
}>,
|
|
6304
7786
|
z.ZodObject<{
|
|
6305
7787
|
id: z.ZodString;
|
|
6306
7788
|
type: z.ZodString;
|
|
@@ -7141,6 +8623,87 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
7141
8623
|
};
|
|
7142
8624
|
alias?: string | undefined;
|
|
7143
8625
|
}>,
|
|
8626
|
+
z.ZodObject<{
|
|
8627
|
+
id: z.ZodString;
|
|
8628
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
8629
|
+
coordinates: z.ZodObject<{
|
|
8630
|
+
x: z.ZodNumber;
|
|
8631
|
+
y: z.ZodNumber;
|
|
8632
|
+
}, "strip", z.ZodTypeAny, {
|
|
8633
|
+
x: number;
|
|
8634
|
+
y: number;
|
|
8635
|
+
}, {
|
|
8636
|
+
x: number;
|
|
8637
|
+
y: number;
|
|
8638
|
+
}>;
|
|
8639
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
8640
|
+
config: z.ZodObject<{
|
|
8641
|
+
action_type: z.ZodEnum<[
|
|
8642
|
+
"REDIRECT"
|
|
8643
|
+
]>;
|
|
8644
|
+
target: z.ZodEnum<[
|
|
8645
|
+
"change-email",
|
|
8646
|
+
"account",
|
|
8647
|
+
"custom"
|
|
8648
|
+
]>;
|
|
8649
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8650
|
+
next_node: z.ZodString;
|
|
8651
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8652
|
+
action_type: z.ZodEnum<[
|
|
8653
|
+
"REDIRECT"
|
|
8654
|
+
]>;
|
|
8655
|
+
target: z.ZodEnum<[
|
|
8656
|
+
"change-email",
|
|
8657
|
+
"account",
|
|
8658
|
+
"custom"
|
|
8659
|
+
]>;
|
|
8660
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8661
|
+
next_node: z.ZodString;
|
|
8662
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8663
|
+
action_type: z.ZodEnum<[
|
|
8664
|
+
"REDIRECT"
|
|
8665
|
+
]>;
|
|
8666
|
+
target: z.ZodEnum<[
|
|
8667
|
+
"change-email",
|
|
8668
|
+
"account",
|
|
8669
|
+
"custom"
|
|
8670
|
+
]>;
|
|
8671
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8672
|
+
next_node: z.ZodString;
|
|
8673
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
8674
|
+
}, "strip", z.ZodTypeAny, {
|
|
8675
|
+
type: NodeType.ACTION;
|
|
8676
|
+
id: string;
|
|
8677
|
+
config: {
|
|
8678
|
+
target: "custom" | "change-email" | "account";
|
|
8679
|
+
next_node: string;
|
|
8680
|
+
action_type: "REDIRECT";
|
|
8681
|
+
custom_url?: string | undefined;
|
|
8682
|
+
} & {
|
|
8683
|
+
[k: string]: unknown;
|
|
8684
|
+
};
|
|
8685
|
+
coordinates: {
|
|
8686
|
+
x: number;
|
|
8687
|
+
y: number;
|
|
8688
|
+
};
|
|
8689
|
+
alias?: string | undefined;
|
|
8690
|
+
}, {
|
|
8691
|
+
type: NodeType.ACTION;
|
|
8692
|
+
id: string;
|
|
8693
|
+
config: {
|
|
8694
|
+
target: "custom" | "change-email" | "account";
|
|
8695
|
+
next_node: string;
|
|
8696
|
+
action_type: "REDIRECT";
|
|
8697
|
+
custom_url?: string | undefined;
|
|
8698
|
+
} & {
|
|
8699
|
+
[k: string]: unknown;
|
|
8700
|
+
};
|
|
8701
|
+
coordinates: {
|
|
8702
|
+
x: number;
|
|
8703
|
+
y: number;
|
|
8704
|
+
};
|
|
8705
|
+
alias?: string | undefined;
|
|
8706
|
+
}>,
|
|
7144
8707
|
z.ZodObject<{
|
|
7145
8708
|
id: z.ZodString;
|
|
7146
8709
|
type: z.ZodString;
|
|
@@ -7934,7 +9497,56 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
7934
9497
|
}>,
|
|
7935
9498
|
z.ZodObject<{
|
|
7936
9499
|
id: z.ZodString;
|
|
7937
|
-
type: z.ZodLiteral<NodeType.FLOW>;
|
|
9500
|
+
type: z.ZodLiteral<NodeType.FLOW>;
|
|
9501
|
+
coordinates: z.ZodObject<{
|
|
9502
|
+
x: z.ZodNumber;
|
|
9503
|
+
y: z.ZodNumber;
|
|
9504
|
+
}, "strip", z.ZodTypeAny, {
|
|
9505
|
+
x: number;
|
|
9506
|
+
y: number;
|
|
9507
|
+
}, {
|
|
9508
|
+
x: number;
|
|
9509
|
+
y: number;
|
|
9510
|
+
}>;
|
|
9511
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
9512
|
+
config: z.ZodObject<{
|
|
9513
|
+
flow_id: z.ZodString;
|
|
9514
|
+
next_node: z.ZodString;
|
|
9515
|
+
}, "strip", z.ZodTypeAny, {
|
|
9516
|
+
next_node: string;
|
|
9517
|
+
flow_id: string;
|
|
9518
|
+
}, {
|
|
9519
|
+
next_node: string;
|
|
9520
|
+
flow_id: string;
|
|
9521
|
+
}>;
|
|
9522
|
+
}, "strip", z.ZodTypeAny, {
|
|
9523
|
+
type: NodeType.FLOW;
|
|
9524
|
+
id: string;
|
|
9525
|
+
config: {
|
|
9526
|
+
next_node: string;
|
|
9527
|
+
flow_id: string;
|
|
9528
|
+
};
|
|
9529
|
+
coordinates: {
|
|
9530
|
+
x: number;
|
|
9531
|
+
y: number;
|
|
9532
|
+
};
|
|
9533
|
+
alias?: string | undefined;
|
|
9534
|
+
}, {
|
|
9535
|
+
type: NodeType.FLOW;
|
|
9536
|
+
id: string;
|
|
9537
|
+
config: {
|
|
9538
|
+
next_node: string;
|
|
9539
|
+
flow_id: string;
|
|
9540
|
+
};
|
|
9541
|
+
coordinates: {
|
|
9542
|
+
x: number;
|
|
9543
|
+
y: number;
|
|
9544
|
+
};
|
|
9545
|
+
alias?: string | undefined;
|
|
9546
|
+
}>,
|
|
9547
|
+
z.ZodObject<{
|
|
9548
|
+
id: z.ZodString;
|
|
9549
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
7938
9550
|
coordinates: z.ZodObject<{
|
|
7939
9551
|
x: z.ZodNumber;
|
|
7940
9552
|
y: z.ZodNumber;
|
|
@@ -7947,21 +9559,49 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
7947
9559
|
}>;
|
|
7948
9560
|
alias: z.ZodOptional<z.ZodString>;
|
|
7949
9561
|
config: z.ZodObject<{
|
|
7950
|
-
|
|
9562
|
+
action_type: z.ZodEnum<[
|
|
9563
|
+
"REDIRECT"
|
|
9564
|
+
]>;
|
|
9565
|
+
target: z.ZodEnum<[
|
|
9566
|
+
"change-email",
|
|
9567
|
+
"account",
|
|
9568
|
+
"custom"
|
|
9569
|
+
]>;
|
|
9570
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7951
9571
|
next_node: z.ZodString;
|
|
7952
|
-
}, "
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
9572
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9573
|
+
action_type: z.ZodEnum<[
|
|
9574
|
+
"REDIRECT"
|
|
9575
|
+
]>;
|
|
9576
|
+
target: z.ZodEnum<[
|
|
9577
|
+
"change-email",
|
|
9578
|
+
"account",
|
|
9579
|
+
"custom"
|
|
9580
|
+
]>;
|
|
9581
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
9582
|
+
next_node: z.ZodString;
|
|
9583
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9584
|
+
action_type: z.ZodEnum<[
|
|
9585
|
+
"REDIRECT"
|
|
9586
|
+
]>;
|
|
9587
|
+
target: z.ZodEnum<[
|
|
9588
|
+
"change-email",
|
|
9589
|
+
"account",
|
|
9590
|
+
"custom"
|
|
9591
|
+
]>;
|
|
9592
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
9593
|
+
next_node: z.ZodString;
|
|
9594
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7959
9595
|
}, "strip", z.ZodTypeAny, {
|
|
7960
|
-
type: NodeType.
|
|
9596
|
+
type: NodeType.ACTION;
|
|
7961
9597
|
id: string;
|
|
7962
9598
|
config: {
|
|
9599
|
+
target: "custom" | "change-email" | "account";
|
|
7963
9600
|
next_node: string;
|
|
7964
|
-
|
|
9601
|
+
action_type: "REDIRECT";
|
|
9602
|
+
custom_url?: string | undefined;
|
|
9603
|
+
} & {
|
|
9604
|
+
[k: string]: unknown;
|
|
7965
9605
|
};
|
|
7966
9606
|
coordinates: {
|
|
7967
9607
|
x: number;
|
|
@@ -7969,11 +9609,15 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
7969
9609
|
};
|
|
7970
9610
|
alias?: string | undefined;
|
|
7971
9611
|
}, {
|
|
7972
|
-
type: NodeType.
|
|
9612
|
+
type: NodeType.ACTION;
|
|
7973
9613
|
id: string;
|
|
7974
9614
|
config: {
|
|
9615
|
+
target: "custom" | "change-email" | "account";
|
|
7975
9616
|
next_node: string;
|
|
7976
|
-
|
|
9617
|
+
action_type: "REDIRECT";
|
|
9618
|
+
custom_url?: string | undefined;
|
|
9619
|
+
} & {
|
|
9620
|
+
[k: string]: unknown;
|
|
7977
9621
|
};
|
|
7978
9622
|
coordinates: {
|
|
7979
9623
|
x: number;
|
|
@@ -8514,8 +10158,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8514
10158
|
}, "strip", z.ZodTypeAny, {
|
|
8515
10159
|
created_at: string;
|
|
8516
10160
|
updated_at: string;
|
|
8517
|
-
audience: string;
|
|
8518
10161
|
id: string;
|
|
10162
|
+
audience: string;
|
|
8519
10163
|
friendly_name: string;
|
|
8520
10164
|
sender_email: string;
|
|
8521
10165
|
sender_name: string;
|
|
@@ -8614,8 +10258,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8614
10258
|
}, {
|
|
8615
10259
|
created_at: string | null;
|
|
8616
10260
|
updated_at: string | null;
|
|
8617
|
-
audience: string;
|
|
8618
10261
|
id: string;
|
|
10262
|
+
audience: string;
|
|
8619
10263
|
friendly_name: string;
|
|
8620
10264
|
sender_email: string;
|
|
8621
10265
|
sender_name: string;
|
|
@@ -8788,6 +10432,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8788
10432
|
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
8789
10433
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8790
10434
|
}, "strip", z.ZodTypeAny, {
|
|
10435
|
+
created_at: string;
|
|
10436
|
+
updated_at: string;
|
|
8791
10437
|
options: {
|
|
8792
10438
|
provider?: string | undefined;
|
|
8793
10439
|
client_id?: string | undefined;
|
|
@@ -8809,8 +10455,6 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8809
10455
|
twilio_token?: string | undefined;
|
|
8810
10456
|
icon_url?: string | undefined;
|
|
8811
10457
|
};
|
|
8812
|
-
created_at: string;
|
|
8813
|
-
updated_at: string;
|
|
8814
10458
|
name: string;
|
|
8815
10459
|
strategy: string;
|
|
8816
10460
|
id?: string | undefined;
|
|
@@ -8957,6 +10601,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8957
10601
|
is_first_party: boolean;
|
|
8958
10602
|
oidc_conformant: boolean;
|
|
8959
10603
|
connections: {
|
|
10604
|
+
created_at: string;
|
|
10605
|
+
updated_at: string;
|
|
8960
10606
|
options: {
|
|
8961
10607
|
provider?: string | undefined;
|
|
8962
10608
|
client_id?: string | undefined;
|
|
@@ -8978,8 +10624,6 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8978
10624
|
twilio_token?: string | undefined;
|
|
8979
10625
|
icon_url?: string | undefined;
|
|
8980
10626
|
};
|
|
8981
|
-
created_at: string;
|
|
8982
|
-
updated_at: string;
|
|
8983
10627
|
name: string;
|
|
8984
10628
|
strategy: string;
|
|
8985
10629
|
id?: string | undefined;
|
|
@@ -9000,8 +10644,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
9000
10644
|
tenant: {
|
|
9001
10645
|
created_at: string;
|
|
9002
10646
|
updated_at: string;
|
|
9003
|
-
audience: string;
|
|
9004
10647
|
id: string;
|
|
10648
|
+
audience: string;
|
|
9005
10649
|
friendly_name: string;
|
|
9006
10650
|
sender_email: string;
|
|
9007
10651
|
sender_name: string;
|
|
@@ -9176,8 +10820,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
9176
10820
|
tenant: {
|
|
9177
10821
|
created_at: string | null;
|
|
9178
10822
|
updated_at: string | null;
|
|
9179
|
-
audience: string;
|
|
9180
10823
|
id: string;
|
|
10824
|
+
audience: string;
|
|
9181
10825
|
friendly_name: string;
|
|
9182
10826
|
sender_email: string;
|
|
9183
10827
|
sender_name: string;
|
|
@@ -9358,13 +11002,13 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
9358
11002
|
login_id: string;
|
|
9359
11003
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9360
11004
|
expires_at: string;
|
|
11005
|
+
connection_id?: string | undefined;
|
|
9361
11006
|
user_id?: string | undefined;
|
|
9362
11007
|
redirect_uri?: string | undefined;
|
|
9363
11008
|
state?: string | undefined;
|
|
9364
11009
|
nonce?: string | undefined;
|
|
9365
11010
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9366
11011
|
code_challenge?: string | undefined;
|
|
9367
|
-
connection_id?: string | undefined;
|
|
9368
11012
|
code_verifier?: string | undefined;
|
|
9369
11013
|
used_at?: string | undefined;
|
|
9370
11014
|
}, {
|
|
@@ -9372,13 +11016,13 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
9372
11016
|
login_id: string;
|
|
9373
11017
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9374
11018
|
expires_at: string;
|
|
11019
|
+
connection_id?: string | undefined;
|
|
9375
11020
|
user_id?: string | undefined;
|
|
9376
11021
|
redirect_uri?: string | undefined;
|
|
9377
11022
|
state?: string | undefined;
|
|
9378
11023
|
nonce?: string | undefined;
|
|
9379
11024
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9380
11025
|
code_challenge?: string | undefined;
|
|
9381
|
-
connection_id?: string | undefined;
|
|
9382
11026
|
code_verifier?: string | undefined;
|
|
9383
11027
|
used_at?: string | undefined;
|
|
9384
11028
|
}>;
|
|
@@ -9414,13 +11058,13 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
9414
11058
|
login_id: string;
|
|
9415
11059
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9416
11060
|
expires_at: string;
|
|
11061
|
+
connection_id?: string | undefined;
|
|
9417
11062
|
user_id?: string | undefined;
|
|
9418
11063
|
redirect_uri?: string | undefined;
|
|
9419
11064
|
state?: string | undefined;
|
|
9420
11065
|
nonce?: string | undefined;
|
|
9421
11066
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9422
11067
|
code_challenge?: string | undefined;
|
|
9423
|
-
connection_id?: string | undefined;
|
|
9424
11068
|
code_verifier?: string | undefined;
|
|
9425
11069
|
used_at?: string | undefined;
|
|
9426
11070
|
}, {
|
|
@@ -9429,13 +11073,13 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
9429
11073
|
login_id: string;
|
|
9430
11074
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9431
11075
|
expires_at: string;
|
|
11076
|
+
connection_id?: string | undefined;
|
|
9432
11077
|
user_id?: string | undefined;
|
|
9433
11078
|
redirect_uri?: string | undefined;
|
|
9434
11079
|
state?: string | undefined;
|
|
9435
11080
|
nonce?: string | undefined;
|
|
9436
11081
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9437
11082
|
code_challenge?: string | undefined;
|
|
9438
|
-
connection_id?: string | undefined;
|
|
9439
11083
|
code_verifier?: string | undefined;
|
|
9440
11084
|
used_at?: string | undefined;
|
|
9441
11085
|
}>;
|
|
@@ -9715,6 +11359,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
9715
11359
|
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
9716
11360
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9717
11361
|
}, "strip", z.ZodTypeAny, {
|
|
11362
|
+
created_at: string;
|
|
11363
|
+
updated_at: string;
|
|
9718
11364
|
options: {
|
|
9719
11365
|
provider?: string | undefined;
|
|
9720
11366
|
client_id?: string | undefined;
|
|
@@ -9736,8 +11382,6 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
9736
11382
|
twilio_token?: string | undefined;
|
|
9737
11383
|
icon_url?: string | undefined;
|
|
9738
11384
|
};
|
|
9739
|
-
created_at: string;
|
|
9740
|
-
updated_at: string;
|
|
9741
11385
|
name: string;
|
|
9742
11386
|
strategy: string;
|
|
9743
11387
|
id?: string | undefined;
|
|
@@ -10482,6 +12126,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10482
12126
|
}, "strip", z.ZodTypeAny, {
|
|
10483
12127
|
type: "ROUTER";
|
|
10484
12128
|
id: string;
|
|
12129
|
+
alias: string;
|
|
10485
12130
|
config: {
|
|
10486
12131
|
rules: {
|
|
10487
12132
|
id: string;
|
|
@@ -10495,10 +12140,10 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10495
12140
|
x: number;
|
|
10496
12141
|
y: number;
|
|
10497
12142
|
};
|
|
10498
|
-
alias: string;
|
|
10499
12143
|
}, {
|
|
10500
12144
|
type: "ROUTER";
|
|
10501
12145
|
id: string;
|
|
12146
|
+
alias: string;
|
|
10502
12147
|
config: {
|
|
10503
12148
|
rules: {
|
|
10504
12149
|
id: string;
|
|
@@ -10512,7 +12157,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10512
12157
|
x: number;
|
|
10513
12158
|
y: number;
|
|
10514
12159
|
};
|
|
10515
|
-
alias: string;
|
|
10516
12160
|
}>,
|
|
10517
12161
|
z.ZodObject<{
|
|
10518
12162
|
id: z.ZodString;
|
|
@@ -11212,11 +12856,11 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11212
12856
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
11213
12857
|
target: z.ZodOptional<z.ZodString>;
|
|
11214
12858
|
}, "strip", z.ZodTypeAny, {
|
|
11215
|
-
delay?: number | undefined;
|
|
11216
12859
|
target?: string | undefined;
|
|
11217
|
-
}, {
|
|
11218
12860
|
delay?: number | undefined;
|
|
12861
|
+
}, {
|
|
11219
12862
|
target?: string | undefined;
|
|
12863
|
+
delay?: number | undefined;
|
|
11220
12864
|
}>>;
|
|
11221
12865
|
after_submit: z.ZodOptional<z.ZodObject<{
|
|
11222
12866
|
flow_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11243,8 +12887,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11243
12887
|
} | undefined;
|
|
11244
12888
|
resume_flow?: boolean | undefined;
|
|
11245
12889
|
redirection?: {
|
|
11246
|
-
delay?: number | undefined;
|
|
11247
12890
|
target?: string | undefined;
|
|
12891
|
+
delay?: number | undefined;
|
|
11248
12892
|
} | undefined;
|
|
11249
12893
|
after_submit?: {
|
|
11250
12894
|
flow_id?: string | undefined;
|
|
@@ -11256,8 +12900,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11256
12900
|
} | undefined;
|
|
11257
12901
|
resume_flow?: boolean | undefined;
|
|
11258
12902
|
redirection?: {
|
|
11259
|
-
delay?: number | undefined;
|
|
11260
12903
|
target?: string | undefined;
|
|
12904
|
+
delay?: number | undefined;
|
|
11261
12905
|
} | undefined;
|
|
11262
12906
|
after_submit?: {
|
|
11263
12907
|
flow_id?: string | undefined;
|
|
@@ -11272,6 +12916,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11272
12916
|
}>>;
|
|
11273
12917
|
}, "strip", z.ZodTypeAny, {
|
|
11274
12918
|
name: string;
|
|
12919
|
+
style?: {
|
|
12920
|
+
css?: string | undefined;
|
|
12921
|
+
} | undefined;
|
|
11275
12922
|
start?: {
|
|
11276
12923
|
coordinates?: {
|
|
11277
12924
|
x: number;
|
|
@@ -11283,9 +12930,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11283
12930
|
key: string;
|
|
11284
12931
|
}[] | undefined;
|
|
11285
12932
|
} | undefined;
|
|
11286
|
-
style?: {
|
|
11287
|
-
css?: string | undefined;
|
|
11288
|
-
} | undefined;
|
|
11289
12933
|
languages?: {
|
|
11290
12934
|
default?: string | undefined;
|
|
11291
12935
|
primary?: string | undefined;
|
|
@@ -11305,6 +12949,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11305
12949
|
} | {
|
|
11306
12950
|
type: "ROUTER";
|
|
11307
12951
|
id: string;
|
|
12952
|
+
alias: string;
|
|
11308
12953
|
config: {
|
|
11309
12954
|
rules: {
|
|
11310
12955
|
id: string;
|
|
@@ -11318,7 +12963,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11318
12963
|
x: number;
|
|
11319
12964
|
y: number;
|
|
11320
12965
|
};
|
|
11321
|
-
alias: string;
|
|
11322
12966
|
} | {
|
|
11323
12967
|
type: "STEP";
|
|
11324
12968
|
id: string;
|
|
@@ -11416,8 +13060,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11416
13060
|
} | undefined;
|
|
11417
13061
|
resume_flow?: boolean | undefined;
|
|
11418
13062
|
redirection?: {
|
|
11419
|
-
delay?: number | undefined;
|
|
11420
13063
|
target?: string | undefined;
|
|
13064
|
+
delay?: number | undefined;
|
|
11421
13065
|
} | undefined;
|
|
11422
13066
|
after_submit?: {
|
|
11423
13067
|
flow_id?: string | undefined;
|
|
@@ -11430,6 +13074,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11430
13074
|
translations?: Record<string, any> | undefined;
|
|
11431
13075
|
}, {
|
|
11432
13076
|
name: string;
|
|
13077
|
+
style?: {
|
|
13078
|
+
css?: string | undefined;
|
|
13079
|
+
} | undefined;
|
|
11433
13080
|
start?: {
|
|
11434
13081
|
coordinates?: {
|
|
11435
13082
|
x: number;
|
|
@@ -11441,9 +13088,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11441
13088
|
key: string;
|
|
11442
13089
|
}[] | undefined;
|
|
11443
13090
|
} | undefined;
|
|
11444
|
-
style?: {
|
|
11445
|
-
css?: string | undefined;
|
|
11446
|
-
} | undefined;
|
|
11447
13091
|
languages?: {
|
|
11448
13092
|
default?: string | undefined;
|
|
11449
13093
|
primary?: string | undefined;
|
|
@@ -11463,6 +13107,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11463
13107
|
} | {
|
|
11464
13108
|
type: "ROUTER";
|
|
11465
13109
|
id: string;
|
|
13110
|
+
alias: string;
|
|
11466
13111
|
config: {
|
|
11467
13112
|
rules: {
|
|
11468
13113
|
id: string;
|
|
@@ -11476,7 +13121,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11476
13121
|
x: number;
|
|
11477
13122
|
y: number;
|
|
11478
13123
|
};
|
|
11479
|
-
alias: string;
|
|
11480
13124
|
} | {
|
|
11481
13125
|
type: "STEP";
|
|
11482
13126
|
id: string;
|
|
@@ -11574,8 +13218,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11574
13218
|
} | undefined;
|
|
11575
13219
|
resume_flow?: boolean | undefined;
|
|
11576
13220
|
redirection?: {
|
|
11577
|
-
delay?: number | undefined;
|
|
11578
13221
|
target?: string | undefined;
|
|
13222
|
+
delay?: number | undefined;
|
|
11579
13223
|
} | undefined;
|
|
11580
13224
|
after_submit?: {
|
|
11581
13225
|
flow_id?: string | undefined;
|
|
@@ -11717,6 +13361,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11717
13361
|
}, "strip", z.ZodTypeAny, {
|
|
11718
13362
|
type: "ROUTER";
|
|
11719
13363
|
id: string;
|
|
13364
|
+
alias: string;
|
|
11720
13365
|
config: {
|
|
11721
13366
|
rules: {
|
|
11722
13367
|
id: string;
|
|
@@ -11730,10 +13375,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11730
13375
|
x: number;
|
|
11731
13376
|
y: number;
|
|
11732
13377
|
};
|
|
11733
|
-
alias: string;
|
|
11734
13378
|
}, {
|
|
11735
13379
|
type: "ROUTER";
|
|
11736
13380
|
id: string;
|
|
13381
|
+
alias: string;
|
|
11737
13382
|
config: {
|
|
11738
13383
|
rules: {
|
|
11739
13384
|
id: string;
|
|
@@ -11747,7 +13392,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11747
13392
|
x: number;
|
|
11748
13393
|
y: number;
|
|
11749
13394
|
};
|
|
11750
|
-
alias: string;
|
|
11751
13395
|
}>,
|
|
11752
13396
|
z.ZodObject<{
|
|
11753
13397
|
id: z.ZodString;
|
|
@@ -12447,11 +14091,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12447
14091
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
12448
14092
|
target: z.ZodOptional<z.ZodString>;
|
|
12449
14093
|
}, "strip", z.ZodTypeAny, {
|
|
12450
|
-
delay?: number | undefined;
|
|
12451
14094
|
target?: string | undefined;
|
|
12452
|
-
}, {
|
|
12453
14095
|
delay?: number | undefined;
|
|
14096
|
+
}, {
|
|
12454
14097
|
target?: string | undefined;
|
|
14098
|
+
delay?: number | undefined;
|
|
12455
14099
|
}>>;
|
|
12456
14100
|
after_submit: z.ZodOptional<z.ZodObject<{
|
|
12457
14101
|
flow_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12478,8 +14122,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12478
14122
|
} | undefined;
|
|
12479
14123
|
resume_flow?: boolean | undefined;
|
|
12480
14124
|
redirection?: {
|
|
12481
|
-
delay?: number | undefined;
|
|
12482
14125
|
target?: string | undefined;
|
|
14126
|
+
delay?: number | undefined;
|
|
12483
14127
|
} | undefined;
|
|
12484
14128
|
after_submit?: {
|
|
12485
14129
|
flow_id?: string | undefined;
|
|
@@ -12491,8 +14135,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12491
14135
|
} | undefined;
|
|
12492
14136
|
resume_flow?: boolean | undefined;
|
|
12493
14137
|
redirection?: {
|
|
12494
|
-
delay?: number | undefined;
|
|
12495
14138
|
target?: string | undefined;
|
|
14139
|
+
delay?: number | undefined;
|
|
12496
14140
|
} | undefined;
|
|
12497
14141
|
after_submit?: {
|
|
12498
14142
|
flow_id?: string | undefined;
|
|
@@ -12510,8 +14154,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12510
14154
|
}, "strip", z.ZodTypeAny, {
|
|
12511
14155
|
created_at: string;
|
|
12512
14156
|
updated_at: string;
|
|
12513
|
-
name: string;
|
|
12514
14157
|
id: string;
|
|
14158
|
+
name: string;
|
|
14159
|
+
style?: {
|
|
14160
|
+
css?: string | undefined;
|
|
14161
|
+
} | undefined;
|
|
12515
14162
|
start?: {
|
|
12516
14163
|
coordinates?: {
|
|
12517
14164
|
x: number;
|
|
@@ -12523,9 +14170,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12523
14170
|
key: string;
|
|
12524
14171
|
}[] | undefined;
|
|
12525
14172
|
} | undefined;
|
|
12526
|
-
style?: {
|
|
12527
|
-
css?: string | undefined;
|
|
12528
|
-
} | undefined;
|
|
12529
14173
|
languages?: {
|
|
12530
14174
|
default?: string | undefined;
|
|
12531
14175
|
primary?: string | undefined;
|
|
@@ -12545,6 +14189,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12545
14189
|
} | {
|
|
12546
14190
|
type: "ROUTER";
|
|
12547
14191
|
id: string;
|
|
14192
|
+
alias: string;
|
|
12548
14193
|
config: {
|
|
12549
14194
|
rules: {
|
|
12550
14195
|
id: string;
|
|
@@ -12558,7 +14203,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12558
14203
|
x: number;
|
|
12559
14204
|
y: number;
|
|
12560
14205
|
};
|
|
12561
|
-
alias: string;
|
|
12562
14206
|
} | {
|
|
12563
14207
|
type: "STEP";
|
|
12564
14208
|
id: string;
|
|
@@ -12656,8 +14300,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12656
14300
|
} | undefined;
|
|
12657
14301
|
resume_flow?: boolean | undefined;
|
|
12658
14302
|
redirection?: {
|
|
12659
|
-
delay?: number | undefined;
|
|
12660
14303
|
target?: string | undefined;
|
|
14304
|
+
delay?: number | undefined;
|
|
12661
14305
|
} | undefined;
|
|
12662
14306
|
after_submit?: {
|
|
12663
14307
|
flow_id?: string | undefined;
|
|
@@ -12671,8 +14315,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12671
14315
|
}, {
|
|
12672
14316
|
created_at: string;
|
|
12673
14317
|
updated_at: string;
|
|
12674
|
-
name: string;
|
|
12675
14318
|
id: string;
|
|
14319
|
+
name: string;
|
|
14320
|
+
style?: {
|
|
14321
|
+
css?: string | undefined;
|
|
14322
|
+
} | undefined;
|
|
12676
14323
|
start?: {
|
|
12677
14324
|
coordinates?: {
|
|
12678
14325
|
x: number;
|
|
@@ -12684,9 +14331,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12684
14331
|
key: string;
|
|
12685
14332
|
}[] | undefined;
|
|
12686
14333
|
} | undefined;
|
|
12687
|
-
style?: {
|
|
12688
|
-
css?: string | undefined;
|
|
12689
|
-
} | undefined;
|
|
12690
14334
|
languages?: {
|
|
12691
14335
|
default?: string | undefined;
|
|
12692
14336
|
primary?: string | undefined;
|
|
@@ -12706,6 +14350,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12706
14350
|
} | {
|
|
12707
14351
|
type: "ROUTER";
|
|
12708
14352
|
id: string;
|
|
14353
|
+
alias: string;
|
|
12709
14354
|
config: {
|
|
12710
14355
|
rules: {
|
|
12711
14356
|
id: string;
|
|
@@ -12719,7 +14364,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12719
14364
|
x: number;
|
|
12720
14365
|
y: number;
|
|
12721
14366
|
};
|
|
12722
|
-
alias: string;
|
|
12723
14367
|
} | {
|
|
12724
14368
|
type: "STEP";
|
|
12725
14369
|
id: string;
|
|
@@ -12817,8 +14461,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12817
14461
|
} | undefined;
|
|
12818
14462
|
resume_flow?: boolean | undefined;
|
|
12819
14463
|
redirection?: {
|
|
12820
|
-
delay?: number | undefined;
|
|
12821
14464
|
target?: string | undefined;
|
|
14465
|
+
delay?: number | undefined;
|
|
12822
14466
|
} | undefined;
|
|
12823
14467
|
after_submit?: {
|
|
12824
14468
|
flow_id?: string | undefined;
|
|
@@ -13030,8 +14674,8 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
13030
14674
|
family_name: z.ZodOptional<z.ZodString>;
|
|
13031
14675
|
}, z.ZodAny, "strip">>>;
|
|
13032
14676
|
}, "strip", z.ZodTypeAny, {
|
|
13033
|
-
connection: string;
|
|
13034
14677
|
user_id: string;
|
|
14678
|
+
connection: string;
|
|
13035
14679
|
provider: string;
|
|
13036
14680
|
isSocial: boolean;
|
|
13037
14681
|
access_token?: string | undefined;
|
|
@@ -13048,8 +14692,8 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
13048
14692
|
family_name: z.ZodOptional<z.ZodString>;
|
|
13049
14693
|
}, z.ZodAny, "strip"> | undefined;
|
|
13050
14694
|
}, {
|
|
13051
|
-
connection: string;
|
|
13052
14695
|
user_id: string;
|
|
14696
|
+
connection: string;
|
|
13053
14697
|
provider: string;
|
|
13054
14698
|
isSocial: boolean;
|
|
13055
14699
|
access_token?: string | undefined;
|
|
@@ -13117,9 +14761,9 @@ export declare const inviteInsertSchema: z.ZodObject<{
|
|
|
13117
14761
|
email?: string | undefined;
|
|
13118
14762
|
};
|
|
13119
14763
|
invitation_url: string;
|
|
14764
|
+
connection_id?: string | undefined;
|
|
13120
14765
|
app_metadata?: Record<string, any> | undefined;
|
|
13121
14766
|
user_metadata?: Record<string, any> | undefined;
|
|
13122
|
-
connection_id?: string | undefined;
|
|
13123
14767
|
ttl_sec?: number | undefined;
|
|
13124
14768
|
roles?: string[] | undefined;
|
|
13125
14769
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13133,9 +14777,9 @@ export declare const inviteInsertSchema: z.ZodObject<{
|
|
|
13133
14777
|
email?: string | undefined;
|
|
13134
14778
|
};
|
|
13135
14779
|
invitation_url: string;
|
|
14780
|
+
connection_id?: string | undefined;
|
|
13136
14781
|
app_metadata?: Record<string, any> | undefined;
|
|
13137
14782
|
user_metadata?: Record<string, any> | undefined;
|
|
13138
|
-
connection_id?: string | undefined;
|
|
13139
14783
|
ttl_sec?: number | undefined;
|
|
13140
14784
|
roles?: string[] | undefined;
|
|
13141
14785
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13172,8 +14816,8 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13172
14816
|
send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13173
14817
|
}, "strip", z.ZodTypeAny, {
|
|
13174
14818
|
created_at: string;
|
|
13175
|
-
client_id: string;
|
|
13176
14819
|
id: string;
|
|
14820
|
+
client_id: string;
|
|
13177
14821
|
expires_at: string;
|
|
13178
14822
|
organization_id: string;
|
|
13179
14823
|
inviter: {
|
|
@@ -13183,17 +14827,17 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13183
14827
|
email?: string | undefined;
|
|
13184
14828
|
};
|
|
13185
14829
|
invitation_url: string;
|
|
14830
|
+
connection_id?: string | undefined;
|
|
13186
14831
|
app_metadata?: Record<string, any> | undefined;
|
|
13187
14832
|
user_metadata?: Record<string, any> | undefined;
|
|
13188
|
-
connection_id?: string | undefined;
|
|
13189
14833
|
ttl_sec?: number | undefined;
|
|
13190
14834
|
roles?: string[] | undefined;
|
|
13191
14835
|
send_invitation_email?: boolean | undefined;
|
|
13192
14836
|
ticket_id?: string | undefined;
|
|
13193
14837
|
}, {
|
|
13194
14838
|
created_at: string;
|
|
13195
|
-
client_id: string;
|
|
13196
14839
|
id: string;
|
|
14840
|
+
client_id: string;
|
|
13197
14841
|
expires_at: string;
|
|
13198
14842
|
organization_id: string;
|
|
13199
14843
|
inviter: {
|
|
@@ -13203,9 +14847,9 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13203
14847
|
email?: string | undefined;
|
|
13204
14848
|
};
|
|
13205
14849
|
invitation_url: string;
|
|
14850
|
+
connection_id?: string | undefined;
|
|
13206
14851
|
app_metadata?: Record<string, any> | undefined;
|
|
13207
14852
|
user_metadata?: Record<string, any> | undefined;
|
|
13208
|
-
connection_id?: string | undefined;
|
|
13209
14853
|
ttl_sec?: number | undefined;
|
|
13210
14854
|
roles?: string[] | undefined;
|
|
13211
14855
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13917,13 +15561,13 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
13917
15561
|
date: string;
|
|
13918
15562
|
isMobile: boolean;
|
|
13919
15563
|
description?: string | undefined;
|
|
13920
|
-
|
|
15564
|
+
connection_id?: string | undefined;
|
|
13921
15565
|
user_id?: string | undefined;
|
|
15566
|
+
connection?: string | undefined;
|
|
13922
15567
|
client_id?: string | undefined;
|
|
13923
15568
|
audience?: string | undefined;
|
|
13924
15569
|
scope?: string | undefined;
|
|
13925
15570
|
strategy?: string | undefined;
|
|
13926
|
-
connection_id?: string | undefined;
|
|
13927
15571
|
ip?: string | undefined;
|
|
13928
15572
|
user_agent?: string | undefined;
|
|
13929
15573
|
details?: any;
|
|
@@ -13952,13 +15596,13 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
13952
15596
|
date: string;
|
|
13953
15597
|
isMobile: boolean;
|
|
13954
15598
|
description?: string | undefined;
|
|
13955
|
-
|
|
15599
|
+
connection_id?: string | undefined;
|
|
13956
15600
|
user_id?: string | undefined;
|
|
15601
|
+
connection?: string | undefined;
|
|
13957
15602
|
client_id?: string | undefined;
|
|
13958
15603
|
audience?: string | undefined;
|
|
13959
15604
|
scope?: string | undefined;
|
|
13960
15605
|
strategy?: string | undefined;
|
|
13961
|
-
connection_id?: string | undefined;
|
|
13962
15606
|
ip?: string | undefined;
|
|
13963
15607
|
user_agent?: string | undefined;
|
|
13964
15608
|
details?: any;
|
|
@@ -14055,13 +15699,13 @@ export declare const logSchema: z.ZodObject<{
|
|
|
14055
15699
|
isMobile: boolean;
|
|
14056
15700
|
log_id: string;
|
|
14057
15701
|
description?: string | undefined;
|
|
14058
|
-
|
|
15702
|
+
connection_id?: string | undefined;
|
|
14059
15703
|
user_id?: string | undefined;
|
|
15704
|
+
connection?: string | undefined;
|
|
14060
15705
|
client_id?: string | undefined;
|
|
14061
15706
|
audience?: string | undefined;
|
|
14062
15707
|
scope?: string | undefined;
|
|
14063
15708
|
strategy?: string | undefined;
|
|
14064
|
-
connection_id?: string | undefined;
|
|
14065
15709
|
ip?: string | undefined;
|
|
14066
15710
|
user_agent?: string | undefined;
|
|
14067
15711
|
details?: any;
|
|
@@ -14090,13 +15734,13 @@ export declare const logSchema: z.ZodObject<{
|
|
|
14090
15734
|
isMobile: boolean;
|
|
14091
15735
|
log_id: string;
|
|
14092
15736
|
description?: string | undefined;
|
|
14093
|
-
|
|
15737
|
+
connection_id?: string | undefined;
|
|
14094
15738
|
user_id?: string | undefined;
|
|
15739
|
+
connection?: string | undefined;
|
|
14095
15740
|
client_id?: string | undefined;
|
|
14096
15741
|
audience?: string | undefined;
|
|
14097
15742
|
scope?: string | undefined;
|
|
14098
15743
|
strategy?: string | undefined;
|
|
14099
|
-
connection_id?: string | undefined;
|
|
14100
15744
|
ip?: string | undefined;
|
|
14101
15745
|
user_agent?: string | undefined;
|
|
14102
15746
|
details?: any;
|
|
@@ -14157,19 +15801,19 @@ export declare const passwordSchema: z.ZodObject<{
|
|
|
14157
15801
|
created_at: z.ZodString;
|
|
14158
15802
|
updated_at: z.ZodString;
|
|
14159
15803
|
}, "strip", z.ZodTypeAny, {
|
|
14160
|
-
password: string;
|
|
14161
15804
|
created_at: string;
|
|
14162
15805
|
updated_at: string;
|
|
14163
|
-
|
|
15806
|
+
password: string;
|
|
14164
15807
|
id: string;
|
|
15808
|
+
user_id: string;
|
|
14165
15809
|
algorithm: "bcrypt" | "argon2id";
|
|
14166
15810
|
is_current: boolean;
|
|
14167
15811
|
}, {
|
|
14168
|
-
password: string;
|
|
14169
15812
|
created_at: string;
|
|
14170
15813
|
updated_at: string;
|
|
14171
|
-
|
|
15814
|
+
password: string;
|
|
14172
15815
|
id: string;
|
|
15816
|
+
user_id: string;
|
|
14173
15817
|
algorithm?: "bcrypt" | "argon2id" | undefined;
|
|
14174
15818
|
is_current?: boolean | undefined;
|
|
14175
15819
|
}>;
|
|
@@ -14206,8 +15850,8 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
14206
15850
|
}>;
|
|
14207
15851
|
clients: z.ZodArray<z.ZodString, "many">;
|
|
14208
15852
|
}, "strip", z.ZodTypeAny, {
|
|
14209
|
-
user_id: string;
|
|
14210
15853
|
id: string;
|
|
15854
|
+
user_id: string;
|
|
14211
15855
|
clients: string[];
|
|
14212
15856
|
login_session_id: string;
|
|
14213
15857
|
device: {
|
|
@@ -14223,8 +15867,8 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
14223
15867
|
revoked_at?: string | undefined;
|
|
14224
15868
|
idle_expires_at?: string | undefined;
|
|
14225
15869
|
}, {
|
|
14226
|
-
user_id: string;
|
|
14227
15870
|
id: string;
|
|
15871
|
+
user_id: string;
|
|
14228
15872
|
clients: string[];
|
|
14229
15873
|
login_session_id: string;
|
|
14230
15874
|
device: {
|
|
@@ -14279,8 +15923,8 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
14279
15923
|
}, "strip", z.ZodTypeAny, {
|
|
14280
15924
|
created_at: string;
|
|
14281
15925
|
updated_at: string;
|
|
14282
|
-
user_id: string;
|
|
14283
15926
|
id: string;
|
|
15927
|
+
user_id: string;
|
|
14284
15928
|
clients: string[];
|
|
14285
15929
|
login_session_id: string;
|
|
14286
15930
|
device: {
|
|
@@ -14300,8 +15944,8 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
14300
15944
|
}, {
|
|
14301
15945
|
created_at: string;
|
|
14302
15946
|
updated_at: string;
|
|
14303
|
-
user_id: string;
|
|
14304
15947
|
id: string;
|
|
15948
|
+
user_id: string;
|
|
14305
15949
|
clients: string[];
|
|
14306
15950
|
login_session_id: string;
|
|
14307
15951
|
device: {
|
|
@@ -14609,12 +16253,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
14609
16253
|
friendly_name: string;
|
|
14610
16254
|
sender_email: string;
|
|
14611
16255
|
sender_name: string;
|
|
16256
|
+
id?: string | undefined;
|
|
14612
16257
|
allowed_logout_urls?: string[] | undefined;
|
|
14613
16258
|
oidc_logout?: {
|
|
14614
16259
|
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
14615
16260
|
} | undefined;
|
|
14616
16261
|
default_organization?: string | undefined;
|
|
14617
|
-
id?: string | undefined;
|
|
14618
16262
|
picture_url?: string | undefined;
|
|
14619
16263
|
support_email?: string | undefined;
|
|
14620
16264
|
support_url?: string | undefined;
|
|
@@ -14707,12 +16351,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
14707
16351
|
friendly_name: string;
|
|
14708
16352
|
sender_email: string;
|
|
14709
16353
|
sender_name: string;
|
|
16354
|
+
id?: string | undefined;
|
|
14710
16355
|
allowed_logout_urls?: string[] | undefined;
|
|
14711
16356
|
oidc_logout?: {
|
|
14712
16357
|
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
14713
16358
|
} | undefined;
|
|
14714
16359
|
default_organization?: string | undefined;
|
|
14715
|
-
id?: string | undefined;
|
|
14716
16360
|
picture_url?: string | undefined;
|
|
14717
16361
|
support_email?: string | undefined;
|
|
14718
16362
|
support_url?: string | undefined;
|
|
@@ -15040,8 +16684,8 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
15040
16684
|
}, "strip", z.ZodTypeAny, {
|
|
15041
16685
|
created_at: string;
|
|
15042
16686
|
updated_at: string;
|
|
15043
|
-
audience: string;
|
|
15044
16687
|
id: string;
|
|
16688
|
+
audience: string;
|
|
15045
16689
|
friendly_name: string;
|
|
15046
16690
|
sender_email: string;
|
|
15047
16691
|
sender_name: string;
|
|
@@ -15140,8 +16784,8 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
15140
16784
|
}, {
|
|
15141
16785
|
created_at: string | null;
|
|
15142
16786
|
updated_at: string | null;
|
|
15143
|
-
audience: string;
|
|
15144
16787
|
id: string;
|
|
16788
|
+
audience: string;
|
|
15145
16789
|
friendly_name: string;
|
|
15146
16790
|
sender_email: string;
|
|
15147
16791
|
sender_name: string;
|
|
@@ -16612,9 +18256,9 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
16612
18256
|
}>, "many">;
|
|
16613
18257
|
rotating: z.ZodBoolean;
|
|
16614
18258
|
}, "strip", z.ZodTypeAny, {
|
|
18259
|
+
id: string;
|
|
16615
18260
|
user_id: string;
|
|
16616
18261
|
client_id: string;
|
|
16617
|
-
id: string;
|
|
16618
18262
|
session_id: string;
|
|
16619
18263
|
device: {
|
|
16620
18264
|
last_ip: string;
|
|
@@ -16633,9 +18277,9 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
16633
18277
|
idle_expires_at?: string | undefined;
|
|
16634
18278
|
last_exchanged_at?: string | undefined;
|
|
16635
18279
|
}, {
|
|
18280
|
+
id: string;
|
|
16636
18281
|
user_id: string;
|
|
16637
18282
|
client_id: string;
|
|
16638
|
-
id: string;
|
|
16639
18283
|
session_id: string;
|
|
16640
18284
|
device: {
|
|
16641
18285
|
last_ip: string;
|
|
@@ -16699,9 +18343,9 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
16699
18343
|
created_at: z.ZodString;
|
|
16700
18344
|
}, "strip", z.ZodTypeAny, {
|
|
16701
18345
|
created_at: string;
|
|
18346
|
+
id: string;
|
|
16702
18347
|
user_id: string;
|
|
16703
18348
|
client_id: string;
|
|
16704
|
-
id: string;
|
|
16705
18349
|
session_id: string;
|
|
16706
18350
|
device: {
|
|
16707
18351
|
last_ip: string;
|
|
@@ -16721,9 +18365,9 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
16721
18365
|
last_exchanged_at?: string | undefined;
|
|
16722
18366
|
}, {
|
|
16723
18367
|
created_at: string;
|
|
18368
|
+
id: string;
|
|
16724
18369
|
user_id: string;
|
|
16725
18370
|
client_id: string;
|
|
16726
|
-
id: string;
|
|
16727
18371
|
session_id: string;
|
|
16728
18372
|
device: {
|
|
16729
18373
|
last_ip: string;
|
|
@@ -16989,6 +18633,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
16989
18633
|
}, "strip", z.ZodTypeAny, {
|
|
16990
18634
|
name: string;
|
|
16991
18635
|
identifier: string;
|
|
18636
|
+
created_at?: string | undefined;
|
|
18637
|
+
updated_at?: string | undefined;
|
|
16992
18638
|
options?: {
|
|
16993
18639
|
mtls?: {
|
|
16994
18640
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17000,8 +18646,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17000
18646
|
persist_client_authorization?: boolean | undefined;
|
|
17001
18647
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17002
18648
|
} | undefined;
|
|
17003
|
-
created_at?: string | undefined;
|
|
17004
|
-
updated_at?: string | undefined;
|
|
17005
18649
|
id?: string | undefined;
|
|
17006
18650
|
scopes?: {
|
|
17007
18651
|
value: string;
|
|
@@ -17017,6 +18661,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17017
18661
|
}, {
|
|
17018
18662
|
name: string;
|
|
17019
18663
|
identifier: string;
|
|
18664
|
+
created_at?: string | undefined;
|
|
18665
|
+
updated_at?: string | undefined;
|
|
17020
18666
|
options?: {
|
|
17021
18667
|
mtls?: {
|
|
17022
18668
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17028,8 +18674,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17028
18674
|
persist_client_authorization?: boolean | undefined;
|
|
17029
18675
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17030
18676
|
} | undefined;
|
|
17031
|
-
created_at?: string | undefined;
|
|
17032
|
-
updated_at?: string | undefined;
|
|
17033
18677
|
id?: string | undefined;
|
|
17034
18678
|
scopes?: {
|
|
17035
18679
|
value: string;
|
|
@@ -17108,6 +18752,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17108
18752
|
}, "strip", z.ZodTypeAny, {
|
|
17109
18753
|
name: string;
|
|
17110
18754
|
identifier: string;
|
|
18755
|
+
created_at?: string | undefined;
|
|
18756
|
+
updated_at?: string | undefined;
|
|
17111
18757
|
options?: {
|
|
17112
18758
|
mtls?: {
|
|
17113
18759
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17119,8 +18765,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17119
18765
|
persist_client_authorization?: boolean | undefined;
|
|
17120
18766
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17121
18767
|
} | undefined;
|
|
17122
|
-
created_at?: string | undefined;
|
|
17123
|
-
updated_at?: string | undefined;
|
|
17124
18768
|
id?: string | undefined;
|
|
17125
18769
|
scopes?: {
|
|
17126
18770
|
value: string;
|
|
@@ -17136,6 +18780,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17136
18780
|
}, {
|
|
17137
18781
|
name: string;
|
|
17138
18782
|
identifier: string;
|
|
18783
|
+
created_at?: string | undefined;
|
|
18784
|
+
updated_at?: string | undefined;
|
|
17139
18785
|
options?: {
|
|
17140
18786
|
mtls?: {
|
|
17141
18787
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17147,8 +18793,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17147
18793
|
persist_client_authorization?: boolean | undefined;
|
|
17148
18794
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17149
18795
|
} | undefined;
|
|
17150
|
-
created_at?: string | undefined;
|
|
17151
|
-
updated_at?: string | undefined;
|
|
17152
18796
|
id?: string | undefined;
|
|
17153
18797
|
scopes?: {
|
|
17154
18798
|
value: string;
|
|
@@ -17287,16 +18931,16 @@ export declare const userPermissionWithDetailsSchema: z.ZodObject<{
|
|
|
17287
18931
|
resource_server_identifier: string;
|
|
17288
18932
|
permission_name: string;
|
|
17289
18933
|
resource_server_name: string;
|
|
17290
|
-
description?: string | null | undefined;
|
|
17291
18934
|
created_at?: string | undefined;
|
|
18935
|
+
description?: string | null | undefined;
|
|
17292
18936
|
organization_id?: string | undefined;
|
|
17293
18937
|
}, {
|
|
17294
18938
|
user_id: string;
|
|
17295
18939
|
resource_server_identifier: string;
|
|
17296
18940
|
permission_name: string;
|
|
17297
18941
|
resource_server_name: string;
|
|
17298
|
-
description?: string | null | undefined;
|
|
17299
18942
|
created_at?: string | undefined;
|
|
18943
|
+
description?: string | null | undefined;
|
|
17300
18944
|
organization_id?: string | undefined;
|
|
17301
18945
|
}>;
|
|
17302
18946
|
export type UserPermissionWithDetails = z.infer<typeof userPermissionWithDetailsSchema>;
|
|
@@ -17313,16 +18957,16 @@ export declare const userPermissionWithDetailsListSchema: z.ZodArray<z.ZodObject
|
|
|
17313
18957
|
resource_server_identifier: string;
|
|
17314
18958
|
permission_name: string;
|
|
17315
18959
|
resource_server_name: string;
|
|
17316
|
-
description?: string | null | undefined;
|
|
17317
18960
|
created_at?: string | undefined;
|
|
18961
|
+
description?: string | null | undefined;
|
|
17318
18962
|
organization_id?: string | undefined;
|
|
17319
18963
|
}, {
|
|
17320
18964
|
user_id: string;
|
|
17321
18965
|
resource_server_identifier: string;
|
|
17322
18966
|
permission_name: string;
|
|
17323
18967
|
resource_server_name: string;
|
|
17324
|
-
description?: string | null | undefined;
|
|
17325
18968
|
created_at?: string | undefined;
|
|
18969
|
+
description?: string | null | undefined;
|
|
17326
18970
|
organization_id?: string | undefined;
|
|
17327
18971
|
}>, "many">;
|
|
17328
18972
|
export type UserPermissionWithDetailsList = z.infer<typeof userPermissionWithDetailsListSchema>;
|
|
@@ -17397,17 +19041,17 @@ export declare const roleSchema: z.ZodObject<{
|
|
|
17397
19041
|
description: z.ZodOptional<z.ZodString>;
|
|
17398
19042
|
id: z.ZodString;
|
|
17399
19043
|
}, "strip", z.ZodTypeAny, {
|
|
17400
|
-
name: string;
|
|
17401
19044
|
id: string;
|
|
17402
|
-
|
|
19045
|
+
name: string;
|
|
17403
19046
|
created_at?: string | undefined;
|
|
17404
19047
|
updated_at?: string | undefined;
|
|
19048
|
+
description?: string | undefined;
|
|
17405
19049
|
}, {
|
|
17406
|
-
name: string;
|
|
17407
19050
|
id: string;
|
|
17408
|
-
|
|
19051
|
+
name: string;
|
|
17409
19052
|
created_at?: string | undefined;
|
|
17410
19053
|
updated_at?: string | undefined;
|
|
19054
|
+
description?: string | undefined;
|
|
17411
19055
|
}>;
|
|
17412
19056
|
export type Role = z.infer<typeof roleSchema>;
|
|
17413
19057
|
export type RoleInsert = z.infer<typeof roleInsertSchema>;
|
|
@@ -17418,17 +19062,17 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17418
19062
|
description: z.ZodOptional<z.ZodString>;
|
|
17419
19063
|
id: z.ZodString;
|
|
17420
19064
|
}, "strip", z.ZodTypeAny, {
|
|
17421
|
-
name: string;
|
|
17422
19065
|
id: string;
|
|
17423
|
-
|
|
19066
|
+
name: string;
|
|
17424
19067
|
created_at?: string | undefined;
|
|
17425
19068
|
updated_at?: string | undefined;
|
|
19069
|
+
description?: string | undefined;
|
|
17426
19070
|
}, {
|
|
17427
|
-
name: string;
|
|
17428
19071
|
id: string;
|
|
17429
|
-
|
|
19072
|
+
name: string;
|
|
17430
19073
|
created_at?: string | undefined;
|
|
17431
19074
|
updated_at?: string | undefined;
|
|
19075
|
+
description?: string | undefined;
|
|
17432
19076
|
}>, "many">;
|
|
17433
19077
|
export type RoleList = z.infer<typeof roleListSchema>;
|
|
17434
19078
|
export declare const organizationBrandingSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -17462,8 +19106,8 @@ export declare const organizationEnabledConnectionSchema: z.ZodObject<{
|
|
|
17462
19106
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17463
19107
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17464
19108
|
}, "strip", z.ZodTypeAny, {
|
|
17465
|
-
show_as_button: boolean;
|
|
17466
19109
|
connection_id: string;
|
|
19110
|
+
show_as_button: boolean;
|
|
17467
19111
|
assign_membership_on_login: boolean;
|
|
17468
19112
|
is_signup_enabled: boolean;
|
|
17469
19113
|
}, {
|
|
@@ -17535,8 +19179,8 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17535
19179
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17536
19180
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17537
19181
|
}, "strip", z.ZodTypeAny, {
|
|
17538
|
-
show_as_button: boolean;
|
|
17539
19182
|
connection_id: string;
|
|
19183
|
+
show_as_button: boolean;
|
|
17540
19184
|
assign_membership_on_login: boolean;
|
|
17541
19185
|
is_signup_enabled: boolean;
|
|
17542
19186
|
}, {
|
|
@@ -17574,6 +19218,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17574
19218
|
}>>;
|
|
17575
19219
|
}, "strip", z.ZodTypeAny, {
|
|
17576
19220
|
name: string;
|
|
19221
|
+
id?: string | undefined;
|
|
17577
19222
|
token_quota?: {
|
|
17578
19223
|
client_credentials?: {
|
|
17579
19224
|
enforce: boolean;
|
|
@@ -17581,7 +19226,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17581
19226
|
per_hour: number;
|
|
17582
19227
|
} | undefined;
|
|
17583
19228
|
} | undefined;
|
|
17584
|
-
id?: string | undefined;
|
|
17585
19229
|
display_name?: string | undefined;
|
|
17586
19230
|
metadata?: Record<string, any> | undefined;
|
|
17587
19231
|
branding?: {
|
|
@@ -17592,13 +19236,14 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17592
19236
|
logo_url?: string | undefined;
|
|
17593
19237
|
} | undefined;
|
|
17594
19238
|
enabled_connections?: {
|
|
17595
|
-
show_as_button: boolean;
|
|
17596
19239
|
connection_id: string;
|
|
19240
|
+
show_as_button: boolean;
|
|
17597
19241
|
assign_membership_on_login: boolean;
|
|
17598
19242
|
is_signup_enabled: boolean;
|
|
17599
19243
|
}[] | undefined;
|
|
17600
19244
|
}, {
|
|
17601
19245
|
name: string;
|
|
19246
|
+
id?: string | undefined;
|
|
17602
19247
|
token_quota?: {
|
|
17603
19248
|
client_credentials?: {
|
|
17604
19249
|
enforce?: boolean | undefined;
|
|
@@ -17606,7 +19251,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17606
19251
|
per_hour?: number | undefined;
|
|
17607
19252
|
} | undefined;
|
|
17608
19253
|
} | undefined;
|
|
17609
|
-
id?: string | undefined;
|
|
17610
19254
|
display_name?: string | undefined;
|
|
17611
19255
|
metadata?: Record<string, any> | undefined;
|
|
17612
19256
|
branding?: {
|
|
@@ -17662,8 +19306,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17662
19306
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17663
19307
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17664
19308
|
}, "strip", z.ZodTypeAny, {
|
|
17665
|
-
show_as_button: boolean;
|
|
17666
19309
|
connection_id: string;
|
|
19310
|
+
show_as_button: boolean;
|
|
17667
19311
|
assign_membership_on_login: boolean;
|
|
17668
19312
|
is_signup_enabled: boolean;
|
|
17669
19313
|
}, {
|
|
@@ -17702,8 +19346,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17702
19346
|
}, "strip", z.ZodTypeAny, {
|
|
17703
19347
|
created_at: string;
|
|
17704
19348
|
updated_at: string;
|
|
17705
|
-
name: string;
|
|
17706
19349
|
id: string;
|
|
19350
|
+
name: string;
|
|
17707
19351
|
token_quota?: {
|
|
17708
19352
|
client_credentials?: {
|
|
17709
19353
|
enforce: boolean;
|
|
@@ -17721,16 +19365,16 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17721
19365
|
logo_url?: string | undefined;
|
|
17722
19366
|
} | undefined;
|
|
17723
19367
|
enabled_connections?: {
|
|
17724
|
-
show_as_button: boolean;
|
|
17725
19368
|
connection_id: string;
|
|
19369
|
+
show_as_button: boolean;
|
|
17726
19370
|
assign_membership_on_login: boolean;
|
|
17727
19371
|
is_signup_enabled: boolean;
|
|
17728
19372
|
}[] | undefined;
|
|
17729
19373
|
}, {
|
|
17730
19374
|
created_at: string;
|
|
17731
19375
|
updated_at: string;
|
|
17732
|
-
name: string;
|
|
17733
19376
|
id: string;
|
|
19377
|
+
name: string;
|
|
17734
19378
|
token_quota?: {
|
|
17735
19379
|
client_credentials?: {
|
|
17736
19380
|
enforce?: boolean | undefined;
|
|
@@ -17775,14 +19419,14 @@ export declare const userOrganizationSchema: z.ZodObject<{
|
|
|
17775
19419
|
}, "strip", z.ZodTypeAny, {
|
|
17776
19420
|
created_at: string;
|
|
17777
19421
|
updated_at: string;
|
|
17778
|
-
user_id: string;
|
|
17779
19422
|
id: string;
|
|
19423
|
+
user_id: string;
|
|
17780
19424
|
organization_id: string;
|
|
17781
19425
|
}, {
|
|
17782
19426
|
created_at: string;
|
|
17783
19427
|
updated_at: string;
|
|
17784
|
-
user_id: string;
|
|
17785
19428
|
id: string;
|
|
19429
|
+
user_id: string;
|
|
17786
19430
|
organization_id: string;
|
|
17787
19431
|
}>;
|
|
17788
19432
|
export type UserOrganization = z.infer<typeof userOrganizationSchema>;
|
|
@@ -18042,16 +19686,16 @@ export declare const dailyStatsSchema: z.ZodObject<{
|
|
|
18042
19686
|
updated_at: z.ZodString;
|
|
18043
19687
|
created_at: z.ZodString;
|
|
18044
19688
|
}, "strip", z.ZodTypeAny, {
|
|
18045
|
-
date: string;
|
|
18046
19689
|
created_at: string;
|
|
18047
19690
|
updated_at: string;
|
|
19691
|
+
date: string;
|
|
18048
19692
|
logins: number;
|
|
18049
19693
|
signups: number;
|
|
18050
19694
|
leaked_passwords: number;
|
|
18051
19695
|
}, {
|
|
18052
|
-
date: string;
|
|
18053
19696
|
created_at: string;
|
|
18054
19697
|
updated_at: string;
|
|
19698
|
+
date: string;
|
|
18055
19699
|
logins: number;
|
|
18056
19700
|
signups: number;
|
|
18057
19701
|
leaked_passwords: number;
|
|
@@ -18174,6 +19818,16 @@ export declare function createPassthroughAdapter<T extends object>(config: Passt
|
|
|
18174
19818
|
* ```
|
|
18175
19819
|
*/
|
|
18176
19820
|
export declare function createWriteOnlyAdapter<T>(implementation: Partial<T>): Partial<T>;
|
|
19821
|
+
export interface ListFlowsResponse extends Totals {
|
|
19822
|
+
flows: Flow[];
|
|
19823
|
+
}
|
|
19824
|
+
export interface FlowsAdapter {
|
|
19825
|
+
create(tenant_id: string, params: FlowInsert): Promise<Flow>;
|
|
19826
|
+
get(tenant_id: string, flow_id: string): Promise<Flow | null>;
|
|
19827
|
+
remove(tenant_id: string, flow_id: string): Promise<boolean>;
|
|
19828
|
+
update(tenant_id: string, flow_id: string, flow: Partial<FlowInsert>): Promise<Flow | null>;
|
|
19829
|
+
list(tenant_id: string, params?: ListParams): Promise<ListFlowsResponse>;
|
|
19830
|
+
}
|
|
18177
19831
|
export interface CacheItem<T = any> {
|
|
18178
19832
|
value: T;
|
|
18179
19833
|
expiresAt?: Date;
|
|
@@ -18519,6 +20173,7 @@ export interface DataAdapters {
|
|
|
18519
20173
|
connections: ConnectionsAdapter;
|
|
18520
20174
|
customDomains: CustomDomainsAdapter;
|
|
18521
20175
|
emailProviders: EmailProvidersAdapter;
|
|
20176
|
+
flows: FlowsAdapter;
|
|
18522
20177
|
forms: FormsAdapter;
|
|
18523
20178
|
geo?: GeoAdapter;
|
|
18524
20179
|
hooks: HooksAdapter;
|