authhero 4.80.0 → 4.83.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,692 @@ import { Context, Handler, MiddlewareHandler, Next } from 'hono';
5
5
  import { FC, JSXNode, PropsWithChildren } from 'hono/jsx';
6
6
  import { CountryCode } from 'libphonenumber-js';
7
7
 
8
+ export declare const auditCategorySchema: z.ZodEnum<[
9
+ "user_action",
10
+ "admin_action",
11
+ "system",
12
+ "api"
13
+ ]>;
14
+ export type AuditCategory = z.infer<typeof auditCategorySchema>;
15
+ export declare const actorSchema: z.ZodObject<{
16
+ type: z.ZodEnum<[
17
+ "user",
18
+ "admin",
19
+ "system",
20
+ "api_key",
21
+ "client_credentials"
22
+ ]>;
23
+ id: z.ZodOptional<z.ZodString>;
24
+ email: z.ZodOptional<z.ZodString>;
25
+ org_id: z.ZodOptional<z.ZodString>;
26
+ org_name: z.ZodOptional<z.ZodString>;
27
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
+ client_id: z.ZodOptional<z.ZodString>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
31
+ id?: string | undefined;
32
+ email?: string | undefined;
33
+ org_id?: string | undefined;
34
+ org_name?: string | undefined;
35
+ scopes?: string[] | undefined;
36
+ client_id?: string | undefined;
37
+ }, {
38
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
39
+ id?: string | undefined;
40
+ email?: string | undefined;
41
+ org_id?: string | undefined;
42
+ org_name?: string | undefined;
43
+ scopes?: string[] | undefined;
44
+ client_id?: string | undefined;
45
+ }>;
46
+ export type Actor = z.infer<typeof actorSchema>;
47
+ export declare const targetSchema: z.ZodObject<{
48
+ type: z.ZodString;
49
+ id: z.ZodString;
50
+ before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
51
+ after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
52
+ diff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
53
+ old: z.ZodUnknown;
54
+ new: z.ZodUnknown;
55
+ }, "strip", z.ZodTypeAny, {
56
+ old?: unknown;
57
+ new?: unknown;
58
+ }, {
59
+ old?: unknown;
60
+ new?: unknown;
61
+ }>>>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ type: string;
64
+ id: string;
65
+ before?: Record<string, unknown> | undefined;
66
+ after?: Record<string, unknown> | undefined;
67
+ diff?: Record<string, {
68
+ old?: unknown;
69
+ new?: unknown;
70
+ }> | undefined;
71
+ }, {
72
+ type: string;
73
+ id: string;
74
+ before?: Record<string, unknown> | undefined;
75
+ after?: Record<string, unknown> | undefined;
76
+ diff?: Record<string, {
77
+ old?: unknown;
78
+ new?: unknown;
79
+ }> | undefined;
80
+ }>;
81
+ export type Target = z.infer<typeof targetSchema>;
82
+ export declare const requestContextSchema: z.ZodObject<{
83
+ method: z.ZodString;
84
+ path: z.ZodString;
85
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
86
+ body: z.ZodOptional<z.ZodUnknown>;
87
+ ip: z.ZodString;
88
+ user_agent: z.ZodOptional<z.ZodString>;
89
+ correlation_id: z.ZodOptional<z.ZodString>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ path: string;
92
+ method: string;
93
+ ip: string;
94
+ query?: Record<string, string> | undefined;
95
+ body?: unknown;
96
+ user_agent?: string | undefined;
97
+ correlation_id?: string | undefined;
98
+ }, {
99
+ path: string;
100
+ method: string;
101
+ ip: string;
102
+ query?: Record<string, string> | undefined;
103
+ body?: unknown;
104
+ user_agent?: string | undefined;
105
+ correlation_id?: string | undefined;
106
+ }>;
107
+ export type RequestContext = z.infer<typeof requestContextSchema>;
108
+ export declare const responseContextSchema: z.ZodObject<{
109
+ status_code: z.ZodNumber;
110
+ body: z.ZodOptional<z.ZodUnknown>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ status_code: number;
113
+ body?: unknown;
114
+ }, {
115
+ status_code: number;
116
+ body?: unknown;
117
+ }>;
118
+ export type ResponseContext = z.infer<typeof responseContextSchema>;
119
+ export declare const locationInfoSchema: z.ZodObject<{
120
+ country_code: z.ZodString;
121
+ city_name: z.ZodString;
122
+ latitude: z.ZodString;
123
+ longitude: z.ZodString;
124
+ time_zone: z.ZodString;
125
+ continent_code: z.ZodString;
126
+ }, "strip", z.ZodTypeAny, {
127
+ country_code: string;
128
+ city_name: string;
129
+ latitude: string;
130
+ longitude: string;
131
+ time_zone: string;
132
+ continent_code: string;
133
+ }, {
134
+ country_code: string;
135
+ city_name: string;
136
+ latitude: string;
137
+ longitude: string;
138
+ time_zone: string;
139
+ continent_code: string;
140
+ }>;
141
+ export declare const auth0ClientSchema: z.ZodObject<{
142
+ name: z.ZodString;
143
+ version: z.ZodString;
144
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ name: string;
147
+ version: string;
148
+ env?: Record<string, string> | undefined;
149
+ }, {
150
+ name: string;
151
+ version: string;
152
+ env?: Record<string, string> | undefined;
153
+ }>;
154
+ export declare const auditEventInsertSchema: z.ZodObject<{
155
+ tenant_id: z.ZodString;
156
+ event_type: z.ZodString;
157
+ log_type: z.ZodString;
158
+ description: z.ZodOptional<z.ZodString>;
159
+ category: z.ZodEnum<[
160
+ "user_action",
161
+ "admin_action",
162
+ "system",
163
+ "api"
164
+ ]>;
165
+ actor: z.ZodObject<{
166
+ type: z.ZodEnum<[
167
+ "user",
168
+ "admin",
169
+ "system",
170
+ "api_key",
171
+ "client_credentials"
172
+ ]>;
173
+ id: z.ZodOptional<z.ZodString>;
174
+ email: z.ZodOptional<z.ZodString>;
175
+ org_id: z.ZodOptional<z.ZodString>;
176
+ org_name: z.ZodOptional<z.ZodString>;
177
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
178
+ client_id: z.ZodOptional<z.ZodString>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
181
+ id?: string | undefined;
182
+ email?: string | undefined;
183
+ org_id?: string | undefined;
184
+ org_name?: string | undefined;
185
+ scopes?: string[] | undefined;
186
+ client_id?: string | undefined;
187
+ }, {
188
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
189
+ id?: string | undefined;
190
+ email?: string | undefined;
191
+ org_id?: string | undefined;
192
+ org_name?: string | undefined;
193
+ scopes?: string[] | undefined;
194
+ client_id?: string | undefined;
195
+ }>;
196
+ target: z.ZodObject<{
197
+ type: z.ZodString;
198
+ id: z.ZodString;
199
+ before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
200
+ after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
201
+ diff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
202
+ old: z.ZodUnknown;
203
+ new: z.ZodUnknown;
204
+ }, "strip", z.ZodTypeAny, {
205
+ old?: unknown;
206
+ new?: unknown;
207
+ }, {
208
+ old?: unknown;
209
+ new?: unknown;
210
+ }>>>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ type: string;
213
+ id: string;
214
+ before?: Record<string, unknown> | undefined;
215
+ after?: Record<string, unknown> | undefined;
216
+ diff?: Record<string, {
217
+ old?: unknown;
218
+ new?: unknown;
219
+ }> | undefined;
220
+ }, {
221
+ type: string;
222
+ id: string;
223
+ before?: Record<string, unknown> | undefined;
224
+ after?: Record<string, unknown> | undefined;
225
+ diff?: Record<string, {
226
+ old?: unknown;
227
+ new?: unknown;
228
+ }> | undefined;
229
+ }>;
230
+ request: z.ZodObject<{
231
+ method: z.ZodString;
232
+ path: z.ZodString;
233
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
234
+ body: z.ZodOptional<z.ZodUnknown>;
235
+ ip: z.ZodString;
236
+ user_agent: z.ZodOptional<z.ZodString>;
237
+ correlation_id: z.ZodOptional<z.ZodString>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ path: string;
240
+ method: string;
241
+ ip: string;
242
+ query?: Record<string, string> | undefined;
243
+ body?: unknown;
244
+ user_agent?: string | undefined;
245
+ correlation_id?: string | undefined;
246
+ }, {
247
+ path: string;
248
+ method: string;
249
+ ip: string;
250
+ query?: Record<string, string> | undefined;
251
+ body?: unknown;
252
+ user_agent?: string | undefined;
253
+ correlation_id?: string | undefined;
254
+ }>;
255
+ response: z.ZodOptional<z.ZodObject<{
256
+ status_code: z.ZodNumber;
257
+ body: z.ZodOptional<z.ZodUnknown>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ status_code: number;
260
+ body?: unknown;
261
+ }, {
262
+ status_code: number;
263
+ body?: unknown;
264
+ }>>;
265
+ connection: z.ZodOptional<z.ZodString>;
266
+ strategy: z.ZodOptional<z.ZodString>;
267
+ strategy_type: z.ZodOptional<z.ZodString>;
268
+ location: z.ZodOptional<z.ZodObject<{
269
+ country_code: z.ZodString;
270
+ city_name: z.ZodString;
271
+ latitude: z.ZodString;
272
+ longitude: z.ZodString;
273
+ time_zone: z.ZodString;
274
+ continent_code: z.ZodString;
275
+ }, "strip", z.ZodTypeAny, {
276
+ country_code: string;
277
+ city_name: string;
278
+ latitude: string;
279
+ longitude: string;
280
+ time_zone: string;
281
+ continent_code: string;
282
+ }, {
283
+ country_code: string;
284
+ city_name: string;
285
+ latitude: string;
286
+ longitude: string;
287
+ time_zone: string;
288
+ continent_code: string;
289
+ }>>;
290
+ auth0_client: z.ZodOptional<z.ZodObject<{
291
+ name: z.ZodString;
292
+ version: z.ZodString;
293
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
294
+ }, "strip", z.ZodTypeAny, {
295
+ name: string;
296
+ version: string;
297
+ env?: Record<string, string> | undefined;
298
+ }, {
299
+ name: string;
300
+ version: string;
301
+ env?: Record<string, string> | undefined;
302
+ }>>;
303
+ hostname: z.ZodString;
304
+ is_mobile: z.ZodOptional<z.ZodBoolean>;
305
+ timestamp: z.ZodString;
306
+ }, "strip", z.ZodTypeAny, {
307
+ tenant_id: string;
308
+ event_type: string;
309
+ log_type: string;
310
+ category: "user_action" | "admin_action" | "system" | "api";
311
+ actor: {
312
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
313
+ id?: string | undefined;
314
+ email?: string | undefined;
315
+ org_id?: string | undefined;
316
+ org_name?: string | undefined;
317
+ scopes?: string[] | undefined;
318
+ client_id?: string | undefined;
319
+ };
320
+ target: {
321
+ type: string;
322
+ id: string;
323
+ before?: Record<string, unknown> | undefined;
324
+ after?: Record<string, unknown> | undefined;
325
+ diff?: Record<string, {
326
+ old?: unknown;
327
+ new?: unknown;
328
+ }> | undefined;
329
+ };
330
+ request: {
331
+ path: string;
332
+ method: string;
333
+ ip: string;
334
+ query?: Record<string, string> | undefined;
335
+ body?: unknown;
336
+ user_agent?: string | undefined;
337
+ correlation_id?: string | undefined;
338
+ };
339
+ hostname: string;
340
+ timestamp: string;
341
+ description?: string | undefined;
342
+ response?: {
343
+ status_code: number;
344
+ body?: unknown;
345
+ } | undefined;
346
+ connection?: string | undefined;
347
+ strategy?: string | undefined;
348
+ strategy_type?: string | undefined;
349
+ location?: {
350
+ country_code: string;
351
+ city_name: string;
352
+ latitude: string;
353
+ longitude: string;
354
+ time_zone: string;
355
+ continent_code: string;
356
+ } | undefined;
357
+ auth0_client?: {
358
+ name: string;
359
+ version: string;
360
+ env?: Record<string, string> | undefined;
361
+ } | undefined;
362
+ is_mobile?: boolean | undefined;
363
+ }, {
364
+ tenant_id: string;
365
+ event_type: string;
366
+ log_type: string;
367
+ category: "user_action" | "admin_action" | "system" | "api";
368
+ actor: {
369
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
370
+ id?: string | undefined;
371
+ email?: string | undefined;
372
+ org_id?: string | undefined;
373
+ org_name?: string | undefined;
374
+ scopes?: string[] | undefined;
375
+ client_id?: string | undefined;
376
+ };
377
+ target: {
378
+ type: string;
379
+ id: string;
380
+ before?: Record<string, unknown> | undefined;
381
+ after?: Record<string, unknown> | undefined;
382
+ diff?: Record<string, {
383
+ old?: unknown;
384
+ new?: unknown;
385
+ }> | undefined;
386
+ };
387
+ request: {
388
+ path: string;
389
+ method: string;
390
+ ip: string;
391
+ query?: Record<string, string> | undefined;
392
+ body?: unknown;
393
+ user_agent?: string | undefined;
394
+ correlation_id?: string | undefined;
395
+ };
396
+ hostname: string;
397
+ timestamp: string;
398
+ description?: string | undefined;
399
+ response?: {
400
+ status_code: number;
401
+ body?: unknown;
402
+ } | undefined;
403
+ connection?: string | undefined;
404
+ strategy?: string | undefined;
405
+ strategy_type?: string | undefined;
406
+ location?: {
407
+ country_code: string;
408
+ city_name: string;
409
+ latitude: string;
410
+ longitude: string;
411
+ time_zone: string;
412
+ continent_code: string;
413
+ } | undefined;
414
+ auth0_client?: {
415
+ name: string;
416
+ version: string;
417
+ env?: Record<string, string> | undefined;
418
+ } | undefined;
419
+ is_mobile?: boolean | undefined;
420
+ }>;
421
+ export type AuditEventInsert = z.infer<typeof auditEventInsertSchema>;
422
+ export declare const auditEventSchema: z.ZodObject<{
423
+ tenant_id: z.ZodString;
424
+ event_type: z.ZodString;
425
+ log_type: z.ZodString;
426
+ description: z.ZodOptional<z.ZodString>;
427
+ category: z.ZodEnum<[
428
+ "user_action",
429
+ "admin_action",
430
+ "system",
431
+ "api"
432
+ ]>;
433
+ actor: z.ZodObject<{
434
+ type: z.ZodEnum<[
435
+ "user",
436
+ "admin",
437
+ "system",
438
+ "api_key",
439
+ "client_credentials"
440
+ ]>;
441
+ id: z.ZodOptional<z.ZodString>;
442
+ email: z.ZodOptional<z.ZodString>;
443
+ org_id: z.ZodOptional<z.ZodString>;
444
+ org_name: z.ZodOptional<z.ZodString>;
445
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
446
+ client_id: z.ZodOptional<z.ZodString>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
449
+ id?: string | undefined;
450
+ email?: string | undefined;
451
+ org_id?: string | undefined;
452
+ org_name?: string | undefined;
453
+ scopes?: string[] | undefined;
454
+ client_id?: string | undefined;
455
+ }, {
456
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
457
+ id?: string | undefined;
458
+ email?: string | undefined;
459
+ org_id?: string | undefined;
460
+ org_name?: string | undefined;
461
+ scopes?: string[] | undefined;
462
+ client_id?: string | undefined;
463
+ }>;
464
+ target: z.ZodObject<{
465
+ type: z.ZodString;
466
+ id: z.ZodString;
467
+ before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
468
+ after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
469
+ diff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
470
+ old: z.ZodUnknown;
471
+ new: z.ZodUnknown;
472
+ }, "strip", z.ZodTypeAny, {
473
+ old?: unknown;
474
+ new?: unknown;
475
+ }, {
476
+ old?: unknown;
477
+ new?: unknown;
478
+ }>>>;
479
+ }, "strip", z.ZodTypeAny, {
480
+ type: string;
481
+ id: string;
482
+ before?: Record<string, unknown> | undefined;
483
+ after?: Record<string, unknown> | undefined;
484
+ diff?: Record<string, {
485
+ old?: unknown;
486
+ new?: unknown;
487
+ }> | undefined;
488
+ }, {
489
+ type: string;
490
+ id: string;
491
+ before?: Record<string, unknown> | undefined;
492
+ after?: Record<string, unknown> | undefined;
493
+ diff?: Record<string, {
494
+ old?: unknown;
495
+ new?: unknown;
496
+ }> | undefined;
497
+ }>;
498
+ request: z.ZodObject<{
499
+ method: z.ZodString;
500
+ path: z.ZodString;
501
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
502
+ body: z.ZodOptional<z.ZodUnknown>;
503
+ ip: z.ZodString;
504
+ user_agent: z.ZodOptional<z.ZodString>;
505
+ correlation_id: z.ZodOptional<z.ZodString>;
506
+ }, "strip", z.ZodTypeAny, {
507
+ path: string;
508
+ method: string;
509
+ ip: string;
510
+ query?: Record<string, string> | undefined;
511
+ body?: unknown;
512
+ user_agent?: string | undefined;
513
+ correlation_id?: string | undefined;
514
+ }, {
515
+ path: string;
516
+ method: string;
517
+ ip: string;
518
+ query?: Record<string, string> | undefined;
519
+ body?: unknown;
520
+ user_agent?: string | undefined;
521
+ correlation_id?: string | undefined;
522
+ }>;
523
+ response: z.ZodOptional<z.ZodObject<{
524
+ status_code: z.ZodNumber;
525
+ body: z.ZodOptional<z.ZodUnknown>;
526
+ }, "strip", z.ZodTypeAny, {
527
+ status_code: number;
528
+ body?: unknown;
529
+ }, {
530
+ status_code: number;
531
+ body?: unknown;
532
+ }>>;
533
+ connection: z.ZodOptional<z.ZodString>;
534
+ strategy: z.ZodOptional<z.ZodString>;
535
+ strategy_type: z.ZodOptional<z.ZodString>;
536
+ location: z.ZodOptional<z.ZodObject<{
537
+ country_code: z.ZodString;
538
+ city_name: z.ZodString;
539
+ latitude: z.ZodString;
540
+ longitude: z.ZodString;
541
+ time_zone: z.ZodString;
542
+ continent_code: z.ZodString;
543
+ }, "strip", z.ZodTypeAny, {
544
+ country_code: string;
545
+ city_name: string;
546
+ latitude: string;
547
+ longitude: string;
548
+ time_zone: string;
549
+ continent_code: string;
550
+ }, {
551
+ country_code: string;
552
+ city_name: string;
553
+ latitude: string;
554
+ longitude: string;
555
+ time_zone: string;
556
+ continent_code: string;
557
+ }>>;
558
+ auth0_client: z.ZodOptional<z.ZodObject<{
559
+ name: z.ZodString;
560
+ version: z.ZodString;
561
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
562
+ }, "strip", z.ZodTypeAny, {
563
+ name: string;
564
+ version: string;
565
+ env?: Record<string, string> | undefined;
566
+ }, {
567
+ name: string;
568
+ version: string;
569
+ env?: Record<string, string> | undefined;
570
+ }>>;
571
+ hostname: z.ZodString;
572
+ is_mobile: z.ZodOptional<z.ZodBoolean>;
573
+ timestamp: z.ZodString;
574
+ } & {
575
+ id: z.ZodString;
576
+ }, "strip", z.ZodTypeAny, {
577
+ id: string;
578
+ tenant_id: string;
579
+ event_type: string;
580
+ log_type: string;
581
+ category: "user_action" | "admin_action" | "system" | "api";
582
+ actor: {
583
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
584
+ id?: string | undefined;
585
+ email?: string | undefined;
586
+ org_id?: string | undefined;
587
+ org_name?: string | undefined;
588
+ scopes?: string[] | undefined;
589
+ client_id?: string | undefined;
590
+ };
591
+ target: {
592
+ type: string;
593
+ id: string;
594
+ before?: Record<string, unknown> | undefined;
595
+ after?: Record<string, unknown> | undefined;
596
+ diff?: Record<string, {
597
+ old?: unknown;
598
+ new?: unknown;
599
+ }> | undefined;
600
+ };
601
+ request: {
602
+ path: string;
603
+ method: string;
604
+ ip: string;
605
+ query?: Record<string, string> | undefined;
606
+ body?: unknown;
607
+ user_agent?: string | undefined;
608
+ correlation_id?: string | undefined;
609
+ };
610
+ hostname: string;
611
+ timestamp: string;
612
+ description?: string | undefined;
613
+ response?: {
614
+ status_code: number;
615
+ body?: unknown;
616
+ } | undefined;
617
+ connection?: string | undefined;
618
+ strategy?: string | undefined;
619
+ strategy_type?: string | undefined;
620
+ location?: {
621
+ country_code: string;
622
+ city_name: string;
623
+ latitude: string;
624
+ longitude: string;
625
+ time_zone: string;
626
+ continent_code: string;
627
+ } | undefined;
628
+ auth0_client?: {
629
+ name: string;
630
+ version: string;
631
+ env?: Record<string, string> | undefined;
632
+ } | undefined;
633
+ is_mobile?: boolean | undefined;
634
+ }, {
635
+ id: string;
636
+ tenant_id: string;
637
+ event_type: string;
638
+ log_type: string;
639
+ category: "user_action" | "admin_action" | "system" | "api";
640
+ actor: {
641
+ type: "system" | "user" | "admin" | "api_key" | "client_credentials";
642
+ id?: string | undefined;
643
+ email?: string | undefined;
644
+ org_id?: string | undefined;
645
+ org_name?: string | undefined;
646
+ scopes?: string[] | undefined;
647
+ client_id?: string | undefined;
648
+ };
649
+ target: {
650
+ type: string;
651
+ id: string;
652
+ before?: Record<string, unknown> | undefined;
653
+ after?: Record<string, unknown> | undefined;
654
+ diff?: Record<string, {
655
+ old?: unknown;
656
+ new?: unknown;
657
+ }> | undefined;
658
+ };
659
+ request: {
660
+ path: string;
661
+ method: string;
662
+ ip: string;
663
+ query?: Record<string, string> | undefined;
664
+ body?: unknown;
665
+ user_agent?: string | undefined;
666
+ correlation_id?: string | undefined;
667
+ };
668
+ hostname: string;
669
+ timestamp: string;
670
+ description?: string | undefined;
671
+ response?: {
672
+ status_code: number;
673
+ body?: unknown;
674
+ } | undefined;
675
+ connection?: string | undefined;
676
+ strategy?: string | undefined;
677
+ strategy_type?: string | undefined;
678
+ location?: {
679
+ country_code: string;
680
+ city_name: string;
681
+ latitude: string;
682
+ longitude: string;
683
+ time_zone: string;
684
+ continent_code: string;
685
+ } | undefined;
686
+ auth0_client?: {
687
+ name: string;
688
+ version: string;
689
+ env?: Record<string, string> | undefined;
690
+ } | undefined;
691
+ is_mobile?: boolean | undefined;
692
+ }>;
693
+ export type AuditEvent = z.infer<typeof auditEventSchema>;
8
694
  /**
9
695
  * Flow action types supported by the system (Auth0 compatible)
10
696
  * For now we support AUTH0, EMAIL, and REDIRECT types
@@ -905,10 +1591,10 @@ export declare const flowSchema: z.ZodObject<{
905
1591
  created_at: z.ZodString;
906
1592
  updated_at: z.ZodString;
907
1593
  }, "strip", z.ZodTypeAny, {
1594
+ name: string;
1595
+ id: string;
908
1596
  created_at: string;
909
1597
  updated_at: string;
910
- id: string;
911
- name: string;
912
1598
  actions: ({
913
1599
  params: {
914
1600
  user_id: string;
@@ -952,10 +1638,10 @@ export declare const flowSchema: z.ZodObject<{
952
1638
  mask_output?: boolean | undefined;
953
1639
  })[];
954
1640
  }, {
1641
+ name: string;
1642
+ id: string;
955
1643
  created_at: string;
956
1644
  updated_at: string;
957
- id: string;
958
- name: string;
959
1645
  actions?: ({
960
1646
  params: {
961
1647
  user_id: string;
@@ -1111,8 +1797,8 @@ export declare const baseUserSchema: z.ZodObject<{
1111
1797
  }>>;
1112
1798
  }, "strip", z.ZodTypeAny, {
1113
1799
  name?: string | undefined;
1114
- user_id?: string | undefined;
1115
1800
  email?: string | undefined;
1801
+ user_id?: string | undefined;
1116
1802
  username?: string | undefined;
1117
1803
  given_name?: string | undefined;
1118
1804
  phone_number?: string | undefined;
@@ -1142,8 +1828,8 @@ export declare const baseUserSchema: z.ZodObject<{
1142
1828
  } | undefined;
1143
1829
  }, {
1144
1830
  name?: string | undefined;
1145
- user_id?: string | undefined;
1146
1831
  email?: string | undefined;
1832
+ user_id?: string | undefined;
1147
1833
  username?: string | undefined;
1148
1834
  given_name?: string | undefined;
1149
1835
  phone_number?: string | undefined;
@@ -1237,15 +1923,15 @@ export declare const userInsertSchema: z.ZodObject<{
1237
1923
  algorithm: string;
1238
1924
  }>>;
1239
1925
  }, "strip", z.ZodTypeAny, {
1240
- email_verified: boolean;
1241
1926
  connection: string;
1927
+ email_verified: boolean;
1242
1928
  password?: {
1243
1929
  hash: string;
1244
1930
  algorithm: string;
1245
1931
  } | undefined;
1246
1932
  name?: string | undefined;
1247
- user_id?: string | undefined;
1248
1933
  email?: string | undefined;
1934
+ user_id?: string | undefined;
1249
1935
  username?: string | undefined;
1250
1936
  given_name?: string | undefined;
1251
1937
  phone_number?: string | undefined;
@@ -1285,8 +1971,8 @@ export declare const userInsertSchema: z.ZodObject<{
1285
1971
  algorithm: string;
1286
1972
  } | undefined;
1287
1973
  name?: string | undefined;
1288
- user_id?: string | undefined;
1289
1974
  email?: string | undefined;
1975
+ user_id?: string | undefined;
1290
1976
  email_verified?: boolean | undefined;
1291
1977
  username?: string | undefined;
1292
1978
  given_name?: string | undefined;
@@ -1370,8 +2056,8 @@ export declare const userSchema: z.ZodObject<{
1370
2056
  family_name: z.ZodOptional<z.ZodString>;
1371
2057
  }, z.ZodAny, "strip">>>;
1372
2058
  }, "strip", z.ZodTypeAny, {
1373
- user_id: string;
1374
2059
  connection: string;
2060
+ user_id: string;
1375
2061
  provider: string;
1376
2062
  isSocial: boolean;
1377
2063
  email?: string | undefined;
@@ -1393,8 +2079,8 @@ export declare const userSchema: z.ZodObject<{
1393
2079
  family_name: z.ZodOptional<z.ZodString>;
1394
2080
  }, z.ZodAny, "strip"> | undefined;
1395
2081
  }, {
1396
- user_id: string;
1397
2082
  connection: string;
2083
+ user_id: string;
1398
2084
  provider: string;
1399
2085
  isSocial: boolean;
1400
2086
  email?: string | undefined;
@@ -1419,13 +2105,13 @@ export declare const userSchema: z.ZodObject<{
1419
2105
  created_at: z.ZodString;
1420
2106
  updated_at: z.ZodString;
1421
2107
  name: z.ZodOptional<z.ZodString>;
2108
+ connection: z.ZodString;
1422
2109
  email_verified: z.ZodDefault<z.ZodBoolean>;
1423
2110
  username: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1424
2111
  given_name: z.ZodOptional<z.ZodString>;
1425
2112
  phone_number: z.ZodOptional<z.ZodString>;
1426
2113
  phone_verified: z.ZodOptional<z.ZodBoolean>;
1427
2114
  family_name: z.ZodOptional<z.ZodString>;
1428
- connection: z.ZodString;
1429
2115
  profileData: z.ZodOptional<z.ZodString>;
1430
2116
  nickname: z.ZodOptional<z.ZodString>;
1431
2117
  picture: z.ZodOptional<z.ZodString>;
@@ -1466,11 +2152,11 @@ export declare const userSchema: z.ZodObject<{
1466
2152
  last_ip: z.ZodOptional<z.ZodString>;
1467
2153
  last_login: z.ZodOptional<z.ZodString>;
1468
2154
  }, "strip", z.ZodTypeAny, {
2155
+ connection: string;
1469
2156
  created_at: string;
1470
2157
  updated_at: string;
1471
2158
  user_id: string;
1472
2159
  email_verified: boolean;
1473
- connection: string;
1474
2160
  provider: string;
1475
2161
  is_social: boolean;
1476
2162
  login_count: number;
@@ -1507,8 +2193,8 @@ export declare const userSchema: z.ZodObject<{
1507
2193
  last_ip?: string | undefined;
1508
2194
  last_login?: string | undefined;
1509
2195
  identities?: {
1510
- user_id: string;
1511
2196
  connection: string;
2197
+ user_id: string;
1512
2198
  provider: string;
1513
2199
  isSocial: boolean;
1514
2200
  email?: string | undefined;
@@ -1531,10 +2217,10 @@ export declare const userSchema: z.ZodObject<{
1531
2217
  }, z.ZodAny, "strip"> | undefined;
1532
2218
  }[] | undefined;
1533
2219
  }, {
2220
+ connection: string;
1534
2221
  created_at: string;
1535
2222
  updated_at: string;
1536
2223
  user_id: string;
1537
- connection: string;
1538
2224
  provider: string;
1539
2225
  is_social: boolean;
1540
2226
  name?: string | undefined;
@@ -1572,8 +2258,8 @@ export declare const userSchema: z.ZodObject<{
1572
2258
  last_login?: string | undefined;
1573
2259
  login_count?: number | undefined;
1574
2260
  identities?: {
1575
- user_id: string;
1576
2261
  connection: string;
2262
+ user_id: string;
1577
2263
  provider: string;
1578
2264
  isSocial: boolean;
1579
2265
  email?: string | undefined;
@@ -1645,8 +2331,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1645
2331
  family_name: z.ZodOptional<z.ZodString>;
1646
2332
  }, z.ZodAny, "strip">>>;
1647
2333
  }, "strip", z.ZodTypeAny, {
1648
- user_id: string;
1649
2334
  connection: string;
2335
+ user_id: string;
1650
2336
  provider: string;
1651
2337
  isSocial: boolean;
1652
2338
  email?: string | undefined;
@@ -1668,8 +2354,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1668
2354
  family_name: z.ZodOptional<z.ZodString>;
1669
2355
  }, z.ZodAny, "strip"> | undefined;
1670
2356
  }, {
1671
- user_id: string;
1672
2357
  connection: string;
2358
+ user_id: string;
1673
2359
  provider: string;
1674
2360
  isSocial: boolean;
1675
2361
  email?: string | undefined;
@@ -1694,13 +2380,13 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1694
2380
  created_at: z.ZodString;
1695
2381
  updated_at: z.ZodString;
1696
2382
  name: z.ZodOptional<z.ZodString>;
2383
+ connection: z.ZodString;
1697
2384
  email_verified: z.ZodDefault<z.ZodBoolean>;
1698
2385
  username: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1699
2386
  given_name: z.ZodOptional<z.ZodString>;
1700
2387
  phone_number: z.ZodOptional<z.ZodString>;
1701
2388
  phone_verified: z.ZodOptional<z.ZodBoolean>;
1702
2389
  family_name: z.ZodOptional<z.ZodString>;
1703
- connection: z.ZodString;
1704
2390
  profileData: z.ZodOptional<z.ZodString>;
1705
2391
  nickname: z.ZodOptional<z.ZodString>;
1706
2392
  picture: z.ZodOptional<z.ZodString>;
@@ -1741,11 +2427,11 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1741
2427
  last_ip: z.ZodOptional<z.ZodString>;
1742
2428
  last_login: z.ZodOptional<z.ZodString>;
1743
2429
  }, "strip", z.ZodTypeAny, {
2430
+ connection: string;
1744
2431
  created_at: string;
1745
2432
  updated_at: string;
1746
2433
  user_id: string;
1747
2434
  email_verified: boolean;
1748
- connection: string;
1749
2435
  provider: string;
1750
2436
  is_social: boolean;
1751
2437
  login_count: number;
@@ -1782,8 +2468,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1782
2468
  last_ip?: string | undefined;
1783
2469
  last_login?: string | undefined;
1784
2470
  identities?: {
1785
- user_id: string;
1786
2471
  connection: string;
2472
+ user_id: string;
1787
2473
  provider: string;
1788
2474
  isSocial: boolean;
1789
2475
  email?: string | undefined;
@@ -1806,10 +2492,10 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1806
2492
  }, z.ZodAny, "strip"> | undefined;
1807
2493
  }[] | undefined;
1808
2494
  }, {
2495
+ connection: string;
1809
2496
  created_at: string;
1810
2497
  updated_at: string;
1811
2498
  user_id: string;
1812
- connection: string;
1813
2499
  provider: string;
1814
2500
  is_social: boolean;
1815
2501
  name?: string | undefined;
@@ -1847,8 +2533,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1847
2533
  last_login?: string | undefined;
1848
2534
  login_count?: number | undefined;
1849
2535
  identities?: {
1850
- user_id: string;
1851
2536
  connection: string;
2537
+ user_id: string;
1852
2538
  provider: string;
1853
2539
  isSocial: boolean;
1854
2540
  email?: string | undefined;
@@ -2319,10 +3005,10 @@ export declare const clientSchema: z.ZodObject<{
2319
3005
  created_at: z.ZodString;
2320
3006
  updated_at: z.ZodString;
2321
3007
  }, "strip", z.ZodTypeAny, {
2322
- created_at: string;
2323
- updated_at: string;
2324
3008
  name: string;
2325
3009
  client_id: string;
3010
+ created_at: string;
3011
+ updated_at: string;
2326
3012
  global: boolean;
2327
3013
  is_first_party: boolean;
2328
3014
  oidc_conformant: boolean;
@@ -2370,10 +3056,10 @@ export declare const clientSchema: z.ZodObject<{
2370
3056
  par_request_expiry?: number | undefined;
2371
3057
  token_quota?: Record<string, any> | undefined;
2372
3058
  }, {
2373
- created_at: string;
2374
- updated_at: string;
2375
3059
  name: string;
2376
3060
  client_id: string;
3061
+ created_at: string;
3062
+ updated_at: string;
2377
3063
  description?: string | undefined;
2378
3064
  refresh_token?: Record<string, any> | undefined;
2379
3065
  global?: boolean | undefined;
@@ -2445,7 +3131,7 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
2445
3131
  scope?: string[] | undefined;
2446
3132
  allow_any_organization?: boolean | undefined;
2447
3133
  is_system?: boolean | undefined;
2448
- subject_type?: "client" | "user" | undefined;
3134
+ subject_type?: "user" | "client" | undefined;
2449
3135
  authorization_details_types?: string[] | undefined;
2450
3136
  }, {
2451
3137
  client_id: string;
@@ -2454,7 +3140,7 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
2454
3140
  scope?: string[] | undefined;
2455
3141
  allow_any_organization?: boolean | undefined;
2456
3142
  is_system?: boolean | undefined;
2457
- subject_type?: "client" | "user" | undefined;
3143
+ subject_type?: "user" | "client" | undefined;
2458
3144
  authorization_details_types?: string[] | undefined;
2459
3145
  }>;
2460
3146
  export type ClientGrantInsert = z.input<typeof clientGrantInsertSchema>;
@@ -2487,7 +3173,7 @@ export declare const clientGrantSchema: z.ZodObject<{
2487
3173
  scope?: string[] | undefined;
2488
3174
  allow_any_organization?: boolean | undefined;
2489
3175
  is_system?: boolean | undefined;
2490
- subject_type?: "client" | "user" | undefined;
3176
+ subject_type?: "user" | "client" | undefined;
2491
3177
  authorization_details_types?: string[] | undefined;
2492
3178
  }, {
2493
3179
  id: string;
@@ -2499,7 +3185,7 @@ export declare const clientGrantSchema: z.ZodObject<{
2499
3185
  scope?: string[] | undefined;
2500
3186
  allow_any_organization?: boolean | undefined;
2501
3187
  is_system?: boolean | undefined;
2502
- subject_type?: "client" | "user" | undefined;
3188
+ subject_type?: "user" | "client" | undefined;
2503
3189
  authorization_details_types?: string[] | undefined;
2504
3190
  }>;
2505
3191
  export type ClientGrant = z.infer<typeof clientGrantSchema>;
@@ -2532,7 +3218,7 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
2532
3218
  scope?: string[] | undefined;
2533
3219
  allow_any_organization?: boolean | undefined;
2534
3220
  is_system?: boolean | undefined;
2535
- subject_type?: "client" | "user" | undefined;
3221
+ subject_type?: "user" | "client" | undefined;
2536
3222
  authorization_details_types?: string[] | undefined;
2537
3223
  }, {
2538
3224
  id: string;
@@ -2544,7 +3230,7 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
2544
3230
  scope?: string[] | undefined;
2545
3231
  allow_any_organization?: boolean | undefined;
2546
3232
  is_system?: boolean | undefined;
2547
- subject_type?: "client" | "user" | undefined;
3233
+ subject_type?: "user" | "client" | undefined;
2548
3234
  authorization_details_types?: string[] | undefined;
2549
3235
  }>, "many">;
2550
3236
  export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
@@ -8352,7 +9038,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
8352
9038
  sdkSrc: z.ZodOptional<z.ZodString>;
8353
9039
  sdk_src: z.ZodOptional<z.ZodString>;
8354
9040
  }, z.ZodTypeAny, "passthrough">>;
8355
- }, "created_at" | "updated_at" | "id">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
9041
+ }, "id" | "created_at" | "updated_at">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
8356
9042
  id: z.ZodString;
8357
9043
  name: z.ZodString;
8358
9044
  languages: z.ZodObject<{
@@ -9273,7 +9959,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
9273
9959
  sdkSrc: z.ZodOptional<z.ZodString>;
9274
9960
  sdk_src: z.ZodOptional<z.ZodString>;
9275
9961
  }, z.ZodTypeAny, "passthrough">>;
9276
- }, "created_at" | "updated_at" | "id">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
9962
+ }, "id" | "created_at" | "updated_at">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
9277
9963
  id: z.ZodString;
9278
9964
  name: z.ZodString;
9279
9965
  languages: z.ZodObject<{
@@ -10194,7 +10880,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
10194
10880
  sdkSrc: z.ZodOptional<z.ZodString>;
10195
10881
  sdk_src: z.ZodOptional<z.ZodString>;
10196
10882
  }, z.ZodTypeAny, "passthrough">>;
10197
- }, "created_at" | "updated_at" | "id">, z.ZodTypeAny, "passthrough">>;
10883
+ }, "id" | "created_at" | "updated_at">, z.ZodTypeAny, "passthrough">>;
10198
10884
  export interface Auth0FlowInsert {
10199
10885
  name: string;
10200
10886
  languages: {
@@ -10923,8 +11609,8 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10923
11609
  max?: number | undefined;
10924
11610
  } | undefined;
10925
11611
  } | undefined;
10926
- provider?: string | undefined;
10927
11612
  client_id?: string | undefined;
11613
+ provider?: string | undefined;
10928
11614
  client_secret?: string | undefined;
10929
11615
  scope?: string | undefined;
10930
11616
  kid?: string | undefined;
@@ -11026,8 +11712,8 @@ export declare const connectionOptionsSchema: z.ZodObject<{
11026
11712
  max?: number | undefined;
11027
11713
  } | undefined;
11028
11714
  } | undefined;
11029
- provider?: string | undefined;
11030
11715
  client_id?: string | undefined;
11716
+ provider?: string | undefined;
11031
11717
  client_secret?: string | undefined;
11032
11718
  scope?: string | undefined;
11033
11719
  kid?: string | undefined;
@@ -11555,8 +12241,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
11555
12241
  max?: number | undefined;
11556
12242
  } | undefined;
11557
12243
  } | undefined;
11558
- provider?: string | undefined;
11559
12244
  client_id?: string | undefined;
12245
+ provider?: string | undefined;
11560
12246
  client_secret?: string | undefined;
11561
12247
  scope?: string | undefined;
11562
12248
  kid?: string | undefined;
@@ -11658,8 +12344,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
11658
12344
  max?: number | undefined;
11659
12345
  } | undefined;
11660
12346
  } | undefined;
11661
- provider?: string | undefined;
11662
12347
  client_id?: string | undefined;
12348
+ provider?: string | undefined;
11663
12349
  client_secret?: string | undefined;
11664
12350
  scope?: string | undefined;
11665
12351
  kid?: string | undefined;
@@ -11770,8 +12456,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
11770
12456
  max?: number | undefined;
11771
12457
  } | undefined;
11772
12458
  } | undefined;
11773
- provider?: string | undefined;
11774
12459
  client_id?: string | undefined;
12460
+ provider?: string | undefined;
11775
12461
  client_secret?: string | undefined;
11776
12462
  scope?: string | undefined;
11777
12463
  kid?: string | undefined;
@@ -11888,8 +12574,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
11888
12574
  max?: number | undefined;
11889
12575
  } | undefined;
11890
12576
  } | undefined;
11891
- provider?: string | undefined;
11892
12577
  client_id?: string | undefined;
12578
+ provider?: string | undefined;
11893
12579
  client_secret?: string | undefined;
11894
12580
  scope?: string | undefined;
11895
12581
  kid?: string | undefined;
@@ -12431,8 +13117,8 @@ export declare const connectionSchema: z.ZodObject<{
12431
13117
  max?: number | undefined;
12432
13118
  } | undefined;
12433
13119
  } | undefined;
12434
- provider?: string | undefined;
12435
13120
  client_id?: string | undefined;
13121
+ provider?: string | undefined;
12436
13122
  client_secret?: string | undefined;
12437
13123
  scope?: string | undefined;
12438
13124
  kid?: string | undefined;
@@ -12534,8 +13220,8 @@ export declare const connectionSchema: z.ZodObject<{
12534
13220
  max?: number | undefined;
12535
13221
  } | undefined;
12536
13222
  } | undefined;
12537
- provider?: string | undefined;
12538
13223
  client_id?: string | undefined;
13224
+ provider?: string | undefined;
12539
13225
  client_secret?: string | undefined;
12540
13226
  scope?: string | undefined;
12541
13227
  kid?: string | undefined;
@@ -12639,8 +13325,6 @@ export declare const connectionSchema: z.ZodObject<{
12639
13325
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12640
13326
  is_system: z.ZodOptional<z.ZodBoolean>;
12641
13327
  }, "strip", z.ZodTypeAny, {
12642
- created_at: string;
12643
- updated_at: string;
12644
13328
  options: {
12645
13329
  validation?: {
12646
13330
  username?: {
@@ -12648,8 +13332,8 @@ export declare const connectionSchema: z.ZodObject<{
12648
13332
  max?: number | undefined;
12649
13333
  } | undefined;
12650
13334
  } | undefined;
12651
- provider?: string | undefined;
12652
13335
  client_id?: string | undefined;
13336
+ provider?: string | undefined;
12653
13337
  client_secret?: string | undefined;
12654
13338
  scope?: string | undefined;
12655
13339
  kid?: string | undefined;
@@ -12747,6 +13431,8 @@ export declare const connectionSchema: z.ZodObject<{
12747
13431
  };
12748
13432
  name: string;
12749
13433
  strategy: string;
13434
+ created_at: string;
13435
+ updated_at: string;
12750
13436
  id?: string | undefined;
12751
13437
  is_system?: boolean | undefined;
12752
13438
  response_type?: AuthorizationResponseType | undefined;
@@ -12757,10 +13443,10 @@ export declare const connectionSchema: z.ZodObject<{
12757
13443
  show_as_button?: boolean | undefined;
12758
13444
  metadata?: Record<string, any> | undefined;
12759
13445
  }, {
12760
- created_at: string;
12761
- updated_at: string;
12762
13446
  name: string;
12763
13447
  strategy: string;
13448
+ created_at: string;
13449
+ updated_at: string;
12764
13450
  options?: {
12765
13451
  validation?: {
12766
13452
  username?: {
@@ -12768,8 +13454,8 @@ export declare const connectionSchema: z.ZodObject<{
12768
13454
  max?: number | undefined;
12769
13455
  } | undefined;
12770
13456
  } | undefined;
12771
- provider?: string | undefined;
12772
13457
  client_id?: string | undefined;
13458
+ provider?: string | undefined;
12773
13459
  client_secret?: string | undefined;
12774
13460
  scope?: string | undefined;
12775
13461
  kid?: string | undefined;
@@ -13149,10 +13835,10 @@ export declare const customDomainWithTenantIdSchema: z.ZodObject<{
13149
13835
  }, "strip", z.ZodTypeAny, {
13150
13836
  type: "auth0_managed_certs" | "self_managed_certs";
13151
13837
  status: "disabled" | "pending" | "pending_verification" | "ready";
13838
+ tenant_id: string;
13152
13839
  primary: boolean;
13153
13840
  domain: string;
13154
13841
  custom_domain_id: string;
13155
- tenant_id: string;
13156
13842
  verification?: {
13157
13843
  methods: ({
13158
13844
  name: "txt";
@@ -13172,10 +13858,10 @@ export declare const customDomainWithTenantIdSchema: z.ZodObject<{
13172
13858
  }, {
13173
13859
  type: "auth0_managed_certs" | "self_managed_certs";
13174
13860
  status: "disabled" | "pending" | "pending_verification" | "ready";
13861
+ tenant_id: string;
13175
13862
  primary: boolean;
13176
13863
  domain: string;
13177
13864
  custom_domain_id: string;
13178
- tenant_id: string;
13179
13865
  verification?: {
13180
13866
  methods: ({
13181
13867
  name: "txt";
@@ -14744,33 +15430,33 @@ declare const socialField: z.ZodObject<{
14744
15430
  href: z.ZodOptional<z.ZodString>;
14745
15431
  }, "strip", z.ZodTypeAny, {
14746
15432
  name: string;
15433
+ strategy?: string | undefined;
14747
15434
  icon_url?: string | undefined;
14748
15435
  display_name?: string | undefined;
14749
- strategy?: string | undefined;
14750
15436
  href?: string | undefined;
14751
15437
  }, {
14752
15438
  name: string;
15439
+ strategy?: string | undefined;
14753
15440
  icon_url?: string | undefined;
14754
15441
  display_name?: string | undefined;
14755
- strategy?: string | undefined;
14756
15442
  href?: string | undefined;
14757
15443
  }>, "many">>;
14758
15444
  }, "strip", z.ZodTypeAny, {
14759
15445
  providers?: string[] | undefined;
14760
15446
  provider_details?: {
14761
15447
  name: string;
15448
+ strategy?: string | undefined;
14762
15449
  icon_url?: string | undefined;
14763
15450
  display_name?: string | undefined;
14764
- strategy?: string | undefined;
14765
15451
  href?: string | undefined;
14766
15452
  }[] | undefined;
14767
15453
  }, {
14768
15454
  providers?: string[] | undefined;
14769
15455
  provider_details?: {
14770
15456
  name: string;
15457
+ strategy?: string | undefined;
14771
15458
  icon_url?: string | undefined;
14772
15459
  display_name?: string | undefined;
14773
- strategy?: string | undefined;
14774
15460
  href?: string | undefined;
14775
15461
  }[] | undefined;
14776
15462
  }>>;
@@ -14784,9 +15470,9 @@ declare const socialField: z.ZodObject<{
14784
15470
  providers?: string[] | undefined;
14785
15471
  provider_details?: {
14786
15472
  name: string;
15473
+ strategy?: string | undefined;
14787
15474
  icon_url?: string | undefined;
14788
15475
  display_name?: string | undefined;
14789
- strategy?: string | undefined;
14790
15476
  href?: string | undefined;
14791
15477
  }[] | undefined;
14792
15478
  } | undefined;
@@ -14808,9 +15494,9 @@ declare const socialField: z.ZodObject<{
14808
15494
  providers?: string[] | undefined;
14809
15495
  provider_details?: {
14810
15496
  name: string;
15497
+ strategy?: string | undefined;
14811
15498
  icon_url?: string | undefined;
14812
15499
  display_name?: string | undefined;
14813
- strategy?: string | undefined;
14814
15500
  href?: string | undefined;
14815
15501
  }[] | undefined;
14816
15502
  } | undefined;
@@ -16838,33 +17524,33 @@ declare const fieldComponentSchema$1: z.ZodDiscriminatedUnion<"type", [
16838
17524
  href: z.ZodOptional<z.ZodString>;
16839
17525
  }, "strip", z.ZodTypeAny, {
16840
17526
  name: string;
17527
+ strategy?: string | undefined;
16841
17528
  icon_url?: string | undefined;
16842
17529
  display_name?: string | undefined;
16843
- strategy?: string | undefined;
16844
17530
  href?: string | undefined;
16845
17531
  }, {
16846
17532
  name: string;
17533
+ strategy?: string | undefined;
16847
17534
  icon_url?: string | undefined;
16848
17535
  display_name?: string | undefined;
16849
- strategy?: string | undefined;
16850
17536
  href?: string | undefined;
16851
17537
  }>, "many">>;
16852
17538
  }, "strip", z.ZodTypeAny, {
16853
17539
  providers?: string[] | undefined;
16854
17540
  provider_details?: {
16855
17541
  name: string;
17542
+ strategy?: string | undefined;
16856
17543
  icon_url?: string | undefined;
16857
17544
  display_name?: string | undefined;
16858
- strategy?: string | undefined;
16859
17545
  href?: string | undefined;
16860
17546
  }[] | undefined;
16861
17547
  }, {
16862
17548
  providers?: string[] | undefined;
16863
17549
  provider_details?: {
16864
17550
  name: string;
17551
+ strategy?: string | undefined;
16865
17552
  icon_url?: string | undefined;
16866
17553
  display_name?: string | undefined;
16867
- strategy?: string | undefined;
16868
17554
  href?: string | undefined;
16869
17555
  }[] | undefined;
16870
17556
  }>>;
@@ -16878,9 +17564,9 @@ declare const fieldComponentSchema$1: z.ZodDiscriminatedUnion<"type", [
16878
17564
  providers?: string[] | undefined;
16879
17565
  provider_details?: {
16880
17566
  name: string;
17567
+ strategy?: string | undefined;
16881
17568
  icon_url?: string | undefined;
16882
17569
  display_name?: string | undefined;
16883
- strategy?: string | undefined;
16884
17570
  href?: string | undefined;
16885
17571
  }[] | undefined;
16886
17572
  } | undefined;
@@ -16902,9 +17588,9 @@ declare const fieldComponentSchema$1: z.ZodDiscriminatedUnion<"type", [
16902
17588
  providers?: string[] | undefined;
16903
17589
  provider_details?: {
16904
17590
  name: string;
17591
+ strategy?: string | undefined;
16905
17592
  icon_url?: string | undefined;
16906
17593
  display_name?: string | undefined;
16907
- strategy?: string | undefined;
16908
17594
  href?: string | undefined;
16909
17595
  }[] | undefined;
16910
17596
  } | undefined;
@@ -18849,33 +19535,33 @@ export declare const formNodeComponentDefinition: z.ZodUnion<[
18849
19535
  href: z.ZodOptional<z.ZodString>;
18850
19536
  }, "strip", z.ZodTypeAny, {
18851
19537
  name: string;
19538
+ strategy?: string | undefined;
18852
19539
  icon_url?: string | undefined;
18853
19540
  display_name?: string | undefined;
18854
- strategy?: string | undefined;
18855
19541
  href?: string | undefined;
18856
19542
  }, {
18857
19543
  name: string;
19544
+ strategy?: string | undefined;
18858
19545
  icon_url?: string | undefined;
18859
19546
  display_name?: string | undefined;
18860
- strategy?: string | undefined;
18861
19547
  href?: string | undefined;
18862
19548
  }>, "many">>;
18863
19549
  }, "strip", z.ZodTypeAny, {
18864
19550
  providers?: string[] | undefined;
18865
19551
  provider_details?: {
18866
19552
  name: string;
19553
+ strategy?: string | undefined;
18867
19554
  icon_url?: string | undefined;
18868
19555
  display_name?: string | undefined;
18869
- strategy?: string | undefined;
18870
19556
  href?: string | undefined;
18871
19557
  }[] | undefined;
18872
19558
  }, {
18873
19559
  providers?: string[] | undefined;
18874
19560
  provider_details?: {
18875
19561
  name: string;
19562
+ strategy?: string | undefined;
18876
19563
  icon_url?: string | undefined;
18877
19564
  display_name?: string | undefined;
18878
- strategy?: string | undefined;
18879
19565
  href?: string | undefined;
18880
19566
  }[] | undefined;
18881
19567
  }>>;
@@ -18889,9 +19575,9 @@ export declare const formNodeComponentDefinition: z.ZodUnion<[
18889
19575
  providers?: string[] | undefined;
18890
19576
  provider_details?: {
18891
19577
  name: string;
19578
+ strategy?: string | undefined;
18892
19579
  icon_url?: string | undefined;
18893
19580
  display_name?: string | undefined;
18894
- strategy?: string | undefined;
18895
19581
  href?: string | undefined;
18896
19582
  }[] | undefined;
18897
19583
  } | undefined;
@@ -18913,9 +19599,9 @@ export declare const formNodeComponentDefinition: z.ZodUnion<[
18913
19599
  providers?: string[] | undefined;
18914
19600
  provider_details?: {
18915
19601
  name: string;
19602
+ strategy?: string | undefined;
18916
19603
  icon_url?: string | undefined;
18917
19604
  display_name?: string | undefined;
18918
- strategy?: string | undefined;
18919
19605
  href?: string | undefined;
18920
19606
  }[] | undefined;
18921
19607
  } | undefined;
@@ -21076,33 +21762,33 @@ declare const stepNodeSchema$1: z.ZodObject<{
21076
21762
  href: z.ZodOptional<z.ZodString>;
21077
21763
  }, "strip", z.ZodTypeAny, {
21078
21764
  name: string;
21765
+ strategy?: string | undefined;
21079
21766
  icon_url?: string | undefined;
21080
21767
  display_name?: string | undefined;
21081
- strategy?: string | undefined;
21082
21768
  href?: string | undefined;
21083
21769
  }, {
21084
21770
  name: string;
21771
+ strategy?: string | undefined;
21085
21772
  icon_url?: string | undefined;
21086
21773
  display_name?: string | undefined;
21087
- strategy?: string | undefined;
21088
21774
  href?: string | undefined;
21089
21775
  }>, "many">>;
21090
21776
  }, "strip", z.ZodTypeAny, {
21091
21777
  providers?: string[] | undefined;
21092
21778
  provider_details?: {
21093
21779
  name: string;
21780
+ strategy?: string | undefined;
21094
21781
  icon_url?: string | undefined;
21095
21782
  display_name?: string | undefined;
21096
- strategy?: string | undefined;
21097
21783
  href?: string | undefined;
21098
21784
  }[] | undefined;
21099
21785
  }, {
21100
21786
  providers?: string[] | undefined;
21101
21787
  provider_details?: {
21102
21788
  name: string;
21789
+ strategy?: string | undefined;
21103
21790
  icon_url?: string | undefined;
21104
21791
  display_name?: string | undefined;
21105
- strategy?: string | undefined;
21106
21792
  href?: string | undefined;
21107
21793
  }[] | undefined;
21108
21794
  }>>;
@@ -21116,9 +21802,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
21116
21802
  providers?: string[] | undefined;
21117
21803
  provider_details?: {
21118
21804
  name: string;
21805
+ strategy?: string | undefined;
21119
21806
  icon_url?: string | undefined;
21120
21807
  display_name?: string | undefined;
21121
- strategy?: string | undefined;
21122
21808
  href?: string | undefined;
21123
21809
  }[] | undefined;
21124
21810
  } | undefined;
@@ -21140,9 +21826,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
21140
21826
  providers?: string[] | undefined;
21141
21827
  provider_details?: {
21142
21828
  name: string;
21829
+ strategy?: string | undefined;
21143
21830
  icon_url?: string | undefined;
21144
21831
  display_name?: string | undefined;
21145
- strategy?: string | undefined;
21146
21832
  href?: string | undefined;
21147
21833
  }[] | undefined;
21148
21834
  } | undefined;
@@ -21798,9 +22484,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
21798
22484
  providers?: string[] | undefined;
21799
22485
  provider_details?: {
21800
22486
  name: string;
22487
+ strategy?: string | undefined;
21801
22488
  icon_url?: string | undefined;
21802
22489
  display_name?: string | undefined;
21803
- strategy?: string | undefined;
21804
22490
  href?: string | undefined;
21805
22491
  }[] | undefined;
21806
22492
  } | undefined;
@@ -22275,9 +22961,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
22275
22961
  providers?: string[] | undefined;
22276
22962
  provider_details?: {
22277
22963
  name: string;
22964
+ strategy?: string | undefined;
22278
22965
  icon_url?: string | undefined;
22279
22966
  display_name?: string | undefined;
22280
- strategy?: string | undefined;
22281
22967
  href?: string | undefined;
22282
22968
  }[] | undefined;
22283
22969
  } | undefined;
@@ -22758,9 +23444,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
22758
23444
  providers?: string[] | undefined;
22759
23445
  provider_details?: {
22760
23446
  name: string;
23447
+ strategy?: string | undefined;
22761
23448
  icon_url?: string | undefined;
22762
23449
  display_name?: string | undefined;
22763
- strategy?: string | undefined;
22764
23450
  href?: string | undefined;
22765
23451
  }[] | undefined;
22766
23452
  } | undefined;
@@ -23244,9 +23930,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
23244
23930
  providers?: string[] | undefined;
23245
23931
  provider_details?: {
23246
23932
  name: string;
23933
+ strategy?: string | undefined;
23247
23934
  icon_url?: string | undefined;
23248
23935
  display_name?: string | undefined;
23249
- strategy?: string | undefined;
23250
23936
  href?: string | undefined;
23251
23937
  }[] | undefined;
23252
23938
  } | undefined;
@@ -25167,33 +25853,33 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
25167
25853
  href: z.ZodOptional<z.ZodString>;
25168
25854
  }, "strip", z.ZodTypeAny, {
25169
25855
  name: string;
25856
+ strategy?: string | undefined;
25170
25857
  icon_url?: string | undefined;
25171
25858
  display_name?: string | undefined;
25172
- strategy?: string | undefined;
25173
25859
  href?: string | undefined;
25174
25860
  }, {
25175
25861
  name: string;
25862
+ strategy?: string | undefined;
25176
25863
  icon_url?: string | undefined;
25177
25864
  display_name?: string | undefined;
25178
- strategy?: string | undefined;
25179
25865
  href?: string | undefined;
25180
25866
  }>, "many">>;
25181
25867
  }, "strip", z.ZodTypeAny, {
25182
25868
  providers?: string[] | undefined;
25183
25869
  provider_details?: {
25184
25870
  name: string;
25871
+ strategy?: string | undefined;
25185
25872
  icon_url?: string | undefined;
25186
25873
  display_name?: string | undefined;
25187
- strategy?: string | undefined;
25188
25874
  href?: string | undefined;
25189
25875
  }[] | undefined;
25190
25876
  }, {
25191
25877
  providers?: string[] | undefined;
25192
25878
  provider_details?: {
25193
25879
  name: string;
25880
+ strategy?: string | undefined;
25194
25881
  icon_url?: string | undefined;
25195
25882
  display_name?: string | undefined;
25196
- strategy?: string | undefined;
25197
25883
  href?: string | undefined;
25198
25884
  }[] | undefined;
25199
25885
  }>>;
@@ -25207,9 +25893,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
25207
25893
  providers?: string[] | undefined;
25208
25894
  provider_details?: {
25209
25895
  name: string;
25896
+ strategy?: string | undefined;
25210
25897
  icon_url?: string | undefined;
25211
25898
  display_name?: string | undefined;
25212
- strategy?: string | undefined;
25213
25899
  href?: string | undefined;
25214
25900
  }[] | undefined;
25215
25901
  } | undefined;
@@ -25231,9 +25917,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
25231
25917
  providers?: string[] | undefined;
25232
25918
  provider_details?: {
25233
25919
  name: string;
25920
+ strategy?: string | undefined;
25234
25921
  icon_url?: string | undefined;
25235
25922
  display_name?: string | undefined;
25236
- strategy?: string | undefined;
25237
25923
  href?: string | undefined;
25238
25924
  }[] | undefined;
25239
25925
  } | undefined;
@@ -25889,9 +26575,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
25889
26575
  providers?: string[] | undefined;
25890
26576
  provider_details?: {
25891
26577
  name: string;
26578
+ strategy?: string | undefined;
25892
26579
  icon_url?: string | undefined;
25893
26580
  display_name?: string | undefined;
25894
- strategy?: string | undefined;
25895
26581
  href?: string | undefined;
25896
26582
  }[] | undefined;
25897
26583
  } | undefined;
@@ -26366,9 +27052,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
26366
27052
  providers?: string[] | undefined;
26367
27053
  provider_details?: {
26368
27054
  name: string;
27055
+ strategy?: string | undefined;
26369
27056
  icon_url?: string | undefined;
26370
27057
  display_name?: string | undefined;
26371
- strategy?: string | undefined;
26372
27058
  href?: string | undefined;
26373
27059
  }[] | undefined;
26374
27060
  } | undefined;
@@ -26849,9 +27535,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
26849
27535
  providers?: string[] | undefined;
26850
27536
  provider_details?: {
26851
27537
  name: string;
27538
+ strategy?: string | undefined;
26852
27539
  icon_url?: string | undefined;
26853
27540
  display_name?: string | undefined;
26854
- strategy?: string | undefined;
26855
27541
  href?: string | undefined;
26856
27542
  }[] | undefined;
26857
27543
  } | undefined;
@@ -27335,9 +28021,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
27335
28021
  providers?: string[] | undefined;
27336
28022
  provider_details?: {
27337
28023
  name: string;
28024
+ strategy?: string | undefined;
27338
28025
  icon_url?: string | undefined;
27339
28026
  display_name?: string | undefined;
27340
- strategy?: string | undefined;
27341
28027
  href?: string | undefined;
27342
28028
  }[] | undefined;
27343
28029
  } | undefined;
@@ -29289,33 +29975,33 @@ export declare const formInsertSchema: z.ZodObject<{
29289
29975
  href: z.ZodOptional<z.ZodString>;
29290
29976
  }, "strip", z.ZodTypeAny, {
29291
29977
  name: string;
29978
+ strategy?: string | undefined;
29292
29979
  icon_url?: string | undefined;
29293
29980
  display_name?: string | undefined;
29294
- strategy?: string | undefined;
29295
29981
  href?: string | undefined;
29296
29982
  }, {
29297
29983
  name: string;
29984
+ strategy?: string | undefined;
29298
29985
  icon_url?: string | undefined;
29299
29986
  display_name?: string | undefined;
29300
- strategy?: string | undefined;
29301
29987
  href?: string | undefined;
29302
29988
  }>, "many">>;
29303
29989
  }, "strip", z.ZodTypeAny, {
29304
29990
  providers?: string[] | undefined;
29305
29991
  provider_details?: {
29306
29992
  name: string;
29993
+ strategy?: string | undefined;
29307
29994
  icon_url?: string | undefined;
29308
29995
  display_name?: string | undefined;
29309
- strategy?: string | undefined;
29310
29996
  href?: string | undefined;
29311
29997
  }[] | undefined;
29312
29998
  }, {
29313
29999
  providers?: string[] | undefined;
29314
30000
  provider_details?: {
29315
30001
  name: string;
30002
+ strategy?: string | undefined;
29316
30003
  icon_url?: string | undefined;
29317
30004
  display_name?: string | undefined;
29318
- strategy?: string | undefined;
29319
30005
  href?: string | undefined;
29320
30006
  }[] | undefined;
29321
30007
  }>>;
@@ -29329,9 +30015,9 @@ export declare const formInsertSchema: z.ZodObject<{
29329
30015
  providers?: string[] | undefined;
29330
30016
  provider_details?: {
29331
30017
  name: string;
30018
+ strategy?: string | undefined;
29332
30019
  icon_url?: string | undefined;
29333
30020
  display_name?: string | undefined;
29334
- strategy?: string | undefined;
29335
30021
  href?: string | undefined;
29336
30022
  }[] | undefined;
29337
30023
  } | undefined;
@@ -29353,9 +30039,9 @@ export declare const formInsertSchema: z.ZodObject<{
29353
30039
  providers?: string[] | undefined;
29354
30040
  provider_details?: {
29355
30041
  name: string;
30042
+ strategy?: string | undefined;
29356
30043
  icon_url?: string | undefined;
29357
30044
  display_name?: string | undefined;
29358
- strategy?: string | undefined;
29359
30045
  href?: string | undefined;
29360
30046
  }[] | undefined;
29361
30047
  } | undefined;
@@ -30011,9 +30697,9 @@ export declare const formInsertSchema: z.ZodObject<{
30011
30697
  providers?: string[] | undefined;
30012
30698
  provider_details?: {
30013
30699
  name: string;
30700
+ strategy?: string | undefined;
30014
30701
  icon_url?: string | undefined;
30015
30702
  display_name?: string | undefined;
30016
- strategy?: string | undefined;
30017
30703
  href?: string | undefined;
30018
30704
  }[] | undefined;
30019
30705
  } | undefined;
@@ -30488,9 +31174,9 @@ export declare const formInsertSchema: z.ZodObject<{
30488
31174
  providers?: string[] | undefined;
30489
31175
  provider_details?: {
30490
31176
  name: string;
31177
+ strategy?: string | undefined;
30491
31178
  icon_url?: string | undefined;
30492
31179
  display_name?: string | undefined;
30493
- strategy?: string | undefined;
30494
31180
  href?: string | undefined;
30495
31181
  }[] | undefined;
30496
31182
  } | undefined;
@@ -30971,9 +31657,9 @@ export declare const formInsertSchema: z.ZodObject<{
30971
31657
  providers?: string[] | undefined;
30972
31658
  provider_details?: {
30973
31659
  name: string;
31660
+ strategy?: string | undefined;
30974
31661
  icon_url?: string | undefined;
30975
31662
  display_name?: string | undefined;
30976
- strategy?: string | undefined;
30977
31663
  href?: string | undefined;
30978
31664
  }[] | undefined;
30979
31665
  } | undefined;
@@ -31457,9 +32143,9 @@ export declare const formInsertSchema: z.ZodObject<{
31457
32143
  providers?: string[] | undefined;
31458
32144
  provider_details?: {
31459
32145
  name: string;
32146
+ strategy?: string | undefined;
31460
32147
  icon_url?: string | undefined;
31461
32148
  display_name?: string | undefined;
31462
- strategy?: string | undefined;
31463
32149
  href?: string | undefined;
31464
32150
  }[] | undefined;
31465
32151
  } | undefined;
@@ -32112,9 +32798,9 @@ export declare const formInsertSchema: z.ZodObject<{
32112
32798
  providers?: string[] | undefined;
32113
32799
  provider_details?: {
32114
32800
  name: string;
32801
+ strategy?: string | undefined;
32115
32802
  icon_url?: string | undefined;
32116
32803
  display_name?: string | undefined;
32117
- strategy?: string | undefined;
32118
32804
  href?: string | undefined;
32119
32805
  }[] | undefined;
32120
32806
  } | undefined;
@@ -32671,9 +33357,9 @@ export declare const formInsertSchema: z.ZodObject<{
32671
33357
  providers?: string[] | undefined;
32672
33358
  provider_details?: {
32673
33359
  name: string;
33360
+ strategy?: string | undefined;
32674
33361
  icon_url?: string | undefined;
32675
33362
  display_name?: string | undefined;
32676
- strategy?: string | undefined;
32677
33363
  href?: string | undefined;
32678
33364
  }[] | undefined;
32679
33365
  } | undefined;
@@ -34646,33 +35332,33 @@ export declare const formSchema: z.ZodObject<{
34646
35332
  href: z.ZodOptional<z.ZodString>;
34647
35333
  }, "strip", z.ZodTypeAny, {
34648
35334
  name: string;
35335
+ strategy?: string | undefined;
34649
35336
  icon_url?: string | undefined;
34650
35337
  display_name?: string | undefined;
34651
- strategy?: string | undefined;
34652
35338
  href?: string | undefined;
34653
35339
  }, {
34654
35340
  name: string;
35341
+ strategy?: string | undefined;
34655
35342
  icon_url?: string | undefined;
34656
35343
  display_name?: string | undefined;
34657
- strategy?: string | undefined;
34658
35344
  href?: string | undefined;
34659
35345
  }>, "many">>;
34660
35346
  }, "strip", z.ZodTypeAny, {
34661
35347
  providers?: string[] | undefined;
34662
35348
  provider_details?: {
34663
35349
  name: string;
35350
+ strategy?: string | undefined;
34664
35351
  icon_url?: string | undefined;
34665
35352
  display_name?: string | undefined;
34666
- strategy?: string | undefined;
34667
35353
  href?: string | undefined;
34668
35354
  }[] | undefined;
34669
35355
  }, {
34670
35356
  providers?: string[] | undefined;
34671
35357
  provider_details?: {
34672
35358
  name: string;
35359
+ strategy?: string | undefined;
34673
35360
  icon_url?: string | undefined;
34674
35361
  display_name?: string | undefined;
34675
- strategy?: string | undefined;
34676
35362
  href?: string | undefined;
34677
35363
  }[] | undefined;
34678
35364
  }>>;
@@ -34686,9 +35372,9 @@ export declare const formSchema: z.ZodObject<{
34686
35372
  providers?: string[] | undefined;
34687
35373
  provider_details?: {
34688
35374
  name: string;
35375
+ strategy?: string | undefined;
34689
35376
  icon_url?: string | undefined;
34690
35377
  display_name?: string | undefined;
34691
- strategy?: string | undefined;
34692
35378
  href?: string | undefined;
34693
35379
  }[] | undefined;
34694
35380
  } | undefined;
@@ -34710,9 +35396,9 @@ export declare const formSchema: z.ZodObject<{
34710
35396
  providers?: string[] | undefined;
34711
35397
  provider_details?: {
34712
35398
  name: string;
35399
+ strategy?: string | undefined;
34713
35400
  icon_url?: string | undefined;
34714
35401
  display_name?: string | undefined;
34715
- strategy?: string | undefined;
34716
35402
  href?: string | undefined;
34717
35403
  }[] | undefined;
34718
35404
  } | undefined;
@@ -35368,9 +36054,9 @@ export declare const formSchema: z.ZodObject<{
35368
36054
  providers?: string[] | undefined;
35369
36055
  provider_details?: {
35370
36056
  name: string;
36057
+ strategy?: string | undefined;
35371
36058
  icon_url?: string | undefined;
35372
36059
  display_name?: string | undefined;
35373
- strategy?: string | undefined;
35374
36060
  href?: string | undefined;
35375
36061
  }[] | undefined;
35376
36062
  } | undefined;
@@ -35845,9 +36531,9 @@ export declare const formSchema: z.ZodObject<{
35845
36531
  providers?: string[] | undefined;
35846
36532
  provider_details?: {
35847
36533
  name: string;
36534
+ strategy?: string | undefined;
35848
36535
  icon_url?: string | undefined;
35849
36536
  display_name?: string | undefined;
35850
- strategy?: string | undefined;
35851
36537
  href?: string | undefined;
35852
36538
  }[] | undefined;
35853
36539
  } | undefined;
@@ -36328,9 +37014,9 @@ export declare const formSchema: z.ZodObject<{
36328
37014
  providers?: string[] | undefined;
36329
37015
  provider_details?: {
36330
37016
  name: string;
37017
+ strategy?: string | undefined;
36331
37018
  icon_url?: string | undefined;
36332
37019
  display_name?: string | undefined;
36333
- strategy?: string | undefined;
36334
37020
  href?: string | undefined;
36335
37021
  }[] | undefined;
36336
37022
  } | undefined;
@@ -36814,9 +37500,9 @@ export declare const formSchema: z.ZodObject<{
36814
37500
  providers?: string[] | undefined;
36815
37501
  provider_details?: {
36816
37502
  name: string;
37503
+ strategy?: string | undefined;
36817
37504
  icon_url?: string | undefined;
36818
37505
  display_name?: string | undefined;
36819
- strategy?: string | undefined;
36820
37506
  href?: string | undefined;
36821
37507
  }[] | undefined;
36822
37508
  } | undefined;
@@ -37039,10 +37725,10 @@ export declare const formSchema: z.ZodObject<{
37039
37725
  created_at: z.ZodString;
37040
37726
  updated_at: z.ZodString;
37041
37727
  }, "strip", z.ZodTypeAny, {
37728
+ name: string;
37729
+ id: string;
37042
37730
  created_at: string;
37043
37731
  updated_at: string;
37044
- id: string;
37045
- name: string;
37046
37732
  style?: {
37047
37733
  css?: string | undefined;
37048
37734
  } | undefined;
@@ -37474,9 +38160,9 @@ export declare const formSchema: z.ZodObject<{
37474
38160
  providers?: string[] | undefined;
37475
38161
  provider_details?: {
37476
38162
  name: string;
38163
+ strategy?: string | undefined;
37477
38164
  icon_url?: string | undefined;
37478
38165
  display_name?: string | undefined;
37479
- strategy?: string | undefined;
37480
38166
  href?: string | undefined;
37481
38167
  }[] | undefined;
37482
38168
  } | undefined;
@@ -37602,10 +38288,10 @@ export declare const formSchema: z.ZodObject<{
37602
38288
  } | undefined;
37603
38289
  translations?: Record<string, any> | undefined;
37604
38290
  }, {
38291
+ name: string;
38292
+ id: string;
37605
38293
  created_at: string;
37606
38294
  updated_at: string;
37607
- id: string;
37608
- name: string;
37609
38295
  style?: {
37610
38296
  css?: string | undefined;
37611
38297
  } | undefined;
@@ -38036,9 +38722,9 @@ export declare const formSchema: z.ZodObject<{
38036
38722
  providers?: string[] | undefined;
38037
38723
  provider_details?: {
38038
38724
  name: string;
38725
+ strategy?: string | undefined;
38039
38726
  icon_url?: string | undefined;
38040
38727
  display_name?: string | undefined;
38041
- strategy?: string | undefined;
38042
38728
  href?: string | undefined;
38043
38729
  }[] | undefined;
38044
38730
  } | undefined;
@@ -39898,33 +40584,33 @@ export declare const uiScreenSchema: z.ZodObject<{
39898
40584
  href: z.ZodOptional<z.ZodString>;
39899
40585
  }, "strip", z.ZodTypeAny, {
39900
40586
  name: string;
40587
+ strategy?: string | undefined;
39901
40588
  icon_url?: string | undefined;
39902
40589
  display_name?: string | undefined;
39903
- strategy?: string | undefined;
39904
40590
  href?: string | undefined;
39905
40591
  }, {
39906
40592
  name: string;
40593
+ strategy?: string | undefined;
39907
40594
  icon_url?: string | undefined;
39908
40595
  display_name?: string | undefined;
39909
- strategy?: string | undefined;
39910
40596
  href?: string | undefined;
39911
40597
  }>, "many">>;
39912
40598
  }, "strip", z.ZodTypeAny, {
39913
40599
  providers?: string[] | undefined;
39914
40600
  provider_details?: {
39915
40601
  name: string;
40602
+ strategy?: string | undefined;
39916
40603
  icon_url?: string | undefined;
39917
40604
  display_name?: string | undefined;
39918
- strategy?: string | undefined;
39919
40605
  href?: string | undefined;
39920
40606
  }[] | undefined;
39921
40607
  }, {
39922
40608
  providers?: string[] | undefined;
39923
40609
  provider_details?: {
39924
40610
  name: string;
40611
+ strategy?: string | undefined;
39925
40612
  icon_url?: string | undefined;
39926
40613
  display_name?: string | undefined;
39927
- strategy?: string | undefined;
39928
40614
  href?: string | undefined;
39929
40615
  }[] | undefined;
39930
40616
  }>>;
@@ -39938,9 +40624,9 @@ export declare const uiScreenSchema: z.ZodObject<{
39938
40624
  providers?: string[] | undefined;
39939
40625
  provider_details?: {
39940
40626
  name: string;
40627
+ strategy?: string | undefined;
39941
40628
  icon_url?: string | undefined;
39942
40629
  display_name?: string | undefined;
39943
- strategy?: string | undefined;
39944
40630
  href?: string | undefined;
39945
40631
  }[] | undefined;
39946
40632
  } | undefined;
@@ -39962,9 +40648,9 @@ export declare const uiScreenSchema: z.ZodObject<{
39962
40648
  providers?: string[] | undefined;
39963
40649
  provider_details?: {
39964
40650
  name: string;
40651
+ strategy?: string | undefined;
39965
40652
  icon_url?: string | undefined;
39966
40653
  display_name?: string | undefined;
39967
- strategy?: string | undefined;
39968
40654
  href?: string | undefined;
39969
40655
  }[] | undefined;
39970
40656
  } | undefined;
@@ -40275,6 +40961,7 @@ export declare const uiScreenSchema: z.ZodObject<{
40275
40961
  /** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
40276
40962
  footer: z.ZodOptional<z.ZodString>;
40277
40963
  }, "strip", z.ZodTypeAny, {
40964
+ method: "POST" | "GET";
40278
40965
  action: string;
40279
40966
  components: ({
40280
40967
  type: "DIVIDER";
@@ -40656,9 +41343,9 @@ export declare const uiScreenSchema: z.ZodObject<{
40656
41343
  providers?: string[] | undefined;
40657
41344
  provider_details?: {
40658
41345
  name: string;
41346
+ strategy?: string | undefined;
40659
41347
  icon_url?: string | undefined;
40660
41348
  display_name?: string | undefined;
40661
- strategy?: string | undefined;
40662
41349
  href?: string | undefined;
40663
41350
  }[] | undefined;
40664
41351
  } | undefined;
@@ -40752,7 +41439,6 @@ export declare const uiScreenSchema: z.ZodObject<{
40752
41439
  id?: number | undefined;
40753
41440
  }[] | undefined;
40754
41441
  })[];
40755
- method: "POST" | "GET";
40756
41442
  description?: string | undefined;
40757
41443
  title?: string | undefined;
40758
41444
  name?: string | undefined;
@@ -40769,6 +41455,7 @@ export declare const uiScreenSchema: z.ZodObject<{
40769
41455
  }[] | undefined;
40770
41456
  footer?: string | undefined;
40771
41457
  }, {
41458
+ method: "POST" | "GET";
40772
41459
  action: string;
40773
41460
  components: ({
40774
41461
  type: "DIVIDER";
@@ -41149,9 +41836,9 @@ export declare const uiScreenSchema: z.ZodObject<{
41149
41836
  providers?: string[] | undefined;
41150
41837
  provider_details?: {
41151
41838
  name: string;
41839
+ strategy?: string | undefined;
41152
41840
  icon_url?: string | undefined;
41153
41841
  display_name?: string | undefined;
41154
- strategy?: string | undefined;
41155
41842
  href?: string | undefined;
41156
41843
  }[] | undefined;
41157
41844
  } | undefined;
@@ -41246,7 +41933,6 @@ export declare const uiScreenSchema: z.ZodObject<{
41246
41933
  id?: number | undefined;
41247
41934
  }[] | undefined;
41248
41935
  })[];
41249
- method: "POST" | "GET";
41250
41936
  description?: string | undefined;
41251
41937
  title?: string | undefined;
41252
41938
  name?: string | undefined;
@@ -41547,8 +42233,8 @@ export declare const identitySchema: z.ZodObject<{
41547
42233
  family_name: z.ZodOptional<z.ZodString>;
41548
42234
  }, z.ZodAny, "strip">>>;
41549
42235
  }, "strip", z.ZodTypeAny, {
41550
- user_id: string;
41551
42236
  connection: string;
42237
+ user_id: string;
41552
42238
  provider: string;
41553
42239
  isSocial: boolean;
41554
42240
  email?: string | undefined;
@@ -41570,8 +42256,8 @@ export declare const identitySchema: z.ZodObject<{
41570
42256
  family_name: z.ZodOptional<z.ZodString>;
41571
42257
  }, z.ZodAny, "strip"> | undefined;
41572
42258
  }, {
41573
- user_id: string;
41574
42259
  connection: string;
42260
+ user_id: string;
41575
42261
  provider: string;
41576
42262
  isSocial: boolean;
41577
42263
  email?: string | undefined;
@@ -41698,9 +42384,9 @@ export declare const inviteSchema: z.ZodObject<{
41698
42384
  roles: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
41699
42385
  send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
41700
42386
  }, "strip", z.ZodTypeAny, {
41701
- created_at: string;
41702
42387
  id: string;
41703
42388
  client_id: string;
42389
+ created_at: string;
41704
42390
  expires_at: string;
41705
42391
  organization_id: string;
41706
42392
  inviter: {
@@ -41718,9 +42404,9 @@ export declare const inviteSchema: z.ZodObject<{
41718
42404
  send_invitation_email?: boolean | undefined;
41719
42405
  ticket_id?: string | undefined;
41720
42406
  }, {
41721
- created_at: string;
41722
42407
  id: string;
41723
42408
  client_id: string;
42409
+ created_at: string;
41724
42410
  expires_at: string;
41725
42411
  organization_id: string;
41726
42412
  inviter: {
@@ -42048,10 +42734,10 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
42048
42734
  acr_values?: string | undefined;
42049
42735
  vendor_id?: string | undefined;
42050
42736
  };
42737
+ ip?: string | undefined;
42051
42738
  user_id?: string | undefined;
42052
42739
  auth0Client?: string | undefined;
42053
42740
  deleted_at?: string | undefined;
42054
- ip?: string | undefined;
42055
42741
  useragent?: string | undefined;
42056
42742
  session_id?: string | undefined;
42057
42743
  authorization_url?: string | undefined;
@@ -42081,11 +42767,11 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
42081
42767
  acr_values?: string | undefined;
42082
42768
  vendor_id?: string | undefined;
42083
42769
  };
42770
+ ip?: string | undefined;
42084
42771
  user_id?: string | undefined;
42085
42772
  state?: LoginSessionState | undefined;
42086
42773
  auth0Client?: string | undefined;
42087
42774
  deleted_at?: string | undefined;
42088
- ip?: string | undefined;
42089
42775
  useragent?: string | undefined;
42090
42776
  session_id?: string | undefined;
42091
42777
  authorization_url?: string | undefined;
@@ -42170,9 +42856,9 @@ export declare const loginSessionSchema: z.ZodObject<{
42170
42856
  user_id: z.ZodOptional<z.ZodString>;
42171
42857
  auth_connection: z.ZodOptional<z.ZodString>;
42172
42858
  }, "strip", z.ZodTypeAny, {
42859
+ id: string;
42173
42860
  created_at: string;
42174
42861
  updated_at: string;
42175
- id: string;
42176
42862
  state: LoginSessionState;
42177
42863
  expires_at: string;
42178
42864
  csrf_token: string;
@@ -42196,10 +42882,10 @@ export declare const loginSessionSchema: z.ZodObject<{
42196
42882
  acr_values?: string | undefined;
42197
42883
  vendor_id?: string | undefined;
42198
42884
  };
42885
+ ip?: string | undefined;
42199
42886
  user_id?: string | undefined;
42200
42887
  auth0Client?: string | undefined;
42201
42888
  deleted_at?: string | undefined;
42202
- ip?: string | undefined;
42203
42889
  useragent?: string | undefined;
42204
42890
  session_id?: string | undefined;
42205
42891
  authorization_url?: string | undefined;
@@ -42207,9 +42893,9 @@ export declare const loginSessionSchema: z.ZodObject<{
42207
42893
  failure_reason?: string | undefined;
42208
42894
  auth_connection?: string | undefined;
42209
42895
  }, {
42896
+ id: string;
42210
42897
  created_at: string;
42211
42898
  updated_at: string;
42212
- id: string;
42213
42899
  expires_at: string;
42214
42900
  csrf_token: string;
42215
42901
  authParams: {
@@ -42232,11 +42918,11 @@ export declare const loginSessionSchema: z.ZodObject<{
42232
42918
  acr_values?: string | undefined;
42233
42919
  vendor_id?: string | undefined;
42234
42920
  };
42921
+ ip?: string | undefined;
42235
42922
  user_id?: string | undefined;
42236
42923
  state?: LoginSessionState | undefined;
42237
42924
  auth0Client?: string | undefined;
42238
42925
  deleted_at?: string | undefined;
42239
- ip?: string | undefined;
42240
42926
  useragent?: string | undefined;
42241
42927
  session_id?: string | undefined;
42242
42928
  authorization_url?: string | undefined;
@@ -42515,20 +43201,12 @@ export declare const logInsertSchema: z.ZodObject<{
42515
43201
  date: string;
42516
43202
  isMobile: boolean;
42517
43203
  description?: string | undefined;
42518
- connection_id?: string | undefined;
42519
- user_id?: string | undefined;
42520
- connection?: string | undefined;
42521
43204
  client_id?: string | undefined;
42522
- audience?: string | undefined;
42523
- scope?: string | undefined;
42524
- strategy?: string | undefined;
42525
43205
  ip?: string | undefined;
42526
43206
  user_agent?: string | undefined;
42527
- details?: any;
42528
- user_name?: string | undefined;
42529
- client_name?: string | undefined;
43207
+ connection?: string | undefined;
43208
+ strategy?: string | undefined;
42530
43209
  strategy_type?: string | undefined;
42531
- hostname?: string | undefined;
42532
43210
  auth0_client?: {
42533
43211
  name: string;
42534
43212
  version: string;
@@ -42536,6 +43214,14 @@ export declare const logInsertSchema: z.ZodObject<{
42536
43214
  node?: string | undefined;
42537
43215
  } | undefined;
42538
43216
  } | undefined;
43217
+ hostname?: string | undefined;
43218
+ connection_id?: string | undefined;
43219
+ user_id?: string | undefined;
43220
+ audience?: string | undefined;
43221
+ scope?: string | undefined;
43222
+ details?: any;
43223
+ user_name?: string | undefined;
43224
+ client_name?: string | undefined;
42539
43225
  log_id?: string | undefined;
42540
43226
  location_info?: {
42541
43227
  country_code: string;
@@ -42550,20 +43236,12 @@ export declare const logInsertSchema: z.ZodObject<{
42550
43236
  date: string;
42551
43237
  isMobile: boolean;
42552
43238
  description?: string | undefined;
42553
- connection_id?: string | undefined;
42554
- user_id?: string | undefined;
42555
- connection?: string | undefined;
42556
43239
  client_id?: string | undefined;
42557
- audience?: string | undefined;
42558
- scope?: string | undefined;
42559
- strategy?: string | undefined;
42560
43240
  ip?: string | undefined;
42561
43241
  user_agent?: string | undefined;
42562
- details?: any;
42563
- user_name?: string | undefined;
42564
- client_name?: string | undefined;
43242
+ connection?: string | undefined;
43243
+ strategy?: string | undefined;
42565
43244
  strategy_type?: string | undefined;
42566
- hostname?: string | undefined;
42567
43245
  auth0_client?: {
42568
43246
  name: string;
42569
43247
  version: string;
@@ -42571,6 +43249,14 @@ export declare const logInsertSchema: z.ZodObject<{
42571
43249
  node?: string | undefined;
42572
43250
  } | undefined;
42573
43251
  } | undefined;
43252
+ hostname?: string | undefined;
43253
+ connection_id?: string | undefined;
43254
+ user_id?: string | undefined;
43255
+ audience?: string | undefined;
43256
+ scope?: string | undefined;
43257
+ details?: any;
43258
+ user_name?: string | undefined;
43259
+ client_name?: string | undefined;
42574
43260
  log_id?: string | undefined;
42575
43261
  location_info?: {
42576
43262
  country_code: string;
@@ -42653,20 +43339,12 @@ export declare const logSchema: z.ZodObject<{
42653
43339
  isMobile: boolean;
42654
43340
  log_id: string;
42655
43341
  description?: string | undefined;
42656
- connection_id?: string | undefined;
42657
- user_id?: string | undefined;
42658
- connection?: string | undefined;
42659
43342
  client_id?: string | undefined;
42660
- audience?: string | undefined;
42661
- scope?: string | undefined;
42662
- strategy?: string | undefined;
42663
43343
  ip?: string | undefined;
42664
43344
  user_agent?: string | undefined;
42665
- details?: any;
42666
- user_name?: string | undefined;
42667
- client_name?: string | undefined;
43345
+ connection?: string | undefined;
43346
+ strategy?: string | undefined;
42668
43347
  strategy_type?: string | undefined;
42669
- hostname?: string | undefined;
42670
43348
  auth0_client?: {
42671
43349
  name: string;
42672
43350
  version: string;
@@ -42674,6 +43352,14 @@ export declare const logSchema: z.ZodObject<{
42674
43352
  node?: string | undefined;
42675
43353
  } | undefined;
42676
43354
  } | undefined;
43355
+ hostname?: string | undefined;
43356
+ connection_id?: string | undefined;
43357
+ user_id?: string | undefined;
43358
+ audience?: string | undefined;
43359
+ scope?: string | undefined;
43360
+ details?: any;
43361
+ user_name?: string | undefined;
43362
+ client_name?: string | undefined;
42677
43363
  location_info?: {
42678
43364
  country_code: string;
42679
43365
  city_name: string;
@@ -42688,20 +43374,12 @@ export declare const logSchema: z.ZodObject<{
42688
43374
  isMobile: boolean;
42689
43375
  log_id: string;
42690
43376
  description?: string | undefined;
42691
- connection_id?: string | undefined;
42692
- user_id?: string | undefined;
42693
- connection?: string | undefined;
42694
43377
  client_id?: string | undefined;
42695
- audience?: string | undefined;
42696
- scope?: string | undefined;
42697
- strategy?: string | undefined;
42698
43378
  ip?: string | undefined;
42699
43379
  user_agent?: string | undefined;
42700
- details?: any;
42701
- user_name?: string | undefined;
42702
- client_name?: string | undefined;
43380
+ connection?: string | undefined;
43381
+ strategy?: string | undefined;
42703
43382
  strategy_type?: string | undefined;
42704
- hostname?: string | undefined;
42705
43383
  auth0_client?: {
42706
43384
  name: string;
42707
43385
  version: string;
@@ -42709,6 +43387,14 @@ export declare const logSchema: z.ZodObject<{
42709
43387
  node?: string | undefined;
42710
43388
  } | undefined;
42711
43389
  } | undefined;
43390
+ hostname?: string | undefined;
43391
+ connection_id?: string | undefined;
43392
+ user_id?: string | undefined;
43393
+ audience?: string | undefined;
43394
+ scope?: string | undefined;
43395
+ details?: any;
43396
+ user_name?: string | undefined;
43397
+ client_name?: string | undefined;
42712
43398
  location_info?: {
42713
43399
  country_code: string;
42714
43400
  city_name: string;
@@ -42755,18 +43441,18 @@ export declare const passwordSchema: z.ZodObject<{
42755
43441
  created_at: z.ZodString;
42756
43442
  updated_at: z.ZodString;
42757
43443
  }, "strip", z.ZodTypeAny, {
42758
- created_at: string;
42759
- updated_at: string;
42760
43444
  password: string;
42761
43445
  id: string;
43446
+ created_at: string;
43447
+ updated_at: string;
42762
43448
  user_id: string;
42763
43449
  algorithm: "bcrypt" | "argon2id";
42764
43450
  is_current: boolean;
42765
43451
  }, {
42766
- created_at: string;
42767
- updated_at: string;
42768
43452
  password: string;
42769
43453
  id: string;
43454
+ created_at: string;
43455
+ updated_at: string;
42770
43456
  user_id: string;
42771
43457
  algorithm?: "bcrypt" | "argon2id" | undefined;
42772
43458
  is_current?: boolean | undefined;
@@ -42875,9 +43561,9 @@ export declare const sessionSchema: z.ZodObject<{
42875
43561
  authenticated_at: z.ZodString;
42876
43562
  last_interaction_at: z.ZodString;
42877
43563
  }, "strip", z.ZodTypeAny, {
43564
+ id: string;
42878
43565
  created_at: string;
42879
43566
  updated_at: string;
42880
- id: string;
42881
43567
  user_id: string;
42882
43568
  login_session_id: string;
42883
43569
  device: {
@@ -42896,9 +43582,9 @@ export declare const sessionSchema: z.ZodObject<{
42896
43582
  revoked_at?: string | undefined;
42897
43583
  idle_expires_at?: string | undefined;
42898
43584
  }, {
43585
+ id: string;
42899
43586
  created_at: string;
42900
43587
  updated_at: string;
42901
- id: string;
42902
43588
  user_id: string;
42903
43589
  login_session_id: string;
42904
43590
  device: {
@@ -43928,9 +44614,9 @@ export declare const tenantSchema: z.ZodObject<{
43928
44614
  created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
43929
44615
  updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
43930
44616
  }, "strip", z.ZodTypeAny, {
44617
+ id: string;
43931
44618
  created_at: string;
43932
44619
  updated_at: string;
43933
- id: string;
43934
44620
  audience: string;
43935
44621
  friendly_name: string;
43936
44622
  sender_email: string;
@@ -44054,9 +44740,9 @@ export declare const tenantSchema: z.ZodObject<{
44054
44740
  } | undefined;
44055
44741
  } | undefined;
44056
44742
  }, {
44743
+ id: string;
44057
44744
  created_at: string | null;
44058
44745
  updated_at: string | null;
44059
- id: string;
44060
44746
  audience: string;
44061
44747
  friendly_name: string;
44062
44748
  sender_email: string;
@@ -45546,17 +46232,17 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
45546
46232
  audience: z.ZodString;
45547
46233
  scopes: z.ZodString;
45548
46234
  }, "strip", z.ZodTypeAny, {
45549
- audience: string;
45550
46235
  scopes: string;
45551
- }, {
45552
46236
  audience: string;
46237
+ }, {
45553
46238
  scopes: string;
46239
+ audience: string;
45554
46240
  }>, "many">;
45555
46241
  rotating: z.ZodBoolean;
45556
46242
  }, "strip", z.ZodTypeAny, {
45557
46243
  id: string;
45558
- user_id: string;
45559
46244
  client_id: string;
46245
+ user_id: string;
45560
46246
  login_id: string;
45561
46247
  device: {
45562
46248
  last_ip: string;
@@ -45567,8 +46253,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
45567
46253
  last_asn: string;
45568
46254
  };
45569
46255
  resource_servers: {
45570
- audience: string;
45571
46256
  scopes: string;
46257
+ audience: string;
45572
46258
  }[];
45573
46259
  rotating: boolean;
45574
46260
  expires_at?: string | undefined;
@@ -45576,8 +46262,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
45576
46262
  last_exchanged_at?: string | undefined;
45577
46263
  }, {
45578
46264
  id: string;
45579
- user_id: string;
45580
46265
  client_id: string;
46266
+ user_id: string;
45581
46267
  login_id: string;
45582
46268
  device: {
45583
46269
  last_ip: string;
@@ -45588,8 +46274,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
45588
46274
  last_asn: string;
45589
46275
  };
45590
46276
  resource_servers: {
45591
- audience: string;
45592
46277
  scopes: string;
46278
+ audience: string;
45593
46279
  }[];
45594
46280
  rotating: boolean;
45595
46281
  expires_at?: string | undefined;
@@ -45631,19 +46317,19 @@ export declare const refreshTokenSchema: z.ZodObject<{
45631
46317
  audience: z.ZodString;
45632
46318
  scopes: z.ZodString;
45633
46319
  }, "strip", z.ZodTypeAny, {
45634
- audience: string;
45635
46320
  scopes: string;
45636
- }, {
45637
46321
  audience: string;
46322
+ }, {
45638
46323
  scopes: string;
46324
+ audience: string;
45639
46325
  }>, "many">;
45640
46326
  rotating: z.ZodBoolean;
45641
46327
  created_at: z.ZodString;
45642
46328
  }, "strip", z.ZodTypeAny, {
45643
- created_at: string;
45644
46329
  id: string;
45645
- user_id: string;
45646
46330
  client_id: string;
46331
+ created_at: string;
46332
+ user_id: string;
45647
46333
  login_id: string;
45648
46334
  device: {
45649
46335
  last_ip: string;
@@ -45654,18 +46340,18 @@ export declare const refreshTokenSchema: z.ZodObject<{
45654
46340
  last_asn: string;
45655
46341
  };
45656
46342
  resource_servers: {
45657
- audience: string;
45658
46343
  scopes: string;
46344
+ audience: string;
45659
46345
  }[];
45660
46346
  rotating: boolean;
45661
46347
  expires_at?: string | undefined;
45662
46348
  idle_expires_at?: string | undefined;
45663
46349
  last_exchanged_at?: string | undefined;
45664
46350
  }, {
45665
- created_at: string;
45666
46351
  id: string;
45667
- user_id: string;
45668
46352
  client_id: string;
46353
+ created_at: string;
46354
+ user_id: string;
45669
46355
  login_id: string;
45670
46356
  device: {
45671
46357
  last_ip: string;
@@ -45676,8 +46362,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
45676
46362
  last_asn: string;
45677
46363
  };
45678
46364
  resource_servers: {
45679
- audience: string;
45680
46365
  scopes: string;
46366
+ audience: string;
45681
46367
  }[];
45682
46368
  rotating: boolean;
45683
46369
  expires_at?: string | undefined;
@@ -45833,12 +46519,12 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
45833
46519
  enable_introspection_endpoint?: boolean | undefined;
45834
46520
  } | undefined;
45835
46521
  id?: string | undefined;
45836
- is_system?: boolean | undefined;
45837
- metadata?: Record<string, any> | undefined;
45838
46522
  scopes?: {
45839
46523
  value: string;
45840
46524
  description?: string | undefined;
45841
46525
  }[] | undefined;
46526
+ is_system?: boolean | undefined;
46527
+ metadata?: Record<string, any> | undefined;
45842
46528
  signing_alg?: string | undefined;
45843
46529
  signing_secret?: string | undefined;
45844
46530
  token_lifetime?: number | undefined;
@@ -45861,12 +46547,12 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
45861
46547
  enable_introspection_endpoint?: boolean | undefined;
45862
46548
  } | undefined;
45863
46549
  id?: string | undefined;
45864
- is_system?: boolean | undefined;
45865
- metadata?: Record<string, any> | undefined;
45866
46550
  scopes?: {
45867
46551
  value: string;
45868
46552
  description?: string | undefined;
45869
46553
  }[] | undefined;
46554
+ is_system?: boolean | undefined;
46555
+ metadata?: Record<string, any> | undefined;
45870
46556
  signing_alg?: string | undefined;
45871
46557
  signing_secret?: string | undefined;
45872
46558
  token_lifetime?: number | undefined;
@@ -45942,8 +46628,6 @@ export declare const resourceServerSchema: z.ZodObject<{
45942
46628
  }, "strip", z.ZodTypeAny, {
45943
46629
  name: string;
45944
46630
  identifier: string;
45945
- created_at?: string | undefined;
45946
- updated_at?: string | undefined;
45947
46631
  options?: {
45948
46632
  mtls?: {
45949
46633
  bound_access_tokens?: boolean | undefined;
@@ -45956,12 +46640,14 @@ export declare const resourceServerSchema: z.ZodObject<{
45956
46640
  enable_introspection_endpoint?: boolean | undefined;
45957
46641
  } | undefined;
45958
46642
  id?: string | undefined;
45959
- is_system?: boolean | undefined;
45960
- metadata?: Record<string, any> | undefined;
45961
46643
  scopes?: {
45962
46644
  value: string;
45963
46645
  description?: string | undefined;
45964
46646
  }[] | undefined;
46647
+ created_at?: string | undefined;
46648
+ updated_at?: string | undefined;
46649
+ is_system?: boolean | undefined;
46650
+ metadata?: Record<string, any> | undefined;
45965
46651
  signing_alg?: string | undefined;
45966
46652
  signing_secret?: string | undefined;
45967
46653
  token_lifetime?: number | undefined;
@@ -45972,8 +46658,6 @@ export declare const resourceServerSchema: z.ZodObject<{
45972
46658
  }, {
45973
46659
  name: string;
45974
46660
  identifier: string;
45975
- created_at?: string | undefined;
45976
- updated_at?: string | undefined;
45977
46661
  options?: {
45978
46662
  mtls?: {
45979
46663
  bound_access_tokens?: boolean | undefined;
@@ -45986,12 +46670,14 @@ export declare const resourceServerSchema: z.ZodObject<{
45986
46670
  enable_introspection_endpoint?: boolean | undefined;
45987
46671
  } | undefined;
45988
46672
  id?: string | undefined;
45989
- is_system?: boolean | undefined;
45990
- metadata?: Record<string, any> | undefined;
45991
46673
  scopes?: {
45992
46674
  value: string;
45993
46675
  description?: string | undefined;
45994
46676
  }[] | undefined;
46677
+ created_at?: string | undefined;
46678
+ updated_at?: string | undefined;
46679
+ is_system?: boolean | undefined;
46680
+ metadata?: Record<string, any> | undefined;
45995
46681
  signing_alg?: string | undefined;
45996
46682
  signing_secret?: string | undefined;
45997
46683
  token_lifetime?: number | undefined;
@@ -46067,8 +46753,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
46067
46753
  }, "strip", z.ZodTypeAny, {
46068
46754
  name: string;
46069
46755
  identifier: string;
46070
- created_at?: string | undefined;
46071
- updated_at?: string | undefined;
46072
46756
  options?: {
46073
46757
  mtls?: {
46074
46758
  bound_access_tokens?: boolean | undefined;
@@ -46081,12 +46765,14 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
46081
46765
  enable_introspection_endpoint?: boolean | undefined;
46082
46766
  } | undefined;
46083
46767
  id?: string | undefined;
46084
- is_system?: boolean | undefined;
46085
- metadata?: Record<string, any> | undefined;
46086
46768
  scopes?: {
46087
46769
  value: string;
46088
46770
  description?: string | undefined;
46089
46771
  }[] | undefined;
46772
+ created_at?: string | undefined;
46773
+ updated_at?: string | undefined;
46774
+ is_system?: boolean | undefined;
46775
+ metadata?: Record<string, any> | undefined;
46090
46776
  signing_alg?: string | undefined;
46091
46777
  signing_secret?: string | undefined;
46092
46778
  token_lifetime?: number | undefined;
@@ -46097,8 +46783,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
46097
46783
  }, {
46098
46784
  name: string;
46099
46785
  identifier: string;
46100
- created_at?: string | undefined;
46101
- updated_at?: string | undefined;
46102
46786
  options?: {
46103
46787
  mtls?: {
46104
46788
  bound_access_tokens?: boolean | undefined;
@@ -46111,12 +46795,14 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
46111
46795
  enable_introspection_endpoint?: boolean | undefined;
46112
46796
  } | undefined;
46113
46797
  id?: string | undefined;
46114
- is_system?: boolean | undefined;
46115
- metadata?: Record<string, any> | undefined;
46116
46798
  scopes?: {
46117
46799
  value: string;
46118
46800
  description?: string | undefined;
46119
46801
  }[] | undefined;
46802
+ created_at?: string | undefined;
46803
+ updated_at?: string | undefined;
46804
+ is_system?: boolean | undefined;
46805
+ metadata?: Record<string, any> | undefined;
46120
46806
  signing_alg?: string | undefined;
46121
46807
  signing_secret?: string | undefined;
46122
46808
  token_lifetime?: number | undefined;
@@ -46199,15 +46885,15 @@ export declare const userPermissionSchema: z.ZodObject<{
46199
46885
  permission_name: z.ZodString;
46200
46886
  organization_id: z.ZodOptional<z.ZodString>;
46201
46887
  }, "strip", z.ZodTypeAny, {
46202
- user_id: string;
46203
46888
  tenant_id: string;
46889
+ user_id: string;
46204
46890
  resource_server_identifier: string;
46205
46891
  permission_name: string;
46206
46892
  created_at?: string | undefined;
46207
46893
  organization_id?: string | undefined;
46208
46894
  }, {
46209
- user_id: string;
46210
46895
  tenant_id: string;
46896
+ user_id: string;
46211
46897
  resource_server_identifier: string;
46212
46898
  permission_name: string;
46213
46899
  created_at?: string | undefined;
@@ -46222,15 +46908,15 @@ export declare const userPermissionListSchema: z.ZodArray<z.ZodObject<{
46222
46908
  permission_name: z.ZodString;
46223
46909
  organization_id: z.ZodOptional<z.ZodString>;
46224
46910
  }, "strip", z.ZodTypeAny, {
46225
- user_id: string;
46226
46911
  tenant_id: string;
46912
+ user_id: string;
46227
46913
  resource_server_identifier: string;
46228
46914
  permission_name: string;
46229
46915
  created_at?: string | undefined;
46230
46916
  organization_id?: string | undefined;
46231
46917
  }, {
46232
- user_id: string;
46233
46918
  tenant_id: string;
46919
+ user_id: string;
46234
46920
  resource_server_identifier: string;
46235
46921
  permission_name: string;
46236
46922
  created_at?: string | undefined;
@@ -46250,16 +46936,16 @@ export declare const userPermissionWithDetailsSchema: z.ZodObject<{
46250
46936
  resource_server_identifier: string;
46251
46937
  permission_name: string;
46252
46938
  resource_server_name: string;
46253
- created_at?: string | undefined;
46254
46939
  description?: string | null | undefined;
46940
+ created_at?: string | undefined;
46255
46941
  organization_id?: string | undefined;
46256
46942
  }, {
46257
46943
  user_id: string;
46258
46944
  resource_server_identifier: string;
46259
46945
  permission_name: string;
46260
46946
  resource_server_name: string;
46261
- created_at?: string | undefined;
46262
46947
  description?: string | null | undefined;
46948
+ created_at?: string | undefined;
46263
46949
  organization_id?: string | undefined;
46264
46950
  }>;
46265
46951
  export type UserPermissionWithDetails = z.infer<typeof userPermissionWithDetailsSchema>;
@@ -46276,16 +46962,16 @@ export declare const userPermissionWithDetailsListSchema: z.ZodArray<z.ZodObject
46276
46962
  resource_server_identifier: string;
46277
46963
  permission_name: string;
46278
46964
  resource_server_name: string;
46279
- created_at?: string | undefined;
46280
46965
  description?: string | null | undefined;
46966
+ created_at?: string | undefined;
46281
46967
  organization_id?: string | undefined;
46282
46968
  }, {
46283
46969
  user_id: string;
46284
46970
  resource_server_identifier: string;
46285
46971
  permission_name: string;
46286
46972
  resource_server_name: string;
46287
- created_at?: string | undefined;
46288
46973
  description?: string | null | undefined;
46974
+ created_at?: string | undefined;
46289
46975
  organization_id?: string | undefined;
46290
46976
  }>, "many">;
46291
46977
  export type UserPermissionWithDetailsList = z.infer<typeof userPermissionWithDetailsListSchema>;
@@ -46310,14 +46996,14 @@ export declare const userRoleSchema: z.ZodObject<{
46310
46996
  role_id: z.ZodString;
46311
46997
  organization_id: z.ZodOptional<z.ZodString>;
46312
46998
  }, "strip", z.ZodTypeAny, {
46313
- user_id: string;
46314
46999
  tenant_id: string;
47000
+ user_id: string;
46315
47001
  role_id: string;
46316
47002
  created_at?: string | undefined;
46317
47003
  organization_id?: string | undefined;
46318
47004
  }, {
46319
- user_id: string;
46320
47005
  tenant_id: string;
47006
+ user_id: string;
46321
47007
  role_id: string;
46322
47008
  created_at?: string | undefined;
46323
47009
  organization_id?: string | undefined;
@@ -46330,14 +47016,14 @@ export declare const userRoleListSchema: z.ZodArray<z.ZodObject<{
46330
47016
  role_id: z.ZodString;
46331
47017
  organization_id: z.ZodOptional<z.ZodString>;
46332
47018
  }, "strip", z.ZodTypeAny, {
46333
- user_id: string;
46334
47019
  tenant_id: string;
47020
+ user_id: string;
46335
47021
  role_id: string;
46336
47022
  created_at?: string | undefined;
46337
47023
  organization_id?: string | undefined;
46338
47024
  }, {
46339
- user_id: string;
46340
47025
  tenant_id: string;
47026
+ user_id: string;
46341
47027
  role_id: string;
46342
47028
  created_at?: string | undefined;
46343
47029
  organization_id?: string | undefined;
@@ -46372,19 +47058,19 @@ export declare const roleSchema: z.ZodObject<{
46372
47058
  created_at: z.ZodOptional<z.ZodString>;
46373
47059
  updated_at: z.ZodOptional<z.ZodString>;
46374
47060
  }, "strip", z.ZodTypeAny, {
46375
- id: string;
46376
47061
  name: string;
47062
+ id: string;
47063
+ description?: string | undefined;
46377
47064
  created_at?: string | undefined;
46378
47065
  updated_at?: string | undefined;
46379
- description?: string | undefined;
46380
47066
  is_system?: boolean | undefined;
46381
47067
  metadata?: Record<string, any> | undefined;
46382
47068
  }, {
46383
- id: string;
46384
47069
  name: string;
47070
+ id: string;
47071
+ description?: string | undefined;
46385
47072
  created_at?: string | undefined;
46386
47073
  updated_at?: string | undefined;
46387
- description?: string | undefined;
46388
47074
  is_system?: boolean | undefined;
46389
47075
  metadata?: Record<string, any> | undefined;
46390
47076
  }>;
@@ -46400,19 +47086,19 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
46400
47086
  created_at: z.ZodOptional<z.ZodString>;
46401
47087
  updated_at: z.ZodOptional<z.ZodString>;
46402
47088
  }, "strip", z.ZodTypeAny, {
46403
- id: string;
46404
47089
  name: string;
47090
+ id: string;
47091
+ description?: string | undefined;
46405
47092
  created_at?: string | undefined;
46406
47093
  updated_at?: string | undefined;
46407
- description?: string | undefined;
46408
47094
  is_system?: boolean | undefined;
46409
47095
  metadata?: Record<string, any> | undefined;
46410
47096
  }, {
46411
- id: string;
46412
47097
  name: string;
47098
+ id: string;
47099
+ description?: string | undefined;
46413
47100
  created_at?: string | undefined;
46414
47101
  updated_at?: string | undefined;
46415
- description?: string | undefined;
46416
47102
  is_system?: boolean | undefined;
46417
47103
  metadata?: Record<string, any> | undefined;
46418
47104
  }>, "many">;
@@ -46686,10 +47372,10 @@ export declare const organizationSchema: z.ZodObject<{
46686
47372
  } | undefined;
46687
47373
  }>>;
46688
47374
  }, "strip", z.ZodTypeAny, {
47375
+ name: string;
47376
+ id: string;
46689
47377
  created_at: string;
46690
47378
  updated_at: string;
46691
- id: string;
46692
- name: string;
46693
47379
  token_quota?: {
46694
47380
  client_credentials?: {
46695
47381
  enforce: boolean;
@@ -46713,10 +47399,10 @@ export declare const organizationSchema: z.ZodObject<{
46713
47399
  is_signup_enabled: boolean;
46714
47400
  }[] | undefined;
46715
47401
  }, {
47402
+ name: string;
47403
+ id: string;
46716
47404
  created_at: string;
46717
47405
  updated_at: string;
46718
- id: string;
46719
- name: string;
46720
47406
  token_quota?: {
46721
47407
  client_credentials?: {
46722
47408
  enforce?: boolean | undefined;
@@ -46759,15 +47445,15 @@ export declare const userOrganizationSchema: z.ZodObject<{
46759
47445
  user_id: z.ZodString;
46760
47446
  organization_id: z.ZodString;
46761
47447
  }, "strip", z.ZodTypeAny, {
47448
+ id: string;
46762
47449
  created_at: string;
46763
47450
  updated_at: string;
46764
- id: string;
46765
47451
  user_id: string;
46766
47452
  organization_id: string;
46767
47453
  }, {
47454
+ id: string;
46768
47455
  created_at: string;
46769
47456
  updated_at: string;
46770
- id: string;
46771
47457
  user_id: string;
46772
47458
  organization_id: string;
46773
47459
  }>;
@@ -47195,16 +47881,16 @@ export declare const dailyStatsSchema: z.ZodObject<{
47195
47881
  updated_at: z.ZodString;
47196
47882
  created_at: z.ZodString;
47197
47883
  }, "strip", z.ZodTypeAny, {
47884
+ date: string;
47198
47885
  created_at: string;
47199
47886
  updated_at: string;
47200
- date: string;
47201
47887
  logins: number;
47202
47888
  signups: number;
47203
47889
  leaked_passwords: number;
47204
47890
  }, {
47891
+ date: string;
47205
47892
  created_at: string;
47206
47893
  updated_at: string;
47207
- date: string;
47208
47894
  logins: number;
47209
47895
  signups: number;
47210
47896
  leaked_passwords: number;
@@ -47426,10 +48112,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
47426
48112
  friendly_name: z.ZodOptional<z.ZodString>;
47427
48113
  confirmed: z.ZodDefault<z.ZodBoolean>;
47428
48114
  }, "strip", z.ZodTypeAny, {
47429
- created_at: string;
47430
- updated_at: string;
47431
48115
  type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
47432
48116
  id: string;
48117
+ created_at: string;
48118
+ updated_at: string;
47433
48119
  user_id: string;
47434
48120
  confirmed: boolean;
47435
48121
  phone_number?: string | undefined;
@@ -47441,10 +48127,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
47441
48127
  credential_backed_up?: boolean | undefined;
47442
48128
  transports?: string[] | undefined;
47443
48129
  }, {
47444
- created_at: string;
47445
- updated_at: string;
47446
48130
  type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
47447
48131
  id: string;
48132
+ created_at: string;
48133
+ updated_at: string;
47448
48134
  user_id: string;
47449
48135
  phone_number?: string | undefined;
47450
48136
  friendly_name?: string | undefined;
@@ -47456,10 +48142,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
47456
48142
  transports?: string[] | undefined;
47457
48143
  confirmed?: boolean | undefined;
47458
48144
  }>, {
47459
- created_at: string;
47460
- updated_at: string;
47461
48145
  type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
47462
48146
  id: string;
48147
+ created_at: string;
48148
+ updated_at: string;
47463
48149
  user_id: string;
47464
48150
  confirmed: boolean;
47465
48151
  phone_number?: string | undefined;
@@ -47471,10 +48157,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
47471
48157
  credential_backed_up?: boolean | undefined;
47472
48158
  transports?: string[] | undefined;
47473
48159
  }, {
47474
- created_at: string;
47475
- updated_at: string;
47476
48160
  type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
47477
48161
  id: string;
48162
+ created_at: string;
48163
+ updated_at: string;
47478
48164
  user_id: string;
47479
48165
  phone_number?: string | undefined;
47480
48166
  friendly_name?: string | undefined;
@@ -48051,6 +48737,32 @@ export interface SmsServiceSendParams {
48051
48737
  export interface SmsServiceAdapter {
48052
48738
  send(params: SmsServiceSendParams): Promise<void>;
48053
48739
  }
48740
+ export interface OutboxEvent extends AuditEvent {
48741
+ /** When the event was persisted to the outbox */
48742
+ created_at: string;
48743
+ /** When the event was successfully processed (null if pending) */
48744
+ processed_at: string | null;
48745
+ /** Number of delivery attempts */
48746
+ retry_count: number;
48747
+ /** When to attempt the next retry (null if not in retry state) */
48748
+ next_retry_at: string | null;
48749
+ /** Last error message from a failed delivery attempt */
48750
+ error: string | null;
48751
+ }
48752
+ export interface OutboxAdapter {
48753
+ /** Write an audit event to the outbox */
48754
+ create(tenantId: string, event: AuditEventInsert): Promise<void>;
48755
+ /** Fetch unprocessed events ready for delivery */
48756
+ getUnprocessed(limit: number): Promise<OutboxEvent[]>;
48757
+ /** Atomically claim events for exclusive processing. Returns IDs that were successfully claimed. */
48758
+ claimEvents(ids: string[], workerId: string, leaseMs: number): Promise<string[]>;
48759
+ /** Mark events as successfully processed */
48760
+ markProcessed(ids: string[]): Promise<void>;
48761
+ /** Mark an event for retry with a backoff delay */
48762
+ markRetry(id: string, error: string, nextRetryAt: string): Promise<void>;
48763
+ /** Delete processed events older than the given ISO date. Returns count deleted. */
48764
+ cleanup(olderThan: string): Promise<number>;
48765
+ }
48054
48766
  /**
48055
48767
  * Parameters for cleaning up expired sessions
48056
48768
  */
