authhero 0.296.0 → 0.298.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/authhero.cjs +35 -35
- package/dist/authhero.d.ts +2534 -330
- package/dist/authhero.mjs +6979 -6555
- package/dist/stats.html +1 -1
- package/package.json +3 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -5,6 +5,1001 @@ import { Context } from 'hono';
|
|
|
5
5
|
import { FC, JSXNode, PropsWithChildren } from 'hono/jsx';
|
|
6
6
|
import { CountryCode } from 'libphonenumber-js';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Flow action types supported by the system (Auth0 compatible)
|
|
10
|
+
* For now we support AUTH0, EMAIL, and REDIRECT types
|
|
11
|
+
*/
|
|
12
|
+
export declare const FlowActionTypeEnum: z.ZodEnum<[
|
|
13
|
+
"AUTH0",
|
|
14
|
+
"EMAIL",
|
|
15
|
+
"REDIRECT"
|
|
16
|
+
]>;
|
|
17
|
+
export type FlowActionType = z.infer<typeof FlowActionTypeEnum>;
|
|
18
|
+
/**
|
|
19
|
+
* AUTH0 action operations
|
|
20
|
+
*/
|
|
21
|
+
export declare const Auth0ActionEnum: z.ZodEnum<[
|
|
22
|
+
"CREATE_USER",
|
|
23
|
+
"GET_USER",
|
|
24
|
+
"UPDATE_USER",
|
|
25
|
+
"SEND_REQUEST",
|
|
26
|
+
"SEND_EMAIL"
|
|
27
|
+
]>;
|
|
28
|
+
/**
|
|
29
|
+
* EMAIL action operations
|
|
30
|
+
*/
|
|
31
|
+
export declare const EmailActionEnum: z.ZodEnum<[
|
|
32
|
+
"VERIFY_EMAIL"
|
|
33
|
+
]>;
|
|
34
|
+
/**
|
|
35
|
+
* Email verification rules schema
|
|
36
|
+
*/
|
|
37
|
+
export declare const emailVerificationRulesSchema: z.ZodObject<{
|
|
38
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
require_mx_record?: boolean | undefined;
|
|
46
|
+
block_aliases?: boolean | undefined;
|
|
47
|
+
block_free_emails?: boolean | undefined;
|
|
48
|
+
block_disposable_emails?: boolean | undefined;
|
|
49
|
+
blocklist?: string[] | undefined;
|
|
50
|
+
allowlist?: string[] | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
require_mx_record?: boolean | undefined;
|
|
53
|
+
block_aliases?: boolean | undefined;
|
|
54
|
+
block_free_emails?: boolean | undefined;
|
|
55
|
+
block_disposable_emails?: boolean | undefined;
|
|
56
|
+
blocklist?: string[] | undefined;
|
|
57
|
+
allowlist?: string[] | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
export type EmailVerificationRules = z.infer<typeof emailVerificationRulesSchema>;
|
|
60
|
+
/**
|
|
61
|
+
* AUTH0 UPDATE_USER action step
|
|
62
|
+
*/
|
|
63
|
+
export declare const auth0UpdateUserActionSchema: z.ZodObject<{
|
|
64
|
+
id: z.ZodString;
|
|
65
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
66
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
67
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
68
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
params: z.ZodObject<{
|
|
71
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
72
|
+
user_id: z.ZodString;
|
|
73
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
user_id: string;
|
|
76
|
+
changes: Record<string, any>;
|
|
77
|
+
connection_id?: string | undefined;
|
|
78
|
+
}, {
|
|
79
|
+
user_id: string;
|
|
80
|
+
changes: Record<string, any>;
|
|
81
|
+
connection_id?: string | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
params: {
|
|
85
|
+
user_id: string;
|
|
86
|
+
changes: Record<string, any>;
|
|
87
|
+
connection_id?: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
type: "AUTH0";
|
|
90
|
+
id: string;
|
|
91
|
+
action: "UPDATE_USER";
|
|
92
|
+
alias?: string | undefined;
|
|
93
|
+
allow_failure?: boolean | undefined;
|
|
94
|
+
mask_output?: boolean | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
params: {
|
|
97
|
+
user_id: string;
|
|
98
|
+
changes: Record<string, any>;
|
|
99
|
+
connection_id?: string | undefined;
|
|
100
|
+
};
|
|
101
|
+
type: "AUTH0";
|
|
102
|
+
id: string;
|
|
103
|
+
action: "UPDATE_USER";
|
|
104
|
+
alias?: string | undefined;
|
|
105
|
+
allow_failure?: boolean | undefined;
|
|
106
|
+
mask_output?: boolean | undefined;
|
|
107
|
+
}>;
|
|
108
|
+
export type Auth0UpdateUserAction = z.infer<typeof auth0UpdateUserActionSchema>;
|
|
109
|
+
/**
|
|
110
|
+
* EMAIL VERIFY_EMAIL action step
|
|
111
|
+
*/
|
|
112
|
+
export declare const emailVerifyActionSchema: z.ZodObject<{
|
|
113
|
+
id: z.ZodString;
|
|
114
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
115
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
116
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
117
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
params: z.ZodObject<{
|
|
120
|
+
email: z.ZodString;
|
|
121
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
127
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
require_mx_record?: boolean | undefined;
|
|
130
|
+
block_aliases?: boolean | undefined;
|
|
131
|
+
block_free_emails?: boolean | undefined;
|
|
132
|
+
block_disposable_emails?: boolean | undefined;
|
|
133
|
+
blocklist?: string[] | undefined;
|
|
134
|
+
allowlist?: string[] | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
require_mx_record?: boolean | undefined;
|
|
137
|
+
block_aliases?: boolean | undefined;
|
|
138
|
+
block_free_emails?: boolean | undefined;
|
|
139
|
+
block_disposable_emails?: boolean | undefined;
|
|
140
|
+
blocklist?: string[] | undefined;
|
|
141
|
+
allowlist?: string[] | undefined;
|
|
142
|
+
}>>;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
email: string;
|
|
145
|
+
rules?: {
|
|
146
|
+
require_mx_record?: boolean | undefined;
|
|
147
|
+
block_aliases?: boolean | undefined;
|
|
148
|
+
block_free_emails?: boolean | undefined;
|
|
149
|
+
block_disposable_emails?: boolean | undefined;
|
|
150
|
+
blocklist?: string[] | undefined;
|
|
151
|
+
allowlist?: string[] | undefined;
|
|
152
|
+
} | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
email: string;
|
|
155
|
+
rules?: {
|
|
156
|
+
require_mx_record?: boolean | undefined;
|
|
157
|
+
block_aliases?: boolean | undefined;
|
|
158
|
+
block_free_emails?: boolean | undefined;
|
|
159
|
+
block_disposable_emails?: boolean | undefined;
|
|
160
|
+
blocklist?: string[] | undefined;
|
|
161
|
+
allowlist?: string[] | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
}>;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
params: {
|
|
166
|
+
email: string;
|
|
167
|
+
rules?: {
|
|
168
|
+
require_mx_record?: boolean | undefined;
|
|
169
|
+
block_aliases?: boolean | undefined;
|
|
170
|
+
block_free_emails?: boolean | undefined;
|
|
171
|
+
block_disposable_emails?: boolean | undefined;
|
|
172
|
+
blocklist?: string[] | undefined;
|
|
173
|
+
allowlist?: string[] | undefined;
|
|
174
|
+
} | undefined;
|
|
175
|
+
};
|
|
176
|
+
type: "EMAIL";
|
|
177
|
+
id: string;
|
|
178
|
+
action: "VERIFY_EMAIL";
|
|
179
|
+
alias?: string | undefined;
|
|
180
|
+
allow_failure?: boolean | undefined;
|
|
181
|
+
mask_output?: boolean | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
params: {
|
|
184
|
+
email: string;
|
|
185
|
+
rules?: {
|
|
186
|
+
require_mx_record?: boolean | undefined;
|
|
187
|
+
block_aliases?: boolean | undefined;
|
|
188
|
+
block_free_emails?: boolean | undefined;
|
|
189
|
+
block_disposable_emails?: boolean | undefined;
|
|
190
|
+
blocklist?: string[] | undefined;
|
|
191
|
+
allowlist?: string[] | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
};
|
|
194
|
+
type: "EMAIL";
|
|
195
|
+
id: string;
|
|
196
|
+
action: "VERIFY_EMAIL";
|
|
197
|
+
alias?: string | undefined;
|
|
198
|
+
allow_failure?: boolean | undefined;
|
|
199
|
+
mask_output?: boolean | undefined;
|
|
200
|
+
}>;
|
|
201
|
+
export type EmailVerifyAction = z.infer<typeof emailVerifyActionSchema>;
|
|
202
|
+
/**
|
|
203
|
+
* Pre-defined redirect targets
|
|
204
|
+
*/
|
|
205
|
+
export declare const RedirectTargetEnum: z.ZodEnum<[
|
|
206
|
+
"change-email",
|
|
207
|
+
"account",
|
|
208
|
+
"custom"
|
|
209
|
+
]>;
|
|
210
|
+
export type RedirectTarget = z.infer<typeof RedirectTargetEnum>;
|
|
211
|
+
/**
|
|
212
|
+
* REDIRECT action step - redirects user to a predefined or custom URL
|
|
213
|
+
*/
|
|
214
|
+
export declare const redirectActionSchema: z.ZodObject<{
|
|
215
|
+
id: z.ZodString;
|
|
216
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
217
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
218
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
219
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
params: z.ZodObject<{
|
|
222
|
+
target: z.ZodEnum<[
|
|
223
|
+
"change-email",
|
|
224
|
+
"account",
|
|
225
|
+
"custom"
|
|
226
|
+
]>;
|
|
227
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
target: "custom" | "change-email" | "account";
|
|
230
|
+
custom_url?: string | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
target: "custom" | "change-email" | "account";
|
|
233
|
+
custom_url?: string | undefined;
|
|
234
|
+
}>;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
params: {
|
|
237
|
+
target: "custom" | "change-email" | "account";
|
|
238
|
+
custom_url?: string | undefined;
|
|
239
|
+
};
|
|
240
|
+
type: "REDIRECT";
|
|
241
|
+
id: string;
|
|
242
|
+
action: "REDIRECT_USER";
|
|
243
|
+
alias?: string | undefined;
|
|
244
|
+
allow_failure?: boolean | undefined;
|
|
245
|
+
mask_output?: boolean | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
params: {
|
|
248
|
+
target: "custom" | "change-email" | "account";
|
|
249
|
+
custom_url?: string | undefined;
|
|
250
|
+
};
|
|
251
|
+
type: "REDIRECT";
|
|
252
|
+
id: string;
|
|
253
|
+
action: "REDIRECT_USER";
|
|
254
|
+
alias?: string | undefined;
|
|
255
|
+
allow_failure?: boolean | undefined;
|
|
256
|
+
mask_output?: boolean | undefined;
|
|
257
|
+
}>;
|
|
258
|
+
export type RedirectAction = z.infer<typeof redirectActionSchema>;
|
|
259
|
+
/**
|
|
260
|
+
* Union of all supported action steps
|
|
261
|
+
*/
|
|
262
|
+
export declare const flowActionStepSchema: z.ZodUnion<[
|
|
263
|
+
z.ZodObject<{
|
|
264
|
+
id: z.ZodString;
|
|
265
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
266
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
267
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
268
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
270
|
+
params: z.ZodObject<{
|
|
271
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
272
|
+
user_id: z.ZodString;
|
|
273
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
274
|
+
}, "strip", z.ZodTypeAny, {
|
|
275
|
+
user_id: string;
|
|
276
|
+
changes: Record<string, any>;
|
|
277
|
+
connection_id?: string | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
user_id: string;
|
|
280
|
+
changes: Record<string, any>;
|
|
281
|
+
connection_id?: string | undefined;
|
|
282
|
+
}>;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
params: {
|
|
285
|
+
user_id: string;
|
|
286
|
+
changes: Record<string, any>;
|
|
287
|
+
connection_id?: string | undefined;
|
|
288
|
+
};
|
|
289
|
+
type: "AUTH0";
|
|
290
|
+
id: string;
|
|
291
|
+
action: "UPDATE_USER";
|
|
292
|
+
alias?: string | undefined;
|
|
293
|
+
allow_failure?: boolean | undefined;
|
|
294
|
+
mask_output?: boolean | undefined;
|
|
295
|
+
}, {
|
|
296
|
+
params: {
|
|
297
|
+
user_id: string;
|
|
298
|
+
changes: Record<string, any>;
|
|
299
|
+
connection_id?: string | undefined;
|
|
300
|
+
};
|
|
301
|
+
type: "AUTH0";
|
|
302
|
+
id: string;
|
|
303
|
+
action: "UPDATE_USER";
|
|
304
|
+
alias?: string | undefined;
|
|
305
|
+
allow_failure?: boolean | undefined;
|
|
306
|
+
mask_output?: boolean | undefined;
|
|
307
|
+
}>,
|
|
308
|
+
z.ZodObject<{
|
|
309
|
+
id: z.ZodString;
|
|
310
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
311
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
312
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
313
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
314
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
315
|
+
params: z.ZodObject<{
|
|
316
|
+
email: z.ZodString;
|
|
317
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
319
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
320
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
322
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
323
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
324
|
+
}, "strip", z.ZodTypeAny, {
|
|
325
|
+
require_mx_record?: boolean | undefined;
|
|
326
|
+
block_aliases?: boolean | undefined;
|
|
327
|
+
block_free_emails?: boolean | undefined;
|
|
328
|
+
block_disposable_emails?: boolean | undefined;
|
|
329
|
+
blocklist?: string[] | undefined;
|
|
330
|
+
allowlist?: string[] | undefined;
|
|
331
|
+
}, {
|
|
332
|
+
require_mx_record?: boolean | undefined;
|
|
333
|
+
block_aliases?: boolean | undefined;
|
|
334
|
+
block_free_emails?: boolean | undefined;
|
|
335
|
+
block_disposable_emails?: boolean | undefined;
|
|
336
|
+
blocklist?: string[] | undefined;
|
|
337
|
+
allowlist?: string[] | undefined;
|
|
338
|
+
}>>;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
email: string;
|
|
341
|
+
rules?: {
|
|
342
|
+
require_mx_record?: boolean | undefined;
|
|
343
|
+
block_aliases?: boolean | undefined;
|
|
344
|
+
block_free_emails?: boolean | undefined;
|
|
345
|
+
block_disposable_emails?: boolean | undefined;
|
|
346
|
+
blocklist?: string[] | undefined;
|
|
347
|
+
allowlist?: string[] | undefined;
|
|
348
|
+
} | undefined;
|
|
349
|
+
}, {
|
|
350
|
+
email: string;
|
|
351
|
+
rules?: {
|
|
352
|
+
require_mx_record?: boolean | undefined;
|
|
353
|
+
block_aliases?: boolean | undefined;
|
|
354
|
+
block_free_emails?: boolean | undefined;
|
|
355
|
+
block_disposable_emails?: boolean | undefined;
|
|
356
|
+
blocklist?: string[] | undefined;
|
|
357
|
+
allowlist?: string[] | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
}>;
|
|
360
|
+
}, "strip", z.ZodTypeAny, {
|
|
361
|
+
params: {
|
|
362
|
+
email: string;
|
|
363
|
+
rules?: {
|
|
364
|
+
require_mx_record?: boolean | undefined;
|
|
365
|
+
block_aliases?: boolean | undefined;
|
|
366
|
+
block_free_emails?: boolean | undefined;
|
|
367
|
+
block_disposable_emails?: boolean | undefined;
|
|
368
|
+
blocklist?: string[] | undefined;
|
|
369
|
+
allowlist?: string[] | undefined;
|
|
370
|
+
} | undefined;
|
|
371
|
+
};
|
|
372
|
+
type: "EMAIL";
|
|
373
|
+
id: string;
|
|
374
|
+
action: "VERIFY_EMAIL";
|
|
375
|
+
alias?: string | undefined;
|
|
376
|
+
allow_failure?: boolean | undefined;
|
|
377
|
+
mask_output?: boolean | undefined;
|
|
378
|
+
}, {
|
|
379
|
+
params: {
|
|
380
|
+
email: string;
|
|
381
|
+
rules?: {
|
|
382
|
+
require_mx_record?: boolean | undefined;
|
|
383
|
+
block_aliases?: boolean | undefined;
|
|
384
|
+
block_free_emails?: boolean | undefined;
|
|
385
|
+
block_disposable_emails?: boolean | undefined;
|
|
386
|
+
blocklist?: string[] | undefined;
|
|
387
|
+
allowlist?: string[] | undefined;
|
|
388
|
+
} | undefined;
|
|
389
|
+
};
|
|
390
|
+
type: "EMAIL";
|
|
391
|
+
id: string;
|
|
392
|
+
action: "VERIFY_EMAIL";
|
|
393
|
+
alias?: string | undefined;
|
|
394
|
+
allow_failure?: boolean | undefined;
|
|
395
|
+
mask_output?: boolean | undefined;
|
|
396
|
+
}>,
|
|
397
|
+
z.ZodObject<{
|
|
398
|
+
id: z.ZodString;
|
|
399
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
400
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
401
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
402
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
404
|
+
params: z.ZodObject<{
|
|
405
|
+
target: z.ZodEnum<[
|
|
406
|
+
"change-email",
|
|
407
|
+
"account",
|
|
408
|
+
"custom"
|
|
409
|
+
]>;
|
|
410
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
411
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
target: "custom" | "change-email" | "account";
|
|
413
|
+
custom_url?: string | undefined;
|
|
414
|
+
}, {
|
|
415
|
+
target: "custom" | "change-email" | "account";
|
|
416
|
+
custom_url?: string | undefined;
|
|
417
|
+
}>;
|
|
418
|
+
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
params: {
|
|
420
|
+
target: "custom" | "change-email" | "account";
|
|
421
|
+
custom_url?: string | undefined;
|
|
422
|
+
};
|
|
423
|
+
type: "REDIRECT";
|
|
424
|
+
id: string;
|
|
425
|
+
action: "REDIRECT_USER";
|
|
426
|
+
alias?: string | undefined;
|
|
427
|
+
allow_failure?: boolean | undefined;
|
|
428
|
+
mask_output?: boolean | undefined;
|
|
429
|
+
}, {
|
|
430
|
+
params: {
|
|
431
|
+
target: "custom" | "change-email" | "account";
|
|
432
|
+
custom_url?: string | undefined;
|
|
433
|
+
};
|
|
434
|
+
type: "REDIRECT";
|
|
435
|
+
id: string;
|
|
436
|
+
action: "REDIRECT_USER";
|
|
437
|
+
alias?: string | undefined;
|
|
438
|
+
allow_failure?: boolean | undefined;
|
|
439
|
+
mask_output?: boolean | undefined;
|
|
440
|
+
}>
|
|
441
|
+
]>;
|
|
442
|
+
export type FlowActionStep = z.infer<typeof flowActionStepSchema>;
|
|
443
|
+
/**
|
|
444
|
+
* Schema for creating a flow
|
|
445
|
+
*/
|
|
446
|
+
export declare const flowInsertSchema: z.ZodObject<{
|
|
447
|
+
name: z.ZodString;
|
|
448
|
+
actions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<[
|
|
449
|
+
z.ZodObject<{
|
|
450
|
+
id: z.ZodString;
|
|
451
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
452
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
453
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
454
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
455
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
456
|
+
params: z.ZodObject<{
|
|
457
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
458
|
+
user_id: z.ZodString;
|
|
459
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
460
|
+
}, "strip", z.ZodTypeAny, {
|
|
461
|
+
user_id: string;
|
|
462
|
+
changes: Record<string, any>;
|
|
463
|
+
connection_id?: string | undefined;
|
|
464
|
+
}, {
|
|
465
|
+
user_id: string;
|
|
466
|
+
changes: Record<string, any>;
|
|
467
|
+
connection_id?: string | undefined;
|
|
468
|
+
}>;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
params: {
|
|
471
|
+
user_id: string;
|
|
472
|
+
changes: Record<string, any>;
|
|
473
|
+
connection_id?: string | undefined;
|
|
474
|
+
};
|
|
475
|
+
type: "AUTH0";
|
|
476
|
+
id: string;
|
|
477
|
+
action: "UPDATE_USER";
|
|
478
|
+
alias?: string | undefined;
|
|
479
|
+
allow_failure?: boolean | undefined;
|
|
480
|
+
mask_output?: boolean | undefined;
|
|
481
|
+
}, {
|
|
482
|
+
params: {
|
|
483
|
+
user_id: string;
|
|
484
|
+
changes: Record<string, any>;
|
|
485
|
+
connection_id?: string | undefined;
|
|
486
|
+
};
|
|
487
|
+
type: "AUTH0";
|
|
488
|
+
id: string;
|
|
489
|
+
action: "UPDATE_USER";
|
|
490
|
+
alias?: string | undefined;
|
|
491
|
+
allow_failure?: boolean | undefined;
|
|
492
|
+
mask_output?: boolean | undefined;
|
|
493
|
+
}>,
|
|
494
|
+
z.ZodObject<{
|
|
495
|
+
id: z.ZodString;
|
|
496
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
497
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
498
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
499
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
500
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
501
|
+
params: z.ZodObject<{
|
|
502
|
+
email: z.ZodString;
|
|
503
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
504
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
505
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
506
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
507
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
509
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
510
|
+
}, "strip", z.ZodTypeAny, {
|
|
511
|
+
require_mx_record?: boolean | undefined;
|
|
512
|
+
block_aliases?: boolean | undefined;
|
|
513
|
+
block_free_emails?: boolean | undefined;
|
|
514
|
+
block_disposable_emails?: boolean | undefined;
|
|
515
|
+
blocklist?: string[] | undefined;
|
|
516
|
+
allowlist?: string[] | undefined;
|
|
517
|
+
}, {
|
|
518
|
+
require_mx_record?: boolean | undefined;
|
|
519
|
+
block_aliases?: boolean | undefined;
|
|
520
|
+
block_free_emails?: boolean | undefined;
|
|
521
|
+
block_disposable_emails?: boolean | undefined;
|
|
522
|
+
blocklist?: string[] | undefined;
|
|
523
|
+
allowlist?: string[] | undefined;
|
|
524
|
+
}>>;
|
|
525
|
+
}, "strip", z.ZodTypeAny, {
|
|
526
|
+
email: string;
|
|
527
|
+
rules?: {
|
|
528
|
+
require_mx_record?: boolean | undefined;
|
|
529
|
+
block_aliases?: boolean | undefined;
|
|
530
|
+
block_free_emails?: boolean | undefined;
|
|
531
|
+
block_disposable_emails?: boolean | undefined;
|
|
532
|
+
blocklist?: string[] | undefined;
|
|
533
|
+
allowlist?: string[] | undefined;
|
|
534
|
+
} | undefined;
|
|
535
|
+
}, {
|
|
536
|
+
email: string;
|
|
537
|
+
rules?: {
|
|
538
|
+
require_mx_record?: boolean | undefined;
|
|
539
|
+
block_aliases?: boolean | undefined;
|
|
540
|
+
block_free_emails?: boolean | undefined;
|
|
541
|
+
block_disposable_emails?: boolean | undefined;
|
|
542
|
+
blocklist?: string[] | undefined;
|
|
543
|
+
allowlist?: string[] | undefined;
|
|
544
|
+
} | undefined;
|
|
545
|
+
}>;
|
|
546
|
+
}, "strip", z.ZodTypeAny, {
|
|
547
|
+
params: {
|
|
548
|
+
email: string;
|
|
549
|
+
rules?: {
|
|
550
|
+
require_mx_record?: boolean | undefined;
|
|
551
|
+
block_aliases?: boolean | undefined;
|
|
552
|
+
block_free_emails?: boolean | undefined;
|
|
553
|
+
block_disposable_emails?: boolean | undefined;
|
|
554
|
+
blocklist?: string[] | undefined;
|
|
555
|
+
allowlist?: string[] | undefined;
|
|
556
|
+
} | undefined;
|
|
557
|
+
};
|
|
558
|
+
type: "EMAIL";
|
|
559
|
+
id: string;
|
|
560
|
+
action: "VERIFY_EMAIL";
|
|
561
|
+
alias?: string | undefined;
|
|
562
|
+
allow_failure?: boolean | undefined;
|
|
563
|
+
mask_output?: boolean | undefined;
|
|
564
|
+
}, {
|
|
565
|
+
params: {
|
|
566
|
+
email: string;
|
|
567
|
+
rules?: {
|
|
568
|
+
require_mx_record?: boolean | undefined;
|
|
569
|
+
block_aliases?: boolean | undefined;
|
|
570
|
+
block_free_emails?: boolean | undefined;
|
|
571
|
+
block_disposable_emails?: boolean | undefined;
|
|
572
|
+
blocklist?: string[] | undefined;
|
|
573
|
+
allowlist?: string[] | undefined;
|
|
574
|
+
} | undefined;
|
|
575
|
+
};
|
|
576
|
+
type: "EMAIL";
|
|
577
|
+
id: string;
|
|
578
|
+
action: "VERIFY_EMAIL";
|
|
579
|
+
alias?: string | undefined;
|
|
580
|
+
allow_failure?: boolean | undefined;
|
|
581
|
+
mask_output?: boolean | undefined;
|
|
582
|
+
}>,
|
|
583
|
+
z.ZodObject<{
|
|
584
|
+
id: z.ZodString;
|
|
585
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
586
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
587
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
588
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
589
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
590
|
+
params: z.ZodObject<{
|
|
591
|
+
target: z.ZodEnum<[
|
|
592
|
+
"change-email",
|
|
593
|
+
"account",
|
|
594
|
+
"custom"
|
|
595
|
+
]>;
|
|
596
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
597
|
+
}, "strip", z.ZodTypeAny, {
|
|
598
|
+
target: "custom" | "change-email" | "account";
|
|
599
|
+
custom_url?: string | undefined;
|
|
600
|
+
}, {
|
|
601
|
+
target: "custom" | "change-email" | "account";
|
|
602
|
+
custom_url?: string | undefined;
|
|
603
|
+
}>;
|
|
604
|
+
}, "strip", z.ZodTypeAny, {
|
|
605
|
+
params: {
|
|
606
|
+
target: "custom" | "change-email" | "account";
|
|
607
|
+
custom_url?: string | undefined;
|
|
608
|
+
};
|
|
609
|
+
type: "REDIRECT";
|
|
610
|
+
id: string;
|
|
611
|
+
action: "REDIRECT_USER";
|
|
612
|
+
alias?: string | undefined;
|
|
613
|
+
allow_failure?: boolean | undefined;
|
|
614
|
+
mask_output?: boolean | undefined;
|
|
615
|
+
}, {
|
|
616
|
+
params: {
|
|
617
|
+
target: "custom" | "change-email" | "account";
|
|
618
|
+
custom_url?: string | undefined;
|
|
619
|
+
};
|
|
620
|
+
type: "REDIRECT";
|
|
621
|
+
id: string;
|
|
622
|
+
action: "REDIRECT_USER";
|
|
623
|
+
alias?: string | undefined;
|
|
624
|
+
allow_failure?: boolean | undefined;
|
|
625
|
+
mask_output?: boolean | undefined;
|
|
626
|
+
}>
|
|
627
|
+
]>, "many">>>;
|
|
628
|
+
}, "strip", z.ZodTypeAny, {
|
|
629
|
+
name: string;
|
|
630
|
+
actions: ({
|
|
631
|
+
params: {
|
|
632
|
+
user_id: string;
|
|
633
|
+
changes: Record<string, any>;
|
|
634
|
+
connection_id?: string | undefined;
|
|
635
|
+
};
|
|
636
|
+
type: "AUTH0";
|
|
637
|
+
id: string;
|
|
638
|
+
action: "UPDATE_USER";
|
|
639
|
+
alias?: string | undefined;
|
|
640
|
+
allow_failure?: boolean | undefined;
|
|
641
|
+
mask_output?: boolean | undefined;
|
|
642
|
+
} | {
|
|
643
|
+
params: {
|
|
644
|
+
email: string;
|
|
645
|
+
rules?: {
|
|
646
|
+
require_mx_record?: boolean | undefined;
|
|
647
|
+
block_aliases?: boolean | undefined;
|
|
648
|
+
block_free_emails?: boolean | undefined;
|
|
649
|
+
block_disposable_emails?: boolean | undefined;
|
|
650
|
+
blocklist?: string[] | undefined;
|
|
651
|
+
allowlist?: string[] | undefined;
|
|
652
|
+
} | undefined;
|
|
653
|
+
};
|
|
654
|
+
type: "EMAIL";
|
|
655
|
+
id: string;
|
|
656
|
+
action: "VERIFY_EMAIL";
|
|
657
|
+
alias?: string | undefined;
|
|
658
|
+
allow_failure?: boolean | undefined;
|
|
659
|
+
mask_output?: boolean | undefined;
|
|
660
|
+
} | {
|
|
661
|
+
params: {
|
|
662
|
+
target: "custom" | "change-email" | "account";
|
|
663
|
+
custom_url?: string | undefined;
|
|
664
|
+
};
|
|
665
|
+
type: "REDIRECT";
|
|
666
|
+
id: string;
|
|
667
|
+
action: "REDIRECT_USER";
|
|
668
|
+
alias?: string | undefined;
|
|
669
|
+
allow_failure?: boolean | undefined;
|
|
670
|
+
mask_output?: boolean | undefined;
|
|
671
|
+
})[];
|
|
672
|
+
}, {
|
|
673
|
+
name: string;
|
|
674
|
+
actions?: ({
|
|
675
|
+
params: {
|
|
676
|
+
user_id: string;
|
|
677
|
+
changes: Record<string, any>;
|
|
678
|
+
connection_id?: string | undefined;
|
|
679
|
+
};
|
|
680
|
+
type: "AUTH0";
|
|
681
|
+
id: string;
|
|
682
|
+
action: "UPDATE_USER";
|
|
683
|
+
alias?: string | undefined;
|
|
684
|
+
allow_failure?: boolean | undefined;
|
|
685
|
+
mask_output?: boolean | undefined;
|
|
686
|
+
} | {
|
|
687
|
+
params: {
|
|
688
|
+
email: string;
|
|
689
|
+
rules?: {
|
|
690
|
+
require_mx_record?: boolean | undefined;
|
|
691
|
+
block_aliases?: boolean | undefined;
|
|
692
|
+
block_free_emails?: boolean | undefined;
|
|
693
|
+
block_disposable_emails?: boolean | undefined;
|
|
694
|
+
blocklist?: string[] | undefined;
|
|
695
|
+
allowlist?: string[] | undefined;
|
|
696
|
+
} | undefined;
|
|
697
|
+
};
|
|
698
|
+
type: "EMAIL";
|
|
699
|
+
id: string;
|
|
700
|
+
action: "VERIFY_EMAIL";
|
|
701
|
+
alias?: string | undefined;
|
|
702
|
+
allow_failure?: boolean | undefined;
|
|
703
|
+
mask_output?: boolean | undefined;
|
|
704
|
+
} | {
|
|
705
|
+
params: {
|
|
706
|
+
target: "custom" | "change-email" | "account";
|
|
707
|
+
custom_url?: string | undefined;
|
|
708
|
+
};
|
|
709
|
+
type: "REDIRECT";
|
|
710
|
+
id: string;
|
|
711
|
+
action: "REDIRECT_USER";
|
|
712
|
+
alias?: string | undefined;
|
|
713
|
+
allow_failure?: boolean | undefined;
|
|
714
|
+
mask_output?: boolean | undefined;
|
|
715
|
+
})[] | undefined;
|
|
716
|
+
}>;
|
|
717
|
+
export type FlowInsert = z.infer<typeof flowInsertSchema>;
|
|
718
|
+
/**
|
|
719
|
+
* Full flow schema including system fields
|
|
720
|
+
*/
|
|
721
|
+
export declare const flowSchema: z.ZodObject<{
|
|
722
|
+
name: z.ZodString;
|
|
723
|
+
actions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<[
|
|
724
|
+
z.ZodObject<{
|
|
725
|
+
id: z.ZodString;
|
|
726
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
727
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
728
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
729
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
730
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
731
|
+
params: z.ZodObject<{
|
|
732
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
733
|
+
user_id: z.ZodString;
|
|
734
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
735
|
+
}, "strip", z.ZodTypeAny, {
|
|
736
|
+
user_id: string;
|
|
737
|
+
changes: Record<string, any>;
|
|
738
|
+
connection_id?: string | undefined;
|
|
739
|
+
}, {
|
|
740
|
+
user_id: string;
|
|
741
|
+
changes: Record<string, any>;
|
|
742
|
+
connection_id?: string | undefined;
|
|
743
|
+
}>;
|
|
744
|
+
}, "strip", z.ZodTypeAny, {
|
|
745
|
+
params: {
|
|
746
|
+
user_id: string;
|
|
747
|
+
changes: Record<string, any>;
|
|
748
|
+
connection_id?: string | undefined;
|
|
749
|
+
};
|
|
750
|
+
type: "AUTH0";
|
|
751
|
+
id: string;
|
|
752
|
+
action: "UPDATE_USER";
|
|
753
|
+
alias?: string | undefined;
|
|
754
|
+
allow_failure?: boolean | undefined;
|
|
755
|
+
mask_output?: boolean | undefined;
|
|
756
|
+
}, {
|
|
757
|
+
params: {
|
|
758
|
+
user_id: string;
|
|
759
|
+
changes: Record<string, any>;
|
|
760
|
+
connection_id?: string | undefined;
|
|
761
|
+
};
|
|
762
|
+
type: "AUTH0";
|
|
763
|
+
id: string;
|
|
764
|
+
action: "UPDATE_USER";
|
|
765
|
+
alias?: string | undefined;
|
|
766
|
+
allow_failure?: boolean | undefined;
|
|
767
|
+
mask_output?: boolean | undefined;
|
|
768
|
+
}>,
|
|
769
|
+
z.ZodObject<{
|
|
770
|
+
id: z.ZodString;
|
|
771
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
772
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
773
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
774
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
775
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
776
|
+
params: z.ZodObject<{
|
|
777
|
+
email: z.ZodString;
|
|
778
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
779
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
780
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
781
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
782
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
783
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
784
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
785
|
+
}, "strip", z.ZodTypeAny, {
|
|
786
|
+
require_mx_record?: boolean | undefined;
|
|
787
|
+
block_aliases?: boolean | undefined;
|
|
788
|
+
block_free_emails?: boolean | undefined;
|
|
789
|
+
block_disposable_emails?: boolean | undefined;
|
|
790
|
+
blocklist?: string[] | undefined;
|
|
791
|
+
allowlist?: string[] | undefined;
|
|
792
|
+
}, {
|
|
793
|
+
require_mx_record?: boolean | undefined;
|
|
794
|
+
block_aliases?: boolean | undefined;
|
|
795
|
+
block_free_emails?: boolean | undefined;
|
|
796
|
+
block_disposable_emails?: boolean | undefined;
|
|
797
|
+
blocklist?: string[] | undefined;
|
|
798
|
+
allowlist?: string[] | undefined;
|
|
799
|
+
}>>;
|
|
800
|
+
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
email: string;
|
|
802
|
+
rules?: {
|
|
803
|
+
require_mx_record?: boolean | undefined;
|
|
804
|
+
block_aliases?: boolean | undefined;
|
|
805
|
+
block_free_emails?: boolean | undefined;
|
|
806
|
+
block_disposable_emails?: boolean | undefined;
|
|
807
|
+
blocklist?: string[] | undefined;
|
|
808
|
+
allowlist?: string[] | undefined;
|
|
809
|
+
} | undefined;
|
|
810
|
+
}, {
|
|
811
|
+
email: string;
|
|
812
|
+
rules?: {
|
|
813
|
+
require_mx_record?: boolean | undefined;
|
|
814
|
+
block_aliases?: boolean | undefined;
|
|
815
|
+
block_free_emails?: boolean | undefined;
|
|
816
|
+
block_disposable_emails?: boolean | undefined;
|
|
817
|
+
blocklist?: string[] | undefined;
|
|
818
|
+
allowlist?: string[] | undefined;
|
|
819
|
+
} | undefined;
|
|
820
|
+
}>;
|
|
821
|
+
}, "strip", z.ZodTypeAny, {
|
|
822
|
+
params: {
|
|
823
|
+
email: string;
|
|
824
|
+
rules?: {
|
|
825
|
+
require_mx_record?: boolean | undefined;
|
|
826
|
+
block_aliases?: boolean | undefined;
|
|
827
|
+
block_free_emails?: boolean | undefined;
|
|
828
|
+
block_disposable_emails?: boolean | undefined;
|
|
829
|
+
blocklist?: string[] | undefined;
|
|
830
|
+
allowlist?: string[] | undefined;
|
|
831
|
+
} | undefined;
|
|
832
|
+
};
|
|
833
|
+
type: "EMAIL";
|
|
834
|
+
id: string;
|
|
835
|
+
action: "VERIFY_EMAIL";
|
|
836
|
+
alias?: string | undefined;
|
|
837
|
+
allow_failure?: boolean | undefined;
|
|
838
|
+
mask_output?: boolean | undefined;
|
|
839
|
+
}, {
|
|
840
|
+
params: {
|
|
841
|
+
email: string;
|
|
842
|
+
rules?: {
|
|
843
|
+
require_mx_record?: boolean | undefined;
|
|
844
|
+
block_aliases?: boolean | undefined;
|
|
845
|
+
block_free_emails?: boolean | undefined;
|
|
846
|
+
block_disposable_emails?: boolean | undefined;
|
|
847
|
+
blocklist?: string[] | undefined;
|
|
848
|
+
allowlist?: string[] | undefined;
|
|
849
|
+
} | undefined;
|
|
850
|
+
};
|
|
851
|
+
type: "EMAIL";
|
|
852
|
+
id: string;
|
|
853
|
+
action: "VERIFY_EMAIL";
|
|
854
|
+
alias?: string | undefined;
|
|
855
|
+
allow_failure?: boolean | undefined;
|
|
856
|
+
mask_output?: boolean | undefined;
|
|
857
|
+
}>,
|
|
858
|
+
z.ZodObject<{
|
|
859
|
+
id: z.ZodString;
|
|
860
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
861
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
862
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
863
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
864
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
865
|
+
params: z.ZodObject<{
|
|
866
|
+
target: z.ZodEnum<[
|
|
867
|
+
"change-email",
|
|
868
|
+
"account",
|
|
869
|
+
"custom"
|
|
870
|
+
]>;
|
|
871
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
872
|
+
}, "strip", z.ZodTypeAny, {
|
|
873
|
+
target: "custom" | "change-email" | "account";
|
|
874
|
+
custom_url?: string | undefined;
|
|
875
|
+
}, {
|
|
876
|
+
target: "custom" | "change-email" | "account";
|
|
877
|
+
custom_url?: string | undefined;
|
|
878
|
+
}>;
|
|
879
|
+
}, "strip", z.ZodTypeAny, {
|
|
880
|
+
params: {
|
|
881
|
+
target: "custom" | "change-email" | "account";
|
|
882
|
+
custom_url?: string | undefined;
|
|
883
|
+
};
|
|
884
|
+
type: "REDIRECT";
|
|
885
|
+
id: string;
|
|
886
|
+
action: "REDIRECT_USER";
|
|
887
|
+
alias?: string | undefined;
|
|
888
|
+
allow_failure?: boolean | undefined;
|
|
889
|
+
mask_output?: boolean | undefined;
|
|
890
|
+
}, {
|
|
891
|
+
params: {
|
|
892
|
+
target: "custom" | "change-email" | "account";
|
|
893
|
+
custom_url?: string | undefined;
|
|
894
|
+
};
|
|
895
|
+
type: "REDIRECT";
|
|
896
|
+
id: string;
|
|
897
|
+
action: "REDIRECT_USER";
|
|
898
|
+
alias?: string | undefined;
|
|
899
|
+
allow_failure?: boolean | undefined;
|
|
900
|
+
mask_output?: boolean | undefined;
|
|
901
|
+
}>
|
|
902
|
+
]>, "many">>>;
|
|
903
|
+
} & {
|
|
904
|
+
id: z.ZodString;
|
|
905
|
+
created_at: z.ZodString;
|
|
906
|
+
updated_at: z.ZodString;
|
|
907
|
+
}, "strip", z.ZodTypeAny, {
|
|
908
|
+
created_at: string;
|
|
909
|
+
updated_at: string;
|
|
910
|
+
id: string;
|
|
911
|
+
name: string;
|
|
912
|
+
actions: ({
|
|
913
|
+
params: {
|
|
914
|
+
user_id: string;
|
|
915
|
+
changes: Record<string, any>;
|
|
916
|
+
connection_id?: string | undefined;
|
|
917
|
+
};
|
|
918
|
+
type: "AUTH0";
|
|
919
|
+
id: string;
|
|
920
|
+
action: "UPDATE_USER";
|
|
921
|
+
alias?: string | undefined;
|
|
922
|
+
allow_failure?: boolean | undefined;
|
|
923
|
+
mask_output?: boolean | undefined;
|
|
924
|
+
} | {
|
|
925
|
+
params: {
|
|
926
|
+
email: string;
|
|
927
|
+
rules?: {
|
|
928
|
+
require_mx_record?: boolean | undefined;
|
|
929
|
+
block_aliases?: boolean | undefined;
|
|
930
|
+
block_free_emails?: boolean | undefined;
|
|
931
|
+
block_disposable_emails?: boolean | undefined;
|
|
932
|
+
blocklist?: string[] | undefined;
|
|
933
|
+
allowlist?: string[] | undefined;
|
|
934
|
+
} | undefined;
|
|
935
|
+
};
|
|
936
|
+
type: "EMAIL";
|
|
937
|
+
id: string;
|
|
938
|
+
action: "VERIFY_EMAIL";
|
|
939
|
+
alias?: string | undefined;
|
|
940
|
+
allow_failure?: boolean | undefined;
|
|
941
|
+
mask_output?: boolean | undefined;
|
|
942
|
+
} | {
|
|
943
|
+
params: {
|
|
944
|
+
target: "custom" | "change-email" | "account";
|
|
945
|
+
custom_url?: string | undefined;
|
|
946
|
+
};
|
|
947
|
+
type: "REDIRECT";
|
|
948
|
+
id: string;
|
|
949
|
+
action: "REDIRECT_USER";
|
|
950
|
+
alias?: string | undefined;
|
|
951
|
+
allow_failure?: boolean | undefined;
|
|
952
|
+
mask_output?: boolean | undefined;
|
|
953
|
+
})[];
|
|
954
|
+
}, {
|
|
955
|
+
created_at: string;
|
|
956
|
+
updated_at: string;
|
|
957
|
+
id: string;
|
|
958
|
+
name: string;
|
|
959
|
+
actions?: ({
|
|
960
|
+
params: {
|
|
961
|
+
user_id: string;
|
|
962
|
+
changes: Record<string, any>;
|
|
963
|
+
connection_id?: string | undefined;
|
|
964
|
+
};
|
|
965
|
+
type: "AUTH0";
|
|
966
|
+
id: string;
|
|
967
|
+
action: "UPDATE_USER";
|
|
968
|
+
alias?: string | undefined;
|
|
969
|
+
allow_failure?: boolean | undefined;
|
|
970
|
+
mask_output?: boolean | undefined;
|
|
971
|
+
} | {
|
|
972
|
+
params: {
|
|
973
|
+
email: string;
|
|
974
|
+
rules?: {
|
|
975
|
+
require_mx_record?: boolean | undefined;
|
|
976
|
+
block_aliases?: boolean | undefined;
|
|
977
|
+
block_free_emails?: boolean | undefined;
|
|
978
|
+
block_disposable_emails?: boolean | undefined;
|
|
979
|
+
blocklist?: string[] | undefined;
|
|
980
|
+
allowlist?: string[] | undefined;
|
|
981
|
+
} | undefined;
|
|
982
|
+
};
|
|
983
|
+
type: "EMAIL";
|
|
984
|
+
id: string;
|
|
985
|
+
action: "VERIFY_EMAIL";
|
|
986
|
+
alias?: string | undefined;
|
|
987
|
+
allow_failure?: boolean | undefined;
|
|
988
|
+
mask_output?: boolean | undefined;
|
|
989
|
+
} | {
|
|
990
|
+
params: {
|
|
991
|
+
target: "custom" | "change-email" | "account";
|
|
992
|
+
custom_url?: string | undefined;
|
|
993
|
+
};
|
|
994
|
+
type: "REDIRECT";
|
|
995
|
+
id: string;
|
|
996
|
+
action: "REDIRECT_USER";
|
|
997
|
+
alias?: string | undefined;
|
|
998
|
+
allow_failure?: boolean | undefined;
|
|
999
|
+
mask_output?: boolean | undefined;
|
|
1000
|
+
})[] | undefined;
|
|
1001
|
+
}>;
|
|
1002
|
+
export type Flow = z.infer<typeof flowSchema>;
|
|
8
1003
|
export declare const auth0QuerySchema: z.ZodObject<{
|
|
9
1004
|
page: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, number, string | undefined>;
|
|
10
1005
|
per_page: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, number, string | undefined>;
|
|
@@ -18,8 +1013,8 @@ export declare const auth0QuerySchema: z.ZodObject<{
|
|
|
18
1013
|
sort?: string | undefined;
|
|
19
1014
|
q?: string | undefined;
|
|
20
1015
|
}, {
|
|
21
|
-
page?: string | undefined;
|
|
22
1016
|
sort?: string | undefined;
|
|
1017
|
+
page?: string | undefined;
|
|
23
1018
|
per_page?: string | undefined;
|
|
24
1019
|
include_totals?: string | undefined;
|
|
25
1020
|
q?: string | undefined;
|
|
@@ -58,13 +1053,13 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
58
1053
|
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
59
1054
|
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
60
1055
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
email?: string | undefined;
|
|
62
1056
|
name?: string | undefined;
|
|
1057
|
+
user_id?: string | undefined;
|
|
1058
|
+
email?: string | undefined;
|
|
63
1059
|
username?: string | undefined;
|
|
64
1060
|
given_name?: string | undefined;
|
|
65
1061
|
phone_number?: string | undefined;
|
|
66
1062
|
family_name?: string | undefined;
|
|
67
|
-
user_id?: string | undefined;
|
|
68
1063
|
profileData?: string | undefined;
|
|
69
1064
|
nickname?: string | undefined;
|
|
70
1065
|
picture?: string | undefined;
|
|
@@ -73,13 +1068,13 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
73
1068
|
app_metadata?: any;
|
|
74
1069
|
user_metadata?: any;
|
|
75
1070
|
}, {
|
|
76
|
-
email?: string | undefined;
|
|
77
1071
|
name?: string | undefined;
|
|
1072
|
+
user_id?: string | undefined;
|
|
1073
|
+
email?: string | undefined;
|
|
78
1074
|
username?: string | undefined;
|
|
79
1075
|
given_name?: string | undefined;
|
|
80
1076
|
phone_number?: string | undefined;
|
|
81
1077
|
family_name?: string | undefined;
|
|
82
|
-
user_id?: string | undefined;
|
|
83
1078
|
profileData?: string | undefined;
|
|
84
1079
|
nickname?: string | undefined;
|
|
85
1080
|
picture?: string | undefined;
|
|
@@ -115,13 +1110,13 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
115
1110
|
}, "strip", z.ZodTypeAny, {
|
|
116
1111
|
email_verified: boolean;
|
|
117
1112
|
connection: string;
|
|
118
|
-
email?: string | undefined;
|
|
119
1113
|
name?: string | undefined;
|
|
1114
|
+
user_id?: string | undefined;
|
|
1115
|
+
email?: string | undefined;
|
|
120
1116
|
username?: string | undefined;
|
|
121
1117
|
given_name?: string | undefined;
|
|
122
1118
|
phone_number?: string | undefined;
|
|
123
1119
|
family_name?: string | undefined;
|
|
124
|
-
user_id?: string | undefined;
|
|
125
1120
|
provider?: string | undefined;
|
|
126
1121
|
profileData?: string | undefined;
|
|
127
1122
|
nickname?: string | undefined;
|
|
@@ -136,14 +1131,14 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
136
1131
|
is_social?: boolean | undefined;
|
|
137
1132
|
}, {
|
|
138
1133
|
connection: string;
|
|
1134
|
+
name?: string | undefined;
|
|
1135
|
+
user_id?: string | undefined;
|
|
139
1136
|
email?: string | undefined;
|
|
140
1137
|
email_verified?: boolean | undefined;
|
|
141
|
-
name?: string | undefined;
|
|
142
1138
|
username?: string | undefined;
|
|
143
1139
|
given_name?: string | undefined;
|
|
144
1140
|
phone_number?: string | undefined;
|
|
145
1141
|
family_name?: string | undefined;
|
|
146
|
-
user_id?: string | undefined;
|
|
147
1142
|
provider?: string | undefined;
|
|
148
1143
|
profileData?: string | undefined;
|
|
149
1144
|
nickname?: string | undefined;
|
|
@@ -201,8 +1196,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
201
1196
|
family_name: z.ZodOptional<z.ZodString>;
|
|
202
1197
|
}, z.ZodAny, "strip">>>;
|
|
203
1198
|
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
connection: string;
|
|
205
1199
|
user_id: string;
|
|
1200
|
+
connection: string;
|
|
206
1201
|
provider: string;
|
|
207
1202
|
isSocial: boolean;
|
|
208
1203
|
access_token?: string | undefined;
|
|
@@ -219,8 +1214,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
219
1214
|
family_name: z.ZodOptional<z.ZodString>;
|
|
220
1215
|
}, z.ZodAny, "strip"> | undefined;
|
|
221
1216
|
}, {
|
|
222
|
-
connection: string;
|
|
223
1217
|
user_id: string;
|
|
1218
|
+
connection: string;
|
|
224
1219
|
provider: string;
|
|
225
1220
|
isSocial: boolean;
|
|
226
1221
|
access_token?: string | undefined;
|
|
@@ -259,14 +1254,14 @@ export declare const userSchema: z.ZodObject<{
|
|
|
259
1254
|
}, "strip", z.ZodTypeAny, {
|
|
260
1255
|
created_at: string;
|
|
261
1256
|
updated_at: string;
|
|
1257
|
+
user_id: string;
|
|
262
1258
|
email_verified: boolean;
|
|
263
1259
|
connection: string;
|
|
264
|
-
user_id: string;
|
|
265
1260
|
provider: string;
|
|
266
1261
|
is_social: boolean;
|
|
267
1262
|
login_count: number;
|
|
268
|
-
email?: string | undefined;
|
|
269
1263
|
name?: string | undefined;
|
|
1264
|
+
email?: string | undefined;
|
|
270
1265
|
username?: string | undefined;
|
|
271
1266
|
given_name?: string | undefined;
|
|
272
1267
|
phone_number?: string | undefined;
|
|
@@ -282,8 +1277,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
282
1277
|
last_ip?: string | undefined;
|
|
283
1278
|
last_login?: string | undefined;
|
|
284
1279
|
identities?: {
|
|
285
|
-
connection: string;
|
|
286
1280
|
user_id: string;
|
|
1281
|
+
connection: string;
|
|
287
1282
|
provider: string;
|
|
288
1283
|
isSocial: boolean;
|
|
289
1284
|
access_token?: string | undefined;
|
|
@@ -303,13 +1298,13 @@ export declare const userSchema: z.ZodObject<{
|
|
|
303
1298
|
}, {
|
|
304
1299
|
created_at: string;
|
|
305
1300
|
updated_at: string;
|
|
306
|
-
connection: string;
|
|
307
1301
|
user_id: string;
|
|
1302
|
+
connection: string;
|
|
308
1303
|
provider: string;
|
|
309
1304
|
is_social: boolean;
|
|
1305
|
+
name?: string | undefined;
|
|
310
1306
|
email?: string | undefined;
|
|
311
1307
|
email_verified?: boolean | undefined;
|
|
312
|
-
name?: string | undefined;
|
|
313
1308
|
username?: string | undefined;
|
|
314
1309
|
given_name?: string | undefined;
|
|
315
1310
|
phone_number?: string | undefined;
|
|
@@ -326,8 +1321,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
326
1321
|
last_login?: string | undefined;
|
|
327
1322
|
login_count?: number | undefined;
|
|
328
1323
|
identities?: {
|
|
329
|
-
connection: string;
|
|
330
1324
|
user_id: string;
|
|
1325
|
+
connection: string;
|
|
331
1326
|
provider: string;
|
|
332
1327
|
isSocial: boolean;
|
|
333
1328
|
access_token?: string | undefined;
|
|
@@ -389,8 +1384,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
389
1384
|
family_name: z.ZodOptional<z.ZodString>;
|
|
390
1385
|
}, z.ZodAny, "strip">>>;
|
|
391
1386
|
}, "strip", z.ZodTypeAny, {
|
|
392
|
-
connection: string;
|
|
393
1387
|
user_id: string;
|
|
1388
|
+
connection: string;
|
|
394
1389
|
provider: string;
|
|
395
1390
|
isSocial: boolean;
|
|
396
1391
|
access_token?: string | undefined;
|
|
@@ -407,8 +1402,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
407
1402
|
family_name: z.ZodOptional<z.ZodString>;
|
|
408
1403
|
}, z.ZodAny, "strip"> | undefined;
|
|
409
1404
|
}, {
|
|
410
|
-
connection: string;
|
|
411
1405
|
user_id: string;
|
|
1406
|
+
connection: string;
|
|
412
1407
|
provider: string;
|
|
413
1408
|
isSocial: boolean;
|
|
414
1409
|
access_token?: string | undefined;
|
|
@@ -447,14 +1442,14 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
447
1442
|
}, "strip", z.ZodTypeAny, {
|
|
448
1443
|
created_at: string;
|
|
449
1444
|
updated_at: string;
|
|
1445
|
+
user_id: string;
|
|
450
1446
|
email_verified: boolean;
|
|
451
1447
|
connection: string;
|
|
452
|
-
user_id: string;
|
|
453
1448
|
provider: string;
|
|
454
1449
|
is_social: boolean;
|
|
455
1450
|
login_count: number;
|
|
456
|
-
email?: string | undefined;
|
|
457
1451
|
name?: string | undefined;
|
|
1452
|
+
email?: string | undefined;
|
|
458
1453
|
username?: string | undefined;
|
|
459
1454
|
given_name?: string | undefined;
|
|
460
1455
|
phone_number?: string | undefined;
|
|
@@ -470,8 +1465,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
470
1465
|
last_ip?: string | undefined;
|
|
471
1466
|
last_login?: string | undefined;
|
|
472
1467
|
identities?: {
|
|
473
|
-
connection: string;
|
|
474
1468
|
user_id: string;
|
|
1469
|
+
connection: string;
|
|
475
1470
|
provider: string;
|
|
476
1471
|
isSocial: boolean;
|
|
477
1472
|
access_token?: string | undefined;
|
|
@@ -491,13 +1486,13 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
491
1486
|
}, {
|
|
492
1487
|
created_at: string;
|
|
493
1488
|
updated_at: string;
|
|
494
|
-
connection: string;
|
|
495
1489
|
user_id: string;
|
|
1490
|
+
connection: string;
|
|
496
1491
|
provider: string;
|
|
497
1492
|
is_social: boolean;
|
|
1493
|
+
name?: string | undefined;
|
|
498
1494
|
email?: string | undefined;
|
|
499
1495
|
email_verified?: boolean | undefined;
|
|
500
|
-
name?: string | undefined;
|
|
501
1496
|
username?: string | undefined;
|
|
502
1497
|
given_name?: string | undefined;
|
|
503
1498
|
phone_number?: string | undefined;
|
|
@@ -514,8 +1509,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
514
1509
|
last_login?: string | undefined;
|
|
515
1510
|
login_count?: number | undefined;
|
|
516
1511
|
identities?: {
|
|
517
|
-
connection: string;
|
|
518
1512
|
user_id: string;
|
|
1513
|
+
connection: string;
|
|
519
1514
|
provider: string;
|
|
520
1515
|
isSocial: boolean;
|
|
521
1516
|
access_token?: string | undefined;
|
|
@@ -1044,9 +2039,9 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
1044
2039
|
authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1045
2040
|
id: z.ZodString;
|
|
1046
2041
|
}, "strip", z.ZodTypeAny, {
|
|
2042
|
+
id: string;
|
|
1047
2043
|
client_id: string;
|
|
1048
2044
|
audience: string;
|
|
1049
|
-
id: string;
|
|
1050
2045
|
created_at?: string | undefined;
|
|
1051
2046
|
updated_at?: string | undefined;
|
|
1052
2047
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1056,9 +2051,9 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
1056
2051
|
subject_type?: "client" | "user" | undefined;
|
|
1057
2052
|
authorization_details_types?: string[] | undefined;
|
|
1058
2053
|
}, {
|
|
2054
|
+
id: string;
|
|
1059
2055
|
client_id: string;
|
|
1060
2056
|
audience: string;
|
|
1061
|
-
id: string;
|
|
1062
2057
|
created_at?: string | undefined;
|
|
1063
2058
|
updated_at?: string | undefined;
|
|
1064
2059
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1089,9 +2084,9 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
1089
2084
|
authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1090
2085
|
id: z.ZodString;
|
|
1091
2086
|
}, "strip", z.ZodTypeAny, {
|
|
2087
|
+
id: string;
|
|
1092
2088
|
client_id: string;
|
|
1093
2089
|
audience: string;
|
|
1094
|
-
id: string;
|
|
1095
2090
|
created_at?: string | undefined;
|
|
1096
2091
|
updated_at?: string | undefined;
|
|
1097
2092
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1101,9 +2096,9 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
1101
2096
|
subject_type?: "client" | "user" | undefined;
|
|
1102
2097
|
authorization_details_types?: string[] | undefined;
|
|
1103
2098
|
}, {
|
|
2099
|
+
id: string;
|
|
1104
2100
|
client_id: string;
|
|
1105
2101
|
audience: string;
|
|
1106
|
-
id: string;
|
|
1107
2102
|
created_at?: string | undefined;
|
|
1108
2103
|
updated_at?: string | undefined;
|
|
1109
2104
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -2205,6 +3200,87 @@ export declare const flowNodeSchema: z.ZodObject<{
|
|
|
2205
3200
|
};
|
|
2206
3201
|
alias?: string | undefined;
|
|
2207
3202
|
}>;
|
|
3203
|
+
export declare const actionNodeSchema: z.ZodObject<{
|
|
3204
|
+
id: z.ZodString;
|
|
3205
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
3206
|
+
coordinates: z.ZodObject<{
|
|
3207
|
+
x: z.ZodNumber;
|
|
3208
|
+
y: z.ZodNumber;
|
|
3209
|
+
}, "strip", z.ZodTypeAny, {
|
|
3210
|
+
x: number;
|
|
3211
|
+
y: number;
|
|
3212
|
+
}, {
|
|
3213
|
+
x: number;
|
|
3214
|
+
y: number;
|
|
3215
|
+
}>;
|
|
3216
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
3217
|
+
config: z.ZodObject<{
|
|
3218
|
+
action_type: z.ZodEnum<[
|
|
3219
|
+
"REDIRECT"
|
|
3220
|
+
]>;
|
|
3221
|
+
target: z.ZodEnum<[
|
|
3222
|
+
"change-email",
|
|
3223
|
+
"account",
|
|
3224
|
+
"custom"
|
|
3225
|
+
]>;
|
|
3226
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3227
|
+
next_node: z.ZodString;
|
|
3228
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3229
|
+
action_type: z.ZodEnum<[
|
|
3230
|
+
"REDIRECT"
|
|
3231
|
+
]>;
|
|
3232
|
+
target: z.ZodEnum<[
|
|
3233
|
+
"change-email",
|
|
3234
|
+
"account",
|
|
3235
|
+
"custom"
|
|
3236
|
+
]>;
|
|
3237
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3238
|
+
next_node: z.ZodString;
|
|
3239
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3240
|
+
action_type: z.ZodEnum<[
|
|
3241
|
+
"REDIRECT"
|
|
3242
|
+
]>;
|
|
3243
|
+
target: z.ZodEnum<[
|
|
3244
|
+
"change-email",
|
|
3245
|
+
"account",
|
|
3246
|
+
"custom"
|
|
3247
|
+
]>;
|
|
3248
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3249
|
+
next_node: z.ZodString;
|
|
3250
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3251
|
+
}, "strip", z.ZodTypeAny, {
|
|
3252
|
+
type: NodeType.ACTION;
|
|
3253
|
+
id: string;
|
|
3254
|
+
config: {
|
|
3255
|
+
target: "custom" | "change-email" | "account";
|
|
3256
|
+
next_node: string;
|
|
3257
|
+
action_type: "REDIRECT";
|
|
3258
|
+
custom_url?: string | undefined;
|
|
3259
|
+
} & {
|
|
3260
|
+
[k: string]: unknown;
|
|
3261
|
+
};
|
|
3262
|
+
coordinates: {
|
|
3263
|
+
x: number;
|
|
3264
|
+
y: number;
|
|
3265
|
+
};
|
|
3266
|
+
alias?: string | undefined;
|
|
3267
|
+
}, {
|
|
3268
|
+
type: NodeType.ACTION;
|
|
3269
|
+
id: string;
|
|
3270
|
+
config: {
|
|
3271
|
+
target: "custom" | "change-email" | "account";
|
|
3272
|
+
next_node: string;
|
|
3273
|
+
action_type: "REDIRECT";
|
|
3274
|
+
custom_url?: string | undefined;
|
|
3275
|
+
} & {
|
|
3276
|
+
[k: string]: unknown;
|
|
3277
|
+
};
|
|
3278
|
+
coordinates: {
|
|
3279
|
+
x: number;
|
|
3280
|
+
y: number;
|
|
3281
|
+
};
|
|
3282
|
+
alias?: string | undefined;
|
|
3283
|
+
}>;
|
|
2208
3284
|
export declare const genericNodeSchema: z.ZodObject<{
|
|
2209
3285
|
id: z.ZodString;
|
|
2210
3286
|
type: z.ZodString;
|
|
@@ -2948,6 +4024,87 @@ export declare const nodeSchema: z.ZodUnion<[
|
|
|
2948
4024
|
};
|
|
2949
4025
|
alias?: string | undefined;
|
|
2950
4026
|
}>,
|
|
4027
|
+
z.ZodObject<{
|
|
4028
|
+
id: z.ZodString;
|
|
4029
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
4030
|
+
coordinates: z.ZodObject<{
|
|
4031
|
+
x: z.ZodNumber;
|
|
4032
|
+
y: z.ZodNumber;
|
|
4033
|
+
}, "strip", z.ZodTypeAny, {
|
|
4034
|
+
x: number;
|
|
4035
|
+
y: number;
|
|
4036
|
+
}, {
|
|
4037
|
+
x: number;
|
|
4038
|
+
y: number;
|
|
4039
|
+
}>;
|
|
4040
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
4041
|
+
config: z.ZodObject<{
|
|
4042
|
+
action_type: z.ZodEnum<[
|
|
4043
|
+
"REDIRECT"
|
|
4044
|
+
]>;
|
|
4045
|
+
target: z.ZodEnum<[
|
|
4046
|
+
"change-email",
|
|
4047
|
+
"account",
|
|
4048
|
+
"custom"
|
|
4049
|
+
]>;
|
|
4050
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4051
|
+
next_node: z.ZodString;
|
|
4052
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4053
|
+
action_type: z.ZodEnum<[
|
|
4054
|
+
"REDIRECT"
|
|
4055
|
+
]>;
|
|
4056
|
+
target: z.ZodEnum<[
|
|
4057
|
+
"change-email",
|
|
4058
|
+
"account",
|
|
4059
|
+
"custom"
|
|
4060
|
+
]>;
|
|
4061
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4062
|
+
next_node: z.ZodString;
|
|
4063
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4064
|
+
action_type: z.ZodEnum<[
|
|
4065
|
+
"REDIRECT"
|
|
4066
|
+
]>;
|
|
4067
|
+
target: z.ZodEnum<[
|
|
4068
|
+
"change-email",
|
|
4069
|
+
"account",
|
|
4070
|
+
"custom"
|
|
4071
|
+
]>;
|
|
4072
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4073
|
+
next_node: z.ZodString;
|
|
4074
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4075
|
+
}, "strip", z.ZodTypeAny, {
|
|
4076
|
+
type: NodeType.ACTION;
|
|
4077
|
+
id: string;
|
|
4078
|
+
config: {
|
|
4079
|
+
target: "custom" | "change-email" | "account";
|
|
4080
|
+
next_node: string;
|
|
4081
|
+
action_type: "REDIRECT";
|
|
4082
|
+
custom_url?: string | undefined;
|
|
4083
|
+
} & {
|
|
4084
|
+
[k: string]: unknown;
|
|
4085
|
+
};
|
|
4086
|
+
coordinates: {
|
|
4087
|
+
x: number;
|
|
4088
|
+
y: number;
|
|
4089
|
+
};
|
|
4090
|
+
alias?: string | undefined;
|
|
4091
|
+
}, {
|
|
4092
|
+
type: NodeType.ACTION;
|
|
4093
|
+
id: string;
|
|
4094
|
+
config: {
|
|
4095
|
+
target: "custom" | "change-email" | "account";
|
|
4096
|
+
next_node: string;
|
|
4097
|
+
action_type: "REDIRECT";
|
|
4098
|
+
custom_url?: string | undefined;
|
|
4099
|
+
} & {
|
|
4100
|
+
[k: string]: unknown;
|
|
4101
|
+
};
|
|
4102
|
+
coordinates: {
|
|
4103
|
+
x: number;
|
|
4104
|
+
y: number;
|
|
4105
|
+
};
|
|
4106
|
+
alias?: string | undefined;
|
|
4107
|
+
}>,
|
|
2951
4108
|
z.ZodObject<{
|
|
2952
4109
|
id: z.ZodString;
|
|
2953
4110
|
type: z.ZodString;
|
|
@@ -2991,6 +4148,7 @@ export declare const nodeSchema: z.ZodUnion<[
|
|
|
2991
4148
|
]>;
|
|
2992
4149
|
export type StepNode = z.infer<typeof stepNodeSchema>;
|
|
2993
4150
|
export type FlowNode = z.infer<typeof flowNodeSchema>;
|
|
4151
|
+
export type ActionNode = z.infer<typeof actionNodeSchema>;
|
|
2994
4152
|
export type GenericNode = z.infer<typeof genericNodeSchema>;
|
|
2995
4153
|
type Node$1 = z.infer<typeof nodeSchema>;
|
|
2996
4154
|
export declare const startSchema: z.ZodObject<{
|
|
@@ -3782,6 +4940,87 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
3782
4940
|
};
|
|
3783
4941
|
alias?: string | undefined;
|
|
3784
4942
|
}>,
|
|
4943
|
+
z.ZodObject<{
|
|
4944
|
+
id: z.ZodString;
|
|
4945
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
4946
|
+
coordinates: z.ZodObject<{
|
|
4947
|
+
x: z.ZodNumber;
|
|
4948
|
+
y: z.ZodNumber;
|
|
4949
|
+
}, "strip", z.ZodTypeAny, {
|
|
4950
|
+
x: number;
|
|
4951
|
+
y: number;
|
|
4952
|
+
}, {
|
|
4953
|
+
x: number;
|
|
4954
|
+
y: number;
|
|
4955
|
+
}>;
|
|
4956
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
4957
|
+
config: z.ZodObject<{
|
|
4958
|
+
action_type: z.ZodEnum<[
|
|
4959
|
+
"REDIRECT"
|
|
4960
|
+
]>;
|
|
4961
|
+
target: z.ZodEnum<[
|
|
4962
|
+
"change-email",
|
|
4963
|
+
"account",
|
|
4964
|
+
"custom"
|
|
4965
|
+
]>;
|
|
4966
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4967
|
+
next_node: z.ZodString;
|
|
4968
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4969
|
+
action_type: z.ZodEnum<[
|
|
4970
|
+
"REDIRECT"
|
|
4971
|
+
]>;
|
|
4972
|
+
target: z.ZodEnum<[
|
|
4973
|
+
"change-email",
|
|
4974
|
+
"account",
|
|
4975
|
+
"custom"
|
|
4976
|
+
]>;
|
|
4977
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4978
|
+
next_node: z.ZodString;
|
|
4979
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4980
|
+
action_type: z.ZodEnum<[
|
|
4981
|
+
"REDIRECT"
|
|
4982
|
+
]>;
|
|
4983
|
+
target: z.ZodEnum<[
|
|
4984
|
+
"change-email",
|
|
4985
|
+
"account",
|
|
4986
|
+
"custom"
|
|
4987
|
+
]>;
|
|
4988
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4989
|
+
next_node: z.ZodString;
|
|
4990
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4991
|
+
}, "strip", z.ZodTypeAny, {
|
|
4992
|
+
type: NodeType.ACTION;
|
|
4993
|
+
id: string;
|
|
4994
|
+
config: {
|
|
4995
|
+
target: "custom" | "change-email" | "account";
|
|
4996
|
+
next_node: string;
|
|
4997
|
+
action_type: "REDIRECT";
|
|
4998
|
+
custom_url?: string | undefined;
|
|
4999
|
+
} & {
|
|
5000
|
+
[k: string]: unknown;
|
|
5001
|
+
};
|
|
5002
|
+
coordinates: {
|
|
5003
|
+
x: number;
|
|
5004
|
+
y: number;
|
|
5005
|
+
};
|
|
5006
|
+
alias?: string | undefined;
|
|
5007
|
+
}, {
|
|
5008
|
+
type: NodeType.ACTION;
|
|
5009
|
+
id: string;
|
|
5010
|
+
config: {
|
|
5011
|
+
target: "custom" | "change-email" | "account";
|
|
5012
|
+
next_node: string;
|
|
5013
|
+
action_type: "REDIRECT";
|
|
5014
|
+
custom_url?: string | undefined;
|
|
5015
|
+
} & {
|
|
5016
|
+
[k: string]: unknown;
|
|
5017
|
+
};
|
|
5018
|
+
coordinates: {
|
|
5019
|
+
x: number;
|
|
5020
|
+
y: number;
|
|
5021
|
+
};
|
|
5022
|
+
alias?: string | undefined;
|
|
5023
|
+
}>,
|
|
3785
5024
|
z.ZodObject<{
|
|
3786
5025
|
id: z.ZodString;
|
|
3787
5026
|
type: z.ZodString;
|
|
@@ -4622,6 +5861,87 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
4622
5861
|
};
|
|
4623
5862
|
alias?: string | undefined;
|
|
4624
5863
|
}>,
|
|
5864
|
+
z.ZodObject<{
|
|
5865
|
+
id: z.ZodString;
|
|
5866
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
5867
|
+
coordinates: z.ZodObject<{
|
|
5868
|
+
x: z.ZodNumber;
|
|
5869
|
+
y: z.ZodNumber;
|
|
5870
|
+
}, "strip", z.ZodTypeAny, {
|
|
5871
|
+
x: number;
|
|
5872
|
+
y: number;
|
|
5873
|
+
}, {
|
|
5874
|
+
x: number;
|
|
5875
|
+
y: number;
|
|
5876
|
+
}>;
|
|
5877
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
5878
|
+
config: z.ZodObject<{
|
|
5879
|
+
action_type: z.ZodEnum<[
|
|
5880
|
+
"REDIRECT"
|
|
5881
|
+
]>;
|
|
5882
|
+
target: z.ZodEnum<[
|
|
5883
|
+
"change-email",
|
|
5884
|
+
"account",
|
|
5885
|
+
"custom"
|
|
5886
|
+
]>;
|
|
5887
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5888
|
+
next_node: z.ZodString;
|
|
5889
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5890
|
+
action_type: z.ZodEnum<[
|
|
5891
|
+
"REDIRECT"
|
|
5892
|
+
]>;
|
|
5893
|
+
target: z.ZodEnum<[
|
|
5894
|
+
"change-email",
|
|
5895
|
+
"account",
|
|
5896
|
+
"custom"
|
|
5897
|
+
]>;
|
|
5898
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5899
|
+
next_node: z.ZodString;
|
|
5900
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5901
|
+
action_type: z.ZodEnum<[
|
|
5902
|
+
"REDIRECT"
|
|
5903
|
+
]>;
|
|
5904
|
+
target: z.ZodEnum<[
|
|
5905
|
+
"change-email",
|
|
5906
|
+
"account",
|
|
5907
|
+
"custom"
|
|
5908
|
+
]>;
|
|
5909
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5910
|
+
next_node: z.ZodString;
|
|
5911
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
5912
|
+
}, "strip", z.ZodTypeAny, {
|
|
5913
|
+
type: NodeType.ACTION;
|
|
5914
|
+
id: string;
|
|
5915
|
+
config: {
|
|
5916
|
+
target: "custom" | "change-email" | "account";
|
|
5917
|
+
next_node: string;
|
|
5918
|
+
action_type: "REDIRECT";
|
|
5919
|
+
custom_url?: string | undefined;
|
|
5920
|
+
} & {
|
|
5921
|
+
[k: string]: unknown;
|
|
5922
|
+
};
|
|
5923
|
+
coordinates: {
|
|
5924
|
+
x: number;
|
|
5925
|
+
y: number;
|
|
5926
|
+
};
|
|
5927
|
+
alias?: string | undefined;
|
|
5928
|
+
}, {
|
|
5929
|
+
type: NodeType.ACTION;
|
|
5930
|
+
id: string;
|
|
5931
|
+
config: {
|
|
5932
|
+
target: "custom" | "change-email" | "account";
|
|
5933
|
+
next_node: string;
|
|
5934
|
+
action_type: "REDIRECT";
|
|
5935
|
+
custom_url?: string | undefined;
|
|
5936
|
+
} & {
|
|
5937
|
+
[k: string]: unknown;
|
|
5938
|
+
};
|
|
5939
|
+
coordinates: {
|
|
5940
|
+
x: number;
|
|
5941
|
+
y: number;
|
|
5942
|
+
};
|
|
5943
|
+
alias?: string | undefined;
|
|
5944
|
+
}>,
|
|
4625
5945
|
z.ZodObject<{
|
|
4626
5946
|
id: z.ZodString;
|
|
4627
5947
|
type: z.ZodString;
|
|
@@ -5438,11 +6758,88 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
5438
6758
|
flow_id: string;
|
|
5439
6759
|
}>;
|
|
5440
6760
|
}, "strip", z.ZodTypeAny, {
|
|
5441
|
-
type: NodeType.FLOW;
|
|
6761
|
+
type: NodeType.FLOW;
|
|
6762
|
+
id: string;
|
|
6763
|
+
config: {
|
|
6764
|
+
next_node: string;
|
|
6765
|
+
flow_id: string;
|
|
6766
|
+
};
|
|
6767
|
+
coordinates: {
|
|
6768
|
+
x: number;
|
|
6769
|
+
y: number;
|
|
6770
|
+
};
|
|
6771
|
+
alias?: string | undefined;
|
|
6772
|
+
}, {
|
|
6773
|
+
type: NodeType.FLOW;
|
|
6774
|
+
id: string;
|
|
6775
|
+
config: {
|
|
6776
|
+
next_node: string;
|
|
6777
|
+
flow_id: string;
|
|
6778
|
+
};
|
|
6779
|
+
coordinates: {
|
|
6780
|
+
x: number;
|
|
6781
|
+
y: number;
|
|
6782
|
+
};
|
|
6783
|
+
alias?: string | undefined;
|
|
6784
|
+
}>,
|
|
6785
|
+
z.ZodObject<{
|
|
6786
|
+
id: z.ZodString;
|
|
6787
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
6788
|
+
coordinates: z.ZodObject<{
|
|
6789
|
+
x: z.ZodNumber;
|
|
6790
|
+
y: z.ZodNumber;
|
|
6791
|
+
}, "strip", z.ZodTypeAny, {
|
|
6792
|
+
x: number;
|
|
6793
|
+
y: number;
|
|
6794
|
+
}, {
|
|
6795
|
+
x: number;
|
|
6796
|
+
y: number;
|
|
6797
|
+
}>;
|
|
6798
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
6799
|
+
config: z.ZodObject<{
|
|
6800
|
+
action_type: z.ZodEnum<[
|
|
6801
|
+
"REDIRECT"
|
|
6802
|
+
]>;
|
|
6803
|
+
target: z.ZodEnum<[
|
|
6804
|
+
"change-email",
|
|
6805
|
+
"account",
|
|
6806
|
+
"custom"
|
|
6807
|
+
]>;
|
|
6808
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6809
|
+
next_node: z.ZodString;
|
|
6810
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6811
|
+
action_type: z.ZodEnum<[
|
|
6812
|
+
"REDIRECT"
|
|
6813
|
+
]>;
|
|
6814
|
+
target: z.ZodEnum<[
|
|
6815
|
+
"change-email",
|
|
6816
|
+
"account",
|
|
6817
|
+
"custom"
|
|
6818
|
+
]>;
|
|
6819
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6820
|
+
next_node: z.ZodString;
|
|
6821
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6822
|
+
action_type: z.ZodEnum<[
|
|
6823
|
+
"REDIRECT"
|
|
6824
|
+
]>;
|
|
6825
|
+
target: z.ZodEnum<[
|
|
6826
|
+
"change-email",
|
|
6827
|
+
"account",
|
|
6828
|
+
"custom"
|
|
6829
|
+
]>;
|
|
6830
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6831
|
+
next_node: z.ZodString;
|
|
6832
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6833
|
+
}, "strip", z.ZodTypeAny, {
|
|
6834
|
+
type: NodeType.ACTION;
|
|
5442
6835
|
id: string;
|
|
5443
6836
|
config: {
|
|
6837
|
+
target: "custom" | "change-email" | "account";
|
|
5444
6838
|
next_node: string;
|
|
5445
|
-
|
|
6839
|
+
action_type: "REDIRECT";
|
|
6840
|
+
custom_url?: string | undefined;
|
|
6841
|
+
} & {
|
|
6842
|
+
[k: string]: unknown;
|
|
5446
6843
|
};
|
|
5447
6844
|
coordinates: {
|
|
5448
6845
|
x: number;
|
|
@@ -5450,11 +6847,15 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
5450
6847
|
};
|
|
5451
6848
|
alias?: string | undefined;
|
|
5452
6849
|
}, {
|
|
5453
|
-
type: NodeType.
|
|
6850
|
+
type: NodeType.ACTION;
|
|
5454
6851
|
id: string;
|
|
5455
6852
|
config: {
|
|
6853
|
+
target: "custom" | "change-email" | "account";
|
|
5456
6854
|
next_node: string;
|
|
5457
|
-
|
|
6855
|
+
action_type: "REDIRECT";
|
|
6856
|
+
custom_url?: string | undefined;
|
|
6857
|
+
} & {
|
|
6858
|
+
[k: string]: unknown;
|
|
5458
6859
|
};
|
|
5459
6860
|
coordinates: {
|
|
5460
6861
|
x: number;
|
|
@@ -6304,6 +7705,87 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
6304
7705
|
};
|
|
6305
7706
|
alias?: string | undefined;
|
|
6306
7707
|
}>,
|
|
7708
|
+
z.ZodObject<{
|
|
7709
|
+
id: z.ZodString;
|
|
7710
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
7711
|
+
coordinates: z.ZodObject<{
|
|
7712
|
+
x: z.ZodNumber;
|
|
7713
|
+
y: z.ZodNumber;
|
|
7714
|
+
}, "strip", z.ZodTypeAny, {
|
|
7715
|
+
x: number;
|
|
7716
|
+
y: number;
|
|
7717
|
+
}, {
|
|
7718
|
+
x: number;
|
|
7719
|
+
y: number;
|
|
7720
|
+
}>;
|
|
7721
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
7722
|
+
config: z.ZodObject<{
|
|
7723
|
+
action_type: z.ZodEnum<[
|
|
7724
|
+
"REDIRECT"
|
|
7725
|
+
]>;
|
|
7726
|
+
target: z.ZodEnum<[
|
|
7727
|
+
"change-email",
|
|
7728
|
+
"account",
|
|
7729
|
+
"custom"
|
|
7730
|
+
]>;
|
|
7731
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7732
|
+
next_node: z.ZodString;
|
|
7733
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7734
|
+
action_type: z.ZodEnum<[
|
|
7735
|
+
"REDIRECT"
|
|
7736
|
+
]>;
|
|
7737
|
+
target: z.ZodEnum<[
|
|
7738
|
+
"change-email",
|
|
7739
|
+
"account",
|
|
7740
|
+
"custom"
|
|
7741
|
+
]>;
|
|
7742
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7743
|
+
next_node: z.ZodString;
|
|
7744
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7745
|
+
action_type: z.ZodEnum<[
|
|
7746
|
+
"REDIRECT"
|
|
7747
|
+
]>;
|
|
7748
|
+
target: z.ZodEnum<[
|
|
7749
|
+
"change-email",
|
|
7750
|
+
"account",
|
|
7751
|
+
"custom"
|
|
7752
|
+
]>;
|
|
7753
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7754
|
+
next_node: z.ZodString;
|
|
7755
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7756
|
+
}, "strip", z.ZodTypeAny, {
|
|
7757
|
+
type: NodeType.ACTION;
|
|
7758
|
+
id: string;
|
|
7759
|
+
config: {
|
|
7760
|
+
target: "custom" | "change-email" | "account";
|
|
7761
|
+
next_node: string;
|
|
7762
|
+
action_type: "REDIRECT";
|
|
7763
|
+
custom_url?: string | undefined;
|
|
7764
|
+
} & {
|
|
7765
|
+
[k: string]: unknown;
|
|
7766
|
+
};
|
|
7767
|
+
coordinates: {
|
|
7768
|
+
x: number;
|
|
7769
|
+
y: number;
|
|
7770
|
+
};
|
|
7771
|
+
alias?: string | undefined;
|
|
7772
|
+
}, {
|
|
7773
|
+
type: NodeType.ACTION;
|
|
7774
|
+
id: string;
|
|
7775
|
+
config: {
|
|
7776
|
+
target: "custom" | "change-email" | "account";
|
|
7777
|
+
next_node: string;
|
|
7778
|
+
action_type: "REDIRECT";
|
|
7779
|
+
custom_url?: string | undefined;
|
|
7780
|
+
} & {
|
|
7781
|
+
[k: string]: unknown;
|
|
7782
|
+
};
|
|
7783
|
+
coordinates: {
|
|
7784
|
+
x: number;
|
|
7785
|
+
y: number;
|
|
7786
|
+
};
|
|
7787
|
+
alias?: string | undefined;
|
|
7788
|
+
}>,
|
|
6307
7789
|
z.ZodObject<{
|
|
6308
7790
|
id: z.ZodString;
|
|
6309
7791
|
type: z.ZodString;
|
|
@@ -7144,6 +8626,87 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
7144
8626
|
};
|
|
7145
8627
|
alias?: string | undefined;
|
|
7146
8628
|
}>,
|
|
8629
|
+
z.ZodObject<{
|
|
8630
|
+
id: z.ZodString;
|
|
8631
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
8632
|
+
coordinates: z.ZodObject<{
|
|
8633
|
+
x: z.ZodNumber;
|
|
8634
|
+
y: z.ZodNumber;
|
|
8635
|
+
}, "strip", z.ZodTypeAny, {
|
|
8636
|
+
x: number;
|
|
8637
|
+
y: number;
|
|
8638
|
+
}, {
|
|
8639
|
+
x: number;
|
|
8640
|
+
y: number;
|
|
8641
|
+
}>;
|
|
8642
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
8643
|
+
config: z.ZodObject<{
|
|
8644
|
+
action_type: z.ZodEnum<[
|
|
8645
|
+
"REDIRECT"
|
|
8646
|
+
]>;
|
|
8647
|
+
target: z.ZodEnum<[
|
|
8648
|
+
"change-email",
|
|
8649
|
+
"account",
|
|
8650
|
+
"custom"
|
|
8651
|
+
]>;
|
|
8652
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8653
|
+
next_node: z.ZodString;
|
|
8654
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8655
|
+
action_type: z.ZodEnum<[
|
|
8656
|
+
"REDIRECT"
|
|
8657
|
+
]>;
|
|
8658
|
+
target: z.ZodEnum<[
|
|
8659
|
+
"change-email",
|
|
8660
|
+
"account",
|
|
8661
|
+
"custom"
|
|
8662
|
+
]>;
|
|
8663
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8664
|
+
next_node: z.ZodString;
|
|
8665
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8666
|
+
action_type: z.ZodEnum<[
|
|
8667
|
+
"REDIRECT"
|
|
8668
|
+
]>;
|
|
8669
|
+
target: z.ZodEnum<[
|
|
8670
|
+
"change-email",
|
|
8671
|
+
"account",
|
|
8672
|
+
"custom"
|
|
8673
|
+
]>;
|
|
8674
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8675
|
+
next_node: z.ZodString;
|
|
8676
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
8677
|
+
}, "strip", z.ZodTypeAny, {
|
|
8678
|
+
type: NodeType.ACTION;
|
|
8679
|
+
id: string;
|
|
8680
|
+
config: {
|
|
8681
|
+
target: "custom" | "change-email" | "account";
|
|
8682
|
+
next_node: string;
|
|
8683
|
+
action_type: "REDIRECT";
|
|
8684
|
+
custom_url?: string | undefined;
|
|
8685
|
+
} & {
|
|
8686
|
+
[k: string]: unknown;
|
|
8687
|
+
};
|
|
8688
|
+
coordinates: {
|
|
8689
|
+
x: number;
|
|
8690
|
+
y: number;
|
|
8691
|
+
};
|
|
8692
|
+
alias?: string | undefined;
|
|
8693
|
+
}, {
|
|
8694
|
+
type: NodeType.ACTION;
|
|
8695
|
+
id: string;
|
|
8696
|
+
config: {
|
|
8697
|
+
target: "custom" | "change-email" | "account";
|
|
8698
|
+
next_node: string;
|
|
8699
|
+
action_type: "REDIRECT";
|
|
8700
|
+
custom_url?: string | undefined;
|
|
8701
|
+
} & {
|
|
8702
|
+
[k: string]: unknown;
|
|
8703
|
+
};
|
|
8704
|
+
coordinates: {
|
|
8705
|
+
x: number;
|
|
8706
|
+
y: number;
|
|
8707
|
+
};
|
|
8708
|
+
alias?: string | undefined;
|
|
8709
|
+
}>,
|
|
7147
8710
|
z.ZodObject<{
|
|
7148
8711
|
id: z.ZodString;
|
|
7149
8712
|
type: z.ZodString;
|
|
@@ -7984,6 +9547,87 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
7984
9547
|
};
|
|
7985
9548
|
alias?: string | undefined;
|
|
7986
9549
|
}>,
|
|
9550
|
+
z.ZodObject<{
|
|
9551
|
+
id: z.ZodString;
|
|
9552
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
9553
|
+
coordinates: z.ZodObject<{
|
|
9554
|
+
x: z.ZodNumber;
|
|
9555
|
+
y: z.ZodNumber;
|
|
9556
|
+
}, "strip", z.ZodTypeAny, {
|
|
9557
|
+
x: number;
|
|
9558
|
+
y: number;
|
|
9559
|
+
}, {
|
|
9560
|
+
x: number;
|
|
9561
|
+
y: number;
|
|
9562
|
+
}>;
|
|
9563
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
9564
|
+
config: z.ZodObject<{
|
|
9565
|
+
action_type: z.ZodEnum<[
|
|
9566
|
+
"REDIRECT"
|
|
9567
|
+
]>;
|
|
9568
|
+
target: z.ZodEnum<[
|
|
9569
|
+
"change-email",
|
|
9570
|
+
"account",
|
|
9571
|
+
"custom"
|
|
9572
|
+
]>;
|
|
9573
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
9574
|
+
next_node: z.ZodString;
|
|
9575
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9576
|
+
action_type: z.ZodEnum<[
|
|
9577
|
+
"REDIRECT"
|
|
9578
|
+
]>;
|
|
9579
|
+
target: z.ZodEnum<[
|
|
9580
|
+
"change-email",
|
|
9581
|
+
"account",
|
|
9582
|
+
"custom"
|
|
9583
|
+
]>;
|
|
9584
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
9585
|
+
next_node: z.ZodString;
|
|
9586
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9587
|
+
action_type: z.ZodEnum<[
|
|
9588
|
+
"REDIRECT"
|
|
9589
|
+
]>;
|
|
9590
|
+
target: z.ZodEnum<[
|
|
9591
|
+
"change-email",
|
|
9592
|
+
"account",
|
|
9593
|
+
"custom"
|
|
9594
|
+
]>;
|
|
9595
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
9596
|
+
next_node: z.ZodString;
|
|
9597
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
9598
|
+
}, "strip", z.ZodTypeAny, {
|
|
9599
|
+
type: NodeType.ACTION;
|
|
9600
|
+
id: string;
|
|
9601
|
+
config: {
|
|
9602
|
+
target: "custom" | "change-email" | "account";
|
|
9603
|
+
next_node: string;
|
|
9604
|
+
action_type: "REDIRECT";
|
|
9605
|
+
custom_url?: string | undefined;
|
|
9606
|
+
} & {
|
|
9607
|
+
[k: string]: unknown;
|
|
9608
|
+
};
|
|
9609
|
+
coordinates: {
|
|
9610
|
+
x: number;
|
|
9611
|
+
y: number;
|
|
9612
|
+
};
|
|
9613
|
+
alias?: string | undefined;
|
|
9614
|
+
}, {
|
|
9615
|
+
type: NodeType.ACTION;
|
|
9616
|
+
id: string;
|
|
9617
|
+
config: {
|
|
9618
|
+
target: "custom" | "change-email" | "account";
|
|
9619
|
+
next_node: string;
|
|
9620
|
+
action_type: "REDIRECT";
|
|
9621
|
+
custom_url?: string | undefined;
|
|
9622
|
+
} & {
|
|
9623
|
+
[k: string]: unknown;
|
|
9624
|
+
};
|
|
9625
|
+
coordinates: {
|
|
9626
|
+
x: number;
|
|
9627
|
+
y: number;
|
|
9628
|
+
};
|
|
9629
|
+
alias?: string | undefined;
|
|
9630
|
+
}>,
|
|
7987
9631
|
z.ZodObject<{
|
|
7988
9632
|
id: z.ZodString;
|
|
7989
9633
|
type: z.ZodString;
|
|
@@ -8517,8 +10161,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8517
10161
|
}, "strip", z.ZodTypeAny, {
|
|
8518
10162
|
created_at: string;
|
|
8519
10163
|
updated_at: string;
|
|
8520
|
-
audience: string;
|
|
8521
10164
|
id: string;
|
|
10165
|
+
audience: string;
|
|
8522
10166
|
friendly_name: string;
|
|
8523
10167
|
sender_email: string;
|
|
8524
10168
|
sender_name: string;
|
|
@@ -8617,8 +10261,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8617
10261
|
}, {
|
|
8618
10262
|
created_at: string | null;
|
|
8619
10263
|
updated_at: string | null;
|
|
8620
|
-
audience: string;
|
|
8621
10264
|
id: string;
|
|
10265
|
+
audience: string;
|
|
8622
10266
|
friendly_name: string;
|
|
8623
10267
|
sender_email: string;
|
|
8624
10268
|
sender_name: string;
|
|
@@ -8791,6 +10435,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8791
10435
|
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
8792
10436
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8793
10437
|
}, "strip", z.ZodTypeAny, {
|
|
10438
|
+
created_at: string;
|
|
10439
|
+
updated_at: string;
|
|
8794
10440
|
options: {
|
|
8795
10441
|
provider?: string | undefined;
|
|
8796
10442
|
client_id?: string | undefined;
|
|
@@ -8812,8 +10458,6 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8812
10458
|
twilio_token?: string | undefined;
|
|
8813
10459
|
icon_url?: string | undefined;
|
|
8814
10460
|
};
|
|
8815
|
-
created_at: string;
|
|
8816
|
-
updated_at: string;
|
|
8817
10461
|
name: string;
|
|
8818
10462
|
strategy: string;
|
|
8819
10463
|
id?: string | undefined;
|
|
@@ -8960,6 +10604,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8960
10604
|
is_first_party: boolean;
|
|
8961
10605
|
oidc_conformant: boolean;
|
|
8962
10606
|
connections: {
|
|
10607
|
+
created_at: string;
|
|
10608
|
+
updated_at: string;
|
|
8963
10609
|
options: {
|
|
8964
10610
|
provider?: string | undefined;
|
|
8965
10611
|
client_id?: string | undefined;
|
|
@@ -8981,8 +10627,6 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8981
10627
|
twilio_token?: string | undefined;
|
|
8982
10628
|
icon_url?: string | undefined;
|
|
8983
10629
|
};
|
|
8984
|
-
created_at: string;
|
|
8985
|
-
updated_at: string;
|
|
8986
10630
|
name: string;
|
|
8987
10631
|
strategy: string;
|
|
8988
10632
|
id?: string | undefined;
|
|
@@ -9003,8 +10647,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
9003
10647
|
tenant: {
|
|
9004
10648
|
created_at: string;
|
|
9005
10649
|
updated_at: string;
|
|
9006
|
-
audience: string;
|
|
9007
10650
|
id: string;
|
|
10651
|
+
audience: string;
|
|
9008
10652
|
friendly_name: string;
|
|
9009
10653
|
sender_email: string;
|
|
9010
10654
|
sender_name: string;
|
|
@@ -9179,8 +10823,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
9179
10823
|
tenant: {
|
|
9180
10824
|
created_at: string | null;
|
|
9181
10825
|
updated_at: string | null;
|
|
9182
|
-
audience: string;
|
|
9183
10826
|
id: string;
|
|
10827
|
+
audience: string;
|
|
9184
10828
|
friendly_name: string;
|
|
9185
10829
|
sender_email: string;
|
|
9186
10830
|
sender_name: string;
|
|
@@ -9361,13 +11005,13 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
9361
11005
|
login_id: string;
|
|
9362
11006
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9363
11007
|
expires_at: string;
|
|
11008
|
+
connection_id?: string | undefined;
|
|
9364
11009
|
user_id?: string | undefined;
|
|
9365
11010
|
redirect_uri?: string | undefined;
|
|
9366
11011
|
state?: string | undefined;
|
|
9367
11012
|
nonce?: string | undefined;
|
|
9368
11013
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9369
11014
|
code_challenge?: string | undefined;
|
|
9370
|
-
connection_id?: string | undefined;
|
|
9371
11015
|
code_verifier?: string | undefined;
|
|
9372
11016
|
used_at?: string | undefined;
|
|
9373
11017
|
}, {
|
|
@@ -9375,13 +11019,13 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
9375
11019
|
login_id: string;
|
|
9376
11020
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9377
11021
|
expires_at: string;
|
|
11022
|
+
connection_id?: string | undefined;
|
|
9378
11023
|
user_id?: string | undefined;
|
|
9379
11024
|
redirect_uri?: string | undefined;
|
|
9380
11025
|
state?: string | undefined;
|
|
9381
11026
|
nonce?: string | undefined;
|
|
9382
11027
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9383
11028
|
code_challenge?: string | undefined;
|
|
9384
|
-
connection_id?: string | undefined;
|
|
9385
11029
|
code_verifier?: string | undefined;
|
|
9386
11030
|
used_at?: string | undefined;
|
|
9387
11031
|
}>;
|
|
@@ -9417,13 +11061,13 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
9417
11061
|
login_id: string;
|
|
9418
11062
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9419
11063
|
expires_at: string;
|
|
11064
|
+
connection_id?: string | undefined;
|
|
9420
11065
|
user_id?: string | undefined;
|
|
9421
11066
|
redirect_uri?: string | undefined;
|
|
9422
11067
|
state?: string | undefined;
|
|
9423
11068
|
nonce?: string | undefined;
|
|
9424
11069
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9425
11070
|
code_challenge?: string | undefined;
|
|
9426
|
-
connection_id?: string | undefined;
|
|
9427
11071
|
code_verifier?: string | undefined;
|
|
9428
11072
|
used_at?: string | undefined;
|
|
9429
11073
|
}, {
|
|
@@ -9432,13 +11076,13 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
9432
11076
|
login_id: string;
|
|
9433
11077
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9434
11078
|
expires_at: string;
|
|
11079
|
+
connection_id?: string | undefined;
|
|
9435
11080
|
user_id?: string | undefined;
|
|
9436
11081
|
redirect_uri?: string | undefined;
|
|
9437
11082
|
state?: string | undefined;
|
|
9438
11083
|
nonce?: string | undefined;
|
|
9439
11084
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9440
11085
|
code_challenge?: string | undefined;
|
|
9441
|
-
connection_id?: string | undefined;
|
|
9442
11086
|
code_verifier?: string | undefined;
|
|
9443
11087
|
used_at?: string | undefined;
|
|
9444
11088
|
}>;
|
|
@@ -9718,6 +11362,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
9718
11362
|
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
9719
11363
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9720
11364
|
}, "strip", z.ZodTypeAny, {
|
|
11365
|
+
created_at: string;
|
|
11366
|
+
updated_at: string;
|
|
9721
11367
|
options: {
|
|
9722
11368
|
provider?: string | undefined;
|
|
9723
11369
|
client_id?: string | undefined;
|
|
@@ -9739,8 +11385,6 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
9739
11385
|
twilio_token?: string | undefined;
|
|
9740
11386
|
icon_url?: string | undefined;
|
|
9741
11387
|
};
|
|
9742
|
-
created_at: string;
|
|
9743
|
-
updated_at: string;
|
|
9744
11388
|
name: string;
|
|
9745
11389
|
strategy: string;
|
|
9746
11390
|
id?: string | undefined;
|
|
@@ -10485,6 +12129,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10485
12129
|
}, "strip", z.ZodTypeAny, {
|
|
10486
12130
|
type: "ROUTER";
|
|
10487
12131
|
id: string;
|
|
12132
|
+
alias: string;
|
|
10488
12133
|
config: {
|
|
10489
12134
|
rules: {
|
|
10490
12135
|
id: string;
|
|
@@ -10498,10 +12143,10 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10498
12143
|
x: number;
|
|
10499
12144
|
y: number;
|
|
10500
12145
|
};
|
|
10501
|
-
alias: string;
|
|
10502
12146
|
}, {
|
|
10503
12147
|
type: "ROUTER";
|
|
10504
12148
|
id: string;
|
|
12149
|
+
alias: string;
|
|
10505
12150
|
config: {
|
|
10506
12151
|
rules: {
|
|
10507
12152
|
id: string;
|
|
@@ -10515,7 +12160,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10515
12160
|
x: number;
|
|
10516
12161
|
y: number;
|
|
10517
12162
|
};
|
|
10518
|
-
alias: string;
|
|
10519
12163
|
}>,
|
|
10520
12164
|
z.ZodObject<{
|
|
10521
12165
|
id: z.ZodString;
|
|
@@ -11215,11 +12859,11 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11215
12859
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
11216
12860
|
target: z.ZodOptional<z.ZodString>;
|
|
11217
12861
|
}, "strip", z.ZodTypeAny, {
|
|
11218
|
-
delay?: number | undefined;
|
|
11219
12862
|
target?: string | undefined;
|
|
11220
|
-
}, {
|
|
11221
12863
|
delay?: number | undefined;
|
|
12864
|
+
}, {
|
|
11222
12865
|
target?: string | undefined;
|
|
12866
|
+
delay?: number | undefined;
|
|
11223
12867
|
}>>;
|
|
11224
12868
|
after_submit: z.ZodOptional<z.ZodObject<{
|
|
11225
12869
|
flow_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11246,8 +12890,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11246
12890
|
} | undefined;
|
|
11247
12891
|
resume_flow?: boolean | undefined;
|
|
11248
12892
|
redirection?: {
|
|
11249
|
-
delay?: number | undefined;
|
|
11250
12893
|
target?: string | undefined;
|
|
12894
|
+
delay?: number | undefined;
|
|
11251
12895
|
} | undefined;
|
|
11252
12896
|
after_submit?: {
|
|
11253
12897
|
flow_id?: string | undefined;
|
|
@@ -11259,8 +12903,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11259
12903
|
} | undefined;
|
|
11260
12904
|
resume_flow?: boolean | undefined;
|
|
11261
12905
|
redirection?: {
|
|
11262
|
-
delay?: number | undefined;
|
|
11263
12906
|
target?: string | undefined;
|
|
12907
|
+
delay?: number | undefined;
|
|
11264
12908
|
} | undefined;
|
|
11265
12909
|
after_submit?: {
|
|
11266
12910
|
flow_id?: string | undefined;
|
|
@@ -11275,6 +12919,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11275
12919
|
}>>;
|
|
11276
12920
|
}, "strip", z.ZodTypeAny, {
|
|
11277
12921
|
name: string;
|
|
12922
|
+
style?: {
|
|
12923
|
+
css?: string | undefined;
|
|
12924
|
+
} | undefined;
|
|
11278
12925
|
start?: {
|
|
11279
12926
|
coordinates?: {
|
|
11280
12927
|
x: number;
|
|
@@ -11286,9 +12933,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11286
12933
|
key: string;
|
|
11287
12934
|
}[] | undefined;
|
|
11288
12935
|
} | undefined;
|
|
11289
|
-
style?: {
|
|
11290
|
-
css?: string | undefined;
|
|
11291
|
-
} | undefined;
|
|
11292
12936
|
languages?: {
|
|
11293
12937
|
default?: string | undefined;
|
|
11294
12938
|
primary?: string | undefined;
|
|
@@ -11308,6 +12952,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11308
12952
|
} | {
|
|
11309
12953
|
type: "ROUTER";
|
|
11310
12954
|
id: string;
|
|
12955
|
+
alias: string;
|
|
11311
12956
|
config: {
|
|
11312
12957
|
rules: {
|
|
11313
12958
|
id: string;
|
|
@@ -11321,7 +12966,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11321
12966
|
x: number;
|
|
11322
12967
|
y: number;
|
|
11323
12968
|
};
|
|
11324
|
-
alias: string;
|
|
11325
12969
|
} | {
|
|
11326
12970
|
type: "STEP";
|
|
11327
12971
|
id: string;
|
|
@@ -11419,8 +13063,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11419
13063
|
} | undefined;
|
|
11420
13064
|
resume_flow?: boolean | undefined;
|
|
11421
13065
|
redirection?: {
|
|
11422
|
-
delay?: number | undefined;
|
|
11423
13066
|
target?: string | undefined;
|
|
13067
|
+
delay?: number | undefined;
|
|
11424
13068
|
} | undefined;
|
|
11425
13069
|
after_submit?: {
|
|
11426
13070
|
flow_id?: string | undefined;
|
|
@@ -11433,6 +13077,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11433
13077
|
translations?: Record<string, any> | undefined;
|
|
11434
13078
|
}, {
|
|
11435
13079
|
name: string;
|
|
13080
|
+
style?: {
|
|
13081
|
+
css?: string | undefined;
|
|
13082
|
+
} | undefined;
|
|
11436
13083
|
start?: {
|
|
11437
13084
|
coordinates?: {
|
|
11438
13085
|
x: number;
|
|
@@ -11444,9 +13091,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11444
13091
|
key: string;
|
|
11445
13092
|
}[] | undefined;
|
|
11446
13093
|
} | undefined;
|
|
11447
|
-
style?: {
|
|
11448
|
-
css?: string | undefined;
|
|
11449
|
-
} | undefined;
|
|
11450
13094
|
languages?: {
|
|
11451
13095
|
default?: string | undefined;
|
|
11452
13096
|
primary?: string | undefined;
|
|
@@ -11466,6 +13110,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11466
13110
|
} | {
|
|
11467
13111
|
type: "ROUTER";
|
|
11468
13112
|
id: string;
|
|
13113
|
+
alias: string;
|
|
11469
13114
|
config: {
|
|
11470
13115
|
rules: {
|
|
11471
13116
|
id: string;
|
|
@@ -11479,7 +13124,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11479
13124
|
x: number;
|
|
11480
13125
|
y: number;
|
|
11481
13126
|
};
|
|
11482
|
-
alias: string;
|
|
11483
13127
|
} | {
|
|
11484
13128
|
type: "STEP";
|
|
11485
13129
|
id: string;
|
|
@@ -11577,8 +13221,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11577
13221
|
} | undefined;
|
|
11578
13222
|
resume_flow?: boolean | undefined;
|
|
11579
13223
|
redirection?: {
|
|
11580
|
-
delay?: number | undefined;
|
|
11581
13224
|
target?: string | undefined;
|
|
13225
|
+
delay?: number | undefined;
|
|
11582
13226
|
} | undefined;
|
|
11583
13227
|
after_submit?: {
|
|
11584
13228
|
flow_id?: string | undefined;
|
|
@@ -11720,6 +13364,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11720
13364
|
}, "strip", z.ZodTypeAny, {
|
|
11721
13365
|
type: "ROUTER";
|
|
11722
13366
|
id: string;
|
|
13367
|
+
alias: string;
|
|
11723
13368
|
config: {
|
|
11724
13369
|
rules: {
|
|
11725
13370
|
id: string;
|
|
@@ -11733,10 +13378,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11733
13378
|
x: number;
|
|
11734
13379
|
y: number;
|
|
11735
13380
|
};
|
|
11736
|
-
alias: string;
|
|
11737
13381
|
}, {
|
|
11738
13382
|
type: "ROUTER";
|
|
11739
13383
|
id: string;
|
|
13384
|
+
alias: string;
|
|
11740
13385
|
config: {
|
|
11741
13386
|
rules: {
|
|
11742
13387
|
id: string;
|
|
@@ -11750,7 +13395,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11750
13395
|
x: number;
|
|
11751
13396
|
y: number;
|
|
11752
13397
|
};
|
|
11753
|
-
alias: string;
|
|
11754
13398
|
}>,
|
|
11755
13399
|
z.ZodObject<{
|
|
11756
13400
|
id: z.ZodString;
|
|
@@ -12450,11 +14094,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12450
14094
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
12451
14095
|
target: z.ZodOptional<z.ZodString>;
|
|
12452
14096
|
}, "strip", z.ZodTypeAny, {
|
|
12453
|
-
delay?: number | undefined;
|
|
12454
14097
|
target?: string | undefined;
|
|
12455
|
-
}, {
|
|
12456
14098
|
delay?: number | undefined;
|
|
14099
|
+
}, {
|
|
12457
14100
|
target?: string | undefined;
|
|
14101
|
+
delay?: number | undefined;
|
|
12458
14102
|
}>>;
|
|
12459
14103
|
after_submit: z.ZodOptional<z.ZodObject<{
|
|
12460
14104
|
flow_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12481,8 +14125,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12481
14125
|
} | undefined;
|
|
12482
14126
|
resume_flow?: boolean | undefined;
|
|
12483
14127
|
redirection?: {
|
|
12484
|
-
delay?: number | undefined;
|
|
12485
14128
|
target?: string | undefined;
|
|
14129
|
+
delay?: number | undefined;
|
|
12486
14130
|
} | undefined;
|
|
12487
14131
|
after_submit?: {
|
|
12488
14132
|
flow_id?: string | undefined;
|
|
@@ -12494,8 +14138,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12494
14138
|
} | undefined;
|
|
12495
14139
|
resume_flow?: boolean | undefined;
|
|
12496
14140
|
redirection?: {
|
|
12497
|
-
delay?: number | undefined;
|
|
12498
14141
|
target?: string | undefined;
|
|
14142
|
+
delay?: number | undefined;
|
|
12499
14143
|
} | undefined;
|
|
12500
14144
|
after_submit?: {
|
|
12501
14145
|
flow_id?: string | undefined;
|
|
@@ -12513,8 +14157,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12513
14157
|
}, "strip", z.ZodTypeAny, {
|
|
12514
14158
|
created_at: string;
|
|
12515
14159
|
updated_at: string;
|
|
12516
|
-
name: string;
|
|
12517
14160
|
id: string;
|
|
14161
|
+
name: string;
|
|
14162
|
+
style?: {
|
|
14163
|
+
css?: string | undefined;
|
|
14164
|
+
} | undefined;
|
|
12518
14165
|
start?: {
|
|
12519
14166
|
coordinates?: {
|
|
12520
14167
|
x: number;
|
|
@@ -12526,9 +14173,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12526
14173
|
key: string;
|
|
12527
14174
|
}[] | undefined;
|
|
12528
14175
|
} | undefined;
|
|
12529
|
-
style?: {
|
|
12530
|
-
css?: string | undefined;
|
|
12531
|
-
} | undefined;
|
|
12532
14176
|
languages?: {
|
|
12533
14177
|
default?: string | undefined;
|
|
12534
14178
|
primary?: string | undefined;
|
|
@@ -12548,6 +14192,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12548
14192
|
} | {
|
|
12549
14193
|
type: "ROUTER";
|
|
12550
14194
|
id: string;
|
|
14195
|
+
alias: string;
|
|
12551
14196
|
config: {
|
|
12552
14197
|
rules: {
|
|
12553
14198
|
id: string;
|
|
@@ -12561,7 +14206,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12561
14206
|
x: number;
|
|
12562
14207
|
y: number;
|
|
12563
14208
|
};
|
|
12564
|
-
alias: string;
|
|
12565
14209
|
} | {
|
|
12566
14210
|
type: "STEP";
|
|
12567
14211
|
id: string;
|
|
@@ -12659,8 +14303,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12659
14303
|
} | undefined;
|
|
12660
14304
|
resume_flow?: boolean | undefined;
|
|
12661
14305
|
redirection?: {
|
|
12662
|
-
delay?: number | undefined;
|
|
12663
14306
|
target?: string | undefined;
|
|
14307
|
+
delay?: number | undefined;
|
|
12664
14308
|
} | undefined;
|
|
12665
14309
|
after_submit?: {
|
|
12666
14310
|
flow_id?: string | undefined;
|
|
@@ -12674,8 +14318,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12674
14318
|
}, {
|
|
12675
14319
|
created_at: string;
|
|
12676
14320
|
updated_at: string;
|
|
12677
|
-
name: string;
|
|
12678
14321
|
id: string;
|
|
14322
|
+
name: string;
|
|
14323
|
+
style?: {
|
|
14324
|
+
css?: string | undefined;
|
|
14325
|
+
} | undefined;
|
|
12679
14326
|
start?: {
|
|
12680
14327
|
coordinates?: {
|
|
12681
14328
|
x: number;
|
|
@@ -12687,9 +14334,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12687
14334
|
key: string;
|
|
12688
14335
|
}[] | undefined;
|
|
12689
14336
|
} | undefined;
|
|
12690
|
-
style?: {
|
|
12691
|
-
css?: string | undefined;
|
|
12692
|
-
} | undefined;
|
|
12693
14337
|
languages?: {
|
|
12694
14338
|
default?: string | undefined;
|
|
12695
14339
|
primary?: string | undefined;
|
|
@@ -12709,6 +14353,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12709
14353
|
} | {
|
|
12710
14354
|
type: "ROUTER";
|
|
12711
14355
|
id: string;
|
|
14356
|
+
alias: string;
|
|
12712
14357
|
config: {
|
|
12713
14358
|
rules: {
|
|
12714
14359
|
id: string;
|
|
@@ -12722,7 +14367,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12722
14367
|
x: number;
|
|
12723
14368
|
y: number;
|
|
12724
14369
|
};
|
|
12725
|
-
alias: string;
|
|
12726
14370
|
} | {
|
|
12727
14371
|
type: "STEP";
|
|
12728
14372
|
id: string;
|
|
@@ -12820,8 +14464,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12820
14464
|
} | undefined;
|
|
12821
14465
|
resume_flow?: boolean | undefined;
|
|
12822
14466
|
redirection?: {
|
|
12823
|
-
delay?: number | undefined;
|
|
12824
14467
|
target?: string | undefined;
|
|
14468
|
+
delay?: number | undefined;
|
|
12825
14469
|
} | undefined;
|
|
12826
14470
|
after_submit?: {
|
|
12827
14471
|
flow_id?: string | undefined;
|
|
@@ -13033,8 +14677,8 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
13033
14677
|
family_name: z.ZodOptional<z.ZodString>;
|
|
13034
14678
|
}, z.ZodAny, "strip">>>;
|
|
13035
14679
|
}, "strip", z.ZodTypeAny, {
|
|
13036
|
-
connection: string;
|
|
13037
14680
|
user_id: string;
|
|
14681
|
+
connection: string;
|
|
13038
14682
|
provider: string;
|
|
13039
14683
|
isSocial: boolean;
|
|
13040
14684
|
access_token?: string | undefined;
|
|
@@ -13051,8 +14695,8 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
13051
14695
|
family_name: z.ZodOptional<z.ZodString>;
|
|
13052
14696
|
}, z.ZodAny, "strip"> | undefined;
|
|
13053
14697
|
}, {
|
|
13054
|
-
connection: string;
|
|
13055
14698
|
user_id: string;
|
|
14699
|
+
connection: string;
|
|
13056
14700
|
provider: string;
|
|
13057
14701
|
isSocial: boolean;
|
|
13058
14702
|
access_token?: string | undefined;
|
|
@@ -13120,9 +14764,9 @@ export declare const inviteInsertSchema: z.ZodObject<{
|
|
|
13120
14764
|
email?: string | undefined;
|
|
13121
14765
|
};
|
|
13122
14766
|
invitation_url: string;
|
|
14767
|
+
connection_id?: string | undefined;
|
|
13123
14768
|
app_metadata?: Record<string, any> | undefined;
|
|
13124
14769
|
user_metadata?: Record<string, any> | undefined;
|
|
13125
|
-
connection_id?: string | undefined;
|
|
13126
14770
|
ttl_sec?: number | undefined;
|
|
13127
14771
|
roles?: string[] | undefined;
|
|
13128
14772
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13136,9 +14780,9 @@ export declare const inviteInsertSchema: z.ZodObject<{
|
|
|
13136
14780
|
email?: string | undefined;
|
|
13137
14781
|
};
|
|
13138
14782
|
invitation_url: string;
|
|
14783
|
+
connection_id?: string | undefined;
|
|
13139
14784
|
app_metadata?: Record<string, any> | undefined;
|
|
13140
14785
|
user_metadata?: Record<string, any> | undefined;
|
|
13141
|
-
connection_id?: string | undefined;
|
|
13142
14786
|
ttl_sec?: number | undefined;
|
|
13143
14787
|
roles?: string[] | undefined;
|
|
13144
14788
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13175,8 +14819,8 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13175
14819
|
send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13176
14820
|
}, "strip", z.ZodTypeAny, {
|
|
13177
14821
|
created_at: string;
|
|
13178
|
-
client_id: string;
|
|
13179
14822
|
id: string;
|
|
14823
|
+
client_id: string;
|
|
13180
14824
|
expires_at: string;
|
|
13181
14825
|
organization_id: string;
|
|
13182
14826
|
inviter: {
|
|
@@ -13186,17 +14830,17 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13186
14830
|
email?: string | undefined;
|
|
13187
14831
|
};
|
|
13188
14832
|
invitation_url: string;
|
|
14833
|
+
connection_id?: string | undefined;
|
|
13189
14834
|
app_metadata?: Record<string, any> | undefined;
|
|
13190
14835
|
user_metadata?: Record<string, any> | undefined;
|
|
13191
|
-
connection_id?: string | undefined;
|
|
13192
14836
|
ttl_sec?: number | undefined;
|
|
13193
14837
|
roles?: string[] | undefined;
|
|
13194
14838
|
send_invitation_email?: boolean | undefined;
|
|
13195
14839
|
ticket_id?: string | undefined;
|
|
13196
14840
|
}, {
|
|
13197
14841
|
created_at: string;
|
|
13198
|
-
client_id: string;
|
|
13199
14842
|
id: string;
|
|
14843
|
+
client_id: string;
|
|
13200
14844
|
expires_at: string;
|
|
13201
14845
|
organization_id: string;
|
|
13202
14846
|
inviter: {
|
|
@@ -13206,9 +14850,9 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13206
14850
|
email?: string | undefined;
|
|
13207
14851
|
};
|
|
13208
14852
|
invitation_url: string;
|
|
14853
|
+
connection_id?: string | undefined;
|
|
13209
14854
|
app_metadata?: Record<string, any> | undefined;
|
|
13210
14855
|
user_metadata?: Record<string, any> | undefined;
|
|
13211
|
-
connection_id?: string | undefined;
|
|
13212
14856
|
ttl_sec?: number | undefined;
|
|
13213
14857
|
roles?: string[] | undefined;
|
|
13214
14858
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13920,13 +15564,13 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
13920
15564
|
date: string;
|
|
13921
15565
|
isMobile: boolean;
|
|
13922
15566
|
description?: string | undefined;
|
|
13923
|
-
|
|
15567
|
+
connection_id?: string | undefined;
|
|
13924
15568
|
user_id?: string | undefined;
|
|
15569
|
+
connection?: string | undefined;
|
|
13925
15570
|
client_id?: string | undefined;
|
|
13926
15571
|
audience?: string | undefined;
|
|
13927
15572
|
scope?: string | undefined;
|
|
13928
15573
|
strategy?: string | undefined;
|
|
13929
|
-
connection_id?: string | undefined;
|
|
13930
15574
|
ip?: string | undefined;
|
|
13931
15575
|
user_agent?: string | undefined;
|
|
13932
15576
|
details?: any;
|
|
@@ -13955,13 +15599,13 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
13955
15599
|
date: string;
|
|
13956
15600
|
isMobile: boolean;
|
|
13957
15601
|
description?: string | undefined;
|
|
13958
|
-
|
|
15602
|
+
connection_id?: string | undefined;
|
|
13959
15603
|
user_id?: string | undefined;
|
|
15604
|
+
connection?: string | undefined;
|
|
13960
15605
|
client_id?: string | undefined;
|
|
13961
15606
|
audience?: string | undefined;
|
|
13962
15607
|
scope?: string | undefined;
|
|
13963
15608
|
strategy?: string | undefined;
|
|
13964
|
-
connection_id?: string | undefined;
|
|
13965
15609
|
ip?: string | undefined;
|
|
13966
15610
|
user_agent?: string | undefined;
|
|
13967
15611
|
details?: any;
|
|
@@ -14058,13 +15702,13 @@ export declare const logSchema: z.ZodObject<{
|
|
|
14058
15702
|
isMobile: boolean;
|
|
14059
15703
|
log_id: string;
|
|
14060
15704
|
description?: string | undefined;
|
|
14061
|
-
|
|
15705
|
+
connection_id?: string | undefined;
|
|
14062
15706
|
user_id?: string | undefined;
|
|
15707
|
+
connection?: string | undefined;
|
|
14063
15708
|
client_id?: string | undefined;
|
|
14064
15709
|
audience?: string | undefined;
|
|
14065
15710
|
scope?: string | undefined;
|
|
14066
15711
|
strategy?: string | undefined;
|
|
14067
|
-
connection_id?: string | undefined;
|
|
14068
15712
|
ip?: string | undefined;
|
|
14069
15713
|
user_agent?: string | undefined;
|
|
14070
15714
|
details?: any;
|
|
@@ -14093,13 +15737,13 @@ export declare const logSchema: z.ZodObject<{
|
|
|
14093
15737
|
isMobile: boolean;
|
|
14094
15738
|
log_id: string;
|
|
14095
15739
|
description?: string | undefined;
|
|
14096
|
-
|
|
15740
|
+
connection_id?: string | undefined;
|
|
14097
15741
|
user_id?: string | undefined;
|
|
15742
|
+
connection?: string | undefined;
|
|
14098
15743
|
client_id?: string | undefined;
|
|
14099
15744
|
audience?: string | undefined;
|
|
14100
15745
|
scope?: string | undefined;
|
|
14101
15746
|
strategy?: string | undefined;
|
|
14102
|
-
connection_id?: string | undefined;
|
|
14103
15747
|
ip?: string | undefined;
|
|
14104
15748
|
user_agent?: string | undefined;
|
|
14105
15749
|
details?: any;
|
|
@@ -14160,19 +15804,19 @@ export declare const passwordSchema: z.ZodObject<{
|
|
|
14160
15804
|
created_at: z.ZodString;
|
|
14161
15805
|
updated_at: z.ZodString;
|
|
14162
15806
|
}, "strip", z.ZodTypeAny, {
|
|
14163
|
-
password: string;
|
|
14164
15807
|
created_at: string;
|
|
14165
15808
|
updated_at: string;
|
|
14166
|
-
|
|
15809
|
+
password: string;
|
|
14167
15810
|
id: string;
|
|
15811
|
+
user_id: string;
|
|
14168
15812
|
algorithm: "bcrypt" | "argon2id";
|
|
14169
15813
|
is_current: boolean;
|
|
14170
15814
|
}, {
|
|
14171
|
-
password: string;
|
|
14172
15815
|
created_at: string;
|
|
14173
15816
|
updated_at: string;
|
|
14174
|
-
|
|
15817
|
+
password: string;
|
|
14175
15818
|
id: string;
|
|
15819
|
+
user_id: string;
|
|
14176
15820
|
algorithm?: "bcrypt" | "argon2id" | undefined;
|
|
14177
15821
|
is_current?: boolean | undefined;
|
|
14178
15822
|
}>;
|
|
@@ -14209,8 +15853,8 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
14209
15853
|
}>;
|
|
14210
15854
|
clients: z.ZodArray<z.ZodString, "many">;
|
|
14211
15855
|
}, "strip", z.ZodTypeAny, {
|
|
14212
|
-
user_id: string;
|
|
14213
15856
|
id: string;
|
|
15857
|
+
user_id: string;
|
|
14214
15858
|
clients: string[];
|
|
14215
15859
|
login_session_id: string;
|
|
14216
15860
|
device: {
|
|
@@ -14226,8 +15870,8 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
14226
15870
|
revoked_at?: string | undefined;
|
|
14227
15871
|
idle_expires_at?: string | undefined;
|
|
14228
15872
|
}, {
|
|
14229
|
-
user_id: string;
|
|
14230
15873
|
id: string;
|
|
15874
|
+
user_id: string;
|
|
14231
15875
|
clients: string[];
|
|
14232
15876
|
login_session_id: string;
|
|
14233
15877
|
device: {
|
|
@@ -14282,8 +15926,8 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
14282
15926
|
}, "strip", z.ZodTypeAny, {
|
|
14283
15927
|
created_at: string;
|
|
14284
15928
|
updated_at: string;
|
|
14285
|
-
user_id: string;
|
|
14286
15929
|
id: string;
|
|
15930
|
+
user_id: string;
|
|
14287
15931
|
clients: string[];
|
|
14288
15932
|
login_session_id: string;
|
|
14289
15933
|
device: {
|
|
@@ -14303,8 +15947,8 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
14303
15947
|
}, {
|
|
14304
15948
|
created_at: string;
|
|
14305
15949
|
updated_at: string;
|
|
14306
|
-
user_id: string;
|
|
14307
15950
|
id: string;
|
|
15951
|
+
user_id: string;
|
|
14308
15952
|
clients: string[];
|
|
14309
15953
|
login_session_id: string;
|
|
14310
15954
|
device: {
|
|
@@ -14612,12 +16256,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
14612
16256
|
friendly_name: string;
|
|
14613
16257
|
sender_email: string;
|
|
14614
16258
|
sender_name: string;
|
|
16259
|
+
id?: string | undefined;
|
|
14615
16260
|
allowed_logout_urls?: string[] | undefined;
|
|
14616
16261
|
oidc_logout?: {
|
|
14617
16262
|
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
14618
16263
|
} | undefined;
|
|
14619
16264
|
default_organization?: string | undefined;
|
|
14620
|
-
id?: string | undefined;
|
|
14621
16265
|
picture_url?: string | undefined;
|
|
14622
16266
|
support_email?: string | undefined;
|
|
14623
16267
|
support_url?: string | undefined;
|
|
@@ -14710,12 +16354,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
14710
16354
|
friendly_name: string;
|
|
14711
16355
|
sender_email: string;
|
|
14712
16356
|
sender_name: string;
|
|
16357
|
+
id?: string | undefined;
|
|
14713
16358
|
allowed_logout_urls?: string[] | undefined;
|
|
14714
16359
|
oidc_logout?: {
|
|
14715
16360
|
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
14716
16361
|
} | undefined;
|
|
14717
16362
|
default_organization?: string | undefined;
|
|
14718
|
-
id?: string | undefined;
|
|
14719
16363
|
picture_url?: string | undefined;
|
|
14720
16364
|
support_email?: string | undefined;
|
|
14721
16365
|
support_url?: string | undefined;
|
|
@@ -15043,8 +16687,8 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
15043
16687
|
}, "strip", z.ZodTypeAny, {
|
|
15044
16688
|
created_at: string;
|
|
15045
16689
|
updated_at: string;
|
|
15046
|
-
audience: string;
|
|
15047
16690
|
id: string;
|
|
16691
|
+
audience: string;
|
|
15048
16692
|
friendly_name: string;
|
|
15049
16693
|
sender_email: string;
|
|
15050
16694
|
sender_name: string;
|
|
@@ -15143,8 +16787,8 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
15143
16787
|
}, {
|
|
15144
16788
|
created_at: string | null;
|
|
15145
16789
|
updated_at: string | null;
|
|
15146
|
-
audience: string;
|
|
15147
16790
|
id: string;
|
|
16791
|
+
audience: string;
|
|
15148
16792
|
friendly_name: string;
|
|
15149
16793
|
sender_email: string;
|
|
15150
16794
|
sender_name: string;
|
|
@@ -16615,9 +18259,9 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
16615
18259
|
}>, "many">;
|
|
16616
18260
|
rotating: z.ZodBoolean;
|
|
16617
18261
|
}, "strip", z.ZodTypeAny, {
|
|
18262
|
+
id: string;
|
|
16618
18263
|
user_id: string;
|
|
16619
18264
|
client_id: string;
|
|
16620
|
-
id: string;
|
|
16621
18265
|
session_id: string;
|
|
16622
18266
|
device: {
|
|
16623
18267
|
last_ip: string;
|
|
@@ -16636,9 +18280,9 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
16636
18280
|
idle_expires_at?: string | undefined;
|
|
16637
18281
|
last_exchanged_at?: string | undefined;
|
|
16638
18282
|
}, {
|
|
18283
|
+
id: string;
|
|
16639
18284
|
user_id: string;
|
|
16640
18285
|
client_id: string;
|
|
16641
|
-
id: string;
|
|
16642
18286
|
session_id: string;
|
|
16643
18287
|
device: {
|
|
16644
18288
|
last_ip: string;
|
|
@@ -16702,9 +18346,9 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
16702
18346
|
created_at: z.ZodString;
|
|
16703
18347
|
}, "strip", z.ZodTypeAny, {
|
|
16704
18348
|
created_at: string;
|
|
18349
|
+
id: string;
|
|
16705
18350
|
user_id: string;
|
|
16706
18351
|
client_id: string;
|
|
16707
|
-
id: string;
|
|
16708
18352
|
session_id: string;
|
|
16709
18353
|
device: {
|
|
16710
18354
|
last_ip: string;
|
|
@@ -16724,9 +18368,9 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
16724
18368
|
last_exchanged_at?: string | undefined;
|
|
16725
18369
|
}, {
|
|
16726
18370
|
created_at: string;
|
|
18371
|
+
id: string;
|
|
16727
18372
|
user_id: string;
|
|
16728
18373
|
client_id: string;
|
|
16729
|
-
id: string;
|
|
16730
18374
|
session_id: string;
|
|
16731
18375
|
device: {
|
|
16732
18376
|
last_ip: string;
|
|
@@ -16992,6 +18636,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
16992
18636
|
}, "strip", z.ZodTypeAny, {
|
|
16993
18637
|
name: string;
|
|
16994
18638
|
identifier: string;
|
|
18639
|
+
created_at?: string | undefined;
|
|
18640
|
+
updated_at?: string | undefined;
|
|
16995
18641
|
options?: {
|
|
16996
18642
|
mtls?: {
|
|
16997
18643
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17003,8 +18649,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17003
18649
|
persist_client_authorization?: boolean | undefined;
|
|
17004
18650
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17005
18651
|
} | undefined;
|
|
17006
|
-
created_at?: string | undefined;
|
|
17007
|
-
updated_at?: string | undefined;
|
|
17008
18652
|
id?: string | undefined;
|
|
17009
18653
|
scopes?: {
|
|
17010
18654
|
value: string;
|
|
@@ -17020,6 +18664,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17020
18664
|
}, {
|
|
17021
18665
|
name: string;
|
|
17022
18666
|
identifier: string;
|
|
18667
|
+
created_at?: string | undefined;
|
|
18668
|
+
updated_at?: string | undefined;
|
|
17023
18669
|
options?: {
|
|
17024
18670
|
mtls?: {
|
|
17025
18671
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17031,8 +18677,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17031
18677
|
persist_client_authorization?: boolean | undefined;
|
|
17032
18678
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17033
18679
|
} | undefined;
|
|
17034
|
-
created_at?: string | undefined;
|
|
17035
|
-
updated_at?: string | undefined;
|
|
17036
18680
|
id?: string | undefined;
|
|
17037
18681
|
scopes?: {
|
|
17038
18682
|
value: string;
|
|
@@ -17111,6 +18755,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17111
18755
|
}, "strip", z.ZodTypeAny, {
|
|
17112
18756
|
name: string;
|
|
17113
18757
|
identifier: string;
|
|
18758
|
+
created_at?: string | undefined;
|
|
18759
|
+
updated_at?: string | undefined;
|
|
17114
18760
|
options?: {
|
|
17115
18761
|
mtls?: {
|
|
17116
18762
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17122,8 +18768,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17122
18768
|
persist_client_authorization?: boolean | undefined;
|
|
17123
18769
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17124
18770
|
} | undefined;
|
|
17125
|
-
created_at?: string | undefined;
|
|
17126
|
-
updated_at?: string | undefined;
|
|
17127
18771
|
id?: string | undefined;
|
|
17128
18772
|
scopes?: {
|
|
17129
18773
|
value: string;
|
|
@@ -17139,6 +18783,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17139
18783
|
}, {
|
|
17140
18784
|
name: string;
|
|
17141
18785
|
identifier: string;
|
|
18786
|
+
created_at?: string | undefined;
|
|
18787
|
+
updated_at?: string | undefined;
|
|
17142
18788
|
options?: {
|
|
17143
18789
|
mtls?: {
|
|
17144
18790
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17150,8 +18796,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17150
18796
|
persist_client_authorization?: boolean | undefined;
|
|
17151
18797
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17152
18798
|
} | undefined;
|
|
17153
|
-
created_at?: string | undefined;
|
|
17154
|
-
updated_at?: string | undefined;
|
|
17155
18799
|
id?: string | undefined;
|
|
17156
18800
|
scopes?: {
|
|
17157
18801
|
value: string;
|
|
@@ -17290,16 +18934,16 @@ export declare const userPermissionWithDetailsSchema: z.ZodObject<{
|
|
|
17290
18934
|
resource_server_identifier: string;
|
|
17291
18935
|
permission_name: string;
|
|
17292
18936
|
resource_server_name: string;
|
|
17293
|
-
description?: string | null | undefined;
|
|
17294
18937
|
created_at?: string | undefined;
|
|
18938
|
+
description?: string | null | undefined;
|
|
17295
18939
|
organization_id?: string | undefined;
|
|
17296
18940
|
}, {
|
|
17297
18941
|
user_id: string;
|
|
17298
18942
|
resource_server_identifier: string;
|
|
17299
18943
|
permission_name: string;
|
|
17300
18944
|
resource_server_name: string;
|
|
17301
|
-
description?: string | null | undefined;
|
|
17302
18945
|
created_at?: string | undefined;
|
|
18946
|
+
description?: string | null | undefined;
|
|
17303
18947
|
organization_id?: string | undefined;
|
|
17304
18948
|
}>;
|
|
17305
18949
|
export type UserPermissionWithDetails = z.infer<typeof userPermissionWithDetailsSchema>;
|
|
@@ -17316,16 +18960,16 @@ export declare const userPermissionWithDetailsListSchema: z.ZodArray<z.ZodObject
|
|
|
17316
18960
|
resource_server_identifier: string;
|
|
17317
18961
|
permission_name: string;
|
|
17318
18962
|
resource_server_name: string;
|
|
17319
|
-
description?: string | null | undefined;
|
|
17320
18963
|
created_at?: string | undefined;
|
|
18964
|
+
description?: string | null | undefined;
|
|
17321
18965
|
organization_id?: string | undefined;
|
|
17322
18966
|
}, {
|
|
17323
18967
|
user_id: string;
|
|
17324
18968
|
resource_server_identifier: string;
|
|
17325
18969
|
permission_name: string;
|
|
17326
18970
|
resource_server_name: string;
|
|
17327
|
-
description?: string | null | undefined;
|
|
17328
18971
|
created_at?: string | undefined;
|
|
18972
|
+
description?: string | null | undefined;
|
|
17329
18973
|
organization_id?: string | undefined;
|
|
17330
18974
|
}>, "many">;
|
|
17331
18975
|
export type UserPermissionWithDetailsList = z.infer<typeof userPermissionWithDetailsListSchema>;
|
|
@@ -17400,17 +19044,17 @@ export declare const roleSchema: z.ZodObject<{
|
|
|
17400
19044
|
description: z.ZodOptional<z.ZodString>;
|
|
17401
19045
|
id: z.ZodString;
|
|
17402
19046
|
}, "strip", z.ZodTypeAny, {
|
|
17403
|
-
name: string;
|
|
17404
19047
|
id: string;
|
|
17405
|
-
|
|
19048
|
+
name: string;
|
|
17406
19049
|
created_at?: string | undefined;
|
|
17407
19050
|
updated_at?: string | undefined;
|
|
19051
|
+
description?: string | undefined;
|
|
17408
19052
|
}, {
|
|
17409
|
-
name: string;
|
|
17410
19053
|
id: string;
|
|
17411
|
-
|
|
19054
|
+
name: string;
|
|
17412
19055
|
created_at?: string | undefined;
|
|
17413
19056
|
updated_at?: string | undefined;
|
|
19057
|
+
description?: string | undefined;
|
|
17414
19058
|
}>;
|
|
17415
19059
|
export type Role = z.infer<typeof roleSchema>;
|
|
17416
19060
|
export type RoleInsert = z.infer<typeof roleInsertSchema>;
|
|
@@ -17421,17 +19065,17 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17421
19065
|
description: z.ZodOptional<z.ZodString>;
|
|
17422
19066
|
id: z.ZodString;
|
|
17423
19067
|
}, "strip", z.ZodTypeAny, {
|
|
17424
|
-
name: string;
|
|
17425
19068
|
id: string;
|
|
17426
|
-
|
|
19069
|
+
name: string;
|
|
17427
19070
|
created_at?: string | undefined;
|
|
17428
19071
|
updated_at?: string | undefined;
|
|
19072
|
+
description?: string | undefined;
|
|
17429
19073
|
}, {
|
|
17430
|
-
name: string;
|
|
17431
19074
|
id: string;
|
|
17432
|
-
|
|
19075
|
+
name: string;
|
|
17433
19076
|
created_at?: string | undefined;
|
|
17434
19077
|
updated_at?: string | undefined;
|
|
19078
|
+
description?: string | undefined;
|
|
17435
19079
|
}>, "many">;
|
|
17436
19080
|
export type RoleList = z.infer<typeof roleListSchema>;
|
|
17437
19081
|
export declare const organizationBrandingSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -17465,8 +19109,8 @@ export declare const organizationEnabledConnectionSchema: z.ZodObject<{
|
|
|
17465
19109
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17466
19110
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17467
19111
|
}, "strip", z.ZodTypeAny, {
|
|
17468
|
-
show_as_button: boolean;
|
|
17469
19112
|
connection_id: string;
|
|
19113
|
+
show_as_button: boolean;
|
|
17470
19114
|
assign_membership_on_login: boolean;
|
|
17471
19115
|
is_signup_enabled: boolean;
|
|
17472
19116
|
}, {
|
|
@@ -17538,8 +19182,8 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17538
19182
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17539
19183
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17540
19184
|
}, "strip", z.ZodTypeAny, {
|
|
17541
|
-
show_as_button: boolean;
|
|
17542
19185
|
connection_id: string;
|
|
19186
|
+
show_as_button: boolean;
|
|
17543
19187
|
assign_membership_on_login: boolean;
|
|
17544
19188
|
is_signup_enabled: boolean;
|
|
17545
19189
|
}, {
|
|
@@ -17577,6 +19221,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17577
19221
|
}>>;
|
|
17578
19222
|
}, "strip", z.ZodTypeAny, {
|
|
17579
19223
|
name: string;
|
|
19224
|
+
id?: string | undefined;
|
|
17580
19225
|
token_quota?: {
|
|
17581
19226
|
client_credentials?: {
|
|
17582
19227
|
enforce: boolean;
|
|
@@ -17584,7 +19229,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17584
19229
|
per_hour: number;
|
|
17585
19230
|
} | undefined;
|
|
17586
19231
|
} | undefined;
|
|
17587
|
-
id?: string | undefined;
|
|
17588
19232
|
display_name?: string | undefined;
|
|
17589
19233
|
metadata?: Record<string, any> | undefined;
|
|
17590
19234
|
branding?: {
|
|
@@ -17595,13 +19239,14 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17595
19239
|
logo_url?: string | undefined;
|
|
17596
19240
|
} | undefined;
|
|
17597
19241
|
enabled_connections?: {
|
|
17598
|
-
show_as_button: boolean;
|
|
17599
19242
|
connection_id: string;
|
|
19243
|
+
show_as_button: boolean;
|
|
17600
19244
|
assign_membership_on_login: boolean;
|
|
17601
19245
|
is_signup_enabled: boolean;
|
|
17602
19246
|
}[] | undefined;
|
|
17603
19247
|
}, {
|
|
17604
19248
|
name: string;
|
|
19249
|
+
id?: string | undefined;
|
|
17605
19250
|
token_quota?: {
|
|
17606
19251
|
client_credentials?: {
|
|
17607
19252
|
enforce?: boolean | undefined;
|
|
@@ -17609,7 +19254,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17609
19254
|
per_hour?: number | undefined;
|
|
17610
19255
|
} | undefined;
|
|
17611
19256
|
} | undefined;
|
|
17612
|
-
id?: string | undefined;
|
|
17613
19257
|
display_name?: string | undefined;
|
|
17614
19258
|
metadata?: Record<string, any> | undefined;
|
|
17615
19259
|
branding?: {
|
|
@@ -17665,8 +19309,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17665
19309
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17666
19310
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17667
19311
|
}, "strip", z.ZodTypeAny, {
|
|
17668
|
-
show_as_button: boolean;
|
|
17669
19312
|
connection_id: string;
|
|
19313
|
+
show_as_button: boolean;
|
|
17670
19314
|
assign_membership_on_login: boolean;
|
|
17671
19315
|
is_signup_enabled: boolean;
|
|
17672
19316
|
}, {
|
|
@@ -17705,8 +19349,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17705
19349
|
}, "strip", z.ZodTypeAny, {
|
|
17706
19350
|
created_at: string;
|
|
17707
19351
|
updated_at: string;
|
|
17708
|
-
name: string;
|
|
17709
19352
|
id: string;
|
|
19353
|
+
name: string;
|
|
17710
19354
|
token_quota?: {
|
|
17711
19355
|
client_credentials?: {
|
|
17712
19356
|
enforce: boolean;
|
|
@@ -17724,16 +19368,16 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17724
19368
|
logo_url?: string | undefined;
|
|
17725
19369
|
} | undefined;
|
|
17726
19370
|
enabled_connections?: {
|
|
17727
|
-
show_as_button: boolean;
|
|
17728
19371
|
connection_id: string;
|
|
19372
|
+
show_as_button: boolean;
|
|
17729
19373
|
assign_membership_on_login: boolean;
|
|
17730
19374
|
is_signup_enabled: boolean;
|
|
17731
19375
|
}[] | undefined;
|
|
17732
19376
|
}, {
|
|
17733
19377
|
created_at: string;
|
|
17734
19378
|
updated_at: string;
|
|
17735
|
-
name: string;
|
|
17736
19379
|
id: string;
|
|
19380
|
+
name: string;
|
|
17737
19381
|
token_quota?: {
|
|
17738
19382
|
client_credentials?: {
|
|
17739
19383
|
enforce?: boolean | undefined;
|
|
@@ -17778,14 +19422,14 @@ export declare const userOrganizationSchema: z.ZodObject<{
|
|
|
17778
19422
|
}, "strip", z.ZodTypeAny, {
|
|
17779
19423
|
created_at: string;
|
|
17780
19424
|
updated_at: string;
|
|
17781
|
-
user_id: string;
|
|
17782
19425
|
id: string;
|
|
19426
|
+
user_id: string;
|
|
17783
19427
|
organization_id: string;
|
|
17784
19428
|
}, {
|
|
17785
19429
|
created_at: string;
|
|
17786
19430
|
updated_at: string;
|
|
17787
|
-
user_id: string;
|
|
17788
19431
|
id: string;
|
|
19432
|
+
user_id: string;
|
|
17789
19433
|
organization_id: string;
|
|
17790
19434
|
}>;
|
|
17791
19435
|
export type UserOrganization = z.infer<typeof userOrganizationSchema>;
|
|
@@ -18045,16 +19689,16 @@ export declare const dailyStatsSchema: z.ZodObject<{
|
|
|
18045
19689
|
updated_at: z.ZodString;
|
|
18046
19690
|
created_at: z.ZodString;
|
|
18047
19691
|
}, "strip", z.ZodTypeAny, {
|
|
18048
|
-
date: string;
|
|
18049
19692
|
created_at: string;
|
|
18050
19693
|
updated_at: string;
|
|
19694
|
+
date: string;
|
|
18051
19695
|
logins: number;
|
|
18052
19696
|
signups: number;
|
|
18053
19697
|
leaked_passwords: number;
|
|
18054
19698
|
}, {
|
|
18055
|
-
date: string;
|
|
18056
19699
|
created_at: string;
|
|
18057
19700
|
updated_at: string;
|
|
19701
|
+
date: string;
|
|
18058
19702
|
logins: number;
|
|
18059
19703
|
signups: number;
|
|
18060
19704
|
leaked_passwords: number;
|
|
@@ -18177,6 +19821,16 @@ export declare function createPassthroughAdapter<T extends object>(config: Passt
|
|
|
18177
19821
|
* ```
|
|
18178
19822
|
*/
|
|
18179
19823
|
export declare function createWriteOnlyAdapter<T>(implementation: Partial<T>): Partial<T>;
|
|
19824
|
+
export interface ListFlowsResponse extends Totals {
|
|
19825
|
+
flows: Flow[];
|
|
19826
|
+
}
|
|
19827
|
+
export interface FlowsAdapter {
|
|
19828
|
+
create(tenant_id: string, params: FlowInsert): Promise<Flow>;
|
|
19829
|
+
get(tenant_id: string, flow_id: string): Promise<Flow | null>;
|
|
19830
|
+
remove(tenant_id: string, flow_id: string): Promise<boolean>;
|
|
19831
|
+
update(tenant_id: string, flow_id: string, flow: Partial<FlowInsert>): Promise<Flow | null>;
|
|
19832
|
+
list(tenant_id: string, params?: ListParams): Promise<ListFlowsResponse>;
|
|
19833
|
+
}
|
|
18180
19834
|
export interface CacheItem<T = any> {
|
|
18181
19835
|
value: T;
|
|
18182
19836
|
expiresAt?: Date;
|
|
@@ -18522,6 +20176,7 @@ export interface DataAdapters {
|
|
|
18522
20176
|
connections: ConnectionsAdapter;
|
|
18523
20177
|
customDomains: CustomDomainsAdapter;
|
|
18524
20178
|
emailProviders: EmailProvidersAdapter;
|
|
20179
|
+
flows: FlowsAdapter;
|
|
18525
20180
|
forms: FormsAdapter;
|
|
18526
20181
|
geo?: GeoAdapter;
|
|
18527
20182
|
hooks: HooksAdapter;
|
|
@@ -18612,6 +20267,75 @@ export declare class HttpSamlSigner implements SamlSigner {
|
|
|
18612
20267
|
constructor(signUrl: string);
|
|
18613
20268
|
signSAML(xmlContent: string, privateKey: string, publicCert: string): Promise<string>;
|
|
18614
20269
|
}
|
|
20270
|
+
/**
|
|
20271
|
+
* Context passed to all entity hooks
|
|
20272
|
+
*/
|
|
20273
|
+
export interface EntityHookContext {
|
|
20274
|
+
/** The tenant where the operation occurred */
|
|
20275
|
+
tenantId: string;
|
|
20276
|
+
/** Data adapters for the current tenant */
|
|
20277
|
+
adapters: DataAdapters;
|
|
20278
|
+
}
|
|
20279
|
+
/**
|
|
20280
|
+
* CRUD hooks for any entity type.
|
|
20281
|
+
*
|
|
20282
|
+
* Use these hooks to implement cross-tenant synchronization,
|
|
20283
|
+
* audit logging, webhooks, or any other side effects.
|
|
20284
|
+
*
|
|
20285
|
+
* @example
|
|
20286
|
+
* ```typescript
|
|
20287
|
+
* const roleHooks: EntityHooks<Role, RoleInsert> = {
|
|
20288
|
+
* afterCreate: async (ctx, role) => {
|
|
20289
|
+
* // Propagate to other tenants
|
|
20290
|
+
* await syncToChildTenants(ctx, role);
|
|
20291
|
+
* },
|
|
20292
|
+
* afterUpdate: async (ctx, id, role) => {
|
|
20293
|
+
* // Log the update
|
|
20294
|
+
* await auditLog('role_updated', { id, tenantId: ctx.tenantId });
|
|
20295
|
+
* },
|
|
20296
|
+
* };
|
|
20297
|
+
* ```
|
|
20298
|
+
*/
|
|
20299
|
+
export interface EntityHooks<TEntity, TInsert, TUpdate = Partial<TInsert>> {
|
|
20300
|
+
/** Called before an entity is created */
|
|
20301
|
+
beforeCreate?: (ctx: EntityHookContext, data: TInsert) => Promise<TInsert>;
|
|
20302
|
+
/** Called after an entity is created */
|
|
20303
|
+
afterCreate?: (ctx: EntityHookContext, entity: TEntity) => Promise<void>;
|
|
20304
|
+
/** Called before an entity is updated */
|
|
20305
|
+
beforeUpdate?: (ctx: EntityHookContext, id: string, data: TUpdate) => Promise<TUpdate>;
|
|
20306
|
+
/** Called after an entity is updated */
|
|
20307
|
+
afterUpdate?: (ctx: EntityHookContext, id: string, entity: TEntity) => Promise<void>;
|
|
20308
|
+
/** Called before an entity is deleted */
|
|
20309
|
+
beforeDelete?: (ctx: EntityHookContext, id: string) => Promise<void>;
|
|
20310
|
+
/** Called after an entity is deleted */
|
|
20311
|
+
afterDelete?: (ctx: EntityHookContext, id: string) => Promise<void>;
|
|
20312
|
+
}
|
|
20313
|
+
/**
|
|
20314
|
+
* Hooks for role permission assignment operations.
|
|
20315
|
+
*
|
|
20316
|
+
* Role permissions use assign/remove operations rather than typical CRUD,
|
|
20317
|
+
* so they have a specialized hook interface.
|
|
20318
|
+
*
|
|
20319
|
+
* @example
|
|
20320
|
+
* ```typescript
|
|
20321
|
+
* const rolePermissionHooks: RolePermissionHooks = {
|
|
20322
|
+
* afterAssign: async (ctx, roleId, permissions) => {
|
|
20323
|
+
* // Sync permissions to child tenants
|
|
20324
|
+
* await syncPermissionsToChildTenants(ctx, roleId, permissions);
|
|
20325
|
+
* },
|
|
20326
|
+
* };
|
|
20327
|
+
* ```
|
|
20328
|
+
*/
|
|
20329
|
+
export interface RolePermissionHooks {
|
|
20330
|
+
/** Called before permissions are assigned to a role */
|
|
20331
|
+
beforeAssign?: (ctx: EntityHookContext, roleId: string, permissions: RolePermissionInsert[]) => Promise<RolePermissionInsert[]>;
|
|
20332
|
+
/** Called after permissions are assigned to a role */
|
|
20333
|
+
afterAssign?: (ctx: EntityHookContext, roleId: string, permissions: RolePermissionInsert[]) => Promise<void>;
|
|
20334
|
+
/** Called before permissions are removed from a role */
|
|
20335
|
+
beforeRemove?: (ctx: EntityHookContext, roleId: string, permissions: Pick<RolePermissionInsert, "resource_server_identifier" | "permission_name">[]) => Promise<Pick<RolePermissionInsert, "resource_server_identifier" | "permission_name">[]>;
|
|
20336
|
+
/** Called after permissions are removed from a role */
|
|
20337
|
+
afterRemove?: (ctx: EntityHookContext, roleId: string, permissions: Pick<RolePermissionInsert, "resource_server_identifier" | "permission_name">[]) => Promise<void>;
|
|
20338
|
+
}
|
|
18615
20339
|
export type Transaction = {
|
|
18616
20340
|
id?: string;
|
|
18617
20341
|
locale: string;
|
|
@@ -18793,6 +20517,38 @@ export type OnExecuteValidateRegistrationUsername = (event: Omit<HookEvent, "use
|
|
|
18793
20517
|
}, api: OnExecuteValidateRegistrationUsernameAPI) => Promise<void>;
|
|
18794
20518
|
export type OnExecuteValidateSignupEmail = OnExecuteValidateRegistrationUsername;
|
|
18795
20519
|
export type OnExecuteValidateSignupEmailAPI = OnExecuteValidateRegistrationUsernameAPI;
|
|
20520
|
+
/**
|
|
20521
|
+
* Entity hooks configuration for CRUD operations.
|
|
20522
|
+
*
|
|
20523
|
+
* Use these to implement cross-tenant synchronization, audit logging,
|
|
20524
|
+
* webhooks, or any other side effects when entities are created/updated/deleted.
|
|
20525
|
+
*/
|
|
20526
|
+
export interface EntityHooksConfig {
|
|
20527
|
+
resourceServers?: EntityHooks<ResourceServer, ResourceServerInsert>;
|
|
20528
|
+
roles?: EntityHooks<Role, RoleInsert>;
|
|
20529
|
+
rolePermissions?: RolePermissionHooks;
|
|
20530
|
+
connections?: EntityHooks<Connection, ConnectionInsert>;
|
|
20531
|
+
}
|
|
20532
|
+
export interface AuthHeroConfig {
|
|
20533
|
+
dataAdapter: DataAdapters;
|
|
20534
|
+
allowedOrigins?: string[];
|
|
20535
|
+
samlSigner?: SamlSigner;
|
|
20536
|
+
/**
|
|
20537
|
+
* Auth0-style action hooks for auth flow events.
|
|
20538
|
+
*/
|
|
20539
|
+
hooks?: {
|
|
20540
|
+
onExecuteCredentialsExchange?: OnExecuteCredentialsExchange;
|
|
20541
|
+
onExecutePreUserRegistration?: OnExecutePreUserRegistration;
|
|
20542
|
+
onExecutePostUserRegistration?: OnExecutePostUserRegistration;
|
|
20543
|
+
onExecutePreUserUpdate?: OnExecutePreUserUpdate;
|
|
20544
|
+
onExecutePostLogin?: OnExecutePostLogin;
|
|
20545
|
+
};
|
|
20546
|
+
/**
|
|
20547
|
+
* Entity CRUD hooks for when resources are created/updated/deleted.
|
|
20548
|
+
* Use these to implement cross-tenant sync, audit logging, webhooks, etc.
|
|
20549
|
+
*/
|
|
20550
|
+
entityHooks?: EntityHooksConfig;
|
|
20551
|
+
}
|
|
18796
20552
|
export type SendEmailParams = {
|
|
18797
20553
|
emailProvider: EmailProvider;
|
|
18798
20554
|
to: string;
|
|
@@ -18865,6 +20621,11 @@ export type Bindings = {
|
|
|
18865
20621
|
onExecuteValidateSignupEmail?: OnExecuteValidateSignupEmail;
|
|
18866
20622
|
onExecuteValidateRegistrationUsername?: OnExecuteValidateRegistrationUsername;
|
|
18867
20623
|
};
|
|
20624
|
+
/**
|
|
20625
|
+
* Entity CRUD hooks for when resources are created/updated/deleted.
|
|
20626
|
+
* Use these to implement cross-tenant sync, audit logging, webhooks, etc.
|
|
20627
|
+
*/
|
|
20628
|
+
entityHooks?: EntityHooksConfig;
|
|
18868
20629
|
emailProviders?: {
|
|
18869
20630
|
[key: string]: EmailService;
|
|
18870
20631
|
};
|
|
@@ -18881,18 +20642,6 @@ export type Bindings = {
|
|
|
18881
20642
|
SAML_SIGN_URL?: string;
|
|
18882
20643
|
samlSigner?: SamlSigner;
|
|
18883
20644
|
};
|
|
18884
|
-
export interface AuthHeroConfig {
|
|
18885
|
-
dataAdapter: DataAdapters;
|
|
18886
|
-
allowedOrigins?: string[];
|
|
18887
|
-
samlSigner?: SamlSigner;
|
|
18888
|
-
hooks?: {
|
|
18889
|
-
onExecuteCredentialsExchange?: OnExecuteCredentialsExchange;
|
|
18890
|
-
onExecutePreUserRegistration?: OnExecutePreUserRegistration;
|
|
18891
|
-
onExecutePostUserRegistration?: OnExecutePostUserRegistration;
|
|
18892
|
-
onExecutePreUserUpdate?: OnExecutePreUserUpdate;
|
|
18893
|
-
onExecutePostLogin?: OnExecutePostLogin;
|
|
18894
|
-
};
|
|
18895
|
-
}
|
|
18896
20645
|
export interface CreateX509CertificateParams {
|
|
18897
20646
|
name: string;
|
|
18898
20647
|
}
|
|
@@ -19228,6 +20977,34 @@ export declare function createInMemoryCache(config?: InMemoryCacheConfig): Cache
|
|
|
19228
20977
|
*/
|
|
19229
20978
|
export declare function withMainTenantFallback(baseAdapters: DataAdapters, config: MainTenantAdapterConfig): DataAdapters;
|
|
19230
20979
|
export declare function waitUntil(ctx: Context, promise: Promise<unknown>): void;
|
|
20980
|
+
/**
|
|
20981
|
+
* Options for the entity hooks wrapper
|
|
20982
|
+
*/
|
|
20983
|
+
export interface EntityHooksWrapperOptions {
|
|
20984
|
+
/** The tenant ID for the hook context */
|
|
20985
|
+
tenantId: string;
|
|
20986
|
+
/** Entity hooks configuration */
|
|
20987
|
+
entityHooks?: EntityHooksConfig;
|
|
20988
|
+
}
|
|
20989
|
+
/**
|
|
20990
|
+
* Adds entity hooks to data adapters.
|
|
20991
|
+
* This wraps each entity adapter's CRUD methods to call the configured hooks.
|
|
20992
|
+
*
|
|
20993
|
+
* @example
|
|
20994
|
+
* ```typescript
|
|
20995
|
+
* const wrappedData = addEntityHooks(data, {
|
|
20996
|
+
* tenantId: ctx.var.tenant_id,
|
|
20997
|
+
* entityHooks: {
|
|
20998
|
+
* roles: {
|
|
20999
|
+
* afterCreate: async (ctx, role) => {
|
|
21000
|
+
* await syncToChildTenants(ctx, role);
|
|
21001
|
+
* },
|
|
21002
|
+
* },
|
|
21003
|
+
* },
|
|
21004
|
+
* });
|
|
21005
|
+
* ```
|
|
21006
|
+
*/
|
|
21007
|
+
export declare function addEntityHooks(data: DataAdapters, options: EntityHooksWrapperOptions): DataAdapters;
|
|
19231
21008
|
export interface SeedOptions {
|
|
19232
21009
|
/**
|
|
19233
21010
|
* The admin user's email address
|
|
@@ -19308,9 +21085,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19308
21085
|
};
|
|
19309
21086
|
};
|
|
19310
21087
|
output: {
|
|
19311
|
-
date: string;
|
|
19312
21088
|
created_at: string;
|
|
19313
21089
|
updated_at: string;
|
|
21090
|
+
date: string;
|
|
19314
21091
|
logins: number;
|
|
19315
21092
|
signups: number;
|
|
19316
21093
|
leaked_passwords: number;
|
|
@@ -19351,8 +21128,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19351
21128
|
output: {
|
|
19352
21129
|
created_at: string;
|
|
19353
21130
|
updated_at: string;
|
|
19354
|
-
name: string;
|
|
19355
21131
|
id: string;
|
|
21132
|
+
name: string;
|
|
19356
21133
|
token_quota?: {
|
|
19357
21134
|
client_credentials?: {
|
|
19358
21135
|
enforce: boolean;
|
|
@@ -19372,8 +21149,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19372
21149
|
logo_url?: string | undefined | undefined;
|
|
19373
21150
|
} | undefined;
|
|
19374
21151
|
enabled_connections?: {
|
|
19375
|
-
show_as_button: boolean;
|
|
19376
21152
|
connection_id: string;
|
|
21153
|
+
show_as_button: boolean;
|
|
19377
21154
|
assign_membership_on_login: boolean;
|
|
19378
21155
|
is_signup_enabled: boolean;
|
|
19379
21156
|
}[] | undefined;
|
|
@@ -19384,8 +21161,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19384
21161
|
organizations: {
|
|
19385
21162
|
created_at: string;
|
|
19386
21163
|
updated_at: string;
|
|
19387
|
-
name: string;
|
|
19388
21164
|
id: string;
|
|
21165
|
+
name: string;
|
|
19389
21166
|
token_quota?: {
|
|
19390
21167
|
client_credentials?: {
|
|
19391
21168
|
enforce: boolean;
|
|
@@ -19405,8 +21182,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19405
21182
|
logo_url?: string | undefined | undefined;
|
|
19406
21183
|
} | undefined;
|
|
19407
21184
|
enabled_connections?: {
|
|
19408
|
-
show_as_button: boolean;
|
|
19409
21185
|
connection_id: string;
|
|
21186
|
+
show_as_button: boolean;
|
|
19410
21187
|
assign_membership_on_login: boolean;
|
|
19411
21188
|
is_signup_enabled: boolean;
|
|
19412
21189
|
}[] | undefined;
|
|
@@ -19431,8 +21208,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19431
21208
|
output: {
|
|
19432
21209
|
created_at: string;
|
|
19433
21210
|
updated_at: string;
|
|
19434
|
-
name: string;
|
|
19435
21211
|
id: string;
|
|
21212
|
+
name: string;
|
|
19436
21213
|
token_quota?: {
|
|
19437
21214
|
client_credentials?: {
|
|
19438
21215
|
enforce: boolean;
|
|
@@ -19452,8 +21229,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19452
21229
|
logo_url?: string | undefined | undefined;
|
|
19453
21230
|
} | undefined;
|
|
19454
21231
|
enabled_connections?: {
|
|
19455
|
-
show_as_button: boolean;
|
|
19456
21232
|
connection_id: string;
|
|
21233
|
+
show_as_button: boolean;
|
|
19457
21234
|
assign_membership_on_login: boolean;
|
|
19458
21235
|
is_signup_enabled: boolean;
|
|
19459
21236
|
}[] | undefined;
|
|
@@ -19521,8 +21298,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19521
21298
|
output: {
|
|
19522
21299
|
created_at: string;
|
|
19523
21300
|
updated_at: string;
|
|
19524
|
-
name: string;
|
|
19525
21301
|
id: string;
|
|
21302
|
+
name: string;
|
|
19526
21303
|
token_quota?: {
|
|
19527
21304
|
client_credentials?: {
|
|
19528
21305
|
enforce: boolean;
|
|
@@ -19542,8 +21319,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19542
21319
|
logo_url?: string | undefined | undefined;
|
|
19543
21320
|
} | undefined;
|
|
19544
21321
|
enabled_connections?: {
|
|
19545
|
-
show_as_button: boolean;
|
|
19546
21322
|
connection_id: string;
|
|
21323
|
+
show_as_button: boolean;
|
|
19547
21324
|
assign_membership_on_login: boolean;
|
|
19548
21325
|
is_signup_enabled: boolean;
|
|
19549
21326
|
}[] | undefined;
|
|
@@ -19562,6 +21339,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19562
21339
|
} & {
|
|
19563
21340
|
json: {
|
|
19564
21341
|
name: string;
|
|
21342
|
+
id?: string | undefined;
|
|
19565
21343
|
token_quota?: {
|
|
19566
21344
|
client_credentials?: {
|
|
19567
21345
|
enforce?: boolean | undefined;
|
|
@@ -19569,7 +21347,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19569
21347
|
per_hour?: number | undefined;
|
|
19570
21348
|
} | undefined;
|
|
19571
21349
|
} | undefined;
|
|
19572
|
-
id?: string | undefined;
|
|
19573
21350
|
display_name?: string | undefined;
|
|
19574
21351
|
metadata?: Record<string, any> | undefined;
|
|
19575
21352
|
branding?: {
|
|
@@ -19590,8 +21367,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19590
21367
|
output: {
|
|
19591
21368
|
created_at: string;
|
|
19592
21369
|
updated_at: string;
|
|
19593
|
-
name: string;
|
|
19594
21370
|
id: string;
|
|
21371
|
+
name: string;
|
|
19595
21372
|
token_quota?: {
|
|
19596
21373
|
client_credentials?: {
|
|
19597
21374
|
enforce: boolean;
|
|
@@ -19611,8 +21388,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19611
21388
|
logo_url?: string | undefined | undefined;
|
|
19612
21389
|
} | undefined;
|
|
19613
21390
|
enabled_connections?: {
|
|
19614
|
-
show_as_button: boolean;
|
|
19615
21391
|
connection_id: string;
|
|
21392
|
+
show_as_button: boolean;
|
|
19616
21393
|
assign_membership_on_login: boolean;
|
|
19617
21394
|
is_signup_enabled: boolean;
|
|
19618
21395
|
}[] | undefined;
|
|
@@ -19730,11 +21507,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19730
21507
|
};
|
|
19731
21508
|
};
|
|
19732
21509
|
output: {
|
|
19733
|
-
name: string;
|
|
19734
21510
|
id: string;
|
|
19735
|
-
|
|
21511
|
+
name: string;
|
|
19736
21512
|
created_at?: string | undefined | undefined;
|
|
19737
21513
|
updated_at?: string | undefined | undefined;
|
|
21514
|
+
description?: string | undefined | undefined;
|
|
19738
21515
|
}[];
|
|
19739
21516
|
outputFormat: "json";
|
|
19740
21517
|
status: 200;
|
|
@@ -19805,11 +21582,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19805
21582
|
};
|
|
19806
21583
|
};
|
|
19807
21584
|
output: {
|
|
19808
|
-
name: string;
|
|
19809
21585
|
id: string;
|
|
19810
|
-
|
|
21586
|
+
name: string;
|
|
19811
21587
|
created_at?: string | undefined | undefined;
|
|
19812
21588
|
updated_at?: string | undefined | undefined;
|
|
21589
|
+
description?: string | undefined | undefined;
|
|
19813
21590
|
}[];
|
|
19814
21591
|
outputFormat: "json";
|
|
19815
21592
|
status: 200;
|
|
@@ -19838,8 +21615,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19838
21615
|
};
|
|
19839
21616
|
output: {
|
|
19840
21617
|
created_at: string;
|
|
19841
|
-
client_id: string;
|
|
19842
21618
|
id: string;
|
|
21619
|
+
client_id: string;
|
|
19843
21620
|
expires_at: string;
|
|
19844
21621
|
organization_id: string;
|
|
19845
21622
|
inviter: {
|
|
@@ -19849,13 +21626,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19849
21626
|
email?: string | undefined | undefined;
|
|
19850
21627
|
};
|
|
19851
21628
|
invitation_url: string;
|
|
21629
|
+
connection_id?: string | undefined | undefined;
|
|
19852
21630
|
app_metadata?: {
|
|
19853
21631
|
[x: string]: any;
|
|
19854
21632
|
} | undefined;
|
|
19855
21633
|
user_metadata?: {
|
|
19856
21634
|
[x: string]: any;
|
|
19857
21635
|
} | undefined;
|
|
19858
|
-
connection_id?: string | undefined | undefined;
|
|
19859
21636
|
ttl_sec?: number | undefined | undefined;
|
|
19860
21637
|
roles?: string[] | undefined | undefined;
|
|
19861
21638
|
send_invitation_email?: boolean | undefined | undefined;
|
|
@@ -19866,8 +21643,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19866
21643
|
limit: number;
|
|
19867
21644
|
invitations: {
|
|
19868
21645
|
created_at: string;
|
|
19869
|
-
client_id: string;
|
|
19870
21646
|
id: string;
|
|
21647
|
+
client_id: string;
|
|
19871
21648
|
expires_at: string;
|
|
19872
21649
|
organization_id: string;
|
|
19873
21650
|
inviter: {
|
|
@@ -19877,13 +21654,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19877
21654
|
email?: string | undefined | undefined;
|
|
19878
21655
|
};
|
|
19879
21656
|
invitation_url: string;
|
|
21657
|
+
connection_id?: string | undefined | undefined;
|
|
19880
21658
|
app_metadata?: {
|
|
19881
21659
|
[x: string]: any;
|
|
19882
21660
|
} | undefined;
|
|
19883
21661
|
user_metadata?: {
|
|
19884
21662
|
[x: string]: any;
|
|
19885
21663
|
} | undefined;
|
|
19886
|
-
connection_id?: string | undefined | undefined;
|
|
19887
21664
|
ttl_sec?: number | undefined | undefined;
|
|
19888
21665
|
roles?: string[] | undefined | undefined;
|
|
19889
21666
|
send_invitation_email?: boolean | undefined | undefined;
|
|
@@ -19923,8 +21700,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19923
21700
|
};
|
|
19924
21701
|
output: {
|
|
19925
21702
|
created_at: string;
|
|
19926
|
-
client_id: string;
|
|
19927
21703
|
id: string;
|
|
21704
|
+
client_id: string;
|
|
19928
21705
|
expires_at: string;
|
|
19929
21706
|
organization_id: string;
|
|
19930
21707
|
inviter: {
|
|
@@ -19934,13 +21711,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19934
21711
|
email?: string | undefined | undefined;
|
|
19935
21712
|
};
|
|
19936
21713
|
invitation_url: string;
|
|
21714
|
+
connection_id?: string | undefined | undefined;
|
|
19937
21715
|
app_metadata?: {
|
|
19938
21716
|
[x: string]: any;
|
|
19939
21717
|
} | undefined;
|
|
19940
21718
|
user_metadata?: {
|
|
19941
21719
|
[x: string]: any;
|
|
19942
21720
|
} | undefined;
|
|
19943
|
-
connection_id?: string | undefined | undefined;
|
|
19944
21721
|
ttl_sec?: number | undefined | undefined;
|
|
19945
21722
|
roles?: string[] | undefined | undefined;
|
|
19946
21723
|
send_invitation_email?: boolean | undefined | undefined;
|
|
@@ -19980,8 +21757,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19980
21757
|
};
|
|
19981
21758
|
output: {
|
|
19982
21759
|
created_at: string;
|
|
19983
|
-
client_id: string;
|
|
19984
21760
|
id: string;
|
|
21761
|
+
client_id: string;
|
|
19985
21762
|
expires_at: string;
|
|
19986
21763
|
organization_id: string;
|
|
19987
21764
|
inviter: {
|
|
@@ -19991,13 +21768,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19991
21768
|
email?: string | undefined | undefined;
|
|
19992
21769
|
};
|
|
19993
21770
|
invitation_url: string;
|
|
21771
|
+
connection_id?: string | undefined | undefined;
|
|
19994
21772
|
app_metadata?: {
|
|
19995
21773
|
[x: string]: any;
|
|
19996
21774
|
} | undefined;
|
|
19997
21775
|
user_metadata?: {
|
|
19998
21776
|
[x: string]: any;
|
|
19999
21777
|
} | undefined;
|
|
20000
|
-
connection_id?: string | undefined | undefined;
|
|
20001
21778
|
ttl_sec?: number | undefined | undefined;
|
|
20002
21779
|
roles?: string[] | undefined | undefined;
|
|
20003
21780
|
send_invitation_email?: boolean | undefined | undefined;
|
|
@@ -20058,6 +21835,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20058
21835
|
output: {
|
|
20059
21836
|
name: string;
|
|
20060
21837
|
identifier: string;
|
|
21838
|
+
created_at?: string | undefined | undefined;
|
|
21839
|
+
updated_at?: string | undefined | undefined;
|
|
20061
21840
|
options?: {
|
|
20062
21841
|
mtls?: {
|
|
20063
21842
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20069,8 +21848,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20069
21848
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20070
21849
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20071
21850
|
} | undefined;
|
|
20072
|
-
created_at?: string | undefined | undefined;
|
|
20073
|
-
updated_at?: string | undefined | undefined;
|
|
20074
21851
|
id?: string | undefined | undefined;
|
|
20075
21852
|
scopes?: {
|
|
20076
21853
|
value: string;
|
|
@@ -20090,6 +21867,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20090
21867
|
resource_servers: {
|
|
20091
21868
|
name: string;
|
|
20092
21869
|
identifier: string;
|
|
21870
|
+
created_at?: string | undefined | undefined;
|
|
21871
|
+
updated_at?: string | undefined | undefined;
|
|
20093
21872
|
options?: {
|
|
20094
21873
|
mtls?: {
|
|
20095
21874
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20101,8 +21880,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20101
21880
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20102
21881
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20103
21882
|
} | undefined;
|
|
20104
|
-
created_at?: string | undefined | undefined;
|
|
20105
|
-
updated_at?: string | undefined | undefined;
|
|
20106
21883
|
id?: string | undefined | undefined;
|
|
20107
21884
|
scopes?: {
|
|
20108
21885
|
value: string;
|
|
@@ -20136,6 +21913,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20136
21913
|
output: {
|
|
20137
21914
|
name: string;
|
|
20138
21915
|
identifier: string;
|
|
21916
|
+
created_at?: string | undefined | undefined;
|
|
21917
|
+
updated_at?: string | undefined | undefined;
|
|
20139
21918
|
options?: {
|
|
20140
21919
|
mtls?: {
|
|
20141
21920
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20147,8 +21926,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20147
21926
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20148
21927
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20149
21928
|
} | undefined;
|
|
20150
|
-
created_at?: string | undefined | undefined;
|
|
20151
|
-
updated_at?: string | undefined | undefined;
|
|
20152
21929
|
id?: string | undefined | undefined;
|
|
20153
21930
|
scopes?: {
|
|
20154
21931
|
value: string;
|
|
@@ -20225,6 +22002,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20225
22002
|
output: {
|
|
20226
22003
|
name: string;
|
|
20227
22004
|
identifier: string;
|
|
22005
|
+
created_at?: string | undefined | undefined;
|
|
22006
|
+
updated_at?: string | undefined | undefined;
|
|
20228
22007
|
options?: {
|
|
20229
22008
|
mtls?: {
|
|
20230
22009
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20236,8 +22015,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20236
22015
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20237
22016
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20238
22017
|
} | undefined;
|
|
20239
|
-
created_at?: string | undefined | undefined;
|
|
20240
|
-
updated_at?: string | undefined | undefined;
|
|
20241
22018
|
id?: string | undefined | undefined;
|
|
20242
22019
|
scopes?: {
|
|
20243
22020
|
value: string;
|
|
@@ -20293,6 +22070,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20293
22070
|
output: {
|
|
20294
22071
|
name: string;
|
|
20295
22072
|
identifier: string;
|
|
22073
|
+
created_at?: string | undefined | undefined;
|
|
22074
|
+
updated_at?: string | undefined | undefined;
|
|
20296
22075
|
options?: {
|
|
20297
22076
|
mtls?: {
|
|
20298
22077
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20304,8 +22083,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20304
22083
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20305
22084
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20306
22085
|
} | undefined;
|
|
20307
|
-
created_at?: string | undefined | undefined;
|
|
20308
|
-
updated_at?: string | undefined | undefined;
|
|
20309
22086
|
id?: string | undefined | undefined;
|
|
20310
22087
|
scopes?: {
|
|
20311
22088
|
value: string;
|
|
@@ -20340,21 +22117,21 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20340
22117
|
};
|
|
20341
22118
|
};
|
|
20342
22119
|
output: {
|
|
20343
|
-
name: string;
|
|
20344
22120
|
id: string;
|
|
20345
|
-
|
|
22121
|
+
name: string;
|
|
20346
22122
|
created_at?: string | undefined | undefined;
|
|
20347
22123
|
updated_at?: string | undefined | undefined;
|
|
22124
|
+
description?: string | undefined | undefined;
|
|
20348
22125
|
}[] | {
|
|
20349
22126
|
length: number;
|
|
20350
22127
|
start: number;
|
|
20351
22128
|
limit: number;
|
|
20352
22129
|
roles: {
|
|
20353
|
-
name: string;
|
|
20354
22130
|
id: string;
|
|
20355
|
-
|
|
22131
|
+
name: string;
|
|
20356
22132
|
created_at?: string | undefined | undefined;
|
|
20357
22133
|
updated_at?: string | undefined | undefined;
|
|
22134
|
+
description?: string | undefined | undefined;
|
|
20358
22135
|
}[];
|
|
20359
22136
|
};
|
|
20360
22137
|
outputFormat: "json";
|
|
@@ -20374,11 +22151,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20374
22151
|
};
|
|
20375
22152
|
};
|
|
20376
22153
|
output: {
|
|
20377
|
-
name: string;
|
|
20378
22154
|
id: string;
|
|
20379
|
-
|
|
22155
|
+
name: string;
|
|
20380
22156
|
created_at?: string | undefined | undefined;
|
|
20381
22157
|
updated_at?: string | undefined | undefined;
|
|
22158
|
+
description?: string | undefined | undefined;
|
|
20382
22159
|
};
|
|
20383
22160
|
outputFormat: "json";
|
|
20384
22161
|
status: 200;
|
|
@@ -20398,11 +22175,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20398
22175
|
};
|
|
20399
22176
|
};
|
|
20400
22177
|
output: {
|
|
20401
|
-
name: string;
|
|
20402
22178
|
id: string;
|
|
20403
|
-
|
|
22179
|
+
name: string;
|
|
20404
22180
|
created_at?: string | undefined | undefined;
|
|
20405
22181
|
updated_at?: string | undefined | undefined;
|
|
22182
|
+
description?: string | undefined | undefined;
|
|
20406
22183
|
};
|
|
20407
22184
|
outputFormat: "json";
|
|
20408
22185
|
status: 201;
|
|
@@ -20426,11 +22203,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20426
22203
|
};
|
|
20427
22204
|
};
|
|
20428
22205
|
output: {
|
|
20429
|
-
name: string;
|
|
20430
22206
|
id: string;
|
|
20431
|
-
|
|
22207
|
+
name: string;
|
|
20432
22208
|
created_at?: string | undefined | undefined;
|
|
20433
22209
|
updated_at?: string | undefined | undefined;
|
|
22210
|
+
description?: string | undefined | undefined;
|
|
20434
22211
|
};
|
|
20435
22212
|
outputFormat: "json";
|
|
20436
22213
|
status: 200;
|
|
@@ -20484,54 +22261,481 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20484
22261
|
};
|
|
20485
22262
|
};
|
|
20486
22263
|
} & {
|
|
20487
|
-
"/:id/permissions": {
|
|
22264
|
+
"/:id/permissions": {
|
|
22265
|
+
$post: {
|
|
22266
|
+
input: {
|
|
22267
|
+
param: {
|
|
22268
|
+
id: string;
|
|
22269
|
+
};
|
|
22270
|
+
} & {
|
|
22271
|
+
header: {
|
|
22272
|
+
"tenant-id": string;
|
|
22273
|
+
};
|
|
22274
|
+
} & {
|
|
22275
|
+
json: {
|
|
22276
|
+
permissions: {
|
|
22277
|
+
resource_server_identifier: string;
|
|
22278
|
+
permission_name: string;
|
|
22279
|
+
}[];
|
|
22280
|
+
};
|
|
22281
|
+
};
|
|
22282
|
+
output: {};
|
|
22283
|
+
outputFormat: string;
|
|
22284
|
+
status: 201;
|
|
22285
|
+
};
|
|
22286
|
+
};
|
|
22287
|
+
} & {
|
|
22288
|
+
"/:id/permissions": {
|
|
22289
|
+
$delete: {
|
|
22290
|
+
input: {
|
|
22291
|
+
param: {
|
|
22292
|
+
id: string;
|
|
22293
|
+
};
|
|
22294
|
+
} & {
|
|
22295
|
+
header: {
|
|
22296
|
+
"tenant-id": string;
|
|
22297
|
+
};
|
|
22298
|
+
} & {
|
|
22299
|
+
json: {
|
|
22300
|
+
permissions: {
|
|
22301
|
+
resource_server_identifier: string;
|
|
22302
|
+
permission_name: string;
|
|
22303
|
+
}[];
|
|
22304
|
+
};
|
|
22305
|
+
};
|
|
22306
|
+
output: {};
|
|
22307
|
+
outputFormat: string;
|
|
22308
|
+
status: 200;
|
|
22309
|
+
};
|
|
22310
|
+
};
|
|
22311
|
+
}, "/roles"> & import("hono/types").MergeSchemaPath<{
|
|
22312
|
+
"/": {
|
|
22313
|
+
$get: {
|
|
22314
|
+
input: {
|
|
22315
|
+
query: {
|
|
22316
|
+
sort?: string | undefined;
|
|
22317
|
+
page?: string | undefined;
|
|
22318
|
+
per_page?: string | undefined;
|
|
22319
|
+
include_totals?: string | undefined;
|
|
22320
|
+
q?: string | undefined;
|
|
22321
|
+
};
|
|
22322
|
+
} & {
|
|
22323
|
+
header: {
|
|
22324
|
+
"tenant-id": string;
|
|
22325
|
+
};
|
|
22326
|
+
};
|
|
22327
|
+
output: {
|
|
22328
|
+
created_at: string;
|
|
22329
|
+
updated_at: string;
|
|
22330
|
+
id: string;
|
|
22331
|
+
name: string;
|
|
22332
|
+
actions: ({
|
|
22333
|
+
params: {
|
|
22334
|
+
user_id: string;
|
|
22335
|
+
changes: {
|
|
22336
|
+
[x: string]: any;
|
|
22337
|
+
};
|
|
22338
|
+
connection_id?: string | undefined | undefined;
|
|
22339
|
+
};
|
|
22340
|
+
type: "AUTH0";
|
|
22341
|
+
id: string;
|
|
22342
|
+
action: "UPDATE_USER";
|
|
22343
|
+
alias?: string | undefined | undefined;
|
|
22344
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22345
|
+
mask_output?: boolean | undefined | undefined;
|
|
22346
|
+
} | {
|
|
22347
|
+
params: {
|
|
22348
|
+
email: string;
|
|
22349
|
+
rules?: {
|
|
22350
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
22351
|
+
block_aliases?: boolean | undefined | undefined;
|
|
22352
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
22353
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
22354
|
+
blocklist?: string[] | undefined | undefined;
|
|
22355
|
+
allowlist?: string[] | undefined | undefined;
|
|
22356
|
+
} | undefined;
|
|
22357
|
+
};
|
|
22358
|
+
type: "EMAIL";
|
|
22359
|
+
id: string;
|
|
22360
|
+
action: "VERIFY_EMAIL";
|
|
22361
|
+
alias?: string | undefined | undefined;
|
|
22362
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22363
|
+
mask_output?: boolean | undefined | undefined;
|
|
22364
|
+
} | {
|
|
22365
|
+
params: {
|
|
22366
|
+
target: "custom" | "change-email" | "account";
|
|
22367
|
+
custom_url?: string | undefined | undefined;
|
|
22368
|
+
};
|
|
22369
|
+
type: "REDIRECT";
|
|
22370
|
+
id: string;
|
|
22371
|
+
action: "REDIRECT_USER";
|
|
22372
|
+
alias?: string | undefined | undefined;
|
|
22373
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22374
|
+
mask_output?: boolean | undefined | undefined;
|
|
22375
|
+
})[];
|
|
22376
|
+
}[] | {
|
|
22377
|
+
length: number;
|
|
22378
|
+
start: number;
|
|
22379
|
+
limit: number;
|
|
22380
|
+
flows: {
|
|
22381
|
+
created_at: string;
|
|
22382
|
+
updated_at: string;
|
|
22383
|
+
id: string;
|
|
22384
|
+
name: string;
|
|
22385
|
+
actions: ({
|
|
22386
|
+
params: {
|
|
22387
|
+
user_id: string;
|
|
22388
|
+
changes: {
|
|
22389
|
+
[x: string]: any;
|
|
22390
|
+
};
|
|
22391
|
+
connection_id?: string | undefined | undefined;
|
|
22392
|
+
};
|
|
22393
|
+
type: "AUTH0";
|
|
22394
|
+
id: string;
|
|
22395
|
+
action: "UPDATE_USER";
|
|
22396
|
+
alias?: string | undefined | undefined;
|
|
22397
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22398
|
+
mask_output?: boolean | undefined | undefined;
|
|
22399
|
+
} | {
|
|
22400
|
+
params: {
|
|
22401
|
+
email: string;
|
|
22402
|
+
rules?: {
|
|
22403
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
22404
|
+
block_aliases?: boolean | undefined | undefined;
|
|
22405
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
22406
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
22407
|
+
blocklist?: string[] | undefined | undefined;
|
|
22408
|
+
allowlist?: string[] | undefined | undefined;
|
|
22409
|
+
} | undefined;
|
|
22410
|
+
};
|
|
22411
|
+
type: "EMAIL";
|
|
22412
|
+
id: string;
|
|
22413
|
+
action: "VERIFY_EMAIL";
|
|
22414
|
+
alias?: string | undefined | undefined;
|
|
22415
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22416
|
+
mask_output?: boolean | undefined | undefined;
|
|
22417
|
+
} | {
|
|
22418
|
+
params: {
|
|
22419
|
+
target: "custom" | "change-email" | "account";
|
|
22420
|
+
custom_url?: string | undefined | undefined;
|
|
22421
|
+
};
|
|
22422
|
+
type: "REDIRECT";
|
|
22423
|
+
id: string;
|
|
22424
|
+
action: "REDIRECT_USER";
|
|
22425
|
+
alias?: string | undefined | undefined;
|
|
22426
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22427
|
+
mask_output?: boolean | undefined | undefined;
|
|
22428
|
+
})[];
|
|
22429
|
+
}[];
|
|
22430
|
+
};
|
|
22431
|
+
outputFormat: "json";
|
|
22432
|
+
status: 200;
|
|
22433
|
+
};
|
|
22434
|
+
};
|
|
22435
|
+
} & {
|
|
22436
|
+
"/:id": {
|
|
22437
|
+
$get: {
|
|
22438
|
+
input: {
|
|
22439
|
+
param: {
|
|
22440
|
+
id: string;
|
|
22441
|
+
};
|
|
22442
|
+
} & {
|
|
22443
|
+
header: {
|
|
22444
|
+
"tenant-id": string;
|
|
22445
|
+
};
|
|
22446
|
+
};
|
|
22447
|
+
output: {
|
|
22448
|
+
created_at: string;
|
|
22449
|
+
updated_at: string;
|
|
22450
|
+
id: string;
|
|
22451
|
+
name: string;
|
|
22452
|
+
actions: ({
|
|
22453
|
+
params: {
|
|
22454
|
+
user_id: string;
|
|
22455
|
+
changes: {
|
|
22456
|
+
[x: string]: any;
|
|
22457
|
+
};
|
|
22458
|
+
connection_id?: string | undefined | undefined;
|
|
22459
|
+
};
|
|
22460
|
+
type: "AUTH0";
|
|
22461
|
+
id: string;
|
|
22462
|
+
action: "UPDATE_USER";
|
|
22463
|
+
alias?: string | undefined | undefined;
|
|
22464
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22465
|
+
mask_output?: boolean | undefined | undefined;
|
|
22466
|
+
} | {
|
|
22467
|
+
params: {
|
|
22468
|
+
email: string;
|
|
22469
|
+
rules?: {
|
|
22470
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
22471
|
+
block_aliases?: boolean | undefined | undefined;
|
|
22472
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
22473
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
22474
|
+
blocklist?: string[] | undefined | undefined;
|
|
22475
|
+
allowlist?: string[] | undefined | undefined;
|
|
22476
|
+
} | undefined;
|
|
22477
|
+
};
|
|
22478
|
+
type: "EMAIL";
|
|
22479
|
+
id: string;
|
|
22480
|
+
action: "VERIFY_EMAIL";
|
|
22481
|
+
alias?: string | undefined | undefined;
|
|
22482
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22483
|
+
mask_output?: boolean | undefined | undefined;
|
|
22484
|
+
} | {
|
|
22485
|
+
params: {
|
|
22486
|
+
target: "custom" | "change-email" | "account";
|
|
22487
|
+
custom_url?: string | undefined | undefined;
|
|
22488
|
+
};
|
|
22489
|
+
type: "REDIRECT";
|
|
22490
|
+
id: string;
|
|
22491
|
+
action: "REDIRECT_USER";
|
|
22492
|
+
alias?: string | undefined | undefined;
|
|
22493
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22494
|
+
mask_output?: boolean | undefined | undefined;
|
|
22495
|
+
})[];
|
|
22496
|
+
};
|
|
22497
|
+
outputFormat: "json";
|
|
22498
|
+
status: 200;
|
|
22499
|
+
};
|
|
22500
|
+
};
|
|
22501
|
+
} & {
|
|
22502
|
+
"/:id": {
|
|
22503
|
+
$delete: {
|
|
22504
|
+
input: {
|
|
22505
|
+
param: {
|
|
22506
|
+
id: string;
|
|
22507
|
+
};
|
|
22508
|
+
} & {
|
|
22509
|
+
header: {
|
|
22510
|
+
"tenant-id": string;
|
|
22511
|
+
};
|
|
22512
|
+
};
|
|
22513
|
+
output: {};
|
|
22514
|
+
outputFormat: string;
|
|
22515
|
+
status: 200;
|
|
22516
|
+
};
|
|
22517
|
+
};
|
|
22518
|
+
} & {
|
|
22519
|
+
"/:id": {
|
|
22520
|
+
$patch: {
|
|
22521
|
+
input: {
|
|
22522
|
+
param: {
|
|
22523
|
+
id: string;
|
|
22524
|
+
};
|
|
22525
|
+
} & {
|
|
22526
|
+
header: {
|
|
22527
|
+
"tenant-id": string;
|
|
22528
|
+
};
|
|
22529
|
+
} & {
|
|
22530
|
+
json: {
|
|
22531
|
+
name?: string | undefined;
|
|
22532
|
+
actions?: ({
|
|
22533
|
+
params: {
|
|
22534
|
+
user_id: string;
|
|
22535
|
+
changes: Record<string, any>;
|
|
22536
|
+
connection_id?: string | undefined;
|
|
22537
|
+
};
|
|
22538
|
+
type: "AUTH0";
|
|
22539
|
+
id: string;
|
|
22540
|
+
action: "UPDATE_USER";
|
|
22541
|
+
alias?: string | undefined;
|
|
22542
|
+
allow_failure?: boolean | undefined;
|
|
22543
|
+
mask_output?: boolean | undefined;
|
|
22544
|
+
} | {
|
|
22545
|
+
params: {
|
|
22546
|
+
email: string;
|
|
22547
|
+
rules?: {
|
|
22548
|
+
require_mx_record?: boolean | undefined;
|
|
22549
|
+
block_aliases?: boolean | undefined;
|
|
22550
|
+
block_free_emails?: boolean | undefined;
|
|
22551
|
+
block_disposable_emails?: boolean | undefined;
|
|
22552
|
+
blocklist?: string[] | undefined;
|
|
22553
|
+
allowlist?: string[] | undefined;
|
|
22554
|
+
} | undefined;
|
|
22555
|
+
};
|
|
22556
|
+
type: "EMAIL";
|
|
22557
|
+
id: string;
|
|
22558
|
+
action: "VERIFY_EMAIL";
|
|
22559
|
+
alias?: string | undefined;
|
|
22560
|
+
allow_failure?: boolean | undefined;
|
|
22561
|
+
mask_output?: boolean | undefined;
|
|
22562
|
+
} | {
|
|
22563
|
+
params: {
|
|
22564
|
+
target: "custom" | "change-email" | "account";
|
|
22565
|
+
custom_url?: string | undefined;
|
|
22566
|
+
};
|
|
22567
|
+
type: "REDIRECT";
|
|
22568
|
+
id: string;
|
|
22569
|
+
action: "REDIRECT_USER";
|
|
22570
|
+
alias?: string | undefined;
|
|
22571
|
+
allow_failure?: boolean | undefined;
|
|
22572
|
+
mask_output?: boolean | undefined;
|
|
22573
|
+
})[] | undefined;
|
|
22574
|
+
};
|
|
22575
|
+
};
|
|
22576
|
+
output: {
|
|
22577
|
+
created_at: string;
|
|
22578
|
+
updated_at: string;
|
|
22579
|
+
id: string;
|
|
22580
|
+
name: string;
|
|
22581
|
+
actions: ({
|
|
22582
|
+
params: {
|
|
22583
|
+
user_id: string;
|
|
22584
|
+
changes: {
|
|
22585
|
+
[x: string]: any;
|
|
22586
|
+
};
|
|
22587
|
+
connection_id?: string | undefined | undefined;
|
|
22588
|
+
};
|
|
22589
|
+
type: "AUTH0";
|
|
22590
|
+
id: string;
|
|
22591
|
+
action: "UPDATE_USER";
|
|
22592
|
+
alias?: string | undefined | undefined;
|
|
22593
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22594
|
+
mask_output?: boolean | undefined | undefined;
|
|
22595
|
+
} | {
|
|
22596
|
+
params: {
|
|
22597
|
+
email: string;
|
|
22598
|
+
rules?: {
|
|
22599
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
22600
|
+
block_aliases?: boolean | undefined | undefined;
|
|
22601
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
22602
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
22603
|
+
blocklist?: string[] | undefined | undefined;
|
|
22604
|
+
allowlist?: string[] | undefined | undefined;
|
|
22605
|
+
} | undefined;
|
|
22606
|
+
};
|
|
22607
|
+
type: "EMAIL";
|
|
22608
|
+
id: string;
|
|
22609
|
+
action: "VERIFY_EMAIL";
|
|
22610
|
+
alias?: string | undefined | undefined;
|
|
22611
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22612
|
+
mask_output?: boolean | undefined | undefined;
|
|
22613
|
+
} | {
|
|
22614
|
+
params: {
|
|
22615
|
+
target: "custom" | "change-email" | "account";
|
|
22616
|
+
custom_url?: string | undefined | undefined;
|
|
22617
|
+
};
|
|
22618
|
+
type: "REDIRECT";
|
|
22619
|
+
id: string;
|
|
22620
|
+
action: "REDIRECT_USER";
|
|
22621
|
+
alias?: string | undefined | undefined;
|
|
22622
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22623
|
+
mask_output?: boolean | undefined | undefined;
|
|
22624
|
+
})[];
|
|
22625
|
+
};
|
|
22626
|
+
outputFormat: "json";
|
|
22627
|
+
status: 200;
|
|
22628
|
+
};
|
|
22629
|
+
};
|
|
22630
|
+
} & {
|
|
22631
|
+
"/": {
|
|
20488
22632
|
$post: {
|
|
20489
22633
|
input: {
|
|
20490
|
-
param: {
|
|
20491
|
-
id: string;
|
|
20492
|
-
};
|
|
20493
|
-
} & {
|
|
20494
22634
|
header: {
|
|
20495
22635
|
"tenant-id": string;
|
|
20496
22636
|
};
|
|
20497
22637
|
} & {
|
|
20498
22638
|
json: {
|
|
20499
|
-
|
|
20500
|
-
|
|
20501
|
-
|
|
20502
|
-
|
|
22639
|
+
name: string;
|
|
22640
|
+
actions?: ({
|
|
22641
|
+
params: {
|
|
22642
|
+
user_id: string;
|
|
22643
|
+
changes: Record<string, any>;
|
|
22644
|
+
connection_id?: string | undefined;
|
|
22645
|
+
};
|
|
22646
|
+
type: "AUTH0";
|
|
22647
|
+
id: string;
|
|
22648
|
+
action: "UPDATE_USER";
|
|
22649
|
+
alias?: string | undefined;
|
|
22650
|
+
allow_failure?: boolean | undefined;
|
|
22651
|
+
mask_output?: boolean | undefined;
|
|
22652
|
+
} | {
|
|
22653
|
+
params: {
|
|
22654
|
+
email: string;
|
|
22655
|
+
rules?: {
|
|
22656
|
+
require_mx_record?: boolean | undefined;
|
|
22657
|
+
block_aliases?: boolean | undefined;
|
|
22658
|
+
block_free_emails?: boolean | undefined;
|
|
22659
|
+
block_disposable_emails?: boolean | undefined;
|
|
22660
|
+
blocklist?: string[] | undefined;
|
|
22661
|
+
allowlist?: string[] | undefined;
|
|
22662
|
+
} | undefined;
|
|
22663
|
+
};
|
|
22664
|
+
type: "EMAIL";
|
|
22665
|
+
id: string;
|
|
22666
|
+
action: "VERIFY_EMAIL";
|
|
22667
|
+
alias?: string | undefined;
|
|
22668
|
+
allow_failure?: boolean | undefined;
|
|
22669
|
+
mask_output?: boolean | undefined;
|
|
22670
|
+
} | {
|
|
22671
|
+
params: {
|
|
22672
|
+
target: "custom" | "change-email" | "account";
|
|
22673
|
+
custom_url?: string | undefined;
|
|
22674
|
+
};
|
|
22675
|
+
type: "REDIRECT";
|
|
22676
|
+
id: string;
|
|
22677
|
+
action: "REDIRECT_USER";
|
|
22678
|
+
alias?: string | undefined;
|
|
22679
|
+
allow_failure?: boolean | undefined;
|
|
22680
|
+
mask_output?: boolean | undefined;
|
|
22681
|
+
})[] | undefined;
|
|
20503
22682
|
};
|
|
20504
22683
|
};
|
|
20505
|
-
output: {
|
|
20506
|
-
|
|
20507
|
-
|
|
20508
|
-
|
|
20509
|
-
|
|
20510
|
-
|
|
20511
|
-
|
|
20512
|
-
|
|
20513
|
-
|
|
20514
|
-
|
|
22684
|
+
output: {
|
|
22685
|
+
created_at: string;
|
|
22686
|
+
updated_at: string;
|
|
22687
|
+
id: string;
|
|
22688
|
+
name: string;
|
|
22689
|
+
actions: ({
|
|
22690
|
+
params: {
|
|
22691
|
+
user_id: string;
|
|
22692
|
+
changes: {
|
|
22693
|
+
[x: string]: any;
|
|
22694
|
+
};
|
|
22695
|
+
connection_id?: string | undefined | undefined;
|
|
22696
|
+
};
|
|
22697
|
+
type: "AUTH0";
|
|
20515
22698
|
id: string;
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
|
|
20519
|
-
|
|
20520
|
-
}
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
|
|
20524
|
-
|
|
20525
|
-
|
|
20526
|
-
|
|
20527
|
-
|
|
22699
|
+
action: "UPDATE_USER";
|
|
22700
|
+
alias?: string | undefined | undefined;
|
|
22701
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22702
|
+
mask_output?: boolean | undefined | undefined;
|
|
22703
|
+
} | {
|
|
22704
|
+
params: {
|
|
22705
|
+
email: string;
|
|
22706
|
+
rules?: {
|
|
22707
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
22708
|
+
block_aliases?: boolean | undefined | undefined;
|
|
22709
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
22710
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
22711
|
+
blocklist?: string[] | undefined | undefined;
|
|
22712
|
+
allowlist?: string[] | undefined | undefined;
|
|
22713
|
+
} | undefined;
|
|
22714
|
+
};
|
|
22715
|
+
type: "EMAIL";
|
|
22716
|
+
id: string;
|
|
22717
|
+
action: "VERIFY_EMAIL";
|
|
22718
|
+
alias?: string | undefined | undefined;
|
|
22719
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22720
|
+
mask_output?: boolean | undefined | undefined;
|
|
22721
|
+
} | {
|
|
22722
|
+
params: {
|
|
22723
|
+
target: "custom" | "change-email" | "account";
|
|
22724
|
+
custom_url?: string | undefined | undefined;
|
|
22725
|
+
};
|
|
22726
|
+
type: "REDIRECT";
|
|
22727
|
+
id: string;
|
|
22728
|
+
action: "REDIRECT_USER";
|
|
22729
|
+
alias?: string | undefined | undefined;
|
|
22730
|
+
allow_failure?: boolean | undefined | undefined;
|
|
22731
|
+
mask_output?: boolean | undefined | undefined;
|
|
22732
|
+
})[];
|
|
20528
22733
|
};
|
|
20529
|
-
|
|
20530
|
-
|
|
20531
|
-
status: 200;
|
|
22734
|
+
outputFormat: "json";
|
|
22735
|
+
status: 201;
|
|
20532
22736
|
};
|
|
20533
22737
|
};
|
|
20534
|
-
}, "/
|
|
22738
|
+
}, "/flows"> & import("hono/types").MergeSchemaPath<{
|
|
20535
22739
|
"/": {
|
|
20536
22740
|
$get: {
|
|
20537
22741
|
input: {
|
|
@@ -20550,8 +22754,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20550
22754
|
output: {
|
|
20551
22755
|
created_at: string;
|
|
20552
22756
|
updated_at: string;
|
|
20553
|
-
name: string;
|
|
20554
22757
|
id: string;
|
|
22758
|
+
name: string;
|
|
22759
|
+
style?: {
|
|
22760
|
+
css?: string | undefined | undefined;
|
|
22761
|
+
} | undefined;
|
|
20555
22762
|
start?: {
|
|
20556
22763
|
coordinates?: {
|
|
20557
22764
|
x: number;
|
|
@@ -20563,9 +22770,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20563
22770
|
key: string;
|
|
20564
22771
|
}[] | undefined;
|
|
20565
22772
|
} | undefined;
|
|
20566
|
-
style?: {
|
|
20567
|
-
css?: string | undefined | undefined;
|
|
20568
|
-
} | undefined;
|
|
20569
22773
|
languages?: {
|
|
20570
22774
|
default?: string | undefined | undefined;
|
|
20571
22775
|
primary?: string | undefined | undefined;
|
|
@@ -20585,6 +22789,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20585
22789
|
} | {
|
|
20586
22790
|
type: "ROUTER";
|
|
20587
22791
|
id: string;
|
|
22792
|
+
alias: string;
|
|
20588
22793
|
config: {
|
|
20589
22794
|
rules: {
|
|
20590
22795
|
id: string;
|
|
@@ -20598,7 +22803,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20598
22803
|
x: number;
|
|
20599
22804
|
y: number;
|
|
20600
22805
|
};
|
|
20601
|
-
alias: string;
|
|
20602
22806
|
} | {
|
|
20603
22807
|
type: "STEP";
|
|
20604
22808
|
id: string;
|
|
@@ -20696,8 +22900,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20696
22900
|
} | undefined;
|
|
20697
22901
|
resume_flow?: boolean | undefined | undefined;
|
|
20698
22902
|
redirection?: {
|
|
20699
|
-
delay?: number | undefined | undefined;
|
|
20700
22903
|
target?: string | undefined | undefined;
|
|
22904
|
+
delay?: number | undefined | undefined;
|
|
20701
22905
|
} | undefined;
|
|
20702
22906
|
after_submit?: {
|
|
20703
22907
|
flow_id?: string | undefined | undefined;
|
|
@@ -20721,8 +22925,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20721
22925
|
forms: {
|
|
20722
22926
|
created_at: string;
|
|
20723
22927
|
updated_at: string;
|
|
20724
|
-
name: string;
|
|
20725
22928
|
id: string;
|
|
22929
|
+
name: string;
|
|
22930
|
+
style?: {
|
|
22931
|
+
css?: string | undefined | undefined;
|
|
22932
|
+
} | undefined;
|
|
20726
22933
|
start?: {
|
|
20727
22934
|
coordinates?: {
|
|
20728
22935
|
x: number;
|
|
@@ -20734,9 +22941,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20734
22941
|
key: string;
|
|
20735
22942
|
}[] | undefined;
|
|
20736
22943
|
} | undefined;
|
|
20737
|
-
style?: {
|
|
20738
|
-
css?: string | undefined | undefined;
|
|
20739
|
-
} | undefined;
|
|
20740
22944
|
languages?: {
|
|
20741
22945
|
default?: string | undefined | undefined;
|
|
20742
22946
|
primary?: string | undefined | undefined;
|
|
@@ -20756,6 +22960,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20756
22960
|
} | {
|
|
20757
22961
|
type: "ROUTER";
|
|
20758
22962
|
id: string;
|
|
22963
|
+
alias: string;
|
|
20759
22964
|
config: {
|
|
20760
22965
|
rules: {
|
|
20761
22966
|
id: string;
|
|
@@ -20769,7 +22974,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20769
22974
|
x: number;
|
|
20770
22975
|
y: number;
|
|
20771
22976
|
};
|
|
20772
|
-
alias: string;
|
|
20773
22977
|
} | {
|
|
20774
22978
|
type: "STEP";
|
|
20775
22979
|
id: string;
|
|
@@ -20867,8 +23071,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20867
23071
|
} | undefined;
|
|
20868
23072
|
resume_flow?: boolean | undefined | undefined;
|
|
20869
23073
|
redirection?: {
|
|
20870
|
-
delay?: number | undefined | undefined;
|
|
20871
23074
|
target?: string | undefined | undefined;
|
|
23075
|
+
delay?: number | undefined | undefined;
|
|
20872
23076
|
} | undefined;
|
|
20873
23077
|
after_submit?: {
|
|
20874
23078
|
flow_id?: string | undefined | undefined;
|
|
@@ -20906,8 +23110,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20906
23110
|
output: {
|
|
20907
23111
|
created_at: string;
|
|
20908
23112
|
updated_at: string;
|
|
20909
|
-
name: string;
|
|
20910
23113
|
id: string;
|
|
23114
|
+
name: string;
|
|
23115
|
+
style?: {
|
|
23116
|
+
css?: string | undefined | undefined;
|
|
23117
|
+
} | undefined;
|
|
20911
23118
|
start?: {
|
|
20912
23119
|
coordinates?: {
|
|
20913
23120
|
x: number;
|
|
@@ -20919,9 +23126,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20919
23126
|
key: string;
|
|
20920
23127
|
}[] | undefined;
|
|
20921
23128
|
} | undefined;
|
|
20922
|
-
style?: {
|
|
20923
|
-
css?: string | undefined | undefined;
|
|
20924
|
-
} | undefined;
|
|
20925
23129
|
languages?: {
|
|
20926
23130
|
default?: string | undefined | undefined;
|
|
20927
23131
|
primary?: string | undefined | undefined;
|
|
@@ -20941,6 +23145,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20941
23145
|
} | {
|
|
20942
23146
|
type: "ROUTER";
|
|
20943
23147
|
id: string;
|
|
23148
|
+
alias: string;
|
|
20944
23149
|
config: {
|
|
20945
23150
|
rules: {
|
|
20946
23151
|
id: string;
|
|
@@ -20954,7 +23159,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20954
23159
|
x: number;
|
|
20955
23160
|
y: number;
|
|
20956
23161
|
};
|
|
20957
|
-
alias: string;
|
|
20958
23162
|
} | {
|
|
20959
23163
|
type: "STEP";
|
|
20960
23164
|
id: string;
|
|
@@ -21052,8 +23256,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21052
23256
|
} | undefined;
|
|
21053
23257
|
resume_flow?: boolean | undefined | undefined;
|
|
21054
23258
|
redirection?: {
|
|
21055
|
-
delay?: number | undefined | undefined;
|
|
21056
23259
|
target?: string | undefined | undefined;
|
|
23260
|
+
delay?: number | undefined | undefined;
|
|
21057
23261
|
} | undefined;
|
|
21058
23262
|
after_submit?: {
|
|
21059
23263
|
flow_id?: string | undefined | undefined;
|
|
@@ -21135,6 +23339,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21135
23339
|
} | {
|
|
21136
23340
|
type: "ROUTER";
|
|
21137
23341
|
id: string;
|
|
23342
|
+
alias: string;
|
|
21138
23343
|
config: {
|
|
21139
23344
|
rules: {
|
|
21140
23345
|
id: string;
|
|
@@ -21148,7 +23353,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21148
23353
|
x: number;
|
|
21149
23354
|
y: number;
|
|
21150
23355
|
};
|
|
21151
|
-
alias: string;
|
|
21152
23356
|
} | {
|
|
21153
23357
|
type: "STEP";
|
|
21154
23358
|
id: string;
|
|
@@ -21250,8 +23454,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21250
23454
|
} | undefined;
|
|
21251
23455
|
resume_flow?: boolean | undefined;
|
|
21252
23456
|
redirection?: {
|
|
21253
|
-
delay?: number | undefined;
|
|
21254
23457
|
target?: string | undefined;
|
|
23458
|
+
delay?: number | undefined;
|
|
21255
23459
|
} | undefined;
|
|
21256
23460
|
after_submit?: {
|
|
21257
23461
|
flow_id?: string | undefined;
|
|
@@ -21267,8 +23471,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21267
23471
|
output: {
|
|
21268
23472
|
created_at: string;
|
|
21269
23473
|
updated_at: string;
|
|
21270
|
-
name: string;
|
|
21271
23474
|
id: string;
|
|
23475
|
+
name: string;
|
|
23476
|
+
style?: {
|
|
23477
|
+
css?: string | undefined | undefined;
|
|
23478
|
+
} | undefined;
|
|
21272
23479
|
start?: {
|
|
21273
23480
|
coordinates?: {
|
|
21274
23481
|
x: number;
|
|
@@ -21280,9 +23487,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21280
23487
|
key: string;
|
|
21281
23488
|
}[] | undefined;
|
|
21282
23489
|
} | undefined;
|
|
21283
|
-
style?: {
|
|
21284
|
-
css?: string | undefined | undefined;
|
|
21285
|
-
} | undefined;
|
|
21286
23490
|
languages?: {
|
|
21287
23491
|
default?: string | undefined | undefined;
|
|
21288
23492
|
primary?: string | undefined | undefined;
|
|
@@ -21302,6 +23506,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21302
23506
|
} | {
|
|
21303
23507
|
type: "ROUTER";
|
|
21304
23508
|
id: string;
|
|
23509
|
+
alias: string;
|
|
21305
23510
|
config: {
|
|
21306
23511
|
rules: {
|
|
21307
23512
|
id: string;
|
|
@@ -21315,7 +23520,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21315
23520
|
x: number;
|
|
21316
23521
|
y: number;
|
|
21317
23522
|
};
|
|
21318
|
-
alias: string;
|
|
21319
23523
|
} | {
|
|
21320
23524
|
type: "STEP";
|
|
21321
23525
|
id: string;
|
|
@@ -21413,8 +23617,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21413
23617
|
} | undefined;
|
|
21414
23618
|
resume_flow?: boolean | undefined | undefined;
|
|
21415
23619
|
redirection?: {
|
|
21416
|
-
delay?: number | undefined | undefined;
|
|
21417
23620
|
target?: string | undefined | undefined;
|
|
23621
|
+
delay?: number | undefined | undefined;
|
|
21418
23622
|
} | undefined;
|
|
21419
23623
|
after_submit?: {
|
|
21420
23624
|
flow_id?: string | undefined | undefined;
|
|
@@ -21475,6 +23679,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21475
23679
|
} | {
|
|
21476
23680
|
type: "ROUTER";
|
|
21477
23681
|
id: string;
|
|
23682
|
+
alias: string;
|
|
21478
23683
|
config: {
|
|
21479
23684
|
rules: {
|
|
21480
23685
|
id: string;
|
|
@@ -21488,7 +23693,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21488
23693
|
x: number;
|
|
21489
23694
|
y: number;
|
|
21490
23695
|
};
|
|
21491
|
-
alias: string;
|
|
21492
23696
|
} | {
|
|
21493
23697
|
type: "STEP";
|
|
21494
23698
|
id: string;
|
|
@@ -21590,8 +23794,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21590
23794
|
} | undefined;
|
|
21591
23795
|
resume_flow?: boolean | undefined;
|
|
21592
23796
|
redirection?: {
|
|
21593
|
-
delay?: number | undefined;
|
|
21594
23797
|
target?: string | undefined;
|
|
23798
|
+
delay?: number | undefined;
|
|
21595
23799
|
} | undefined;
|
|
21596
23800
|
after_submit?: {
|
|
21597
23801
|
flow_id?: string | undefined;
|
|
@@ -21607,8 +23811,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21607
23811
|
output: {
|
|
21608
23812
|
created_at: string;
|
|
21609
23813
|
updated_at: string;
|
|
21610
|
-
name: string;
|
|
21611
23814
|
id: string;
|
|
23815
|
+
name: string;
|
|
23816
|
+
style?: {
|
|
23817
|
+
css?: string | undefined | undefined;
|
|
23818
|
+
} | undefined;
|
|
21612
23819
|
start?: {
|
|
21613
23820
|
coordinates?: {
|
|
21614
23821
|
x: number;
|
|
@@ -21620,9 +23827,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21620
23827
|
key: string;
|
|
21621
23828
|
}[] | undefined;
|
|
21622
23829
|
} | undefined;
|
|
21623
|
-
style?: {
|
|
21624
|
-
css?: string | undefined | undefined;
|
|
21625
|
-
} | undefined;
|
|
21626
23830
|
languages?: {
|
|
21627
23831
|
default?: string | undefined | undefined;
|
|
21628
23832
|
primary?: string | undefined | undefined;
|
|
@@ -21642,6 +23846,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21642
23846
|
} | {
|
|
21643
23847
|
type: "ROUTER";
|
|
21644
23848
|
id: string;
|
|
23849
|
+
alias: string;
|
|
21645
23850
|
config: {
|
|
21646
23851
|
rules: {
|
|
21647
23852
|
id: string;
|
|
@@ -21655,7 +23860,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21655
23860
|
x: number;
|
|
21656
23861
|
y: number;
|
|
21657
23862
|
};
|
|
21658
|
-
alias: string;
|
|
21659
23863
|
} | {
|
|
21660
23864
|
type: "STEP";
|
|
21661
23865
|
id: string;
|
|
@@ -21753,8 +23957,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21753
23957
|
} | undefined;
|
|
21754
23958
|
resume_flow?: boolean | undefined | undefined;
|
|
21755
23959
|
redirection?: {
|
|
21756
|
-
delay?: number | undefined | undefined;
|
|
21757
23960
|
target?: string | undefined | undefined;
|
|
23961
|
+
delay?: number | undefined | undefined;
|
|
21758
23962
|
} | undefined;
|
|
21759
23963
|
after_submit?: {
|
|
21760
23964
|
flow_id?: string | undefined | undefined;
|
|
@@ -21789,9 +23993,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21789
23993
|
};
|
|
21790
23994
|
};
|
|
21791
23995
|
output: {
|
|
23996
|
+
id: string;
|
|
21792
23997
|
user_id: string;
|
|
21793
23998
|
client_id: string;
|
|
21794
|
-
id: string;
|
|
21795
23999
|
session_id: string;
|
|
21796
24000
|
device: {
|
|
21797
24001
|
last_ip: string;
|
|
@@ -21846,8 +24050,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21846
24050
|
output: {
|
|
21847
24051
|
created_at: string;
|
|
21848
24052
|
updated_at: string;
|
|
21849
|
-
user_id: string;
|
|
21850
24053
|
id: string;
|
|
24054
|
+
user_id: string;
|
|
21851
24055
|
clients: string[];
|
|
21852
24056
|
login_session_id: string;
|
|
21853
24057
|
device: {
|
|
@@ -21958,6 +24162,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21958
24162
|
};
|
|
21959
24163
|
};
|
|
21960
24164
|
output: {
|
|
24165
|
+
created_at: string;
|
|
24166
|
+
updated_at: string;
|
|
21961
24167
|
options: {
|
|
21962
24168
|
provider?: string | undefined | undefined;
|
|
21963
24169
|
client_id?: string | undefined | undefined;
|
|
@@ -21979,8 +24185,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21979
24185
|
twilio_token?: string | undefined | undefined;
|
|
21980
24186
|
icon_url?: string | undefined | undefined;
|
|
21981
24187
|
};
|
|
21982
|
-
created_at: string;
|
|
21983
|
-
updated_at: string;
|
|
21984
24188
|
name: string;
|
|
21985
24189
|
strategy: string;
|
|
21986
24190
|
id?: string | undefined | undefined;
|
|
@@ -21998,6 +24202,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21998
24202
|
start: number;
|
|
21999
24203
|
limit: number;
|
|
22000
24204
|
connections: {
|
|
24205
|
+
created_at: string;
|
|
24206
|
+
updated_at: string;
|
|
22001
24207
|
options: {
|
|
22002
24208
|
provider?: string | undefined | undefined;
|
|
22003
24209
|
client_id?: string | undefined | undefined;
|
|
@@ -22019,8 +24225,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22019
24225
|
twilio_token?: string | undefined | undefined;
|
|
22020
24226
|
icon_url?: string | undefined | undefined;
|
|
22021
24227
|
};
|
|
22022
|
-
created_at: string;
|
|
22023
|
-
updated_at: string;
|
|
22024
24228
|
name: string;
|
|
22025
24229
|
strategy: string;
|
|
22026
24230
|
id?: string | undefined | undefined;
|
|
@@ -22052,6 +24256,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22052
24256
|
};
|
|
22053
24257
|
};
|
|
22054
24258
|
output: {
|
|
24259
|
+
created_at: string;
|
|
24260
|
+
updated_at: string;
|
|
22055
24261
|
options: {
|
|
22056
24262
|
provider?: string | undefined | undefined;
|
|
22057
24263
|
client_id?: string | undefined | undefined;
|
|
@@ -22073,8 +24279,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22073
24279
|
twilio_token?: string | undefined | undefined;
|
|
22074
24280
|
icon_url?: string | undefined | undefined;
|
|
22075
24281
|
};
|
|
22076
|
-
created_at: string;
|
|
22077
|
-
updated_at: string;
|
|
22078
24282
|
name: string;
|
|
22079
24283
|
strategy: string;
|
|
22080
24284
|
id?: string | undefined | undefined;
|
|
@@ -22156,6 +24360,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22156
24360
|
};
|
|
22157
24361
|
};
|
|
22158
24362
|
output: {
|
|
24363
|
+
created_at: string;
|
|
24364
|
+
updated_at: string;
|
|
22159
24365
|
options: {
|
|
22160
24366
|
provider?: string | undefined | undefined;
|
|
22161
24367
|
client_id?: string | undefined | undefined;
|
|
@@ -22177,8 +24383,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22177
24383
|
twilio_token?: string | undefined | undefined;
|
|
22178
24384
|
icon_url?: string | undefined | undefined;
|
|
22179
24385
|
};
|
|
22180
|
-
created_at: string;
|
|
22181
|
-
updated_at: string;
|
|
22182
24386
|
name: string;
|
|
22183
24387
|
strategy: string;
|
|
22184
24388
|
id?: string | undefined | undefined;
|
|
@@ -22239,6 +24443,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22239
24443
|
};
|
|
22240
24444
|
};
|
|
22241
24445
|
output: {
|
|
24446
|
+
created_at: string;
|
|
24447
|
+
updated_at: string;
|
|
22242
24448
|
options: {
|
|
22243
24449
|
provider?: string | undefined | undefined;
|
|
22244
24450
|
client_id?: string | undefined | undefined;
|
|
@@ -22260,8 +24466,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22260
24466
|
twilio_token?: string | undefined | undefined;
|
|
22261
24467
|
icon_url?: string | undefined | undefined;
|
|
22262
24468
|
};
|
|
22263
|
-
created_at: string;
|
|
22264
|
-
updated_at: string;
|
|
22265
24469
|
name: string;
|
|
22266
24470
|
strategy: string;
|
|
22267
24471
|
id?: string | undefined | undefined;
|
|
@@ -22595,13 +24799,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22595
24799
|
isMobile: boolean;
|
|
22596
24800
|
log_id: string;
|
|
22597
24801
|
description?: string | undefined | undefined;
|
|
22598
|
-
|
|
24802
|
+
connection_id?: string | undefined | undefined;
|
|
22599
24803
|
user_id?: string | undefined | undefined;
|
|
24804
|
+
connection?: string | undefined | undefined;
|
|
22600
24805
|
client_id?: string | undefined | undefined;
|
|
22601
24806
|
audience?: string | undefined | undefined;
|
|
22602
24807
|
scope?: string | undefined | undefined;
|
|
22603
24808
|
strategy?: string | undefined | undefined;
|
|
22604
|
-
connection_id?: string | undefined | undefined;
|
|
22605
24809
|
ip?: string | undefined | undefined;
|
|
22606
24810
|
user_agent?: string | undefined | undefined;
|
|
22607
24811
|
details?: any;
|
|
@@ -22634,13 +24838,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22634
24838
|
isMobile: boolean;
|
|
22635
24839
|
log_id: string;
|
|
22636
24840
|
description?: string | undefined | undefined;
|
|
22637
|
-
|
|
24841
|
+
connection_id?: string | undefined | undefined;
|
|
22638
24842
|
user_id?: string | undefined | undefined;
|
|
24843
|
+
connection?: string | undefined | undefined;
|
|
22639
24844
|
client_id?: string | undefined | undefined;
|
|
22640
24845
|
audience?: string | undefined | undefined;
|
|
22641
24846
|
scope?: string | undefined | undefined;
|
|
22642
24847
|
strategy?: string | undefined | undefined;
|
|
22643
|
-
connection_id?: string | undefined | undefined;
|
|
22644
24848
|
ip?: string | undefined | undefined;
|
|
22645
24849
|
user_agent?: string | undefined | undefined;
|
|
22646
24850
|
details?: any;
|
|
@@ -22687,13 +24891,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22687
24891
|
isMobile: boolean;
|
|
22688
24892
|
log_id: string;
|
|
22689
24893
|
description?: string | undefined | undefined;
|
|
22690
|
-
|
|
24894
|
+
connection_id?: string | undefined | undefined;
|
|
22691
24895
|
user_id?: string | undefined | undefined;
|
|
24896
|
+
connection?: string | undefined | undefined;
|
|
22692
24897
|
client_id?: string | undefined | undefined;
|
|
22693
24898
|
audience?: string | undefined | undefined;
|
|
22694
24899
|
scope?: string | undefined | undefined;
|
|
22695
24900
|
strategy?: string | undefined | undefined;
|
|
22696
|
-
connection_id?: string | undefined | undefined;
|
|
22697
24901
|
ip?: string | undefined | undefined;
|
|
22698
24902
|
user_agent?: string | undefined | undefined;
|
|
22699
24903
|
details?: any;
|
|
@@ -22732,8 +24936,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22732
24936
|
output: {
|
|
22733
24937
|
created_at: string;
|
|
22734
24938
|
updated_at: string;
|
|
22735
|
-
audience: string;
|
|
22736
24939
|
id: string;
|
|
24940
|
+
audience: string;
|
|
22737
24941
|
friendly_name: string;
|
|
22738
24942
|
sender_email: string;
|
|
22739
24943
|
sender_name: string;
|
|
@@ -22949,8 +25153,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22949
25153
|
output: {
|
|
22950
25154
|
created_at: string;
|
|
22951
25155
|
updated_at: string;
|
|
22952
|
-
audience: string;
|
|
22953
25156
|
id: string;
|
|
25157
|
+
audience: string;
|
|
22954
25158
|
friendly_name: string;
|
|
22955
25159
|
sender_email: string;
|
|
22956
25160
|
sender_name: string;
|
|
@@ -23341,9 +25545,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23341
25545
|
};
|
|
23342
25546
|
};
|
|
23343
25547
|
output: {
|
|
25548
|
+
id: string;
|
|
23344
25549
|
client_id: string;
|
|
23345
25550
|
audience: string;
|
|
23346
|
-
id: string;
|
|
23347
25551
|
created_at?: string | undefined | undefined;
|
|
23348
25552
|
updated_at?: string | undefined | undefined;
|
|
23349
25553
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -23357,9 +25561,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23357
25561
|
start: number;
|
|
23358
25562
|
limit: number;
|
|
23359
25563
|
client_grants: {
|
|
25564
|
+
id: string;
|
|
23360
25565
|
client_id: string;
|
|
23361
25566
|
audience: string;
|
|
23362
|
-
id: string;
|
|
23363
25567
|
created_at?: string | undefined | undefined;
|
|
23364
25568
|
updated_at?: string | undefined | undefined;
|
|
23365
25569
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -23387,9 +25591,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23387
25591
|
};
|
|
23388
25592
|
};
|
|
23389
25593
|
output: {
|
|
25594
|
+
id: string;
|
|
23390
25595
|
client_id: string;
|
|
23391
25596
|
audience: string;
|
|
23392
|
-
id: string;
|
|
23393
25597
|
created_at?: string | undefined | undefined;
|
|
23394
25598
|
updated_at?: string | undefined | undefined;
|
|
23395
25599
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -23444,9 +25648,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23444
25648
|
};
|
|
23445
25649
|
};
|
|
23446
25650
|
output: {
|
|
25651
|
+
id: string;
|
|
23447
25652
|
client_id: string;
|
|
23448
25653
|
audience: string;
|
|
23449
|
-
id: string;
|
|
23450
25654
|
created_at?: string | undefined | undefined;
|
|
23451
25655
|
updated_at?: string | undefined | undefined;
|
|
23452
25656
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -23480,9 +25684,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23480
25684
|
};
|
|
23481
25685
|
};
|
|
23482
25686
|
output: {
|
|
25687
|
+
id: string;
|
|
23483
25688
|
client_id: string;
|
|
23484
25689
|
audience: string;
|
|
23485
|
-
id: string;
|
|
23486
25690
|
created_at?: string | undefined | undefined;
|
|
23487
25691
|
updated_at?: string | undefined | undefined;
|
|
23488
25692
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -24092,6 +26296,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24092
26296
|
enabled_connections: {
|
|
24093
26297
|
connection_id: string;
|
|
24094
26298
|
connection?: {
|
|
26299
|
+
created_at: string;
|
|
26300
|
+
updated_at: string;
|
|
24095
26301
|
options: {
|
|
24096
26302
|
provider?: string | undefined | undefined;
|
|
24097
26303
|
client_id?: string | undefined | undefined;
|
|
@@ -24113,8 +26319,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24113
26319
|
twilio_token?: string | undefined | undefined;
|
|
24114
26320
|
icon_url?: string | undefined | undefined;
|
|
24115
26321
|
};
|
|
24116
|
-
created_at: string;
|
|
24117
|
-
updated_at: string;
|
|
24118
26322
|
name: string;
|
|
24119
26323
|
strategy: string;
|
|
24120
26324
|
id?: string | undefined | undefined;
|
|
@@ -24152,6 +26356,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24152
26356
|
enabled_connections: {
|
|
24153
26357
|
connection_id: string;
|
|
24154
26358
|
connection?: {
|
|
26359
|
+
created_at: string;
|
|
26360
|
+
updated_at: string;
|
|
24155
26361
|
options: {
|
|
24156
26362
|
provider?: string | undefined | undefined;
|
|
24157
26363
|
client_id?: string | undefined | undefined;
|
|
@@ -24173,8 +26379,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24173
26379
|
twilio_token?: string | undefined | undefined;
|
|
24174
26380
|
icon_url?: string | undefined | undefined;
|
|
24175
26381
|
};
|
|
24176
|
-
created_at: string;
|
|
24177
|
-
updated_at: string;
|
|
24178
26382
|
name: string;
|
|
24179
26383
|
strategy: string;
|
|
24180
26384
|
id?: string | undefined | undefined;
|
|
@@ -24320,14 +26524,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24320
26524
|
output: {
|
|
24321
26525
|
created_at: string;
|
|
24322
26526
|
updated_at: string;
|
|
26527
|
+
user_id: string;
|
|
24323
26528
|
email_verified: boolean;
|
|
24324
26529
|
connection: string;
|
|
24325
|
-
user_id: string;
|
|
24326
26530
|
provider: string;
|
|
24327
26531
|
is_social: boolean;
|
|
24328
26532
|
login_count: number;
|
|
24329
|
-
email?: string | undefined | undefined;
|
|
24330
26533
|
name?: string | undefined | undefined;
|
|
26534
|
+
email?: string | undefined | undefined;
|
|
24331
26535
|
username?: string | undefined | undefined;
|
|
24332
26536
|
given_name?: string | undefined | undefined;
|
|
24333
26537
|
phone_number?: string | undefined | undefined;
|
|
@@ -24343,8 +26547,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24343
26547
|
last_ip?: string | undefined | undefined;
|
|
24344
26548
|
last_login?: string | undefined | undefined;
|
|
24345
26549
|
identities?: {
|
|
24346
|
-
connection: string;
|
|
24347
26550
|
user_id: string;
|
|
26551
|
+
connection: string;
|
|
24348
26552
|
provider: string;
|
|
24349
26553
|
isSocial: boolean;
|
|
24350
26554
|
access_token?: string | undefined | undefined;
|
|
@@ -24369,14 +26573,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24369
26573
|
users: {
|
|
24370
26574
|
created_at: string;
|
|
24371
26575
|
updated_at: string;
|
|
26576
|
+
user_id: string;
|
|
24372
26577
|
email_verified: boolean;
|
|
24373
26578
|
connection: string;
|
|
24374
|
-
user_id: string;
|
|
24375
26579
|
provider: string;
|
|
24376
26580
|
is_social: boolean;
|
|
24377
26581
|
login_count: number;
|
|
24378
|
-
email?: string | undefined | undefined;
|
|
24379
26582
|
name?: string | undefined | undefined;
|
|
26583
|
+
email?: string | undefined | undefined;
|
|
24380
26584
|
username?: string | undefined | undefined;
|
|
24381
26585
|
given_name?: string | undefined | undefined;
|
|
24382
26586
|
phone_number?: string | undefined | undefined;
|
|
@@ -24392,8 +26596,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24392
26596
|
last_ip?: string | undefined | undefined;
|
|
24393
26597
|
last_login?: string | undefined | undefined;
|
|
24394
26598
|
identities?: {
|
|
24395
|
-
connection: string;
|
|
24396
26599
|
user_id: string;
|
|
26600
|
+
connection: string;
|
|
24397
26601
|
provider: string;
|
|
24398
26602
|
isSocial: boolean;
|
|
24399
26603
|
access_token?: string | undefined | undefined;
|
|
@@ -24432,14 +26636,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24432
26636
|
output: {
|
|
24433
26637
|
created_at: string;
|
|
24434
26638
|
updated_at: string;
|
|
26639
|
+
user_id: string;
|
|
24435
26640
|
email_verified: boolean;
|
|
24436
26641
|
connection: string;
|
|
24437
|
-
user_id: string;
|
|
24438
26642
|
provider: string;
|
|
24439
26643
|
is_social: boolean;
|
|
24440
26644
|
login_count: number;
|
|
24441
|
-
email?: string | undefined | undefined;
|
|
24442
26645
|
name?: string | undefined | undefined;
|
|
26646
|
+
email?: string | undefined | undefined;
|
|
24443
26647
|
username?: string | undefined | undefined;
|
|
24444
26648
|
given_name?: string | undefined | undefined;
|
|
24445
26649
|
phone_number?: string | undefined | undefined;
|
|
@@ -24455,8 +26659,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24455
26659
|
last_ip?: string | undefined | undefined;
|
|
24456
26660
|
last_login?: string | undefined | undefined;
|
|
24457
26661
|
identities?: {
|
|
24458
|
-
connection: string;
|
|
24459
26662
|
user_id: string;
|
|
26663
|
+
connection: string;
|
|
24460
26664
|
provider: string;
|
|
24461
26665
|
isSocial: boolean;
|
|
24462
26666
|
access_token?: string | undefined | undefined;
|
|
@@ -24532,14 +26736,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24532
26736
|
output: {
|
|
24533
26737
|
created_at: string;
|
|
24534
26738
|
updated_at: string;
|
|
26739
|
+
user_id: string;
|
|
24535
26740
|
email_verified: boolean;
|
|
24536
26741
|
connection: string;
|
|
24537
|
-
user_id: string;
|
|
24538
26742
|
provider: string;
|
|
24539
26743
|
is_social: boolean;
|
|
24540
26744
|
login_count: number;
|
|
24541
|
-
email?: string | undefined | undefined;
|
|
24542
26745
|
name?: string | undefined | undefined;
|
|
26746
|
+
email?: string | undefined | undefined;
|
|
24543
26747
|
username?: string | undefined | undefined;
|
|
24544
26748
|
given_name?: string | undefined | undefined;
|
|
24545
26749
|
phone_number?: string | undefined | undefined;
|
|
@@ -24555,8 +26759,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24555
26759
|
last_ip?: string | undefined | undefined;
|
|
24556
26760
|
last_login?: string | undefined | undefined;
|
|
24557
26761
|
identities?: {
|
|
24558
|
-
connection: string;
|
|
24559
26762
|
user_id: string;
|
|
26763
|
+
connection: string;
|
|
24560
26764
|
provider: string;
|
|
24561
26765
|
isSocial: boolean;
|
|
24562
26766
|
access_token?: string | undefined | undefined;
|
|
@@ -24668,14 +26872,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24668
26872
|
output: {
|
|
24669
26873
|
created_at: string;
|
|
24670
26874
|
updated_at: string;
|
|
26875
|
+
user_id: string;
|
|
24671
26876
|
email_verified: boolean;
|
|
24672
26877
|
connection: string;
|
|
24673
|
-
user_id: string;
|
|
24674
26878
|
provider: string;
|
|
24675
26879
|
is_social: boolean;
|
|
24676
26880
|
login_count: number;
|
|
24677
|
-
email?: string | undefined | undefined;
|
|
24678
26881
|
name?: string | undefined | undefined;
|
|
26882
|
+
email?: string | undefined | undefined;
|
|
24679
26883
|
username?: string | undefined | undefined;
|
|
24680
26884
|
given_name?: string | undefined | undefined;
|
|
24681
26885
|
phone_number?: string | undefined | undefined;
|
|
@@ -24691,8 +26895,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24691
26895
|
last_ip?: string | undefined | undefined;
|
|
24692
26896
|
last_login?: string | undefined | undefined;
|
|
24693
26897
|
identities?: {
|
|
24694
|
-
connection: string;
|
|
24695
26898
|
user_id: string;
|
|
26899
|
+
connection: string;
|
|
24696
26900
|
provider: string;
|
|
24697
26901
|
isSocial: boolean;
|
|
24698
26902
|
access_token?: string | undefined | undefined;
|
|
@@ -24738,8 +26942,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24738
26942
|
output: {
|
|
24739
26943
|
created_at: string;
|
|
24740
26944
|
updated_at: string;
|
|
24741
|
-
user_id: string;
|
|
24742
26945
|
id: string;
|
|
26946
|
+
user_id: string;
|
|
24743
26947
|
clients: string[];
|
|
24744
26948
|
login_session_id: string;
|
|
24745
26949
|
device: {
|
|
@@ -24763,8 +26967,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24763
26967
|
sessions: {
|
|
24764
26968
|
created_at: string;
|
|
24765
26969
|
updated_at: string;
|
|
24766
|
-
user_id: string;
|
|
24767
26970
|
id: string;
|
|
26971
|
+
user_id: string;
|
|
24768
26972
|
clients: string[];
|
|
24769
26973
|
login_session_id: string;
|
|
24770
26974
|
device: {
|
|
@@ -24812,8 +27016,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24812
27016
|
resource_server_identifier: string;
|
|
24813
27017
|
permission_name: string;
|
|
24814
27018
|
resource_server_name: string;
|
|
24815
|
-
description?: string | null | undefined | undefined;
|
|
24816
27019
|
created_at?: string | undefined | undefined;
|
|
27020
|
+
description?: string | null | undefined | undefined;
|
|
24817
27021
|
organization_id?: string | undefined | undefined;
|
|
24818
27022
|
}[];
|
|
24819
27023
|
outputFormat: "json";
|
|
@@ -24881,11 +27085,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24881
27085
|
};
|
|
24882
27086
|
};
|
|
24883
27087
|
output: {
|
|
24884
|
-
name: string;
|
|
24885
27088
|
id: string;
|
|
24886
|
-
|
|
27089
|
+
name: string;
|
|
24887
27090
|
created_at?: string | undefined | undefined;
|
|
24888
27091
|
updated_at?: string | undefined | undefined;
|
|
27092
|
+
description?: string | undefined | undefined;
|
|
24889
27093
|
}[];
|
|
24890
27094
|
outputFormat: "json";
|
|
24891
27095
|
status: 200;
|
|
@@ -24956,8 +27160,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24956
27160
|
output: {
|
|
24957
27161
|
created_at: string;
|
|
24958
27162
|
updated_at: string;
|
|
24959
|
-
name: string;
|
|
24960
27163
|
id: string;
|
|
27164
|
+
name: string;
|
|
24961
27165
|
token_quota?: {
|
|
24962
27166
|
client_credentials?: {
|
|
24963
27167
|
enforce: boolean;
|
|
@@ -24977,8 +27181,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24977
27181
|
logo_url?: string | undefined | undefined;
|
|
24978
27182
|
} | undefined;
|
|
24979
27183
|
enabled_connections?: {
|
|
24980
|
-
show_as_button: boolean;
|
|
24981
27184
|
connection_id: string;
|
|
27185
|
+
show_as_button: boolean;
|
|
24982
27186
|
assign_membership_on_login: boolean;
|
|
24983
27187
|
is_signup_enabled: boolean;
|
|
24984
27188
|
}[] | undefined;
|
|
@@ -24989,8 +27193,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24989
27193
|
organizations: {
|
|
24990
27194
|
created_at: string;
|
|
24991
27195
|
updated_at: string;
|
|
24992
|
-
name: string;
|
|
24993
27196
|
id: string;
|
|
27197
|
+
name: string;
|
|
24994
27198
|
token_quota?: {
|
|
24995
27199
|
client_credentials?: {
|
|
24996
27200
|
enforce: boolean;
|
|
@@ -25010,8 +27214,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
25010
27214
|
logo_url?: string | undefined | undefined;
|
|
25011
27215
|
} | undefined;
|
|
25012
27216
|
enabled_connections?: {
|
|
25013
|
-
show_as_button: boolean;
|
|
25014
27217
|
connection_id: string;
|
|
27218
|
+
show_as_button: boolean;
|
|
25015
27219
|
assign_membership_on_login: boolean;
|
|
25016
27220
|
is_signup_enabled: boolean;
|
|
25017
27221
|
}[] | undefined;
|
|
@@ -25824,7 +28028,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
25824
28028
|
input: {
|
|
25825
28029
|
query: {
|
|
25826
28030
|
client_id: string;
|
|
25827
|
-
screen_hint?: "
|
|
28031
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
25828
28032
|
login_hint?: string | undefined;
|
|
25829
28033
|
redirect_url?: string | undefined;
|
|
25830
28034
|
};
|
|
@@ -25836,7 +28040,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
25836
28040
|
input: {
|
|
25837
28041
|
query: {
|
|
25838
28042
|
client_id: string;
|
|
25839
|
-
screen_hint?: "
|
|
28043
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
25840
28044
|
login_hint?: string | undefined;
|
|
25841
28045
|
redirect_url?: string | undefined;
|
|
25842
28046
|
};
|
|
@@ -26726,8 +28930,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
26726
28930
|
$get: {
|
|
26727
28931
|
input: {
|
|
26728
28932
|
param: {
|
|
26729
|
-
formId: string;
|
|
26730
28933
|
nodeId: string;
|
|
28934
|
+
formId: string;
|
|
26731
28935
|
};
|
|
26732
28936
|
} & {
|
|
26733
28937
|
query: {
|
|
@@ -26740,8 +28944,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
26740
28944
|
} | {
|
|
26741
28945
|
input: {
|
|
26742
28946
|
param: {
|
|
26743
|
-
formId: string;
|
|
26744
28947
|
nodeId: string;
|
|
28948
|
+
formId: string;
|
|
26745
28949
|
};
|
|
26746
28950
|
} & {
|
|
26747
28951
|
query: {
|
|
@@ -26758,8 +28962,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
26758
28962
|
$post: {
|
|
26759
28963
|
input: {
|
|
26760
28964
|
param: {
|
|
26761
|
-
formId: string;
|
|
26762
28965
|
nodeId: string;
|
|
28966
|
+
formId: string;
|
|
26763
28967
|
};
|
|
26764
28968
|
} & {
|
|
26765
28969
|
query: {
|
|
@@ -26774,8 +28978,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
26774
28978
|
} | {
|
|
26775
28979
|
input: {
|
|
26776
28980
|
param: {
|
|
26777
|
-
formId: string;
|
|
26778
28981
|
nodeId: string;
|
|
28982
|
+
formId: string;
|
|
26779
28983
|
};
|
|
26780
28984
|
} & {
|
|
26781
28985
|
query: {
|