@authhero/adapter-interfaces 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +347 -102
- package/dist/adapter-interfaces.mjs +512 -469
- package/package.json +1 -1
|
@@ -2,6 +2,194 @@
|
|
|
2
2
|
|
|
3
3
|
import { z } from '@hono/zod-openapi';
|
|
4
4
|
|
|
5
|
+
export declare const actionTriggerSchema: z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
version: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
id: string;
|
|
10
|
+
version?: string | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
id: string;
|
|
13
|
+
version?: string | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const actionDependencySchema: z.ZodObject<{
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
version: z.ZodString;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
version: string;
|
|
20
|
+
name: string;
|
|
21
|
+
}, {
|
|
22
|
+
version: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const actionSecretSchema: z.ZodObject<{
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
value: z.ZodString;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
value: string;
|
|
30
|
+
name: string;
|
|
31
|
+
}, {
|
|
32
|
+
value: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}>;
|
|
35
|
+
export declare const actionInsertSchema: z.ZodObject<{
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
code: z.ZodString;
|
|
38
|
+
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
|
+
id: z.ZodString;
|
|
40
|
+
version: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
id: string;
|
|
43
|
+
version?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
id: string;
|
|
46
|
+
version?: string | undefined;
|
|
47
|
+
}>, "many">>;
|
|
48
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
49
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
50
|
+
name: z.ZodString;
|
|
51
|
+
version: z.ZodString;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
version: string;
|
|
54
|
+
name: string;
|
|
55
|
+
}, {
|
|
56
|
+
version: string;
|
|
57
|
+
name: string;
|
|
58
|
+
}>, "many">>;
|
|
59
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
60
|
+
name: z.ZodString;
|
|
61
|
+
value: z.ZodString;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
value: string;
|
|
64
|
+
name: string;
|
|
65
|
+
}, {
|
|
66
|
+
value: string;
|
|
67
|
+
name: string;
|
|
68
|
+
}>, "many">>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
code: string;
|
|
71
|
+
name: string;
|
|
72
|
+
supported_triggers?: {
|
|
73
|
+
id: string;
|
|
74
|
+
version?: string | undefined;
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
runtime?: string | undefined;
|
|
77
|
+
dependencies?: {
|
|
78
|
+
version: string;
|
|
79
|
+
name: string;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
secrets?: {
|
|
82
|
+
value: string;
|
|
83
|
+
name: string;
|
|
84
|
+
}[] | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
code: string;
|
|
87
|
+
name: string;
|
|
88
|
+
supported_triggers?: {
|
|
89
|
+
id: string;
|
|
90
|
+
version?: string | undefined;
|
|
91
|
+
}[] | undefined;
|
|
92
|
+
runtime?: string | undefined;
|
|
93
|
+
dependencies?: {
|
|
94
|
+
version: string;
|
|
95
|
+
name: string;
|
|
96
|
+
}[] | undefined;
|
|
97
|
+
secrets?: {
|
|
98
|
+
value: string;
|
|
99
|
+
name: string;
|
|
100
|
+
}[] | undefined;
|
|
101
|
+
}>;
|
|
102
|
+
export type ActionInsert = z.infer<typeof actionInsertSchema>;
|
|
103
|
+
export declare const actionSchema: z.ZodObject<{
|
|
104
|
+
name: z.ZodString;
|
|
105
|
+
code: z.ZodString;
|
|
106
|
+
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
107
|
+
id: z.ZodString;
|
|
108
|
+
version: z.ZodOptional<z.ZodString>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
id: string;
|
|
111
|
+
version?: string | undefined;
|
|
112
|
+
}, {
|
|
113
|
+
id: string;
|
|
114
|
+
version?: string | undefined;
|
|
115
|
+
}>, "many">>;
|
|
116
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
117
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
118
|
+
name: z.ZodString;
|
|
119
|
+
version: z.ZodString;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
version: string;
|
|
122
|
+
name: string;
|
|
123
|
+
}, {
|
|
124
|
+
version: string;
|
|
125
|
+
name: string;
|
|
126
|
+
}>, "many">>;
|
|
127
|
+
} & {
|
|
128
|
+
created_at: z.ZodString;
|
|
129
|
+
updated_at: z.ZodString;
|
|
130
|
+
id: z.ZodString;
|
|
131
|
+
tenant_id: z.ZodString;
|
|
132
|
+
status: z.ZodDefault<z.ZodEnum<[
|
|
133
|
+
"draft",
|
|
134
|
+
"built"
|
|
135
|
+
]>>;
|
|
136
|
+
deployed_at: z.ZodOptional<z.ZodString>;
|
|
137
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
138
|
+
name: z.ZodString;
|
|
139
|
+
value: z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
name: string;
|
|
142
|
+
value?: string | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
name: string;
|
|
145
|
+
value?: string | undefined;
|
|
146
|
+
}>, "many">>;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
created_at: string;
|
|
149
|
+
updated_at: string;
|
|
150
|
+
code: string;
|
|
151
|
+
status: "draft" | "built";
|
|
152
|
+
id: string;
|
|
153
|
+
name: string;
|
|
154
|
+
tenant_id: string;
|
|
155
|
+
supported_triggers?: {
|
|
156
|
+
id: string;
|
|
157
|
+
version?: string | undefined;
|
|
158
|
+
}[] | undefined;
|
|
159
|
+
runtime?: string | undefined;
|
|
160
|
+
dependencies?: {
|
|
161
|
+
version: string;
|
|
162
|
+
name: string;
|
|
163
|
+
}[] | undefined;
|
|
164
|
+
secrets?: {
|
|
165
|
+
name: string;
|
|
166
|
+
value?: string | undefined;
|
|
167
|
+
}[] | undefined;
|
|
168
|
+
deployed_at?: string | undefined;
|
|
169
|
+
}, {
|
|
170
|
+
created_at: string;
|
|
171
|
+
updated_at: string;
|
|
172
|
+
code: string;
|
|
173
|
+
id: string;
|
|
174
|
+
name: string;
|
|
175
|
+
tenant_id: string;
|
|
176
|
+
status?: "draft" | "built" | undefined;
|
|
177
|
+
supported_triggers?: {
|
|
178
|
+
id: string;
|
|
179
|
+
version?: string | undefined;
|
|
180
|
+
}[] | undefined;
|
|
181
|
+
runtime?: string | undefined;
|
|
182
|
+
dependencies?: {
|
|
183
|
+
version: string;
|
|
184
|
+
name: string;
|
|
185
|
+
}[] | undefined;
|
|
186
|
+
secrets?: {
|
|
187
|
+
name: string;
|
|
188
|
+
value?: string | undefined;
|
|
189
|
+
}[] | undefined;
|
|
190
|
+
deployed_at?: string | undefined;
|
|
191
|
+
}>;
|
|
192
|
+
export type Action = z.infer<typeof actionSchema>;
|
|
5
193
|
export declare const auditCategorySchema: z.ZodEnum<[
|
|
6
194
|
"user_action",
|
|
7
195
|
"admin_action",
|
|
@@ -140,12 +328,12 @@ export declare const auth0ClientSchema: z.ZodObject<{
|
|
|
140
328
|
version: z.ZodString;
|
|
141
329
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
142
330
|
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
name: string;
|
|
144
331
|
version: string;
|
|
332
|
+
name: string;
|
|
145
333
|
env?: Record<string, string> | undefined;
|
|
146
334
|
}, {
|
|
147
|
-
name: string;
|
|
148
335
|
version: string;
|
|
336
|
+
name: string;
|
|
149
337
|
env?: Record<string, string> | undefined;
|
|
150
338
|
}>;
|
|
151
339
|
export declare const auditEventInsertSchema: z.ZodObject<{
|
|
@@ -289,12 +477,12 @@ export declare const auditEventInsertSchema: z.ZodObject<{
|
|
|
289
477
|
version: z.ZodString;
|
|
290
478
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
291
479
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
name: string;
|
|
293
480
|
version: string;
|
|
481
|
+
name: string;
|
|
294
482
|
env?: Record<string, string> | undefined;
|
|
295
483
|
}, {
|
|
296
|
-
name: string;
|
|
297
484
|
version: string;
|
|
485
|
+
name: string;
|
|
298
486
|
env?: Record<string, string> | undefined;
|
|
299
487
|
}>>;
|
|
300
488
|
hostname: z.ZodString;
|
|
@@ -352,8 +540,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
|
|
|
352
540
|
continent_code: string;
|
|
353
541
|
} | undefined;
|
|
354
542
|
auth0_client?: {
|
|
355
|
-
name: string;
|
|
356
543
|
version: string;
|
|
544
|
+
name: string;
|
|
357
545
|
env?: Record<string, string> | undefined;
|
|
358
546
|
} | undefined;
|
|
359
547
|
is_mobile?: boolean | undefined;
|
|
@@ -409,8 +597,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
|
|
|
409
597
|
continent_code: string;
|
|
410
598
|
} | undefined;
|
|
411
599
|
auth0_client?: {
|
|
412
|
-
name: string;
|
|
413
600
|
version: string;
|
|
601
|
+
name: string;
|
|
414
602
|
env?: Record<string, string> | undefined;
|
|
415
603
|
} | undefined;
|
|
416
604
|
is_mobile?: boolean | undefined;
|
|
@@ -557,12 +745,12 @@ export declare const auditEventSchema: z.ZodObject<{
|
|
|
557
745
|
version: z.ZodString;
|
|
558
746
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
559
747
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
name: string;
|
|
561
748
|
version: string;
|
|
749
|
+
name: string;
|
|
562
750
|
env?: Record<string, string> | undefined;
|
|
563
751
|
}, {
|
|
564
|
-
name: string;
|
|
565
752
|
version: string;
|
|
753
|
+
name: string;
|
|
566
754
|
env?: Record<string, string> | undefined;
|
|
567
755
|
}>>;
|
|
568
756
|
hostname: z.ZodString;
|
|
@@ -623,8 +811,8 @@ export declare const auditEventSchema: z.ZodObject<{
|
|
|
623
811
|
continent_code: string;
|
|
624
812
|
} | undefined;
|
|
625
813
|
auth0_client?: {
|
|
626
|
-
name: string;
|
|
627
814
|
version: string;
|
|
815
|
+
name: string;
|
|
628
816
|
env?: Record<string, string> | undefined;
|
|
629
817
|
} | undefined;
|
|
630
818
|
is_mobile?: boolean | undefined;
|
|
@@ -681,8 +869,8 @@ export declare const auditEventSchema: z.ZodObject<{
|
|
|
681
869
|
continent_code: string;
|
|
682
870
|
} | undefined;
|
|
683
871
|
auth0_client?: {
|
|
684
|
-
name: string;
|
|
685
872
|
version: string;
|
|
873
|
+
name: string;
|
|
686
874
|
env?: Record<string, string> | undefined;
|
|
687
875
|
} | undefined;
|
|
688
876
|
is_mobile?: boolean | undefined;
|
|
@@ -1588,10 +1776,10 @@ export declare const flowSchema: z.ZodObject<{
|
|
|
1588
1776
|
created_at: z.ZodString;
|
|
1589
1777
|
updated_at: z.ZodString;
|
|
1590
1778
|
}, "strip", z.ZodTypeAny, {
|
|
1591
|
-
name: string;
|
|
1592
|
-
id: string;
|
|
1593
1779
|
created_at: string;
|
|
1594
1780
|
updated_at: string;
|
|
1781
|
+
id: string;
|
|
1782
|
+
name: string;
|
|
1595
1783
|
actions: ({
|
|
1596
1784
|
params: {
|
|
1597
1785
|
user_id: string;
|
|
@@ -1635,10 +1823,10 @@ export declare const flowSchema: z.ZodObject<{
|
|
|
1635
1823
|
mask_output?: boolean | undefined;
|
|
1636
1824
|
})[];
|
|
1637
1825
|
}, {
|
|
1638
|
-
name: string;
|
|
1639
|
-
id: string;
|
|
1640
1826
|
created_at: string;
|
|
1641
1827
|
updated_at: string;
|
|
1828
|
+
id: string;
|
|
1829
|
+
name: string;
|
|
1642
1830
|
actions?: ({
|
|
1643
1831
|
params: {
|
|
1644
1832
|
user_id: string;
|
|
@@ -1909,6 +2097,7 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
1909
2097
|
provider: z.ZodOptional<z.ZodString>;
|
|
1910
2098
|
connection: z.ZodString;
|
|
1911
2099
|
is_social: z.ZodOptional<z.ZodBoolean>;
|
|
2100
|
+
registration_completed_at: z.ZodOptional<z.ZodString>;
|
|
1912
2101
|
password: z.ZodOptional<z.ZodObject<{
|
|
1913
2102
|
hash: z.ZodString;
|
|
1914
2103
|
algorithm: z.ZodString;
|
|
@@ -1961,6 +2150,7 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
1961
2150
|
last_ip?: string | undefined;
|
|
1962
2151
|
last_login?: string | undefined;
|
|
1963
2152
|
is_social?: boolean | undefined;
|
|
2153
|
+
registration_completed_at?: string | undefined;
|
|
1964
2154
|
}, {
|
|
1965
2155
|
connection: string;
|
|
1966
2156
|
password?: {
|
|
@@ -2003,6 +2193,7 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
2003
2193
|
last_ip?: string | undefined;
|
|
2004
2194
|
last_login?: string | undefined;
|
|
2005
2195
|
is_social?: boolean | undefined;
|
|
2196
|
+
registration_completed_at?: string | undefined;
|
|
2006
2197
|
}>;
|
|
2007
2198
|
export type UserInsert = z.infer<typeof userInsertSchema>;
|
|
2008
2199
|
export declare const userSchema: z.ZodObject<{
|
|
@@ -2148,10 +2339,11 @@ export declare const userSchema: z.ZodObject<{
|
|
|
2148
2339
|
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
2149
2340
|
last_ip: z.ZodOptional<z.ZodString>;
|
|
2150
2341
|
last_login: z.ZodOptional<z.ZodString>;
|
|
2342
|
+
registration_completed_at: z.ZodOptional<z.ZodString>;
|
|
2151
2343
|
}, "strip", z.ZodTypeAny, {
|
|
2152
|
-
connection: string;
|
|
2153
2344
|
created_at: string;
|
|
2154
2345
|
updated_at: string;
|
|
2346
|
+
connection: string;
|
|
2155
2347
|
user_id: string;
|
|
2156
2348
|
email_verified: boolean;
|
|
2157
2349
|
provider: string;
|
|
@@ -2189,6 +2381,7 @@ export declare const userSchema: z.ZodObject<{
|
|
|
2189
2381
|
verify_email?: boolean | undefined;
|
|
2190
2382
|
last_ip?: string | undefined;
|
|
2191
2383
|
last_login?: string | undefined;
|
|
2384
|
+
registration_completed_at?: string | undefined;
|
|
2192
2385
|
identities?: {
|
|
2193
2386
|
connection: string;
|
|
2194
2387
|
user_id: string;
|
|
@@ -2214,9 +2407,9 @@ export declare const userSchema: z.ZodObject<{
|
|
|
2214
2407
|
}, z.ZodAny, "strip"> | undefined;
|
|
2215
2408
|
}[] | undefined;
|
|
2216
2409
|
}, {
|
|
2217
|
-
connection: string;
|
|
2218
2410
|
created_at: string;
|
|
2219
2411
|
updated_at: string;
|
|
2412
|
+
connection: string;
|
|
2220
2413
|
user_id: string;
|
|
2221
2414
|
provider: string;
|
|
2222
2415
|
is_social: boolean;
|
|
@@ -2253,6 +2446,7 @@ export declare const userSchema: z.ZodObject<{
|
|
|
2253
2446
|
verify_email?: boolean | undefined;
|
|
2254
2447
|
last_ip?: string | undefined;
|
|
2255
2448
|
last_login?: string | undefined;
|
|
2449
|
+
registration_completed_at?: string | undefined;
|
|
2256
2450
|
login_count?: number | undefined;
|
|
2257
2451
|
identities?: {
|
|
2258
2452
|
connection: string;
|
|
@@ -2423,10 +2617,11 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
2423
2617
|
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
2424
2618
|
last_ip: z.ZodOptional<z.ZodString>;
|
|
2425
2619
|
last_login: z.ZodOptional<z.ZodString>;
|
|
2620
|
+
registration_completed_at: z.ZodOptional<z.ZodString>;
|
|
2426
2621
|
}, "strip", z.ZodTypeAny, {
|
|
2427
|
-
connection: string;
|
|
2428
2622
|
created_at: string;
|
|
2429
2623
|
updated_at: string;
|
|
2624
|
+
connection: string;
|
|
2430
2625
|
user_id: string;
|
|
2431
2626
|
email_verified: boolean;
|
|
2432
2627
|
provider: string;
|
|
@@ -2464,6 +2659,7 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
2464
2659
|
verify_email?: boolean | undefined;
|
|
2465
2660
|
last_ip?: string | undefined;
|
|
2466
2661
|
last_login?: string | undefined;
|
|
2662
|
+
registration_completed_at?: string | undefined;
|
|
2467
2663
|
identities?: {
|
|
2468
2664
|
connection: string;
|
|
2469
2665
|
user_id: string;
|
|
@@ -2489,9 +2685,9 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
2489
2685
|
}, z.ZodAny, "strip"> | undefined;
|
|
2490
2686
|
}[] | undefined;
|
|
2491
2687
|
}, {
|
|
2492
|
-
connection: string;
|
|
2493
2688
|
created_at: string;
|
|
2494
2689
|
updated_at: string;
|
|
2690
|
+
connection: string;
|
|
2495
2691
|
user_id: string;
|
|
2496
2692
|
provider: string;
|
|
2497
2693
|
is_social: boolean;
|
|
@@ -2528,6 +2724,7 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
2528
2724
|
verify_email?: boolean | undefined;
|
|
2529
2725
|
last_ip?: string | undefined;
|
|
2530
2726
|
last_login?: string | undefined;
|
|
2727
|
+
registration_completed_at?: string | undefined;
|
|
2531
2728
|
login_count?: number | undefined;
|
|
2532
2729
|
identities?: {
|
|
2533
2730
|
connection: string;
|
|
@@ -3002,10 +3199,10 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3002
3199
|
created_at: z.ZodString;
|
|
3003
3200
|
updated_at: z.ZodString;
|
|
3004
3201
|
}, "strip", z.ZodTypeAny, {
|
|
3005
|
-
name: string;
|
|
3006
|
-
client_id: string;
|
|
3007
3202
|
created_at: string;
|
|
3008
3203
|
updated_at: string;
|
|
3204
|
+
name: string;
|
|
3205
|
+
client_id: string;
|
|
3009
3206
|
global: boolean;
|
|
3010
3207
|
is_first_party: boolean;
|
|
3011
3208
|
oidc_conformant: boolean;
|
|
@@ -3053,10 +3250,10 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3053
3250
|
par_request_expiry?: number | undefined;
|
|
3054
3251
|
token_quota?: Record<string, any> | undefined;
|
|
3055
3252
|
}, {
|
|
3056
|
-
name: string;
|
|
3057
|
-
client_id: string;
|
|
3058
3253
|
created_at: string;
|
|
3059
3254
|
updated_at: string;
|
|
3255
|
+
name: string;
|
|
3256
|
+
client_id: string;
|
|
3060
3257
|
description?: string | undefined;
|
|
3061
3258
|
refresh_token?: Record<string, any> | undefined;
|
|
3062
3259
|
global?: boolean | undefined;
|
|
@@ -9035,7 +9232,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
9035
9232
|
sdkSrc: z.ZodOptional<z.ZodString>;
|
|
9036
9233
|
sdk_src: z.ZodOptional<z.ZodString>;
|
|
9037
9234
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9038
|
-
}, "
|
|
9235
|
+
}, "created_at" | "updated_at" | "id">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
9039
9236
|
id: z.ZodString;
|
|
9040
9237
|
name: z.ZodString;
|
|
9041
9238
|
languages: z.ZodObject<{
|
|
@@ -9956,7 +10153,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
9956
10153
|
sdkSrc: z.ZodOptional<z.ZodString>;
|
|
9957
10154
|
sdk_src: z.ZodOptional<z.ZodString>;
|
|
9958
10155
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9959
|
-
}, "
|
|
10156
|
+
}, "created_at" | "updated_at" | "id">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
9960
10157
|
id: z.ZodString;
|
|
9961
10158
|
name: z.ZodString;
|
|
9962
10159
|
languages: z.ZodObject<{
|
|
@@ -10877,7 +11074,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
10877
11074
|
sdkSrc: z.ZodOptional<z.ZodString>;
|
|
10878
11075
|
sdk_src: z.ZodOptional<z.ZodString>;
|
|
10879
11076
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10880
|
-
}, "
|
|
11077
|
+
}, "created_at" | "updated_at" | "id">, z.ZodTypeAny, "passthrough">>;
|
|
10881
11078
|
export interface Auth0FlowInsert {
|
|
10882
11079
|
name: string;
|
|
10883
11080
|
languages: {
|
|
@@ -13322,6 +13519,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13322
13519
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13323
13520
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
13324
13521
|
}, "strip", z.ZodTypeAny, {
|
|
13522
|
+
created_at: string;
|
|
13523
|
+
updated_at: string;
|
|
13325
13524
|
options: {
|
|
13326
13525
|
validation?: {
|
|
13327
13526
|
username?: {
|
|
@@ -13428,8 +13627,6 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13428
13627
|
};
|
|
13429
13628
|
name: string;
|
|
13430
13629
|
strategy: string;
|
|
13431
|
-
created_at: string;
|
|
13432
|
-
updated_at: string;
|
|
13433
13630
|
id?: string | undefined;
|
|
13434
13631
|
is_system?: boolean | undefined;
|
|
13435
13632
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -13440,10 +13637,10 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13440
13637
|
show_as_button?: boolean | undefined;
|
|
13441
13638
|
metadata?: Record<string, any> | undefined;
|
|
13442
13639
|
}, {
|
|
13443
|
-
name: string;
|
|
13444
|
-
strategy: string;
|
|
13445
13640
|
created_at: string;
|
|
13446
13641
|
updated_at: string;
|
|
13642
|
+
name: string;
|
|
13643
|
+
strategy: string;
|
|
13447
13644
|
options?: {
|
|
13448
13645
|
validation?: {
|
|
13449
13646
|
username?: {
|
|
@@ -37722,10 +37919,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
37722
37919
|
created_at: z.ZodString;
|
|
37723
37920
|
updated_at: z.ZodString;
|
|
37724
37921
|
}, "strip", z.ZodTypeAny, {
|
|
37725
|
-
name: string;
|
|
37726
|
-
id: string;
|
|
37727
37922
|
created_at: string;
|
|
37728
37923
|
updated_at: string;
|
|
37924
|
+
id: string;
|
|
37925
|
+
name: string;
|
|
37729
37926
|
style?: {
|
|
37730
37927
|
css?: string | undefined;
|
|
37731
37928
|
} | undefined;
|
|
@@ -38285,10 +38482,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
38285
38482
|
} | undefined;
|
|
38286
38483
|
translations?: Record<string, any> | undefined;
|
|
38287
38484
|
}, {
|
|
38288
|
-
name: string;
|
|
38289
|
-
id: string;
|
|
38290
38485
|
created_at: string;
|
|
38291
38486
|
updated_at: string;
|
|
38487
|
+
id: string;
|
|
38488
|
+
name: string;
|
|
38292
38489
|
style?: {
|
|
38293
38490
|
css?: string | undefined;
|
|
38294
38491
|
} | undefined;
|
|
@@ -42240,18 +42437,18 @@ export declare const hookCodeSchema: z.ZodObject<{
|
|
|
42240
42437
|
id: z.ZodString;
|
|
42241
42438
|
tenant_id: z.ZodString;
|
|
42242
42439
|
}, "strip", z.ZodTypeAny, {
|
|
42440
|
+
created_at: string;
|
|
42441
|
+
updated_at: string;
|
|
42243
42442
|
code: string;
|
|
42244
42443
|
id: string;
|
|
42245
42444
|
tenant_id: string;
|
|
42246
|
-
created_at: string;
|
|
42247
|
-
updated_at: string;
|
|
42248
42445
|
secrets?: Record<string, string> | undefined;
|
|
42249
42446
|
}, {
|
|
42447
|
+
created_at: string;
|
|
42448
|
+
updated_at: string;
|
|
42250
42449
|
code: string;
|
|
42251
42450
|
id: string;
|
|
42252
42451
|
tenant_id: string;
|
|
42253
|
-
created_at: string;
|
|
42254
|
-
updated_at: string;
|
|
42255
42452
|
secrets?: Record<string, string> | undefined;
|
|
42256
42453
|
}>;
|
|
42257
42454
|
export type HookCode = z.infer<typeof hookCodeSchema>;
|
|
@@ -42476,9 +42673,9 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
42476
42673
|
roles: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
42477
42674
|
send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
42478
42675
|
}, "strip", z.ZodTypeAny, {
|
|
42676
|
+
created_at: string;
|
|
42479
42677
|
id: string;
|
|
42480
42678
|
client_id: string;
|
|
42481
|
-
created_at: string;
|
|
42482
42679
|
expires_at: string;
|
|
42483
42680
|
organization_id: string;
|
|
42484
42681
|
inviter: {
|
|
@@ -42496,9 +42693,9 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
42496
42693
|
send_invitation_email?: boolean | undefined;
|
|
42497
42694
|
ticket_id?: string | undefined;
|
|
42498
42695
|
}, {
|
|
42696
|
+
created_at: string;
|
|
42499
42697
|
id: string;
|
|
42500
42698
|
client_id: string;
|
|
42501
|
-
created_at: string;
|
|
42502
42699
|
expires_at: string;
|
|
42503
42700
|
organization_id: string;
|
|
42504
42701
|
inviter: {
|
|
@@ -42948,9 +43145,9 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
42948
43145
|
user_id: z.ZodOptional<z.ZodString>;
|
|
42949
43146
|
auth_connection: z.ZodOptional<z.ZodString>;
|
|
42950
43147
|
}, "strip", z.ZodTypeAny, {
|
|
42951
|
-
id: string;
|
|
42952
43148
|
created_at: string;
|
|
42953
43149
|
updated_at: string;
|
|
43150
|
+
id: string;
|
|
42954
43151
|
state: LoginSessionState;
|
|
42955
43152
|
expires_at: string;
|
|
42956
43153
|
csrf_token: string;
|
|
@@ -42985,9 +43182,9 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
42985
43182
|
failure_reason?: string | undefined;
|
|
42986
43183
|
auth_connection?: string | undefined;
|
|
42987
43184
|
}, {
|
|
42988
|
-
id: string;
|
|
42989
43185
|
created_at: string;
|
|
42990
43186
|
updated_at: string;
|
|
43187
|
+
id: string;
|
|
42991
43188
|
expires_at: string;
|
|
42992
43189
|
csrf_token: string;
|
|
42993
43190
|
authParams: {
|
|
@@ -43133,6 +43330,7 @@ export declare const LogTypes: {
|
|
|
43133
43330
|
readonly RICH_CONSENTS_ACCESS_ERROR: "rich_consents_access_error";
|
|
43134
43331
|
readonly SUCCESS_LOGIN: "s";
|
|
43135
43332
|
readonly SUCCESS_API_OPERATION: "sapi";
|
|
43333
|
+
readonly FAILED_API_OPERATION: "fapi";
|
|
43136
43334
|
readonly SUCCESS_CHANGE_EMAIL: "sce";
|
|
43137
43335
|
readonly SUCCESS_CROSS_ORIGIN_AUTHENTICATION: "scoa";
|
|
43138
43336
|
readonly SUCCESS_CHANGE_PASSWORD: "scp";
|
|
@@ -43189,14 +43387,14 @@ export declare const Auth0Client: z.ZodObject<{
|
|
|
43189
43387
|
node?: string | undefined;
|
|
43190
43388
|
}>>;
|
|
43191
43389
|
}, "strip", z.ZodTypeAny, {
|
|
43192
|
-
name: string;
|
|
43193
43390
|
version: string;
|
|
43391
|
+
name: string;
|
|
43194
43392
|
env?: {
|
|
43195
43393
|
node?: string | undefined;
|
|
43196
43394
|
} | undefined;
|
|
43197
43395
|
}, {
|
|
43198
|
-
name: string;
|
|
43199
43396
|
version: string;
|
|
43397
|
+
name: string;
|
|
43200
43398
|
env?: {
|
|
43201
43399
|
node?: string | undefined;
|
|
43202
43400
|
} | undefined;
|
|
@@ -43224,7 +43422,7 @@ export declare const LocationInfo: z.ZodObject<{
|
|
|
43224
43422
|
continent_code: string;
|
|
43225
43423
|
}>;
|
|
43226
43424
|
export declare const logInsertSchema: z.ZodObject<{
|
|
43227
|
-
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
43425
|
+
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
43228
43426
|
date: z.ZodString;
|
|
43229
43427
|
description: z.ZodOptional<z.ZodString>;
|
|
43230
43428
|
ip: z.ZodOptional<z.ZodString>;
|
|
@@ -43253,14 +43451,14 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43253
43451
|
node?: string | undefined;
|
|
43254
43452
|
}>>;
|
|
43255
43453
|
}, "strip", z.ZodTypeAny, {
|
|
43256
|
-
name: string;
|
|
43257
43454
|
version: string;
|
|
43455
|
+
name: string;
|
|
43258
43456
|
env?: {
|
|
43259
43457
|
node?: string | undefined;
|
|
43260
43458
|
} | undefined;
|
|
43261
43459
|
}, {
|
|
43262
|
-
name: string;
|
|
43263
43460
|
version: string;
|
|
43461
|
+
name: string;
|
|
43264
43462
|
env?: {
|
|
43265
43463
|
node?: string | undefined;
|
|
43266
43464
|
} | undefined;
|
|
@@ -43289,7 +43487,7 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43289
43487
|
continent_code: string;
|
|
43290
43488
|
}>>;
|
|
43291
43489
|
}, "strip", z.ZodTypeAny, {
|
|
43292
|
-
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
43490
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
43293
43491
|
date: string;
|
|
43294
43492
|
isMobile: boolean;
|
|
43295
43493
|
description?: string | undefined;
|
|
@@ -43300,8 +43498,8 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43300
43498
|
strategy?: string | undefined;
|
|
43301
43499
|
strategy_type?: string | undefined;
|
|
43302
43500
|
auth0_client?: {
|
|
43303
|
-
name: string;
|
|
43304
43501
|
version: string;
|
|
43502
|
+
name: string;
|
|
43305
43503
|
env?: {
|
|
43306
43504
|
node?: string | undefined;
|
|
43307
43505
|
} | undefined;
|
|
@@ -43335,8 +43533,8 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43335
43533
|
strategy?: string | undefined;
|
|
43336
43534
|
strategy_type?: string | undefined;
|
|
43337
43535
|
auth0_client?: {
|
|
43338
|
-
name: string;
|
|
43339
43536
|
version: string;
|
|
43537
|
+
name: string;
|
|
43340
43538
|
env?: {
|
|
43341
43539
|
node?: string | undefined;
|
|
43342
43540
|
} | undefined;
|
|
@@ -43362,7 +43560,7 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43362
43560
|
export type LogInsert = z.infer<typeof logInsertSchema>;
|
|
43363
43561
|
export declare const logSchema: z.ZodObject<{
|
|
43364
43562
|
log_id: z.ZodString;
|
|
43365
|
-
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
43563
|
+
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
43366
43564
|
date: z.ZodString;
|
|
43367
43565
|
description: z.ZodOptional<z.ZodString>;
|
|
43368
43566
|
ip: z.ZodOptional<z.ZodString>;
|
|
@@ -43391,14 +43589,14 @@ export declare const logSchema: z.ZodObject<{
|
|
|
43391
43589
|
node?: string | undefined;
|
|
43392
43590
|
}>>;
|
|
43393
43591
|
}, "strip", z.ZodTypeAny, {
|
|
43394
|
-
name: string;
|
|
43395
43592
|
version: string;
|
|
43593
|
+
name: string;
|
|
43396
43594
|
env?: {
|
|
43397
43595
|
node?: string | undefined;
|
|
43398
43596
|
} | undefined;
|
|
43399
43597
|
}, {
|
|
43400
|
-
name: string;
|
|
43401
43598
|
version: string;
|
|
43599
|
+
name: string;
|
|
43402
43600
|
env?: {
|
|
43403
43601
|
node?: string | undefined;
|
|
43404
43602
|
} | undefined;
|
|
@@ -43426,7 +43624,7 @@ export declare const logSchema: z.ZodObject<{
|
|
|
43426
43624
|
continent_code: string;
|
|
43427
43625
|
}>>;
|
|
43428
43626
|
}, "strip", z.ZodTypeAny, {
|
|
43429
|
-
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
43627
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
43430
43628
|
date: string;
|
|
43431
43629
|
isMobile: boolean;
|
|
43432
43630
|
log_id: string;
|
|
@@ -43438,8 +43636,8 @@ export declare const logSchema: z.ZodObject<{
|
|
|
43438
43636
|
strategy?: string | undefined;
|
|
43439
43637
|
strategy_type?: string | undefined;
|
|
43440
43638
|
auth0_client?: {
|
|
43441
|
-
name: string;
|
|
43442
43639
|
version: string;
|
|
43640
|
+
name: string;
|
|
43443
43641
|
env?: {
|
|
43444
43642
|
node?: string | undefined;
|
|
43445
43643
|
} | undefined;
|
|
@@ -43473,8 +43671,8 @@ export declare const logSchema: z.ZodObject<{
|
|
|
43473
43671
|
strategy?: string | undefined;
|
|
43474
43672
|
strategy_type?: string | undefined;
|
|
43475
43673
|
auth0_client?: {
|
|
43476
|
-
name: string;
|
|
43477
43674
|
version: string;
|
|
43675
|
+
name: string;
|
|
43478
43676
|
env?: {
|
|
43479
43677
|
node?: string | undefined;
|
|
43480
43678
|
} | undefined;
|
|
@@ -43533,18 +43731,18 @@ export declare const passwordSchema: z.ZodObject<{
|
|
|
43533
43731
|
created_at: z.ZodString;
|
|
43534
43732
|
updated_at: z.ZodString;
|
|
43535
43733
|
}, "strip", z.ZodTypeAny, {
|
|
43536
|
-
password: string;
|
|
43537
|
-
id: string;
|
|
43538
43734
|
created_at: string;
|
|
43539
43735
|
updated_at: string;
|
|
43736
|
+
password: string;
|
|
43737
|
+
id: string;
|
|
43540
43738
|
user_id: string;
|
|
43541
43739
|
algorithm: "bcrypt" | "argon2id";
|
|
43542
43740
|
is_current: boolean;
|
|
43543
43741
|
}, {
|
|
43544
|
-
password: string;
|
|
43545
|
-
id: string;
|
|
43546
43742
|
created_at: string;
|
|
43547
43743
|
updated_at: string;
|
|
43744
|
+
password: string;
|
|
43745
|
+
id: string;
|
|
43548
43746
|
user_id: string;
|
|
43549
43747
|
algorithm?: "bcrypt" | "argon2id" | undefined;
|
|
43550
43748
|
is_current?: boolean | undefined;
|
|
@@ -43653,9 +43851,9 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
43653
43851
|
authenticated_at: z.ZodString;
|
|
43654
43852
|
last_interaction_at: z.ZodString;
|
|
43655
43853
|
}, "strip", z.ZodTypeAny, {
|
|
43656
|
-
id: string;
|
|
43657
43854
|
created_at: string;
|
|
43658
43855
|
updated_at: string;
|
|
43856
|
+
id: string;
|
|
43659
43857
|
user_id: string;
|
|
43660
43858
|
login_session_id: string;
|
|
43661
43859
|
device: {
|
|
@@ -43674,9 +43872,9 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
43674
43872
|
revoked_at?: string | undefined;
|
|
43675
43873
|
idle_expires_at?: string | undefined;
|
|
43676
43874
|
}, {
|
|
43677
|
-
id: string;
|
|
43678
43875
|
created_at: string;
|
|
43679
43876
|
updated_at: string;
|
|
43877
|
+
id: string;
|
|
43680
43878
|
user_id: string;
|
|
43681
43879
|
login_session_id: string;
|
|
43682
43880
|
device: {
|
|
@@ -44706,9 +44904,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44706
44904
|
created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
|
|
44707
44905
|
updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
|
|
44708
44906
|
}, "strip", z.ZodTypeAny, {
|
|
44709
|
-
id: string;
|
|
44710
44907
|
created_at: string;
|
|
44711
44908
|
updated_at: string;
|
|
44909
|
+
id: string;
|
|
44712
44910
|
audience: string;
|
|
44713
44911
|
friendly_name: string;
|
|
44714
44912
|
sender_email: string;
|
|
@@ -44832,9 +45030,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44832
45030
|
} | undefined;
|
|
44833
45031
|
} | undefined;
|
|
44834
45032
|
}, {
|
|
44835
|
-
id: string;
|
|
44836
45033
|
created_at: string | null;
|
|
44837
45034
|
updated_at: string | null;
|
|
45035
|
+
id: string;
|
|
44838
45036
|
audience: string;
|
|
44839
45037
|
friendly_name: string;
|
|
44840
45038
|
sender_email: string;
|
|
@@ -46418,9 +46616,9 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
46418
46616
|
rotating: z.ZodBoolean;
|
|
46419
46617
|
created_at: z.ZodString;
|
|
46420
46618
|
}, "strip", z.ZodTypeAny, {
|
|
46619
|
+
created_at: string;
|
|
46421
46620
|
id: string;
|
|
46422
46621
|
client_id: string;
|
|
46423
|
-
created_at: string;
|
|
46424
46622
|
user_id: string;
|
|
46425
46623
|
login_id: string;
|
|
46426
46624
|
device: {
|
|
@@ -46440,9 +46638,9 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
46440
46638
|
idle_expires_at?: string | undefined;
|
|
46441
46639
|
last_exchanged_at?: string | undefined;
|
|
46442
46640
|
}, {
|
|
46641
|
+
created_at: string;
|
|
46443
46642
|
id: string;
|
|
46444
46643
|
client_id: string;
|
|
46445
|
-
created_at: string;
|
|
46446
46644
|
user_id: string;
|
|
46447
46645
|
login_id: string;
|
|
46448
46646
|
device: {
|
|
@@ -46720,6 +46918,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
46720
46918
|
}, "strip", z.ZodTypeAny, {
|
|
46721
46919
|
name: string;
|
|
46722
46920
|
identifier: string;
|
|
46921
|
+
created_at?: string | undefined;
|
|
46922
|
+
updated_at?: string | undefined;
|
|
46723
46923
|
options?: {
|
|
46724
46924
|
mtls?: {
|
|
46725
46925
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -46736,8 +46936,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
46736
46936
|
value: string;
|
|
46737
46937
|
description?: string | undefined;
|
|
46738
46938
|
}[] | undefined;
|
|
46739
|
-
created_at?: string | undefined;
|
|
46740
|
-
updated_at?: string | undefined;
|
|
46741
46939
|
is_system?: boolean | undefined;
|
|
46742
46940
|
metadata?: Record<string, any> | undefined;
|
|
46743
46941
|
signing_alg?: string | undefined;
|
|
@@ -46750,6 +46948,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
46750
46948
|
}, {
|
|
46751
46949
|
name: string;
|
|
46752
46950
|
identifier: string;
|
|
46951
|
+
created_at?: string | undefined;
|
|
46952
|
+
updated_at?: string | undefined;
|
|
46753
46953
|
options?: {
|
|
46754
46954
|
mtls?: {
|
|
46755
46955
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -46766,8 +46966,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
46766
46966
|
value: string;
|
|
46767
46967
|
description?: string | undefined;
|
|
46768
46968
|
}[] | undefined;
|
|
46769
|
-
created_at?: string | undefined;
|
|
46770
|
-
updated_at?: string | undefined;
|
|
46771
46969
|
is_system?: boolean | undefined;
|
|
46772
46970
|
metadata?: Record<string, any> | undefined;
|
|
46773
46971
|
signing_alg?: string | undefined;
|
|
@@ -46845,6 +47043,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46845
47043
|
}, "strip", z.ZodTypeAny, {
|
|
46846
47044
|
name: string;
|
|
46847
47045
|
identifier: string;
|
|
47046
|
+
created_at?: string | undefined;
|
|
47047
|
+
updated_at?: string | undefined;
|
|
46848
47048
|
options?: {
|
|
46849
47049
|
mtls?: {
|
|
46850
47050
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -46861,8 +47061,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46861
47061
|
value: string;
|
|
46862
47062
|
description?: string | undefined;
|
|
46863
47063
|
}[] | undefined;
|
|
46864
|
-
created_at?: string | undefined;
|
|
46865
|
-
updated_at?: string | undefined;
|
|
46866
47064
|
is_system?: boolean | undefined;
|
|
46867
47065
|
metadata?: Record<string, any> | undefined;
|
|
46868
47066
|
signing_alg?: string | undefined;
|
|
@@ -46875,6 +47073,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46875
47073
|
}, {
|
|
46876
47074
|
name: string;
|
|
46877
47075
|
identifier: string;
|
|
47076
|
+
created_at?: string | undefined;
|
|
47077
|
+
updated_at?: string | undefined;
|
|
46878
47078
|
options?: {
|
|
46879
47079
|
mtls?: {
|
|
46880
47080
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -46891,8 +47091,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46891
47091
|
value: string;
|
|
46892
47092
|
description?: string | undefined;
|
|
46893
47093
|
}[] | undefined;
|
|
46894
|
-
created_at?: string | undefined;
|
|
46895
|
-
updated_at?: string | undefined;
|
|
46896
47094
|
is_system?: boolean | undefined;
|
|
46897
47095
|
metadata?: Record<string, any> | undefined;
|
|
46898
47096
|
signing_alg?: string | undefined;
|
|
@@ -47028,16 +47226,16 @@ export declare const userPermissionWithDetailsSchema: z.ZodObject<{
|
|
|
47028
47226
|
resource_server_identifier: string;
|
|
47029
47227
|
permission_name: string;
|
|
47030
47228
|
resource_server_name: string;
|
|
47031
|
-
description?: string | null | undefined;
|
|
47032
47229
|
created_at?: string | undefined;
|
|
47230
|
+
description?: string | null | undefined;
|
|
47033
47231
|
organization_id?: string | undefined;
|
|
47034
47232
|
}, {
|
|
47035
47233
|
user_id: string;
|
|
47036
47234
|
resource_server_identifier: string;
|
|
47037
47235
|
permission_name: string;
|
|
47038
47236
|
resource_server_name: string;
|
|
47039
|
-
description?: string | null | undefined;
|
|
47040
47237
|
created_at?: string | undefined;
|
|
47238
|
+
description?: string | null | undefined;
|
|
47041
47239
|
organization_id?: string | undefined;
|
|
47042
47240
|
}>;
|
|
47043
47241
|
export type UserPermissionWithDetails = z.infer<typeof userPermissionWithDetailsSchema>;
|
|
@@ -47054,16 +47252,16 @@ export declare const userPermissionWithDetailsListSchema: z.ZodArray<z.ZodObject
|
|
|
47054
47252
|
resource_server_identifier: string;
|
|
47055
47253
|
permission_name: string;
|
|
47056
47254
|
resource_server_name: string;
|
|
47057
|
-
description?: string | null | undefined;
|
|
47058
47255
|
created_at?: string | undefined;
|
|
47256
|
+
description?: string | null | undefined;
|
|
47059
47257
|
organization_id?: string | undefined;
|
|
47060
47258
|
}, {
|
|
47061
47259
|
user_id: string;
|
|
47062
47260
|
resource_server_identifier: string;
|
|
47063
47261
|
permission_name: string;
|
|
47064
47262
|
resource_server_name: string;
|
|
47065
|
-
description?: string | null | undefined;
|
|
47066
47263
|
created_at?: string | undefined;
|
|
47264
|
+
description?: string | null | undefined;
|
|
47067
47265
|
organization_id?: string | undefined;
|
|
47068
47266
|
}>, "many">;
|
|
47069
47267
|
export type UserPermissionWithDetailsList = z.infer<typeof userPermissionWithDetailsListSchema>;
|
|
@@ -47150,19 +47348,19 @@ export declare const roleSchema: z.ZodObject<{
|
|
|
47150
47348
|
created_at: z.ZodOptional<z.ZodString>;
|
|
47151
47349
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
47152
47350
|
}, "strip", z.ZodTypeAny, {
|
|
47153
|
-
name: string;
|
|
47154
47351
|
id: string;
|
|
47155
|
-
|
|
47352
|
+
name: string;
|
|
47156
47353
|
created_at?: string | undefined;
|
|
47157
47354
|
updated_at?: string | undefined;
|
|
47355
|
+
description?: string | undefined;
|
|
47158
47356
|
is_system?: boolean | undefined;
|
|
47159
47357
|
metadata?: Record<string, any> | undefined;
|
|
47160
47358
|
}, {
|
|
47161
|
-
name: string;
|
|
47162
47359
|
id: string;
|
|
47163
|
-
|
|
47360
|
+
name: string;
|
|
47164
47361
|
created_at?: string | undefined;
|
|
47165
47362
|
updated_at?: string | undefined;
|
|
47363
|
+
description?: string | undefined;
|
|
47166
47364
|
is_system?: boolean | undefined;
|
|
47167
47365
|
metadata?: Record<string, any> | undefined;
|
|
47168
47366
|
}>;
|
|
@@ -47178,19 +47376,19 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
|
|
|
47178
47376
|
created_at: z.ZodOptional<z.ZodString>;
|
|
47179
47377
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
47180
47378
|
}, "strip", z.ZodTypeAny, {
|
|
47181
|
-
name: string;
|
|
47182
47379
|
id: string;
|
|
47183
|
-
|
|
47380
|
+
name: string;
|
|
47184
47381
|
created_at?: string | undefined;
|
|
47185
47382
|
updated_at?: string | undefined;
|
|
47383
|
+
description?: string | undefined;
|
|
47186
47384
|
is_system?: boolean | undefined;
|
|
47187
47385
|
metadata?: Record<string, any> | undefined;
|
|
47188
47386
|
}, {
|
|
47189
|
-
name: string;
|
|
47190
47387
|
id: string;
|
|
47191
|
-
|
|
47388
|
+
name: string;
|
|
47192
47389
|
created_at?: string | undefined;
|
|
47193
47390
|
updated_at?: string | undefined;
|
|
47391
|
+
description?: string | undefined;
|
|
47194
47392
|
is_system?: boolean | undefined;
|
|
47195
47393
|
metadata?: Record<string, any> | undefined;
|
|
47196
47394
|
}>, "many">;
|
|
@@ -47464,10 +47662,10 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
47464
47662
|
} | undefined;
|
|
47465
47663
|
}>>;
|
|
47466
47664
|
}, "strip", z.ZodTypeAny, {
|
|
47467
|
-
name: string;
|
|
47468
|
-
id: string;
|
|
47469
47665
|
created_at: string;
|
|
47470
47666
|
updated_at: string;
|
|
47667
|
+
id: string;
|
|
47668
|
+
name: string;
|
|
47471
47669
|
token_quota?: {
|
|
47472
47670
|
client_credentials?: {
|
|
47473
47671
|
enforce: boolean;
|
|
@@ -47491,10 +47689,10 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
47491
47689
|
is_signup_enabled: boolean;
|
|
47492
47690
|
}[] | undefined;
|
|
47493
47691
|
}, {
|
|
47494
|
-
name: string;
|
|
47495
|
-
id: string;
|
|
47496
47692
|
created_at: string;
|
|
47497
47693
|
updated_at: string;
|
|
47694
|
+
id: string;
|
|
47695
|
+
name: string;
|
|
47498
47696
|
token_quota?: {
|
|
47499
47697
|
client_credentials?: {
|
|
47500
47698
|
enforce?: boolean | undefined;
|
|
@@ -47537,15 +47735,15 @@ export declare const userOrganizationSchema: z.ZodObject<{
|
|
|
47537
47735
|
user_id: z.ZodString;
|
|
47538
47736
|
organization_id: z.ZodString;
|
|
47539
47737
|
}, "strip", z.ZodTypeAny, {
|
|
47540
|
-
id: string;
|
|
47541
47738
|
created_at: string;
|
|
47542
47739
|
updated_at: string;
|
|
47740
|
+
id: string;
|
|
47543
47741
|
user_id: string;
|
|
47544
47742
|
organization_id: string;
|
|
47545
47743
|
}, {
|
|
47546
|
-
id: string;
|
|
47547
47744
|
created_at: string;
|
|
47548
47745
|
updated_at: string;
|
|
47746
|
+
id: string;
|
|
47549
47747
|
user_id: string;
|
|
47550
47748
|
organization_id: string;
|
|
47551
47749
|
}>;
|
|
@@ -47973,16 +48171,16 @@ export declare const dailyStatsSchema: z.ZodObject<{
|
|
|
47973
48171
|
updated_at: z.ZodString;
|
|
47974
48172
|
created_at: z.ZodString;
|
|
47975
48173
|
}, "strip", z.ZodTypeAny, {
|
|
47976
|
-
date: string;
|
|
47977
48174
|
created_at: string;
|
|
47978
48175
|
updated_at: string;
|
|
48176
|
+
date: string;
|
|
47979
48177
|
logins: number;
|
|
47980
48178
|
signups: number;
|
|
47981
48179
|
leaked_passwords: number;
|
|
47982
48180
|
}, {
|
|
47983
|
-
date: string;
|
|
47984
48181
|
created_at: string;
|
|
47985
48182
|
updated_at: string;
|
|
48183
|
+
date: string;
|
|
47986
48184
|
logins: number;
|
|
47987
48185
|
signups: number;
|
|
47988
48186
|
leaked_passwords: number;
|
|
@@ -48204,10 +48402,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
|
|
|
48204
48402
|
friendly_name: z.ZodOptional<z.ZodString>;
|
|
48205
48403
|
confirmed: z.ZodDefault<z.ZodBoolean>;
|
|
48206
48404
|
}, "strip", z.ZodTypeAny, {
|
|
48207
|
-
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
48208
|
-
id: string;
|
|
48209
48405
|
created_at: string;
|
|
48210
48406
|
updated_at: string;
|
|
48407
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
48408
|
+
id: string;
|
|
48211
48409
|
user_id: string;
|
|
48212
48410
|
confirmed: boolean;
|
|
48213
48411
|
phone_number?: string | undefined;
|
|
@@ -48219,10 +48417,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
|
|
|
48219
48417
|
credential_backed_up?: boolean | undefined;
|
|
48220
48418
|
transports?: string[] | undefined;
|
|
48221
48419
|
}, {
|
|
48222
|
-
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
48223
|
-
id: string;
|
|
48224
48420
|
created_at: string;
|
|
48225
48421
|
updated_at: string;
|
|
48422
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
48423
|
+
id: string;
|
|
48226
48424
|
user_id: string;
|
|
48227
48425
|
phone_number?: string | undefined;
|
|
48228
48426
|
friendly_name?: string | undefined;
|
|
@@ -48234,10 +48432,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
|
|
|
48234
48432
|
transports?: string[] | undefined;
|
|
48235
48433
|
confirmed?: boolean | undefined;
|
|
48236
48434
|
}>, {
|
|
48237
|
-
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
48238
|
-
id: string;
|
|
48239
48435
|
created_at: string;
|
|
48240
48436
|
updated_at: string;
|
|
48437
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
48438
|
+
id: string;
|
|
48241
48439
|
user_id: string;
|
|
48242
48440
|
confirmed: boolean;
|
|
48243
48441
|
phone_number?: string | undefined;
|
|
@@ -48249,10 +48447,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
|
|
|
48249
48447
|
credential_backed_up?: boolean | undefined;
|
|
48250
48448
|
transports?: string[] | undefined;
|
|
48251
48449
|
}, {
|
|
48252
|
-
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
48253
|
-
id: string;
|
|
48254
48450
|
created_at: string;
|
|
48255
48451
|
updated_at: string;
|
|
48452
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
48453
|
+
id: string;
|
|
48256
48454
|
user_id: string;
|
|
48257
48455
|
phone_number?: string | undefined;
|
|
48258
48456
|
friendly_name?: string | undefined;
|
|
@@ -48307,7 +48505,7 @@ export interface PassthroughConfig<T> {
|
|
|
48307
48505
|
secondaries: SecondaryAdapterConfig<T>[];
|
|
48308
48506
|
/**
|
|
48309
48507
|
* Methods that should be synced to secondaries.
|
|
48310
|
-
* Default: ["create", "update", "remove", "delete", "set"]
|
|
48508
|
+
* Default: ["create", "rawCreate", "update", "remove", "delete", "set"]
|
|
48311
48509
|
*/
|
|
48312
48510
|
syncMethods?: string[];
|
|
48313
48511
|
}
|
|
@@ -48403,6 +48601,16 @@ export interface IdentifierConfig {
|
|
|
48403
48601
|
* options.attributes.username.validation.{min_length,max_length}
|
|
48404
48602
|
*/
|
|
48405
48603
|
export declare function getConnectionIdentifierConfig(connection: ConnectionLike | null | undefined): IdentifierConfig;
|
|
48604
|
+
export interface ListActionsResponse extends Totals {
|
|
48605
|
+
actions: Action[];
|
|
48606
|
+
}
|
|
48607
|
+
export interface ActionsAdapter {
|
|
48608
|
+
create: (tenant_id: string, action: ActionInsert) => Promise<Action>;
|
|
48609
|
+
get: (tenant_id: string, action_id: string) => Promise<Action | null>;
|
|
48610
|
+
update: (tenant_id: string, action_id: string, action: Partial<ActionInsert>) => Promise<boolean>;
|
|
48611
|
+
remove: (tenant_id: string, action_id: string) => Promise<boolean>;
|
|
48612
|
+
list: (tenant_id: string, params?: ListParams) => Promise<ListActionsResponse>;
|
|
48613
|
+
}
|
|
48406
48614
|
export interface ListFlowsResponse extends Totals {
|
|
48407
48615
|
flows: Flow[];
|
|
48408
48616
|
}
|
|
@@ -48560,6 +48768,13 @@ export interface ListUsersResponse extends Totals {
|
|
|
48560
48768
|
export interface UserDataAdapter {
|
|
48561
48769
|
get(tenant_id: string, id: string): Promise<User | null>;
|
|
48562
48770
|
create(tenantId: string, user: UserInsert): Promise<User>;
|
|
48771
|
+
/**
|
|
48772
|
+
* Create a user without invoking any decorator-level hooks (pre/post
|
|
48773
|
+
* registration hooks, linking, webhooks, etc.). Intended to be called from
|
|
48774
|
+
* inside a registration pipeline that owns hook orchestration and transaction
|
|
48775
|
+
* boundaries itself. The DB-level behavior is identical to `create`.
|
|
48776
|
+
*/
|
|
48777
|
+
rawCreate(tenantId: string, user: UserInsert): Promise<User>;
|
|
48563
48778
|
remove(tenantId: string, id: string): Promise<boolean>;
|
|
48564
48779
|
list(tenantId: string, params?: ListParams): Promise<ListUsersResponse>;
|
|
48565
48780
|
update(tenantId: string, id: string, user: Partial<User>): Promise<boolean>;
|
|
@@ -48847,6 +49062,16 @@ export interface OutboxEvent extends AuditEvent {
|
|
|
48847
49062
|
next_retry_at: string | null;
|
|
48848
49063
|
/** Last error message from a failed delivery attempt */
|
|
48849
49064
|
error: string | null;
|
|
49065
|
+
/** When the event was moved to dead-letter state (null if still active) */
|
|
49066
|
+
dead_lettered_at?: string | null;
|
|
49067
|
+
/** Final error captured when the event was dead-lettered */
|
|
49068
|
+
final_error?: string | null;
|
|
49069
|
+
}
|
|
49070
|
+
export interface ListFailedEventsResponse {
|
|
49071
|
+
events: OutboxEvent[];
|
|
49072
|
+
start: number;
|
|
49073
|
+
limit: number;
|
|
49074
|
+
length: number;
|
|
48850
49075
|
}
|
|
48851
49076
|
export interface OutboxAdapter {
|
|
48852
49077
|
/** Write an audit event to the outbox. Returns the event ID. */
|
|
@@ -48861,6 +49086,25 @@ export interface OutboxAdapter {
|
|
|
48861
49086
|
markProcessed(ids: string[]): Promise<void>;
|
|
48862
49087
|
/** Mark an event for retry with a backoff delay */
|
|
48863
49088
|
markRetry(id: string, error: string, nextRetryAt: string): Promise<void>;
|
|
49089
|
+
/**
|
|
49090
|
+
* Move an event to dead-letter state. The event is marked processed so the
|
|
49091
|
+
* relay stops retrying it, and the final error is preserved for admin review
|
|
49092
|
+
* via `listFailed`.
|
|
49093
|
+
*/
|
|
49094
|
+
deadLetter(id: string, finalError: string): Promise<void>;
|
|
49095
|
+
/**
|
|
49096
|
+
* List dead-lettered events for a tenant, newest first. Used by the
|
|
49097
|
+
* management API's failed-events endpoints.
|
|
49098
|
+
*/
|
|
49099
|
+
listFailed(tenantId: string, params?: ListParams): Promise<ListFailedEventsResponse>;
|
|
49100
|
+
/**
|
|
49101
|
+
* Reset a dead-lettered event so the relay retries it. Clears
|
|
49102
|
+
* `dead_lettered_at`, `final_error`, `processed_at`, `retry_count`, and
|
|
49103
|
+
* `next_retry_at`. Scoped to `tenantId` so operators cannot replay events
|
|
49104
|
+
* from other tenants — returns false when no row matches both the id and
|
|
49105
|
+
* the tenant.
|
|
49106
|
+
*/
|
|
49107
|
+
replay(id: string, tenantId: string): Promise<boolean>;
|
|
48864
49108
|
/** Delete processed events older than the given ISO date. Returns count deleted. */
|
|
48865
49109
|
cleanup(olderThan: string): Promise<number>;
|
|
48866
49110
|
}
|
|
@@ -48911,6 +49155,7 @@ export interface SessionCleanupParams {
|
|
|
48911
49155
|
user_id?: string;
|
|
48912
49156
|
}
|
|
48913
49157
|
export interface DataAdapters {
|
|
49158
|
+
actions: ActionsAdapter;
|
|
48914
49159
|
branding: BrandingAdapter;
|
|
48915
49160
|
cache?: CacheAdapter;
|
|
48916
49161
|
clients: ClientsAdapter;
|