@@ -48098,6 +48810,14 @@ export interface DataAdapters {
48098
48810
  userOrganizations: UserOrganizationsAdapter;
48099
48811
  emailService?: EmailServiceAdapter;
48100
48812
  smsService?: SmsServiceAdapter;
48813
+ /** Optional outbox adapter for transactional audit event capture */
48814
+ outbox?: OutboxAdapter;
48815
+ /**
48816
+ * Execute a callback within a database transaction.
48817
+ * The callback receives a set of adapters scoped to the transaction.
48818
+ * If the callback throws, the transaction is rolled back.
48819
+ */
48820
+ transaction<T>(fn: (trxAdapters: DataAdapters) => Promise<T>): Promise<T>;
48101
48821
  /**
48102
48822
  * Optional session cleanup function.
48103
48823
  * Cleans up expired login_sessions, sessions, and refresh_tokens.
@@ -48113,7 +48833,7 @@ export interface DataAdapters {
48113
48833
  controlPlaneClientId?: string;
48114
48834
  };
48115
48835
  }
48116
- declare const auth0ClientSchema: z.ZodObject<{
48836
+ declare const auth0ClientSchema$1: z.ZodObject<{
48117
48837
  name: z.ZodString;
48118
48838
  version: z.ZodString;
48119
48839
  env: z.ZodOptional<z.ZodObject<{
@@ -48136,7 +48856,7 @@ declare const auth0ClientSchema: z.ZodObject<{
48136
48856
  node?: string | undefined;
48137
48857
  } | undefined;
48138
48858
  }>;
48139
- type Auth0Client$1 = z.infer<typeof auth0ClientSchema>;
48859
+ type Auth0Client$1 = z.infer<typeof auth0ClientSchema$1>;
48140
48860
  export type Variables = {
48141
48861
  tenant_id: string;
48142
48862
  ip: string;
@@ -48543,9 +49263,9 @@ declare const enrichedClientSchema: z.ZodObject<{
48543
49263
  created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
48544
49264
  updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
48545
49265
  }, "strip", z.ZodTypeAny, {
49266
+ id: string;
48546
49267
  created_at: string;
48547
49268
  updated_at: string;
48548
- id: string;
48549
49269
  audience: string;
48550
49270
  friendly_name: string;
48551
49271
  sender_email: string;
@@ -48669,9 +49389,9 @@ declare const enrichedClientSchema: z.ZodObject<{
48669
49389
  } | undefined;
48670
49390
  } | undefined;
48671
49391
  }, {
49392
+ id: string;
48672
49393
  created_at: string | null;
48673
49394
  updated_at: string | null;
48674
- id: string;
48675
49395
  audience: string;
48676
49396
  friendly_name: string;
48677
49397
  sender_email: string;
@@ -49230,8 +49950,8 @@ declare const enrichedClientSchema: z.ZodObject<{
49230
49950
  max?: number | undefined;
49231
49951
  } | undefined;
49232
49952
  } | undefined;
49233
- provider?: string | undefined;
49234
49953
  client_id?: string | undefined;
49954
+ provider?: string | undefined;
49235
49955
  client_secret?: string | undefined;
49236
49956
  scope?: string | undefined;
49237
49957
  kid?: string | undefined;
@@ -49333,8 +50053,8 @@ declare const enrichedClientSchema: z.ZodObject<{
49333
50053
  max?: number | undefined;
49334
50054
  } | undefined;
49335
50055
  } | undefined;
49336
- provider?: string | undefined;
49337
50056
  client_id?: string | undefined;
50057
+ provider?: string | undefined;
49338
50058
  client_secret?: string | undefined;
49339
50059
  scope?: string | undefined;
49340
50060
  kid?: string | undefined;
@@ -49438,8 +50158,6 @@ declare const enrichedClientSchema: z.ZodObject<{
49438
50158
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
49439
50159
  is_system: z.ZodOptional<z.ZodBoolean>;
49440
50160
  }, "strip", z.ZodTypeAny, {
49441
- created_at: string;
49442
- updated_at: string;
49443
50161
  options: {
49444
50162
  validation?: {
49445
50163
  username?: {
@@ -49447,8 +50165,8 @@ declare const enrichedClientSchema: z.ZodObject<{
49447
50165
  max?: number | undefined;
49448
50166
  } | undefined;
49449
50167
  } | undefined;
49450
- provider?: string | undefined;
49451
50168
  client_id?: string | undefined;
50169
+ provider?: string | undefined;
49452
50170
  client_secret?: string | undefined;
49453
50171
  scope?: string | undefined;
49454
50172
  kid?: string | undefined;
@@ -49546,6 +50264,8 @@ declare const enrichedClientSchema: z.ZodObject<{
49546
50264
  };
49547
50265
  name: string;
49548
50266
  strategy: string;
50267
+ created_at: string;
50268
+ updated_at: string;
49549
50269
  id?: string | undefined;
49550
50270
  is_system?: boolean | undefined;
49551
50271
  response_type?: AuthorizationResponseType | undefined;
@@ -49556,10 +50276,10 @@ declare const enrichedClientSchema: z.ZodObject<{
49556
50276
  show_as_button?: boolean | undefined;
49557
50277
  metadata?: Record<string, any> | undefined;
49558
50278
  }, {
49559
- created_at: string;
49560
- updated_at: string;
49561
50279
  name: string;
49562
50280
  strategy: string;
50281
+ created_at: string;
50282
+ updated_at: string;
49563
50283
  options?: {
49564
50284
  validation?: {
49565
50285
  username?: {
@@ -49567,8 +50287,8 @@ declare const enrichedClientSchema: z.ZodObject<{
49567
50287
  max?: number | undefined;
49568
50288
  } | undefined;
49569
50289
  } | undefined;
49570
- provider?: string | undefined;
49571
50290
  client_id?: string | undefined;
50291
+ provider?: string | undefined;
49572
50292
  client_secret?: string | undefined;
49573
50293
  scope?: string | undefined;
49574
50294
  kid?: string | undefined;
@@ -49770,9 +50490,9 @@ declare const enrichedClientSchema: z.ZodObject<{
49770
50490
  }, "strip", z.ZodTypeAny, {
49771
50491
  name: string;
49772
50492
  tenant: {
50493
+ id: string;
49773
50494
  created_at: string;
49774
50495
  updated_at: string;
49775
- id: string;
49776
50496
  audience: string;
49777
50497
  friendly_name: string;
49778
50498
  sender_email: string;
@@ -49897,8 +50617,6 @@ declare const enrichedClientSchema: z.ZodObject<{
49897
50617
  } | undefined;
49898
50618
  };
49899
50619
  connections: {
49900
- created_at: string;
49901
- updated_at: string;
49902
50620
  options: {
49903
50621
  validation?: {
49904
50622
  username?: {
@@ -49906,8 +50624,8 @@ declare const enrichedClientSchema: z.ZodObject<{
49906
50624
  max?: number | undefined;
49907
50625
  } | undefined;
49908
50626
  } | undefined;
49909
- provider?: string | undefined;
49910
50627
  client_id?: string | undefined;
50628
+ provider?: string | undefined;
49911
50629
  client_secret?: string | undefined;
49912
50630
  scope?: string | undefined;
49913
50631
  kid?: string | undefined;
@@ -50005,6 +50723,8 @@ declare const enrichedClientSchema: z.ZodObject<{
50005
50723
  };
50006
50724
  name: string;
50007
50725
  strategy: string;
50726
+ created_at: string;
50727
+ updated_at: string;
50008
50728
  id?: string | undefined;
50009
50729
  is_system?: boolean | undefined;
50010
50730
  response_type?: AuthorizationResponseType | undefined;
@@ -50066,9 +50786,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50066
50786
  }, {
50067
50787
  name: string;
50068
50788
  tenant: {
50789
+ id: string;
50069
50790
  created_at: string | null;
50070
50791
  updated_at: string | null;
50071
- id: string;
50072
50792
  audience: string;
50073
50793
  friendly_name: string;
50074
50794
  sender_email: string;
@@ -50193,10 +50913,10 @@ declare const enrichedClientSchema: z.ZodObject<{
50193
50913
  } | undefined;
50194
50914
  };
50195
50915
  connections: {
50196
- created_at: string;
50197
- updated_at: string;
50198
50916
  name: string;
50199
50917
  strategy: string;
50918
+ created_at: string;
50919
+ updated_at: string;
50200
50920
  options?: {
50201
50921
  validation?: {
50202
50922
  username?: {
@@ -50204,8 +50924,8 @@ declare const enrichedClientSchema: z.ZodObject<{
50204
50924
  max?: number | undefined;
50205
50925
  } | undefined;
50206
50926
  } | undefined;
50207
- provider?: string | undefined;
50208
50927
  client_id?: string | undefined;
50928
+ provider?: string | undefined;
50209
50929
  client_secret?: string | undefined;
50210
50930
  scope?: string | undefined;
50211
50931
  kid?: string | undefined;
@@ -50500,6 +51220,9 @@ export type OnExecutePreUserRegistrationAPI = {
50500
51220
  setUserMetadata: (key: string, value: any) => void;
50501
51221
  setLinkedTo: (primaryUserId: string) => void;
50502
51222
  };
51223
+ access: {
51224
+ deny: (code: string, reason?: string) => void;
51225
+ };
50503
51226
  token: TokenAPI;
50504
51227
  };
50505
51228
  export type OnExecutePostUserRegistrationAPI = {
@@ -50678,6 +51401,20 @@ export interface ManagementApiExtension {
50678
51401
  */
50679
51402
  router: OpenAPIHono<any, any, any>;
50680
51403
  }
