authhero 0.295.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.
@@ -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
- connection?: string | undefined;
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
- connection?: string | undefined;
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
- connection?: string | undefined;
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
- connection?: string | undefined;
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
- user_id: string;
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
- user_id: string;
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
- description?: string | undefined;
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
- description?: string | undefined;
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
- description?: string | undefined;
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
- description?: string | undefined;
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>;
@@ -18037,6 +18798,31 @@ export declare const tenantSettingsSchema: z.ZodObject<{
18037
18798
  } | undefined;
18038
18799
  }>;
18039
18800
  export type TenantSettings = z.infer<typeof tenantSettingsSchema>;
18801
+ export declare const dailyStatsSchema: z.ZodObject<{
18802
+ date: z.ZodString;
18803
+ logins: z.ZodNumber;
18804
+ signups: z.ZodNumber;
18805
+ leaked_passwords: z.ZodNumber;
18806
+ updated_at: z.ZodString;
18807
+ created_at: z.ZodString;
18808
+ }, "strip", z.ZodTypeAny, {
18809
+ created_at: string;
18810
+ updated_at: string;
18811
+ date: string;
18812
+ logins: number;
18813
+ signups: number;
18814
+ leaked_passwords: number;
18815
+ }, {
18816
+ created_at: string;
18817
+ updated_at: string;
18818
+ date: string;
18819
+ logins: number;
18820
+ signups: number;
18821
+ leaked_passwords: number;
18822
+ }>;
18823
+ export type DailyStats = z.infer<typeof dailyStatsSchema>;
18824
+ export declare const activeUsersResponseSchema: z.ZodNumber;
18825
+ export type ActiveUsersResponse = z.infer<typeof activeUsersResponseSchema>;
18040
18826
  export declare function parseUserId(user_id: string): {
18041
18827
  connection: string;
18042
18828
  id: string;
@@ -18152,6 +18938,16 @@ export declare function createPassthroughAdapter<T extends object>(config: Passt
18152
18938
  * ```
18153
18939
  */
18154
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
+ }
18155
18951
  export interface CacheItem<T = any> {
18156
18952
  value: T;
18157
18953
  expiresAt?: Date;
@@ -18472,6 +19268,20 @@ export interface GeoAdapter {
18472
19268
  */
18473
19269
  getGeoInfo(headers: Record<string, string>): Promise<GeoInfo | null>;
18474
19270
  }
19271
+ export interface StatsListParams {
19272
+ from?: string;
19273
+ to?: string;
19274
+ }
19275
+ export interface StatsAdapter {
19276
+ /**
19277
+ * Get daily statistics (logins, signups, etc.) for a date range
19278
+ */
19279
+ getDaily(tenantId: string, params?: StatsListParams): Promise<DailyStats[]>;
19280
+ /**
19281
+ * Get the number of active users in the last 30 days
19282
+ */
19283
+ getActiveUsers(tenantId: string): Promise<number>;
19284
+ }
18475
19285
  export interface DataAdapters {
18476
19286
  branding: BrandingAdapter;
18477
19287
  cache?: CacheAdapter;
@@ -18483,6 +19293,7 @@ export interface DataAdapters {
18483
19293
  connections: ConnectionsAdapter;
18484
19294
  customDomains: CustomDomainsAdapter;
18485
19295
  emailProviders: EmailProvidersAdapter;
19296
+ flows: FlowsAdapter;
18486
19297
  forms: FormsAdapter;
18487
19298
  geo?: GeoAdapter;
18488
19299
  hooks: HooksAdapter;
@@ -18498,6 +19309,7 @@ export interface DataAdapters {
18498
19309
  userPermissions: UserPermissionsAdapter;
18499
19310
  roles: RolesAdapter;
18500
19311
  sessions: SessionsAdapter;
19312
+ stats?: StatsAdapter;
18501
19313
  tenants: TenantsDataAdapter;
18502
19314
  themes: ThemesAdapter;
18503
19315
  users: UserDataAdapter;
@@ -19255,6 +20067,44 @@ export declare function init(config: AuthHeroConfig): {
19255
20067
  Bindings: Bindings;
19256
20068
  Variables: Variables;
19257
20069
  }, import("hono/types").MergeSchemaPath<{
20070
+ "/daily": {
20071
+ $get: {
20072
+ input: {
20073
+ query: {
20074
+ from?: string | undefined;
20075
+ to?: string | undefined;
20076
+ };
20077
+ } & {
20078
+ header: {
20079
+ "tenant-id": string;
20080
+ };
20081
+ };
20082
+ output: {
20083
+ created_at: string;
20084
+ updated_at: string;
20085
+ date: string;
20086
+ logins: number;
20087
+ signups: number;
20088
+ leaked_passwords: number;
20089
+ }[];
20090
+ outputFormat: "json";
20091
+ status: 200;
20092
+ };
20093
+ };
20094
+ } & {
20095
+ "/active-users": {
20096
+ $get: {
20097
+ input: {
20098
+ header: {
20099
+ "tenant-id": string;
20100
+ };
20101
+ };
20102
+ output: number;
20103
+ outputFormat: "json";
20104
+ status: 200;
20105
+ };
20106
+ };
20107
+ }, "/stats"> & import("hono/types").MergeSchemaPath<{
19258
20108
  "/": {
19259
20109
  $get: {
19260
20110
  input: {
@@ -19273,8 +20123,8 @@ export declare function init(config: AuthHeroConfig): {
19273
20123
  output: {
19274
20124
  created_at: string;
19275
20125
  updated_at: string;
19276
- name: string;
19277
20126
  id: string;
20127
+ name: string;
19278
20128
  token_quota?: {
19279
20129
  client_credentials?: {
19280
20130
  enforce: boolean;
@@ -19294,8 +20144,8 @@ export declare function init(config: AuthHeroConfig): {
19294
20144
  logo_url?: string | undefined | undefined;
19295
20145
  } | undefined;
19296
20146
  enabled_connections?: {
19297
- show_as_button: boolean;
19298
20147
  connection_id: string;
20148
+ show_as_button: boolean;
19299
20149
  assign_membership_on_login: boolean;
19300
20150
  is_signup_enabled: boolean;
19301
20151
  }[] | undefined;
@@ -19306,8 +20156,8 @@ export declare function init(config: AuthHeroConfig): {
19306
20156
  organizations: {
19307
20157
  created_at: string;
19308
20158
  updated_at: string;
19309
- name: string;
19310
20159
  id: string;
20160
+ name: string;
19311
20161
  token_quota?: {
19312
20162
  client_credentials?: {
19313
20163
  enforce: boolean;
@@ -19327,8 +20177,8 @@ export declare function init(config: AuthHeroConfig): {
19327
20177
  logo_url?: string | undefined | undefined;
19328
20178
  } | undefined;
19329
20179
  enabled_connections?: {
19330
- show_as_button: boolean;
19331
20180
  connection_id: string;
20181
+ show_as_button: boolean;
19332
20182
  assign_membership_on_login: boolean;
19333
20183
  is_signup_enabled: boolean;
19334
20184
  }[] | undefined;
@@ -19353,8 +20203,8 @@ export declare function init(config: AuthHeroConfig): {
19353
20203
  output: {
19354
20204
  created_at: string;
19355
20205
  updated_at: string;
19356
- name: string;
19357
20206
  id: string;
20207
+ name: string;
19358
20208
  token_quota?: {
19359
20209
  client_credentials?: {
19360
20210
  enforce: boolean;
@@ -19374,8 +20224,8 @@ export declare function init(config: AuthHeroConfig): {
19374
20224
  logo_url?: string | undefined | undefined;
19375
20225
  } | undefined;
19376
20226
  enabled_connections?: {
19377
- show_as_button: boolean;
19378
20227
  connection_id: string;
20228
+ show_as_button: boolean;
19379
20229
  assign_membership_on_login: boolean;
19380
20230
  is_signup_enabled: boolean;
19381
20231
  }[] | undefined;
@@ -19443,8 +20293,8 @@ export declare function init(config: AuthHeroConfig): {
19443
20293
  output: {
19444
20294
  created_at: string;
19445
20295
  updated_at: string;
19446
- name: string;
19447
20296
  id: string;
20297
+ name: string;
19448
20298
  token_quota?: {
19449
20299
  client_credentials?: {
19450
20300
  enforce: boolean;
@@ -19464,8 +20314,8 @@ export declare function init(config: AuthHeroConfig): {
19464
20314
  logo_url?: string | undefined | undefined;
19465
20315
  } | undefined;
19466
20316
  enabled_connections?: {
19467
- show_as_button: boolean;
19468
20317
  connection_id: string;
20318
+ show_as_button: boolean;
19469
20319
  assign_membership_on_login: boolean;
19470
20320
  is_signup_enabled: boolean;
19471
20321
  }[] | undefined;
@@ -19484,6 +20334,7 @@ export declare function init(config: AuthHeroConfig): {
19484
20334
  } & {
19485
20335
  json: {
19486
20336
  name: string;
20337
+ id?: string | undefined;
19487
20338
  token_quota?: {
19488
20339
  client_credentials?: {
19489
20340
  enforce?: boolean | undefined;
@@ -19491,7 +20342,6 @@ export declare function init(config: AuthHeroConfig): {
19491
20342
  per_hour?: number | undefined;
19492
20343
  } | undefined;
19493
20344
  } | undefined;
19494
- id?: string | undefined;
19495
20345
  display_name?: string | undefined;
19496
20346
  metadata?: Record<string, any> | undefined;
19497
20347
  branding?: {
@@ -19512,8 +20362,8 @@ export declare function init(config: AuthHeroConfig): {
19512
20362
  output: {
19513
20363
  created_at: string;
19514
20364
  updated_at: string;
19515
- name: string;
19516
20365
  id: string;
20366
+ name: string;
19517
20367
  token_quota?: {
19518
20368
  client_credentials?: {
19519
20369
  enforce: boolean;
@@ -19533,8 +20383,8 @@ export declare function init(config: AuthHeroConfig): {
19533
20383
  logo_url?: string | undefined | undefined;
19534
20384
  } | undefined;
19535
20385
  enabled_connections?: {
19536
- show_as_button: boolean;
19537
20386
  connection_id: string;
20387
+ show_as_button: boolean;
19538
20388
  assign_membership_on_login: boolean;
19539
20389
  is_signup_enabled: boolean;
19540
20390
  }[] | undefined;
@@ -19652,11 +20502,11 @@ export declare function init(config: AuthHeroConfig): {
19652
20502
  };
19653
20503
  };
19654
20504
  output: {
19655
- name: string;
19656
20505
  id: string;
19657
- description?: string | undefined | undefined;
20506
+ name: string;
19658
20507
  created_at?: string | undefined | undefined;
19659
20508
  updated_at?: string | undefined | undefined;
20509
+ description?: string | undefined | undefined;
19660
20510
  }[];
19661
20511
  outputFormat: "json";
19662
20512
  status: 200;
@@ -19727,11 +20577,11 @@ export declare function init(config: AuthHeroConfig): {
19727
20577
  };
19728
20578
  };
19729
20579
  output: {
19730
- name: string;
19731
20580
  id: string;
19732
- description?: string | undefined | undefined;
20581
+ name: string;
19733
20582
  created_at?: string | undefined | undefined;
19734
20583
  updated_at?: string | undefined | undefined;
20584
+ description?: string | undefined | undefined;
19735
20585
  }[];
19736
20586
  outputFormat: "json";
19737
20587
  status: 200;
@@ -19760,8 +20610,8 @@ export declare function init(config: AuthHeroConfig): {
19760
20610
  };
19761
20611
  output: {
19762
20612
  created_at: string;
19763
- client_id: string;
19764
20613
  id: string;
20614
+ client_id: string;
19765
20615
  expires_at: string;
19766
20616
  organization_id: string;
19767
20617
  inviter: {
@@ -19771,13 +20621,13 @@ export declare function init(config: AuthHeroConfig): {
19771
20621
  email?: string | undefined | undefined;
19772
20622
  };
19773
20623
  invitation_url: string;
20624
+ connection_id?: string | undefined | undefined;
19774
20625
  app_metadata?: {
19775
20626
  [x: string]: any;
19776
20627
  } | undefined;
19777
20628
  user_metadata?: {
19778
20629
  [x: string]: any;
19779
20630
  } | undefined;
19780
- connection_id?: string | undefined | undefined;
19781
20631
  ttl_sec?: number | undefined | undefined;
19782
20632
  roles?: string[] | undefined | undefined;
19783
20633
  send_invitation_email?: boolean | undefined | undefined;
@@ -19788,8 +20638,8 @@ export declare function init(config: AuthHeroConfig): {
19788
20638
  limit: number;
19789
20639
  invitations: {
19790
20640
  created_at: string;
19791
- client_id: string;
19792
20641
  id: string;
20642
+ client_id: string;
19793
20643
  expires_at: string;
19794
20644
  organization_id: string;
19795
20645
  inviter: {
@@ -19799,13 +20649,13 @@ export declare function init(config: AuthHeroConfig): {
19799
20649
  email?: string | undefined | undefined;
19800
20650
  };
19801
20651
  invitation_url: string;
20652
+ connection_id?: string | undefined | undefined;
19802
20653
  app_metadata?: {
19803
20654
  [x: string]: any;
19804
20655
  } | undefined;
19805
20656
  user_metadata?: {
19806
20657
  [x: string]: any;
19807
20658
  } | undefined;
19808
- connection_id?: string | undefined | undefined;
19809
20659
  ttl_sec?: number | undefined | undefined;
19810
20660
  roles?: string[] | undefined | undefined;
19811
20661
  send_invitation_email?: boolean | undefined | undefined;
@@ -19845,8 +20695,8 @@ export declare function init(config: AuthHeroConfig): {
19845
20695
  };
19846
20696
  output: {
19847
20697
  created_at: string;
19848
- client_id: string;
19849
20698
  id: string;
20699
+ client_id: string;
19850
20700
  expires_at: string;
19851
20701
  organization_id: string;
19852
20702
  inviter: {
@@ -19856,13 +20706,13 @@ export declare function init(config: AuthHeroConfig): {
19856
20706
  email?: string | undefined | undefined;
19857
20707
  };
19858
20708
  invitation_url: string;
20709
+ connection_id?: string | undefined | undefined;
19859
20710
  app_metadata?: {
19860
20711
  [x: string]: any;
19861
20712
  } | undefined;
19862
20713
  user_metadata?: {
19863
20714
  [x: string]: any;
19864
20715
  } | undefined;
19865
- connection_id?: string | undefined | undefined;
19866
20716
  ttl_sec?: number | undefined | undefined;
19867
20717
  roles?: string[] | undefined | undefined;
19868
20718
  send_invitation_email?: boolean | undefined | undefined;
@@ -19902,8 +20752,8 @@ export declare function init(config: AuthHeroConfig): {
19902
20752
  };
19903
20753
  output: {
19904
20754
  created_at: string;
19905
- client_id: string;
19906
20755
  id: string;
20756
+ client_id: string;
19907
20757
  expires_at: string;
19908
20758
  organization_id: string;
19909
20759
  inviter: {
@@ -19913,13 +20763,13 @@ export declare function init(config: AuthHeroConfig): {
19913
20763
  email?: string | undefined | undefined;
19914
20764
  };
19915
20765
  invitation_url: string;
20766
+ connection_id?: string | undefined | undefined;
19916
20767
  app_metadata?: {
19917
20768
  [x: string]: any;
19918
20769
  } | undefined;
19919
20770
  user_metadata?: {
19920
20771
  [x: string]: any;
19921
20772
  } | undefined;
19922
- connection_id?: string | undefined | undefined;
19923
20773
  ttl_sec?: number | undefined | undefined;
19924
20774
  roles?: string[] | undefined | undefined;
19925
20775
  send_invitation_email?: boolean | undefined | undefined;
@@ -19980,6 +20830,8 @@ export declare function init(config: AuthHeroConfig): {
19980
20830
  output: {
19981
20831
  name: string;
19982
20832
  identifier: string;
20833
+ created_at?: string | undefined | undefined;
20834
+ updated_at?: string | undefined | undefined;
19983
20835
  options?: {
19984
20836
  mtls?: {
19985
20837
  bound_access_tokens?: boolean | undefined | undefined;
@@ -19991,8 +20843,6 @@ export declare function init(config: AuthHeroConfig): {
19991
20843
  persist_client_authorization?: boolean | undefined | undefined;
19992
20844
  enable_introspection_endpoint?: boolean | undefined | undefined;
19993
20845
  } | undefined;
19994
- created_at?: string | undefined | undefined;
19995
- updated_at?: string | undefined | undefined;
19996
20846
  id?: string | undefined | undefined;
19997
20847
  scopes?: {
19998
20848
  value: string;
@@ -20012,6 +20862,8 @@ export declare function init(config: AuthHeroConfig): {
20012
20862
  resource_servers: {
20013
20863
  name: string;
20014
20864
  identifier: string;
20865
+ created_at?: string | undefined | undefined;
20866
+ updated_at?: string | undefined | undefined;
20015
20867
  options?: {
20016
20868
  mtls?: {
20017
20869
  bound_access_tokens?: boolean | undefined | undefined;
@@ -20023,8 +20875,6 @@ export declare function init(config: AuthHeroConfig): {
20023
20875
  persist_client_authorization?: boolean | undefined | undefined;
20024
20876
  enable_introspection_endpoint?: boolean | undefined | undefined;
20025
20877
  } | undefined;
20026
- created_at?: string | undefined | undefined;
20027
- updated_at?: string | undefined | undefined;
20028
20878
  id?: string | undefined | undefined;
20029
20879
  scopes?: {
20030
20880
  value: string;
@@ -20058,6 +20908,8 @@ export declare function init(config: AuthHeroConfig): {
20058
20908
  output: {
20059
20909
  name: string;
20060
20910
  identifier: string;
20911
+ created_at?: string | undefined | undefined;
20912
+ updated_at?: string | undefined | undefined;
20061
20913
  options?: {
20062
20914
  mtls?: {
20063
20915
  bound_access_tokens?: boolean | undefined | undefined;
@@ -20069,8 +20921,6 @@ export declare function init(config: AuthHeroConfig): {
20069
20921
  persist_client_authorization?: boolean | undefined | undefined;
20070
20922
  enable_introspection_endpoint?: boolean | undefined | undefined;
20071
20923
  } | undefined;
20072
- created_at?: string | undefined | undefined;
20073
- updated_at?: string | undefined | undefined;
20074
20924
  id?: string | undefined | undefined;
20075
20925
  scopes?: {
20076
20926
  value: string;
@@ -20147,6 +20997,8 @@ export declare function init(config: AuthHeroConfig): {
20147
20997
  output: {
20148
20998
  name: string;
20149
20999
  identifier: string;
21000
+ created_at?: string | undefined | undefined;
21001
+ updated_at?: string | undefined | undefined;
20150
21002
  options?: {
20151
21003
  mtls?: {
20152
21004
  bound_access_tokens?: boolean | undefined | undefined;
@@ -20158,8 +21010,6 @@ export declare function init(config: AuthHeroConfig): {
20158
21010
  persist_client_authorization?: boolean | undefined | undefined;
20159
21011
  enable_introspection_endpoint?: boolean | undefined | undefined;
20160
21012
  } | undefined;
20161
- created_at?: string | undefined | undefined;
20162
- updated_at?: string | undefined | undefined;
20163
21013
  id?: string | undefined | undefined;
20164
21014
  scopes?: {
20165
21015
  value: string;
@@ -20215,6 +21065,8 @@ export declare function init(config: AuthHeroConfig): {
20215
21065
  output: {
20216
21066
  name: string;
20217
21067
  identifier: string;
21068
+ created_at?: string | undefined | undefined;
21069
+ updated_at?: string | undefined | undefined;
20218
21070
  options?: {
20219
21071
  mtls?: {
20220
21072
  bound_access_tokens?: boolean | undefined | undefined;
@@ -20226,8 +21078,6 @@ export declare function init(config: AuthHeroConfig): {
20226
21078
  persist_client_authorization?: boolean | undefined | undefined;
20227
21079
  enable_introspection_endpoint?: boolean | undefined | undefined;
20228
21080
  } | undefined;
20229
- created_at?: string | undefined | undefined;
20230
- updated_at?: string | undefined | undefined;
20231
21081
  id?: string | undefined | undefined;
20232
21082
  scopes?: {
20233
21083
  value: string;
@@ -20262,21 +21112,21 @@ export declare function init(config: AuthHeroConfig): {
20262
21112
  };
20263
21113
  };
20264
21114
  output: {
20265
- name: string;
20266
21115
  id: string;
20267
- description?: string | undefined | undefined;
21116
+ name: string;
20268
21117
  created_at?: string | undefined | undefined;
20269
21118
  updated_at?: string | undefined | undefined;
21119
+ description?: string | undefined | undefined;
20270
21120
  }[] | {
20271
21121
  length: number;
20272
21122
  start: number;
20273
21123
  limit: number;
20274
21124
  roles: {
20275
- name: string;
20276
21125
  id: string;
20277
- description?: string | undefined | undefined;
21126
+ name: string;
20278
21127
  created_at?: string | undefined | undefined;
20279
21128
  updated_at?: string | undefined | undefined;
21129
+ description?: string | undefined | undefined;
20280
21130
  }[];
20281
21131
  };
20282
21132
  outputFormat: "json";
@@ -20296,11 +21146,11 @@ export declare function init(config: AuthHeroConfig): {
20296
21146
  };
20297
21147
  };
20298
21148
  output: {
20299
- name: string;
20300
21149
  id: string;
20301
- description?: string | undefined | undefined;
21150
+ name: string;
20302
21151
  created_at?: string | undefined | undefined;
20303
21152
  updated_at?: string | undefined | undefined;
21153
+ description?: string | undefined | undefined;
20304
21154
  };
20305
21155
  outputFormat: "json";
20306
21156
  status: 200;
@@ -20320,11 +21170,11 @@ export declare function init(config: AuthHeroConfig): {
20320
21170
  };
20321
21171
  };
20322
21172
  output: {
20323
- name: string;
20324
21173
  id: string;
20325
- description?: string | undefined | undefined;
21174
+ name: string;
20326
21175
  created_at?: string | undefined | undefined;
20327
21176
  updated_at?: string | undefined | undefined;
21177
+ description?: string | undefined | undefined;
20328
21178
  };
20329
21179
  outputFormat: "json";
20330
21180
  status: 201;
@@ -20348,11 +21198,11 @@ export declare function init(config: AuthHeroConfig): {
20348
21198
  };
20349
21199
  };
20350
21200
  output: {
20351
- name: string;
20352
21201
  id: string;
20353
- description?: string | undefined | undefined;
21202
+ name: string;
20354
21203
  created_at?: string | undefined | undefined;
20355
21204
  updated_at?: string | undefined | undefined;
21205
+ description?: string | undefined | undefined;
20356
21206
  };
20357
21207
  outputFormat: "json";
20358
21208
  status: 200;
@@ -20395,19 +21245,241 @@ export declare function init(config: AuthHeroConfig): {
20395
21245
  "tenant-id": string;
20396
21246
  };
20397
21247
  };
20398
- output: {
20399
- created_at: string;
20400
- role_id: string;
20401
- resource_server_identifier: string;
20402
- permission_name: string;
20403
- }[];
20404
- 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;
20405
21477
  status: 200;
20406
21478
  };
20407
21479
  };
20408
21480
  } & {
20409
- "/:id/permissions": {
20410
- $post: {
21481
+ "/:id": {
21482
+ $patch: {
20411
21483
  input: {
20412
21484
  param: {
20413
21485
  id: string;
@@ -20418,42 +21490,170 @@ export declare function init(config: AuthHeroConfig): {
20418
21490
  };
20419
21491
  } & {
20420
21492
  json: {
20421
- permissions: {
20422
- resource_server_identifier: string;
20423
- permission_name: string;
20424
- }[];
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;
20425
21525
  };
20426
21526
  };
20427
- output: {};
20428
- outputFormat: string;
20429
- status: 201;
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;
20430
21568
  };
20431
21569
  };
20432
21570
  } & {
20433
- "/:id/permissions": {
20434
- $delete: {
21571
+ "/": {
21572
+ $post: {
20435
21573
  input: {
20436
- param: {
20437
- id: string;
20438
- };
20439
- } & {
20440
21574
  header: {
20441
21575
  "tenant-id": string;
20442
21576
  };
20443
21577
  } & {
20444
21578
  json: {
20445
- permissions: {
20446
- resource_server_identifier: string;
20447
- permission_name: string;
20448
- }[];
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;
20449
21611
  };
20450
21612
  };
20451
- output: {};
20452
- outputFormat: string;
20453
- status: 200;
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;
20454
21654
  };
20455
21655
  };
20456
- }, "/roles"> & import("hono/types").MergeSchemaPath<{
21656
+ }, "/flows"> & import("hono/types").MergeSchemaPath<{
20457
21657
  "/": {
20458
21658
  $get: {
20459
21659
  input: {
@@ -20472,8 +21672,11 @@ export declare function init(config: AuthHeroConfig): {
20472
21672
  output: {
20473
21673
  created_at: string;
20474
21674
  updated_at: string;
20475
- name: string;
20476
21675
  id: string;
21676
+ name: string;
21677
+ style?: {
21678
+ css?: string | undefined | undefined;
21679
+ } | undefined;
20477
21680
  start?: {
20478
21681
  coordinates?: {
20479
21682
  x: number;
@@ -20485,9 +21688,6 @@ export declare function init(config: AuthHeroConfig): {
20485
21688
  key: string;
20486
21689
  }[] | undefined;
20487
21690
  } | undefined;
20488
- style?: {
20489
- css?: string | undefined | undefined;
20490
- } | undefined;
20491
21691
  languages?: {
20492
21692
  default?: string | undefined | undefined;
20493
21693
  primary?: string | undefined | undefined;
@@ -20507,6 +21707,7 @@ export declare function init(config: AuthHeroConfig): {
20507
21707
  } | {
20508
21708
  type: "ROUTER";
20509
21709
  id: string;
21710
+ alias: string;
20510
21711
  config: {
20511
21712
  rules: {
20512
21713
  id: string;
@@ -20520,7 +21721,6 @@ export declare function init(config: AuthHeroConfig): {
20520
21721
  x: number;
20521
21722
  y: number;
20522
21723
  };
20523
- alias: string;
20524
21724
  } | {
20525
21725
  type: "STEP";
20526
21726
  id: string;
@@ -20643,8 +21843,11 @@ export declare function init(config: AuthHeroConfig): {
20643
21843
  forms: {
20644
21844
  created_at: string;
20645
21845
  updated_at: string;
20646
- name: string;
20647
21846
  id: string;
21847
+ name: string;
21848
+ style?: {
21849
+ css?: string | undefined | undefined;
21850
+ } | undefined;
20648
21851
  start?: {
20649
21852
  coordinates?: {
20650
21853
  x: number;
@@ -20656,9 +21859,6 @@ export declare function init(config: AuthHeroConfig): {
20656
21859
  key: string;
20657
21860
  }[] | undefined;
20658
21861
  } | undefined;
20659
- style?: {
20660
- css?: string | undefined | undefined;
20661
- } | undefined;
20662
21862
  languages?: {
20663
21863
  default?: string | undefined | undefined;
20664
21864
  primary?: string | undefined | undefined;
@@ -20678,6 +21878,7 @@ export declare function init(config: AuthHeroConfig): {
20678
21878
  } | {
20679
21879
  type: "ROUTER";
20680
21880
  id: string;
21881
+ alias: string;
20681
21882
  config: {
20682
21883
  rules: {
20683
21884
  id: string;
@@ -20691,7 +21892,6 @@ export declare function init(config: AuthHeroConfig): {
20691
21892
  x: number;
20692
21893
  y: number;
20693
21894
  };
20694
- alias: string;
20695
21895
  } | {
20696
21896
  type: "STEP";
20697
21897
  id: string;
@@ -20828,8 +22028,11 @@ export declare function init(config: AuthHeroConfig): {
20828
22028
  output: {
20829
22029
  created_at: string;
20830
22030
  updated_at: string;
20831
- name: string;
20832
22031
  id: string;
22032
+ name: string;
22033
+ style?: {
22034
+ css?: string | undefined | undefined;
22035
+ } | undefined;
20833
22036
  start?: {
20834
22037
  coordinates?: {
20835
22038
  x: number;
@@ -20841,9 +22044,6 @@ export declare function init(config: AuthHeroConfig): {
20841
22044
  key: string;
20842
22045
  }[] | undefined;
20843
22046
  } | undefined;
20844
- style?: {
20845
- css?: string | undefined | undefined;
20846
- } | undefined;
20847
22047
  languages?: {
20848
22048
  default?: string | undefined | undefined;
20849
22049
  primary?: string | undefined | undefined;
@@ -20863,6 +22063,7 @@ export declare function init(config: AuthHeroConfig): {
20863
22063
  } | {
20864
22064
  type: "ROUTER";
20865
22065
  id: string;
22066
+ alias: string;
20866
22067
  config: {
20867
22068
  rules: {
20868
22069
  id: string;
@@ -20876,7 +22077,6 @@ export declare function init(config: AuthHeroConfig): {
20876
22077
  x: number;
20877
22078
  y: number;
20878
22079
  };
20879
- alias: string;
20880
22080
  } | {
20881
22081
  type: "STEP";
20882
22082
  id: string;
@@ -21057,6 +22257,7 @@ export declare function init(config: AuthHeroConfig): {
21057
22257
  } | {
21058
22258
  type: "ROUTER";
21059
22259
  id: string;
22260
+ alias: string;
21060
22261
  config: {
21061
22262
  rules: {
21062
22263
  id: string;
@@ -21070,7 +22271,6 @@ export declare function init(config: AuthHeroConfig): {
21070
22271
  x: number;
21071
22272
  y: number;
21072
22273
  };
21073
- alias: string;
21074
22274
  } | {
21075
22275
  type: "STEP";
21076
22276
  id: string;
@@ -21189,8 +22389,11 @@ export declare function init(config: AuthHeroConfig): {
21189
22389
  output: {
21190
22390
  created_at: string;
21191
22391
  updated_at: string;
21192
- name: string;
21193
22392
  id: string;
22393
+ name: string;
22394
+ style?: {
22395
+ css?: string | undefined | undefined;
22396
+ } | undefined;
21194
22397
  start?: {
21195
22398
  coordinates?: {
21196
22399
  x: number;
@@ -21202,9 +22405,6 @@ export declare function init(config: AuthHeroConfig): {
21202
22405
  key: string;
21203
22406
  }[] | undefined;
21204
22407
  } | undefined;
21205
- style?: {
21206
- css?: string | undefined | undefined;
21207
- } | undefined;
21208
22408
  languages?: {
21209
22409
  default?: string | undefined | undefined;
21210
22410
  primary?: string | undefined | undefined;
@@ -21224,6 +22424,7 @@ export declare function init(config: AuthHeroConfig): {
21224
22424
  } | {
21225
22425
  type: "ROUTER";
21226
22426
  id: string;
22427
+ alias: string;
21227
22428
  config: {
21228
22429
  rules: {
21229
22430
  id: string;
@@ -21237,7 +22438,6 @@ export declare function init(config: AuthHeroConfig): {
21237
22438
  x: number;
21238
22439
  y: number;
21239
22440
  };
21240
- alias: string;
21241
22441
  } | {
21242
22442
  type: "STEP";
21243
22443
  id: string;
@@ -21397,6 +22597,7 @@ export declare function init(config: AuthHeroConfig): {
21397
22597
  } | {
21398
22598
  type: "ROUTER";
21399
22599
  id: string;
22600
+ alias: string;
21400
22601
  config: {
21401
22602
  rules: {
21402
22603
  id: string;
@@ -21410,7 +22611,6 @@ export declare function init(config: AuthHeroConfig): {
21410
22611
  x: number;
21411
22612
  y: number;
21412
22613
  };
21413
- alias: string;
21414
22614
  } | {
21415
22615
  type: "STEP";
21416
22616
  id: string;
@@ -21529,8 +22729,11 @@ export declare function init(config: AuthHeroConfig): {
21529
22729
  output: {
21530
22730
  created_at: string;
21531
22731
  updated_at: string;
21532
- name: string;
21533
22732
  id: string;
22733
+ name: string;
22734
+ style?: {
22735
+ css?: string | undefined | undefined;
22736
+ } | undefined;
21534
22737
  start?: {
21535
22738
  coordinates?: {
21536
22739
  x: number;
@@ -21542,9 +22745,6 @@ export declare function init(config: AuthHeroConfig): {
21542
22745
  key: string;
21543
22746
  }[] | undefined;
21544
22747
  } | undefined;
21545
- style?: {
21546
- css?: string | undefined | undefined;
21547
- } | undefined;
21548
22748
  languages?: {
21549
22749
  default?: string | undefined | undefined;
21550
22750
  primary?: string | undefined | undefined;
@@ -21564,6 +22764,7 @@ export declare function init(config: AuthHeroConfig): {
21564
22764
  } | {
21565
22765
  type: "ROUTER";
21566
22766
  id: string;
22767
+ alias: string;
21567
22768
  config: {
21568
22769
  rules: {
21569
22770
  id: string;
@@ -21577,7 +22778,6 @@ export declare function init(config: AuthHeroConfig): {
21577
22778
  x: number;
21578
22779
  y: number;
21579
22780
  };
21580
- alias: string;
21581
22781
  } | {
21582
22782
  type: "STEP";
21583
22783
  id: string;
@@ -21711,9 +22911,9 @@ export declare function init(config: AuthHeroConfig): {
21711
22911
  };
21712
22912
  };
21713
22913
  output: {
22914
+ id: string;
21714
22915
  user_id: string;
21715
22916
  client_id: string;
21716
- id: string;
21717
22917
  session_id: string;
21718
22918
  device: {
21719
22919
  last_ip: string;
@@ -21768,8 +22968,8 @@ export declare function init(config: AuthHeroConfig): {
21768
22968
  output: {
21769
22969
  created_at: string;
21770
22970
  updated_at: string;
21771
- user_id: string;
21772
22971
  id: string;
22972
+ user_id: string;
21773
22973
  clients: string[];
21774
22974
  login_session_id: string;
21775
22975
  device: {
@@ -21880,6 +23080,8 @@ export declare function init(config: AuthHeroConfig): {
21880
23080
  };
21881
23081
  };
21882
23082
  output: {
23083
+ created_at: string;
23084
+ updated_at: string;
21883
23085
  options: {
21884
23086
  provider?: string | undefined | undefined;
21885
23087
  client_id?: string | undefined | undefined;
@@ -21901,8 +23103,6 @@ export declare function init(config: AuthHeroConfig): {
21901
23103
  twilio_token?: string | undefined | undefined;
21902
23104
  icon_url?: string | undefined | undefined;
21903
23105
  };
21904
- created_at: string;
21905
- updated_at: string;
21906
23106
  name: string;
21907
23107
  strategy: string;
21908
23108
  id?: string | undefined | undefined;
@@ -21920,6 +23120,8 @@ export declare function init(config: AuthHeroConfig): {
21920
23120
  start: number;
21921
23121
  limit: number;
21922
23122
  connections: {
23123
+ created_at: string;
23124
+ updated_at: string;
21923
23125
  options: {
21924
23126
  provider?: string | undefined | undefined;
21925
23127
  client_id?: string | undefined | undefined;
@@ -21941,8 +23143,6 @@ export declare function init(config: AuthHeroConfig): {
21941
23143
  twilio_token?: string | undefined | undefined;
21942
23144
  icon_url?: string | undefined | undefined;
21943
23145
  };
21944
- created_at: string;
21945
- updated_at: string;
21946
23146
  name: string;
21947
23147
  strategy: string;
21948
23148
  id?: string | undefined | undefined;
@@ -21974,6 +23174,8 @@ export declare function init(config: AuthHeroConfig): {
21974
23174
  };
21975
23175
  };
21976
23176
  output: {
23177
+ created_at: string;
23178
+ updated_at: string;
21977
23179
  options: {
21978
23180
  provider?: string | undefined | undefined;
21979
23181
  client_id?: string | undefined | undefined;
@@ -21995,8 +23197,6 @@ export declare function init(config: AuthHeroConfig): {
21995
23197
  twilio_token?: string | undefined | undefined;
21996
23198
  icon_url?: string | undefined | undefined;
21997
23199
  };
21998
- created_at: string;
21999
- updated_at: string;
22000
23200
  name: string;
22001
23201
  strategy: string;
22002
23202
  id?: string | undefined | undefined;
@@ -22078,6 +23278,8 @@ export declare function init(config: AuthHeroConfig): {
22078
23278
  };
22079
23279
  };
22080
23280
  output: {
23281
+ created_at: string;
23282
+ updated_at: string;
22081
23283
  options: {
22082
23284
  provider?: string | undefined | undefined;
22083
23285
  client_id?: string | undefined | undefined;
@@ -22099,8 +23301,6 @@ export declare function init(config: AuthHeroConfig): {
22099
23301
  twilio_token?: string | undefined | undefined;
22100
23302
  icon_url?: string | undefined | undefined;
22101
23303
  };
22102
- created_at: string;
22103
- updated_at: string;
22104
23304
  name: string;
22105
23305
  strategy: string;
22106
23306
  id?: string | undefined | undefined;
@@ -22161,6 +23361,8 @@ export declare function init(config: AuthHeroConfig): {
22161
23361
  };
22162
23362
  };
22163
23363
  output: {
23364
+ created_at: string;
23365
+ updated_at: string;
22164
23366
  options: {
22165
23367
  provider?: string | undefined | undefined;
22166
23368
  client_id?: string | undefined | undefined;
@@ -22182,8 +23384,6 @@ export declare function init(config: AuthHeroConfig): {
22182
23384
  twilio_token?: string | undefined | undefined;
22183
23385
  icon_url?: string | undefined | undefined;
22184
23386
  };
22185
- created_at: string;
22186
- updated_at: string;
22187
23387
  name: string;
22188
23388
  strategy: string;
22189
23389
  id?: string | undefined | undefined;
@@ -22517,13 +23717,13 @@ export declare function init(config: AuthHeroConfig): {
22517
23717
  isMobile: boolean;
22518
23718
  log_id: string;
22519
23719
  description?: string | undefined | undefined;
22520
- connection?: string | undefined | undefined;
23720
+ connection_id?: string | undefined | undefined;
22521
23721
  user_id?: string | undefined | undefined;
23722
+ connection?: string | undefined | undefined;
22522
23723
  client_id?: string | undefined | undefined;
22523
23724
  audience?: string | undefined | undefined;
22524
23725
  scope?: string | undefined | undefined;
22525
23726
  strategy?: string | undefined | undefined;
22526
- connection_id?: string | undefined | undefined;
22527
23727
  ip?: string | undefined | undefined;
22528
23728
  user_agent?: string | undefined | undefined;
22529
23729
  details?: any;
@@ -22556,13 +23756,13 @@ export declare function init(config: AuthHeroConfig): {
22556
23756
  isMobile: boolean;
22557
23757
  log_id: string;
22558
23758
  description?: string | undefined | undefined;
22559
- connection?: string | undefined | undefined;
23759
+ connection_id?: string | undefined | undefined;
22560
23760
  user_id?: string | undefined | undefined;
23761
+ connection?: string | undefined | undefined;
22561
23762
  client_id?: string | undefined | undefined;
22562
23763
  audience?: string | undefined | undefined;
22563
23764
  scope?: string | undefined | undefined;
22564
23765
  strategy?: string | undefined | undefined;
22565
- connection_id?: string | undefined | undefined;
22566
23766
  ip?: string | undefined | undefined;
22567
23767
  user_agent?: string | undefined | undefined;
22568
23768
  details?: any;
@@ -22609,13 +23809,13 @@ export declare function init(config: AuthHeroConfig): {
22609
23809
  isMobile: boolean;
22610
23810
  log_id: string;
22611
23811
  description?: string | undefined | undefined;
22612
- connection?: string | undefined | undefined;
23812
+ connection_id?: string | undefined | undefined;
22613
23813
  user_id?: string | undefined | undefined;
23814
+ connection?: string | undefined | undefined;
22614
23815
  client_id?: string | undefined | undefined;
22615
23816
  audience?: string | undefined | undefined;
22616
23817
  scope?: string | undefined | undefined;
22617
23818
  strategy?: string | undefined | undefined;
22618
- connection_id?: string | undefined | undefined;
22619
23819
  ip?: string | undefined | undefined;
22620
23820
  user_agent?: string | undefined | undefined;
22621
23821
  details?: any;
@@ -22654,8 +23854,8 @@ export declare function init(config: AuthHeroConfig): {
22654
23854
  output: {
22655
23855
  created_at: string;
22656
23856
  updated_at: string;
22657
- audience: string;
22658
23857
  id: string;
23858
+ audience: string;
22659
23859
  friendly_name: string;
22660
23860
  sender_email: string;
22661
23861
  sender_name: string;
@@ -22871,8 +24071,8 @@ export declare function init(config: AuthHeroConfig): {
22871
24071
  output: {
22872
24072
  created_at: string;
22873
24073
  updated_at: string;
22874
- audience: string;
22875
24074
  id: string;
24075
+ audience: string;
22876
24076
  friendly_name: string;
22877
24077
  sender_email: string;
22878
24078
  sender_name: string;
@@ -23263,9 +24463,9 @@ export declare function init(config: AuthHeroConfig): {
23263
24463
  };
23264
24464
  };
23265
24465
  output: {
24466
+ id: string;
23266
24467
  client_id: string;
23267
24468
  audience: string;
23268
- id: string;
23269
24469
  created_at?: string | undefined | undefined;
23270
24470
  updated_at?: string | undefined | undefined;
23271
24471
  organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
@@ -23279,9 +24479,9 @@ export declare function init(config: AuthHeroConfig): {
23279
24479
  start: number;
23280
24480
  limit: number;
23281
24481
  client_grants: {
24482
+ id: string;
23282
24483
  client_id: string;
23283
24484
  audience: string;
23284
- id: string;
23285
24485
  created_at?: string | undefined | undefined;
23286
24486
  updated_at?: string | undefined | undefined;
23287
24487
  organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
@@ -23309,9 +24509,9 @@ export declare function init(config: AuthHeroConfig): {
23309
24509
  };
23310
24510
  };
23311
24511
  output: {
24512
+ id: string;
23312
24513
  client_id: string;
23313
24514
  audience: string;
23314
- id: string;
23315
24515
  created_at?: string | undefined | undefined;
23316
24516
  updated_at?: string | undefined | undefined;
23317
24517
  organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
@@ -23366,9 +24566,9 @@ export declare function init(config: AuthHeroConfig): {
23366
24566
  };
23367
24567
  };
23368
24568
  output: {
24569
+ id: string;
23369
24570
  client_id: string;
23370
24571
  audience: string;
23371
- id: string;
23372
24572
  created_at?: string | undefined | undefined;
23373
24573
  updated_at?: string | undefined | undefined;
23374
24574
  organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
@@ -23402,9 +24602,9 @@ export declare function init(config: AuthHeroConfig): {
23402
24602
  };
23403
24603
  };
23404
24604
  output: {
24605
+ id: string;
23405
24606
  client_id: string;
23406
24607
  audience: string;
23407
- id: string;
23408
24608
  created_at?: string | undefined | undefined;
23409
24609
  updated_at?: string | undefined | undefined;
23410
24610
  organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
@@ -24014,6 +25214,8 @@ export declare function init(config: AuthHeroConfig): {
24014
25214
  enabled_connections: {
24015
25215
  connection_id: string;
24016
25216
  connection?: {
25217
+ created_at: string;
25218
+ updated_at: string;
24017
25219
  options: {
24018
25220
  provider?: string | undefined | undefined;
24019
25221
  client_id?: string | undefined | undefined;
@@ -24035,8 +25237,6 @@ export declare function init(config: AuthHeroConfig): {
24035
25237
  twilio_token?: string | undefined | undefined;
24036
25238
  icon_url?: string | undefined | undefined;
24037
25239
  };
24038
- created_at: string;
24039
- updated_at: string;
24040
25240
  name: string;
24041
25241
  strategy: string;
24042
25242
  id?: string | undefined | undefined;
@@ -24074,6 +25274,8 @@ export declare function init(config: AuthHeroConfig): {
24074
25274
  enabled_connections: {
24075
25275
  connection_id: string;
24076
25276
  connection?: {
25277
+ created_at: string;
25278
+ updated_at: string;
24077
25279
  options: {
24078
25280
  provider?: string | undefined | undefined;
24079
25281
  client_id?: string | undefined | undefined;
@@ -24095,8 +25297,6 @@ export declare function init(config: AuthHeroConfig): {
24095
25297
  twilio_token?: string | undefined | undefined;
24096
25298
  icon_url?: string | undefined | undefined;
24097
25299
  };
24098
- created_at: string;
24099
- updated_at: string;
24100
25300
  name: string;
24101
25301
  strategy: string;
24102
25302
  id?: string | undefined | undefined;
@@ -24242,14 +25442,14 @@ export declare function init(config: AuthHeroConfig): {
24242
25442
  output: {
24243
25443
  created_at: string;
24244
25444
  updated_at: string;
25445
+ user_id: string;
24245
25446
  email_verified: boolean;
24246
25447
  connection: string;
24247
- user_id: string;
24248
25448
  provider: string;
24249
25449
  is_social: boolean;
24250
25450
  login_count: number;
24251
- email?: string | undefined | undefined;
24252
25451
  name?: string | undefined | undefined;
25452
+ email?: string | undefined | undefined;
24253
25453
  username?: string | undefined | undefined;
24254
25454
  given_name?: string | undefined | undefined;
24255
25455
  phone_number?: string | undefined | undefined;
@@ -24265,8 +25465,8 @@ export declare function init(config: AuthHeroConfig): {
24265
25465
  last_ip?: string | undefined | undefined;
24266
25466
  last_login?: string | undefined | undefined;
24267
25467
  identities?: {
24268
- connection: string;
24269
25468
  user_id: string;
25469
+ connection: string;
24270
25470
  provider: string;
24271
25471
  isSocial: boolean;
24272
25472
  access_token?: string | undefined | undefined;
@@ -24291,14 +25491,14 @@ export declare function init(config: AuthHeroConfig): {
24291
25491
  users: {
24292
25492
  created_at: string;
24293
25493
  updated_at: string;
25494
+ user_id: string;
24294
25495
  email_verified: boolean;
24295
25496
  connection: string;
24296
- user_id: string;
24297
25497
  provider: string;
24298
25498
  is_social: boolean;
24299
25499
  login_count: number;
24300
- email?: string | undefined | undefined;
24301
25500
  name?: string | undefined | undefined;
25501
+ email?: string | undefined | undefined;
24302
25502
  username?: string | undefined | undefined;
24303
25503
  given_name?: string | undefined | undefined;
24304
25504
  phone_number?: string | undefined | undefined;
@@ -24314,8 +25514,8 @@ export declare function init(config: AuthHeroConfig): {
24314
25514
  last_ip?: string | undefined | undefined;
24315
25515
  last_login?: string | undefined | undefined;
24316
25516
  identities?: {
24317
- connection: string;
24318
25517
  user_id: string;
25518
+ connection: string;
24319
25519
  provider: string;
24320
25520
  isSocial: boolean;
24321
25521
  access_token?: string | undefined | undefined;
@@ -24354,14 +25554,14 @@ export declare function init(config: AuthHeroConfig): {
24354
25554
  output: {
24355
25555
  created_at: string;
24356
25556
  updated_at: string;
25557
+ user_id: string;
24357
25558
  email_verified: boolean;
24358
25559
  connection: string;
24359
- user_id: string;
24360
25560
  provider: string;
24361
25561
  is_social: boolean;
24362
25562
  login_count: number;
24363
- email?: string | undefined | undefined;
24364
25563
  name?: string | undefined | undefined;
25564
+ email?: string | undefined | undefined;
24365
25565
  username?: string | undefined | undefined;
24366
25566
  given_name?: string | undefined | undefined;
24367
25567
  phone_number?: string | undefined | undefined;
@@ -24377,8 +25577,8 @@ export declare function init(config: AuthHeroConfig): {
24377
25577
  last_ip?: string | undefined | undefined;
24378
25578
  last_login?: string | undefined | undefined;
24379
25579
  identities?: {
24380
- connection: string;
24381
25580
  user_id: string;
25581
+ connection: string;
24382
25582
  provider: string;
24383
25583
  isSocial: boolean;
24384
25584
  access_token?: string | undefined | undefined;
@@ -24454,14 +25654,14 @@ export declare function init(config: AuthHeroConfig): {
24454
25654
  output: {
24455
25655
  created_at: string;
24456
25656
  updated_at: string;
25657
+ user_id: string;
24457
25658
  email_verified: boolean;
24458
25659
  connection: string;
24459
- user_id: string;
24460
25660
  provider: string;
24461
25661
  is_social: boolean;
24462
25662
  login_count: number;
24463
- email?: string | undefined | undefined;
24464
25663
  name?: string | undefined | undefined;
25664
+ email?: string | undefined | undefined;
24465
25665
  username?: string | undefined | undefined;
24466
25666
  given_name?: string | undefined | undefined;
24467
25667
  phone_number?: string | undefined | undefined;
@@ -24477,8 +25677,8 @@ export declare function init(config: AuthHeroConfig): {
24477
25677
  last_ip?: string | undefined | undefined;
24478
25678
  last_login?: string | undefined | undefined;
24479
25679
  identities?: {
24480
- connection: string;
24481
25680
  user_id: string;
25681
+ connection: string;
24482
25682
  provider: string;
24483
25683
  isSocial: boolean;
24484
25684
  access_token?: string | undefined | undefined;
@@ -24590,14 +25790,14 @@ export declare function init(config: AuthHeroConfig): {
24590
25790
  output: {
24591
25791
  created_at: string;
24592
25792
  updated_at: string;
25793
+ user_id: string;
24593
25794
  email_verified: boolean;
24594
25795
  connection: string;
24595
- user_id: string;
24596
25796
  provider: string;
24597
25797
  is_social: boolean;
24598
25798
  login_count: number;
24599
- email?: string | undefined | undefined;
24600
25799
  name?: string | undefined | undefined;
25800
+ email?: string | undefined | undefined;
24601
25801
  username?: string | undefined | undefined;
24602
25802
  given_name?: string | undefined | undefined;
24603
25803
  phone_number?: string | undefined | undefined;
@@ -24613,8 +25813,8 @@ export declare function init(config: AuthHeroConfig): {
24613
25813
  last_ip?: string | undefined | undefined;
24614
25814
  last_login?: string | undefined | undefined;
24615
25815
  identities?: {
24616
- connection: string;
24617
25816
  user_id: string;
25817
+ connection: string;
24618
25818
  provider: string;
24619
25819
  isSocial: boolean;
24620
25820
  access_token?: string | undefined | undefined;
@@ -24660,8 +25860,8 @@ export declare function init(config: AuthHeroConfig): {
24660
25860
  output: {
24661
25861
  created_at: string;
24662
25862
  updated_at: string;
24663
- user_id: string;
24664
25863
  id: string;
25864
+ user_id: string;
24665
25865
  clients: string[];
24666
25866
  login_session_id: string;
24667
25867
  device: {
@@ -24685,8 +25885,8 @@ export declare function init(config: AuthHeroConfig): {
24685
25885
  sessions: {
24686
25886
  created_at: string;
24687
25887
  updated_at: string;
24688
- user_id: string;
24689
25888
  id: string;
25889
+ user_id: string;
24690
25890
  clients: string[];
24691
25891
  login_session_id: string;
24692
25892
  device: {
@@ -24734,8 +25934,8 @@ export declare function init(config: AuthHeroConfig): {
24734
25934
  resource_server_identifier: string;
24735
25935
  permission_name: string;
24736
25936
  resource_server_name: string;
24737
- description?: string | null | undefined | undefined;
24738
25937
  created_at?: string | undefined | undefined;
25938
+ description?: string | null | undefined | undefined;
24739
25939
  organization_id?: string | undefined | undefined;
24740
25940
  }[];
24741
25941
  outputFormat: "json";
@@ -24803,11 +26003,11 @@ export declare function init(config: AuthHeroConfig): {
24803
26003
  };
24804
26004
  };
24805
26005
  output: {
24806
- name: string;
24807
26006
  id: string;
24808
- description?: string | undefined | undefined;
26007
+ name: string;
24809
26008
  created_at?: string | undefined | undefined;
24810
26009
  updated_at?: string | undefined | undefined;
26010
+ description?: string | undefined | undefined;
24811
26011
  }[];
24812
26012
  outputFormat: "json";
24813
26013
  status: 200;
@@ -24878,8 +26078,8 @@ export declare function init(config: AuthHeroConfig): {
24878
26078
  output: {
24879
26079
  created_at: string;
24880
26080
  updated_at: string;
24881
- name: string;
24882
26081
  id: string;
26082
+ name: string;
24883
26083
  token_quota?: {
24884
26084
  client_credentials?: {
24885
26085
  enforce: boolean;
@@ -24899,8 +26099,8 @@ export declare function init(config: AuthHeroConfig): {
24899
26099
  logo_url?: string | undefined | undefined;
24900
26100
  } | undefined;
24901
26101
  enabled_connections?: {
24902
- show_as_button: boolean;
24903
26102
  connection_id: string;
26103
+ show_as_button: boolean;
24904
26104
  assign_membership_on_login: boolean;
24905
26105
  is_signup_enabled: boolean;
24906
26106
  }[] | undefined;
@@ -24911,8 +26111,8 @@ export declare function init(config: AuthHeroConfig): {
24911
26111
  organizations: {
24912
26112
  created_at: string;
24913
26113
  updated_at: string;
24914
- name: string;
24915
26114
  id: string;
26115
+ name: string;
24916
26116
  token_quota?: {
24917
26117
  client_credentials?: {
24918
26118
  enforce: boolean;
@@ -24932,8 +26132,8 @@ export declare function init(config: AuthHeroConfig): {
24932
26132
  logo_url?: string | undefined | undefined;
24933
26133
  } | undefined;
24934
26134
  enabled_connections?: {
24935
- show_as_button: boolean;
24936
26135
  connection_id: string;
26136
+ show_as_button: boolean;
24937
26137
  assign_membership_on_login: boolean;
24938
26138
  is_signup_enabled: boolean;
24939
26139
  }[] | undefined;