authhero 0.296.0 → 0.297.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 +1406 -284
- package/dist/authhero.mjs +6610 -6354
- package/dist/stats.html +1 -1
- package/package.json +3 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -5,6 +5,767 @@ 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 and EMAIL types
|
|
11
|
+
*/
|
|
12
|
+
export declare const FlowActionTypeEnum: z.ZodEnum<[
|
|
13
|
+
"AUTH0",
|
|
14
|
+
"EMAIL"
|
|
15
|
+
]>;
|
|
16
|
+
export type FlowActionType = z.infer<typeof FlowActionTypeEnum>;
|
|
17
|
+
/**
|
|
18
|
+
* AUTH0 action operations
|
|
19
|
+
*/
|
|
20
|
+
export declare const Auth0ActionEnum: z.ZodEnum<[
|
|
21
|
+
"CREATE_USER",
|
|
22
|
+
"GET_USER",
|
|
23
|
+
"UPDATE_USER",
|
|
24
|
+
"SEND_REQUEST",
|
|
25
|
+
"SEND_EMAIL"
|
|
26
|
+
]>;
|
|
27
|
+
/**
|
|
28
|
+
* EMAIL action operations
|
|
29
|
+
*/
|
|
30
|
+
export declare const EmailActionEnum: z.ZodEnum<[
|
|
31
|
+
"VERIFY_EMAIL"
|
|
32
|
+
]>;
|
|
33
|
+
/**
|
|
34
|
+
* Email verification rules schema
|
|
35
|
+
*/
|
|
36
|
+
export declare const emailVerificationRulesSchema: z.ZodObject<{
|
|
37
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
42
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
require_mx_record?: boolean | undefined;
|
|
45
|
+
block_aliases?: boolean | undefined;
|
|
46
|
+
block_free_emails?: boolean | undefined;
|
|
47
|
+
block_disposable_emails?: boolean | undefined;
|
|
48
|
+
blocklist?: string[] | undefined;
|
|
49
|
+
allowlist?: string[] | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
require_mx_record?: boolean | undefined;
|
|
52
|
+
block_aliases?: boolean | undefined;
|
|
53
|
+
block_free_emails?: boolean | undefined;
|
|
54
|
+
block_disposable_emails?: boolean | undefined;
|
|
55
|
+
blocklist?: string[] | undefined;
|
|
56
|
+
allowlist?: string[] | undefined;
|
|
57
|
+
}>;
|
|
58
|
+
export type EmailVerificationRules = z.infer<typeof emailVerificationRulesSchema>;
|
|
59
|
+
/**
|
|
60
|
+
* AUTH0 UPDATE_USER action step
|
|
61
|
+
*/
|
|
62
|
+
export declare const auth0UpdateUserActionSchema: z.ZodObject<{
|
|
63
|
+
id: z.ZodString;
|
|
64
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
65
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
66
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
67
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
params: z.ZodObject<{
|
|
70
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
71
|
+
user_id: z.ZodString;
|
|
72
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
user_id: string;
|
|
75
|
+
changes: Record<string, any>;
|
|
76
|
+
connection_id?: string | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
user_id: string;
|
|
79
|
+
changes: Record<string, any>;
|
|
80
|
+
connection_id?: string | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
params: {
|
|
84
|
+
user_id: string;
|
|
85
|
+
changes: Record<string, any>;
|
|
86
|
+
connection_id?: string | undefined;
|
|
87
|
+
};
|
|
88
|
+
type: "AUTH0";
|
|
89
|
+
id: string;
|
|
90
|
+
action: "UPDATE_USER";
|
|
91
|
+
alias?: string | undefined;
|
|
92
|
+
allow_failure?: boolean | undefined;
|
|
93
|
+
mask_output?: boolean | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
params: {
|
|
96
|
+
user_id: string;
|
|
97
|
+
changes: Record<string, any>;
|
|
98
|
+
connection_id?: string | undefined;
|
|
99
|
+
};
|
|
100
|
+
type: "AUTH0";
|
|
101
|
+
id: string;
|
|
102
|
+
action: "UPDATE_USER";
|
|
103
|
+
alias?: string | undefined;
|
|
104
|
+
allow_failure?: boolean | undefined;
|
|
105
|
+
mask_output?: boolean | undefined;
|
|
106
|
+
}>;
|
|
107
|
+
export type Auth0UpdateUserAction = z.infer<typeof auth0UpdateUserActionSchema>;
|
|
108
|
+
/**
|
|
109
|
+
* EMAIL VERIFY_EMAIL action step
|
|
110
|
+
*/
|
|
111
|
+
export declare const emailVerifyActionSchema: z.ZodObject<{
|
|
112
|
+
id: z.ZodString;
|
|
113
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
114
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
115
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
116
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
params: z.ZodObject<{
|
|
119
|
+
email: z.ZodString;
|
|
120
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
126
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
require_mx_record?: boolean | undefined;
|
|
129
|
+
block_aliases?: boolean | undefined;
|
|
130
|
+
block_free_emails?: boolean | undefined;
|
|
131
|
+
block_disposable_emails?: boolean | undefined;
|
|
132
|
+
blocklist?: string[] | undefined;
|
|
133
|
+
allowlist?: string[] | undefined;
|
|
134
|
+
}, {
|
|
135
|
+
require_mx_record?: boolean | undefined;
|
|
136
|
+
block_aliases?: boolean | undefined;
|
|
137
|
+
block_free_emails?: boolean | undefined;
|
|
138
|
+
block_disposable_emails?: boolean | undefined;
|
|
139
|
+
blocklist?: string[] | undefined;
|
|
140
|
+
allowlist?: string[] | undefined;
|
|
141
|
+
}>>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
email: string;
|
|
144
|
+
rules?: {
|
|
145
|
+
require_mx_record?: boolean | undefined;
|
|
146
|
+
block_aliases?: boolean | undefined;
|
|
147
|
+
block_free_emails?: boolean | undefined;
|
|
148
|
+
block_disposable_emails?: boolean | undefined;
|
|
149
|
+
blocklist?: string[] | undefined;
|
|
150
|
+
allowlist?: string[] | undefined;
|
|
151
|
+
} | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
email: string;
|
|
154
|
+
rules?: {
|
|
155
|
+
require_mx_record?: boolean | undefined;
|
|
156
|
+
block_aliases?: boolean | undefined;
|
|
157
|
+
block_free_emails?: boolean | undefined;
|
|
158
|
+
block_disposable_emails?: boolean | undefined;
|
|
159
|
+
blocklist?: string[] | undefined;
|
|
160
|
+
allowlist?: string[] | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
}>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
params: {
|
|
165
|
+
email: string;
|
|
166
|
+
rules?: {
|
|
167
|
+
require_mx_record?: boolean | undefined;
|
|
168
|
+
block_aliases?: boolean | undefined;
|
|
169
|
+
block_free_emails?: boolean | undefined;
|
|
170
|
+
block_disposable_emails?: boolean | undefined;
|
|
171
|
+
blocklist?: string[] | undefined;
|
|
172
|
+
allowlist?: string[] | undefined;
|
|
173
|
+
} | undefined;
|
|
174
|
+
};
|
|
175
|
+
type: "EMAIL";
|
|
176
|
+
id: string;
|
|
177
|
+
action: "VERIFY_EMAIL";
|
|
178
|
+
alias?: string | undefined;
|
|
179
|
+
allow_failure?: boolean | undefined;
|
|
180
|
+
mask_output?: boolean | undefined;
|
|
181
|
+
}, {
|
|
182
|
+
params: {
|
|
183
|
+
email: string;
|
|
184
|
+
rules?: {
|
|
185
|
+
require_mx_record?: boolean | undefined;
|
|
186
|
+
block_aliases?: boolean | undefined;
|
|
187
|
+
block_free_emails?: boolean | undefined;
|
|
188
|
+
block_disposable_emails?: boolean | undefined;
|
|
189
|
+
blocklist?: string[] | undefined;
|
|
190
|
+
allowlist?: string[] | undefined;
|
|
191
|
+
} | undefined;
|
|
192
|
+
};
|
|
193
|
+
type: "EMAIL";
|
|
194
|
+
id: string;
|
|
195
|
+
action: "VERIFY_EMAIL";
|
|
196
|
+
alias?: string | undefined;
|
|
197
|
+
allow_failure?: boolean | undefined;
|
|
198
|
+
mask_output?: boolean | undefined;
|
|
199
|
+
}>;
|
|
200
|
+
export type EmailVerifyAction = z.infer<typeof emailVerifyActionSchema>;
|
|
201
|
+
/**
|
|
202
|
+
* Union of all supported action steps
|
|
203
|
+
*/
|
|
204
|
+
export declare const flowActionStepSchema: z.ZodUnion<[
|
|
205
|
+
z.ZodObject<{
|
|
206
|
+
id: z.ZodString;
|
|
207
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
208
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
209
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
210
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
212
|
+
params: z.ZodObject<{
|
|
213
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
214
|
+
user_id: z.ZodString;
|
|
215
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
216
|
+
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
user_id: string;
|
|
218
|
+
changes: Record<string, any>;
|
|
219
|
+
connection_id?: string | undefined;
|
|
220
|
+
}, {
|
|
221
|
+
user_id: string;
|
|
222
|
+
changes: Record<string, any>;
|
|
223
|
+
connection_id?: string | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
params: {
|
|
227
|
+
user_id: string;
|
|
228
|
+
changes: Record<string, any>;
|
|
229
|
+
connection_id?: string | undefined;
|
|
230
|
+
};
|
|
231
|
+
type: "AUTH0";
|
|
232
|
+
id: string;
|
|
233
|
+
action: "UPDATE_USER";
|
|
234
|
+
alias?: string | undefined;
|
|
235
|
+
allow_failure?: boolean | undefined;
|
|
236
|
+
mask_output?: boolean | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
params: {
|
|
239
|
+
user_id: string;
|
|
240
|
+
changes: Record<string, any>;
|
|
241
|
+
connection_id?: string | undefined;
|
|
242
|
+
};
|
|
243
|
+
type: "AUTH0";
|
|
244
|
+
id: string;
|
|
245
|
+
action: "UPDATE_USER";
|
|
246
|
+
alias?: string | undefined;
|
|
247
|
+
allow_failure?: boolean | undefined;
|
|
248
|
+
mask_output?: boolean | undefined;
|
|
249
|
+
}>,
|
|
250
|
+
z.ZodObject<{
|
|
251
|
+
id: z.ZodString;
|
|
252
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
253
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
254
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
255
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
257
|
+
params: z.ZodObject<{
|
|
258
|
+
email: z.ZodString;
|
|
259
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
260
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
261
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
264
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
265
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
require_mx_record?: boolean | undefined;
|
|
268
|
+
block_aliases?: boolean | undefined;
|
|
269
|
+
block_free_emails?: boolean | undefined;
|
|
270
|
+
block_disposable_emails?: boolean | undefined;
|
|
271
|
+
blocklist?: string[] | undefined;
|
|
272
|
+
allowlist?: string[] | undefined;
|
|
273
|
+
}, {
|
|
274
|
+
require_mx_record?: boolean | undefined;
|
|
275
|
+
block_aliases?: boolean | undefined;
|
|
276
|
+
block_free_emails?: boolean | undefined;
|
|
277
|
+
block_disposable_emails?: boolean | undefined;
|
|
278
|
+
blocklist?: string[] | undefined;
|
|
279
|
+
allowlist?: string[] | undefined;
|
|
280
|
+
}>>;
|
|
281
|
+
}, "strip", z.ZodTypeAny, {
|
|
282
|
+
email: string;
|
|
283
|
+
rules?: {
|
|
284
|
+
require_mx_record?: boolean | undefined;
|
|
285
|
+
block_aliases?: boolean | undefined;
|
|
286
|
+
block_free_emails?: boolean | undefined;
|
|
287
|
+
block_disposable_emails?: boolean | undefined;
|
|
288
|
+
blocklist?: string[] | undefined;
|
|
289
|
+
allowlist?: string[] | undefined;
|
|
290
|
+
} | undefined;
|
|
291
|
+
}, {
|
|
292
|
+
email: string;
|
|
293
|
+
rules?: {
|
|
294
|
+
require_mx_record?: boolean | undefined;
|
|
295
|
+
block_aliases?: boolean | undefined;
|
|
296
|
+
block_free_emails?: boolean | undefined;
|
|
297
|
+
block_disposable_emails?: boolean | undefined;
|
|
298
|
+
blocklist?: string[] | undefined;
|
|
299
|
+
allowlist?: string[] | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
}>;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
|
+
params: {
|
|
304
|
+
email: string;
|
|
305
|
+
rules?: {
|
|
306
|
+
require_mx_record?: boolean | undefined;
|
|
307
|
+
block_aliases?: boolean | undefined;
|
|
308
|
+
block_free_emails?: boolean | undefined;
|
|
309
|
+
block_disposable_emails?: boolean | undefined;
|
|
310
|
+
blocklist?: string[] | undefined;
|
|
311
|
+
allowlist?: string[] | undefined;
|
|
312
|
+
} | undefined;
|
|
313
|
+
};
|
|
314
|
+
type: "EMAIL";
|
|
315
|
+
id: string;
|
|
316
|
+
action: "VERIFY_EMAIL";
|
|
317
|
+
alias?: string | undefined;
|
|
318
|
+
allow_failure?: boolean | undefined;
|
|
319
|
+
mask_output?: boolean | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
params: {
|
|
322
|
+
email: string;
|
|
323
|
+
rules?: {
|
|
324
|
+
require_mx_record?: boolean | undefined;
|
|
325
|
+
block_aliases?: boolean | undefined;
|
|
326
|
+
block_free_emails?: boolean | undefined;
|
|
327
|
+
block_disposable_emails?: boolean | undefined;
|
|
328
|
+
blocklist?: string[] | undefined;
|
|
329
|
+
allowlist?: string[] | undefined;
|
|
330
|
+
} | undefined;
|
|
331
|
+
};
|
|
332
|
+
type: "EMAIL";
|
|
333
|
+
id: string;
|
|
334
|
+
action: "VERIFY_EMAIL";
|
|
335
|
+
alias?: string | undefined;
|
|
336
|
+
allow_failure?: boolean | undefined;
|
|
337
|
+
mask_output?: boolean | undefined;
|
|
338
|
+
}>
|
|
339
|
+
]>;
|
|
340
|
+
export type FlowActionStep = z.infer<typeof flowActionStepSchema>;
|
|
341
|
+
/**
|
|
342
|
+
* Schema for creating a flow
|
|
343
|
+
*/
|
|
344
|
+
export declare const flowInsertSchema: z.ZodObject<{
|
|
345
|
+
name: z.ZodString;
|
|
346
|
+
actions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<[
|
|
347
|
+
z.ZodObject<{
|
|
348
|
+
id: z.ZodString;
|
|
349
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
350
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
351
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
352
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
354
|
+
params: z.ZodObject<{
|
|
355
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
356
|
+
user_id: z.ZodString;
|
|
357
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
user_id: string;
|
|
360
|
+
changes: Record<string, any>;
|
|
361
|
+
connection_id?: string | undefined;
|
|
362
|
+
}, {
|
|
363
|
+
user_id: string;
|
|
364
|
+
changes: Record<string, any>;
|
|
365
|
+
connection_id?: string | undefined;
|
|
366
|
+
}>;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
params: {
|
|
369
|
+
user_id: string;
|
|
370
|
+
changes: Record<string, any>;
|
|
371
|
+
connection_id?: string | undefined;
|
|
372
|
+
};
|
|
373
|
+
type: "AUTH0";
|
|
374
|
+
id: string;
|
|
375
|
+
action: "UPDATE_USER";
|
|
376
|
+
alias?: string | undefined;
|
|
377
|
+
allow_failure?: boolean | undefined;
|
|
378
|
+
mask_output?: boolean | undefined;
|
|
379
|
+
}, {
|
|
380
|
+
params: {
|
|
381
|
+
user_id: string;
|
|
382
|
+
changes: Record<string, any>;
|
|
383
|
+
connection_id?: string | undefined;
|
|
384
|
+
};
|
|
385
|
+
type: "AUTH0";
|
|
386
|
+
id: string;
|
|
387
|
+
action: "UPDATE_USER";
|
|
388
|
+
alias?: string | undefined;
|
|
389
|
+
allow_failure?: boolean | undefined;
|
|
390
|
+
mask_output?: boolean | undefined;
|
|
391
|
+
}>,
|
|
392
|
+
z.ZodObject<{
|
|
393
|
+
id: z.ZodString;
|
|
394
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
395
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
396
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
397
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
399
|
+
params: z.ZodObject<{
|
|
400
|
+
email: z.ZodString;
|
|
401
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
402
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
404
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
406
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
407
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
require_mx_record?: boolean | undefined;
|
|
410
|
+
block_aliases?: boolean | undefined;
|
|
411
|
+
block_free_emails?: boolean | undefined;
|
|
412
|
+
block_disposable_emails?: boolean | undefined;
|
|
413
|
+
blocklist?: string[] | undefined;
|
|
414
|
+
allowlist?: string[] | undefined;
|
|
415
|
+
}, {
|
|
416
|
+
require_mx_record?: boolean | undefined;
|
|
417
|
+
block_aliases?: boolean | undefined;
|
|
418
|
+
block_free_emails?: boolean | undefined;
|
|
419
|
+
block_disposable_emails?: boolean | undefined;
|
|
420
|
+
blocklist?: string[] | undefined;
|
|
421
|
+
allowlist?: string[] | undefined;
|
|
422
|
+
}>>;
|
|
423
|
+
}, "strip", z.ZodTypeAny, {
|
|
424
|
+
email: string;
|
|
425
|
+
rules?: {
|
|
426
|
+
require_mx_record?: boolean | undefined;
|
|
427
|
+
block_aliases?: boolean | undefined;
|
|
428
|
+
block_free_emails?: boolean | undefined;
|
|
429
|
+
block_disposable_emails?: boolean | undefined;
|
|
430
|
+
blocklist?: string[] | undefined;
|
|
431
|
+
allowlist?: string[] | undefined;
|
|
432
|
+
} | undefined;
|
|
433
|
+
}, {
|
|
434
|
+
email: string;
|
|
435
|
+
rules?: {
|
|
436
|
+
require_mx_record?: boolean | undefined;
|
|
437
|
+
block_aliases?: boolean | undefined;
|
|
438
|
+
block_free_emails?: boolean | undefined;
|
|
439
|
+
block_disposable_emails?: boolean | undefined;
|
|
440
|
+
blocklist?: string[] | undefined;
|
|
441
|
+
allowlist?: string[] | undefined;
|
|
442
|
+
} | undefined;
|
|
443
|
+
}>;
|
|
444
|
+
}, "strip", z.ZodTypeAny, {
|
|
445
|
+
params: {
|
|
446
|
+
email: string;
|
|
447
|
+
rules?: {
|
|
448
|
+
require_mx_record?: boolean | undefined;
|
|
449
|
+
block_aliases?: boolean | undefined;
|
|
450
|
+
block_free_emails?: boolean | undefined;
|
|
451
|
+
block_disposable_emails?: boolean | undefined;
|
|
452
|
+
blocklist?: string[] | undefined;
|
|
453
|
+
allowlist?: string[] | undefined;
|
|
454
|
+
} | undefined;
|
|
455
|
+
};
|
|
456
|
+
type: "EMAIL";
|
|
457
|
+
id: string;
|
|
458
|
+
action: "VERIFY_EMAIL";
|
|
459
|
+
alias?: string | undefined;
|
|
460
|
+
allow_failure?: boolean | undefined;
|
|
461
|
+
mask_output?: boolean | undefined;
|
|
462
|
+
}, {
|
|
463
|
+
params: {
|
|
464
|
+
email: string;
|
|
465
|
+
rules?: {
|
|
466
|
+
require_mx_record?: boolean | undefined;
|
|
467
|
+
block_aliases?: boolean | undefined;
|
|
468
|
+
block_free_emails?: boolean | undefined;
|
|
469
|
+
block_disposable_emails?: boolean | undefined;
|
|
470
|
+
blocklist?: string[] | undefined;
|
|
471
|
+
allowlist?: string[] | undefined;
|
|
472
|
+
} | undefined;
|
|
473
|
+
};
|
|
474
|
+
type: "EMAIL";
|
|
475
|
+
id: string;
|
|
476
|
+
action: "VERIFY_EMAIL";
|
|
477
|
+
alias?: string | undefined;
|
|
478
|
+
allow_failure?: boolean | undefined;
|
|
479
|
+
mask_output?: boolean | undefined;
|
|
480
|
+
}>
|
|
481
|
+
]>, "many">>>;
|
|
482
|
+
}, "strip", z.ZodTypeAny, {
|
|
483
|
+
name: string;
|
|
484
|
+
actions: ({
|
|
485
|
+
params: {
|
|
486
|
+
user_id: string;
|
|
487
|
+
changes: Record<string, any>;
|
|
488
|
+
connection_id?: string | undefined;
|
|
489
|
+
};
|
|
490
|
+
type: "AUTH0";
|
|
491
|
+
id: string;
|
|
492
|
+
action: "UPDATE_USER";
|
|
493
|
+
alias?: string | undefined;
|
|
494
|
+
allow_failure?: boolean | undefined;
|
|
495
|
+
mask_output?: boolean | undefined;
|
|
496
|
+
} | {
|
|
497
|
+
params: {
|
|
498
|
+
email: string;
|
|
499
|
+
rules?: {
|
|
500
|
+
require_mx_record?: boolean | undefined;
|
|
501
|
+
block_aliases?: boolean | undefined;
|
|
502
|
+
block_free_emails?: boolean | undefined;
|
|
503
|
+
block_disposable_emails?: boolean | undefined;
|
|
504
|
+
blocklist?: string[] | undefined;
|
|
505
|
+
allowlist?: string[] | undefined;
|
|
506
|
+
} | undefined;
|
|
507
|
+
};
|
|
508
|
+
type: "EMAIL";
|
|
509
|
+
id: string;
|
|
510
|
+
action: "VERIFY_EMAIL";
|
|
511
|
+
alias?: string | undefined;
|
|
512
|
+
allow_failure?: boolean | undefined;
|
|
513
|
+
mask_output?: boolean | undefined;
|
|
514
|
+
})[];
|
|
515
|
+
}, {
|
|
516
|
+
name: string;
|
|
517
|
+
actions?: ({
|
|
518
|
+
params: {
|
|
519
|
+
user_id: string;
|
|
520
|
+
changes: Record<string, any>;
|
|
521
|
+
connection_id?: string | undefined;
|
|
522
|
+
};
|
|
523
|
+
type: "AUTH0";
|
|
524
|
+
id: string;
|
|
525
|
+
action: "UPDATE_USER";
|
|
526
|
+
alias?: string | undefined;
|
|
527
|
+
allow_failure?: boolean | undefined;
|
|
528
|
+
mask_output?: boolean | undefined;
|
|
529
|
+
} | {
|
|
530
|
+
params: {
|
|
531
|
+
email: string;
|
|
532
|
+
rules?: {
|
|
533
|
+
require_mx_record?: boolean | undefined;
|
|
534
|
+
block_aliases?: boolean | undefined;
|
|
535
|
+
block_free_emails?: boolean | undefined;
|
|
536
|
+
block_disposable_emails?: boolean | undefined;
|
|
537
|
+
blocklist?: string[] | undefined;
|
|
538
|
+
allowlist?: string[] | undefined;
|
|
539
|
+
} | undefined;
|
|
540
|
+
};
|
|
541
|
+
type: "EMAIL";
|
|
542
|
+
id: string;
|
|
543
|
+
action: "VERIFY_EMAIL";
|
|
544
|
+
alias?: string | undefined;
|
|
545
|
+
allow_failure?: boolean | undefined;
|
|
546
|
+
mask_output?: boolean | undefined;
|
|
547
|
+
})[] | undefined;
|
|
548
|
+
}>;
|
|
549
|
+
export type FlowInsert = z.infer<typeof flowInsertSchema>;
|
|
550
|
+
/**
|
|
551
|
+
* Full flow schema including system fields
|
|
552
|
+
*/
|
|
553
|
+
export declare const flowSchema: z.ZodObject<{
|
|
554
|
+
name: z.ZodString;
|
|
555
|
+
actions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<[
|
|
556
|
+
z.ZodObject<{
|
|
557
|
+
id: z.ZodString;
|
|
558
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
559
|
+
type: z.ZodLiteral<"AUTH0">;
|
|
560
|
+
action: z.ZodLiteral<"UPDATE_USER">;
|
|
561
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
+
params: z.ZodObject<{
|
|
564
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
565
|
+
user_id: z.ZodString;
|
|
566
|
+
changes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
567
|
+
}, "strip", z.ZodTypeAny, {
|
|
568
|
+
user_id: string;
|
|
569
|
+
changes: Record<string, any>;
|
|
570
|
+
connection_id?: string | undefined;
|
|
571
|
+
}, {
|
|
572
|
+
user_id: string;
|
|
573
|
+
changes: Record<string, any>;
|
|
574
|
+
connection_id?: string | undefined;
|
|
575
|
+
}>;
|
|
576
|
+
}, "strip", z.ZodTypeAny, {
|
|
577
|
+
params: {
|
|
578
|
+
user_id: string;
|
|
579
|
+
changes: Record<string, any>;
|
|
580
|
+
connection_id?: string | undefined;
|
|
581
|
+
};
|
|
582
|
+
type: "AUTH0";
|
|
583
|
+
id: string;
|
|
584
|
+
action: "UPDATE_USER";
|
|
585
|
+
alias?: string | undefined;
|
|
586
|
+
allow_failure?: boolean | undefined;
|
|
587
|
+
mask_output?: boolean | undefined;
|
|
588
|
+
}, {
|
|
589
|
+
params: {
|
|
590
|
+
user_id: string;
|
|
591
|
+
changes: Record<string, any>;
|
|
592
|
+
connection_id?: string | undefined;
|
|
593
|
+
};
|
|
594
|
+
type: "AUTH0";
|
|
595
|
+
id: string;
|
|
596
|
+
action: "UPDATE_USER";
|
|
597
|
+
alias?: string | undefined;
|
|
598
|
+
allow_failure?: boolean | undefined;
|
|
599
|
+
mask_output?: boolean | undefined;
|
|
600
|
+
}>,
|
|
601
|
+
z.ZodObject<{
|
|
602
|
+
id: z.ZodString;
|
|
603
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
604
|
+
type: z.ZodLiteral<"EMAIL">;
|
|
605
|
+
action: z.ZodLiteral<"VERIFY_EMAIL">;
|
|
606
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
607
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
608
|
+
params: z.ZodObject<{
|
|
609
|
+
email: z.ZodString;
|
|
610
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
611
|
+
require_mx_record: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
block_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
613
|
+
block_free_emails: z.ZodOptional<z.ZodBoolean>;
|
|
614
|
+
block_disposable_emails: z.ZodOptional<z.ZodBoolean>;
|
|
615
|
+
blocklist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
616
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
617
|
+
}, "strip", z.ZodTypeAny, {
|
|
618
|
+
require_mx_record?: boolean | undefined;
|
|
619
|
+
block_aliases?: boolean | undefined;
|
|
620
|
+
block_free_emails?: boolean | undefined;
|
|
621
|
+
block_disposable_emails?: boolean | undefined;
|
|
622
|
+
blocklist?: string[] | undefined;
|
|
623
|
+
allowlist?: string[] | undefined;
|
|
624
|
+
}, {
|
|
625
|
+
require_mx_record?: boolean | undefined;
|
|
626
|
+
block_aliases?: boolean | undefined;
|
|
627
|
+
block_free_emails?: boolean | undefined;
|
|
628
|
+
block_disposable_emails?: boolean | undefined;
|
|
629
|
+
blocklist?: string[] | undefined;
|
|
630
|
+
allowlist?: string[] | undefined;
|
|
631
|
+
}>>;
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
|
+
email: string;
|
|
634
|
+
rules?: {
|
|
635
|
+
require_mx_record?: boolean | undefined;
|
|
636
|
+
block_aliases?: boolean | undefined;
|
|
637
|
+
block_free_emails?: boolean | undefined;
|
|
638
|
+
block_disposable_emails?: boolean | undefined;
|
|
639
|
+
blocklist?: string[] | undefined;
|
|
640
|
+
allowlist?: string[] | undefined;
|
|
641
|
+
} | undefined;
|
|
642
|
+
}, {
|
|
643
|
+
email: string;
|
|
644
|
+
rules?: {
|
|
645
|
+
require_mx_record?: boolean | undefined;
|
|
646
|
+
block_aliases?: boolean | undefined;
|
|
647
|
+
block_free_emails?: boolean | undefined;
|
|
648
|
+
block_disposable_emails?: boolean | undefined;
|
|
649
|
+
blocklist?: string[] | undefined;
|
|
650
|
+
allowlist?: string[] | undefined;
|
|
651
|
+
} | undefined;
|
|
652
|
+
}>;
|
|
653
|
+
}, "strip", z.ZodTypeAny, {
|
|
654
|
+
params: {
|
|
655
|
+
email: string;
|
|
656
|
+
rules?: {
|
|
657
|
+
require_mx_record?: boolean | undefined;
|
|
658
|
+
block_aliases?: boolean | undefined;
|
|
659
|
+
block_free_emails?: boolean | undefined;
|
|
660
|
+
block_disposable_emails?: boolean | undefined;
|
|
661
|
+
blocklist?: string[] | undefined;
|
|
662
|
+
allowlist?: string[] | undefined;
|
|
663
|
+
} | undefined;
|
|
664
|
+
};
|
|
665
|
+
type: "EMAIL";
|
|
666
|
+
id: string;
|
|
667
|
+
action: "VERIFY_EMAIL";
|
|
668
|
+
alias?: string | undefined;
|
|
669
|
+
allow_failure?: boolean | undefined;
|
|
670
|
+
mask_output?: boolean | undefined;
|
|
671
|
+
}, {
|
|
672
|
+
params: {
|
|
673
|
+
email: string;
|
|
674
|
+
rules?: {
|
|
675
|
+
require_mx_record?: boolean | undefined;
|
|
676
|
+
block_aliases?: boolean | undefined;
|
|
677
|
+
block_free_emails?: boolean | undefined;
|
|
678
|
+
block_disposable_emails?: boolean | undefined;
|
|
679
|
+
blocklist?: string[] | undefined;
|
|
680
|
+
allowlist?: string[] | undefined;
|
|
681
|
+
} | undefined;
|
|
682
|
+
};
|
|
683
|
+
type: "EMAIL";
|
|
684
|
+
id: string;
|
|
685
|
+
action: "VERIFY_EMAIL";
|
|
686
|
+
alias?: string | undefined;
|
|
687
|
+
allow_failure?: boolean | undefined;
|
|
688
|
+
mask_output?: boolean | undefined;
|
|
689
|
+
}>
|
|
690
|
+
]>, "many">>>;
|
|
691
|
+
} & {
|
|
692
|
+
id: z.ZodString;
|
|
693
|
+
created_at: z.ZodString;
|
|
694
|
+
updated_at: z.ZodString;
|
|
695
|
+
}, "strip", z.ZodTypeAny, {
|
|
696
|
+
created_at: string;
|
|
697
|
+
updated_at: string;
|
|
698
|
+
id: string;
|
|
699
|
+
name: string;
|
|
700
|
+
actions: ({
|
|
701
|
+
params: {
|
|
702
|
+
user_id: string;
|
|
703
|
+
changes: Record<string, any>;
|
|
704
|
+
connection_id?: string | undefined;
|
|
705
|
+
};
|
|
706
|
+
type: "AUTH0";
|
|
707
|
+
id: string;
|
|
708
|
+
action: "UPDATE_USER";
|
|
709
|
+
alias?: string | undefined;
|
|
710
|
+
allow_failure?: boolean | undefined;
|
|
711
|
+
mask_output?: boolean | undefined;
|
|
712
|
+
} | {
|
|
713
|
+
params: {
|
|
714
|
+
email: string;
|
|
715
|
+
rules?: {
|
|
716
|
+
require_mx_record?: boolean | undefined;
|
|
717
|
+
block_aliases?: boolean | undefined;
|
|
718
|
+
block_free_emails?: boolean | undefined;
|
|
719
|
+
block_disposable_emails?: boolean | undefined;
|
|
720
|
+
blocklist?: string[] | undefined;
|
|
721
|
+
allowlist?: string[] | undefined;
|
|
722
|
+
} | undefined;
|
|
723
|
+
};
|
|
724
|
+
type: "EMAIL";
|
|
725
|
+
id: string;
|
|
726
|
+
action: "VERIFY_EMAIL";
|
|
727
|
+
alias?: string | undefined;
|
|
728
|
+
allow_failure?: boolean | undefined;
|
|
729
|
+
mask_output?: boolean | undefined;
|
|
730
|
+
})[];
|
|
731
|
+
}, {
|
|
732
|
+
created_at: string;
|
|
733
|
+
updated_at: string;
|
|
734
|
+
id: string;
|
|
735
|
+
name: string;
|
|
736
|
+
actions?: ({
|
|
737
|
+
params: {
|
|
738
|
+
user_id: string;
|
|
739
|
+
changes: Record<string, any>;
|
|
740
|
+
connection_id?: string | undefined;
|
|
741
|
+
};
|
|
742
|
+
type: "AUTH0";
|
|
743
|
+
id: string;
|
|
744
|
+
action: "UPDATE_USER";
|
|
745
|
+
alias?: string | undefined;
|
|
746
|
+
allow_failure?: boolean | undefined;
|
|
747
|
+
mask_output?: boolean | undefined;
|
|
748
|
+
} | {
|
|
749
|
+
params: {
|
|
750
|
+
email: string;
|
|
751
|
+
rules?: {
|
|
752
|
+
require_mx_record?: boolean | undefined;
|
|
753
|
+
block_aliases?: boolean | undefined;
|
|
754
|
+
block_free_emails?: boolean | undefined;
|
|
755
|
+
block_disposable_emails?: boolean | undefined;
|
|
756
|
+
blocklist?: string[] | undefined;
|
|
757
|
+
allowlist?: string[] | undefined;
|
|
758
|
+
} | undefined;
|
|
759
|
+
};
|
|
760
|
+
type: "EMAIL";
|
|
761
|
+
id: string;
|
|
762
|
+
action: "VERIFY_EMAIL";
|
|
763
|
+
alias?: string | undefined;
|
|
764
|
+
allow_failure?: boolean | undefined;
|
|
765
|
+
mask_output?: boolean | undefined;
|
|
766
|
+
})[] | undefined;
|
|
767
|
+
}>;
|
|
768
|
+
export type Flow = z.infer<typeof flowSchema>;
|
|
8
769
|
export declare const auth0QuerySchema: z.ZodObject<{
|
|
9
770
|
page: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, number, string | undefined>;
|
|
10
771
|
per_page: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, number, string | undefined>;
|
|
@@ -18,8 +779,8 @@ export declare const auth0QuerySchema: z.ZodObject<{
|
|
|
18
779
|
sort?: string | undefined;
|
|
19
780
|
q?: string | undefined;
|
|
20
781
|
}, {
|
|
21
|
-
page?: string | undefined;
|
|
22
782
|
sort?: string | undefined;
|
|
783
|
+
page?: string | undefined;
|
|
23
784
|
per_page?: string | undefined;
|
|
24
785
|
include_totals?: string | undefined;
|
|
25
786
|
q?: string | undefined;
|
|
@@ -58,13 +819,13 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
58
819
|
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
59
820
|
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
60
821
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
email?: string | undefined;
|
|
62
822
|
name?: string | undefined;
|
|
823
|
+
user_id?: string | undefined;
|
|
824
|
+
email?: string | undefined;
|
|
63
825
|
username?: string | undefined;
|
|
64
826
|
given_name?: string | undefined;
|
|
65
827
|
phone_number?: string | undefined;
|
|
66
828
|
family_name?: string | undefined;
|
|
67
|
-
user_id?: string | undefined;
|
|
68
829
|
profileData?: string | undefined;
|
|
69
830
|
nickname?: string | undefined;
|
|
70
831
|
picture?: string | undefined;
|
|
@@ -73,13 +834,13 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
73
834
|
app_metadata?: any;
|
|
74
835
|
user_metadata?: any;
|
|
75
836
|
}, {
|
|
76
|
-
email?: string | undefined;
|
|
77
837
|
name?: string | undefined;
|
|
838
|
+
user_id?: string | undefined;
|
|
839
|
+
email?: string | undefined;
|
|
78
840
|
username?: string | undefined;
|
|
79
841
|
given_name?: string | undefined;
|
|
80
842
|
phone_number?: string | undefined;
|
|
81
843
|
family_name?: string | undefined;
|
|
82
|
-
user_id?: string | undefined;
|
|
83
844
|
profileData?: string | undefined;
|
|
84
845
|
nickname?: string | undefined;
|
|
85
846
|
picture?: string | undefined;
|
|
@@ -115,13 +876,13 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
115
876
|
}, "strip", z.ZodTypeAny, {
|
|
116
877
|
email_verified: boolean;
|
|
117
878
|
connection: string;
|
|
118
|
-
email?: string | undefined;
|
|
119
879
|
name?: string | undefined;
|
|
880
|
+
user_id?: string | undefined;
|
|
881
|
+
email?: string | undefined;
|
|
120
882
|
username?: string | undefined;
|
|
121
883
|
given_name?: string | undefined;
|
|
122
884
|
phone_number?: string | undefined;
|
|
123
885
|
family_name?: string | undefined;
|
|
124
|
-
user_id?: string | undefined;
|
|
125
886
|
provider?: string | undefined;
|
|
126
887
|
profileData?: string | undefined;
|
|
127
888
|
nickname?: string | undefined;
|
|
@@ -136,14 +897,14 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
136
897
|
is_social?: boolean | undefined;
|
|
137
898
|
}, {
|
|
138
899
|
connection: string;
|
|
900
|
+
name?: string | undefined;
|
|
901
|
+
user_id?: string | undefined;
|
|
139
902
|
email?: string | undefined;
|
|
140
903
|
email_verified?: boolean | undefined;
|
|
141
|
-
name?: string | undefined;
|
|
142
904
|
username?: string | undefined;
|
|
143
905
|
given_name?: string | undefined;
|
|
144
906
|
phone_number?: string | undefined;
|
|
145
907
|
family_name?: string | undefined;
|
|
146
|
-
user_id?: string | undefined;
|
|
147
908
|
provider?: string | undefined;
|
|
148
909
|
profileData?: string | undefined;
|
|
149
910
|
nickname?: string | undefined;
|
|
@@ -201,8 +962,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
201
962
|
family_name: z.ZodOptional<z.ZodString>;
|
|
202
963
|
}, z.ZodAny, "strip">>>;
|
|
203
964
|
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
connection: string;
|
|
205
965
|
user_id: string;
|
|
966
|
+
connection: string;
|
|
206
967
|
provider: string;
|
|
207
968
|
isSocial: boolean;
|
|
208
969
|
access_token?: string | undefined;
|
|
@@ -219,8 +980,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
219
980
|
family_name: z.ZodOptional<z.ZodString>;
|
|
220
981
|
}, z.ZodAny, "strip"> | undefined;
|
|
221
982
|
}, {
|
|
222
|
-
connection: string;
|
|
223
983
|
user_id: string;
|
|
984
|
+
connection: string;
|
|
224
985
|
provider: string;
|
|
225
986
|
isSocial: boolean;
|
|
226
987
|
access_token?: string | undefined;
|
|
@@ -259,14 +1020,14 @@ export declare const userSchema: z.ZodObject<{
|
|
|
259
1020
|
}, "strip", z.ZodTypeAny, {
|
|
260
1021
|
created_at: string;
|
|
261
1022
|
updated_at: string;
|
|
1023
|
+
user_id: string;
|
|
262
1024
|
email_verified: boolean;
|
|
263
1025
|
connection: string;
|
|
264
|
-
user_id: string;
|
|
265
1026
|
provider: string;
|
|
266
1027
|
is_social: boolean;
|
|
267
1028
|
login_count: number;
|
|
268
|
-
email?: string | undefined;
|
|
269
1029
|
name?: string | undefined;
|
|
1030
|
+
email?: string | undefined;
|
|
270
1031
|
username?: string | undefined;
|
|
271
1032
|
given_name?: string | undefined;
|
|
272
1033
|
phone_number?: string | undefined;
|
|
@@ -282,8 +1043,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
282
1043
|
last_ip?: string | undefined;
|
|
283
1044
|
last_login?: string | undefined;
|
|
284
1045
|
identities?: {
|
|
285
|
-
connection: string;
|
|
286
1046
|
user_id: string;
|
|
1047
|
+
connection: string;
|
|
287
1048
|
provider: string;
|
|
288
1049
|
isSocial: boolean;
|
|
289
1050
|
access_token?: string | undefined;
|
|
@@ -303,13 +1064,13 @@ export declare const userSchema: z.ZodObject<{
|
|
|
303
1064
|
}, {
|
|
304
1065
|
created_at: string;
|
|
305
1066
|
updated_at: string;
|
|
306
|
-
connection: string;
|
|
307
1067
|
user_id: string;
|
|
1068
|
+
connection: string;
|
|
308
1069
|
provider: string;
|
|
309
1070
|
is_social: boolean;
|
|
1071
|
+
name?: string | undefined;
|
|
310
1072
|
email?: string | undefined;
|
|
311
1073
|
email_verified?: boolean | undefined;
|
|
312
|
-
name?: string | undefined;
|
|
313
1074
|
username?: string | undefined;
|
|
314
1075
|
given_name?: string | undefined;
|
|
315
1076
|
phone_number?: string | undefined;
|
|
@@ -326,8 +1087,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
326
1087
|
last_login?: string | undefined;
|
|
327
1088
|
login_count?: number | undefined;
|
|
328
1089
|
identities?: {
|
|
329
|
-
connection: string;
|
|
330
1090
|
user_id: string;
|
|
1091
|
+
connection: string;
|
|
331
1092
|
provider: string;
|
|
332
1093
|
isSocial: boolean;
|
|
333
1094
|
access_token?: string | undefined;
|
|
@@ -389,8 +1150,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
389
1150
|
family_name: z.ZodOptional<z.ZodString>;
|
|
390
1151
|
}, z.ZodAny, "strip">>>;
|
|
391
1152
|
}, "strip", z.ZodTypeAny, {
|
|
392
|
-
connection: string;
|
|
393
1153
|
user_id: string;
|
|
1154
|
+
connection: string;
|
|
394
1155
|
provider: string;
|
|
395
1156
|
isSocial: boolean;
|
|
396
1157
|
access_token?: string | undefined;
|
|
@@ -407,8 +1168,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
407
1168
|
family_name: z.ZodOptional<z.ZodString>;
|
|
408
1169
|
}, z.ZodAny, "strip"> | undefined;
|
|
409
1170
|
}, {
|
|
410
|
-
connection: string;
|
|
411
1171
|
user_id: string;
|
|
1172
|
+
connection: string;
|
|
412
1173
|
provider: string;
|
|
413
1174
|
isSocial: boolean;
|
|
414
1175
|
access_token?: string | undefined;
|
|
@@ -447,14 +1208,14 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
447
1208
|
}, "strip", z.ZodTypeAny, {
|
|
448
1209
|
created_at: string;
|
|
449
1210
|
updated_at: string;
|
|
1211
|
+
user_id: string;
|
|
450
1212
|
email_verified: boolean;
|
|
451
1213
|
connection: string;
|
|
452
|
-
user_id: string;
|
|
453
1214
|
provider: string;
|
|
454
1215
|
is_social: boolean;
|
|
455
1216
|
login_count: number;
|
|
456
|
-
email?: string | undefined;
|
|
457
1217
|
name?: string | undefined;
|
|
1218
|
+
email?: string | undefined;
|
|
458
1219
|
username?: string | undefined;
|
|
459
1220
|
given_name?: string | undefined;
|
|
460
1221
|
phone_number?: string | undefined;
|
|
@@ -470,8 +1231,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
470
1231
|
last_ip?: string | undefined;
|
|
471
1232
|
last_login?: string | undefined;
|
|
472
1233
|
identities?: {
|
|
473
|
-
connection: string;
|
|
474
1234
|
user_id: string;
|
|
1235
|
+
connection: string;
|
|
475
1236
|
provider: string;
|
|
476
1237
|
isSocial: boolean;
|
|
477
1238
|
access_token?: string | undefined;
|
|
@@ -491,13 +1252,13 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
491
1252
|
}, {
|
|
492
1253
|
created_at: string;
|
|
493
1254
|
updated_at: string;
|
|
494
|
-
connection: string;
|
|
495
1255
|
user_id: string;
|
|
1256
|
+
connection: string;
|
|
496
1257
|
provider: string;
|
|
497
1258
|
is_social: boolean;
|
|
1259
|
+
name?: string | undefined;
|
|
498
1260
|
email?: string | undefined;
|
|
499
1261
|
email_verified?: boolean | undefined;
|
|
500
|
-
name?: string | undefined;
|
|
501
1262
|
username?: string | undefined;
|
|
502
1263
|
given_name?: string | undefined;
|
|
503
1264
|
phone_number?: string | undefined;
|
|
@@ -514,8 +1275,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
514
1275
|
last_login?: string | undefined;
|
|
515
1276
|
login_count?: number | undefined;
|
|
516
1277
|
identities?: {
|
|
517
|
-
connection: string;
|
|
518
1278
|
user_id: string;
|
|
1279
|
+
connection: string;
|
|
519
1280
|
provider: string;
|
|
520
1281
|
isSocial: boolean;
|
|
521
1282
|
access_token?: string | undefined;
|
|
@@ -1044,9 +1805,9 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
1044
1805
|
authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1045
1806
|
id: z.ZodString;
|
|
1046
1807
|
}, "strip", z.ZodTypeAny, {
|
|
1808
|
+
id: string;
|
|
1047
1809
|
client_id: string;
|
|
1048
1810
|
audience: string;
|
|
1049
|
-
id: string;
|
|
1050
1811
|
created_at?: string | undefined;
|
|
1051
1812
|
updated_at?: string | undefined;
|
|
1052
1813
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1056,9 +1817,9 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
1056
1817
|
subject_type?: "client" | "user" | undefined;
|
|
1057
1818
|
authorization_details_types?: string[] | undefined;
|
|
1058
1819
|
}, {
|
|
1820
|
+
id: string;
|
|
1059
1821
|
client_id: string;
|
|
1060
1822
|
audience: string;
|
|
1061
|
-
id: string;
|
|
1062
1823
|
created_at?: string | undefined;
|
|
1063
1824
|
updated_at?: string | undefined;
|
|
1064
1825
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1089,9 +1850,9 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
1089
1850
|
authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1090
1851
|
id: z.ZodString;
|
|
1091
1852
|
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
id: string;
|
|
1092
1854
|
client_id: string;
|
|
1093
1855
|
audience: string;
|
|
1094
|
-
id: string;
|
|
1095
1856
|
created_at?: string | undefined;
|
|
1096
1857
|
updated_at?: string | undefined;
|
|
1097
1858
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -1101,9 +1862,9 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
1101
1862
|
subject_type?: "client" | "user" | undefined;
|
|
1102
1863
|
authorization_details_types?: string[] | undefined;
|
|
1103
1864
|
}, {
|
|
1865
|
+
id: string;
|
|
1104
1866
|
client_id: string;
|
|
1105
1867
|
audience: string;
|
|
1106
|
-
id: string;
|
|
1107
1868
|
created_at?: string | undefined;
|
|
1108
1869
|
updated_at?: string | undefined;
|
|
1109
1870
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
@@ -8517,8 +9278,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8517
9278
|
}, "strip", z.ZodTypeAny, {
|
|
8518
9279
|
created_at: string;
|
|
8519
9280
|
updated_at: string;
|
|
8520
|
-
audience: string;
|
|
8521
9281
|
id: string;
|
|
9282
|
+
audience: string;
|
|
8522
9283
|
friendly_name: string;
|
|
8523
9284
|
sender_email: string;
|
|
8524
9285
|
sender_name: string;
|
|
@@ -8617,8 +9378,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8617
9378
|
}, {
|
|
8618
9379
|
created_at: string | null;
|
|
8619
9380
|
updated_at: string | null;
|
|
8620
|
-
audience: string;
|
|
8621
9381
|
id: string;
|
|
9382
|
+
audience: string;
|
|
8622
9383
|
friendly_name: string;
|
|
8623
9384
|
sender_email: string;
|
|
8624
9385
|
sender_name: string;
|
|
@@ -8791,6 +9552,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8791
9552
|
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
8792
9553
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8793
9554
|
}, "strip", z.ZodTypeAny, {
|
|
9555
|
+
created_at: string;
|
|
9556
|
+
updated_at: string;
|
|
8794
9557
|
options: {
|
|
8795
9558
|
provider?: string | undefined;
|
|
8796
9559
|
client_id?: string | undefined;
|
|
@@ -8812,8 +9575,6 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8812
9575
|
twilio_token?: string | undefined;
|
|
8813
9576
|
icon_url?: string | undefined;
|
|
8814
9577
|
};
|
|
8815
|
-
created_at: string;
|
|
8816
|
-
updated_at: string;
|
|
8817
9578
|
name: string;
|
|
8818
9579
|
strategy: string;
|
|
8819
9580
|
id?: string | undefined;
|
|
@@ -8960,6 +9721,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8960
9721
|
is_first_party: boolean;
|
|
8961
9722
|
oidc_conformant: boolean;
|
|
8962
9723
|
connections: {
|
|
9724
|
+
created_at: string;
|
|
9725
|
+
updated_at: string;
|
|
8963
9726
|
options: {
|
|
8964
9727
|
provider?: string | undefined;
|
|
8965
9728
|
client_id?: string | undefined;
|
|
@@ -8981,8 +9744,6 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
8981
9744
|
twilio_token?: string | undefined;
|
|
8982
9745
|
icon_url?: string | undefined;
|
|
8983
9746
|
};
|
|
8984
|
-
created_at: string;
|
|
8985
|
-
updated_at: string;
|
|
8986
9747
|
name: string;
|
|
8987
9748
|
strategy: string;
|
|
8988
9749
|
id?: string | undefined;
|
|
@@ -9003,8 +9764,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
9003
9764
|
tenant: {
|
|
9004
9765
|
created_at: string;
|
|
9005
9766
|
updated_at: string;
|
|
9006
|
-
audience: string;
|
|
9007
9767
|
id: string;
|
|
9768
|
+
audience: string;
|
|
9008
9769
|
friendly_name: string;
|
|
9009
9770
|
sender_email: string;
|
|
9010
9771
|
sender_name: string;
|
|
@@ -9179,8 +9940,8 @@ export declare const legacyClientSchema: z.ZodObject<{
|
|
|
9179
9940
|
tenant: {
|
|
9180
9941
|
created_at: string | null;
|
|
9181
9942
|
updated_at: string | null;
|
|
9182
|
-
audience: string;
|
|
9183
9943
|
id: string;
|
|
9944
|
+
audience: string;
|
|
9184
9945
|
friendly_name: string;
|
|
9185
9946
|
sender_email: string;
|
|
9186
9947
|
sender_name: string;
|
|
@@ -9361,13 +10122,13 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
9361
10122
|
login_id: string;
|
|
9362
10123
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9363
10124
|
expires_at: string;
|
|
10125
|
+
connection_id?: string | undefined;
|
|
9364
10126
|
user_id?: string | undefined;
|
|
9365
10127
|
redirect_uri?: string | undefined;
|
|
9366
10128
|
state?: string | undefined;
|
|
9367
10129
|
nonce?: string | undefined;
|
|
9368
10130
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9369
10131
|
code_challenge?: string | undefined;
|
|
9370
|
-
connection_id?: string | undefined;
|
|
9371
10132
|
code_verifier?: string | undefined;
|
|
9372
10133
|
used_at?: string | undefined;
|
|
9373
10134
|
}, {
|
|
@@ -9375,13 +10136,13 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
9375
10136
|
login_id: string;
|
|
9376
10137
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9377
10138
|
expires_at: string;
|
|
10139
|
+
connection_id?: string | undefined;
|
|
9378
10140
|
user_id?: string | undefined;
|
|
9379
10141
|
redirect_uri?: string | undefined;
|
|
9380
10142
|
state?: string | undefined;
|
|
9381
10143
|
nonce?: string | undefined;
|
|
9382
10144
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9383
10145
|
code_challenge?: string | undefined;
|
|
9384
|
-
connection_id?: string | undefined;
|
|
9385
10146
|
code_verifier?: string | undefined;
|
|
9386
10147
|
used_at?: string | undefined;
|
|
9387
10148
|
}>;
|
|
@@ -9417,13 +10178,13 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
9417
10178
|
login_id: string;
|
|
9418
10179
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9419
10180
|
expires_at: string;
|
|
10181
|
+
connection_id?: string | undefined;
|
|
9420
10182
|
user_id?: string | undefined;
|
|
9421
10183
|
redirect_uri?: string | undefined;
|
|
9422
10184
|
state?: string | undefined;
|
|
9423
10185
|
nonce?: string | undefined;
|
|
9424
10186
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9425
10187
|
code_challenge?: string | undefined;
|
|
9426
|
-
connection_id?: string | undefined;
|
|
9427
10188
|
code_verifier?: string | undefined;
|
|
9428
10189
|
used_at?: string | undefined;
|
|
9429
10190
|
}, {
|
|
@@ -9432,13 +10193,13 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
9432
10193
|
login_id: string;
|
|
9433
10194
|
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
9434
10195
|
expires_at: string;
|
|
10196
|
+
connection_id?: string | undefined;
|
|
9435
10197
|
user_id?: string | undefined;
|
|
9436
10198
|
redirect_uri?: string | undefined;
|
|
9437
10199
|
state?: string | undefined;
|
|
9438
10200
|
nonce?: string | undefined;
|
|
9439
10201
|
code_challenge_method?: "S256" | "plain" | undefined;
|
|
9440
10202
|
code_challenge?: string | undefined;
|
|
9441
|
-
connection_id?: string | undefined;
|
|
9442
10203
|
code_verifier?: string | undefined;
|
|
9443
10204
|
used_at?: string | undefined;
|
|
9444
10205
|
}>;
|
|
@@ -9718,6 +10479,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
9718
10479
|
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
9719
10480
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9720
10481
|
}, "strip", z.ZodTypeAny, {
|
|
10482
|
+
created_at: string;
|
|
10483
|
+
updated_at: string;
|
|
9721
10484
|
options: {
|
|
9722
10485
|
provider?: string | undefined;
|
|
9723
10486
|
client_id?: string | undefined;
|
|
@@ -9739,8 +10502,6 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
9739
10502
|
twilio_token?: string | undefined;
|
|
9740
10503
|
icon_url?: string | undefined;
|
|
9741
10504
|
};
|
|
9742
|
-
created_at: string;
|
|
9743
|
-
updated_at: string;
|
|
9744
10505
|
name: string;
|
|
9745
10506
|
strategy: string;
|
|
9746
10507
|
id?: string | undefined;
|
|
@@ -10485,6 +11246,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10485
11246
|
}, "strip", z.ZodTypeAny, {
|
|
10486
11247
|
type: "ROUTER";
|
|
10487
11248
|
id: string;
|
|
11249
|
+
alias: string;
|
|
10488
11250
|
config: {
|
|
10489
11251
|
rules: {
|
|
10490
11252
|
id: string;
|
|
@@ -10498,10 +11260,10 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10498
11260
|
x: number;
|
|
10499
11261
|
y: number;
|
|
10500
11262
|
};
|
|
10501
|
-
alias: string;
|
|
10502
11263
|
}, {
|
|
10503
11264
|
type: "ROUTER";
|
|
10504
11265
|
id: string;
|
|
11266
|
+
alias: string;
|
|
10505
11267
|
config: {
|
|
10506
11268
|
rules: {
|
|
10507
11269
|
id: string;
|
|
@@ -10515,7 +11277,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10515
11277
|
x: number;
|
|
10516
11278
|
y: number;
|
|
10517
11279
|
};
|
|
10518
|
-
alias: string;
|
|
10519
11280
|
}>,
|
|
10520
11281
|
z.ZodObject<{
|
|
10521
11282
|
id: z.ZodString;
|
|
@@ -11275,6 +12036,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11275
12036
|
}>>;
|
|
11276
12037
|
}, "strip", z.ZodTypeAny, {
|
|
11277
12038
|
name: string;
|
|
12039
|
+
style?: {
|
|
12040
|
+
css?: string | undefined;
|
|
12041
|
+
} | undefined;
|
|
11278
12042
|
start?: {
|
|
11279
12043
|
coordinates?: {
|
|
11280
12044
|
x: number;
|
|
@@ -11286,9 +12050,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11286
12050
|
key: string;
|
|
11287
12051
|
}[] | undefined;
|
|
11288
12052
|
} | undefined;
|
|
11289
|
-
style?: {
|
|
11290
|
-
css?: string | undefined;
|
|
11291
|
-
} | undefined;
|
|
11292
12053
|
languages?: {
|
|
11293
12054
|
default?: string | undefined;
|
|
11294
12055
|
primary?: string | undefined;
|
|
@@ -11308,6 +12069,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11308
12069
|
} | {
|
|
11309
12070
|
type: "ROUTER";
|
|
11310
12071
|
id: string;
|
|
12072
|
+
alias: string;
|
|
11311
12073
|
config: {
|
|
11312
12074
|
rules: {
|
|
11313
12075
|
id: string;
|
|
@@ -11321,7 +12083,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11321
12083
|
x: number;
|
|
11322
12084
|
y: number;
|
|
11323
12085
|
};
|
|
11324
|
-
alias: string;
|
|
11325
12086
|
} | {
|
|
11326
12087
|
type: "STEP";
|
|
11327
12088
|
id: string;
|
|
@@ -11433,6 +12194,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11433
12194
|
translations?: Record<string, any> | undefined;
|
|
11434
12195
|
}, {
|
|
11435
12196
|
name: string;
|
|
12197
|
+
style?: {
|
|
12198
|
+
css?: string | undefined;
|
|
12199
|
+
} | undefined;
|
|
11436
12200
|
start?: {
|
|
11437
12201
|
coordinates?: {
|
|
11438
12202
|
x: number;
|
|
@@ -11444,9 +12208,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11444
12208
|
key: string;
|
|
11445
12209
|
}[] | undefined;
|
|
11446
12210
|
} | undefined;
|
|
11447
|
-
style?: {
|
|
11448
|
-
css?: string | undefined;
|
|
11449
|
-
} | undefined;
|
|
11450
12211
|
languages?: {
|
|
11451
12212
|
default?: string | undefined;
|
|
11452
12213
|
primary?: string | undefined;
|
|
@@ -11466,6 +12227,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11466
12227
|
} | {
|
|
11467
12228
|
type: "ROUTER";
|
|
11468
12229
|
id: string;
|
|
12230
|
+
alias: string;
|
|
11469
12231
|
config: {
|
|
11470
12232
|
rules: {
|
|
11471
12233
|
id: string;
|
|
@@ -11479,7 +12241,6 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11479
12241
|
x: number;
|
|
11480
12242
|
y: number;
|
|
11481
12243
|
};
|
|
11482
|
-
alias: string;
|
|
11483
12244
|
} | {
|
|
11484
12245
|
type: "STEP";
|
|
11485
12246
|
id: string;
|
|
@@ -11720,6 +12481,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11720
12481
|
}, "strip", z.ZodTypeAny, {
|
|
11721
12482
|
type: "ROUTER";
|
|
11722
12483
|
id: string;
|
|
12484
|
+
alias: string;
|
|
11723
12485
|
config: {
|
|
11724
12486
|
rules: {
|
|
11725
12487
|
id: string;
|
|
@@ -11733,10 +12495,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11733
12495
|
x: number;
|
|
11734
12496
|
y: number;
|
|
11735
12497
|
};
|
|
11736
|
-
alias: string;
|
|
11737
12498
|
}, {
|
|
11738
12499
|
type: "ROUTER";
|
|
11739
12500
|
id: string;
|
|
12501
|
+
alias: string;
|
|
11740
12502
|
config: {
|
|
11741
12503
|
rules: {
|
|
11742
12504
|
id: string;
|
|
@@ -11750,7 +12512,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11750
12512
|
x: number;
|
|
11751
12513
|
y: number;
|
|
11752
12514
|
};
|
|
11753
|
-
alias: string;
|
|
11754
12515
|
}>,
|
|
11755
12516
|
z.ZodObject<{
|
|
11756
12517
|
id: z.ZodString;
|
|
@@ -12513,8 +13274,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12513
13274
|
}, "strip", z.ZodTypeAny, {
|
|
12514
13275
|
created_at: string;
|
|
12515
13276
|
updated_at: string;
|
|
12516
|
-
name: string;
|
|
12517
13277
|
id: string;
|
|
13278
|
+
name: string;
|
|
13279
|
+
style?: {
|
|
13280
|
+
css?: string | undefined;
|
|
13281
|
+
} | undefined;
|
|
12518
13282
|
start?: {
|
|
12519
13283
|
coordinates?: {
|
|
12520
13284
|
x: number;
|
|
@@ -12526,9 +13290,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12526
13290
|
key: string;
|
|
12527
13291
|
}[] | undefined;
|
|
12528
13292
|
} | undefined;
|
|
12529
|
-
style?: {
|
|
12530
|
-
css?: string | undefined;
|
|
12531
|
-
} | undefined;
|
|
12532
13293
|
languages?: {
|
|
12533
13294
|
default?: string | undefined;
|
|
12534
13295
|
primary?: string | undefined;
|
|
@@ -12548,6 +13309,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12548
13309
|
} | {
|
|
12549
13310
|
type: "ROUTER";
|
|
12550
13311
|
id: string;
|
|
13312
|
+
alias: string;
|
|
12551
13313
|
config: {
|
|
12552
13314
|
rules: {
|
|
12553
13315
|
id: string;
|
|
@@ -12561,7 +13323,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12561
13323
|
x: number;
|
|
12562
13324
|
y: number;
|
|
12563
13325
|
};
|
|
12564
|
-
alias: string;
|
|
12565
13326
|
} | {
|
|
12566
13327
|
type: "STEP";
|
|
12567
13328
|
id: string;
|
|
@@ -12674,8 +13435,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12674
13435
|
}, {
|
|
12675
13436
|
created_at: string;
|
|
12676
13437
|
updated_at: string;
|
|
12677
|
-
name: string;
|
|
12678
13438
|
id: string;
|
|
13439
|
+
name: string;
|
|
13440
|
+
style?: {
|
|
13441
|
+
css?: string | undefined;
|
|
13442
|
+
} | undefined;
|
|
12679
13443
|
start?: {
|
|
12680
13444
|
coordinates?: {
|
|
12681
13445
|
x: number;
|
|
@@ -12687,9 +13451,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12687
13451
|
key: string;
|
|
12688
13452
|
}[] | undefined;
|
|
12689
13453
|
} | undefined;
|
|
12690
|
-
style?: {
|
|
12691
|
-
css?: string | undefined;
|
|
12692
|
-
} | undefined;
|
|
12693
13454
|
languages?: {
|
|
12694
13455
|
default?: string | undefined;
|
|
12695
13456
|
primary?: string | undefined;
|
|
@@ -12709,6 +13470,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12709
13470
|
} | {
|
|
12710
13471
|
type: "ROUTER";
|
|
12711
13472
|
id: string;
|
|
13473
|
+
alias: string;
|
|
12712
13474
|
config: {
|
|
12713
13475
|
rules: {
|
|
12714
13476
|
id: string;
|
|
@@ -12722,7 +13484,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
12722
13484
|
x: number;
|
|
12723
13485
|
y: number;
|
|
12724
13486
|
};
|
|
12725
|
-
alias: string;
|
|
12726
13487
|
} | {
|
|
12727
13488
|
type: "STEP";
|
|
12728
13489
|
id: string;
|
|
@@ -13033,8 +13794,8 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
13033
13794
|
family_name: z.ZodOptional<z.ZodString>;
|
|
13034
13795
|
}, z.ZodAny, "strip">>>;
|
|
13035
13796
|
}, "strip", z.ZodTypeAny, {
|
|
13036
|
-
connection: string;
|
|
13037
13797
|
user_id: string;
|
|
13798
|
+
connection: string;
|
|
13038
13799
|
provider: string;
|
|
13039
13800
|
isSocial: boolean;
|
|
13040
13801
|
access_token?: string | undefined;
|
|
@@ -13051,8 +13812,8 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
13051
13812
|
family_name: z.ZodOptional<z.ZodString>;
|
|
13052
13813
|
}, z.ZodAny, "strip"> | undefined;
|
|
13053
13814
|
}, {
|
|
13054
|
-
connection: string;
|
|
13055
13815
|
user_id: string;
|
|
13816
|
+
connection: string;
|
|
13056
13817
|
provider: string;
|
|
13057
13818
|
isSocial: boolean;
|
|
13058
13819
|
access_token?: string | undefined;
|
|
@@ -13120,9 +13881,9 @@ export declare const inviteInsertSchema: z.ZodObject<{
|
|
|
13120
13881
|
email?: string | undefined;
|
|
13121
13882
|
};
|
|
13122
13883
|
invitation_url: string;
|
|
13884
|
+
connection_id?: string | undefined;
|
|
13123
13885
|
app_metadata?: Record<string, any> | undefined;
|
|
13124
13886
|
user_metadata?: Record<string, any> | undefined;
|
|
13125
|
-
connection_id?: string | undefined;
|
|
13126
13887
|
ttl_sec?: number | undefined;
|
|
13127
13888
|
roles?: string[] | undefined;
|
|
13128
13889
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13136,9 +13897,9 @@ export declare const inviteInsertSchema: z.ZodObject<{
|
|
|
13136
13897
|
email?: string | undefined;
|
|
13137
13898
|
};
|
|
13138
13899
|
invitation_url: string;
|
|
13900
|
+
connection_id?: string | undefined;
|
|
13139
13901
|
app_metadata?: Record<string, any> | undefined;
|
|
13140
13902
|
user_metadata?: Record<string, any> | undefined;
|
|
13141
|
-
connection_id?: string | undefined;
|
|
13142
13903
|
ttl_sec?: number | undefined;
|
|
13143
13904
|
roles?: string[] | undefined;
|
|
13144
13905
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13175,8 +13936,8 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13175
13936
|
send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13176
13937
|
}, "strip", z.ZodTypeAny, {
|
|
13177
13938
|
created_at: string;
|
|
13178
|
-
client_id: string;
|
|
13179
13939
|
id: string;
|
|
13940
|
+
client_id: string;
|
|
13180
13941
|
expires_at: string;
|
|
13181
13942
|
organization_id: string;
|
|
13182
13943
|
inviter: {
|
|
@@ -13186,17 +13947,17 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13186
13947
|
email?: string | undefined;
|
|
13187
13948
|
};
|
|
13188
13949
|
invitation_url: string;
|
|
13950
|
+
connection_id?: string | undefined;
|
|
13189
13951
|
app_metadata?: Record<string, any> | undefined;
|
|
13190
13952
|
user_metadata?: Record<string, any> | undefined;
|
|
13191
|
-
connection_id?: string | undefined;
|
|
13192
13953
|
ttl_sec?: number | undefined;
|
|
13193
13954
|
roles?: string[] | undefined;
|
|
13194
13955
|
send_invitation_email?: boolean | undefined;
|
|
13195
13956
|
ticket_id?: string | undefined;
|
|
13196
13957
|
}, {
|
|
13197
13958
|
created_at: string;
|
|
13198
|
-
client_id: string;
|
|
13199
13959
|
id: string;
|
|
13960
|
+
client_id: string;
|
|
13200
13961
|
expires_at: string;
|
|
13201
13962
|
organization_id: string;
|
|
13202
13963
|
inviter: {
|
|
@@ -13206,9 +13967,9 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
13206
13967
|
email?: string | undefined;
|
|
13207
13968
|
};
|
|
13208
13969
|
invitation_url: string;
|
|
13970
|
+
connection_id?: string | undefined;
|
|
13209
13971
|
app_metadata?: Record<string, any> | undefined;
|
|
13210
13972
|
user_metadata?: Record<string, any> | undefined;
|
|
13211
|
-
connection_id?: string | undefined;
|
|
13212
13973
|
ttl_sec?: number | undefined;
|
|
13213
13974
|
roles?: string[] | undefined;
|
|
13214
13975
|
send_invitation_email?: boolean | undefined;
|
|
@@ -13920,13 +14681,13 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
13920
14681
|
date: string;
|
|
13921
14682
|
isMobile: boolean;
|
|
13922
14683
|
description?: string | undefined;
|
|
13923
|
-
|
|
14684
|
+
connection_id?: string | undefined;
|
|
13924
14685
|
user_id?: string | undefined;
|
|
14686
|
+
connection?: string | undefined;
|
|
13925
14687
|
client_id?: string | undefined;
|
|
13926
14688
|
audience?: string | undefined;
|
|
13927
14689
|
scope?: string | undefined;
|
|
13928
14690
|
strategy?: string | undefined;
|
|
13929
|
-
connection_id?: string | undefined;
|
|
13930
14691
|
ip?: string | undefined;
|
|
13931
14692
|
user_agent?: string | undefined;
|
|
13932
14693
|
details?: any;
|
|
@@ -13955,13 +14716,13 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
13955
14716
|
date: string;
|
|
13956
14717
|
isMobile: boolean;
|
|
13957
14718
|
description?: string | undefined;
|
|
13958
|
-
|
|
14719
|
+
connection_id?: string | undefined;
|
|
13959
14720
|
user_id?: string | undefined;
|
|
14721
|
+
connection?: string | undefined;
|
|
13960
14722
|
client_id?: string | undefined;
|
|
13961
14723
|
audience?: string | undefined;
|
|
13962
14724
|
scope?: string | undefined;
|
|
13963
14725
|
strategy?: string | undefined;
|
|
13964
|
-
connection_id?: string | undefined;
|
|
13965
14726
|
ip?: string | undefined;
|
|
13966
14727
|
user_agent?: string | undefined;
|
|
13967
14728
|
details?: any;
|
|
@@ -14058,13 +14819,13 @@ export declare const logSchema: z.ZodObject<{
|
|
|
14058
14819
|
isMobile: boolean;
|
|
14059
14820
|
log_id: string;
|
|
14060
14821
|
description?: string | undefined;
|
|
14061
|
-
|
|
14822
|
+
connection_id?: string | undefined;
|
|
14062
14823
|
user_id?: string | undefined;
|
|
14824
|
+
connection?: string | undefined;
|
|
14063
14825
|
client_id?: string | undefined;
|
|
14064
14826
|
audience?: string | undefined;
|
|
14065
14827
|
scope?: string | undefined;
|
|
14066
14828
|
strategy?: string | undefined;
|
|
14067
|
-
connection_id?: string | undefined;
|
|
14068
14829
|
ip?: string | undefined;
|
|
14069
14830
|
user_agent?: string | undefined;
|
|
14070
14831
|
details?: any;
|
|
@@ -14093,13 +14854,13 @@ export declare const logSchema: z.ZodObject<{
|
|
|
14093
14854
|
isMobile: boolean;
|
|
14094
14855
|
log_id: string;
|
|
14095
14856
|
description?: string | undefined;
|
|
14096
|
-
|
|
14857
|
+
connection_id?: string | undefined;
|
|
14097
14858
|
user_id?: string | undefined;
|
|
14859
|
+
connection?: string | undefined;
|
|
14098
14860
|
client_id?: string | undefined;
|
|
14099
14861
|
audience?: string | undefined;
|
|
14100
14862
|
scope?: string | undefined;
|
|
14101
14863
|
strategy?: string | undefined;
|
|
14102
|
-
connection_id?: string | undefined;
|
|
14103
14864
|
ip?: string | undefined;
|
|
14104
14865
|
user_agent?: string | undefined;
|
|
14105
14866
|
details?: any;
|
|
@@ -14160,19 +14921,19 @@ export declare const passwordSchema: z.ZodObject<{
|
|
|
14160
14921
|
created_at: z.ZodString;
|
|
14161
14922
|
updated_at: z.ZodString;
|
|
14162
14923
|
}, "strip", z.ZodTypeAny, {
|
|
14163
|
-
password: string;
|
|
14164
14924
|
created_at: string;
|
|
14165
14925
|
updated_at: string;
|
|
14166
|
-
|
|
14926
|
+
password: string;
|
|
14167
14927
|
id: string;
|
|
14928
|
+
user_id: string;
|
|
14168
14929
|
algorithm: "bcrypt" | "argon2id";
|
|
14169
14930
|
is_current: boolean;
|
|
14170
14931
|
}, {
|
|
14171
|
-
password: string;
|
|
14172
14932
|
created_at: string;
|
|
14173
14933
|
updated_at: string;
|
|
14174
|
-
|
|
14934
|
+
password: string;
|
|
14175
14935
|
id: string;
|
|
14936
|
+
user_id: string;
|
|
14176
14937
|
algorithm?: "bcrypt" | "argon2id" | undefined;
|
|
14177
14938
|
is_current?: boolean | undefined;
|
|
14178
14939
|
}>;
|
|
@@ -14209,8 +14970,8 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
14209
14970
|
}>;
|
|
14210
14971
|
clients: z.ZodArray<z.ZodString, "many">;
|
|
14211
14972
|
}, "strip", z.ZodTypeAny, {
|
|
14212
|
-
user_id: string;
|
|
14213
14973
|
id: string;
|
|
14974
|
+
user_id: string;
|
|
14214
14975
|
clients: string[];
|
|
14215
14976
|
login_session_id: string;
|
|
14216
14977
|
device: {
|
|
@@ -14226,8 +14987,8 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
14226
14987
|
revoked_at?: string | undefined;
|
|
14227
14988
|
idle_expires_at?: string | undefined;
|
|
14228
14989
|
}, {
|
|
14229
|
-
user_id: string;
|
|
14230
14990
|
id: string;
|
|
14991
|
+
user_id: string;
|
|
14231
14992
|
clients: string[];
|
|
14232
14993
|
login_session_id: string;
|
|
14233
14994
|
device: {
|
|
@@ -14282,8 +15043,8 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
14282
15043
|
}, "strip", z.ZodTypeAny, {
|
|
14283
15044
|
created_at: string;
|
|
14284
15045
|
updated_at: string;
|
|
14285
|
-
user_id: string;
|
|
14286
15046
|
id: string;
|
|
15047
|
+
user_id: string;
|
|
14287
15048
|
clients: string[];
|
|
14288
15049
|
login_session_id: string;
|
|
14289
15050
|
device: {
|
|
@@ -14303,8 +15064,8 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
14303
15064
|
}, {
|
|
14304
15065
|
created_at: string;
|
|
14305
15066
|
updated_at: string;
|
|
14306
|
-
user_id: string;
|
|
14307
15067
|
id: string;
|
|
15068
|
+
user_id: string;
|
|
14308
15069
|
clients: string[];
|
|
14309
15070
|
login_session_id: string;
|
|
14310
15071
|
device: {
|
|
@@ -14612,12 +15373,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
14612
15373
|
friendly_name: string;
|
|
14613
15374
|
sender_email: string;
|
|
14614
15375
|
sender_name: string;
|
|
15376
|
+
id?: string | undefined;
|
|
14615
15377
|
allowed_logout_urls?: string[] | undefined;
|
|
14616
15378
|
oidc_logout?: {
|
|
14617
15379
|
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
14618
15380
|
} | undefined;
|
|
14619
15381
|
default_organization?: string | undefined;
|
|
14620
|
-
id?: string | undefined;
|
|
14621
15382
|
picture_url?: string | undefined;
|
|
14622
15383
|
support_email?: string | undefined;
|
|
14623
15384
|
support_url?: string | undefined;
|
|
@@ -14710,12 +15471,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
14710
15471
|
friendly_name: string;
|
|
14711
15472
|
sender_email: string;
|
|
14712
15473
|
sender_name: string;
|
|
15474
|
+
id?: string | undefined;
|
|
14713
15475
|
allowed_logout_urls?: string[] | undefined;
|
|
14714
15476
|
oidc_logout?: {
|
|
14715
15477
|
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
14716
15478
|
} | undefined;
|
|
14717
15479
|
default_organization?: string | undefined;
|
|
14718
|
-
id?: string | undefined;
|
|
14719
15480
|
picture_url?: string | undefined;
|
|
14720
15481
|
support_email?: string | undefined;
|
|
14721
15482
|
support_url?: string | undefined;
|
|
@@ -15043,8 +15804,8 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
15043
15804
|
}, "strip", z.ZodTypeAny, {
|
|
15044
15805
|
created_at: string;
|
|
15045
15806
|
updated_at: string;
|
|
15046
|
-
audience: string;
|
|
15047
15807
|
id: string;
|
|
15808
|
+
audience: string;
|
|
15048
15809
|
friendly_name: string;
|
|
15049
15810
|
sender_email: string;
|
|
15050
15811
|
sender_name: string;
|
|
@@ -15143,8 +15904,8 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
15143
15904
|
}, {
|
|
15144
15905
|
created_at: string | null;
|
|
15145
15906
|
updated_at: string | null;
|
|
15146
|
-
audience: string;
|
|
15147
15907
|
id: string;
|
|
15908
|
+
audience: string;
|
|
15148
15909
|
friendly_name: string;
|
|
15149
15910
|
sender_email: string;
|
|
15150
15911
|
sender_name: string;
|
|
@@ -16615,9 +17376,9 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
16615
17376
|
}>, "many">;
|
|
16616
17377
|
rotating: z.ZodBoolean;
|
|
16617
17378
|
}, "strip", z.ZodTypeAny, {
|
|
17379
|
+
id: string;
|
|
16618
17380
|
user_id: string;
|
|
16619
17381
|
client_id: string;
|
|
16620
|
-
id: string;
|
|
16621
17382
|
session_id: string;
|
|
16622
17383
|
device: {
|
|
16623
17384
|
last_ip: string;
|
|
@@ -16636,9 +17397,9 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
16636
17397
|
idle_expires_at?: string | undefined;
|
|
16637
17398
|
last_exchanged_at?: string | undefined;
|
|
16638
17399
|
}, {
|
|
17400
|
+
id: string;
|
|
16639
17401
|
user_id: string;
|
|
16640
17402
|
client_id: string;
|
|
16641
|
-
id: string;
|
|
16642
17403
|
session_id: string;
|
|
16643
17404
|
device: {
|
|
16644
17405
|
last_ip: string;
|
|
@@ -16702,9 +17463,9 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
16702
17463
|
created_at: z.ZodString;
|
|
16703
17464
|
}, "strip", z.ZodTypeAny, {
|
|
16704
17465
|
created_at: string;
|
|
17466
|
+
id: string;
|
|
16705
17467
|
user_id: string;
|
|
16706
17468
|
client_id: string;
|
|
16707
|
-
id: string;
|
|
16708
17469
|
session_id: string;
|
|
16709
17470
|
device: {
|
|
16710
17471
|
last_ip: string;
|
|
@@ -16724,9 +17485,9 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
16724
17485
|
last_exchanged_at?: string | undefined;
|
|
16725
17486
|
}, {
|
|
16726
17487
|
created_at: string;
|
|
17488
|
+
id: string;
|
|
16727
17489
|
user_id: string;
|
|
16728
17490
|
client_id: string;
|
|
16729
|
-
id: string;
|
|
16730
17491
|
session_id: string;
|
|
16731
17492
|
device: {
|
|
16732
17493
|
last_ip: string;
|
|
@@ -16992,6 +17753,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
16992
17753
|
}, "strip", z.ZodTypeAny, {
|
|
16993
17754
|
name: string;
|
|
16994
17755
|
identifier: string;
|
|
17756
|
+
created_at?: string | undefined;
|
|
17757
|
+
updated_at?: string | undefined;
|
|
16995
17758
|
options?: {
|
|
16996
17759
|
mtls?: {
|
|
16997
17760
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17003,8 +17766,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17003
17766
|
persist_client_authorization?: boolean | undefined;
|
|
17004
17767
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17005
17768
|
} | undefined;
|
|
17006
|
-
created_at?: string | undefined;
|
|
17007
|
-
updated_at?: string | undefined;
|
|
17008
17769
|
id?: string | undefined;
|
|
17009
17770
|
scopes?: {
|
|
17010
17771
|
value: string;
|
|
@@ -17020,6 +17781,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17020
17781
|
}, {
|
|
17021
17782
|
name: string;
|
|
17022
17783
|
identifier: string;
|
|
17784
|
+
created_at?: string | undefined;
|
|
17785
|
+
updated_at?: string | undefined;
|
|
17023
17786
|
options?: {
|
|
17024
17787
|
mtls?: {
|
|
17025
17788
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17031,8 +17794,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
17031
17794
|
persist_client_authorization?: boolean | undefined;
|
|
17032
17795
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17033
17796
|
} | undefined;
|
|
17034
|
-
created_at?: string | undefined;
|
|
17035
|
-
updated_at?: string | undefined;
|
|
17036
17797
|
id?: string | undefined;
|
|
17037
17798
|
scopes?: {
|
|
17038
17799
|
value: string;
|
|
@@ -17111,6 +17872,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17111
17872
|
}, "strip", z.ZodTypeAny, {
|
|
17112
17873
|
name: string;
|
|
17113
17874
|
identifier: string;
|
|
17875
|
+
created_at?: string | undefined;
|
|
17876
|
+
updated_at?: string | undefined;
|
|
17114
17877
|
options?: {
|
|
17115
17878
|
mtls?: {
|
|
17116
17879
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17122,8 +17885,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17122
17885
|
persist_client_authorization?: boolean | undefined;
|
|
17123
17886
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17124
17887
|
} | undefined;
|
|
17125
|
-
created_at?: string | undefined;
|
|
17126
|
-
updated_at?: string | undefined;
|
|
17127
17888
|
id?: string | undefined;
|
|
17128
17889
|
scopes?: {
|
|
17129
17890
|
value: string;
|
|
@@ -17139,6 +17900,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17139
17900
|
}, {
|
|
17140
17901
|
name: string;
|
|
17141
17902
|
identifier: string;
|
|
17903
|
+
created_at?: string | undefined;
|
|
17904
|
+
updated_at?: string | undefined;
|
|
17142
17905
|
options?: {
|
|
17143
17906
|
mtls?: {
|
|
17144
17907
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -17150,8 +17913,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17150
17913
|
persist_client_authorization?: boolean | undefined;
|
|
17151
17914
|
enable_introspection_endpoint?: boolean | undefined;
|
|
17152
17915
|
} | undefined;
|
|
17153
|
-
created_at?: string | undefined;
|
|
17154
|
-
updated_at?: string | undefined;
|
|
17155
17916
|
id?: string | undefined;
|
|
17156
17917
|
scopes?: {
|
|
17157
17918
|
value: string;
|
|
@@ -17290,16 +18051,16 @@ export declare const userPermissionWithDetailsSchema: z.ZodObject<{
|
|
|
17290
18051
|
resource_server_identifier: string;
|
|
17291
18052
|
permission_name: string;
|
|
17292
18053
|
resource_server_name: string;
|
|
17293
|
-
description?: string | null | undefined;
|
|
17294
18054
|
created_at?: string | undefined;
|
|
18055
|
+
description?: string | null | undefined;
|
|
17295
18056
|
organization_id?: string | undefined;
|
|
17296
18057
|
}, {
|
|
17297
18058
|
user_id: string;
|
|
17298
18059
|
resource_server_identifier: string;
|
|
17299
18060
|
permission_name: string;
|
|
17300
18061
|
resource_server_name: string;
|
|
17301
|
-
description?: string | null | undefined;
|
|
17302
18062
|
created_at?: string | undefined;
|
|
18063
|
+
description?: string | null | undefined;
|
|
17303
18064
|
organization_id?: string | undefined;
|
|
17304
18065
|
}>;
|
|
17305
18066
|
export type UserPermissionWithDetails = z.infer<typeof userPermissionWithDetailsSchema>;
|
|
@@ -17316,16 +18077,16 @@ export declare const userPermissionWithDetailsListSchema: z.ZodArray<z.ZodObject
|
|
|
17316
18077
|
resource_server_identifier: string;
|
|
17317
18078
|
permission_name: string;
|
|
17318
18079
|
resource_server_name: string;
|
|
17319
|
-
description?: string | null | undefined;
|
|
17320
18080
|
created_at?: string | undefined;
|
|
18081
|
+
description?: string | null | undefined;
|
|
17321
18082
|
organization_id?: string | undefined;
|
|
17322
18083
|
}, {
|
|
17323
18084
|
user_id: string;
|
|
17324
18085
|
resource_server_identifier: string;
|
|
17325
18086
|
permission_name: string;
|
|
17326
18087
|
resource_server_name: string;
|
|
17327
|
-
description?: string | null | undefined;
|
|
17328
18088
|
created_at?: string | undefined;
|
|
18089
|
+
description?: string | null | undefined;
|
|
17329
18090
|
organization_id?: string | undefined;
|
|
17330
18091
|
}>, "many">;
|
|
17331
18092
|
export type UserPermissionWithDetailsList = z.infer<typeof userPermissionWithDetailsListSchema>;
|
|
@@ -17400,17 +18161,17 @@ export declare const roleSchema: z.ZodObject<{
|
|
|
17400
18161
|
description: z.ZodOptional<z.ZodString>;
|
|
17401
18162
|
id: z.ZodString;
|
|
17402
18163
|
}, "strip", z.ZodTypeAny, {
|
|
17403
|
-
name: string;
|
|
17404
18164
|
id: string;
|
|
17405
|
-
|
|
18165
|
+
name: string;
|
|
17406
18166
|
created_at?: string | undefined;
|
|
17407
18167
|
updated_at?: string | undefined;
|
|
18168
|
+
description?: string | undefined;
|
|
17408
18169
|
}, {
|
|
17409
|
-
name: string;
|
|
17410
18170
|
id: string;
|
|
17411
|
-
|
|
18171
|
+
name: string;
|
|
17412
18172
|
created_at?: string | undefined;
|
|
17413
18173
|
updated_at?: string | undefined;
|
|
18174
|
+
description?: string | undefined;
|
|
17414
18175
|
}>;
|
|
17415
18176
|
export type Role = z.infer<typeof roleSchema>;
|
|
17416
18177
|
export type RoleInsert = z.infer<typeof roleInsertSchema>;
|
|
@@ -17421,17 +18182,17 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
|
|
|
17421
18182
|
description: z.ZodOptional<z.ZodString>;
|
|
17422
18183
|
id: z.ZodString;
|
|
17423
18184
|
}, "strip", z.ZodTypeAny, {
|
|
17424
|
-
name: string;
|
|
17425
18185
|
id: string;
|
|
17426
|
-
|
|
18186
|
+
name: string;
|
|
17427
18187
|
created_at?: string | undefined;
|
|
17428
18188
|
updated_at?: string | undefined;
|
|
18189
|
+
description?: string | undefined;
|
|
17429
18190
|
}, {
|
|
17430
|
-
name: string;
|
|
17431
18191
|
id: string;
|
|
17432
|
-
|
|
18192
|
+
name: string;
|
|
17433
18193
|
created_at?: string | undefined;
|
|
17434
18194
|
updated_at?: string | undefined;
|
|
18195
|
+
description?: string | undefined;
|
|
17435
18196
|
}>, "many">;
|
|
17436
18197
|
export type RoleList = z.infer<typeof roleListSchema>;
|
|
17437
18198
|
export declare const organizationBrandingSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -17465,8 +18226,8 @@ export declare const organizationEnabledConnectionSchema: z.ZodObject<{
|
|
|
17465
18226
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17466
18227
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17467
18228
|
}, "strip", z.ZodTypeAny, {
|
|
17468
|
-
show_as_button: boolean;
|
|
17469
18229
|
connection_id: string;
|
|
18230
|
+
show_as_button: boolean;
|
|
17470
18231
|
assign_membership_on_login: boolean;
|
|
17471
18232
|
is_signup_enabled: boolean;
|
|
17472
18233
|
}, {
|
|
@@ -17538,8 +18299,8 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17538
18299
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17539
18300
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17540
18301
|
}, "strip", z.ZodTypeAny, {
|
|
17541
|
-
show_as_button: boolean;
|
|
17542
18302
|
connection_id: string;
|
|
18303
|
+
show_as_button: boolean;
|
|
17543
18304
|
assign_membership_on_login: boolean;
|
|
17544
18305
|
is_signup_enabled: boolean;
|
|
17545
18306
|
}, {
|
|
@@ -17577,6 +18338,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17577
18338
|
}>>;
|
|
17578
18339
|
}, "strip", z.ZodTypeAny, {
|
|
17579
18340
|
name: string;
|
|
18341
|
+
id?: string | undefined;
|
|
17580
18342
|
token_quota?: {
|
|
17581
18343
|
client_credentials?: {
|
|
17582
18344
|
enforce: boolean;
|
|
@@ -17584,7 +18346,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17584
18346
|
per_hour: number;
|
|
17585
18347
|
} | undefined;
|
|
17586
18348
|
} | undefined;
|
|
17587
|
-
id?: string | undefined;
|
|
17588
18349
|
display_name?: string | undefined;
|
|
17589
18350
|
metadata?: Record<string, any> | undefined;
|
|
17590
18351
|
branding?: {
|
|
@@ -17595,13 +18356,14 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17595
18356
|
logo_url?: string | undefined;
|
|
17596
18357
|
} | undefined;
|
|
17597
18358
|
enabled_connections?: {
|
|
17598
|
-
show_as_button: boolean;
|
|
17599
18359
|
connection_id: string;
|
|
18360
|
+
show_as_button: boolean;
|
|
17600
18361
|
assign_membership_on_login: boolean;
|
|
17601
18362
|
is_signup_enabled: boolean;
|
|
17602
18363
|
}[] | undefined;
|
|
17603
18364
|
}, {
|
|
17604
18365
|
name: string;
|
|
18366
|
+
id?: string | undefined;
|
|
17605
18367
|
token_quota?: {
|
|
17606
18368
|
client_credentials?: {
|
|
17607
18369
|
enforce?: boolean | undefined;
|
|
@@ -17609,7 +18371,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
|
|
|
17609
18371
|
per_hour?: number | undefined;
|
|
17610
18372
|
} | undefined;
|
|
17611
18373
|
} | undefined;
|
|
17612
|
-
id?: string | undefined;
|
|
17613
18374
|
display_name?: string | undefined;
|
|
17614
18375
|
metadata?: Record<string, any> | undefined;
|
|
17615
18376
|
branding?: {
|
|
@@ -17665,8 +18426,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17665
18426
|
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
17666
18427
|
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17667
18428
|
}, "strip", z.ZodTypeAny, {
|
|
17668
|
-
show_as_button: boolean;
|
|
17669
18429
|
connection_id: string;
|
|
18430
|
+
show_as_button: boolean;
|
|
17670
18431
|
assign_membership_on_login: boolean;
|
|
17671
18432
|
is_signup_enabled: boolean;
|
|
17672
18433
|
}, {
|
|
@@ -17705,8 +18466,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17705
18466
|
}, "strip", z.ZodTypeAny, {
|
|
17706
18467
|
created_at: string;
|
|
17707
18468
|
updated_at: string;
|
|
17708
|
-
name: string;
|
|
17709
18469
|
id: string;
|
|
18470
|
+
name: string;
|
|
17710
18471
|
token_quota?: {
|
|
17711
18472
|
client_credentials?: {
|
|
17712
18473
|
enforce: boolean;
|
|
@@ -17724,16 +18485,16 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
17724
18485
|
logo_url?: string | undefined;
|
|
17725
18486
|
} | undefined;
|
|
17726
18487
|
enabled_connections?: {
|
|
17727
|
-
show_as_button: boolean;
|
|
17728
18488
|
connection_id: string;
|
|
18489
|
+
show_as_button: boolean;
|
|
17729
18490
|
assign_membership_on_login: boolean;
|
|
17730
18491
|
is_signup_enabled: boolean;
|
|
17731
18492
|
}[] | undefined;
|
|
17732
18493
|
}, {
|
|
17733
18494
|
created_at: string;
|
|
17734
18495
|
updated_at: string;
|
|
17735
|
-
name: string;
|
|
17736
18496
|
id: string;
|
|
18497
|
+
name: string;
|
|
17737
18498
|
token_quota?: {
|
|
17738
18499
|
client_credentials?: {
|
|
17739
18500
|
enforce?: boolean | undefined;
|
|
@@ -17778,14 +18539,14 @@ export declare const userOrganizationSchema: z.ZodObject<{
|
|
|
17778
18539
|
}, "strip", z.ZodTypeAny, {
|
|
17779
18540
|
created_at: string;
|
|
17780
18541
|
updated_at: string;
|
|
17781
|
-
user_id: string;
|
|
17782
18542
|
id: string;
|
|
18543
|
+
user_id: string;
|
|
17783
18544
|
organization_id: string;
|
|
17784
18545
|
}, {
|
|
17785
18546
|
created_at: string;
|
|
17786
18547
|
updated_at: string;
|
|
17787
|
-
user_id: string;
|
|
17788
18548
|
id: string;
|
|
18549
|
+
user_id: string;
|
|
17789
18550
|
organization_id: string;
|
|
17790
18551
|
}>;
|
|
17791
18552
|
export type UserOrganization = z.infer<typeof userOrganizationSchema>;
|
|
@@ -18045,16 +18806,16 @@ export declare const dailyStatsSchema: z.ZodObject<{
|
|
|
18045
18806
|
updated_at: z.ZodString;
|
|
18046
18807
|
created_at: z.ZodString;
|
|
18047
18808
|
}, "strip", z.ZodTypeAny, {
|
|
18048
|
-
date: string;
|
|
18049
18809
|
created_at: string;
|
|
18050
18810
|
updated_at: string;
|
|
18811
|
+
date: string;
|
|
18051
18812
|
logins: number;
|
|
18052
18813
|
signups: number;
|
|
18053
18814
|
leaked_passwords: number;
|
|
18054
18815
|
}, {
|
|
18055
|
-
date: string;
|
|
18056
18816
|
created_at: string;
|
|
18057
18817
|
updated_at: string;
|
|
18818
|
+
date: string;
|
|
18058
18819
|
logins: number;
|
|
18059
18820
|
signups: number;
|
|
18060
18821
|
leaked_passwords: number;
|
|
@@ -18177,6 +18938,16 @@ export declare function createPassthroughAdapter<T extends object>(config: Passt
|
|
|
18177
18938
|
* ```
|
|
18178
18939
|
*/
|
|
18179
18940
|
export declare function createWriteOnlyAdapter<T>(implementation: Partial<T>): Partial<T>;
|
|
18941
|
+
export interface ListFlowsResponse extends Totals {
|
|
18942
|
+
flows: Flow[];
|
|
18943
|
+
}
|
|
18944
|
+
export interface FlowsAdapter {
|
|
18945
|
+
create(tenant_id: string, params: FlowInsert): Promise<Flow>;
|
|
18946
|
+
get(tenant_id: string, flow_id: string): Promise<Flow | null>;
|
|
18947
|
+
remove(tenant_id: string, flow_id: string): Promise<boolean>;
|
|
18948
|
+
update(tenant_id: string, flow_id: string, flow: Partial<FlowInsert>): Promise<Flow | null>;
|
|
18949
|
+
list(tenant_id: string, params?: ListParams): Promise<ListFlowsResponse>;
|
|
18950
|
+
}
|
|
18180
18951
|
export interface CacheItem<T = any> {
|
|
18181
18952
|
value: T;
|
|
18182
18953
|
expiresAt?: Date;
|
|
@@ -18522,6 +19293,7 @@ export interface DataAdapters {
|
|
|
18522
19293
|
connections: ConnectionsAdapter;
|
|
18523
19294
|
customDomains: CustomDomainsAdapter;
|
|
18524
19295
|
emailProviders: EmailProvidersAdapter;
|
|
19296
|
+
flows: FlowsAdapter;
|
|
18525
19297
|
forms: FormsAdapter;
|
|
18526
19298
|
geo?: GeoAdapter;
|
|
18527
19299
|
hooks: HooksAdapter;
|
|
@@ -19308,9 +20080,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19308
20080
|
};
|
|
19309
20081
|
};
|
|
19310
20082
|
output: {
|
|
19311
|
-
date: string;
|
|
19312
20083
|
created_at: string;
|
|
19313
20084
|
updated_at: string;
|
|
20085
|
+
date: string;
|
|
19314
20086
|
logins: number;
|
|
19315
20087
|
signups: number;
|
|
19316
20088
|
leaked_passwords: number;
|
|
@@ -19351,8 +20123,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19351
20123
|
output: {
|
|
19352
20124
|
created_at: string;
|
|
19353
20125
|
updated_at: string;
|
|
19354
|
-
name: string;
|
|
19355
20126
|
id: string;
|
|
20127
|
+
name: string;
|
|
19356
20128
|
token_quota?: {
|
|
19357
20129
|
client_credentials?: {
|
|
19358
20130
|
enforce: boolean;
|
|
@@ -19372,8 +20144,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19372
20144
|
logo_url?: string | undefined | undefined;
|
|
19373
20145
|
} | undefined;
|
|
19374
20146
|
enabled_connections?: {
|
|
19375
|
-
show_as_button: boolean;
|
|
19376
20147
|
connection_id: string;
|
|
20148
|
+
show_as_button: boolean;
|
|
19377
20149
|
assign_membership_on_login: boolean;
|
|
19378
20150
|
is_signup_enabled: boolean;
|
|
19379
20151
|
}[] | undefined;
|
|
@@ -19384,8 +20156,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19384
20156
|
organizations: {
|
|
19385
20157
|
created_at: string;
|
|
19386
20158
|
updated_at: string;
|
|
19387
|
-
name: string;
|
|
19388
20159
|
id: string;
|
|
20160
|
+
name: string;
|
|
19389
20161
|
token_quota?: {
|
|
19390
20162
|
client_credentials?: {
|
|
19391
20163
|
enforce: boolean;
|
|
@@ -19405,8 +20177,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19405
20177
|
logo_url?: string | undefined | undefined;
|
|
19406
20178
|
} | undefined;
|
|
19407
20179
|
enabled_connections?: {
|
|
19408
|
-
show_as_button: boolean;
|
|
19409
20180
|
connection_id: string;
|
|
20181
|
+
show_as_button: boolean;
|
|
19410
20182
|
assign_membership_on_login: boolean;
|
|
19411
20183
|
is_signup_enabled: boolean;
|
|
19412
20184
|
}[] | undefined;
|
|
@@ -19431,8 +20203,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19431
20203
|
output: {
|
|
19432
20204
|
created_at: string;
|
|
19433
20205
|
updated_at: string;
|
|
19434
|
-
name: string;
|
|
19435
20206
|
id: string;
|
|
20207
|
+
name: string;
|
|
19436
20208
|
token_quota?: {
|
|
19437
20209
|
client_credentials?: {
|
|
19438
20210
|
enforce: boolean;
|
|
@@ -19452,8 +20224,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19452
20224
|
logo_url?: string | undefined | undefined;
|
|
19453
20225
|
} | undefined;
|
|
19454
20226
|
enabled_connections?: {
|
|
19455
|
-
show_as_button: boolean;
|
|
19456
20227
|
connection_id: string;
|
|
20228
|
+
show_as_button: boolean;
|
|
19457
20229
|
assign_membership_on_login: boolean;
|
|
19458
20230
|
is_signup_enabled: boolean;
|
|
19459
20231
|
}[] | undefined;
|
|
@@ -19521,8 +20293,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19521
20293
|
output: {
|
|
19522
20294
|
created_at: string;
|
|
19523
20295
|
updated_at: string;
|
|
19524
|
-
name: string;
|
|
19525
20296
|
id: string;
|
|
20297
|
+
name: string;
|
|
19526
20298
|
token_quota?: {
|
|
19527
20299
|
client_credentials?: {
|
|
19528
20300
|
enforce: boolean;
|
|
@@ -19542,8 +20314,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19542
20314
|
logo_url?: string | undefined | undefined;
|
|
19543
20315
|
} | undefined;
|
|
19544
20316
|
enabled_connections?: {
|
|
19545
|
-
show_as_button: boolean;
|
|
19546
20317
|
connection_id: string;
|
|
20318
|
+
show_as_button: boolean;
|
|
19547
20319
|
assign_membership_on_login: boolean;
|
|
19548
20320
|
is_signup_enabled: boolean;
|
|
19549
20321
|
}[] | undefined;
|
|
@@ -19562,6 +20334,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19562
20334
|
} & {
|
|
19563
20335
|
json: {
|
|
19564
20336
|
name: string;
|
|
20337
|
+
id?: string | undefined;
|
|
19565
20338
|
token_quota?: {
|
|
19566
20339
|
client_credentials?: {
|
|
19567
20340
|
enforce?: boolean | undefined;
|
|
@@ -19569,7 +20342,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19569
20342
|
per_hour?: number | undefined;
|
|
19570
20343
|
} | undefined;
|
|
19571
20344
|
} | undefined;
|
|
19572
|
-
id?: string | undefined;
|
|
19573
20345
|
display_name?: string | undefined;
|
|
19574
20346
|
metadata?: Record<string, any> | undefined;
|
|
19575
20347
|
branding?: {
|
|
@@ -19590,8 +20362,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19590
20362
|
output: {
|
|
19591
20363
|
created_at: string;
|
|
19592
20364
|
updated_at: string;
|
|
19593
|
-
name: string;
|
|
19594
20365
|
id: string;
|
|
20366
|
+
name: string;
|
|
19595
20367
|
token_quota?: {
|
|
19596
20368
|
client_credentials?: {
|
|
19597
20369
|
enforce: boolean;
|
|
@@ -19611,8 +20383,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19611
20383
|
logo_url?: string | undefined | undefined;
|
|
19612
20384
|
} | undefined;
|
|
19613
20385
|
enabled_connections?: {
|
|
19614
|
-
show_as_button: boolean;
|
|
19615
20386
|
connection_id: string;
|
|
20387
|
+
show_as_button: boolean;
|
|
19616
20388
|
assign_membership_on_login: boolean;
|
|
19617
20389
|
is_signup_enabled: boolean;
|
|
19618
20390
|
}[] | undefined;
|
|
@@ -19730,11 +20502,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19730
20502
|
};
|
|
19731
20503
|
};
|
|
19732
20504
|
output: {
|
|
19733
|
-
name: string;
|
|
19734
20505
|
id: string;
|
|
19735
|
-
|
|
20506
|
+
name: string;
|
|
19736
20507
|
created_at?: string | undefined | undefined;
|
|
19737
20508
|
updated_at?: string | undefined | undefined;
|
|
20509
|
+
description?: string | undefined | undefined;
|
|
19738
20510
|
}[];
|
|
19739
20511
|
outputFormat: "json";
|
|
19740
20512
|
status: 200;
|
|
@@ -19805,11 +20577,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19805
20577
|
};
|
|
19806
20578
|
};
|
|
19807
20579
|
output: {
|
|
19808
|
-
name: string;
|
|
19809
20580
|
id: string;
|
|
19810
|
-
|
|
20581
|
+
name: string;
|
|
19811
20582
|
created_at?: string | undefined | undefined;
|
|
19812
20583
|
updated_at?: string | undefined | undefined;
|
|
20584
|
+
description?: string | undefined | undefined;
|
|
19813
20585
|
}[];
|
|
19814
20586
|
outputFormat: "json";
|
|
19815
20587
|
status: 200;
|
|
@@ -19838,8 +20610,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19838
20610
|
};
|
|
19839
20611
|
output: {
|
|
19840
20612
|
created_at: string;
|
|
19841
|
-
client_id: string;
|
|
19842
20613
|
id: string;
|
|
20614
|
+
client_id: string;
|
|
19843
20615
|
expires_at: string;
|
|
19844
20616
|
organization_id: string;
|
|
19845
20617
|
inviter: {
|
|
@@ -19849,13 +20621,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19849
20621
|
email?: string | undefined | undefined;
|
|
19850
20622
|
};
|
|
19851
20623
|
invitation_url: string;
|
|
20624
|
+
connection_id?: string | undefined | undefined;
|
|
19852
20625
|
app_metadata?: {
|
|
19853
20626
|
[x: string]: any;
|
|
19854
20627
|
} | undefined;
|
|
19855
20628
|
user_metadata?: {
|
|
19856
20629
|
[x: string]: any;
|
|
19857
20630
|
} | undefined;
|
|
19858
|
-
connection_id?: string | undefined | undefined;
|
|
19859
20631
|
ttl_sec?: number | undefined | undefined;
|
|
19860
20632
|
roles?: string[] | undefined | undefined;
|
|
19861
20633
|
send_invitation_email?: boolean | undefined | undefined;
|
|
@@ -19866,8 +20638,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19866
20638
|
limit: number;
|
|
19867
20639
|
invitations: {
|
|
19868
20640
|
created_at: string;
|
|
19869
|
-
client_id: string;
|
|
19870
20641
|
id: string;
|
|
20642
|
+
client_id: string;
|
|
19871
20643
|
expires_at: string;
|
|
19872
20644
|
organization_id: string;
|
|
19873
20645
|
inviter: {
|
|
@@ -19877,13 +20649,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19877
20649
|
email?: string | undefined | undefined;
|
|
19878
20650
|
};
|
|
19879
20651
|
invitation_url: string;
|
|
20652
|
+
connection_id?: string | undefined | undefined;
|
|
19880
20653
|
app_metadata?: {
|
|
19881
20654
|
[x: string]: any;
|
|
19882
20655
|
} | undefined;
|
|
19883
20656
|
user_metadata?: {
|
|
19884
20657
|
[x: string]: any;
|
|
19885
20658
|
} | undefined;
|
|
19886
|
-
connection_id?: string | undefined | undefined;
|
|
19887
20659
|
ttl_sec?: number | undefined | undefined;
|
|
19888
20660
|
roles?: string[] | undefined | undefined;
|
|
19889
20661
|
send_invitation_email?: boolean | undefined | undefined;
|
|
@@ -19923,8 +20695,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19923
20695
|
};
|
|
19924
20696
|
output: {
|
|
19925
20697
|
created_at: string;
|
|
19926
|
-
client_id: string;
|
|
19927
20698
|
id: string;
|
|
20699
|
+
client_id: string;
|
|
19928
20700
|
expires_at: string;
|
|
19929
20701
|
organization_id: string;
|
|
19930
20702
|
inviter: {
|
|
@@ -19934,13 +20706,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19934
20706
|
email?: string | undefined | undefined;
|
|
19935
20707
|
};
|
|
19936
20708
|
invitation_url: string;
|
|
20709
|
+
connection_id?: string | undefined | undefined;
|
|
19937
20710
|
app_metadata?: {
|
|
19938
20711
|
[x: string]: any;
|
|
19939
20712
|
} | undefined;
|
|
19940
20713
|
user_metadata?: {
|
|
19941
20714
|
[x: string]: any;
|
|
19942
20715
|
} | undefined;
|
|
19943
|
-
connection_id?: string | undefined | undefined;
|
|
19944
20716
|
ttl_sec?: number | undefined | undefined;
|
|
19945
20717
|
roles?: string[] | undefined | undefined;
|
|
19946
20718
|
send_invitation_email?: boolean | undefined | undefined;
|
|
@@ -19980,8 +20752,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19980
20752
|
};
|
|
19981
20753
|
output: {
|
|
19982
20754
|
created_at: string;
|
|
19983
|
-
client_id: string;
|
|
19984
20755
|
id: string;
|
|
20756
|
+
client_id: string;
|
|
19985
20757
|
expires_at: string;
|
|
19986
20758
|
organization_id: string;
|
|
19987
20759
|
inviter: {
|
|
@@ -19991,13 +20763,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
19991
20763
|
email?: string | undefined | undefined;
|
|
19992
20764
|
};
|
|
19993
20765
|
invitation_url: string;
|
|
20766
|
+
connection_id?: string | undefined | undefined;
|
|
19994
20767
|
app_metadata?: {
|
|
19995
20768
|
[x: string]: any;
|
|
19996
20769
|
} | undefined;
|
|
19997
20770
|
user_metadata?: {
|
|
19998
20771
|
[x: string]: any;
|
|
19999
20772
|
} | undefined;
|
|
20000
|
-
connection_id?: string | undefined | undefined;
|
|
20001
20773
|
ttl_sec?: number | undefined | undefined;
|
|
20002
20774
|
roles?: string[] | undefined | undefined;
|
|
20003
20775
|
send_invitation_email?: boolean | undefined | undefined;
|
|
@@ -20058,6 +20830,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20058
20830
|
output: {
|
|
20059
20831
|
name: string;
|
|
20060
20832
|
identifier: string;
|
|
20833
|
+
created_at?: string | undefined | undefined;
|
|
20834
|
+
updated_at?: string | undefined | undefined;
|
|
20061
20835
|
options?: {
|
|
20062
20836
|
mtls?: {
|
|
20063
20837
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20069,8 +20843,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20069
20843
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20070
20844
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20071
20845
|
} | undefined;
|
|
20072
|
-
created_at?: string | undefined | undefined;
|
|
20073
|
-
updated_at?: string | undefined | undefined;
|
|
20074
20846
|
id?: string | undefined | undefined;
|
|
20075
20847
|
scopes?: {
|
|
20076
20848
|
value: string;
|
|
@@ -20090,6 +20862,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20090
20862
|
resource_servers: {
|
|
20091
20863
|
name: string;
|
|
20092
20864
|
identifier: string;
|
|
20865
|
+
created_at?: string | undefined | undefined;
|
|
20866
|
+
updated_at?: string | undefined | undefined;
|
|
20093
20867
|
options?: {
|
|
20094
20868
|
mtls?: {
|
|
20095
20869
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20101,8 +20875,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20101
20875
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20102
20876
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20103
20877
|
} | undefined;
|
|
20104
|
-
created_at?: string | undefined | undefined;
|
|
20105
|
-
updated_at?: string | undefined | undefined;
|
|
20106
20878
|
id?: string | undefined | undefined;
|
|
20107
20879
|
scopes?: {
|
|
20108
20880
|
value: string;
|
|
@@ -20136,6 +20908,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20136
20908
|
output: {
|
|
20137
20909
|
name: string;
|
|
20138
20910
|
identifier: string;
|
|
20911
|
+
created_at?: string | undefined | undefined;
|
|
20912
|
+
updated_at?: string | undefined | undefined;
|
|
20139
20913
|
options?: {
|
|
20140
20914
|
mtls?: {
|
|
20141
20915
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20147,8 +20921,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20147
20921
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20148
20922
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20149
20923
|
} | undefined;
|
|
20150
|
-
created_at?: string | undefined | undefined;
|
|
20151
|
-
updated_at?: string | undefined | undefined;
|
|
20152
20924
|
id?: string | undefined | undefined;
|
|
20153
20925
|
scopes?: {
|
|
20154
20926
|
value: string;
|
|
@@ -20225,6 +20997,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20225
20997
|
output: {
|
|
20226
20998
|
name: string;
|
|
20227
20999
|
identifier: string;
|
|
21000
|
+
created_at?: string | undefined | undefined;
|
|
21001
|
+
updated_at?: string | undefined | undefined;
|
|
20228
21002
|
options?: {
|
|
20229
21003
|
mtls?: {
|
|
20230
21004
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20236,8 +21010,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20236
21010
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20237
21011
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20238
21012
|
} | undefined;
|
|
20239
|
-
created_at?: string | undefined | undefined;
|
|
20240
|
-
updated_at?: string | undefined | undefined;
|
|
20241
21013
|
id?: string | undefined | undefined;
|
|
20242
21014
|
scopes?: {
|
|
20243
21015
|
value: string;
|
|
@@ -20293,6 +21065,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20293
21065
|
output: {
|
|
20294
21066
|
name: string;
|
|
20295
21067
|
identifier: string;
|
|
21068
|
+
created_at?: string | undefined | undefined;
|
|
21069
|
+
updated_at?: string | undefined | undefined;
|
|
20296
21070
|
options?: {
|
|
20297
21071
|
mtls?: {
|
|
20298
21072
|
bound_access_tokens?: boolean | undefined | undefined;
|
|
@@ -20304,8 +21078,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20304
21078
|
persist_client_authorization?: boolean | undefined | undefined;
|
|
20305
21079
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
20306
21080
|
} | undefined;
|
|
20307
|
-
created_at?: string | undefined | undefined;
|
|
20308
|
-
updated_at?: string | undefined | undefined;
|
|
20309
21081
|
id?: string | undefined | undefined;
|
|
20310
21082
|
scopes?: {
|
|
20311
21083
|
value: string;
|
|
@@ -20340,21 +21112,21 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20340
21112
|
};
|
|
20341
21113
|
};
|
|
20342
21114
|
output: {
|
|
20343
|
-
name: string;
|
|
20344
21115
|
id: string;
|
|
20345
|
-
|
|
21116
|
+
name: string;
|
|
20346
21117
|
created_at?: string | undefined | undefined;
|
|
20347
21118
|
updated_at?: string | undefined | undefined;
|
|
21119
|
+
description?: string | undefined | undefined;
|
|
20348
21120
|
}[] | {
|
|
20349
21121
|
length: number;
|
|
20350
21122
|
start: number;
|
|
20351
21123
|
limit: number;
|
|
20352
21124
|
roles: {
|
|
20353
|
-
name: string;
|
|
20354
21125
|
id: string;
|
|
20355
|
-
|
|
21126
|
+
name: string;
|
|
20356
21127
|
created_at?: string | undefined | undefined;
|
|
20357
21128
|
updated_at?: string | undefined | undefined;
|
|
21129
|
+
description?: string | undefined | undefined;
|
|
20358
21130
|
}[];
|
|
20359
21131
|
};
|
|
20360
21132
|
outputFormat: "json";
|
|
@@ -20374,11 +21146,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20374
21146
|
};
|
|
20375
21147
|
};
|
|
20376
21148
|
output: {
|
|
20377
|
-
name: string;
|
|
20378
21149
|
id: string;
|
|
20379
|
-
|
|
21150
|
+
name: string;
|
|
20380
21151
|
created_at?: string | undefined | undefined;
|
|
20381
21152
|
updated_at?: string | undefined | undefined;
|
|
21153
|
+
description?: string | undefined | undefined;
|
|
20382
21154
|
};
|
|
20383
21155
|
outputFormat: "json";
|
|
20384
21156
|
status: 200;
|
|
@@ -20398,11 +21170,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20398
21170
|
};
|
|
20399
21171
|
};
|
|
20400
21172
|
output: {
|
|
20401
|
-
name: string;
|
|
20402
21173
|
id: string;
|
|
20403
|
-
|
|
21174
|
+
name: string;
|
|
20404
21175
|
created_at?: string | undefined | undefined;
|
|
20405
21176
|
updated_at?: string | undefined | undefined;
|
|
21177
|
+
description?: string | undefined | undefined;
|
|
20406
21178
|
};
|
|
20407
21179
|
outputFormat: "json";
|
|
20408
21180
|
status: 201;
|
|
@@ -20426,11 +21198,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20426
21198
|
};
|
|
20427
21199
|
};
|
|
20428
21200
|
output: {
|
|
20429
|
-
name: string;
|
|
20430
21201
|
id: string;
|
|
20431
|
-
|
|
21202
|
+
name: string;
|
|
20432
21203
|
created_at?: string | undefined | undefined;
|
|
20433
21204
|
updated_at?: string | undefined | undefined;
|
|
21205
|
+
description?: string | undefined | undefined;
|
|
20434
21206
|
};
|
|
20435
21207
|
outputFormat: "json";
|
|
20436
21208
|
status: 200;
|
|
@@ -20473,19 +21245,241 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20473
21245
|
"tenant-id": string;
|
|
20474
21246
|
};
|
|
20475
21247
|
};
|
|
20476
|
-
output: {
|
|
20477
|
-
created_at: string;
|
|
20478
|
-
role_id: string;
|
|
20479
|
-
resource_server_identifier: string;
|
|
20480
|
-
permission_name: string;
|
|
20481
|
-
}[];
|
|
20482
|
-
outputFormat: "json";
|
|
21248
|
+
output: {
|
|
21249
|
+
created_at: string;
|
|
21250
|
+
role_id: string;
|
|
21251
|
+
resource_server_identifier: string;
|
|
21252
|
+
permission_name: string;
|
|
21253
|
+
}[];
|
|
21254
|
+
outputFormat: "json";
|
|
21255
|
+
status: 200;
|
|
21256
|
+
};
|
|
21257
|
+
};
|
|
21258
|
+
} & {
|
|
21259
|
+
"/:id/permissions": {
|
|
21260
|
+
$post: {
|
|
21261
|
+
input: {
|
|
21262
|
+
param: {
|
|
21263
|
+
id: string;
|
|
21264
|
+
};
|
|
21265
|
+
} & {
|
|
21266
|
+
header: {
|
|
21267
|
+
"tenant-id": string;
|
|
21268
|
+
};
|
|
21269
|
+
} & {
|
|
21270
|
+
json: {
|
|
21271
|
+
permissions: {
|
|
21272
|
+
resource_server_identifier: string;
|
|
21273
|
+
permission_name: string;
|
|
21274
|
+
}[];
|
|
21275
|
+
};
|
|
21276
|
+
};
|
|
21277
|
+
output: {};
|
|
21278
|
+
outputFormat: string;
|
|
21279
|
+
status: 201;
|
|
21280
|
+
};
|
|
21281
|
+
};
|
|
21282
|
+
} & {
|
|
21283
|
+
"/:id/permissions": {
|
|
21284
|
+
$delete: {
|
|
21285
|
+
input: {
|
|
21286
|
+
param: {
|
|
21287
|
+
id: string;
|
|
21288
|
+
};
|
|
21289
|
+
} & {
|
|
21290
|
+
header: {
|
|
21291
|
+
"tenant-id": string;
|
|
21292
|
+
};
|
|
21293
|
+
} & {
|
|
21294
|
+
json: {
|
|
21295
|
+
permissions: {
|
|
21296
|
+
resource_server_identifier: string;
|
|
21297
|
+
permission_name: string;
|
|
21298
|
+
}[];
|
|
21299
|
+
};
|
|
21300
|
+
};
|
|
21301
|
+
output: {};
|
|
21302
|
+
outputFormat: string;
|
|
21303
|
+
status: 200;
|
|
21304
|
+
};
|
|
21305
|
+
};
|
|
21306
|
+
}, "/roles"> & import("hono/types").MergeSchemaPath<{
|
|
21307
|
+
"/": {
|
|
21308
|
+
$get: {
|
|
21309
|
+
input: {
|
|
21310
|
+
query: {
|
|
21311
|
+
sort?: string | undefined;
|
|
21312
|
+
page?: string | undefined;
|
|
21313
|
+
per_page?: string | undefined;
|
|
21314
|
+
include_totals?: string | undefined;
|
|
21315
|
+
q?: string | undefined;
|
|
21316
|
+
};
|
|
21317
|
+
} & {
|
|
21318
|
+
header: {
|
|
21319
|
+
"tenant-id": string;
|
|
21320
|
+
};
|
|
21321
|
+
};
|
|
21322
|
+
output: {
|
|
21323
|
+
created_at: string;
|
|
21324
|
+
updated_at: string;
|
|
21325
|
+
id: string;
|
|
21326
|
+
name: string;
|
|
21327
|
+
actions: ({
|
|
21328
|
+
params: {
|
|
21329
|
+
user_id: string;
|
|
21330
|
+
changes: {
|
|
21331
|
+
[x: string]: any;
|
|
21332
|
+
};
|
|
21333
|
+
connection_id?: string | undefined | undefined;
|
|
21334
|
+
};
|
|
21335
|
+
type: "AUTH0";
|
|
21336
|
+
id: string;
|
|
21337
|
+
action: "UPDATE_USER";
|
|
21338
|
+
alias?: string | undefined | undefined;
|
|
21339
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21340
|
+
mask_output?: boolean | undefined | undefined;
|
|
21341
|
+
} | {
|
|
21342
|
+
params: {
|
|
21343
|
+
email: string;
|
|
21344
|
+
rules?: {
|
|
21345
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
21346
|
+
block_aliases?: boolean | undefined | undefined;
|
|
21347
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
21348
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
21349
|
+
blocklist?: string[] | undefined | undefined;
|
|
21350
|
+
allowlist?: string[] | undefined | undefined;
|
|
21351
|
+
} | undefined;
|
|
21352
|
+
};
|
|
21353
|
+
type: "EMAIL";
|
|
21354
|
+
id: string;
|
|
21355
|
+
action: "VERIFY_EMAIL";
|
|
21356
|
+
alias?: string | undefined | undefined;
|
|
21357
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21358
|
+
mask_output?: boolean | undefined | undefined;
|
|
21359
|
+
})[];
|
|
21360
|
+
}[] | {
|
|
21361
|
+
length: number;
|
|
21362
|
+
start: number;
|
|
21363
|
+
limit: number;
|
|
21364
|
+
flows: {
|
|
21365
|
+
created_at: string;
|
|
21366
|
+
updated_at: string;
|
|
21367
|
+
id: string;
|
|
21368
|
+
name: string;
|
|
21369
|
+
actions: ({
|
|
21370
|
+
params: {
|
|
21371
|
+
user_id: string;
|
|
21372
|
+
changes: {
|
|
21373
|
+
[x: string]: any;
|
|
21374
|
+
};
|
|
21375
|
+
connection_id?: string | undefined | undefined;
|
|
21376
|
+
};
|
|
21377
|
+
type: "AUTH0";
|
|
21378
|
+
id: string;
|
|
21379
|
+
action: "UPDATE_USER";
|
|
21380
|
+
alias?: string | undefined | undefined;
|
|
21381
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21382
|
+
mask_output?: boolean | undefined | undefined;
|
|
21383
|
+
} | {
|
|
21384
|
+
params: {
|
|
21385
|
+
email: string;
|
|
21386
|
+
rules?: {
|
|
21387
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
21388
|
+
block_aliases?: boolean | undefined | undefined;
|
|
21389
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
21390
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
21391
|
+
blocklist?: string[] | undefined | undefined;
|
|
21392
|
+
allowlist?: string[] | undefined | undefined;
|
|
21393
|
+
} | undefined;
|
|
21394
|
+
};
|
|
21395
|
+
type: "EMAIL";
|
|
21396
|
+
id: string;
|
|
21397
|
+
action: "VERIFY_EMAIL";
|
|
21398
|
+
alias?: string | undefined | undefined;
|
|
21399
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21400
|
+
mask_output?: boolean | undefined | undefined;
|
|
21401
|
+
})[];
|
|
21402
|
+
}[];
|
|
21403
|
+
};
|
|
21404
|
+
outputFormat: "json";
|
|
21405
|
+
status: 200;
|
|
21406
|
+
};
|
|
21407
|
+
};
|
|
21408
|
+
} & {
|
|
21409
|
+
"/:id": {
|
|
21410
|
+
$get: {
|
|
21411
|
+
input: {
|
|
21412
|
+
param: {
|
|
21413
|
+
id: string;
|
|
21414
|
+
};
|
|
21415
|
+
} & {
|
|
21416
|
+
header: {
|
|
21417
|
+
"tenant-id": string;
|
|
21418
|
+
};
|
|
21419
|
+
};
|
|
21420
|
+
output: {
|
|
21421
|
+
created_at: string;
|
|
21422
|
+
updated_at: string;
|
|
21423
|
+
id: string;
|
|
21424
|
+
name: string;
|
|
21425
|
+
actions: ({
|
|
21426
|
+
params: {
|
|
21427
|
+
user_id: string;
|
|
21428
|
+
changes: {
|
|
21429
|
+
[x: string]: any;
|
|
21430
|
+
};
|
|
21431
|
+
connection_id?: string | undefined | undefined;
|
|
21432
|
+
};
|
|
21433
|
+
type: "AUTH0";
|
|
21434
|
+
id: string;
|
|
21435
|
+
action: "UPDATE_USER";
|
|
21436
|
+
alias?: string | undefined | undefined;
|
|
21437
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21438
|
+
mask_output?: boolean | undefined | undefined;
|
|
21439
|
+
} | {
|
|
21440
|
+
params: {
|
|
21441
|
+
email: string;
|
|
21442
|
+
rules?: {
|
|
21443
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
21444
|
+
block_aliases?: boolean | undefined | undefined;
|
|
21445
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
21446
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
21447
|
+
blocklist?: string[] | undefined | undefined;
|
|
21448
|
+
allowlist?: string[] | undefined | undefined;
|
|
21449
|
+
} | undefined;
|
|
21450
|
+
};
|
|
21451
|
+
type: "EMAIL";
|
|
21452
|
+
id: string;
|
|
21453
|
+
action: "VERIFY_EMAIL";
|
|
21454
|
+
alias?: string | undefined | undefined;
|
|
21455
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21456
|
+
mask_output?: boolean | undefined | undefined;
|
|
21457
|
+
})[];
|
|
21458
|
+
};
|
|
21459
|
+
outputFormat: "json";
|
|
21460
|
+
status: 200;
|
|
21461
|
+
};
|
|
21462
|
+
};
|
|
21463
|
+
} & {
|
|
21464
|
+
"/:id": {
|
|
21465
|
+
$delete: {
|
|
21466
|
+
input: {
|
|
21467
|
+
param: {
|
|
21468
|
+
id: string;
|
|
21469
|
+
};
|
|
21470
|
+
} & {
|
|
21471
|
+
header: {
|
|
21472
|
+
"tenant-id": string;
|
|
21473
|
+
};
|
|
21474
|
+
};
|
|
21475
|
+
output: {};
|
|
21476
|
+
outputFormat: string;
|
|
20483
21477
|
status: 200;
|
|
20484
21478
|
};
|
|
20485
21479
|
};
|
|
20486
21480
|
} & {
|
|
20487
|
-
"/:id
|
|
20488
|
-
$
|
|
21481
|
+
"/:id": {
|
|
21482
|
+
$patch: {
|
|
20489
21483
|
input: {
|
|
20490
21484
|
param: {
|
|
20491
21485
|
id: string;
|
|
@@ -20496,42 +21490,170 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20496
21490
|
};
|
|
20497
21491
|
} & {
|
|
20498
21492
|
json: {
|
|
20499
|
-
|
|
20500
|
-
|
|
20501
|
-
|
|
20502
|
-
|
|
21493
|
+
name?: string | undefined;
|
|
21494
|
+
actions?: ({
|
|
21495
|
+
params: {
|
|
21496
|
+
user_id: string;
|
|
21497
|
+
changes: Record<string, any>;
|
|
21498
|
+
connection_id?: string | undefined;
|
|
21499
|
+
};
|
|
21500
|
+
type: "AUTH0";
|
|
21501
|
+
id: string;
|
|
21502
|
+
action: "UPDATE_USER";
|
|
21503
|
+
alias?: string | undefined;
|
|
21504
|
+
allow_failure?: boolean | undefined;
|
|
21505
|
+
mask_output?: boolean | undefined;
|
|
21506
|
+
} | {
|
|
21507
|
+
params: {
|
|
21508
|
+
email: string;
|
|
21509
|
+
rules?: {
|
|
21510
|
+
require_mx_record?: boolean | undefined;
|
|
21511
|
+
block_aliases?: boolean | undefined;
|
|
21512
|
+
block_free_emails?: boolean | undefined;
|
|
21513
|
+
block_disposable_emails?: boolean | undefined;
|
|
21514
|
+
blocklist?: string[] | undefined;
|
|
21515
|
+
allowlist?: string[] | undefined;
|
|
21516
|
+
} | undefined;
|
|
21517
|
+
};
|
|
21518
|
+
type: "EMAIL";
|
|
21519
|
+
id: string;
|
|
21520
|
+
action: "VERIFY_EMAIL";
|
|
21521
|
+
alias?: string | undefined;
|
|
21522
|
+
allow_failure?: boolean | undefined;
|
|
21523
|
+
mask_output?: boolean | undefined;
|
|
21524
|
+
})[] | undefined;
|
|
20503
21525
|
};
|
|
20504
21526
|
};
|
|
20505
|
-
output: {
|
|
20506
|
-
|
|
20507
|
-
|
|
21527
|
+
output: {
|
|
21528
|
+
created_at: string;
|
|
21529
|
+
updated_at: string;
|
|
21530
|
+
id: string;
|
|
21531
|
+
name: string;
|
|
21532
|
+
actions: ({
|
|
21533
|
+
params: {
|
|
21534
|
+
user_id: string;
|
|
21535
|
+
changes: {
|
|
21536
|
+
[x: string]: any;
|
|
21537
|
+
};
|
|
21538
|
+
connection_id?: string | undefined | undefined;
|
|
21539
|
+
};
|
|
21540
|
+
type: "AUTH0";
|
|
21541
|
+
id: string;
|
|
21542
|
+
action: "UPDATE_USER";
|
|
21543
|
+
alias?: string | undefined | undefined;
|
|
21544
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21545
|
+
mask_output?: boolean | undefined | undefined;
|
|
21546
|
+
} | {
|
|
21547
|
+
params: {
|
|
21548
|
+
email: string;
|
|
21549
|
+
rules?: {
|
|
21550
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
21551
|
+
block_aliases?: boolean | undefined | undefined;
|
|
21552
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
21553
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
21554
|
+
blocklist?: string[] | undefined | undefined;
|
|
21555
|
+
allowlist?: string[] | undefined | undefined;
|
|
21556
|
+
} | undefined;
|
|
21557
|
+
};
|
|
21558
|
+
type: "EMAIL";
|
|
21559
|
+
id: string;
|
|
21560
|
+
action: "VERIFY_EMAIL";
|
|
21561
|
+
alias?: string | undefined | undefined;
|
|
21562
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21563
|
+
mask_output?: boolean | undefined | undefined;
|
|
21564
|
+
})[];
|
|
21565
|
+
};
|
|
21566
|
+
outputFormat: "json";
|
|
21567
|
+
status: 200;
|
|
20508
21568
|
};
|
|
20509
21569
|
};
|
|
20510
21570
|
} & {
|
|
20511
|
-
"
|
|
20512
|
-
$
|
|
21571
|
+
"/": {
|
|
21572
|
+
$post: {
|
|
20513
21573
|
input: {
|
|
20514
|
-
param: {
|
|
20515
|
-
id: string;
|
|
20516
|
-
};
|
|
20517
|
-
} & {
|
|
20518
21574
|
header: {
|
|
20519
21575
|
"tenant-id": string;
|
|
20520
21576
|
};
|
|
20521
21577
|
} & {
|
|
20522
21578
|
json: {
|
|
20523
|
-
|
|
20524
|
-
|
|
20525
|
-
|
|
20526
|
-
|
|
21579
|
+
name: string;
|
|
21580
|
+
actions?: ({
|
|
21581
|
+
params: {
|
|
21582
|
+
user_id: string;
|
|
21583
|
+
changes: Record<string, any>;
|
|
21584
|
+
connection_id?: string | undefined;
|
|
21585
|
+
};
|
|
21586
|
+
type: "AUTH0";
|
|
21587
|
+
id: string;
|
|
21588
|
+
action: "UPDATE_USER";
|
|
21589
|
+
alias?: string | undefined;
|
|
21590
|
+
allow_failure?: boolean | undefined;
|
|
21591
|
+
mask_output?: boolean | undefined;
|
|
21592
|
+
} | {
|
|
21593
|
+
params: {
|
|
21594
|
+
email: string;
|
|
21595
|
+
rules?: {
|
|
21596
|
+
require_mx_record?: boolean | undefined;
|
|
21597
|
+
block_aliases?: boolean | undefined;
|
|
21598
|
+
block_free_emails?: boolean | undefined;
|
|
21599
|
+
block_disposable_emails?: boolean | undefined;
|
|
21600
|
+
blocklist?: string[] | undefined;
|
|
21601
|
+
allowlist?: string[] | undefined;
|
|
21602
|
+
} | undefined;
|
|
21603
|
+
};
|
|
21604
|
+
type: "EMAIL";
|
|
21605
|
+
id: string;
|
|
21606
|
+
action: "VERIFY_EMAIL";
|
|
21607
|
+
alias?: string | undefined;
|
|
21608
|
+
allow_failure?: boolean | undefined;
|
|
21609
|
+
mask_output?: boolean | undefined;
|
|
21610
|
+
})[] | undefined;
|
|
20527
21611
|
};
|
|
20528
21612
|
};
|
|
20529
|
-
output: {
|
|
20530
|
-
|
|
20531
|
-
|
|
21613
|
+
output: {
|
|
21614
|
+
created_at: string;
|
|
21615
|
+
updated_at: string;
|
|
21616
|
+
id: string;
|
|
21617
|
+
name: string;
|
|
21618
|
+
actions: ({
|
|
21619
|
+
params: {
|
|
21620
|
+
user_id: string;
|
|
21621
|
+
changes: {
|
|
21622
|
+
[x: string]: any;
|
|
21623
|
+
};
|
|
21624
|
+
connection_id?: string | undefined | undefined;
|
|
21625
|
+
};
|
|
21626
|
+
type: "AUTH0";
|
|
21627
|
+
id: string;
|
|
21628
|
+
action: "UPDATE_USER";
|
|
21629
|
+
alias?: string | undefined | undefined;
|
|
21630
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21631
|
+
mask_output?: boolean | undefined | undefined;
|
|
21632
|
+
} | {
|
|
21633
|
+
params: {
|
|
21634
|
+
email: string;
|
|
21635
|
+
rules?: {
|
|
21636
|
+
require_mx_record?: boolean | undefined | undefined;
|
|
21637
|
+
block_aliases?: boolean | undefined | undefined;
|
|
21638
|
+
block_free_emails?: boolean | undefined | undefined;
|
|
21639
|
+
block_disposable_emails?: boolean | undefined | undefined;
|
|
21640
|
+
blocklist?: string[] | undefined | undefined;
|
|
21641
|
+
allowlist?: string[] | undefined | undefined;
|
|
21642
|
+
} | undefined;
|
|
21643
|
+
};
|
|
21644
|
+
type: "EMAIL";
|
|
21645
|
+
id: string;
|
|
21646
|
+
action: "VERIFY_EMAIL";
|
|
21647
|
+
alias?: string | undefined | undefined;
|
|
21648
|
+
allow_failure?: boolean | undefined | undefined;
|
|
21649
|
+
mask_output?: boolean | undefined | undefined;
|
|
21650
|
+
})[];
|
|
21651
|
+
};
|
|
21652
|
+
outputFormat: "json";
|
|
21653
|
+
status: 201;
|
|
20532
21654
|
};
|
|
20533
21655
|
};
|
|
20534
|
-
}, "/
|
|
21656
|
+
}, "/flows"> & import("hono/types").MergeSchemaPath<{
|
|
20535
21657
|
"/": {
|
|
20536
21658
|
$get: {
|
|
20537
21659
|
input: {
|
|
@@ -20550,8 +21672,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20550
21672
|
output: {
|
|
20551
21673
|
created_at: string;
|
|
20552
21674
|
updated_at: string;
|
|
20553
|
-
name: string;
|
|
20554
21675
|
id: string;
|
|
21676
|
+
name: string;
|
|
21677
|
+
style?: {
|
|
21678
|
+
css?: string | undefined | undefined;
|
|
21679
|
+
} | undefined;
|
|
20555
21680
|
start?: {
|
|
20556
21681
|
coordinates?: {
|
|
20557
21682
|
x: number;
|
|
@@ -20563,9 +21688,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20563
21688
|
key: string;
|
|
20564
21689
|
}[] | undefined;
|
|
20565
21690
|
} | undefined;
|
|
20566
|
-
style?: {
|
|
20567
|
-
css?: string | undefined | undefined;
|
|
20568
|
-
} | undefined;
|
|
20569
21691
|
languages?: {
|
|
20570
21692
|
default?: string | undefined | undefined;
|
|
20571
21693
|
primary?: string | undefined | undefined;
|
|
@@ -20585,6 +21707,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20585
21707
|
} | {
|
|
20586
21708
|
type: "ROUTER";
|
|
20587
21709
|
id: string;
|
|
21710
|
+
alias: string;
|
|
20588
21711
|
config: {
|
|
20589
21712
|
rules: {
|
|
20590
21713
|
id: string;
|
|
@@ -20598,7 +21721,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20598
21721
|
x: number;
|
|
20599
21722
|
y: number;
|
|
20600
21723
|
};
|
|
20601
|
-
alias: string;
|
|
20602
21724
|
} | {
|
|
20603
21725
|
type: "STEP";
|
|
20604
21726
|
id: string;
|
|
@@ -20721,8 +21843,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20721
21843
|
forms: {
|
|
20722
21844
|
created_at: string;
|
|
20723
21845
|
updated_at: string;
|
|
20724
|
-
name: string;
|
|
20725
21846
|
id: string;
|
|
21847
|
+
name: string;
|
|
21848
|
+
style?: {
|
|
21849
|
+
css?: string | undefined | undefined;
|
|
21850
|
+
} | undefined;
|
|
20726
21851
|
start?: {
|
|
20727
21852
|
coordinates?: {
|
|
20728
21853
|
x: number;
|
|
@@ -20734,9 +21859,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20734
21859
|
key: string;
|
|
20735
21860
|
}[] | undefined;
|
|
20736
21861
|
} | undefined;
|
|
20737
|
-
style?: {
|
|
20738
|
-
css?: string | undefined | undefined;
|
|
20739
|
-
} | undefined;
|
|
20740
21862
|
languages?: {
|
|
20741
21863
|
default?: string | undefined | undefined;
|
|
20742
21864
|
primary?: string | undefined | undefined;
|
|
@@ -20756,6 +21878,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20756
21878
|
} | {
|
|
20757
21879
|
type: "ROUTER";
|
|
20758
21880
|
id: string;
|
|
21881
|
+
alias: string;
|
|
20759
21882
|
config: {
|
|
20760
21883
|
rules: {
|
|
20761
21884
|
id: string;
|
|
@@ -20769,7 +21892,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20769
21892
|
x: number;
|
|
20770
21893
|
y: number;
|
|
20771
21894
|
};
|
|
20772
|
-
alias: string;
|
|
20773
21895
|
} | {
|
|
20774
21896
|
type: "STEP";
|
|
20775
21897
|
id: string;
|
|
@@ -20906,8 +22028,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20906
22028
|
output: {
|
|
20907
22029
|
created_at: string;
|
|
20908
22030
|
updated_at: string;
|
|
20909
|
-
name: string;
|
|
20910
22031
|
id: string;
|
|
22032
|
+
name: string;
|
|
22033
|
+
style?: {
|
|
22034
|
+
css?: string | undefined | undefined;
|
|
22035
|
+
} | undefined;
|
|
20911
22036
|
start?: {
|
|
20912
22037
|
coordinates?: {
|
|
20913
22038
|
x: number;
|
|
@@ -20919,9 +22044,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20919
22044
|
key: string;
|
|
20920
22045
|
}[] | undefined;
|
|
20921
22046
|
} | undefined;
|
|
20922
|
-
style?: {
|
|
20923
|
-
css?: string | undefined | undefined;
|
|
20924
|
-
} | undefined;
|
|
20925
22047
|
languages?: {
|
|
20926
22048
|
default?: string | undefined | undefined;
|
|
20927
22049
|
primary?: string | undefined | undefined;
|
|
@@ -20941,6 +22063,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20941
22063
|
} | {
|
|
20942
22064
|
type: "ROUTER";
|
|
20943
22065
|
id: string;
|
|
22066
|
+
alias: string;
|
|
20944
22067
|
config: {
|
|
20945
22068
|
rules: {
|
|
20946
22069
|
id: string;
|
|
@@ -20954,7 +22077,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
20954
22077
|
x: number;
|
|
20955
22078
|
y: number;
|
|
20956
22079
|
};
|
|
20957
|
-
alias: string;
|
|
20958
22080
|
} | {
|
|
20959
22081
|
type: "STEP";
|
|
20960
22082
|
id: string;
|
|
@@ -21135,6 +22257,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21135
22257
|
} | {
|
|
21136
22258
|
type: "ROUTER";
|
|
21137
22259
|
id: string;
|
|
22260
|
+
alias: string;
|
|
21138
22261
|
config: {
|
|
21139
22262
|
rules: {
|
|
21140
22263
|
id: string;
|
|
@@ -21148,7 +22271,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21148
22271
|
x: number;
|
|
21149
22272
|
y: number;
|
|
21150
22273
|
};
|
|
21151
|
-
alias: string;
|
|
21152
22274
|
} | {
|
|
21153
22275
|
type: "STEP";
|
|
21154
22276
|
id: string;
|
|
@@ -21267,8 +22389,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21267
22389
|
output: {
|
|
21268
22390
|
created_at: string;
|
|
21269
22391
|
updated_at: string;
|
|
21270
|
-
name: string;
|
|
21271
22392
|
id: string;
|
|
22393
|
+
name: string;
|
|
22394
|
+
style?: {
|
|
22395
|
+
css?: string | undefined | undefined;
|
|
22396
|
+
} | undefined;
|
|
21272
22397
|
start?: {
|
|
21273
22398
|
coordinates?: {
|
|
21274
22399
|
x: number;
|
|
@@ -21280,9 +22405,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21280
22405
|
key: string;
|
|
21281
22406
|
}[] | undefined;
|
|
21282
22407
|
} | undefined;
|
|
21283
|
-
style?: {
|
|
21284
|
-
css?: string | undefined | undefined;
|
|
21285
|
-
} | undefined;
|
|
21286
22408
|
languages?: {
|
|
21287
22409
|
default?: string | undefined | undefined;
|
|
21288
22410
|
primary?: string | undefined | undefined;
|
|
@@ -21302,6 +22424,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21302
22424
|
} | {
|
|
21303
22425
|
type: "ROUTER";
|
|
21304
22426
|
id: string;
|
|
22427
|
+
alias: string;
|
|
21305
22428
|
config: {
|
|
21306
22429
|
rules: {
|
|
21307
22430
|
id: string;
|
|
@@ -21315,7 +22438,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21315
22438
|
x: number;
|
|
21316
22439
|
y: number;
|
|
21317
22440
|
};
|
|
21318
|
-
alias: string;
|
|
21319
22441
|
} | {
|
|
21320
22442
|
type: "STEP";
|
|
21321
22443
|
id: string;
|
|
@@ -21475,6 +22597,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21475
22597
|
} | {
|
|
21476
22598
|
type: "ROUTER";
|
|
21477
22599
|
id: string;
|
|
22600
|
+
alias: string;
|
|
21478
22601
|
config: {
|
|
21479
22602
|
rules: {
|
|
21480
22603
|
id: string;
|
|
@@ -21488,7 +22611,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21488
22611
|
x: number;
|
|
21489
22612
|
y: number;
|
|
21490
22613
|
};
|
|
21491
|
-
alias: string;
|
|
21492
22614
|
} | {
|
|
21493
22615
|
type: "STEP";
|
|
21494
22616
|
id: string;
|
|
@@ -21607,8 +22729,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21607
22729
|
output: {
|
|
21608
22730
|
created_at: string;
|
|
21609
22731
|
updated_at: string;
|
|
21610
|
-
name: string;
|
|
21611
22732
|
id: string;
|
|
22733
|
+
name: string;
|
|
22734
|
+
style?: {
|
|
22735
|
+
css?: string | undefined | undefined;
|
|
22736
|
+
} | undefined;
|
|
21612
22737
|
start?: {
|
|
21613
22738
|
coordinates?: {
|
|
21614
22739
|
x: number;
|
|
@@ -21620,9 +22745,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21620
22745
|
key: string;
|
|
21621
22746
|
}[] | undefined;
|
|
21622
22747
|
} | undefined;
|
|
21623
|
-
style?: {
|
|
21624
|
-
css?: string | undefined | undefined;
|
|
21625
|
-
} | undefined;
|
|
21626
22748
|
languages?: {
|
|
21627
22749
|
default?: string | undefined | undefined;
|
|
21628
22750
|
primary?: string | undefined | undefined;
|
|
@@ -21642,6 +22764,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21642
22764
|
} | {
|
|
21643
22765
|
type: "ROUTER";
|
|
21644
22766
|
id: string;
|
|
22767
|
+
alias: string;
|
|
21645
22768
|
config: {
|
|
21646
22769
|
rules: {
|
|
21647
22770
|
id: string;
|
|
@@ -21655,7 +22778,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21655
22778
|
x: number;
|
|
21656
22779
|
y: number;
|
|
21657
22780
|
};
|
|
21658
|
-
alias: string;
|
|
21659
22781
|
} | {
|
|
21660
22782
|
type: "STEP";
|
|
21661
22783
|
id: string;
|
|
@@ -21789,9 +22911,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21789
22911
|
};
|
|
21790
22912
|
};
|
|
21791
22913
|
output: {
|
|
22914
|
+
id: string;
|
|
21792
22915
|
user_id: string;
|
|
21793
22916
|
client_id: string;
|
|
21794
|
-
id: string;
|
|
21795
22917
|
session_id: string;
|
|
21796
22918
|
device: {
|
|
21797
22919
|
last_ip: string;
|
|
@@ -21846,8 +22968,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21846
22968
|
output: {
|
|
21847
22969
|
created_at: string;
|
|
21848
22970
|
updated_at: string;
|
|
21849
|
-
user_id: string;
|
|
21850
22971
|
id: string;
|
|
22972
|
+
user_id: string;
|
|
21851
22973
|
clients: string[];
|
|
21852
22974
|
login_session_id: string;
|
|
21853
22975
|
device: {
|
|
@@ -21958,6 +23080,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21958
23080
|
};
|
|
21959
23081
|
};
|
|
21960
23082
|
output: {
|
|
23083
|
+
created_at: string;
|
|
23084
|
+
updated_at: string;
|
|
21961
23085
|
options: {
|
|
21962
23086
|
provider?: string | undefined | undefined;
|
|
21963
23087
|
client_id?: string | undefined | undefined;
|
|
@@ -21979,8 +23103,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21979
23103
|
twilio_token?: string | undefined | undefined;
|
|
21980
23104
|
icon_url?: string | undefined | undefined;
|
|
21981
23105
|
};
|
|
21982
|
-
created_at: string;
|
|
21983
|
-
updated_at: string;
|
|
21984
23106
|
name: string;
|
|
21985
23107
|
strategy: string;
|
|
21986
23108
|
id?: string | undefined | undefined;
|
|
@@ -21998,6 +23120,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
21998
23120
|
start: number;
|
|
21999
23121
|
limit: number;
|
|
22000
23122
|
connections: {
|
|
23123
|
+
created_at: string;
|
|
23124
|
+
updated_at: string;
|
|
22001
23125
|
options: {
|
|
22002
23126
|
provider?: string | undefined | undefined;
|
|
22003
23127
|
client_id?: string | undefined | undefined;
|
|
@@ -22019,8 +23143,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22019
23143
|
twilio_token?: string | undefined | undefined;
|
|
22020
23144
|
icon_url?: string | undefined | undefined;
|
|
22021
23145
|
};
|
|
22022
|
-
created_at: string;
|
|
22023
|
-
updated_at: string;
|
|
22024
23146
|
name: string;
|
|
22025
23147
|
strategy: string;
|
|
22026
23148
|
id?: string | undefined | undefined;
|
|
@@ -22052,6 +23174,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22052
23174
|
};
|
|
22053
23175
|
};
|
|
22054
23176
|
output: {
|
|
23177
|
+
created_at: string;
|
|
23178
|
+
updated_at: string;
|
|
22055
23179
|
options: {
|
|
22056
23180
|
provider?: string | undefined | undefined;
|
|
22057
23181
|
client_id?: string | undefined | undefined;
|
|
@@ -22073,8 +23197,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22073
23197
|
twilio_token?: string | undefined | undefined;
|
|
22074
23198
|
icon_url?: string | undefined | undefined;
|
|
22075
23199
|
};
|
|
22076
|
-
created_at: string;
|
|
22077
|
-
updated_at: string;
|
|
22078
23200
|
name: string;
|
|
22079
23201
|
strategy: string;
|
|
22080
23202
|
id?: string | undefined | undefined;
|
|
@@ -22156,6 +23278,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22156
23278
|
};
|
|
22157
23279
|
};
|
|
22158
23280
|
output: {
|
|
23281
|
+
created_at: string;
|
|
23282
|
+
updated_at: string;
|
|
22159
23283
|
options: {
|
|
22160
23284
|
provider?: string | undefined | undefined;
|
|
22161
23285
|
client_id?: string | undefined | undefined;
|
|
@@ -22177,8 +23301,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22177
23301
|
twilio_token?: string | undefined | undefined;
|
|
22178
23302
|
icon_url?: string | undefined | undefined;
|
|
22179
23303
|
};
|
|
22180
|
-
created_at: string;
|
|
22181
|
-
updated_at: string;
|
|
22182
23304
|
name: string;
|
|
22183
23305
|
strategy: string;
|
|
22184
23306
|
id?: string | undefined | undefined;
|
|
@@ -22239,6 +23361,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22239
23361
|
};
|
|
22240
23362
|
};
|
|
22241
23363
|
output: {
|
|
23364
|
+
created_at: string;
|
|
23365
|
+
updated_at: string;
|
|
22242
23366
|
options: {
|
|
22243
23367
|
provider?: string | undefined | undefined;
|
|
22244
23368
|
client_id?: string | undefined | undefined;
|
|
@@ -22260,8 +23384,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22260
23384
|
twilio_token?: string | undefined | undefined;
|
|
22261
23385
|
icon_url?: string | undefined | undefined;
|
|
22262
23386
|
};
|
|
22263
|
-
created_at: string;
|
|
22264
|
-
updated_at: string;
|
|
22265
23387
|
name: string;
|
|
22266
23388
|
strategy: string;
|
|
22267
23389
|
id?: string | undefined | undefined;
|
|
@@ -22595,13 +23717,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22595
23717
|
isMobile: boolean;
|
|
22596
23718
|
log_id: string;
|
|
22597
23719
|
description?: string | undefined | undefined;
|
|
22598
|
-
|
|
23720
|
+
connection_id?: string | undefined | undefined;
|
|
22599
23721
|
user_id?: string | undefined | undefined;
|
|
23722
|
+
connection?: string | undefined | undefined;
|
|
22600
23723
|
client_id?: string | undefined | undefined;
|
|
22601
23724
|
audience?: string | undefined | undefined;
|
|
22602
23725
|
scope?: string | undefined | undefined;
|
|
22603
23726
|
strategy?: string | undefined | undefined;
|
|
22604
|
-
connection_id?: string | undefined | undefined;
|
|
22605
23727
|
ip?: string | undefined | undefined;
|
|
22606
23728
|
user_agent?: string | undefined | undefined;
|
|
22607
23729
|
details?: any;
|
|
@@ -22634,13 +23756,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22634
23756
|
isMobile: boolean;
|
|
22635
23757
|
log_id: string;
|
|
22636
23758
|
description?: string | undefined | undefined;
|
|
22637
|
-
|
|
23759
|
+
connection_id?: string | undefined | undefined;
|
|
22638
23760
|
user_id?: string | undefined | undefined;
|
|
23761
|
+
connection?: string | undefined | undefined;
|
|
22639
23762
|
client_id?: string | undefined | undefined;
|
|
22640
23763
|
audience?: string | undefined | undefined;
|
|
22641
23764
|
scope?: string | undefined | undefined;
|
|
22642
23765
|
strategy?: string | undefined | undefined;
|
|
22643
|
-
connection_id?: string | undefined | undefined;
|
|
22644
23766
|
ip?: string | undefined | undefined;
|
|
22645
23767
|
user_agent?: string | undefined | undefined;
|
|
22646
23768
|
details?: any;
|
|
@@ -22687,13 +23809,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22687
23809
|
isMobile: boolean;
|
|
22688
23810
|
log_id: string;
|
|
22689
23811
|
description?: string | undefined | undefined;
|
|
22690
|
-
|
|
23812
|
+
connection_id?: string | undefined | undefined;
|
|
22691
23813
|
user_id?: string | undefined | undefined;
|
|
23814
|
+
connection?: string | undefined | undefined;
|
|
22692
23815
|
client_id?: string | undefined | undefined;
|
|
22693
23816
|
audience?: string | undefined | undefined;
|
|
22694
23817
|
scope?: string | undefined | undefined;
|
|
22695
23818
|
strategy?: string | undefined | undefined;
|
|
22696
|
-
connection_id?: string | undefined | undefined;
|
|
22697
23819
|
ip?: string | undefined | undefined;
|
|
22698
23820
|
user_agent?: string | undefined | undefined;
|
|
22699
23821
|
details?: any;
|
|
@@ -22732,8 +23854,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22732
23854
|
output: {
|
|
22733
23855
|
created_at: string;
|
|
22734
23856
|
updated_at: string;
|
|
22735
|
-
audience: string;
|
|
22736
23857
|
id: string;
|
|
23858
|
+
audience: string;
|
|
22737
23859
|
friendly_name: string;
|
|
22738
23860
|
sender_email: string;
|
|
22739
23861
|
sender_name: string;
|
|
@@ -22949,8 +24071,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
22949
24071
|
output: {
|
|
22950
24072
|
created_at: string;
|
|
22951
24073
|
updated_at: string;
|
|
22952
|
-
audience: string;
|
|
22953
24074
|
id: string;
|
|
24075
|
+
audience: string;
|
|
22954
24076
|
friendly_name: string;
|
|
22955
24077
|
sender_email: string;
|
|
22956
24078
|
sender_name: string;
|
|
@@ -23341,9 +24463,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23341
24463
|
};
|
|
23342
24464
|
};
|
|
23343
24465
|
output: {
|
|
24466
|
+
id: string;
|
|
23344
24467
|
client_id: string;
|
|
23345
24468
|
audience: string;
|
|
23346
|
-
id: string;
|
|
23347
24469
|
created_at?: string | undefined | undefined;
|
|
23348
24470
|
updated_at?: string | undefined | undefined;
|
|
23349
24471
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -23357,9 +24479,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23357
24479
|
start: number;
|
|
23358
24480
|
limit: number;
|
|
23359
24481
|
client_grants: {
|
|
24482
|
+
id: string;
|
|
23360
24483
|
client_id: string;
|
|
23361
24484
|
audience: string;
|
|
23362
|
-
id: string;
|
|
23363
24485
|
created_at?: string | undefined | undefined;
|
|
23364
24486
|
updated_at?: string | undefined | undefined;
|
|
23365
24487
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -23387,9 +24509,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23387
24509
|
};
|
|
23388
24510
|
};
|
|
23389
24511
|
output: {
|
|
24512
|
+
id: string;
|
|
23390
24513
|
client_id: string;
|
|
23391
24514
|
audience: string;
|
|
23392
|
-
id: string;
|
|
23393
24515
|
created_at?: string | undefined | undefined;
|
|
23394
24516
|
updated_at?: string | undefined | undefined;
|
|
23395
24517
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -23444,9 +24566,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23444
24566
|
};
|
|
23445
24567
|
};
|
|
23446
24568
|
output: {
|
|
24569
|
+
id: string;
|
|
23447
24570
|
client_id: string;
|
|
23448
24571
|
audience: string;
|
|
23449
|
-
id: string;
|
|
23450
24572
|
created_at?: string | undefined | undefined;
|
|
23451
24573
|
updated_at?: string | undefined | undefined;
|
|
23452
24574
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -23480,9 +24602,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
23480
24602
|
};
|
|
23481
24603
|
};
|
|
23482
24604
|
output: {
|
|
24605
|
+
id: string;
|
|
23483
24606
|
client_id: string;
|
|
23484
24607
|
audience: string;
|
|
23485
|
-
id: string;
|
|
23486
24608
|
created_at?: string | undefined | undefined;
|
|
23487
24609
|
updated_at?: string | undefined | undefined;
|
|
23488
24610
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
@@ -24092,6 +25214,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24092
25214
|
enabled_connections: {
|
|
24093
25215
|
connection_id: string;
|
|
24094
25216
|
connection?: {
|
|
25217
|
+
created_at: string;
|
|
25218
|
+
updated_at: string;
|
|
24095
25219
|
options: {
|
|
24096
25220
|
provider?: string | undefined | undefined;
|
|
24097
25221
|
client_id?: string | undefined | undefined;
|
|
@@ -24113,8 +25237,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24113
25237
|
twilio_token?: string | undefined | undefined;
|
|
24114
25238
|
icon_url?: string | undefined | undefined;
|
|
24115
25239
|
};
|
|
24116
|
-
created_at: string;
|
|
24117
|
-
updated_at: string;
|
|
24118
25240
|
name: string;
|
|
24119
25241
|
strategy: string;
|
|
24120
25242
|
id?: string | undefined | undefined;
|
|
@@ -24152,6 +25274,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24152
25274
|
enabled_connections: {
|
|
24153
25275
|
connection_id: string;
|
|
24154
25276
|
connection?: {
|
|
25277
|
+
created_at: string;
|
|
25278
|
+
updated_at: string;
|
|
24155
25279
|
options: {
|
|
24156
25280
|
provider?: string | undefined | undefined;
|
|
24157
25281
|
client_id?: string | undefined | undefined;
|
|
@@ -24173,8 +25297,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24173
25297
|
twilio_token?: string | undefined | undefined;
|
|
24174
25298
|
icon_url?: string | undefined | undefined;
|
|
24175
25299
|
};
|
|
24176
|
-
created_at: string;
|
|
24177
|
-
updated_at: string;
|
|
24178
25300
|
name: string;
|
|
24179
25301
|
strategy: string;
|
|
24180
25302
|
id?: string | undefined | undefined;
|
|
@@ -24320,14 +25442,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24320
25442
|
output: {
|
|
24321
25443
|
created_at: string;
|
|
24322
25444
|
updated_at: string;
|
|
25445
|
+
user_id: string;
|
|
24323
25446
|
email_verified: boolean;
|
|
24324
25447
|
connection: string;
|
|
24325
|
-
user_id: string;
|
|
24326
25448
|
provider: string;
|
|
24327
25449
|
is_social: boolean;
|
|
24328
25450
|
login_count: number;
|
|
24329
|
-
email?: string | undefined | undefined;
|
|
24330
25451
|
name?: string | undefined | undefined;
|
|
25452
|
+
email?: string | undefined | undefined;
|
|
24331
25453
|
username?: string | undefined | undefined;
|
|
24332
25454
|
given_name?: string | undefined | undefined;
|
|
24333
25455
|
phone_number?: string | undefined | undefined;
|
|
@@ -24343,8 +25465,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24343
25465
|
last_ip?: string | undefined | undefined;
|
|
24344
25466
|
last_login?: string | undefined | undefined;
|
|
24345
25467
|
identities?: {
|
|
24346
|
-
connection: string;
|
|
24347
25468
|
user_id: string;
|
|
25469
|
+
connection: string;
|
|
24348
25470
|
provider: string;
|
|
24349
25471
|
isSocial: boolean;
|
|
24350
25472
|
access_token?: string | undefined | undefined;
|
|
@@ -24369,14 +25491,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24369
25491
|
users: {
|
|
24370
25492
|
created_at: string;
|
|
24371
25493
|
updated_at: string;
|
|
25494
|
+
user_id: string;
|
|
24372
25495
|
email_verified: boolean;
|
|
24373
25496
|
connection: string;
|
|
24374
|
-
user_id: string;
|
|
24375
25497
|
provider: string;
|
|
24376
25498
|
is_social: boolean;
|
|
24377
25499
|
login_count: number;
|
|
24378
|
-
email?: string | undefined | undefined;
|
|
24379
25500
|
name?: string | undefined | undefined;
|
|
25501
|
+
email?: string | undefined | undefined;
|
|
24380
25502
|
username?: string | undefined | undefined;
|
|
24381
25503
|
given_name?: string | undefined | undefined;
|
|
24382
25504
|
phone_number?: string | undefined | undefined;
|
|
@@ -24392,8 +25514,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24392
25514
|
last_ip?: string | undefined | undefined;
|
|
24393
25515
|
last_login?: string | undefined | undefined;
|
|
24394
25516
|
identities?: {
|
|
24395
|
-
connection: string;
|
|
24396
25517
|
user_id: string;
|
|
25518
|
+
connection: string;
|
|
24397
25519
|
provider: string;
|
|
24398
25520
|
isSocial: boolean;
|
|
24399
25521
|
access_token?: string | undefined | undefined;
|
|
@@ -24432,14 +25554,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24432
25554
|
output: {
|
|
24433
25555
|
created_at: string;
|
|
24434
25556
|
updated_at: string;
|
|
25557
|
+
user_id: string;
|
|
24435
25558
|
email_verified: boolean;
|
|
24436
25559
|
connection: string;
|
|
24437
|
-
user_id: string;
|
|
24438
25560
|
provider: string;
|
|
24439
25561
|
is_social: boolean;
|
|
24440
25562
|
login_count: number;
|
|
24441
|
-
email?: string | undefined | undefined;
|
|
24442
25563
|
name?: string | undefined | undefined;
|
|
25564
|
+
email?: string | undefined | undefined;
|
|
24443
25565
|
username?: string | undefined | undefined;
|
|
24444
25566
|
given_name?: string | undefined | undefined;
|
|
24445
25567
|
phone_number?: string | undefined | undefined;
|
|
@@ -24455,8 +25577,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24455
25577
|
last_ip?: string | undefined | undefined;
|
|
24456
25578
|
last_login?: string | undefined | undefined;
|
|
24457
25579
|
identities?: {
|
|
24458
|
-
connection: string;
|
|
24459
25580
|
user_id: string;
|
|
25581
|
+
connection: string;
|
|
24460
25582
|
provider: string;
|
|
24461
25583
|
isSocial: boolean;
|
|
24462
25584
|
access_token?: string | undefined | undefined;
|
|
@@ -24532,14 +25654,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24532
25654
|
output: {
|
|
24533
25655
|
created_at: string;
|
|
24534
25656
|
updated_at: string;
|
|
25657
|
+
user_id: string;
|
|
24535
25658
|
email_verified: boolean;
|
|
24536
25659
|
connection: string;
|
|
24537
|
-
user_id: string;
|
|
24538
25660
|
provider: string;
|
|
24539
25661
|
is_social: boolean;
|
|
24540
25662
|
login_count: number;
|
|
24541
|
-
email?: string | undefined | undefined;
|
|
24542
25663
|
name?: string | undefined | undefined;
|
|
25664
|
+
email?: string | undefined | undefined;
|
|
24543
25665
|
username?: string | undefined | undefined;
|
|
24544
25666
|
given_name?: string | undefined | undefined;
|
|
24545
25667
|
phone_number?: string | undefined | undefined;
|
|
@@ -24555,8 +25677,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24555
25677
|
last_ip?: string | undefined | undefined;
|
|
24556
25678
|
last_login?: string | undefined | undefined;
|
|
24557
25679
|
identities?: {
|
|
24558
|
-
connection: string;
|
|
24559
25680
|
user_id: string;
|
|
25681
|
+
connection: string;
|
|
24560
25682
|
provider: string;
|
|
24561
25683
|
isSocial: boolean;
|
|
24562
25684
|
access_token?: string | undefined | undefined;
|
|
@@ -24668,14 +25790,14 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24668
25790
|
output: {
|
|
24669
25791
|
created_at: string;
|
|
24670
25792
|
updated_at: string;
|
|
25793
|
+
user_id: string;
|
|
24671
25794
|
email_verified: boolean;
|
|
24672
25795
|
connection: string;
|
|
24673
|
-
user_id: string;
|
|
24674
25796
|
provider: string;
|
|
24675
25797
|
is_social: boolean;
|
|
24676
25798
|
login_count: number;
|
|
24677
|
-
email?: string | undefined | undefined;
|
|
24678
25799
|
name?: string | undefined | undefined;
|
|
25800
|
+
email?: string | undefined | undefined;
|
|
24679
25801
|
username?: string | undefined | undefined;
|
|
24680
25802
|
given_name?: string | undefined | undefined;
|
|
24681
25803
|
phone_number?: string | undefined | undefined;
|
|
@@ -24691,8 +25813,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24691
25813
|
last_ip?: string | undefined | undefined;
|
|
24692
25814
|
last_login?: string | undefined | undefined;
|
|
24693
25815
|
identities?: {
|
|
24694
|
-
connection: string;
|
|
24695
25816
|
user_id: string;
|
|
25817
|
+
connection: string;
|
|
24696
25818
|
provider: string;
|
|
24697
25819
|
isSocial: boolean;
|
|
24698
25820
|
access_token?: string | undefined | undefined;
|
|
@@ -24738,8 +25860,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24738
25860
|
output: {
|
|
24739
25861
|
created_at: string;
|
|
24740
25862
|
updated_at: string;
|
|
24741
|
-
user_id: string;
|
|
24742
25863
|
id: string;
|
|
25864
|
+
user_id: string;
|
|
24743
25865
|
clients: string[];
|
|
24744
25866
|
login_session_id: string;
|
|
24745
25867
|
device: {
|
|
@@ -24763,8 +25885,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24763
25885
|
sessions: {
|
|
24764
25886
|
created_at: string;
|
|
24765
25887
|
updated_at: string;
|
|
24766
|
-
user_id: string;
|
|
24767
25888
|
id: string;
|
|
25889
|
+
user_id: string;
|
|
24768
25890
|
clients: string[];
|
|
24769
25891
|
login_session_id: string;
|
|
24770
25892
|
device: {
|
|
@@ -24812,8 +25934,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24812
25934
|
resource_server_identifier: string;
|
|
24813
25935
|
permission_name: string;
|
|
24814
25936
|
resource_server_name: string;
|
|
24815
|
-
description?: string | null | undefined | undefined;
|
|
24816
25937
|
created_at?: string | undefined | undefined;
|
|
25938
|
+
description?: string | null | undefined | undefined;
|
|
24817
25939
|
organization_id?: string | undefined | undefined;
|
|
24818
25940
|
}[];
|
|
24819
25941
|
outputFormat: "json";
|
|
@@ -24881,11 +26003,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24881
26003
|
};
|
|
24882
26004
|
};
|
|
24883
26005
|
output: {
|
|
24884
|
-
name: string;
|
|
24885
26006
|
id: string;
|
|
24886
|
-
|
|
26007
|
+
name: string;
|
|
24887
26008
|
created_at?: string | undefined | undefined;
|
|
24888
26009
|
updated_at?: string | undefined | undefined;
|
|
26010
|
+
description?: string | undefined | undefined;
|
|
24889
26011
|
}[];
|
|
24890
26012
|
outputFormat: "json";
|
|
24891
26013
|
status: 200;
|
|
@@ -24956,8 +26078,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24956
26078
|
output: {
|
|
24957
26079
|
created_at: string;
|
|
24958
26080
|
updated_at: string;
|
|
24959
|
-
name: string;
|
|
24960
26081
|
id: string;
|
|
26082
|
+
name: string;
|
|
24961
26083
|
token_quota?: {
|
|
24962
26084
|
client_credentials?: {
|
|
24963
26085
|
enforce: boolean;
|
|
@@ -24977,8 +26099,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24977
26099
|
logo_url?: string | undefined | undefined;
|
|
24978
26100
|
} | undefined;
|
|
24979
26101
|
enabled_connections?: {
|
|
24980
|
-
show_as_button: boolean;
|
|
24981
26102
|
connection_id: string;
|
|
26103
|
+
show_as_button: boolean;
|
|
24982
26104
|
assign_membership_on_login: boolean;
|
|
24983
26105
|
is_signup_enabled: boolean;
|
|
24984
26106
|
}[] | undefined;
|
|
@@ -24989,8 +26111,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
24989
26111
|
organizations: {
|
|
24990
26112
|
created_at: string;
|
|
24991
26113
|
updated_at: string;
|
|
24992
|
-
name: string;
|
|
24993
26114
|
id: string;
|
|
26115
|
+
name: string;
|
|
24994
26116
|
token_quota?: {
|
|
24995
26117
|
client_credentials?: {
|
|
24996
26118
|
enforce: boolean;
|
|
@@ -25010,8 +26132,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
25010
26132
|
logo_url?: string | undefined | undefined;
|
|
25011
26133
|
} | undefined;
|
|
25012
26134
|
enabled_connections?: {
|
|
25013
|
-
show_as_button: boolean;
|
|
25014
26135
|
connection_id: string;
|
|
26136
|
+
show_as_button: boolean;
|
|
25015
26137
|
assign_membership_on_login: boolean;
|
|
25016
26138
|
is_signup_enabled: boolean;
|
|
25017
26139
|
}[] | undefined;
|