51404
+ /**
51405
+ * Configuration for the transactional outbox pattern.
51406
+ * When enabled, audit events are written atomically with entity mutations
51407
+ * and delivered asynchronously by a background relay.
51408
+ */
51409
+ export interface OutboxConfig {
51410
+ enabled: boolean;
51411
+ /** Capture entity before/after state in audit events (default: true) */
51412
+ captureEntityState?: boolean;
51413
+ /** Days to retain processed outbox events before cleanup (default: 7) */
51414
+ retentionDays?: number;
51415
+ /** Max delivery retries before giving up on an event (default: 5) */
51416
+ maxRetries?: number;
51417
+ }
50681
51418
  export interface AuthHeroConfig {
50682
51419
  dataAdapter: DataAdapters;
50683
51420
  /**
@@ -50844,6 +51581,13 @@ export interface AuthHeroConfig {
50844
51581
  * enabling client-side routing in the admin SPA.
50845
51582
  */
50846
51583
  adminIndexHtml?: string;
51584
+ /**
51585
+ * Transactional outbox configuration.
51586
+ * When enabled, audit events are written atomically within the same
51587
+ * database transaction as entity mutations, then delivered asynchronously
51588
+ * by a background relay to the logs table (and other destinations).
51589
+ */
51590
+ outbox?: OutboxConfig;
50847
51591
  }
50848
51592
  export type UserInfo = {
50849
51593
  sub: string;
@@ -50901,6 +51645,7 @@ export type Bindings = {
50901
51645
  height?: number;
50902
51646
  };
50903
51647
  webhookInvoker?: WebhookInvoker;
51648
+ outbox?: OutboxConfig;
50904
51649
  };
50905
51650
  export interface CreateX509CertificateParams {
50906
51651
  name: string;
@@ -51810,9 +52555,9 @@ export declare function init(config: AuthHeroConfig): {
51810
52555
  };
51811
52556
  };
51812
52557
  output: {
52558
+ date: string;
51813
52559
  created_at: string;
51814
52560
  updated_at: string;
51815
- date: string;
51816
52561
  logins: number;
51817
52562
  signups: number;
51818
52563
  leaked_passwords: number;
@@ -51853,10 +52598,10 @@ export declare function init(config: AuthHeroConfig): {
51853
52598
  };
51854
52599
  };
51855
52600
  output: {
52601
+ name: string;
52602
+ id: string;
51856
52603
  created_at: string;
51857
52604
  updated_at: string;
51858
- id: string;
51859
- name: string;
51860
52605
  token_quota?: {
51861
52606
  client_credentials?: {
51862
52607
  enforce: boolean;
@@ -51886,10 +52631,10 @@ export declare function init(config: AuthHeroConfig): {
51886
52631
  start: number;
51887
52632
  limit: number;
51888
52633
  organizations: {
52634
+ name: string;
52635
+ id: string;
51889
52636
  created_at: string;
51890
52637
  updated_at: string;
51891
- id: string;
51892
- name: string;
51893
52638
  token_quota?: {
51894
52639
  client_credentials?: {
51895
52640
  enforce: boolean;
@@ -51934,10 +52679,10 @@ export declare function init(config: AuthHeroConfig): {
51934
52679
  };
51935
52680
  };
51936
52681
  output: {
52682
+ name: string;
52683
+ id: string;
51937
52684
  created_at: string;
51938
52685
  updated_at: string;
51939
- id: string;
51940
- name: string;
51941
52686
  token_quota?: {
51942
52687
  client_credentials?: {
51943
52688
  enforce: boolean;
@@ -52024,10 +52769,10 @@ export declare function init(config: AuthHeroConfig): {
52024
52769
  };
52025
52770
  };
52026
52771
  output: {
52772
+ name: string;
52773
+ id: string;
52027
52774
  created_at: string;
52028
52775
  updated_at: string;
52029
- id: string;
52030
- name: string;
52031
52776
  token_quota?: {
52032
52777
  client_credentials?: {
52033
52778
  enforce: boolean;
@@ -52093,10 +52838,10 @@ export declare function init(config: AuthHeroConfig): {
52093
52838
  };
52094
52839
  };
52095
52840
  output: {
52841
+ name: string;
52842
+ id: string;
52096
52843
  created_at: string;
52097
52844
  updated_at: string;
52098
- id: string;
52099
- name: string;
52100
52845
  token_quota?: {
52101
52846
  client_credentials?: {
52102
52847
  enforce: boolean;
@@ -52239,11 +52984,11 @@ export declare function init(config: AuthHeroConfig): {
52239
52984
  };
52240
52985
  };
52241
52986
  output: {
52242
- id: string;
52243
52987
  name: string;
52988
+ id: string;
52989
+ description?: string | undefined | undefined;
52244
52990
  created_at?: string | undefined | undefined;
52245
52991
  updated_at?: string | undefined | undefined;
52246
- description?: string | undefined | undefined;
52247
52992
  is_system?: boolean | undefined | undefined;
52248
52993
  metadata?: {
52249
52994
  [x: string]: any;
@@ -52320,11 +53065,11 @@ export declare function init(config: AuthHeroConfig): {
52320
53065
  };
52321
53066
  };
52322
53067
  output: {
52323
- id: string;
52324
53068
  name: string;
53069
+ id: string;
53070
+ description?: string | undefined | undefined;
52325
53071
  created_at?: string | undefined | undefined;
52326
53072
  updated_at?: string | undefined | undefined;
52327
- description?: string | undefined | undefined;
52328
53073
  is_system?: boolean | undefined | undefined;
52329
53074
  metadata?: {
52330
53075
  [x: string]: any;
@@ -52356,9 +53101,9 @@ export declare function init(config: AuthHeroConfig): {
52356
53101
  };
52357
53102
  };
52358
53103
  output: {
52359
- created_at: string;
52360
53104
  id: string;
52361
53105
  client_id: string;
53106
+ created_at: string;
52362
53107
  expires_at: string;
52363
53108
  organization_id: string;
52364
53109
  inviter: {
@@ -52384,9 +53129,9 @@ export declare function init(config: AuthHeroConfig): {
52384
53129
  start: number;
52385
53130
  limit: number;
52386
53131
  invitations: {
52387
- created_at: string;
52388
53132
  id: string;
52389
53133
  client_id: string;
53134
+ created_at: string;
52390
53135
  expires_at: string;
52391
53136
  organization_id: string;
52392
53137
  inviter: {
@@ -52441,9 +53186,9 @@ export declare function init(config: AuthHeroConfig): {
52441
53186
  };
52442
53187
  };
52443
53188
  output: {
52444
- created_at: string;
52445
53189
  id: string;
52446
53190
  client_id: string;
53191
+ created_at: string;
52447
53192
  expires_at: string;
52448
53193
  organization_id: string;
52449
53194
  inviter: {
@@ -52498,9 +53243,9 @@ export declare function init(config: AuthHeroConfig): {
52498
53243
  };
52499
53244
  };
52500
53245
  output: {
52501
- created_at: string;
52502
53246
  id: string;
52503
53247
  client_id: string;
53248
+ created_at: string;
52504
53249
  expires_at: string;
52505
53250
  organization_id: string;
52506
53251
  inviter: {
@@ -52579,8 +53324,6 @@ export declare function init(config: AuthHeroConfig): {
52579
53324
  output: {
52580
53325
  name: string;
52581
53326
  identifier: string;
52582
- created_at?: string | undefined | undefined;
52583
- updated_at?: string | undefined | undefined;
52584
53327
  options?: {
52585
53328
  mtls?: {
52586
53329
  bound_access_tokens?: boolean | undefined | undefined;
@@ -52593,14 +53336,16 @@ export declare function init(config: AuthHeroConfig): {
52593
53336
  enable_introspection_endpoint?: boolean | undefined | undefined;
52594
53337
  } | undefined;
52595
53338
  id?: string | undefined | undefined;
52596
- is_system?: boolean | undefined | undefined;
52597
- metadata?: {
52598
- [x: string]: any;
52599
- } | undefined;
52600
53339
  scopes?: {
52601
53340
  value: string;
52602
53341
  description?: string | undefined | undefined;
52603
53342
  }[] | undefined;
53343
+ created_at?: string | undefined | undefined;
53344
+ updated_at?: string | undefined | undefined;
53345
+ is_system?: boolean | undefined | undefined;
53346
+ metadata?: {
53347
+ [x: string]: any;
53348
+ } | undefined;
52604
53349
  signing_alg?: string | undefined | undefined;
52605
53350
  signing_secret?: string | undefined | undefined;
52606
53351
  token_lifetime?: number | undefined | undefined;
@@ -52615,8 +53360,6 @@ export declare function init(config: AuthHeroConfig): {
52615
53360
  resource_servers: {
52616
53361
  name: string;
52617
53362
  identifier: string;
52618
- created_at?: string | undefined | undefined;
52619
- updated_at?: string | undefined | undefined;
52620
53363
  options?: {
52621
53364
  mtls?: {
52622
53365
  bound_access_tokens?: boolean | undefined | undefined;
@@ -52629,14 +53372,16 @@ export declare function init(config: AuthHeroConfig): {
52629
53372
  enable_introspection_endpoint?: boolean | undefined | undefined;
52630
53373
  } | undefined;
52631
53374
  id?: string | undefined | undefined;
52632
- is_system?: boolean | undefined | undefined;
52633
- metadata?: {
52634
- [x: string]: any;
52635
- } | undefined;
52636
53375
  scopes?: {
52637
53376
  value: string;
52638
53377
  description?: string | undefined | undefined;
52639
53378
  }[] | undefined;
53379
+ created_at?: string | undefined | undefined;
53380
+ updated_at?: string | undefined | undefined;
53381
+ is_system?: boolean | undefined | undefined;
53382
+ metadata?: {
53383
+ [x: string]: any;
53384
+ } | undefined;
52640
53385
  signing_alg?: string | undefined | undefined;
52641
53386
  signing_secret?: string | undefined | undefined;
52642
53387
  token_lifetime?: number | undefined | undefined;
@@ -52666,8 +53411,6 @@ export declare function init(config: AuthHeroConfig): {
52666
53411
  output: {
52667
53412
  name: string;
52668
53413
  identifier: string;
52669
- created_at?: string | undefined | undefined;
52670
- updated_at?: string | undefined | undefined;
52671
53414
  options?: {
52672
53415
  mtls?: {
52673
53416
  bound_access_tokens?: boolean | undefined | undefined;
@@ -52680,14 +53423,16 @@ export declare function init(config: AuthHeroConfig): {
52680
53423
  enable_introspection_endpoint?: boolean | undefined | undefined;
52681
53424
  } | undefined;
52682
53425
  id?: string | undefined | undefined;
52683
- is_system?: boolean | undefined | undefined;
52684
- metadata?: {
52685
- [x: string]: any;
52686
- } | undefined;
52687
53426
  scopes?: {
52688
53427
  value: string;
52689
53428
  description?: string | undefined | undefined;
52690
53429
  }[] | undefined;
53430
+ created_at?: string | undefined | undefined;
53431
+ updated_at?: string | undefined | undefined;
53432
+ is_system?: boolean | undefined | undefined;
53433
+ metadata?: {
53434
+ [x: string]: any;
53435
+ } | undefined;
52691
53436
  signing_alg?: string | undefined | undefined;
52692
53437
  signing_secret?: string | undefined | undefined;
52693
53438
  token_lifetime?: number | undefined | undefined;
@@ -52762,8 +53507,6 @@ export declare function init(config: AuthHeroConfig): {
52762
53507
  output: {
52763
53508
  name: string;
52764
53509
  identifier: string;
52765
- created_at?: string | undefined | undefined;
52766
- updated_at?: string | undefined | undefined;
52767
53510
  options?: {
52768
53511
  mtls?: {
52769
53512
  bound_access_tokens?: boolean | undefined | undefined;
@@ -52776,14 +53519,16 @@ export declare function init(config: AuthHeroConfig): {
52776
53519
  enable_introspection_endpoint?: boolean | undefined | undefined;
52777
53520
  } | undefined;
52778
53521
  id?: string | undefined | undefined;
52779
- is_system?: boolean | undefined | undefined;
52780
- metadata?: {
52781
- [x: string]: any;
52782
- } | undefined;
52783
53522
  scopes?: {
52784
53523
  value: string;
52785
53524
  description?: string | undefined | undefined;
52786
53525
  }[] | undefined;
53526
+ created_at?: string | undefined | undefined;
53527
+ updated_at?: string | undefined | undefined;
53528
+ is_system?: boolean | undefined | undefined;
53529
+ metadata?: {
53530
+ [x: string]: any;
53531
+ } | undefined;
52787
53532
  signing_alg?: string | undefined | undefined;
52788
53533
  signing_secret?: string | undefined | undefined;
52789
53534
  token_lifetime?: number | undefined | undefined;
@@ -52837,8 +53582,6 @@ export declare function init(config: AuthHeroConfig): {
52837
53582
  output: {
52838
53583
  name: string;
52839
53584
  identifier: string;
52840
- created_at?: string | undefined | undefined;
52841
- updated_at?: string | undefined | undefined;
52842
53585
  options?: {
52843
53586
  mtls?: {
52844
53587
  bound_access_tokens?: boolean | undefined | undefined;
@@ -52851,14 +53594,16 @@ export declare function init(config: AuthHeroConfig): {
52851
53594
  enable_introspection_endpoint?: boolean | undefined | undefined;
52852
53595
  } | undefined;
52853
53596
  id?: string | undefined | undefined;
52854
- is_system?: boolean | undefined | undefined;
52855
- metadata?: {
52856
- [x: string]: any;
52857
- } | undefined;
52858
53597
  scopes?: {
52859
53598
  value: string;
52860
53599
  description?: string | undefined | undefined;
52861
53600
  }[] | undefined;
53601
+ created_at?: string | undefined | undefined;
53602
+ updated_at?: string | undefined | undefined;
53603
+ is_system?: boolean | undefined | undefined;
53604
+ metadata?: {
53605
+ [x: string]: any;
53606
+ } | undefined;
52862
53607
  signing_alg?: string | undefined | undefined;
52863
53608
  signing_secret?: string | undefined | undefined;
52864
53609
  token_lifetime?: number | undefined | undefined;
@@ -52890,11 +53635,11 @@ export declare function init(config: AuthHeroConfig): {
52890
53635
  };
52891
53636
  };
52892
53637
  output: {
52893
- id: string;
52894
53638
  name: string;
53639
+ id: string;
53640
+ description?: string | undefined | undefined;
52895
53641
  created_at?: string | undefined | undefined;
52896
53642
  updated_at?: string | undefined | undefined;
52897
- description?: string | undefined | undefined;
52898
53643
  is_system?: boolean | undefined | undefined;
52899
53644
  metadata?: {
52900
53645
  [x: string]: any;
@@ -52904,11 +53649,11 @@ export declare function init(config: AuthHeroConfig): {
52904
53649
  start: number;
52905
53650
  limit: number;
52906
53651
  roles: {
52907
- id: string;
52908
53652
  name: string;
53653
+ id: string;
53654
+ description?: string | undefined | undefined;
52909
53655
  created_at?: string | undefined | undefined;
52910
53656
  updated_at?: string | undefined | undefined;
52911
- description?: string | undefined | undefined;
52912
53657
  is_system?: boolean | undefined | undefined;
52913
53658
  metadata?: {
52914
53659
  [x: string]: any;
@@ -52933,11 +53678,11 @@ export declare function init(config: AuthHeroConfig): {
52933
53678
  };
52934
53679
  };
52935
53680
  output: {
52936
- id: string;
52937
53681
  name: string;
53682
+ id: string;
53683
+ description?: string | undefined | undefined;
52938
53684
  created_at?: string | undefined | undefined;
52939
53685
  updated_at?: string | undefined | undefined;
52940
- description?: string | undefined | undefined;
52941
53686
  is_system?: boolean | undefined | undefined;
52942
53687
  metadata?: {
52943
53688
  [x: string]: any;
@@ -52964,11 +53709,11 @@ export declare function init(config: AuthHeroConfig): {
52964
53709
  };
52965
53710
  };
52966
53711
  output: {
52967
- id: string;
52968
53712
  name: string;
53713
+ id: string;
53714
+ description?: string | undefined | undefined;
52969
53715
  created_at?: string | undefined | undefined;
52970
53716
  updated_at?: string | undefined | undefined;
52971
- description?: string | undefined | undefined;
52972
53717
  is_system?: boolean | undefined | undefined;
52973
53718
  metadata?: {
52974
53719
  [x: string]: any;
@@ -52999,11 +53744,11 @@ export declare function init(config: AuthHeroConfig): {
52999
53744
  };
53000
53745
  };
53001
53746
  output: {
53002
- id: string;
53003
53747
  name: string;
53748
+ id: string;
53749
+ description?: string | undefined | undefined;
53004
53750
  created_at?: string | undefined | undefined;
53005
53751
  updated_at?: string | undefined | undefined;
53006
- description?: string | undefined | undefined;
53007
53752
  is_system?: boolean | undefined | undefined;
53008
53753
  metadata?: {
53009
53754
  [x: string]: any;
@@ -53129,10 +53874,10 @@ export declare function init(config: AuthHeroConfig): {
53129
53874
  };
53130
53875
  };
53131
53876
  output: {
53877
+ name: string;
53878
+ id: string;
53132
53879
  created_at: string;
53133
53880
  updated_at: string;
53134
- id: string;
53135
- name: string;
53136
53881
  actions: ({
53137
53882
  params: {
53138
53883
  user_id: string;
@@ -53182,10 +53927,10 @@ export declare function init(config: AuthHeroConfig): {
53182
53927
  start: number;
53183
53928
  limit: number;
53184
53929
  flows: {
53930
+ name: string;
53931
+ id: string;
53185
53932
  created_at: string;
53186
53933
  updated_at: string;
53187
- id: string;
53188
- name: string;
53189
53934
  actions: ({
53190
53935
  params: {
53191
53936
  user_id: string;
@@ -53250,10 +53995,10 @@ export declare function init(config: AuthHeroConfig): {
53250
53995
  };
53251
53996
  };
53252
53997
  output: {
53998
+ name: string;
53999
+ id: string;
53253
54000
  created_at: string;
53254
54001
  updated_at: string;
53255
- id: string;
53256
- name: string;
53257
54002
  actions: ({
53258
54003
  params: {
53259
54004
  user_id: string;
@@ -53379,10 +54124,10 @@ export declare function init(config: AuthHeroConfig): {
53379
54124
  };
53380
54125
  };
53381
54126
  output: {
54127
+ name: string;
54128
+ id: string;
53382
54129
  created_at: string;
53383
54130
  updated_at: string;
53384
- id: string;
53385
- name: string;
53386
54131
  actions: ({
53387
54132
  params: {
53388
54133
  user_id: string;
@@ -53487,10 +54232,10 @@ export declare function init(config: AuthHeroConfig): {
53487
54232
  };
53488
54233
  };
53489
54234
  output: {
54235
+ name: string;
54236
+ id: string;
53490
54237
  created_at: string;
53491
54238
  updated_at: string;
53492
- id: string;
53493
- name: string;
53494
54239
  actions: ({
53495
54240
  params: {
53496
54241
  user_id: string;
@@ -53559,10 +54304,10 @@ export declare function init(config: AuthHeroConfig): {
53559
54304
  };
53560
54305
  };
53561
54306
  output: {
54307
+ name: string;
54308
+ id: string;
53562
54309
  created_at: string;
53563
54310
  updated_at: string;
53564
- id: string;
53565
- name: string;
53566
54311
  style?: {
53567
54312
  css?: string | undefined | undefined;
53568
54313
  } | undefined;
@@ -53998,9 +54743,9 @@ export declare function init(config: AuthHeroConfig): {
53998
54743
  providers?: string[] | undefined | undefined;
53999
54744
  provider_details?: {
54000
54745
  name: string;
54746
+ strategy?: string | undefined | undefined;
54001
54747
  icon_url?: string | undefined | undefined;
54002
54748
  display_name?: string | undefined | undefined;
54003
- strategy?: string | undefined | undefined;
54004
54749
  href?: string | undefined | undefined;
54005
54750
  }[] | undefined;
54006
54751
  } | undefined;
@@ -54136,10 +54881,10 @@ export declare function init(config: AuthHeroConfig): {
54136
54881
  start: number;
54137
54882
  limit: number;
54138
54883
  forms: {
54884
+ name: string;
54885
+ id: string;
54139
54886
  created_at: string;
54140
54887
  updated_at: string;
54141
- id: string;
54142
- name: string;
54143
54888
  style?: {
54144
54889
  css?: string | undefined | undefined;
54145
54890
  } | undefined;
@@ -54575,9 +55320,9 @@ export declare function init(config: AuthHeroConfig): {
54575
55320
  providers?: string[] | undefined | undefined;
54576
55321
  provider_details?: {
54577
55322
  name: string;
55323
+ strategy?: string | undefined | undefined;
54578
55324
  icon_url?: string | undefined | undefined;
54579
55325
  display_name?: string | undefined | undefined;
54580
- strategy?: string | undefined | undefined;
54581
55326
  href?: string | undefined | undefined;
54582
55327
  }[] | undefined;
54583
55328
  } | undefined;
@@ -54728,10 +55473,10 @@ export declare function init(config: AuthHeroConfig): {
54728
55473
  };
54729
55474
  };
54730
55475
  output: {
55476
+ name: string;
55477
+ id: string;
54731
55478
  created_at: string;
54732
55479
  updated_at: string;
54733
- id: string;
54734
- name: string;
54735
55480
  style?: {
54736
55481
  css?: string | undefined | undefined;
54737
55482
  } | undefined;
@@ -55167,9 +55912,9 @@ export declare function init(config: AuthHeroConfig): {
55167
55912
  providers?: string[] | undefined | undefined;
55168
55913
  provider_details?: {
55169
55914
  name: string;
55915
+ strategy?: string | undefined | undefined;
55170
55916
  icon_url?: string | undefined | undefined;
55171
55917
  display_name?: string | undefined | undefined;
55172
- strategy?: string | undefined | undefined;
55173
55918
  href?: string | undefined | undefined;
55174
55919
  }[] | undefined;
55175
55920
  } | undefined;
@@ -55767,9 +56512,9 @@ export declare function init(config: AuthHeroConfig): {
55767
56512
  providers?: string[] | undefined;
55768
56513
  provider_details?: {
55769
56514
  name: string;
56515
+ strategy?: string | undefined;
55770
56516
  icon_url?: string | undefined;
55771
56517
  display_name?: string | undefined;
55772
- strategy?: string | undefined;
55773
56518
  href?: string | undefined;
55774
56519
  }[] | undefined;
55775
56520
  } | undefined;
@@ -55897,10 +56642,10 @@ export declare function init(config: AuthHeroConfig): {
55897
56642
  };
55898
56643
  };
55899
56644
  output: {
56645
+ name: string;
56646
+ id: string;
55900
56647
  created_at: string;
55901
56648
  updated_at: string;
55902
- id: string;
55903
- name: string;
55904
56649
  style?: {
55905
56650
  css?: string | undefined | undefined;
55906
56651
  } | undefined;
@@ -56336,9 +57081,9 @@ export declare function init(config: AuthHeroConfig): {
56336
57081
  providers?: string[] | undefined | undefined;
56337
57082
  provider_details?: {
56338
57083
  name: string;
57084
+ strategy?: string | undefined | undefined;
56339
57085
  icon_url?: string | undefined | undefined;
56340
57086
  display_name?: string | undefined | undefined;
56341
- strategy?: string | undefined | undefined;
56342
57087
  href?: string | undefined | undefined;
56343
57088
  }[] | undefined;
56344
57089
  } | undefined;
@@ -56915,9 +57660,9 @@ export declare function init(config: AuthHeroConfig): {
56915
57660
  providers?: string[] | undefined;
56916
57661
  provider_details?: {
56917
57662
  name: string;
57663
+ strategy?: string | undefined;
56918
57664
  icon_url?: string | undefined;
56919
57665
  display_name?: string | undefined;
56920
- strategy?: string | undefined;
56921
57666
  href?: string | undefined;
56922
57667
  }[] | undefined;
56923
57668
  } | undefined;
@@ -57045,10 +57790,10 @@ export declare function init(config: AuthHeroConfig): {
57045
57790
  };
57046
57791
  };
57047
57792
  output: {
57793
+ name: string;
57794
+ id: string;
57048
57795
  created_at: string;
57049
57796
  updated_at: string;
57050
- id: string;
57051
- name: string;
57052
57797
  style?: {
57053
57798
  css?: string | undefined | undefined;
57054
57799
  } | undefined;
@@ -57484,9 +58229,9 @@ export declare function init(config: AuthHeroConfig): {
57484
58229
  providers?: string[] | undefined | undefined;
57485
58230
  provider_details?: {
57486
58231
  name: string;
58232
+ strategy?: string | undefined | undefined;
57487
58233
  icon_url?: string | undefined | undefined;
57488
58234
  display_name?: string | undefined | undefined;
57489
- strategy?: string | undefined | undefined;
57490
58235
  href?: string | undefined | undefined;
57491
58236
  }[] | undefined;
57492
58237
  } | undefined;
@@ -57636,8 +58381,8 @@ export declare function init(config: AuthHeroConfig): {
57636
58381
  };
57637
58382
  output: {
57638
58383
  id: string;
57639
- user_id: string;
57640
58384
  client_id: string;
58385
+ user_id: string;
57641
58386
  login_id: string;
57642
58387
  device: {
57643
58388
  last_ip: string;
@@ -57648,8 +58393,8 @@ export declare function init(config: AuthHeroConfig): {
57648
58393
  last_asn: string;
57649
58394
  };
57650
58395
  resource_servers: {
57651
- audience: string;
57652
58396
  scopes: string;
58397
+ audience: string;
57653
58398
  }[];
57654
58399
  rotating: boolean;
57655
58400
  expires_at?: string | undefined | undefined;
@@ -57690,9 +58435,9 @@ export declare function init(config: AuthHeroConfig): {
57690
58435
  };
57691
58436
  };
57692
58437
  output: {
58438
+ id: string;
57693
58439
  created_at: string;
57694
58440
  updated_at: string;
57695
- id: string;
57696
58441
  user_id: string;
57697
58442
  login_session_id: string;
57698
58443
  device: {
@@ -57886,8 +58631,6 @@ export declare function init(config: AuthHeroConfig): {
57886
58631
  };
57887
58632
  };
57888
58633
  output: {
57889
- created_at: string;
57890
- updated_at: string;
57891
58634
  options: {
57892
58635
  validation?: {
57893
58636
  username?: {
@@ -57895,8 +58638,8 @@ export declare function init(config: AuthHeroConfig): {
57895
58638
  max?: number | undefined | undefined;
57896
58639
  } | undefined;
57897
58640
  } | undefined;
57898
- provider?: string | undefined | undefined;
57899
58641
  client_id?: string | undefined | undefined;
58642
+ provider?: string | undefined | undefined;
57900
58643
  client_secret?: string | undefined | undefined;
57901
58644
  scope?: string | undefined | undefined;
57902
58645
  kid?: string | undefined | undefined;
@@ -57994,6 +58737,8 @@ export declare function init(config: AuthHeroConfig): {
57994
58737
  };
57995
58738
  name: string;
57996
58739
  strategy: string;
58740
+ created_at: string;
58741
+ updated_at: string;
57997
58742
  id?: string | undefined | undefined;
57998
58743
  is_system?: boolean | undefined | undefined;
57999
58744
  response_type?: AuthorizationResponseType | undefined;
@@ -58008,8 +58753,6 @@ export declare function init(config: AuthHeroConfig): {
58008
58753
  }[] | {
58009
58754
  length: number;
58010
58755
  connections: {
58011
- created_at: string;
58012
- updated_at: string;
58013
58756
  options: {
58014
58757
  validation?: {
58015
58758
  username?: {
@@ -58017,8 +58760,8 @@ export declare function init(config: AuthHeroConfig): {
58017
58760
  max?: number | undefined | undefined;
58018
58761
  } | undefined;
58019
58762
  } | undefined;
58020
- provider?: string | undefined | undefined;
58021
58763
  client_id?: string | undefined | undefined;
58764
+ provider?: string | undefined | undefined;
58022
58765
  client_secret?: string | undefined | undefined;
58023
58766
  scope?: string | undefined | undefined;
58024
58767
  kid?: string | undefined | undefined;
@@ -58116,6 +58859,8 @@ export declare function init(config: AuthHeroConfig): {
58116
58859
  };
58117
58860
  name: string;
58118
58861
  strategy: string;
58862
+ created_at: string;
58863
+ updated_at: string;
58119
58864
  id?: string | undefined | undefined;
58120
58865
  is_system?: boolean | undefined | undefined;
58121
58866
  response_type?: AuthorizationResponseType | undefined;
@@ -58149,8 +58894,6 @@ export declare function init(config: AuthHeroConfig): {
58149
58894
  };
58150
58895
  };
58151
58896
  output: {
58152
- created_at: string;
58153
- updated_at: string;
58154
58897
  options: {
58155
58898
  validation?: {
58156
58899
  username?: {
@@ -58158,8 +58901,8 @@ export declare function init(config: AuthHeroConfig): {
58158
58901
  max?: number | undefined | undefined;
58159
58902
  } | undefined;
58160
58903
  } | undefined;
58161
- provider?: string | undefined | undefined;
58162
58904
  client_id?: string | undefined | undefined;
58905
+ provider?: string | undefined | undefined;
58163
58906
  client_secret?: string | undefined | undefined;
58164
58907
  scope?: string | undefined | undefined;
58165
58908
  kid?: string | undefined | undefined;
@@ -58257,6 +59000,8 @@ export declare function init(config: AuthHeroConfig): {
58257
59000
  };
58258
59001
  name: string;
58259
59002
  strategy: string;
59003
+ created_at: string;
59004
+ updated_at: string;
58260
59005
  id?: string | undefined | undefined;
58261
59006
  is_system?: boolean | undefined | undefined;
58262
59007
  response_type?: AuthorizationResponseType | undefined;
@@ -58311,8 +59056,8 @@ export declare function init(config: AuthHeroConfig): {
58311
59056
  max?: number | undefined;
58312
59057
  } | undefined;
58313
59058
  } | undefined;
58314
- provider?: string | undefined;
58315
59059
  client_id?: string | undefined;
59060
+ provider?: string | undefined;
58316
59061
  client_secret?: string | undefined;
58317
59062
  scope?: string | undefined;
58318
59063
  kid?: string | undefined;
@@ -58421,8 +59166,6 @@ export declare function init(config: AuthHeroConfig): {
58421
59166
  };
58422
59167
  };
58423
59168
  output: {
58424
- created_at: string;
58425
- updated_at: string;
58426
59169
  options: {
58427
59170
  validation?: {
58428
59171
  username?: {
@@ -58430,8 +59173,8 @@ export declare function init(config: AuthHeroConfig): {
58430
59173
  max?: number | undefined | undefined;
58431
59174
  } | undefined;
58432
59175
  } | undefined;
58433
- provider?: string | undefined | undefined;
58434
59176
  client_id?: string | undefined | undefined;
59177
+ provider?: string | undefined | undefined;
58435
59178
  client_secret?: string | undefined | undefined;
58436
59179
  scope?: string | undefined | undefined;
58437
59180
  kid?: string | undefined | undefined;
@@ -58529,6 +59272,8 @@ export declare function init(config: AuthHeroConfig): {
58529
59272
  };
58530
59273
  name: string;
58531
59274
  strategy: string;
59275
+ created_at: string;
59276
+ updated_at: string;
58532
59277
  id?: string | undefined | undefined;
58533
59278
  is_system?: boolean | undefined | undefined;
58534
59279
  response_type?: AuthorizationResponseType | undefined;
@@ -58563,8 +59308,8 @@ export declare function init(config: AuthHeroConfig): {
58563
59308
  max?: number | undefined;
58564
59309
  } | undefined;
58565
59310
  } | undefined;
58566
- provider?: string | undefined;
58567
59311
  client_id?: string | undefined;
59312
+ provider?: string | undefined;
58568
59313
  client_secret?: string | undefined;
58569
59314
  scope?: string | undefined;
58570
59315
  kid?: string | undefined;
@@ -58672,8 +59417,6 @@ export declare function init(config: AuthHeroConfig): {
58672
59417
  };
58673
59418
  };
58674
59419
  output: {
58675
- created_at: string;
58676
- updated_at: string;
58677
59420
  options: {
58678
59421
  validation?: {
58679
59422
  username?: {
@@ -58681,8 +59424,8 @@ export declare function init(config: AuthHeroConfig): {
58681
59424
  max?: number | undefined | undefined;
58682
59425
  } | undefined;
58683
59426
  } | undefined;
58684
- provider?: string | undefined | undefined;
58685
59427
  client_id?: string | undefined | undefined;
59428
+ provider?: string | undefined | undefined;
58686
59429
  client_secret?: string | undefined | undefined;
58687
59430
  scope?: string | undefined | undefined;
58688
59431
  kid?: string | undefined | undefined;
@@ -58780,6 +59523,8 @@ export declare function init(config: AuthHeroConfig): {
58780
59523
  };
58781
59524
  name: string;
58782
59525
  strategy: string;
59526
+ created_at: string;
59527
+ updated_at: string;
58783
59528
  id?: string | undefined | undefined;
58784
59529
  is_system?: boolean | undefined | undefined;
58785
59530
  response_type?: AuthorizationResponseType | undefined;
@@ -59145,20 +59890,12 @@ export declare function init(config: AuthHeroConfig): {
59145
59890
  isMobile: boolean;
59146
59891
  log_id: string;
59147
59892
  description?: string | undefined | undefined;
59148
- connection_id?: string | undefined | undefined;
59149
- user_id?: string | undefined | undefined;
59150
- connection?: string | undefined | undefined;
59151
59893
  client_id?: string | undefined | undefined;
59152
- audience?: string | undefined | undefined;
59153
- scope?: string | undefined | undefined;
59154
- strategy?: string | undefined | undefined;
59155
59894
  ip?: string | undefined | undefined;
59156
59895
  user_agent?: string | undefined | undefined;
59157
- details?: any;
59158
- user_name?: string | undefined | undefined;
59159
- client_name?: string | undefined | undefined;
59896
+ connection?: string | undefined | undefined;
59897
+ strategy?: string | undefined | undefined;
59160
59898
  strategy_type?: string | undefined | undefined;
59161
- hostname?: string | undefined | undefined;
59162
59899
  auth0_client?: {
59163
59900
  name: string;
59164
59901
  version: string;
@@ -59166,6 +59903,14 @@ export declare function init(config: AuthHeroConfig): {
59166
59903
  node?: string | undefined | undefined;
59167
59904
  } | undefined;
59168
59905
  } | undefined;
59906
+ hostname?: string | undefined | undefined;
59907
+ connection_id?: string | undefined | undefined;
59908
+ user_id?: string | undefined | undefined;
59909
+ audience?: string | undefined | undefined;
59910
+ scope?: string | undefined | undefined;
59911
+ details?: any;
59912
+ user_name?: string | undefined | undefined;
59913
+ client_name?: string | undefined | undefined;
59169
59914
  location_info?: {
59170
59915
  country_code: string;
59171
59916
  city_name: string;
@@ -59184,20 +59929,12 @@ export declare function init(config: AuthHeroConfig): {
59184
59929
  isMobile: boolean;
59185
59930
  log_id: string;
59186
59931
  description?: string | undefined | undefined;
59187
- connection_id?: string | undefined | undefined;
59188
- user_id?: string | undefined | undefined;
59189
- connection?: string | undefined | undefined;
59190
59932
  client_id?: string | undefined | undefined;
59191
- audience?: string | undefined | undefined;
59192
- scope?: string | undefined | undefined;
59193
- strategy?: string | undefined | undefined;
59194
59933
  ip?: string | undefined | undefined;
59195
59934
  user_agent?: string | undefined | undefined;
59196
- details?: any;
59197
- user_name?: string | undefined | undefined;
59198
- client_name?: string | undefined | undefined;
59935
+ connection?: string | undefined | undefined;
59936
+ strategy?: string | undefined | undefined;
59199
59937
  strategy_type?: string | undefined | undefined;
59200
- hostname?: string | undefined | undefined;
59201
59938
  auth0_client?: {
59202
59939
  name: string;
59203
59940
  version: string;
@@ -59205,6 +59942,14 @@ export declare function init(config: AuthHeroConfig): {
59205
59942
  node?: string | undefined | undefined;
59206
59943
  } | undefined;
59207
59944
  } | undefined;
59945
+ hostname?: string | undefined | undefined;
59946
+ connection_id?: string | undefined | undefined;
59947
+ user_id?: string | undefined | undefined;
59948
+ audience?: string | undefined | undefined;
59949
+ scope?: string | undefined | undefined;
59950
+ details?: any;
59951
+ user_name?: string | undefined | undefined;
59952
+ client_name?: string | undefined | undefined;
59208
59953
  location_info?: {
59209
59954
  country_code: string;
59210
59955
  city_name: string;
@@ -59238,20 +59983,12 @@ export declare function init(config: AuthHeroConfig): {
59238
59983
  isMobile: boolean;
59239
59984
  log_id: string;
59240
59985
  description?: string | undefined | undefined;
59241
- connection_id?: string | undefined | undefined;
59242
- user_id?: string | undefined | undefined;
59243
- connection?: string | undefined | undefined;
59244
59986
  client_id?: string | undefined | undefined;
59245
- audience?: string | undefined | undefined;
59246
- scope?: string | undefined | undefined;
59247
- strategy?: string | undefined | undefined;
59248
59987
  ip?: string | undefined | undefined;
59249
59988
  user_agent?: string | undefined | undefined;
59250
- details?: any;
59251
- user_name?: string | undefined | undefined;
59252
- client_name?: string | undefined | undefined;
59989
+ connection?: string | undefined | undefined;
59990
+ strategy?: string | undefined | undefined;
59253
59991
  strategy_type?: string | undefined | undefined;
59254
- hostname?: string | undefined | undefined;
59255
59992
  auth0_client?: {
59256
59993
  name: string;
59257
59994
  version: string;
@@ -59259,6 +59996,14 @@ export declare function init(config: AuthHeroConfig): {
59259
59996
  node?: string | undefined | undefined;
59260
59997
  } | undefined;
59261
59998
  } | undefined;
59999
+ hostname?: string | undefined | undefined;
60000
+ connection_id?: string | undefined | undefined;
60001
+ user_id?: string | undefined | undefined;
60002
+ audience?: string | undefined | undefined;
60003
+ scope?: string | undefined | undefined;
60004
+ details?: any;
60005
+ user_name?: string | undefined | undefined;
60006
+ client_name?: string | undefined | undefined;
59262
60007
  location_info?: {
59263
60008
  country_code: string;
59264
60009
  city_name: string;
@@ -59302,7 +60047,7 @@ export declare function init(config: AuthHeroConfig): {
59302
60047
  scope?: string[] | undefined | undefined;
59303
60048
  allow_any_organization?: boolean | undefined | undefined;
59304
60049
  is_system?: boolean | undefined | undefined;
59305
- subject_type?: "client" | "user" | undefined | undefined;
60050
+ subject_type?: "user" | "client" | undefined | undefined;
59306
60051
  authorization_details_types?: string[] | undefined | undefined;
59307
60052
  }[] | {
59308
60053
  length: number;
@@ -59318,7 +60063,7 @@ export declare function init(config: AuthHeroConfig): {
59318
60063
  scope?: string[] | undefined | undefined;
59319
60064
  allow_any_organization?: boolean | undefined | undefined;
59320
60065
  is_system?: boolean | undefined | undefined;
59321
- subject_type?: "client" | "user" | undefined | undefined;
60066
+ subject_type?: "user" | "client" | undefined | undefined;
59322
60067
  authorization_details_types?: string[] | undefined | undefined;
59323
60068
  }[];
59324
60069
  total?: number | undefined;
@@ -59349,7 +60094,7 @@ export declare function init(config: AuthHeroConfig): {
59349
60094
  scope?: string[] | undefined | undefined;
59350
60095
  allow_any_organization?: boolean | undefined | undefined;
59351
60096
  is_system?: boolean | undefined | undefined;
59352
- subject_type?: "client" | "user" | undefined | undefined;
60097
+ subject_type?: "user" | "client" | undefined | undefined;
59353
60098
  authorization_details_types?: string[] | undefined | undefined;
59354
60099
  };
59355
60100
  outputFormat: "json";
@@ -59406,7 +60151,7 @@ export declare function init(config: AuthHeroConfig): {
59406
60151
  scope?: string[] | undefined | undefined;
59407
60152
  allow_any_organization?: boolean | undefined | undefined;
59408
60153
  is_system?: boolean | undefined | undefined;
59409
- subject_type?: "client" | "user" | undefined | undefined;
60154
+ subject_type?: "user" | "client" | undefined | undefined;
59410
60155
  authorization_details_types?: string[] | undefined | undefined;
59411
60156
  };
59412
60157
  outputFormat: "json";
@@ -59442,7 +60187,7 @@ export declare function init(config: AuthHeroConfig): {
59442
60187
  scope?: string[] | undefined | undefined;
59443
60188
  allow_any_organization?: boolean | undefined | undefined;
59444
60189
  is_system?: boolean | undefined | undefined;
59445
- subject_type?: "client" | "user" | undefined | undefined;
60190
+ subject_type?: "user" | "client" | undefined | undefined;
59446
60191
  authorization_details_types?: string[] | undefined | undefined;
59447
60192
  };
59448
60193
  outputFormat: "json";
@@ -59468,10 +60213,10 @@ export declare function init(config: AuthHeroConfig): {
59468
60213
  };
59469
60214
  };
59470
60215
  output: {
59471
- created_at: string;
59472
- updated_at: string;
59473
60216
  name: string;
59474
60217
  client_id: string;
60218
+ created_at: string;
60219
+ updated_at: string;
59475
60220
  global: boolean;
59476
60221
  is_first_party: boolean;
59477
60222
  oidc_conformant: boolean;
@@ -59551,10 +60296,10 @@ export declare function init(config: AuthHeroConfig): {
59551
60296
  start: number;
59552
60297
  limit: number;
59553
60298
  clients: {
59554
- created_at: string;
59555
- updated_at: string;
59556
60299
  name: string;
59557
60300
  client_id: string;
60301
+ created_at: string;
60302
+ updated_at: string;
59558
60303
  global: boolean;
59559
60304
  is_first_party: boolean;
59560
60305
  oidc_conformant: boolean;
@@ -59649,10 +60394,10 @@ export declare function init(config: AuthHeroConfig): {
59649
60394
  };
59650
60395
  };
59651
60396
  output: {
59652
- created_at: string;
59653
- updated_at: string;
59654
60397
  name: string;
59655
60398
  client_id: string;
60399
+ created_at: string;
60400
+ updated_at: string;
59656
60401
  global: boolean;
59657
60402
  is_first_party: boolean;
59658
60403
  oidc_conformant: boolean;
@@ -59813,10 +60558,10 @@ export declare function init(config: AuthHeroConfig): {
59813
60558
  };
59814
60559
  };
59815
60560
  output: {
59816
- created_at: string;
59817
- updated_at: string;
59818
60561
  name: string;
59819
60562
  client_id: string;
60563
+ created_at: string;
60564
+ updated_at: string;
59820
60565
  global: boolean;
59821
60566
  is_first_party: boolean;
59822
60567
  oidc_conformant: boolean;
@@ -60055,8 +60800,6 @@ export declare function init(config: AuthHeroConfig): {
60055
60800
  enabled_connections: {
60056
60801
  connection_id: string;
60057
60802
  connection?: {
60058
- created_at: string;
60059
- updated_at: string;
60060
60803
  options: {
60061
60804
  validation?: {
60062
60805
  username?: {
@@ -60064,8 +60807,8 @@ export declare function init(config: AuthHeroConfig): {
60064
60807
  max?: number | undefined | undefined;
60065
60808
  } | undefined;
60066
60809
  } | undefined;
60067
- provider?: string | undefined | undefined;
60068
60810
  client_id?: string | undefined | undefined;
60811
+ provider?: string | undefined | undefined;
60069
60812
  client_secret?: string | undefined | undefined;
60070
60813
  scope?: string | undefined | undefined;
60071
60814
  kid?: string | undefined | undefined;
@@ -60163,6 +60906,8 @@ export declare function init(config: AuthHeroConfig): {
60163
60906
  };
60164
60907
  name: string;
60165
60908
  strategy: string;
60909
+ created_at: string;
60910
+ updated_at: string;
60166
60911
  id?: string | undefined | undefined;
60167
60912
  is_system?: boolean | undefined | undefined;
60168
60913
  response_type?: AuthorizationResponseType | undefined;
@@ -60199,8 +60944,6 @@ export declare function init(config: AuthHeroConfig): {
60199
60944
  enabled_connections: {
60200
60945
  connection_id: string;
60201
60946
  connection?: {
60202
- created_at: string;
60203
- updated_at: string;
60204
60947
  options: {
60205
60948
  validation?: {
60206
60949
  username?: {
@@ -60208,8 +60951,8 @@ export declare function init(config: AuthHeroConfig): {
60208
60951
  max?: number | undefined | undefined;
60209
60952
  } | undefined;
60210
60953
  } | undefined;
60211
- provider?: string | undefined | undefined;
60212
60954
  client_id?: string | undefined | undefined;
60955
+ provider?: string | undefined | undefined;
60213
60956
  client_secret?: string | undefined | undefined;
60214
60957
  scope?: string | undefined | undefined;
60215
60958
  kid?: string | undefined | undefined;
@@ -60307,6 +61050,8 @@ export declare function init(config: AuthHeroConfig): {
60307
61050
  };
60308
61051
  name: string;
60309
61052
  strategy: string;
61053
+ created_at: string;
61054
+ updated_at: string;
60310
61055
  id?: string | undefined | undefined;
60311
61056
  is_system?: boolean | undefined | undefined;
60312
61057
  response_type?: AuthorizationResponseType | undefined;
@@ -60451,11 +61196,11 @@ export declare function init(config: AuthHeroConfig): {
60451
61196
  };
60452
61197
  };
60453
61198
  output: {
61199
+ connection: string;
60454
61200
  created_at: string;
60455
61201
  updated_at: string;
60456
61202
  user_id: string;
60457
61203
  email_verified: boolean;
60458
- connection: string;
60459
61204
  provider: string;
60460
61205
  is_social: boolean;
60461
61206
  login_count: number;
@@ -60492,8 +61237,8 @@ export declare function init(config: AuthHeroConfig): {
60492
61237
  last_ip?: string | undefined | undefined;
60493
61238
  last_login?: string | undefined | undefined;
60494
61239
  identities?: {
60495
- user_id: string;
60496
61240
  connection: string;
61241
+ user_id: string;
60497
61242
  provider: string;
60498
61243
  isSocial: boolean;
60499
61244
  email?: string | undefined | undefined;
@@ -60521,11 +61266,11 @@ export declare function init(config: AuthHeroConfig): {
60521
61266
  start: number;
60522
61267
  limit: number;
60523
61268
  users: {
61269
+ connection: string;
60524
61270
  created_at: string;
60525
61271
  updated_at: string;
60526
61272
  user_id: string;
60527
61273
  email_verified: boolean;
60528
- connection: string;
60529
61274
  provider: string;
60530
61275
  is_social: boolean;
60531
61276
  login_count: number;
@@ -60562,8 +61307,8 @@ export declare function init(config: AuthHeroConfig): {
60562
61307
  last_ip?: string | undefined | undefined;
60563
61308
  last_login?: string | undefined | undefined;
60564
61309
  identities?: {
60565
- user_id: string;
60566
61310
  connection: string;
61311
+ user_id: string;
60567
61312
  provider: string;
60568
61313
  isSocial: boolean;
60569
61314
  email?: string | undefined | undefined;
@@ -60606,11 +61351,11 @@ export declare function init(config: AuthHeroConfig): {
60606
61351
  };
60607
61352
  };
60608
61353
  output: {
61354
+ connection: string;
60609
61355
  created_at: string;
60610
61356
  updated_at: string;
60611
61357
  user_id: string;
60612
61358
  email_verified: boolean;
60613
- connection: string;
60614
61359
  provider: string;
60615
61360
  is_social: boolean;
60616
61361
  login_count: number;
@@ -60647,8 +61392,8 @@ export declare function init(config: AuthHeroConfig): {
60647
61392
  last_ip?: string | undefined | undefined;
60648
61393
  last_login?: string | undefined | undefined;
60649
61394
  identities?: {
60650
- user_id: string;
60651
61395
  connection: string;
61396
+ user_id: string;
60652
61397
  provider: string;
60653
61398
  isSocial: boolean;
60654
61399
  email?: string | undefined | undefined;
@@ -60690,7 +61435,7 @@ export declare function init(config: AuthHeroConfig): {
60690
61435
  };
60691
61436
  output: {};
60692
61437
  outputFormat: string;
60693
- status: 200;
61438
+ status: 204;
60694
61439
  };
60695
61440
  };
60696
61441
  } & {
@@ -60743,11 +61488,11 @@ export declare function init(config: AuthHeroConfig): {
60743
61488
  };
60744
61489
  };
60745
61490
  output: {
61491
+ connection: string;
60746
61492
  created_at: string;
60747
61493
  updated_at: string;
60748
61494
  user_id: string;
60749
61495
  email_verified: boolean;
60750
- connection: string;
60751
61496
  provider: string;
60752
61497
  is_social: boolean;
60753
61498
  login_count: number;
@@ -60784,8 +61529,8 @@ export declare function init(config: AuthHeroConfig): {
60784
61529
  last_ip?: string | undefined | undefined;
60785
61530
  last_login?: string | undefined | undefined;
60786
61531
  identities?: {
60787
- user_id: string;
60788
61532
  connection: string;
61533
+ user_id: string;
60789
61534
  provider: string;
60790
61535
  isSocial: boolean;
60791
61536
  email?: string | undefined | undefined;
@@ -60892,8 +61637,8 @@ export declare function init(config: AuthHeroConfig): {
60892
61637
  };
60893
61638
  };
60894
61639
  output: {
60895
- user_id: string;
60896
61640
  connection: string;
61641
+ user_id: string;
60897
61642
  provider: string;
60898
61643
  isSocial: boolean;
60899
61644
  email?: string | undefined | undefined;
@@ -60935,11 +61680,11 @@ export declare function init(config: AuthHeroConfig): {
60935
61680
  };
60936
61681
  };
60937
61682
  output: {
61683
+ connection: string;
60938
61684
  created_at: string;
60939
61685
  updated_at: string;
60940
61686
  user_id: string;
60941
61687
  email_verified: boolean;
60942
- connection: string;
60943
61688
  provider: string;
60944
61689
  is_social: boolean;
60945
61690
  login_count: number;
@@ -60976,8 +61721,8 @@ export declare function init(config: AuthHeroConfig): {
60976
61721
  last_ip?: string | undefined | undefined;
60977
61722
  last_login?: string | undefined | undefined;
60978
61723
  identities?: {
60979
- user_id: string;
60980
61724
  connection: string;
61725
+ user_id: string;
60981
61726
  provider: string;
60982
61727
  isSocial: boolean;
60983
61728
  email?: string | undefined | undefined;
@@ -61028,9 +61773,9 @@ export declare function init(config: AuthHeroConfig): {
61028
61773
  };
61029
61774
  };
61030
61775
  output: {
61776
+ id: string;
61031
61777
  created_at: string;
61032
61778
  updated_at: string;
61033
- id: string;
61034
61779
  user_id: string;
61035
61780
  login_session_id: string;
61036
61781
  device: {
@@ -61053,9 +61798,9 @@ export declare function init(config: AuthHeroConfig): {
61053
61798
  start: number;
61054
61799
  limit: number;
61055
61800
  sessions: {
61801
+ id: string;
61056
61802
  created_at: string;
61057
61803
  updated_at: string;
61058
- id: string;
61059
61804
  user_id: string;
61060
61805
  login_session_id: string;
61061
61806
  device: {
@@ -61107,8 +61852,8 @@ export declare function init(config: AuthHeroConfig): {
61107
61852
  resource_server_identifier: string;
61108
61853
  permission_name: string;
61109
61854
  resource_server_name: string;
61110
- created_at?: string | undefined | undefined;
61111
61855
  description?: string | null | undefined | undefined;
61856
+ created_at?: string | undefined | undefined;
61112
61857
  organization_id?: string | undefined | undefined;
61113
61858
  }[];
61114
61859
  outputFormat: "json";
@@ -61176,11 +61921,11 @@ export declare function init(config: AuthHeroConfig): {
61176
61921
  };
61177
61922
  };
61178
61923
  output: {
61179
- id: string;
61180
61924
  name: string;
61925
+ id: string;
61926
+ description?: string | undefined | undefined;
61181
61927
  created_at?: string | undefined | undefined;
61182
61928
  updated_at?: string | undefined | undefined;
61183
- description?: string | undefined | undefined;
61184
61929
  is_system?: boolean | undefined | undefined;
61185
61930
  metadata?: {
61186
61931
  [x: string]: any;
@@ -61255,10 +62000,10 @@ export declare function init(config: AuthHeroConfig): {
61255
62000
  };
61256
62001
  };
61257
62002
  output: {
62003
+ name: string;
62004
+ id: string;
61258
62005
  created_at: string;
61259
62006
  updated_at: string;
61260
- id: string;
61261
- name: string;
61262
62007
  token_quota?: {
61263
62008
  client_credentials?: {
61264
62009
  enforce: boolean;
@@ -61288,10 +62033,10 @@ export declare function init(config: AuthHeroConfig): {
61288
62033
  start: number;
61289
62034
  limit: number;
61290
62035
  organizations: {
62036
+ name: string;
62037
+ id: string;
61291
62038
  created_at: string;
61292
62039
  updated_at: string;
61293
- id: string;
61294
- name: string;
61295
62040
  token_quota?: {
61296
62041
  client_credentials?: {
61297
62042
  enforce: boolean;
@@ -61427,8 +62172,6 @@ export declare function init(config: AuthHeroConfig): {
61427
62172
  } & {
61428
62173
  json: {
61429
62174
  name?: string | undefined;
61430
- settings?: {} | undefined;
61431
- enabled?: boolean | undefined;
61432
62175
  credentials?: {
61433
62176
  region: string;
61434
62177
  accessKeyId: string;
@@ -61448,6 +62191,8 @@ export declare function init(config: AuthHeroConfig): {
61448
62191
  clientId: string;
61449
62192
  clientSecret: string;
61450
62193
  } | undefined;
62194
+ settings?: {} | undefined;
62195
+ enabled?: boolean | undefined;
61451
62196
  default_from_address?: string | undefined;
61452
62197
  };
61453
62198
  };
@@ -62650,6 +63395,7 @@ export declare function init(config: AuthHeroConfig): {
62650
63395
  grant_type: "refresh_token";
62651
63396
  client_id?: string | undefined;
62652
63397
  client_secret?: string | undefined;
63398
+ organization?: string | undefined;
62653
63399
  redirect_uri?: string | undefined;
62654
63400
  } | {
62655
63401
  client_id: string;
@@ -62685,6 +63431,7 @@ export declare function init(config: AuthHeroConfig): {
62685
63431
  grant_type: "refresh_token";
62686
63432
  client_id?: string | undefined;
62687
63433
  client_secret?: string | undefined;
63434
+ organization?: string | undefined;
62688
63435
  redirect_uri?: string | undefined;
62689
63436
  } | {
62690
63437
  client_id: string;
@@ -62725,6 +63472,7 @@ export declare function init(config: AuthHeroConfig): {
62725
63472
  grant_type: "refresh_token";
62726
63473
  client_id?: string | undefined;
62727
63474
  client_secret?: string | undefined;
63475
+ organization?: string | undefined;
62728
63476
  redirect_uri?: string | undefined;
62729
63477
  } | {
62730
63478
  client_id: string;
@@ -62760,6 +63508,7 @@ export declare function init(config: AuthHeroConfig): {
62760
63508
  grant_type: "refresh_token";
62761
63509
  client_id?: string | undefined;
62762
63510
  client_secret?: string | undefined;
63511
+ organization?: string | undefined;
62763
63512
  redirect_uri?: string | undefined;
62764
63513
  } | {
62765
63514
  client_id: string;
@@ -62808,6 +63557,7 @@ export declare function init(config: AuthHeroConfig): {
62808
63557
  grant_type: "refresh_token";
62809
63558
  client_id?: string | undefined;
62810
63559
  client_secret?: string | undefined;
63560
+ organization?: string | undefined;
62811
63561
  redirect_uri?: string | undefined;
62812
63562
  } | {
62813
63563
  client_id: string;
@@ -62843,6 +63593,7 @@ export declare function init(config: AuthHeroConfig): {
62843
63593
  grant_type: "refresh_token";
62844
63594
  client_id?: string | undefined;
62845
63595
  client_secret?: string | undefined;
63596
+ organization?: string | undefined;
62846
63597
  redirect_uri?: string | undefined;
62847
63598
  } | {
62848
63599
  client_id: string;
@@ -62886,6 +63637,7 @@ export declare function init(config: AuthHeroConfig): {
62886
63637
  grant_type: "refresh_token";
62887
63638
  client_id?: string | undefined;
62888
63639
  client_secret?: string | undefined;
63640
+ organization?: string | undefined;
62889
63641
  redirect_uri?: string | undefined;
62890
63642
  } | {
62891
63643
  client_id: string;
@@ -62921,6 +63673,7 @@ export declare function init(config: AuthHeroConfig): {
62921
63673
  grant_type: "refresh_token";
62922
63674
  client_id?: string | undefined;
62923
63675
  client_secret?: string | undefined;
63676
+ organization?: string | undefined;
62924
63677
  redirect_uri?: string | undefined;
62925
63678
  } | {
62926
63679
  client_id: string;
@@ -62964,6 +63717,7 @@ export declare function init(config: AuthHeroConfig): {
62964
63717
  grant_type: "refresh_token";
62965
63718
  client_id?: string | undefined;
62966
63719
  client_secret?: string | undefined;
63720
+ organization?: string | undefined;
62967
63721
  redirect_uri?: string | undefined;
62968
63722
  } | {
62969
63723
  client_id: string;
@@ -62999,6 +63753,7 @@ export declare function init(config: AuthHeroConfig): {
62999
63753
  grant_type: "refresh_token";
63000
63754
  client_id?: string | undefined;
63001
63755
  client_secret?: string | undefined;
63756
+ organization?: string | undefined;
63002
63757
  redirect_uri?: string | undefined;
63003
63758
  } | {
63004
63759
  client_id: string;