@authhero/adapter-interfaces 0.151.0 → 0.152.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 +976 -256
- package/dist/adapter-interfaces.mjs +500 -430
- package/package.json +1 -1
|
@@ -2,6 +2,692 @@
|
|
|
2
2
|
|
|
3
3
|
import { z } from '@hono/zod-openapi';
|
|
4
4
|
|
|
5
|
+
export declare const auditCategorySchema: z.ZodEnum<[
|
|
6
|
+
"user_action",
|
|
7
|
+
"admin_action",
|
|
8
|
+
"system",
|
|
9
|
+
"api"
|
|
10
|
+
]>;
|
|
11
|
+
export type AuditCategory = z.infer<typeof auditCategorySchema>;
|
|
12
|
+
export declare const actorSchema: z.ZodObject<{
|
|
13
|
+
type: z.ZodEnum<[
|
|
14
|
+
"user",
|
|
15
|
+
"admin",
|
|
16
|
+
"system",
|
|
17
|
+
"api_key",
|
|
18
|
+
"client_credentials"
|
|
19
|
+
]>;
|
|
20
|
+
id: z.ZodOptional<z.ZodString>;
|
|
21
|
+
email: z.ZodOptional<z.ZodString>;
|
|
22
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
23
|
+
org_name: z.ZodOptional<z.ZodString>;
|
|
24
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
email?: string | undefined;
|
|
30
|
+
org_id?: string | undefined;
|
|
31
|
+
org_name?: string | undefined;
|
|
32
|
+
scopes?: string[] | undefined;
|
|
33
|
+
client_id?: string | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
36
|
+
id?: string | undefined;
|
|
37
|
+
email?: string | undefined;
|
|
38
|
+
org_id?: string | undefined;
|
|
39
|
+
org_name?: string | undefined;
|
|
40
|
+
scopes?: string[] | undefined;
|
|
41
|
+
client_id?: string | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
export type Actor = z.infer<typeof actorSchema>;
|
|
44
|
+
export declare const targetSchema: z.ZodObject<{
|
|
45
|
+
type: z.ZodString;
|
|
46
|
+
id: z.ZodString;
|
|
47
|
+
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
48
|
+
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
49
|
+
diff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
50
|
+
old: z.ZodUnknown;
|
|
51
|
+
new: z.ZodUnknown;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
old?: unknown;
|
|
54
|
+
new?: unknown;
|
|
55
|
+
}, {
|
|
56
|
+
old?: unknown;
|
|
57
|
+
new?: unknown;
|
|
58
|
+
}>>>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
type: string;
|
|
61
|
+
id: string;
|
|
62
|
+
before?: Record<string, unknown> | undefined;
|
|
63
|
+
after?: Record<string, unknown> | undefined;
|
|
64
|
+
diff?: Record<string, {
|
|
65
|
+
old?: unknown;
|
|
66
|
+
new?: unknown;
|
|
67
|
+
}> | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
type: string;
|
|
70
|
+
id: string;
|
|
71
|
+
before?: Record<string, unknown> | undefined;
|
|
72
|
+
after?: Record<string, unknown> | undefined;
|
|
73
|
+
diff?: Record<string, {
|
|
74
|
+
old?: unknown;
|
|
75
|
+
new?: unknown;
|
|
76
|
+
}> | undefined;
|
|
77
|
+
}>;
|
|
78
|
+
export type Target = z.infer<typeof targetSchema>;
|
|
79
|
+
export declare const requestContextSchema: z.ZodObject<{
|
|
80
|
+
method: z.ZodString;
|
|
81
|
+
path: z.ZodString;
|
|
82
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
83
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
84
|
+
ip: z.ZodString;
|
|
85
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
86
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
path: string;
|
|
89
|
+
method: string;
|
|
90
|
+
ip: string;
|
|
91
|
+
query?: Record<string, string> | undefined;
|
|
92
|
+
body?: unknown;
|
|
93
|
+
user_agent?: string | undefined;
|
|
94
|
+
correlation_id?: string | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
path: string;
|
|
97
|
+
method: string;
|
|
98
|
+
ip: string;
|
|
99
|
+
query?: Record<string, string> | undefined;
|
|
100
|
+
body?: unknown;
|
|
101
|
+
user_agent?: string | undefined;
|
|
102
|
+
correlation_id?: string | undefined;
|
|
103
|
+
}>;
|
|
104
|
+
export type RequestContext = z.infer<typeof requestContextSchema>;
|
|
105
|
+
export declare const responseContextSchema: z.ZodObject<{
|
|
106
|
+
status_code: z.ZodNumber;
|
|
107
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
status_code: number;
|
|
110
|
+
body?: unknown;
|
|
111
|
+
}, {
|
|
112
|
+
status_code: number;
|
|
113
|
+
body?: unknown;
|
|
114
|
+
}>;
|
|
115
|
+
export type ResponseContext = z.infer<typeof responseContextSchema>;
|
|
116
|
+
export declare const locationInfoSchema: z.ZodObject<{
|
|
117
|
+
country_code: z.ZodString;
|
|
118
|
+
city_name: z.ZodString;
|
|
119
|
+
latitude: z.ZodString;
|
|
120
|
+
longitude: z.ZodString;
|
|
121
|
+
time_zone: z.ZodString;
|
|
122
|
+
continent_code: z.ZodString;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
country_code: string;
|
|
125
|
+
city_name: string;
|
|
126
|
+
latitude: string;
|
|
127
|
+
longitude: string;
|
|
128
|
+
time_zone: string;
|
|
129
|
+
continent_code: string;
|
|
130
|
+
}, {
|
|
131
|
+
country_code: string;
|
|
132
|
+
city_name: string;
|
|
133
|
+
latitude: string;
|
|
134
|
+
longitude: string;
|
|
135
|
+
time_zone: string;
|
|
136
|
+
continent_code: string;
|
|
137
|
+
}>;
|
|
138
|
+
export declare const auth0ClientSchema: z.ZodObject<{
|
|
139
|
+
name: z.ZodString;
|
|
140
|
+
version: z.ZodString;
|
|
141
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
name: string;
|
|
144
|
+
version: string;
|
|
145
|
+
env?: Record<string, string> | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
name: string;
|
|
148
|
+
version: string;
|
|
149
|
+
env?: Record<string, string> | undefined;
|
|
150
|
+
}>;
|
|
151
|
+
export declare const auditEventInsertSchema: z.ZodObject<{
|
|
152
|
+
tenant_id: z.ZodString;
|
|
153
|
+
event_type: z.ZodString;
|
|
154
|
+
log_type: z.ZodString;
|
|
155
|
+
description: z.ZodOptional<z.ZodString>;
|
|
156
|
+
category: z.ZodEnum<[
|
|
157
|
+
"user_action",
|
|
158
|
+
"admin_action",
|
|
159
|
+
"system",
|
|
160
|
+
"api"
|
|
161
|
+
]>;
|
|
162
|
+
actor: z.ZodObject<{
|
|
163
|
+
type: z.ZodEnum<[
|
|
164
|
+
"user",
|
|
165
|
+
"admin",
|
|
166
|
+
"system",
|
|
167
|
+
"api_key",
|
|
168
|
+
"client_credentials"
|
|
169
|
+
]>;
|
|
170
|
+
id: z.ZodOptional<z.ZodString>;
|
|
171
|
+
email: z.ZodOptional<z.ZodString>;
|
|
172
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
173
|
+
org_name: z.ZodOptional<z.ZodString>;
|
|
174
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
175
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
176
|
+
}, "strip", z.ZodTypeAny, {
|
|
177
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
178
|
+
id?: string | undefined;
|
|
179
|
+
email?: string | undefined;
|
|
180
|
+
org_id?: string | undefined;
|
|
181
|
+
org_name?: string | undefined;
|
|
182
|
+
scopes?: string[] | undefined;
|
|
183
|
+
client_id?: string | undefined;
|
|
184
|
+
}, {
|
|
185
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
186
|
+
id?: string | undefined;
|
|
187
|
+
email?: string | undefined;
|
|
188
|
+
org_id?: string | undefined;
|
|
189
|
+
org_name?: string | undefined;
|
|
190
|
+
scopes?: string[] | undefined;
|
|
191
|
+
client_id?: string | undefined;
|
|
192
|
+
}>;
|
|
193
|
+
target: z.ZodObject<{
|
|
194
|
+
type: z.ZodString;
|
|
195
|
+
id: z.ZodString;
|
|
196
|
+
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
197
|
+
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
198
|
+
diff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
199
|
+
old: z.ZodUnknown;
|
|
200
|
+
new: z.ZodUnknown;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
old?: unknown;
|
|
203
|
+
new?: unknown;
|
|
204
|
+
}, {
|
|
205
|
+
old?: unknown;
|
|
206
|
+
new?: unknown;
|
|
207
|
+
}>>>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
type: string;
|
|
210
|
+
id: string;
|
|
211
|
+
before?: Record<string, unknown> | undefined;
|
|
212
|
+
after?: Record<string, unknown> | undefined;
|
|
213
|
+
diff?: Record<string, {
|
|
214
|
+
old?: unknown;
|
|
215
|
+
new?: unknown;
|
|
216
|
+
}> | undefined;
|
|
217
|
+
}, {
|
|
218
|
+
type: string;
|
|
219
|
+
id: string;
|
|
220
|
+
before?: Record<string, unknown> | undefined;
|
|
221
|
+
after?: Record<string, unknown> | undefined;
|
|
222
|
+
diff?: Record<string, {
|
|
223
|
+
old?: unknown;
|
|
224
|
+
new?: unknown;
|
|
225
|
+
}> | undefined;
|
|
226
|
+
}>;
|
|
227
|
+
request: z.ZodObject<{
|
|
228
|
+
method: z.ZodString;
|
|
229
|
+
path: z.ZodString;
|
|
230
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
231
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
232
|
+
ip: z.ZodString;
|
|
233
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
234
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
path: string;
|
|
237
|
+
method: string;
|
|
238
|
+
ip: string;
|
|
239
|
+
query?: Record<string, string> | undefined;
|
|
240
|
+
body?: unknown;
|
|
241
|
+
user_agent?: string | undefined;
|
|
242
|
+
correlation_id?: string | undefined;
|
|
243
|
+
}, {
|
|
244
|
+
path: string;
|
|
245
|
+
method: string;
|
|
246
|
+
ip: string;
|
|
247
|
+
query?: Record<string, string> | undefined;
|
|
248
|
+
body?: unknown;
|
|
249
|
+
user_agent?: string | undefined;
|
|
250
|
+
correlation_id?: string | undefined;
|
|
251
|
+
}>;
|
|
252
|
+
response: z.ZodOptional<z.ZodObject<{
|
|
253
|
+
status_code: z.ZodNumber;
|
|
254
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
255
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
status_code: number;
|
|
257
|
+
body?: unknown;
|
|
258
|
+
}, {
|
|
259
|
+
status_code: number;
|
|
260
|
+
body?: unknown;
|
|
261
|
+
}>>;
|
|
262
|
+
connection: z.ZodOptional<z.ZodString>;
|
|
263
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
264
|
+
strategy_type: z.ZodOptional<z.ZodString>;
|
|
265
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
country_code: z.ZodString;
|
|
267
|
+
city_name: z.ZodString;
|
|
268
|
+
latitude: z.ZodString;
|
|
269
|
+
longitude: z.ZodString;
|
|
270
|
+
time_zone: z.ZodString;
|
|
271
|
+
continent_code: z.ZodString;
|
|
272
|
+
}, "strip", z.ZodTypeAny, {
|
|
273
|
+
country_code: string;
|
|
274
|
+
city_name: string;
|
|
275
|
+
latitude: string;
|
|
276
|
+
longitude: string;
|
|
277
|
+
time_zone: string;
|
|
278
|
+
continent_code: string;
|
|
279
|
+
}, {
|
|
280
|
+
country_code: string;
|
|
281
|
+
city_name: string;
|
|
282
|
+
latitude: string;
|
|
283
|
+
longitude: string;
|
|
284
|
+
time_zone: string;
|
|
285
|
+
continent_code: string;
|
|
286
|
+
}>>;
|
|
287
|
+
auth0_client: z.ZodOptional<z.ZodObject<{
|
|
288
|
+
name: z.ZodString;
|
|
289
|
+
version: z.ZodString;
|
|
290
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
name: string;
|
|
293
|
+
version: string;
|
|
294
|
+
env?: Record<string, string> | undefined;
|
|
295
|
+
}, {
|
|
296
|
+
name: string;
|
|
297
|
+
version: string;
|
|
298
|
+
env?: Record<string, string> | undefined;
|
|
299
|
+
}>>;
|
|
300
|
+
hostname: z.ZodString;
|
|
301
|
+
is_mobile: z.ZodOptional<z.ZodBoolean>;
|
|
302
|
+
timestamp: z.ZodString;
|
|
303
|
+
}, "strip", z.ZodTypeAny, {
|
|
304
|
+
tenant_id: string;
|
|
305
|
+
event_type: string;
|
|
306
|
+
log_type: string;
|
|
307
|
+
category: "user_action" | "admin_action" | "system" | "api";
|
|
308
|
+
actor: {
|
|
309
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
310
|
+
id?: string | undefined;
|
|
311
|
+
email?: string | undefined;
|
|
312
|
+
org_id?: string | undefined;
|
|
313
|
+
org_name?: string | undefined;
|
|
314
|
+
scopes?: string[] | undefined;
|
|
315
|
+
client_id?: string | undefined;
|
|
316
|
+
};
|
|
317
|
+
target: {
|
|
318
|
+
type: string;
|
|
319
|
+
id: string;
|
|
320
|
+
before?: Record<string, unknown> | undefined;
|
|
321
|
+
after?: Record<string, unknown> | undefined;
|
|
322
|
+
diff?: Record<string, {
|
|
323
|
+
old?: unknown;
|
|
324
|
+
new?: unknown;
|
|
325
|
+
}> | undefined;
|
|
326
|
+
};
|
|
327
|
+
request: {
|
|
328
|
+
path: string;
|
|
329
|
+
method: string;
|
|
330
|
+
ip: string;
|
|
331
|
+
query?: Record<string, string> | undefined;
|
|
332
|
+
body?: unknown;
|
|
333
|
+
user_agent?: string | undefined;
|
|
334
|
+
correlation_id?: string | undefined;
|
|
335
|
+
};
|
|
336
|
+
hostname: string;
|
|
337
|
+
timestamp: string;
|
|
338
|
+
description?: string | undefined;
|
|
339
|
+
response?: {
|
|
340
|
+
status_code: number;
|
|
341
|
+
body?: unknown;
|
|
342
|
+
} | undefined;
|
|
343
|
+
connection?: string | undefined;
|
|
344
|
+
strategy?: string | undefined;
|
|
345
|
+
strategy_type?: string | undefined;
|
|
346
|
+
location?: {
|
|
347
|
+
country_code: string;
|
|
348
|
+
city_name: string;
|
|
349
|
+
latitude: string;
|
|
350
|
+
longitude: string;
|
|
351
|
+
time_zone: string;
|
|
352
|
+
continent_code: string;
|
|
353
|
+
} | undefined;
|
|
354
|
+
auth0_client?: {
|
|
355
|
+
name: string;
|
|
356
|
+
version: string;
|
|
357
|
+
env?: Record<string, string> | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
is_mobile?: boolean | undefined;
|
|
360
|
+
}, {
|
|
361
|
+
tenant_id: string;
|
|
362
|
+
event_type: string;
|
|
363
|
+
log_type: string;
|
|
364
|
+
category: "user_action" | "admin_action" | "system" | "api";
|
|
365
|
+
actor: {
|
|
366
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
367
|
+
id?: string | undefined;
|
|
368
|
+
email?: string | undefined;
|
|
369
|
+
org_id?: string | undefined;
|
|
370
|
+
org_name?: string | undefined;
|
|
371
|
+
scopes?: string[] | undefined;
|
|
372
|
+
client_id?: string | undefined;
|
|
373
|
+
};
|
|
374
|
+
target: {
|
|
375
|
+
type: string;
|
|
376
|
+
id: string;
|
|
377
|
+
before?: Record<string, unknown> | undefined;
|
|
378
|
+
after?: Record<string, unknown> | undefined;
|
|
379
|
+
diff?: Record<string, {
|
|
380
|
+
old?: unknown;
|
|
381
|
+
new?: unknown;
|
|
382
|
+
}> | undefined;
|
|
383
|
+
};
|
|
384
|
+
request: {
|
|
385
|
+
path: string;
|
|
386
|
+
method: string;
|
|
387
|
+
ip: string;
|
|
388
|
+
query?: Record<string, string> | undefined;
|
|
389
|
+
body?: unknown;
|
|
390
|
+
user_agent?: string | undefined;
|
|
391
|
+
correlation_id?: string | undefined;
|
|
392
|
+
};
|
|
393
|
+
hostname: string;
|
|
394
|
+
timestamp: string;
|
|
395
|
+
description?: string | undefined;
|
|
396
|
+
response?: {
|
|
397
|
+
status_code: number;
|
|
398
|
+
body?: unknown;
|
|
399
|
+
} | undefined;
|
|
400
|
+
connection?: string | undefined;
|
|
401
|
+
strategy?: string | undefined;
|
|
402
|
+
strategy_type?: string | undefined;
|
|
403
|
+
location?: {
|
|
404
|
+
country_code: string;
|
|
405
|
+
city_name: string;
|
|
406
|
+
latitude: string;
|
|
407
|
+
longitude: string;
|
|
408
|
+
time_zone: string;
|
|
409
|
+
continent_code: string;
|
|
410
|
+
} | undefined;
|
|
411
|
+
auth0_client?: {
|
|
412
|
+
name: string;
|
|
413
|
+
version: string;
|
|
414
|
+
env?: Record<string, string> | undefined;
|
|
415
|
+
} | undefined;
|
|
416
|
+
is_mobile?: boolean | undefined;
|
|
417
|
+
}>;
|
|
418
|
+
export type AuditEventInsert = z.infer<typeof auditEventInsertSchema>;
|
|
419
|
+
export declare const auditEventSchema: z.ZodObject<{
|
|
420
|
+
tenant_id: z.ZodString;
|
|
421
|
+
event_type: z.ZodString;
|
|
422
|
+
log_type: z.ZodString;
|
|
423
|
+
description: z.ZodOptional<z.ZodString>;
|
|
424
|
+
category: z.ZodEnum<[
|
|
425
|
+
"user_action",
|
|
426
|
+
"admin_action",
|
|
427
|
+
"system",
|
|
428
|
+
"api"
|
|
429
|
+
]>;
|
|
430
|
+
actor: z.ZodObject<{
|
|
431
|
+
type: z.ZodEnum<[
|
|
432
|
+
"user",
|
|
433
|
+
"admin",
|
|
434
|
+
"system",
|
|
435
|
+
"api_key",
|
|
436
|
+
"client_credentials"
|
|
437
|
+
]>;
|
|
438
|
+
id: z.ZodOptional<z.ZodString>;
|
|
439
|
+
email: z.ZodOptional<z.ZodString>;
|
|
440
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
441
|
+
org_name: z.ZodOptional<z.ZodString>;
|
|
442
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
443
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
444
|
+
}, "strip", z.ZodTypeAny, {
|
|
445
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
446
|
+
id?: string | undefined;
|
|
447
|
+
email?: string | undefined;
|
|
448
|
+
org_id?: string | undefined;
|
|
449
|
+
org_name?: string | undefined;
|
|
450
|
+
scopes?: string[] | undefined;
|
|
451
|
+
client_id?: string | undefined;
|
|
452
|
+
}, {
|
|
453
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
454
|
+
id?: string | undefined;
|
|
455
|
+
email?: string | undefined;
|
|
456
|
+
org_id?: string | undefined;
|
|
457
|
+
org_name?: string | undefined;
|
|
458
|
+
scopes?: string[] | undefined;
|
|
459
|
+
client_id?: string | undefined;
|
|
460
|
+
}>;
|
|
461
|
+
target: z.ZodObject<{
|
|
462
|
+
type: z.ZodString;
|
|
463
|
+
id: z.ZodString;
|
|
464
|
+
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
465
|
+
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
466
|
+
diff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
467
|
+
old: z.ZodUnknown;
|
|
468
|
+
new: z.ZodUnknown;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
old?: unknown;
|
|
471
|
+
new?: unknown;
|
|
472
|
+
}, {
|
|
473
|
+
old?: unknown;
|
|
474
|
+
new?: unknown;
|
|
475
|
+
}>>>;
|
|
476
|
+
}, "strip", z.ZodTypeAny, {
|
|
477
|
+
type: string;
|
|
478
|
+
id: string;
|
|
479
|
+
before?: Record<string, unknown> | undefined;
|
|
480
|
+
after?: Record<string, unknown> | undefined;
|
|
481
|
+
diff?: Record<string, {
|
|
482
|
+
old?: unknown;
|
|
483
|
+
new?: unknown;
|
|
484
|
+
}> | undefined;
|
|
485
|
+
}, {
|
|
486
|
+
type: string;
|
|
487
|
+
id: string;
|
|
488
|
+
before?: Record<string, unknown> | undefined;
|
|
489
|
+
after?: Record<string, unknown> | undefined;
|
|
490
|
+
diff?: Record<string, {
|
|
491
|
+
old?: unknown;
|
|
492
|
+
new?: unknown;
|
|
493
|
+
}> | undefined;
|
|
494
|
+
}>;
|
|
495
|
+
request: z.ZodObject<{
|
|
496
|
+
method: z.ZodString;
|
|
497
|
+
path: z.ZodString;
|
|
498
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
499
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
500
|
+
ip: z.ZodString;
|
|
501
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
502
|
+
correlation_id: z.ZodOptional<z.ZodString>;
|
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
|
504
|
+
path: string;
|
|
505
|
+
method: string;
|
|
506
|
+
ip: string;
|
|
507
|
+
query?: Record<string, string> | undefined;
|
|
508
|
+
body?: unknown;
|
|
509
|
+
user_agent?: string | undefined;
|
|
510
|
+
correlation_id?: string | undefined;
|
|
511
|
+
}, {
|
|
512
|
+
path: string;
|
|
513
|
+
method: string;
|
|
514
|
+
ip: string;
|
|
515
|
+
query?: Record<string, string> | undefined;
|
|
516
|
+
body?: unknown;
|
|
517
|
+
user_agent?: string | undefined;
|
|
518
|
+
correlation_id?: string | undefined;
|
|
519
|
+
}>;
|
|
520
|
+
response: z.ZodOptional<z.ZodObject<{
|
|
521
|
+
status_code: z.ZodNumber;
|
|
522
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
523
|
+
}, "strip", z.ZodTypeAny, {
|
|
524
|
+
status_code: number;
|
|
525
|
+
body?: unknown;
|
|
526
|
+
}, {
|
|
527
|
+
status_code: number;
|
|
528
|
+
body?: unknown;
|
|
529
|
+
}>>;
|
|
530
|
+
connection: z.ZodOptional<z.ZodString>;
|
|
531
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
532
|
+
strategy_type: z.ZodOptional<z.ZodString>;
|
|
533
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
534
|
+
country_code: z.ZodString;
|
|
535
|
+
city_name: z.ZodString;
|
|
536
|
+
latitude: z.ZodString;
|
|
537
|
+
longitude: z.ZodString;
|
|
538
|
+
time_zone: z.ZodString;
|
|
539
|
+
continent_code: z.ZodString;
|
|
540
|
+
}, "strip", z.ZodTypeAny, {
|
|
541
|
+
country_code: string;
|
|
542
|
+
city_name: string;
|
|
543
|
+
latitude: string;
|
|
544
|
+
longitude: string;
|
|
545
|
+
time_zone: string;
|
|
546
|
+
continent_code: string;
|
|
547
|
+
}, {
|
|
548
|
+
country_code: string;
|
|
549
|
+
city_name: string;
|
|
550
|
+
latitude: string;
|
|
551
|
+
longitude: string;
|
|
552
|
+
time_zone: string;
|
|
553
|
+
continent_code: string;
|
|
554
|
+
}>>;
|
|
555
|
+
auth0_client: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
name: z.ZodString;
|
|
557
|
+
version: z.ZodString;
|
|
558
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
559
|
+
}, "strip", z.ZodTypeAny, {
|
|
560
|
+
name: string;
|
|
561
|
+
version: string;
|
|
562
|
+
env?: Record<string, string> | undefined;
|
|
563
|
+
}, {
|
|
564
|
+
name: string;
|
|
565
|
+
version: string;
|
|
566
|
+
env?: Record<string, string> | undefined;
|
|
567
|
+
}>>;
|
|
568
|
+
hostname: z.ZodString;
|
|
569
|
+
is_mobile: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
timestamp: z.ZodString;
|
|
571
|
+
} & {
|
|
572
|
+
id: z.ZodString;
|
|
573
|
+
}, "strip", z.ZodTypeAny, {
|
|
574
|
+
id: string;
|
|
575
|
+
tenant_id: string;
|
|
576
|
+
event_type: string;
|
|
577
|
+
log_type: string;
|
|
578
|
+
category: "user_action" | "admin_action" | "system" | "api";
|
|
579
|
+
actor: {
|
|
580
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
581
|
+
id?: string | undefined;
|
|
582
|
+
email?: string | undefined;
|
|
583
|
+
org_id?: string | undefined;
|
|
584
|
+
org_name?: string | undefined;
|
|
585
|
+
scopes?: string[] | undefined;
|
|
586
|
+
client_id?: string | undefined;
|
|
587
|
+
};
|
|
588
|
+
target: {
|
|
589
|
+
type: string;
|
|
590
|
+
id: string;
|
|
591
|
+
before?: Record<string, unknown> | undefined;
|
|
592
|
+
after?: Record<string, unknown> | undefined;
|
|
593
|
+
diff?: Record<string, {
|
|
594
|
+
old?: unknown;
|
|
595
|
+
new?: unknown;
|
|
596
|
+
}> | undefined;
|
|
597
|
+
};
|
|
598
|
+
request: {
|
|
599
|
+
path: string;
|
|
600
|
+
method: string;
|
|
601
|
+
ip: string;
|
|
602
|
+
query?: Record<string, string> | undefined;
|
|
603
|
+
body?: unknown;
|
|
604
|
+
user_agent?: string | undefined;
|
|
605
|
+
correlation_id?: string | undefined;
|
|
606
|
+
};
|
|
607
|
+
hostname: string;
|
|
608
|
+
timestamp: string;
|
|
609
|
+
description?: string | undefined;
|
|
610
|
+
response?: {
|
|
611
|
+
status_code: number;
|
|
612
|
+
body?: unknown;
|
|
613
|
+
} | undefined;
|
|
614
|
+
connection?: string | undefined;
|
|
615
|
+
strategy?: string | undefined;
|
|
616
|
+
strategy_type?: string | undefined;
|
|
617
|
+
location?: {
|
|
618
|
+
country_code: string;
|
|
619
|
+
city_name: string;
|
|
620
|
+
latitude: string;
|
|
621
|
+
longitude: string;
|
|
622
|
+
time_zone: string;
|
|
623
|
+
continent_code: string;
|
|
624
|
+
} | undefined;
|
|
625
|
+
auth0_client?: {
|
|
626
|
+
name: string;
|
|
627
|
+
version: string;
|
|
628
|
+
env?: Record<string, string> | undefined;
|
|
629
|
+
} | undefined;
|
|
630
|
+
is_mobile?: boolean | undefined;
|
|
631
|
+
}, {
|
|
632
|
+
id: string;
|
|
633
|
+
tenant_id: string;
|
|
634
|
+
event_type: string;
|
|
635
|
+
log_type: string;
|
|
636
|
+
category: "user_action" | "admin_action" | "system" | "api";
|
|
637
|
+
actor: {
|
|
638
|
+
type: "system" | "user" | "admin" | "api_key" | "client_credentials";
|
|
639
|
+
id?: string | undefined;
|
|
640
|
+
email?: string | undefined;
|
|
641
|
+
org_id?: string | undefined;
|
|
642
|
+
org_name?: string | undefined;
|
|
643
|
+
scopes?: string[] | undefined;
|
|
644
|
+
client_id?: string | undefined;
|
|
645
|
+
};
|
|
646
|
+
target: {
|
|
647
|
+
type: string;
|
|
648
|
+
id: string;
|
|
649
|
+
before?: Record<string, unknown> | undefined;
|
|
650
|
+
after?: Record<string, unknown> | undefined;
|
|
651
|
+
diff?: Record<string, {
|
|
652
|
+
old?: unknown;
|
|
653
|
+
new?: unknown;
|
|
654
|
+
}> | undefined;
|
|
655
|
+
};
|
|
656
|
+
request: {
|
|
657
|
+
path: string;
|
|
658
|
+
method: string;
|
|
659
|
+
ip: string;
|
|
660
|
+
query?: Record<string, string> | undefined;
|
|
661
|
+
body?: unknown;
|
|
662
|
+
user_agent?: string | undefined;
|
|
663
|
+
correlation_id?: string | undefined;
|
|
664
|
+
};
|
|
665
|
+
hostname: string;
|
|
666
|
+
timestamp: string;
|
|
667
|
+
description?: string | undefined;
|
|
668
|
+
response?: {
|
|
669
|
+
status_code: number;
|
|
670
|
+
body?: unknown;
|
|
671
|
+
} | undefined;
|
|
672
|
+
connection?: string | undefined;
|
|
673
|
+
strategy?: string | undefined;
|
|
674
|
+
strategy_type?: string | undefined;
|
|
675
|
+
location?: {
|
|
676
|
+
country_code: string;
|
|
677
|
+
city_name: string;
|
|
678
|
+
latitude: string;
|
|
679
|
+
longitude: string;
|
|
680
|
+
time_zone: string;
|
|
681
|
+
continent_code: string;
|
|
682
|
+
} | undefined;
|
|
683
|
+
auth0_client?: {
|
|
684
|
+
name: string;
|
|
685
|
+
version: string;
|
|
686
|
+
env?: Record<string, string> | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
is_mobile?: boolean | undefined;
|
|
689
|
+
}>;
|
|
690
|
+
export type AuditEvent = z.infer<typeof auditEventSchema>;
|
|
5
691
|
/**
|
|
6
692
|
* Flow action types supported by the system (Auth0 compatible)
|
|
7
693
|
* For now we support AUTH0, EMAIL, and REDIRECT types
|
|
@@ -902,10 +1588,10 @@ export declare const flowSchema: z.ZodObject<{
|
|
|
902
1588
|
created_at: z.ZodString;
|
|
903
1589
|
updated_at: z.ZodString;
|
|
904
1590
|
}, "strip", z.ZodTypeAny, {
|
|
1591
|
+
name: string;
|
|
1592
|
+
id: string;
|
|
905
1593
|
created_at: string;
|
|
906
1594
|
updated_at: string;
|
|
907
|
-
id: string;
|
|
908
|
-
name: string;
|
|
909
1595
|
actions: ({
|
|
910
1596
|
params: {
|
|
911
1597
|
user_id: string;
|
|
@@ -949,10 +1635,10 @@ export declare const flowSchema: z.ZodObject<{
|
|
|
949
1635
|
mask_output?: boolean | undefined;
|
|
950
1636
|
})[];
|
|
951
1637
|
}, {
|
|
1638
|
+
name: string;
|
|
1639
|
+
id: string;
|
|
952
1640
|
created_at: string;
|
|
953
1641
|
updated_at: string;
|
|
954
|
-
id: string;
|
|
955
|
-
name: string;
|
|
956
1642
|
actions?: ({
|
|
957
1643
|
params: {
|
|
958
1644
|
user_id: string;
|
|
@@ -1108,8 +1794,8 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
1108
1794
|
}>>;
|
|
1109
1795
|
}, "strip", z.ZodTypeAny, {
|
|
1110
1796
|
name?: string | undefined;
|
|
1111
|
-
user_id?: string | undefined;
|
|
1112
1797
|
email?: string | undefined;
|
|
1798
|
+
user_id?: string | undefined;
|
|
1113
1799
|
username?: string | undefined;
|
|
1114
1800
|
given_name?: string | undefined;
|
|
1115
1801
|
phone_number?: string | undefined;
|
|
@@ -1139,8 +1825,8 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
1139
1825
|
} | undefined;
|
|
1140
1826
|
}, {
|
|
1141
1827
|
name?: string | undefined;
|
|
1142
|
-
user_id?: string | undefined;
|
|
1143
1828
|
email?: string | undefined;
|
|
1829
|
+
user_id?: string | undefined;
|
|
1144
1830
|
username?: string | undefined;
|
|
1145
1831
|
given_name?: string | undefined;
|
|
1146
1832
|
phone_number?: string | undefined;
|
|
@@ -1234,15 +1920,15 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
1234
1920
|
algorithm: string;
|
|
1235
1921
|
}>>;
|
|
1236
1922
|
}, "strip", z.ZodTypeAny, {
|
|
1237
|
-
email_verified: boolean;
|
|
1238
1923
|
connection: string;
|
|
1924
|
+
email_verified: boolean;
|
|
1239
1925
|
password?: {
|
|
1240
1926
|
hash: string;
|
|
1241
1927
|
algorithm: string;
|
|
1242
1928
|
} | undefined;
|
|
1243
1929
|
name?: string | undefined;
|
|
1244
|
-
user_id?: string | undefined;
|
|
1245
1930
|
email?: string | undefined;
|
|
1931
|
+
user_id?: string | undefined;
|
|
1246
1932
|
username?: string | undefined;
|
|
1247
1933
|
given_name?: string | undefined;
|
|
1248
1934
|
phone_number?: string | undefined;
|
|
@@ -1282,8 +1968,8 @@ export declare const userInsertSchema: z.ZodObject<{
|
|
|
1282
1968
|
algorithm: string;
|
|
1283
1969
|
} | undefined;
|
|
1284
1970
|
name?: string | undefined;
|
|
1285
|
-
user_id?: string | undefined;
|
|
1286
1971
|
email?: string | undefined;
|
|
1972
|
+
user_id?: string | undefined;
|
|
1287
1973
|
email_verified?: boolean | undefined;
|
|
1288
1974
|
username?: string | undefined;
|
|
1289
1975
|
given_name?: string | undefined;
|
|
@@ -1367,8 +2053,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1367
2053
|
family_name: z.ZodOptional<z.ZodString>;
|
|
1368
2054
|
}, z.ZodAny, "strip">>>;
|
|
1369
2055
|
}, "strip", z.ZodTypeAny, {
|
|
1370
|
-
user_id: string;
|
|
1371
2056
|
connection: string;
|
|
2057
|
+
user_id: string;
|
|
1372
2058
|
provider: string;
|
|
1373
2059
|
isSocial: boolean;
|
|
1374
2060
|
email?: string | undefined;
|
|
@@ -1390,8 +2076,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1390
2076
|
family_name: z.ZodOptional<z.ZodString>;
|
|
1391
2077
|
}, z.ZodAny, "strip"> | undefined;
|
|
1392
2078
|
}, {
|
|
1393
|
-
user_id: string;
|
|
1394
2079
|
connection: string;
|
|
2080
|
+
user_id: string;
|
|
1395
2081
|
provider: string;
|
|
1396
2082
|
isSocial: boolean;
|
|
1397
2083
|
email?: string | undefined;
|
|
@@ -1416,13 +2102,13 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1416
2102
|
created_at: z.ZodString;
|
|
1417
2103
|
updated_at: z.ZodString;
|
|
1418
2104
|
name: z.ZodOptional<z.ZodString>;
|
|
2105
|
+
connection: z.ZodString;
|
|
1419
2106
|
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
1420
2107
|
username: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1421
2108
|
given_name: z.ZodOptional<z.ZodString>;
|
|
1422
2109
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
1423
2110
|
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1424
2111
|
family_name: z.ZodOptional<z.ZodString>;
|
|
1425
|
-
connection: z.ZodString;
|
|
1426
2112
|
profileData: z.ZodOptional<z.ZodString>;
|
|
1427
2113
|
nickname: z.ZodOptional<z.ZodString>;
|
|
1428
2114
|
picture: z.ZodOptional<z.ZodString>;
|
|
@@ -1463,11 +2149,11 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1463
2149
|
last_ip: z.ZodOptional<z.ZodString>;
|
|
1464
2150
|
last_login: z.ZodOptional<z.ZodString>;
|
|
1465
2151
|
}, "strip", z.ZodTypeAny, {
|
|
2152
|
+
connection: string;
|
|
1466
2153
|
created_at: string;
|
|
1467
2154
|
updated_at: string;
|
|
1468
2155
|
user_id: string;
|
|
1469
2156
|
email_verified: boolean;
|
|
1470
|
-
connection: string;
|
|
1471
2157
|
provider: string;
|
|
1472
2158
|
is_social: boolean;
|
|
1473
2159
|
login_count: number;
|
|
@@ -1504,8 +2190,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1504
2190
|
last_ip?: string | undefined;
|
|
1505
2191
|
last_login?: string | undefined;
|
|
1506
2192
|
identities?: {
|
|
1507
|
-
user_id: string;
|
|
1508
2193
|
connection: string;
|
|
2194
|
+
user_id: string;
|
|
1509
2195
|
provider: string;
|
|
1510
2196
|
isSocial: boolean;
|
|
1511
2197
|
email?: string | undefined;
|
|
@@ -1528,10 +2214,10 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1528
2214
|
}, z.ZodAny, "strip"> | undefined;
|
|
1529
2215
|
}[] | undefined;
|
|
1530
2216
|
}, {
|
|
2217
|
+
connection: string;
|
|
1531
2218
|
created_at: string;
|
|
1532
2219
|
updated_at: string;
|
|
1533
2220
|
user_id: string;
|
|
1534
|
-
connection: string;
|
|
1535
2221
|
provider: string;
|
|
1536
2222
|
is_social: boolean;
|
|
1537
2223
|
name?: string | undefined;
|
|
@@ -1569,8 +2255,8 @@ export declare const userSchema: z.ZodObject<{
|
|
|
1569
2255
|
last_login?: string | undefined;
|
|
1570
2256
|
login_count?: number | undefined;
|
|
1571
2257
|
identities?: {
|
|
1572
|
-
user_id: string;
|
|
1573
2258
|
connection: string;
|
|
2259
|
+
user_id: string;
|
|
1574
2260
|
provider: string;
|
|
1575
2261
|
isSocial: boolean;
|
|
1576
2262
|
email?: string | undefined;
|
|
@@ -1642,8 +2328,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
1642
2328
|
family_name: z.ZodOptional<z.ZodString>;
|
|
1643
2329
|
}, z.ZodAny, "strip">>>;
|
|
1644
2330
|
}, "strip", z.ZodTypeAny, {
|
|
1645
|
-
user_id: string;
|
|
1646
2331
|
connection: string;
|
|
2332
|
+
user_id: string;
|
|
1647
2333
|
provider: string;
|
|
1648
2334
|
isSocial: boolean;
|
|
1649
2335
|
email?: string | undefined;
|
|
@@ -1665,8 +2351,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
1665
2351
|
family_name: z.ZodOptional<z.ZodString>;
|
|
1666
2352
|
}, z.ZodAny, "strip"> | undefined;
|
|
1667
2353
|
}, {
|
|
1668
|
-
user_id: string;
|
|
1669
2354
|
connection: string;
|
|
2355
|
+
user_id: string;
|
|
1670
2356
|
provider: string;
|
|
1671
2357
|
isSocial: boolean;
|
|
1672
2358
|
email?: string | undefined;
|
|
@@ -1691,13 +2377,13 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
1691
2377
|
created_at: z.ZodString;
|
|
1692
2378
|
updated_at: z.ZodString;
|
|
1693
2379
|
name: z.ZodOptional<z.ZodString>;
|
|
2380
|
+
connection: z.ZodString;
|
|
1694
2381
|
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
1695
2382
|
username: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1696
2383
|
given_name: z.ZodOptional<z.ZodString>;
|
|
1697
2384
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
1698
2385
|
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1699
2386
|
family_name: z.ZodOptional<z.ZodString>;
|
|
1700
|
-
connection: z.ZodString;
|
|
1701
2387
|
profileData: z.ZodOptional<z.ZodString>;
|
|
1702
2388
|
nickname: z.ZodOptional<z.ZodString>;
|
|
1703
2389
|
picture: z.ZodOptional<z.ZodString>;
|
|
@@ -1738,11 +2424,11 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
1738
2424
|
last_ip: z.ZodOptional<z.ZodString>;
|
|
1739
2425
|
last_login: z.ZodOptional<z.ZodString>;
|
|
1740
2426
|
}, "strip", z.ZodTypeAny, {
|
|
2427
|
+
connection: string;
|
|
1741
2428
|
created_at: string;
|
|
1742
2429
|
updated_at: string;
|
|
1743
2430
|
user_id: string;
|
|
1744
2431
|
email_verified: boolean;
|
|
1745
|
-
connection: string;
|
|
1746
2432
|
provider: string;
|
|
1747
2433
|
is_social: boolean;
|
|
1748
2434
|
login_count: number;
|
|
@@ -1779,8 +2465,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
1779
2465
|
last_ip?: string | undefined;
|
|
1780
2466
|
last_login?: string | undefined;
|
|
1781
2467
|
identities?: {
|
|
1782
|
-
user_id: string;
|
|
1783
2468
|
connection: string;
|
|
2469
|
+
user_id: string;
|
|
1784
2470
|
provider: string;
|
|
1785
2471
|
isSocial: boolean;
|
|
1786
2472
|
email?: string | undefined;
|
|
@@ -1803,10 +2489,10 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
1803
2489
|
}, z.ZodAny, "strip"> | undefined;
|
|
1804
2490
|
}[] | undefined;
|
|
1805
2491
|
}, {
|
|
2492
|
+
connection: string;
|
|
1806
2493
|
created_at: string;
|
|
1807
2494
|
updated_at: string;
|
|
1808
2495
|
user_id: string;
|
|
1809
|
-
connection: string;
|
|
1810
2496
|
provider: string;
|
|
1811
2497
|
is_social: boolean;
|
|
1812
2498
|
name?: string | undefined;
|
|
@@ -1844,8 +2530,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
1844
2530
|
last_login?: string | undefined;
|
|
1845
2531
|
login_count?: number | undefined;
|
|
1846
2532
|
identities?: {
|
|
1847
|
-
user_id: string;
|
|
1848
2533
|
connection: string;
|
|
2534
|
+
user_id: string;
|
|
1849
2535
|
provider: string;
|
|
1850
2536
|
isSocial: boolean;
|
|
1851
2537
|
email?: string | undefined;
|
|
@@ -2316,10 +3002,10 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
2316
3002
|
created_at: z.ZodString;
|
|
2317
3003
|
updated_at: z.ZodString;
|
|
2318
3004
|
}, "strip", z.ZodTypeAny, {
|
|
2319
|
-
created_at: string;
|
|
2320
|
-
updated_at: string;
|
|
2321
3005
|
name: string;
|
|
2322
3006
|
client_id: string;
|
|
3007
|
+
created_at: string;
|
|
3008
|
+
updated_at: string;
|
|
2323
3009
|
global: boolean;
|
|
2324
3010
|
is_first_party: boolean;
|
|
2325
3011
|
oidc_conformant: boolean;
|
|
@@ -2367,10 +3053,10 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
2367
3053
|
par_request_expiry?: number | undefined;
|
|
2368
3054
|
token_quota?: Record<string, any> | undefined;
|
|
2369
3055
|
}, {
|
|
2370
|
-
created_at: string;
|
|
2371
|
-
updated_at: string;
|
|
2372
3056
|
name: string;
|
|
2373
3057
|
client_id: string;
|
|
3058
|
+
created_at: string;
|
|
3059
|
+
updated_at: string;
|
|
2374
3060
|
description?: string | undefined;
|
|
2375
3061
|
refresh_token?: Record<string, any> | undefined;
|
|
2376
3062
|
global?: boolean | undefined;
|
|
@@ -2442,7 +3128,7 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
|
|
|
2442
3128
|
scope?: string[] | undefined;
|
|
2443
3129
|
allow_any_organization?: boolean | undefined;
|
|
2444
3130
|
is_system?: boolean | undefined;
|
|
2445
|
-
subject_type?: "
|
|
3131
|
+
subject_type?: "user" | "client" | undefined;
|
|
2446
3132
|
authorization_details_types?: string[] | undefined;
|
|
2447
3133
|
}, {
|
|
2448
3134
|
client_id: string;
|
|
@@ -2451,7 +3137,7 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
|
|
|
2451
3137
|
scope?: string[] | undefined;
|
|
2452
3138
|
allow_any_organization?: boolean | undefined;
|
|
2453
3139
|
is_system?: boolean | undefined;
|
|
2454
|
-
subject_type?: "
|
|
3140
|
+
subject_type?: "user" | "client" | undefined;
|
|
2455
3141
|
authorization_details_types?: string[] | undefined;
|
|
2456
3142
|
}>;
|
|
2457
3143
|
export type ClientGrantInsert = z.input<typeof clientGrantInsertSchema>;
|
|
@@ -2484,7 +3170,7 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
2484
3170
|
scope?: string[] | undefined;
|
|
2485
3171
|
allow_any_organization?: boolean | undefined;
|
|
2486
3172
|
is_system?: boolean | undefined;
|
|
2487
|
-
subject_type?: "
|
|
3173
|
+
subject_type?: "user" | "client" | undefined;
|
|
2488
3174
|
authorization_details_types?: string[] | undefined;
|
|
2489
3175
|
}, {
|
|
2490
3176
|
id: string;
|
|
@@ -2496,7 +3182,7 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
2496
3182
|
scope?: string[] | undefined;
|
|
2497
3183
|
allow_any_organization?: boolean | undefined;
|
|
2498
3184
|
is_system?: boolean | undefined;
|
|
2499
|
-
subject_type?: "
|
|
3185
|
+
subject_type?: "user" | "client" | undefined;
|
|
2500
3186
|
authorization_details_types?: string[] | undefined;
|
|
2501
3187
|
}>;
|
|
2502
3188
|
export type ClientGrant = z.infer<typeof clientGrantSchema>;
|
|
@@ -2529,7 +3215,7 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
2529
3215
|
scope?: string[] | undefined;
|
|
2530
3216
|
allow_any_organization?: boolean | undefined;
|
|
2531
3217
|
is_system?: boolean | undefined;
|
|
2532
|
-
subject_type?: "
|
|
3218
|
+
subject_type?: "user" | "client" | undefined;
|
|
2533
3219
|
authorization_details_types?: string[] | undefined;
|
|
2534
3220
|
}, {
|
|
2535
3221
|
id: string;
|
|
@@ -2541,7 +3227,7 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
2541
3227
|
scope?: string[] | undefined;
|
|
2542
3228
|
allow_any_organization?: boolean | undefined;
|
|
2543
3229
|
is_system?: boolean | undefined;
|
|
2544
|
-
subject_type?: "
|
|
3230
|
+
subject_type?: "user" | "client" | undefined;
|
|
2545
3231
|
authorization_details_types?: string[] | undefined;
|
|
2546
3232
|
}>, "many">;
|
|
2547
3233
|
export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
|
|
@@ -8349,7 +9035,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
8349
9035
|
sdkSrc: z.ZodOptional<z.ZodString>;
|
|
8350
9036
|
sdk_src: z.ZodOptional<z.ZodString>;
|
|
8351
9037
|
}, z.ZodTypeAny, "passthrough">>;
|
|
8352
|
-
}, "
|
|
9038
|
+
}, "id" | "created_at" | "updated_at">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
|
|
8353
9039
|
id: z.ZodString;
|
|
8354
9040
|
name: z.ZodString;
|
|
8355
9041
|
languages: z.ZodObject<{
|
|
@@ -9270,7 +9956,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
9270
9956
|
sdkSrc: z.ZodOptional<z.ZodString>;
|
|
9271
9957
|
sdk_src: z.ZodOptional<z.ZodString>;
|
|
9272
9958
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9273
|
-
}, "
|
|
9959
|
+
}, "id" | "created_at" | "updated_at">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
|
|
9274
9960
|
id: z.ZodString;
|
|
9275
9961
|
name: z.ZodString;
|
|
9276
9962
|
languages: z.ZodObject<{
|
|
@@ -10191,7 +10877,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
10191
10877
|
sdkSrc: z.ZodOptional<z.ZodString>;
|
|
10192
10878
|
sdk_src: z.ZodOptional<z.ZodString>;
|
|
10193
10879
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10194
|
-
}, "
|
|
10880
|
+
}, "id" | "created_at" | "updated_at">, z.ZodTypeAny, "passthrough">>;
|
|
10195
10881
|
export interface Auth0FlowInsert {
|
|
10196
10882
|
name: string;
|
|
10197
10883
|
languages: {
|
|
@@ -10920,8 +11606,8 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
10920
11606
|
max?: number | undefined;
|
|
10921
11607
|
} | undefined;
|
|
10922
11608
|
} | undefined;
|
|
10923
|
-
provider?: string | undefined;
|
|
10924
11609
|
client_id?: string | undefined;
|
|
11610
|
+
provider?: string | undefined;
|
|
10925
11611
|
client_secret?: string | undefined;
|
|
10926
11612
|
scope?: string | undefined;
|
|
10927
11613
|
kid?: string | undefined;
|
|
@@ -11023,8 +11709,8 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
11023
11709
|
max?: number | undefined;
|
|
11024
11710
|
} | undefined;
|
|
11025
11711
|
} | undefined;
|
|
11026
|
-
provider?: string | undefined;
|
|
11027
11712
|
client_id?: string | undefined;
|
|
11713
|
+
provider?: string | undefined;
|
|
11028
11714
|
client_secret?: string | undefined;
|
|
11029
11715
|
scope?: string | undefined;
|
|
11030
11716
|
kid?: string | undefined;
|
|
@@ -11552,8 +12238,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
11552
12238
|
max?: number | undefined;
|
|
11553
12239
|
} | undefined;
|
|
11554
12240
|
} | undefined;
|
|
11555
|
-
provider?: string | undefined;
|
|
11556
12241
|
client_id?: string | undefined;
|
|
12242
|
+
provider?: string | undefined;
|
|
11557
12243
|
client_secret?: string | undefined;
|
|
11558
12244
|
scope?: string | undefined;
|
|
11559
12245
|
kid?: string | undefined;
|
|
@@ -11655,8 +12341,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
11655
12341
|
max?: number | undefined;
|
|
11656
12342
|
} | undefined;
|
|
11657
12343
|
} | undefined;
|
|
11658
|
-
provider?: string | undefined;
|
|
11659
12344
|
client_id?: string | undefined;
|
|
12345
|
+
provider?: string | undefined;
|
|
11660
12346
|
client_secret?: string | undefined;
|
|
11661
12347
|
scope?: string | undefined;
|
|
11662
12348
|
kid?: string | undefined;
|
|
@@ -11767,8 +12453,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
11767
12453
|
max?: number | undefined;
|
|
11768
12454
|
} | undefined;
|
|
11769
12455
|
} | undefined;
|
|
11770
|
-
provider?: string | undefined;
|
|
11771
12456
|
client_id?: string | undefined;
|
|
12457
|
+
provider?: string | undefined;
|
|
11772
12458
|
client_secret?: string | undefined;
|
|
11773
12459
|
scope?: string | undefined;
|
|
11774
12460
|
kid?: string | undefined;
|
|
@@ -11885,8 +12571,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
11885
12571
|
max?: number | undefined;
|
|
11886
12572
|
} | undefined;
|
|
11887
12573
|
} | undefined;
|
|
11888
|
-
provider?: string | undefined;
|
|
11889
12574
|
client_id?: string | undefined;
|
|
12575
|
+
provider?: string | undefined;
|
|
11890
12576
|
client_secret?: string | undefined;
|
|
11891
12577
|
scope?: string | undefined;
|
|
11892
12578
|
kid?: string | undefined;
|
|
@@ -12428,8 +13114,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
12428
13114
|
max?: number | undefined;
|
|
12429
13115
|
} | undefined;
|
|
12430
13116
|
} | undefined;
|
|
12431
|
-
provider?: string | undefined;
|
|
12432
13117
|
client_id?: string | undefined;
|
|
13118
|
+
provider?: string | undefined;
|
|
12433
13119
|
client_secret?: string | undefined;
|
|
12434
13120
|
scope?: string | undefined;
|
|
12435
13121
|
kid?: string | undefined;
|
|
@@ -12531,8 +13217,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
12531
13217
|
max?: number | undefined;
|
|
12532
13218
|
} | undefined;
|
|
12533
13219
|
} | undefined;
|
|
12534
|
-
provider?: string | undefined;
|
|
12535
13220
|
client_id?: string | undefined;
|
|
13221
|
+
provider?: string | undefined;
|
|
12536
13222
|
client_secret?: string | undefined;
|
|
12537
13223
|
scope?: string | undefined;
|
|
12538
13224
|
kid?: string | undefined;
|
|
@@ -12636,8 +13322,6 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
12636
13322
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12637
13323
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
12638
13324
|
}, "strip", z.ZodTypeAny, {
|
|
12639
|
-
created_at: string;
|
|
12640
|
-
updated_at: string;
|
|
12641
13325
|
options: {
|
|
12642
13326
|
validation?: {
|
|
12643
13327
|
username?: {
|
|
@@ -12645,8 +13329,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
12645
13329
|
max?: number | undefined;
|
|
12646
13330
|
} | undefined;
|
|
12647
13331
|
} | undefined;
|
|
12648
|
-
provider?: string | undefined;
|
|
12649
13332
|
client_id?: string | undefined;
|
|
13333
|
+
provider?: string | undefined;
|
|
12650
13334
|
client_secret?: string | undefined;
|
|
12651
13335
|
scope?: string | undefined;
|
|
12652
13336
|
kid?: string | undefined;
|
|
@@ -12744,6 +13428,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
12744
13428
|
};
|
|
12745
13429
|
name: string;
|
|
12746
13430
|
strategy: string;
|
|
13431
|
+
created_at: string;
|
|
13432
|
+
updated_at: string;
|
|
12747
13433
|
id?: string | undefined;
|
|
12748
13434
|
is_system?: boolean | undefined;
|
|
12749
13435
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -12754,10 +13440,10 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
12754
13440
|
show_as_button?: boolean | undefined;
|
|
12755
13441
|
metadata?: Record<string, any> | undefined;
|
|
12756
13442
|
}, {
|
|
12757
|
-
created_at: string;
|
|
12758
|
-
updated_at: string;
|
|
12759
13443
|
name: string;
|
|
12760
13444
|
strategy: string;
|
|
13445
|
+
created_at: string;
|
|
13446
|
+
updated_at: string;
|
|
12761
13447
|
options?: {
|
|
12762
13448
|
validation?: {
|
|
12763
13449
|
username?: {
|
|
@@ -12765,8 +13451,8 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
12765
13451
|
max?: number | undefined;
|
|
12766
13452
|
} | undefined;
|
|
12767
13453
|
} | undefined;
|
|
12768
|
-
provider?: string | undefined;
|
|
12769
13454
|
client_id?: string | undefined;
|
|
13455
|
+
provider?: string | undefined;
|
|
12770
13456
|
client_secret?: string | undefined;
|
|
12771
13457
|
scope?: string | undefined;
|
|
12772
13458
|
kid?: string | undefined;
|
|
@@ -13146,10 +13832,10 @@ export declare const customDomainWithTenantIdSchema: z.ZodObject<{
|
|
|
13146
13832
|
}, "strip", z.ZodTypeAny, {
|
|
13147
13833
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
13148
13834
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
13835
|
+
tenant_id: string;
|
|
13149
13836
|
primary: boolean;
|
|
13150
13837
|
domain: string;
|
|
13151
13838
|
custom_domain_id: string;
|
|
13152
|
-
tenant_id: string;
|
|
13153
13839
|
verification?: {
|
|
13154
13840
|
methods: ({
|
|
13155
13841
|
name: "txt";
|
|
@@ -13169,10 +13855,10 @@ export declare const customDomainWithTenantIdSchema: z.ZodObject<{
|
|
|
13169
13855
|
}, {
|
|
13170
13856
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
13171
13857
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
13858
|
+
tenant_id: string;
|
|
13172
13859
|
primary: boolean;
|
|
13173
13860
|
domain: string;
|
|
13174
13861
|
custom_domain_id: string;
|
|
13175
|
-
tenant_id: string;
|
|
13176
13862
|
verification?: {
|
|
13177
13863
|
methods: ({
|
|
13178
13864
|
name: "txt";
|
|
@@ -14741,33 +15427,33 @@ declare const socialField: z.ZodObject<{
|
|
|
14741
15427
|
href: z.ZodOptional<z.ZodString>;
|
|
14742
15428
|
}, "strip", z.ZodTypeAny, {
|
|
14743
15429
|
name: string;
|
|
15430
|
+
strategy?: string | undefined;
|
|
14744
15431
|
icon_url?: string | undefined;
|
|
14745
15432
|
display_name?: string | undefined;
|
|
14746
|
-
strategy?: string | undefined;
|
|
14747
15433
|
href?: string | undefined;
|
|
14748
15434
|
}, {
|
|
14749
15435
|
name: string;
|
|
15436
|
+
strategy?: string | undefined;
|
|
14750
15437
|
icon_url?: string | undefined;
|
|
14751
15438
|
display_name?: string | undefined;
|
|
14752
|
-
strategy?: string | undefined;
|
|
14753
15439
|
href?: string | undefined;
|
|
14754
15440
|
}>, "many">>;
|
|
14755
15441
|
}, "strip", z.ZodTypeAny, {
|
|
14756
15442
|
providers?: string[] | undefined;
|
|
14757
15443
|
provider_details?: {
|
|
14758
15444
|
name: string;
|
|
15445
|
+
strategy?: string | undefined;
|
|
14759
15446
|
icon_url?: string | undefined;
|
|
14760
15447
|
display_name?: string | undefined;
|
|
14761
|
-
strategy?: string | undefined;
|
|
14762
15448
|
href?: string | undefined;
|
|
14763
15449
|
}[] | undefined;
|
|
14764
15450
|
}, {
|
|
14765
15451
|
providers?: string[] | undefined;
|
|
14766
15452
|
provider_details?: {
|
|
14767
15453
|
name: string;
|
|
15454
|
+
strategy?: string | undefined;
|
|
14768
15455
|
icon_url?: string | undefined;
|
|
14769
15456
|
display_name?: string | undefined;
|
|
14770
|
-
strategy?: string | undefined;
|
|
14771
15457
|
href?: string | undefined;
|
|
14772
15458
|
}[] | undefined;
|
|
14773
15459
|
}>>;
|
|
@@ -14781,9 +15467,9 @@ declare const socialField: z.ZodObject<{
|
|
|
14781
15467
|
providers?: string[] | undefined;
|
|
14782
15468
|
provider_details?: {
|
|
14783
15469
|
name: string;
|
|
15470
|
+
strategy?: string | undefined;
|
|
14784
15471
|
icon_url?: string | undefined;
|
|
14785
15472
|
display_name?: string | undefined;
|
|
14786
|
-
strategy?: string | undefined;
|
|
14787
15473
|
href?: string | undefined;
|
|
14788
15474
|
}[] | undefined;
|
|
14789
15475
|
} | undefined;
|
|
@@ -14805,9 +15491,9 @@ declare const socialField: z.ZodObject<{
|
|
|
14805
15491
|
providers?: string[] | undefined;
|
|
14806
15492
|
provider_details?: {
|
|
14807
15493
|
name: string;
|
|
15494
|
+
strategy?: string | undefined;
|
|
14808
15495
|
icon_url?: string | undefined;
|
|
14809
15496
|
display_name?: string | undefined;
|
|
14810
|
-
strategy?: string | undefined;
|
|
14811
15497
|
href?: string | undefined;
|
|
14812
15498
|
}[] | undefined;
|
|
14813
15499
|
} | undefined;
|
|
@@ -16835,33 +17521,33 @@ declare const fieldComponentSchema$1: z.ZodDiscriminatedUnion<"type", [
|
|
|
16835
17521
|
href: z.ZodOptional<z.ZodString>;
|
|
16836
17522
|
}, "strip", z.ZodTypeAny, {
|
|
16837
17523
|
name: string;
|
|
17524
|
+
strategy?: string | undefined;
|
|
16838
17525
|
icon_url?: string | undefined;
|
|
16839
17526
|
display_name?: string | undefined;
|
|
16840
|
-
strategy?: string | undefined;
|
|
16841
17527
|
href?: string | undefined;
|
|
16842
17528
|
}, {
|
|
16843
17529
|
name: string;
|
|
17530
|
+
strategy?: string | undefined;
|
|
16844
17531
|
icon_url?: string | undefined;
|
|
16845
17532
|
display_name?: string | undefined;
|
|
16846
|
-
strategy?: string | undefined;
|
|
16847
17533
|
href?: string | undefined;
|
|
16848
17534
|
}>, "many">>;
|
|
16849
17535
|
}, "strip", z.ZodTypeAny, {
|
|
16850
17536
|
providers?: string[] | undefined;
|
|
16851
17537
|
provider_details?: {
|
|
16852
17538
|
name: string;
|
|
17539
|
+
strategy?: string | undefined;
|
|
16853
17540
|
icon_url?: string | undefined;
|
|
16854
17541
|
display_name?: string | undefined;
|
|
16855
|
-
strategy?: string | undefined;
|
|
16856
17542
|
href?: string | undefined;
|
|
16857
17543
|
}[] | undefined;
|
|
16858
17544
|
}, {
|
|
16859
17545
|
providers?: string[] | undefined;
|
|
16860
17546
|
provider_details?: {
|
|
16861
17547
|
name: string;
|
|
17548
|
+
strategy?: string | undefined;
|
|
16862
17549
|
icon_url?: string | undefined;
|
|
16863
17550
|
display_name?: string | undefined;
|
|
16864
|
-
strategy?: string | undefined;
|
|
16865
17551
|
href?: string | undefined;
|
|
16866
17552
|
}[] | undefined;
|
|
16867
17553
|
}>>;
|
|
@@ -16875,9 +17561,9 @@ declare const fieldComponentSchema$1: z.ZodDiscriminatedUnion<"type", [
|
|
|
16875
17561
|
providers?: string[] | undefined;
|
|
16876
17562
|
provider_details?: {
|
|
16877
17563
|
name: string;
|
|
17564
|
+
strategy?: string | undefined;
|
|
16878
17565
|
icon_url?: string | undefined;
|
|
16879
17566
|
display_name?: string | undefined;
|
|
16880
|
-
strategy?: string | undefined;
|
|
16881
17567
|
href?: string | undefined;
|
|
16882
17568
|
}[] | undefined;
|
|
16883
17569
|
} | undefined;
|
|
@@ -16899,9 +17585,9 @@ declare const fieldComponentSchema$1: z.ZodDiscriminatedUnion<"type", [
|
|
|
16899
17585
|
providers?: string[] | undefined;
|
|
16900
17586
|
provider_details?: {
|
|
16901
17587
|
name: string;
|
|
17588
|
+
strategy?: string | undefined;
|
|
16902
17589
|
icon_url?: string | undefined;
|
|
16903
17590
|
display_name?: string | undefined;
|
|
16904
|
-
strategy?: string | undefined;
|
|
16905
17591
|
href?: string | undefined;
|
|
16906
17592
|
}[] | undefined;
|
|
16907
17593
|
} | undefined;
|
|
@@ -18846,33 +19532,33 @@ export declare const formNodeComponentDefinition: z.ZodUnion<[
|
|
|
18846
19532
|
href: z.ZodOptional<z.ZodString>;
|
|
18847
19533
|
}, "strip", z.ZodTypeAny, {
|
|
18848
19534
|
name: string;
|
|
19535
|
+
strategy?: string | undefined;
|
|
18849
19536
|
icon_url?: string | undefined;
|
|
18850
19537
|
display_name?: string | undefined;
|
|
18851
|
-
strategy?: string | undefined;
|
|
18852
19538
|
href?: string | undefined;
|
|
18853
19539
|
}, {
|
|
18854
19540
|
name: string;
|
|
19541
|
+
strategy?: string | undefined;
|
|
18855
19542
|
icon_url?: string | undefined;
|
|
18856
19543
|
display_name?: string | undefined;
|
|
18857
|
-
strategy?: string | undefined;
|
|
18858
19544
|
href?: string | undefined;
|
|
18859
19545
|
}>, "many">>;
|
|
18860
19546
|
}, "strip", z.ZodTypeAny, {
|
|
18861
19547
|
providers?: string[] | undefined;
|
|
18862
19548
|
provider_details?: {
|
|
18863
19549
|
name: string;
|
|
19550
|
+
strategy?: string | undefined;
|
|
18864
19551
|
icon_url?: string | undefined;
|
|
18865
19552
|
display_name?: string | undefined;
|
|
18866
|
-
strategy?: string | undefined;
|
|
18867
19553
|
href?: string | undefined;
|
|
18868
19554
|
}[] | undefined;
|
|
18869
19555
|
}, {
|
|
18870
19556
|
providers?: string[] | undefined;
|
|
18871
19557
|
provider_details?: {
|
|
18872
19558
|
name: string;
|
|
19559
|
+
strategy?: string | undefined;
|
|
18873
19560
|
icon_url?: string | undefined;
|
|
18874
19561
|
display_name?: string | undefined;
|
|
18875
|
-
strategy?: string | undefined;
|
|
18876
19562
|
href?: string | undefined;
|
|
18877
19563
|
}[] | undefined;
|
|
18878
19564
|
}>>;
|
|
@@ -18886,9 +19572,9 @@ export declare const formNodeComponentDefinition: z.ZodUnion<[
|
|
|
18886
19572
|
providers?: string[] | undefined;
|
|
18887
19573
|
provider_details?: {
|
|
18888
19574
|
name: string;
|
|
19575
|
+
strategy?: string | undefined;
|
|
18889
19576
|
icon_url?: string | undefined;
|
|
18890
19577
|
display_name?: string | undefined;
|
|
18891
|
-
strategy?: string | undefined;
|
|
18892
19578
|
href?: string | undefined;
|
|
18893
19579
|
}[] | undefined;
|
|
18894
19580
|
} | undefined;
|
|
@@ -18910,9 +19596,9 @@ export declare const formNodeComponentDefinition: z.ZodUnion<[
|
|
|
18910
19596
|
providers?: string[] | undefined;
|
|
18911
19597
|
provider_details?: {
|
|
18912
19598
|
name: string;
|
|
19599
|
+
strategy?: string | undefined;
|
|
18913
19600
|
icon_url?: string | undefined;
|
|
18914
19601
|
display_name?: string | undefined;
|
|
18915
|
-
strategy?: string | undefined;
|
|
18916
19602
|
href?: string | undefined;
|
|
18917
19603
|
}[] | undefined;
|
|
18918
19604
|
} | undefined;
|
|
@@ -21073,33 +21759,33 @@ declare const stepNodeSchema$1: z.ZodObject<{
|
|
|
21073
21759
|
href: z.ZodOptional<z.ZodString>;
|
|
21074
21760
|
}, "strip", z.ZodTypeAny, {
|
|
21075
21761
|
name: string;
|
|
21762
|
+
strategy?: string | undefined;
|
|
21076
21763
|
icon_url?: string | undefined;
|
|
21077
21764
|
display_name?: string | undefined;
|
|
21078
|
-
strategy?: string | undefined;
|
|
21079
21765
|
href?: string | undefined;
|
|
21080
21766
|
}, {
|
|
21081
21767
|
name: string;
|
|
21768
|
+
strategy?: string | undefined;
|
|
21082
21769
|
icon_url?: string | undefined;
|
|
21083
21770
|
display_name?: string | undefined;
|
|
21084
|
-
strategy?: string | undefined;
|
|
21085
21771
|
href?: string | undefined;
|
|
21086
21772
|
}>, "many">>;
|
|
21087
21773
|
}, "strip", z.ZodTypeAny, {
|
|
21088
21774
|
providers?: string[] | undefined;
|
|
21089
21775
|
provider_details?: {
|
|
21090
21776
|
name: string;
|
|
21777
|
+
strategy?: string | undefined;
|
|
21091
21778
|
icon_url?: string | undefined;
|
|
21092
21779
|
display_name?: string | undefined;
|
|
21093
|
-
strategy?: string | undefined;
|
|
21094
21780
|
href?: string | undefined;
|
|
21095
21781
|
}[] | undefined;
|
|
21096
21782
|
}, {
|
|
21097
21783
|
providers?: string[] | undefined;
|
|
21098
21784
|
provider_details?: {
|
|
21099
21785
|
name: string;
|
|
21786
|
+
strategy?: string | undefined;
|
|
21100
21787
|
icon_url?: string | undefined;
|
|
21101
21788
|
display_name?: string | undefined;
|
|
21102
|
-
strategy?: string | undefined;
|
|
21103
21789
|
href?: string | undefined;
|
|
21104
21790
|
}[] | undefined;
|
|
21105
21791
|
}>>;
|
|
@@ -21113,9 +21799,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
|
|
|
21113
21799
|
providers?: string[] | undefined;
|
|
21114
21800
|
provider_details?: {
|
|
21115
21801
|
name: string;
|
|
21802
|
+
strategy?: string | undefined;
|
|
21116
21803
|
icon_url?: string | undefined;
|
|
21117
21804
|
display_name?: string | undefined;
|
|
21118
|
-
strategy?: string | undefined;
|
|
21119
21805
|
href?: string | undefined;
|
|
21120
21806
|
}[] | undefined;
|
|
21121
21807
|
} | undefined;
|
|
@@ -21137,9 +21823,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
|
|
|
21137
21823
|
providers?: string[] | undefined;
|
|
21138
21824
|
provider_details?: {
|
|
21139
21825
|
name: string;
|
|
21826
|
+
strategy?: string | undefined;
|
|
21140
21827
|
icon_url?: string | undefined;
|
|
21141
21828
|
display_name?: string | undefined;
|
|
21142
|
-
strategy?: string | undefined;
|
|
21143
21829
|
href?: string | undefined;
|
|
21144
21830
|
}[] | undefined;
|
|
21145
21831
|
} | undefined;
|
|
@@ -21795,9 +22481,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
|
|
|
21795
22481
|
providers?: string[] | undefined;
|
|
21796
22482
|
provider_details?: {
|
|
21797
22483
|
name: string;
|
|
22484
|
+
strategy?: string | undefined;
|
|
21798
22485
|
icon_url?: string | undefined;
|
|
21799
22486
|
display_name?: string | undefined;
|
|
21800
|
-
strategy?: string | undefined;
|
|
21801
22487
|
href?: string | undefined;
|
|
21802
22488
|
}[] | undefined;
|
|
21803
22489
|
} | undefined;
|
|
@@ -22272,9 +22958,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
|
|
|
22272
22958
|
providers?: string[] | undefined;
|
|
22273
22959
|
provider_details?: {
|
|
22274
22960
|
name: string;
|
|
22961
|
+
strategy?: string | undefined;
|
|
22275
22962
|
icon_url?: string | undefined;
|
|
22276
22963
|
display_name?: string | undefined;
|
|
22277
|
-
strategy?: string | undefined;
|
|
22278
22964
|
href?: string | undefined;
|
|
22279
22965
|
}[] | undefined;
|
|
22280
22966
|
} | undefined;
|
|
@@ -22755,9 +23441,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
|
|
|
22755
23441
|
providers?: string[] | undefined;
|
|
22756
23442
|
provider_details?: {
|
|
22757
23443
|
name: string;
|
|
23444
|
+
strategy?: string | undefined;
|
|
22758
23445
|
icon_url?: string | undefined;
|
|
22759
23446
|
display_name?: string | undefined;
|
|
22760
|
-
strategy?: string | undefined;
|
|
22761
23447
|
href?: string | undefined;
|
|
22762
23448
|
}[] | undefined;
|
|
22763
23449
|
} | undefined;
|
|
@@ -23241,9 +23927,9 @@ declare const stepNodeSchema$1: z.ZodObject<{
|
|
|
23241
23927
|
providers?: string[] | undefined;
|
|
23242
23928
|
provider_details?: {
|
|
23243
23929
|
name: string;
|
|
23930
|
+
strategy?: string | undefined;
|
|
23244
23931
|
icon_url?: string | undefined;
|
|
23245
23932
|
display_name?: string | undefined;
|
|
23246
|
-
strategy?: string | undefined;
|
|
23247
23933
|
href?: string | undefined;
|
|
23248
23934
|
}[] | undefined;
|
|
23249
23935
|
} | undefined;
|
|
@@ -25164,33 +25850,33 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
25164
25850
|
href: z.ZodOptional<z.ZodString>;
|
|
25165
25851
|
}, "strip", z.ZodTypeAny, {
|
|
25166
25852
|
name: string;
|
|
25853
|
+
strategy?: string | undefined;
|
|
25167
25854
|
icon_url?: string | undefined;
|
|
25168
25855
|
display_name?: string | undefined;
|
|
25169
|
-
strategy?: string | undefined;
|
|
25170
25856
|
href?: string | undefined;
|
|
25171
25857
|
}, {
|
|
25172
25858
|
name: string;
|
|
25859
|
+
strategy?: string | undefined;
|
|
25173
25860
|
icon_url?: string | undefined;
|
|
25174
25861
|
display_name?: string | undefined;
|
|
25175
|
-
strategy?: string | undefined;
|
|
25176
25862
|
href?: string | undefined;
|
|
25177
25863
|
}>, "many">>;
|
|
25178
25864
|
}, "strip", z.ZodTypeAny, {
|
|
25179
25865
|
providers?: string[] | undefined;
|
|
25180
25866
|
provider_details?: {
|
|
25181
25867
|
name: string;
|
|
25868
|
+
strategy?: string | undefined;
|
|
25182
25869
|
icon_url?: string | undefined;
|
|
25183
25870
|
display_name?: string | undefined;
|
|
25184
|
-
strategy?: string | undefined;
|
|
25185
25871
|
href?: string | undefined;
|
|
25186
25872
|
}[] | undefined;
|
|
25187
25873
|
}, {
|
|
25188
25874
|
providers?: string[] | undefined;
|
|
25189
25875
|
provider_details?: {
|
|
25190
25876
|
name: string;
|
|
25877
|
+
strategy?: string | undefined;
|
|
25191
25878
|
icon_url?: string | undefined;
|
|
25192
25879
|
display_name?: string | undefined;
|
|
25193
|
-
strategy?: string | undefined;
|
|
25194
25880
|
href?: string | undefined;
|
|
25195
25881
|
}[] | undefined;
|
|
25196
25882
|
}>>;
|
|
@@ -25204,9 +25890,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
25204
25890
|
providers?: string[] | undefined;
|
|
25205
25891
|
provider_details?: {
|
|
25206
25892
|
name: string;
|
|
25893
|
+
strategy?: string | undefined;
|
|
25207
25894
|
icon_url?: string | undefined;
|
|
25208
25895
|
display_name?: string | undefined;
|
|
25209
|
-
strategy?: string | undefined;
|
|
25210
25896
|
href?: string | undefined;
|
|
25211
25897
|
}[] | undefined;
|
|
25212
25898
|
} | undefined;
|
|
@@ -25228,9 +25914,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
25228
25914
|
providers?: string[] | undefined;
|
|
25229
25915
|
provider_details?: {
|
|
25230
25916
|
name: string;
|
|
25917
|
+
strategy?: string | undefined;
|
|
25231
25918
|
icon_url?: string | undefined;
|
|
25232
25919
|
display_name?: string | undefined;
|
|
25233
|
-
strategy?: string | undefined;
|
|
25234
25920
|
href?: string | undefined;
|
|
25235
25921
|
}[] | undefined;
|
|
25236
25922
|
} | undefined;
|
|
@@ -25886,9 +26572,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
25886
26572
|
providers?: string[] | undefined;
|
|
25887
26573
|
provider_details?: {
|
|
25888
26574
|
name: string;
|
|
26575
|
+
strategy?: string | undefined;
|
|
25889
26576
|
icon_url?: string | undefined;
|
|
25890
26577
|
display_name?: string | undefined;
|
|
25891
|
-
strategy?: string | undefined;
|
|
25892
26578
|
href?: string | undefined;
|
|
25893
26579
|
}[] | undefined;
|
|
25894
26580
|
} | undefined;
|
|
@@ -26363,9 +27049,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
26363
27049
|
providers?: string[] | undefined;
|
|
26364
27050
|
provider_details?: {
|
|
26365
27051
|
name: string;
|
|
27052
|
+
strategy?: string | undefined;
|
|
26366
27053
|
icon_url?: string | undefined;
|
|
26367
27054
|
display_name?: string | undefined;
|
|
26368
|
-
strategy?: string | undefined;
|
|
26369
27055
|
href?: string | undefined;
|
|
26370
27056
|
}[] | undefined;
|
|
26371
27057
|
} | undefined;
|
|
@@ -26846,9 +27532,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
26846
27532
|
providers?: string[] | undefined;
|
|
26847
27533
|
provider_details?: {
|
|
26848
27534
|
name: string;
|
|
27535
|
+
strategy?: string | undefined;
|
|
26849
27536
|
icon_url?: string | undefined;
|
|
26850
27537
|
display_name?: string | undefined;
|
|
26851
|
-
strategy?: string | undefined;
|
|
26852
27538
|
href?: string | undefined;
|
|
26853
27539
|
}[] | undefined;
|
|
26854
27540
|
} | undefined;
|
|
@@ -27332,9 +28018,9 @@ export declare const formNodeSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
27332
28018
|
providers?: string[] | undefined;
|
|
27333
28019
|
provider_details?: {
|
|
27334
28020
|
name: string;
|
|
28021
|
+
strategy?: string | undefined;
|
|
27335
28022
|
icon_url?: string | undefined;
|
|
27336
28023
|
display_name?: string | undefined;
|
|
27337
|
-
strategy?: string | undefined;
|
|
27338
28024
|
href?: string | undefined;
|
|
27339
28025
|
}[] | undefined;
|
|
27340
28026
|
} | undefined;
|
|
@@ -29286,33 +29972,33 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
29286
29972
|
href: z.ZodOptional<z.ZodString>;
|
|
29287
29973
|
}, "strip", z.ZodTypeAny, {
|
|
29288
29974
|
name: string;
|
|
29975
|
+
strategy?: string | undefined;
|
|
29289
29976
|
icon_url?: string | undefined;
|
|
29290
29977
|
display_name?: string | undefined;
|
|
29291
|
-
strategy?: string | undefined;
|
|
29292
29978
|
href?: string | undefined;
|
|
29293
29979
|
}, {
|
|
29294
29980
|
name: string;
|
|
29981
|
+
strategy?: string | undefined;
|
|
29295
29982
|
icon_url?: string | undefined;
|
|
29296
29983
|
display_name?: string | undefined;
|
|
29297
|
-
strategy?: string | undefined;
|
|
29298
29984
|
href?: string | undefined;
|
|
29299
29985
|
}>, "many">>;
|
|
29300
29986
|
}, "strip", z.ZodTypeAny, {
|
|
29301
29987
|
providers?: string[] | undefined;
|
|
29302
29988
|
provider_details?: {
|
|
29303
29989
|
name: string;
|
|
29990
|
+
strategy?: string | undefined;
|
|
29304
29991
|
icon_url?: string | undefined;
|
|
29305
29992
|
display_name?: string | undefined;
|
|
29306
|
-
strategy?: string | undefined;
|
|
29307
29993
|
href?: string | undefined;
|
|
29308
29994
|
}[] | undefined;
|
|
29309
29995
|
}, {
|
|
29310
29996
|
providers?: string[] | undefined;
|
|
29311
29997
|
provider_details?: {
|
|
29312
29998
|
name: string;
|
|
29999
|
+
strategy?: string | undefined;
|
|
29313
30000
|
icon_url?: string | undefined;
|
|
29314
30001
|
display_name?: string | undefined;
|
|
29315
|
-
strategy?: string | undefined;
|
|
29316
30002
|
href?: string | undefined;
|
|
29317
30003
|
}[] | undefined;
|
|
29318
30004
|
}>>;
|
|
@@ -29326,9 +30012,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
29326
30012
|
providers?: string[] | undefined;
|
|
29327
30013
|
provider_details?: {
|
|
29328
30014
|
name: string;
|
|
30015
|
+
strategy?: string | undefined;
|
|
29329
30016
|
icon_url?: string | undefined;
|
|
29330
30017
|
display_name?: string | undefined;
|
|
29331
|
-
strategy?: string | undefined;
|
|
29332
30018
|
href?: string | undefined;
|
|
29333
30019
|
}[] | undefined;
|
|
29334
30020
|
} | undefined;
|
|
@@ -29350,9 +30036,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
29350
30036
|
providers?: string[] | undefined;
|
|
29351
30037
|
provider_details?: {
|
|
29352
30038
|
name: string;
|
|
30039
|
+
strategy?: string | undefined;
|
|
29353
30040
|
icon_url?: string | undefined;
|
|
29354
30041
|
display_name?: string | undefined;
|
|
29355
|
-
strategy?: string | undefined;
|
|
29356
30042
|
href?: string | undefined;
|
|
29357
30043
|
}[] | undefined;
|
|
29358
30044
|
} | undefined;
|
|
@@ -30008,9 +30694,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
30008
30694
|
providers?: string[] | undefined;
|
|
30009
30695
|
provider_details?: {
|
|
30010
30696
|
name: string;
|
|
30697
|
+
strategy?: string | undefined;
|
|
30011
30698
|
icon_url?: string | undefined;
|
|
30012
30699
|
display_name?: string | undefined;
|
|
30013
|
-
strategy?: string | undefined;
|
|
30014
30700
|
href?: string | undefined;
|
|
30015
30701
|
}[] | undefined;
|
|
30016
30702
|
} | undefined;
|
|
@@ -30485,9 +31171,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
30485
31171
|
providers?: string[] | undefined;
|
|
30486
31172
|
provider_details?: {
|
|
30487
31173
|
name: string;
|
|
31174
|
+
strategy?: string | undefined;
|
|
30488
31175
|
icon_url?: string | undefined;
|
|
30489
31176
|
display_name?: string | undefined;
|
|
30490
|
-
strategy?: string | undefined;
|
|
30491
31177
|
href?: string | undefined;
|
|
30492
31178
|
}[] | undefined;
|
|
30493
31179
|
} | undefined;
|
|
@@ -30968,9 +31654,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
30968
31654
|
providers?: string[] | undefined;
|
|
30969
31655
|
provider_details?: {
|
|
30970
31656
|
name: string;
|
|
31657
|
+
strategy?: string | undefined;
|
|
30971
31658
|
icon_url?: string | undefined;
|
|
30972
31659
|
display_name?: string | undefined;
|
|
30973
|
-
strategy?: string | undefined;
|
|
30974
31660
|
href?: string | undefined;
|
|
30975
31661
|
}[] | undefined;
|
|
30976
31662
|
} | undefined;
|
|
@@ -31454,9 +32140,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
31454
32140
|
providers?: string[] | undefined;
|
|
31455
32141
|
provider_details?: {
|
|
31456
32142
|
name: string;
|
|
32143
|
+
strategy?: string | undefined;
|
|
31457
32144
|
icon_url?: string | undefined;
|
|
31458
32145
|
display_name?: string | undefined;
|
|
31459
|
-
strategy?: string | undefined;
|
|
31460
32146
|
href?: string | undefined;
|
|
31461
32147
|
}[] | undefined;
|
|
31462
32148
|
} | undefined;
|
|
@@ -32109,9 +32795,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
32109
32795
|
providers?: string[] | undefined;
|
|
32110
32796
|
provider_details?: {
|
|
32111
32797
|
name: string;
|
|
32798
|
+
strategy?: string | undefined;
|
|
32112
32799
|
icon_url?: string | undefined;
|
|
32113
32800
|
display_name?: string | undefined;
|
|
32114
|
-
strategy?: string | undefined;
|
|
32115
32801
|
href?: string | undefined;
|
|
32116
32802
|
}[] | undefined;
|
|
32117
32803
|
} | undefined;
|
|
@@ -32668,9 +33354,9 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
32668
33354
|
providers?: string[] | undefined;
|
|
32669
33355
|
provider_details?: {
|
|
32670
33356
|
name: string;
|
|
33357
|
+
strategy?: string | undefined;
|
|
32671
33358
|
icon_url?: string | undefined;
|
|
32672
33359
|
display_name?: string | undefined;
|
|
32673
|
-
strategy?: string | undefined;
|
|
32674
33360
|
href?: string | undefined;
|
|
32675
33361
|
}[] | undefined;
|
|
32676
33362
|
} | undefined;
|
|
@@ -34643,33 +35329,33 @@ export declare const formSchema: z.ZodObject<{
|
|
|
34643
35329
|
href: z.ZodOptional<z.ZodString>;
|
|
34644
35330
|
}, "strip", z.ZodTypeAny, {
|
|
34645
35331
|
name: string;
|
|
35332
|
+
strategy?: string | undefined;
|
|
34646
35333
|
icon_url?: string | undefined;
|
|
34647
35334
|
display_name?: string | undefined;
|
|
34648
|
-
strategy?: string | undefined;
|
|
34649
35335
|
href?: string | undefined;
|
|
34650
35336
|
}, {
|
|
34651
35337
|
name: string;
|
|
35338
|
+
strategy?: string | undefined;
|
|
34652
35339
|
icon_url?: string | undefined;
|
|
34653
35340
|
display_name?: string | undefined;
|
|
34654
|
-
strategy?: string | undefined;
|
|
34655
35341
|
href?: string | undefined;
|
|
34656
35342
|
}>, "many">>;
|
|
34657
35343
|
}, "strip", z.ZodTypeAny, {
|
|
34658
35344
|
providers?: string[] | undefined;
|
|
34659
35345
|
provider_details?: {
|
|
34660
35346
|
name: string;
|
|
35347
|
+
strategy?: string | undefined;
|
|
34661
35348
|
icon_url?: string | undefined;
|
|
34662
35349
|
display_name?: string | undefined;
|
|
34663
|
-
strategy?: string | undefined;
|
|
34664
35350
|
href?: string | undefined;
|
|
34665
35351
|
}[] | undefined;
|
|
34666
35352
|
}, {
|
|
34667
35353
|
providers?: string[] | undefined;
|
|
34668
35354
|
provider_details?: {
|
|
34669
35355
|
name: string;
|
|
35356
|
+
strategy?: string | undefined;
|
|
34670
35357
|
icon_url?: string | undefined;
|
|
34671
35358
|
display_name?: string | undefined;
|
|
34672
|
-
strategy?: string | undefined;
|
|
34673
35359
|
href?: string | undefined;
|
|
34674
35360
|
}[] | undefined;
|
|
34675
35361
|
}>>;
|
|
@@ -34683,9 +35369,9 @@ export declare const formSchema: z.ZodObject<{
|
|
|
34683
35369
|
providers?: string[] | undefined;
|
|
34684
35370
|
provider_details?: {
|
|
34685
35371
|
name: string;
|
|
35372
|
+
strategy?: string | undefined;
|
|
34686
35373
|
icon_url?: string | undefined;
|
|
34687
35374
|
display_name?: string | undefined;
|
|
34688
|
-
strategy?: string | undefined;
|
|
34689
35375
|
href?: string | undefined;
|
|
34690
35376
|
}[] | undefined;
|
|
34691
35377
|
} | undefined;
|
|
@@ -34707,9 +35393,9 @@ export declare const formSchema: z.ZodObject<{
|
|
|
34707
35393
|
providers?: string[] | undefined;
|
|
34708
35394
|
provider_details?: {
|
|
34709
35395
|
name: string;
|
|
35396
|
+
strategy?: string | undefined;
|
|
34710
35397
|
icon_url?: string | undefined;
|
|
34711
35398
|
display_name?: string | undefined;
|
|
34712
|
-
strategy?: string | undefined;
|
|
34713
35399
|
href?: string | undefined;
|
|
34714
35400
|
}[] | undefined;
|
|
34715
35401
|
} | undefined;
|
|
@@ -35365,9 +36051,9 @@ export declare const formSchema: z.ZodObject<{
|
|
|
35365
36051
|
providers?: string[] | undefined;
|
|
35366
36052
|
provider_details?: {
|
|
35367
36053
|
name: string;
|
|
36054
|
+
strategy?: string | undefined;
|
|
35368
36055
|
icon_url?: string | undefined;
|
|
35369
36056
|
display_name?: string | undefined;
|
|
35370
|
-
strategy?: string | undefined;
|
|
35371
36057
|
href?: string | undefined;
|
|
35372
36058
|
}[] | undefined;
|
|
35373
36059
|
} | undefined;
|
|
@@ -35842,9 +36528,9 @@ export declare const formSchema: z.ZodObject<{
|
|
|
35842
36528
|
providers?: string[] | undefined;
|
|
35843
36529
|
provider_details?: {
|
|
35844
36530
|
name: string;
|
|
36531
|
+
strategy?: string | undefined;
|
|
35845
36532
|
icon_url?: string | undefined;
|
|
35846
36533
|
display_name?: string | undefined;
|
|
35847
|
-
strategy?: string | undefined;
|
|
35848
36534
|
href?: string | undefined;
|
|
35849
36535
|
}[] | undefined;
|
|
35850
36536
|
} | undefined;
|
|
@@ -36325,9 +37011,9 @@ export declare const formSchema: z.ZodObject<{
|
|
|
36325
37011
|
providers?: string[] | undefined;
|
|
36326
37012
|
provider_details?: {
|
|
36327
37013
|
name: string;
|
|
37014
|
+
strategy?: string | undefined;
|
|
36328
37015
|
icon_url?: string | undefined;
|
|
36329
37016
|
display_name?: string | undefined;
|
|
36330
|
-
strategy?: string | undefined;
|
|
36331
37017
|
href?: string | undefined;
|
|
36332
37018
|
}[] | undefined;
|
|
36333
37019
|
} | undefined;
|
|
@@ -36811,9 +37497,9 @@ export declare const formSchema: z.ZodObject<{
|
|
|
36811
37497
|
providers?: string[] | undefined;
|
|
36812
37498
|
provider_details?: {
|
|
36813
37499
|
name: string;
|
|
37500
|
+
strategy?: string | undefined;
|
|
36814
37501
|
icon_url?: string | undefined;
|
|
36815
37502
|
display_name?: string | undefined;
|
|
36816
|
-
strategy?: string | undefined;
|
|
36817
37503
|
href?: string | undefined;
|
|
36818
37504
|
}[] | undefined;
|
|
36819
37505
|
} | undefined;
|
|
@@ -37036,10 +37722,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
37036
37722
|
created_at: z.ZodString;
|
|
37037
37723
|
updated_at: z.ZodString;
|
|
37038
37724
|
}, "strip", z.ZodTypeAny, {
|
|
37725
|
+
name: string;
|
|
37726
|
+
id: string;
|
|
37039
37727
|
created_at: string;
|
|
37040
37728
|
updated_at: string;
|
|
37041
|
-
id: string;
|
|
37042
|
-
name: string;
|
|
37043
37729
|
style?: {
|
|
37044
37730
|
css?: string | undefined;
|
|
37045
37731
|
} | undefined;
|
|
@@ -37471,9 +38157,9 @@ export declare const formSchema: z.ZodObject<{
|
|
|
37471
38157
|
providers?: string[] | undefined;
|
|
37472
38158
|
provider_details?: {
|
|
37473
38159
|
name: string;
|
|
38160
|
+
strategy?: string | undefined;
|
|
37474
38161
|
icon_url?: string | undefined;
|
|
37475
38162
|
display_name?: string | undefined;
|
|
37476
|
-
strategy?: string | undefined;
|
|
37477
38163
|
href?: string | undefined;
|
|
37478
38164
|
}[] | undefined;
|
|
37479
38165
|
} | undefined;
|
|
@@ -37599,10 +38285,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
37599
38285
|
} | undefined;
|
|
37600
38286
|
translations?: Record<string, any> | undefined;
|
|
37601
38287
|
}, {
|
|
38288
|
+
name: string;
|
|
38289
|
+
id: string;
|
|
37602
38290
|
created_at: string;
|
|
37603
38291
|
updated_at: string;
|
|
37604
|
-
id: string;
|
|
37605
|
-
name: string;
|
|
37606
38292
|
style?: {
|
|
37607
38293
|
css?: string | undefined;
|
|
37608
38294
|
} | undefined;
|
|
@@ -38033,9 +38719,9 @@ export declare const formSchema: z.ZodObject<{
|
|
|
38033
38719
|
providers?: string[] | undefined;
|
|
38034
38720
|
provider_details?: {
|
|
38035
38721
|
name: string;
|
|
38722
|
+
strategy?: string | undefined;
|
|
38036
38723
|
icon_url?: string | undefined;
|
|
38037
38724
|
display_name?: string | undefined;
|
|
38038
|
-
strategy?: string | undefined;
|
|
38039
38725
|
href?: string | undefined;
|
|
38040
38726
|
}[] | undefined;
|
|
38041
38727
|
} | undefined;
|
|
@@ -39895,33 +40581,33 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
39895
40581
|
href: z.ZodOptional<z.ZodString>;
|
|
39896
40582
|
}, "strip", z.ZodTypeAny, {
|
|
39897
40583
|
name: string;
|
|
40584
|
+
strategy?: string | undefined;
|
|
39898
40585
|
icon_url?: string | undefined;
|
|
39899
40586
|
display_name?: string | undefined;
|
|
39900
|
-
strategy?: string | undefined;
|
|
39901
40587
|
href?: string | undefined;
|
|
39902
40588
|
}, {
|
|
39903
40589
|
name: string;
|
|
40590
|
+
strategy?: string | undefined;
|
|
39904
40591
|
icon_url?: string | undefined;
|
|
39905
40592
|
display_name?: string | undefined;
|
|
39906
|
-
strategy?: string | undefined;
|
|
39907
40593
|
href?: string | undefined;
|
|
39908
40594
|
}>, "many">>;
|
|
39909
40595
|
}, "strip", z.ZodTypeAny, {
|
|
39910
40596
|
providers?: string[] | undefined;
|
|
39911
40597
|
provider_details?: {
|
|
39912
40598
|
name: string;
|
|
40599
|
+
strategy?: string | undefined;
|
|
39913
40600
|
icon_url?: string | undefined;
|
|
39914
40601
|
display_name?: string | undefined;
|
|
39915
|
-
strategy?: string | undefined;
|
|
39916
40602
|
href?: string | undefined;
|
|
39917
40603
|
}[] | undefined;
|
|
39918
40604
|
}, {
|
|
39919
40605
|
providers?: string[] | undefined;
|
|
39920
40606
|
provider_details?: {
|
|
39921
40607
|
name: string;
|
|
40608
|
+
strategy?: string | undefined;
|
|
39922
40609
|
icon_url?: string | undefined;
|
|
39923
40610
|
display_name?: string | undefined;
|
|
39924
|
-
strategy?: string | undefined;
|
|
39925
40611
|
href?: string | undefined;
|
|
39926
40612
|
}[] | undefined;
|
|
39927
40613
|
}>>;
|
|
@@ -39935,9 +40621,9 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
39935
40621
|
providers?: string[] | undefined;
|
|
39936
40622
|
provider_details?: {
|
|
39937
40623
|
name: string;
|
|
40624
|
+
strategy?: string | undefined;
|
|
39938
40625
|
icon_url?: string | undefined;
|
|
39939
40626
|
display_name?: string | undefined;
|
|
39940
|
-
strategy?: string | undefined;
|
|
39941
40627
|
href?: string | undefined;
|
|
39942
40628
|
}[] | undefined;
|
|
39943
40629
|
} | undefined;
|
|
@@ -39959,9 +40645,9 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
39959
40645
|
providers?: string[] | undefined;
|
|
39960
40646
|
provider_details?: {
|
|
39961
40647
|
name: string;
|
|
40648
|
+
strategy?: string | undefined;
|
|
39962
40649
|
icon_url?: string | undefined;
|
|
39963
40650
|
display_name?: string | undefined;
|
|
39964
|
-
strategy?: string | undefined;
|
|
39965
40651
|
href?: string | undefined;
|
|
39966
40652
|
}[] | undefined;
|
|
39967
40653
|
} | undefined;
|
|
@@ -40272,6 +40958,7 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
40272
40958
|
/** Footer HTML content displayed at the very bottom of the widget (e.g., terms and conditions) */
|
|
40273
40959
|
footer: z.ZodOptional<z.ZodString>;
|
|
40274
40960
|
}, "strip", z.ZodTypeAny, {
|
|
40961
|
+
method: "POST" | "GET";
|
|
40275
40962
|
action: string;
|
|
40276
40963
|
components: ({
|
|
40277
40964
|
type: "DIVIDER";
|
|
@@ -40653,9 +41340,9 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
40653
41340
|
providers?: string[] | undefined;
|
|
40654
41341
|
provider_details?: {
|
|
40655
41342
|
name: string;
|
|
41343
|
+
strategy?: string | undefined;
|
|
40656
41344
|
icon_url?: string | undefined;
|
|
40657
41345
|
display_name?: string | undefined;
|
|
40658
|
-
strategy?: string | undefined;
|
|
40659
41346
|
href?: string | undefined;
|
|
40660
41347
|
}[] | undefined;
|
|
40661
41348
|
} | undefined;
|
|
@@ -40749,7 +41436,6 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
40749
41436
|
id?: number | undefined;
|
|
40750
41437
|
}[] | undefined;
|
|
40751
41438
|
})[];
|
|
40752
|
-
method: "POST" | "GET";
|
|
40753
41439
|
description?: string | undefined;
|
|
40754
41440
|
title?: string | undefined;
|
|
40755
41441
|
name?: string | undefined;
|
|
@@ -40766,6 +41452,7 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
40766
41452
|
}[] | undefined;
|
|
40767
41453
|
footer?: string | undefined;
|
|
40768
41454
|
}, {
|
|
41455
|
+
method: "POST" | "GET";
|
|
40769
41456
|
action: string;
|
|
40770
41457
|
components: ({
|
|
40771
41458
|
type: "DIVIDER";
|
|
@@ -41146,9 +41833,9 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
41146
41833
|
providers?: string[] | undefined;
|
|
41147
41834
|
provider_details?: {
|
|
41148
41835
|
name: string;
|
|
41836
|
+
strategy?: string | undefined;
|
|
41149
41837
|
icon_url?: string | undefined;
|
|
41150
41838
|
display_name?: string | undefined;
|
|
41151
|
-
strategy?: string | undefined;
|
|
41152
41839
|
href?: string | undefined;
|
|
41153
41840
|
}[] | undefined;
|
|
41154
41841
|
} | undefined;
|
|
@@ -41243,7 +41930,6 @@ export declare const uiScreenSchema: z.ZodObject<{
|
|
|
41243
41930
|
id?: number | undefined;
|
|
41244
41931
|
}[] | undefined;
|
|
41245
41932
|
})[];
|
|
41246
|
-
method: "POST" | "GET";
|
|
41247
41933
|
description?: string | undefined;
|
|
41248
41934
|
title?: string | undefined;
|
|
41249
41935
|
name?: string | undefined;
|
|
@@ -41544,8 +42230,8 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
41544
42230
|
family_name: z.ZodOptional<z.ZodString>;
|
|
41545
42231
|
}, z.ZodAny, "strip">>>;
|
|
41546
42232
|
}, "strip", z.ZodTypeAny, {
|
|
41547
|
-
user_id: string;
|
|
41548
42233
|
connection: string;
|
|
42234
|
+
user_id: string;
|
|
41549
42235
|
provider: string;
|
|
41550
42236
|
isSocial: boolean;
|
|
41551
42237
|
email?: string | undefined;
|
|
@@ -41567,8 +42253,8 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
41567
42253
|
family_name: z.ZodOptional<z.ZodString>;
|
|
41568
42254
|
}, z.ZodAny, "strip"> | undefined;
|
|
41569
42255
|
}, {
|
|
41570
|
-
user_id: string;
|
|
41571
42256
|
connection: string;
|
|
42257
|
+
user_id: string;
|
|
41572
42258
|
provider: string;
|
|
41573
42259
|
isSocial: boolean;
|
|
41574
42260
|
email?: string | undefined;
|
|
@@ -41695,9 +42381,9 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
41695
42381
|
roles: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
41696
42382
|
send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
41697
42383
|
}, "strip", z.ZodTypeAny, {
|
|
41698
|
-
created_at: string;
|
|
41699
42384
|
id: string;
|
|
41700
42385
|
client_id: string;
|
|
42386
|
+
created_at: string;
|
|
41701
42387
|
expires_at: string;
|
|
41702
42388
|
organization_id: string;
|
|
41703
42389
|
inviter: {
|
|
@@ -41715,9 +42401,9 @@ export declare const inviteSchema: z.ZodObject<{
|
|
|
41715
42401
|
send_invitation_email?: boolean | undefined;
|
|
41716
42402
|
ticket_id?: string | undefined;
|
|
41717
42403
|
}, {
|
|
41718
|
-
created_at: string;
|
|
41719
42404
|
id: string;
|
|
41720
42405
|
client_id: string;
|
|
42406
|
+
created_at: string;
|
|
41721
42407
|
expires_at: string;
|
|
41722
42408
|
organization_id: string;
|
|
41723
42409
|
inviter: {
|
|
@@ -42045,10 +42731,10 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
42045
42731
|
acr_values?: string | undefined;
|
|
42046
42732
|
vendor_id?: string | undefined;
|
|
42047
42733
|
};
|
|
42734
|
+
ip?: string | undefined;
|
|
42048
42735
|
user_id?: string | undefined;
|
|
42049
42736
|
auth0Client?: string | undefined;
|
|
42050
42737
|
deleted_at?: string | undefined;
|
|
42051
|
-
ip?: string | undefined;
|
|
42052
42738
|
useragent?: string | undefined;
|
|
42053
42739
|
session_id?: string | undefined;
|
|
42054
42740
|
authorization_url?: string | undefined;
|
|
@@ -42078,11 +42764,11 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
42078
42764
|
acr_values?: string | undefined;
|
|
42079
42765
|
vendor_id?: string | undefined;
|
|
42080
42766
|
};
|
|
42767
|
+
ip?: string | undefined;
|
|
42081
42768
|
user_id?: string | undefined;
|
|
42082
42769
|
state?: LoginSessionState | undefined;
|
|
42083
42770
|
auth0Client?: string | undefined;
|
|
42084
42771
|
deleted_at?: string | undefined;
|
|
42085
|
-
ip?: string | undefined;
|
|
42086
42772
|
useragent?: string | undefined;
|
|
42087
42773
|
session_id?: string | undefined;
|
|
42088
42774
|
authorization_url?: string | undefined;
|
|
@@ -42167,9 +42853,9 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
42167
42853
|
user_id: z.ZodOptional<z.ZodString>;
|
|
42168
42854
|
auth_connection: z.ZodOptional<z.ZodString>;
|
|
42169
42855
|
}, "strip", z.ZodTypeAny, {
|
|
42856
|
+
id: string;
|
|
42170
42857
|
created_at: string;
|
|
42171
42858
|
updated_at: string;
|
|
42172
|
-
id: string;
|
|
42173
42859
|
state: LoginSessionState;
|
|
42174
42860
|
expires_at: string;
|
|
42175
42861
|
csrf_token: string;
|
|
@@ -42193,10 +42879,10 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
42193
42879
|
acr_values?: string | undefined;
|
|
42194
42880
|
vendor_id?: string | undefined;
|
|
42195
42881
|
};
|
|
42882
|
+
ip?: string | undefined;
|
|
42196
42883
|
user_id?: string | undefined;
|
|
42197
42884
|
auth0Client?: string | undefined;
|
|
42198
42885
|
deleted_at?: string | undefined;
|
|
42199
|
-
ip?: string | undefined;
|
|
42200
42886
|
useragent?: string | undefined;
|
|
42201
42887
|
session_id?: string | undefined;
|
|
42202
42888
|
authorization_url?: string | undefined;
|
|
@@ -42204,9 +42890,9 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
42204
42890
|
failure_reason?: string | undefined;
|
|
42205
42891
|
auth_connection?: string | undefined;
|
|
42206
42892
|
}, {
|
|
42893
|
+
id: string;
|
|
42207
42894
|
created_at: string;
|
|
42208
42895
|
updated_at: string;
|
|
42209
|
-
id: string;
|
|
42210
42896
|
expires_at: string;
|
|
42211
42897
|
csrf_token: string;
|
|
42212
42898
|
authParams: {
|
|
@@ -42229,11 +42915,11 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
42229
42915
|
acr_values?: string | undefined;
|
|
42230
42916
|
vendor_id?: string | undefined;
|
|
42231
42917
|
};
|
|
42918
|
+
ip?: string | undefined;
|
|
42232
42919
|
user_id?: string | undefined;
|
|
42233
42920
|
state?: LoginSessionState | undefined;
|
|
42234
42921
|
auth0Client?: string | undefined;
|
|
42235
42922
|
deleted_at?: string | undefined;
|
|
42236
|
-
ip?: string | undefined;
|
|
42237
42923
|
useragent?: string | undefined;
|
|
42238
42924
|
session_id?: string | undefined;
|
|
42239
42925
|
authorization_url?: string | undefined;
|
|
@@ -42512,20 +43198,12 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
42512
43198
|
date: string;
|
|
42513
43199
|
isMobile: boolean;
|
|
42514
43200
|
description?: string | undefined;
|
|
42515
|
-
connection_id?: string | undefined;
|
|
42516
|
-
user_id?: string | undefined;
|
|
42517
|
-
connection?: string | undefined;
|
|
42518
43201
|
client_id?: string | undefined;
|
|
42519
|
-
audience?: string | undefined;
|
|
42520
|
-
scope?: string | undefined;
|
|
42521
|
-
strategy?: string | undefined;
|
|
42522
43202
|
ip?: string | undefined;
|
|
42523
43203
|
user_agent?: string | undefined;
|
|
42524
|
-
|
|
42525
|
-
|
|
42526
|
-
client_name?: string | undefined;
|
|
43204
|
+
connection?: string | undefined;
|
|
43205
|
+
strategy?: string | undefined;
|
|
42527
43206
|
strategy_type?: string | undefined;
|
|
42528
|
-
hostname?: string | undefined;
|
|
42529
43207
|
auth0_client?: {
|
|
42530
43208
|
name: string;
|
|
42531
43209
|
version: string;
|
|
@@ -42533,6 +43211,14 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
42533
43211
|
node?: string | undefined;
|
|
42534
43212
|
} | undefined;
|
|
42535
43213
|
} | undefined;
|
|
43214
|
+
hostname?: string | undefined;
|
|
43215
|
+
connection_id?: string | undefined;
|
|
43216
|
+
user_id?: string | undefined;
|
|
43217
|
+
audience?: string | undefined;
|
|
43218
|
+
scope?: string | undefined;
|
|
43219
|
+
details?: any;
|
|
43220
|
+
user_name?: string | undefined;
|
|
43221
|
+
client_name?: string | undefined;
|
|
42536
43222
|
log_id?: string | undefined;
|
|
42537
43223
|
location_info?: {
|
|
42538
43224
|
country_code: string;
|
|
@@ -42547,20 +43233,12 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
42547
43233
|
date: string;
|
|
42548
43234
|
isMobile: boolean;
|
|
42549
43235
|
description?: string | undefined;
|
|
42550
|
-
connection_id?: string | undefined;
|
|
42551
|
-
user_id?: string | undefined;
|
|
42552
|
-
connection?: string | undefined;
|
|
42553
43236
|
client_id?: string | undefined;
|
|
42554
|
-
audience?: string | undefined;
|
|
42555
|
-
scope?: string | undefined;
|
|
42556
|
-
strategy?: string | undefined;
|
|
42557
43237
|
ip?: string | undefined;
|
|
42558
43238
|
user_agent?: string | undefined;
|
|
42559
|
-
|
|
42560
|
-
|
|
42561
|
-
client_name?: string | undefined;
|
|
43239
|
+
connection?: string | undefined;
|
|
43240
|
+
strategy?: string | undefined;
|
|
42562
43241
|
strategy_type?: string | undefined;
|
|
42563
|
-
hostname?: string | undefined;
|
|
42564
43242
|
auth0_client?: {
|
|
42565
43243
|
name: string;
|
|
42566
43244
|
version: string;
|
|
@@ -42568,6 +43246,14 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
42568
43246
|
node?: string | undefined;
|
|
42569
43247
|
} | undefined;
|
|
42570
43248
|
} | undefined;
|
|
43249
|
+
hostname?: string | undefined;
|
|
43250
|
+
connection_id?: string | undefined;
|
|
43251
|
+
user_id?: string | undefined;
|
|
43252
|
+
audience?: string | undefined;
|
|
43253
|
+
scope?: string | undefined;
|
|
43254
|
+
details?: any;
|
|
43255
|
+
user_name?: string | undefined;
|
|
43256
|
+
client_name?: string | undefined;
|
|
42571
43257
|
log_id?: string | undefined;
|
|
42572
43258
|
location_info?: {
|
|
42573
43259
|
country_code: string;
|
|
@@ -42650,20 +43336,12 @@ export declare const logSchema: z.ZodObject<{
|
|
|
42650
43336
|
isMobile: boolean;
|
|
42651
43337
|
log_id: string;
|
|
42652
43338
|
description?: string | undefined;
|
|
42653
|
-
connection_id?: string | undefined;
|
|
42654
|
-
user_id?: string | undefined;
|
|
42655
|
-
connection?: string | undefined;
|
|
42656
43339
|
client_id?: string | undefined;
|
|
42657
|
-
audience?: string | undefined;
|
|
42658
|
-
scope?: string | undefined;
|
|
42659
|
-
strategy?: string | undefined;
|
|
42660
43340
|
ip?: string | undefined;
|
|
42661
43341
|
user_agent?: string | undefined;
|
|
42662
|
-
|
|
42663
|
-
|
|
42664
|
-
client_name?: string | undefined;
|
|
43342
|
+
connection?: string | undefined;
|
|
43343
|
+
strategy?: string | undefined;
|
|
42665
43344
|
strategy_type?: string | undefined;
|
|
42666
|
-
hostname?: string | undefined;
|
|
42667
43345
|
auth0_client?: {
|
|
42668
43346
|
name: string;
|
|
42669
43347
|
version: string;
|
|
@@ -42671,6 +43349,14 @@ export declare const logSchema: z.ZodObject<{
|
|
|
42671
43349
|
node?: string | undefined;
|
|
42672
43350
|
} | undefined;
|
|
42673
43351
|
} | undefined;
|
|
43352
|
+
hostname?: string | undefined;
|
|
43353
|
+
connection_id?: string | undefined;
|
|
43354
|
+
user_id?: string | undefined;
|
|
43355
|
+
audience?: string | undefined;
|
|
43356
|
+
scope?: string | undefined;
|
|
43357
|
+
details?: any;
|
|
43358
|
+
user_name?: string | undefined;
|
|
43359
|
+
client_name?: string | undefined;
|
|
42674
43360
|
location_info?: {
|
|
42675
43361
|
country_code: string;
|
|
42676
43362
|
city_name: string;
|
|
@@ -42685,20 +43371,12 @@ export declare const logSchema: z.ZodObject<{
|
|
|
42685
43371
|
isMobile: boolean;
|
|
42686
43372
|
log_id: string;
|
|
42687
43373
|
description?: string | undefined;
|
|
42688
|
-
connection_id?: string | undefined;
|
|
42689
|
-
user_id?: string | undefined;
|
|
42690
|
-
connection?: string | undefined;
|
|
42691
43374
|
client_id?: string | undefined;
|
|
42692
|
-
audience?: string | undefined;
|
|
42693
|
-
scope?: string | undefined;
|
|
42694
|
-
strategy?: string | undefined;
|
|
42695
43375
|
ip?: string | undefined;
|
|
42696
43376
|
user_agent?: string | undefined;
|
|
42697
|
-
|
|
42698
|
-
|
|
42699
|
-
client_name?: string | undefined;
|
|
43377
|
+
connection?: string | undefined;
|
|
43378
|
+
strategy?: string | undefined;
|
|
42700
43379
|
strategy_type?: string | undefined;
|
|
42701
|
-
hostname?: string | undefined;
|
|
42702
43380
|
auth0_client?: {
|
|
42703
43381
|
name: string;
|
|
42704
43382
|
version: string;
|
|
@@ -42706,6 +43384,14 @@ export declare const logSchema: z.ZodObject<{
|
|
|
42706
43384
|
node?: string | undefined;
|
|
42707
43385
|
} | undefined;
|
|
42708
43386
|
} | undefined;
|
|
43387
|
+
hostname?: string | undefined;
|
|
43388
|
+
connection_id?: string | undefined;
|
|
43389
|
+
user_id?: string | undefined;
|
|
43390
|
+
audience?: string | undefined;
|
|
43391
|
+
scope?: string | undefined;
|
|
43392
|
+
details?: any;
|
|
43393
|
+
user_name?: string | undefined;
|
|
43394
|
+
client_name?: string | undefined;
|
|
42709
43395
|
location_info?: {
|
|
42710
43396
|
country_code: string;
|
|
42711
43397
|
city_name: string;
|
|
@@ -42752,18 +43438,18 @@ export declare const passwordSchema: z.ZodObject<{
|
|
|
42752
43438
|
created_at: z.ZodString;
|
|
42753
43439
|
updated_at: z.ZodString;
|
|
42754
43440
|
}, "strip", z.ZodTypeAny, {
|
|
42755
|
-
created_at: string;
|
|
42756
|
-
updated_at: string;
|
|
42757
43441
|
password: string;
|
|
42758
43442
|
id: string;
|
|
43443
|
+
created_at: string;
|
|
43444
|
+
updated_at: string;
|
|
42759
43445
|
user_id: string;
|
|
42760
43446
|
algorithm: "bcrypt" | "argon2id";
|
|
42761
43447
|
is_current: boolean;
|
|
42762
43448
|
}, {
|
|
42763
|
-
created_at: string;
|
|
42764
|
-
updated_at: string;
|
|
42765
43449
|
password: string;
|
|
42766
43450
|
id: string;
|
|
43451
|
+
created_at: string;
|
|
43452
|
+
updated_at: string;
|
|
42767
43453
|
user_id: string;
|
|
42768
43454
|
algorithm?: "bcrypt" | "argon2id" | undefined;
|
|
42769
43455
|
is_current?: boolean | undefined;
|
|
@@ -42872,9 +43558,9 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
42872
43558
|
authenticated_at: z.ZodString;
|
|
42873
43559
|
last_interaction_at: z.ZodString;
|
|
42874
43560
|
}, "strip", z.ZodTypeAny, {
|
|
43561
|
+
id: string;
|
|
42875
43562
|
created_at: string;
|
|
42876
43563
|
updated_at: string;
|
|
42877
|
-
id: string;
|
|
42878
43564
|
user_id: string;
|
|
42879
43565
|
login_session_id: string;
|
|
42880
43566
|
device: {
|
|
@@ -42893,9 +43579,9 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
42893
43579
|
revoked_at?: string | undefined;
|
|
42894
43580
|
idle_expires_at?: string | undefined;
|
|
42895
43581
|
}, {
|
|
43582
|
+
id: string;
|
|
42896
43583
|
created_at: string;
|
|
42897
43584
|
updated_at: string;
|
|
42898
|
-
id: string;
|
|
42899
43585
|
user_id: string;
|
|
42900
43586
|
login_session_id: string;
|
|
42901
43587
|
device: {
|
|
@@ -43925,9 +44611,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
43925
44611
|
created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
|
|
43926
44612
|
updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
|
|
43927
44613
|
}, "strip", z.ZodTypeAny, {
|
|
44614
|
+
id: string;
|
|
43928
44615
|
created_at: string;
|
|
43929
44616
|
updated_at: string;
|
|
43930
|
-
id: string;
|
|
43931
44617
|
audience: string;
|
|
43932
44618
|
friendly_name: string;
|
|
43933
44619
|
sender_email: string;
|
|
@@ -44051,9 +44737,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44051
44737
|
} | undefined;
|
|
44052
44738
|
} | undefined;
|
|
44053
44739
|
}, {
|
|
44740
|
+
id: string;
|
|
44054
44741
|
created_at: string | null;
|
|
44055
44742
|
updated_at: string | null;
|
|
44056
|
-
id: string;
|
|
44057
44743
|
audience: string;
|
|
44058
44744
|
friendly_name: string;
|
|
44059
44745
|
sender_email: string;
|
|
@@ -45543,17 +46229,17 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
45543
46229
|
audience: z.ZodString;
|
|
45544
46230
|
scopes: z.ZodString;
|
|
45545
46231
|
}, "strip", z.ZodTypeAny, {
|
|
45546
|
-
audience: string;
|
|
45547
46232
|
scopes: string;
|
|
45548
|
-
}, {
|
|
45549
46233
|
audience: string;
|
|
46234
|
+
}, {
|
|
45550
46235
|
scopes: string;
|
|
46236
|
+
audience: string;
|
|
45551
46237
|
}>, "many">;
|
|
45552
46238
|
rotating: z.ZodBoolean;
|
|
45553
46239
|
}, "strip", z.ZodTypeAny, {
|
|
45554
46240
|
id: string;
|
|
45555
|
-
user_id: string;
|
|
45556
46241
|
client_id: string;
|
|
46242
|
+
user_id: string;
|
|
45557
46243
|
login_id: string;
|
|
45558
46244
|
device: {
|
|
45559
46245
|
last_ip: string;
|
|
@@ -45564,8 +46250,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
45564
46250
|
last_asn: string;
|
|
45565
46251
|
};
|
|
45566
46252
|
resource_servers: {
|
|
45567
|
-
audience: string;
|
|
45568
46253
|
scopes: string;
|
|
46254
|
+
audience: string;
|
|
45569
46255
|
}[];
|
|
45570
46256
|
rotating: boolean;
|
|
45571
46257
|
expires_at?: string | undefined;
|
|
@@ -45573,8 +46259,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
45573
46259
|
last_exchanged_at?: string | undefined;
|
|
45574
46260
|
}, {
|
|
45575
46261
|
id: string;
|
|
45576
|
-
user_id: string;
|
|
45577
46262
|
client_id: string;
|
|
46263
|
+
user_id: string;
|
|
45578
46264
|
login_id: string;
|
|
45579
46265
|
device: {
|
|
45580
46266
|
last_ip: string;
|
|
@@ -45585,8 +46271,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
45585
46271
|
last_asn: string;
|
|
45586
46272
|
};
|
|
45587
46273
|
resource_servers: {
|
|
45588
|
-
audience: string;
|
|
45589
46274
|
scopes: string;
|
|
46275
|
+
audience: string;
|
|
45590
46276
|
}[];
|
|
45591
46277
|
rotating: boolean;
|
|
45592
46278
|
expires_at?: string | undefined;
|
|
@@ -45628,19 +46314,19 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
45628
46314
|
audience: z.ZodString;
|
|
45629
46315
|
scopes: z.ZodString;
|
|
45630
46316
|
}, "strip", z.ZodTypeAny, {
|
|
45631
|
-
audience: string;
|
|
45632
46317
|
scopes: string;
|
|
45633
|
-
}, {
|
|
45634
46318
|
audience: string;
|
|
46319
|
+
}, {
|
|
45635
46320
|
scopes: string;
|
|
46321
|
+
audience: string;
|
|
45636
46322
|
}>, "many">;
|
|
45637
46323
|
rotating: z.ZodBoolean;
|
|
45638
46324
|
created_at: z.ZodString;
|
|
45639
46325
|
}, "strip", z.ZodTypeAny, {
|
|
45640
|
-
created_at: string;
|
|
45641
46326
|
id: string;
|
|
45642
|
-
user_id: string;
|
|
45643
46327
|
client_id: string;
|
|
46328
|
+
created_at: string;
|
|
46329
|
+
user_id: string;
|
|
45644
46330
|
login_id: string;
|
|
45645
46331
|
device: {
|
|
45646
46332
|
last_ip: string;
|
|
@@ -45651,18 +46337,18 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
45651
46337
|
last_asn: string;
|
|
45652
46338
|
};
|
|
45653
46339
|
resource_servers: {
|
|
45654
|
-
audience: string;
|
|
45655
46340
|
scopes: string;
|
|
46341
|
+
audience: string;
|
|
45656
46342
|
}[];
|
|
45657
46343
|
rotating: boolean;
|
|
45658
46344
|
expires_at?: string | undefined;
|
|
45659
46345
|
idle_expires_at?: string | undefined;
|
|
45660
46346
|
last_exchanged_at?: string | undefined;
|
|
45661
46347
|
}, {
|
|
45662
|
-
created_at: string;
|
|
45663
46348
|
id: string;
|
|
45664
|
-
user_id: string;
|
|
45665
46349
|
client_id: string;
|
|
46350
|
+
created_at: string;
|
|
46351
|
+
user_id: string;
|
|
45666
46352
|
login_id: string;
|
|
45667
46353
|
device: {
|
|
45668
46354
|
last_ip: string;
|
|
@@ -45673,8 +46359,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
45673
46359
|
last_asn: string;
|
|
45674
46360
|
};
|
|
45675
46361
|
resource_servers: {
|
|
45676
|
-
audience: string;
|
|
45677
46362
|
scopes: string;
|
|
46363
|
+
audience: string;
|
|
45678
46364
|
}[];
|
|
45679
46365
|
rotating: boolean;
|
|
45680
46366
|
expires_at?: string | undefined;
|
|
@@ -45830,12 +46516,12 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
45830
46516
|
enable_introspection_endpoint?: boolean | undefined;
|
|
45831
46517
|
} | undefined;
|
|
45832
46518
|
id?: string | undefined;
|
|
45833
|
-
is_system?: boolean | undefined;
|
|
45834
|
-
metadata?: Record<string, any> | undefined;
|
|
45835
46519
|
scopes?: {
|
|
45836
46520
|
value: string;
|
|
45837
46521
|
description?: string | undefined;
|
|
45838
46522
|
}[] | undefined;
|
|
46523
|
+
is_system?: boolean | undefined;
|
|
46524
|
+
metadata?: Record<string, any> | undefined;
|
|
45839
46525
|
signing_alg?: string | undefined;
|
|
45840
46526
|
signing_secret?: string | undefined;
|
|
45841
46527
|
token_lifetime?: number | undefined;
|
|
@@ -45858,12 +46544,12 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
45858
46544
|
enable_introspection_endpoint?: boolean | undefined;
|
|
45859
46545
|
} | undefined;
|
|
45860
46546
|
id?: string | undefined;
|
|
45861
|
-
is_system?: boolean | undefined;
|
|
45862
|
-
metadata?: Record<string, any> | undefined;
|
|
45863
46547
|
scopes?: {
|
|
45864
46548
|
value: string;
|
|
45865
46549
|
description?: string | undefined;
|
|
45866
46550
|
}[] | undefined;
|
|
46551
|
+
is_system?: boolean | undefined;
|
|
46552
|
+
metadata?: Record<string, any> | undefined;
|
|
45867
46553
|
signing_alg?: string | undefined;
|
|
45868
46554
|
signing_secret?: string | undefined;
|
|
45869
46555
|
token_lifetime?: number | undefined;
|
|
@@ -45939,8 +46625,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
45939
46625
|
}, "strip", z.ZodTypeAny, {
|
|
45940
46626
|
name: string;
|
|
45941
46627
|
identifier: string;
|
|
45942
|
-
created_at?: string | undefined;
|
|
45943
|
-
updated_at?: string | undefined;
|
|
45944
46628
|
options?: {
|
|
45945
46629
|
mtls?: {
|
|
45946
46630
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -45953,12 +46637,14 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
45953
46637
|
enable_introspection_endpoint?: boolean | undefined;
|
|
45954
46638
|
} | undefined;
|
|
45955
46639
|
id?: string | undefined;
|
|
45956
|
-
is_system?: boolean | undefined;
|
|
45957
|
-
metadata?: Record<string, any> | undefined;
|
|
45958
46640
|
scopes?: {
|
|
45959
46641
|
value: string;
|
|
45960
46642
|
description?: string | undefined;
|
|
45961
46643
|
}[] | undefined;
|
|
46644
|
+
created_at?: string | undefined;
|
|
46645
|
+
updated_at?: string | undefined;
|
|
46646
|
+
is_system?: boolean | undefined;
|
|
46647
|
+
metadata?: Record<string, any> | undefined;
|
|
45962
46648
|
signing_alg?: string | undefined;
|
|
45963
46649
|
signing_secret?: string | undefined;
|
|
45964
46650
|
token_lifetime?: number | undefined;
|
|
@@ -45969,8 +46655,6 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
45969
46655
|
}, {
|
|
45970
46656
|
name: string;
|
|
45971
46657
|
identifier: string;
|
|
45972
|
-
created_at?: string | undefined;
|
|
45973
|
-
updated_at?: string | undefined;
|
|
45974
46658
|
options?: {
|
|
45975
46659
|
mtls?: {
|
|
45976
46660
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -45983,12 +46667,14 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
45983
46667
|
enable_introspection_endpoint?: boolean | undefined;
|
|
45984
46668
|
} | undefined;
|
|
45985
46669
|
id?: string | undefined;
|
|
45986
|
-
is_system?: boolean | undefined;
|
|
45987
|
-
metadata?: Record<string, any> | undefined;
|
|
45988
46670
|
scopes?: {
|
|
45989
46671
|
value: string;
|
|
45990
46672
|
description?: string | undefined;
|
|
45991
46673
|
}[] | undefined;
|
|
46674
|
+
created_at?: string | undefined;
|
|
46675
|
+
updated_at?: string | undefined;
|
|
46676
|
+
is_system?: boolean | undefined;
|
|
46677
|
+
metadata?: Record<string, any> | undefined;
|
|
45992
46678
|
signing_alg?: string | undefined;
|
|
45993
46679
|
signing_secret?: string | undefined;
|
|
45994
46680
|
token_lifetime?: number | undefined;
|
|
@@ -46064,8 +46750,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46064
46750
|
}, "strip", z.ZodTypeAny, {
|
|
46065
46751
|
name: string;
|
|
46066
46752
|
identifier: string;
|
|
46067
|
-
created_at?: string | undefined;
|
|
46068
|
-
updated_at?: string | undefined;
|
|
46069
46753
|
options?: {
|
|
46070
46754
|
mtls?: {
|
|
46071
46755
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -46078,12 +46762,14 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46078
46762
|
enable_introspection_endpoint?: boolean | undefined;
|
|
46079
46763
|
} | undefined;
|
|
46080
46764
|
id?: string | undefined;
|
|
46081
|
-
is_system?: boolean | undefined;
|
|
46082
|
-
metadata?: Record<string, any> | undefined;
|
|
46083
46765
|
scopes?: {
|
|
46084
46766
|
value: string;
|
|
46085
46767
|
description?: string | undefined;
|
|
46086
46768
|
}[] | undefined;
|
|
46769
|
+
created_at?: string | undefined;
|
|
46770
|
+
updated_at?: string | undefined;
|
|
46771
|
+
is_system?: boolean | undefined;
|
|
46772
|
+
metadata?: Record<string, any> | undefined;
|
|
46087
46773
|
signing_alg?: string | undefined;
|
|
46088
46774
|
signing_secret?: string | undefined;
|
|
46089
46775
|
token_lifetime?: number | undefined;
|
|
@@ -46094,8 +46780,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46094
46780
|
}, {
|
|
46095
46781
|
name: string;
|
|
46096
46782
|
identifier: string;
|
|
46097
|
-
created_at?: string | undefined;
|
|
46098
|
-
updated_at?: string | undefined;
|
|
46099
46783
|
options?: {
|
|
46100
46784
|
mtls?: {
|
|
46101
46785
|
bound_access_tokens?: boolean | undefined;
|
|
@@ -46108,12 +46792,14 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46108
46792
|
enable_introspection_endpoint?: boolean | undefined;
|
|
46109
46793
|
} | undefined;
|
|
46110
46794
|
id?: string | undefined;
|
|
46111
|
-
is_system?: boolean | undefined;
|
|
46112
|
-
metadata?: Record<string, any> | undefined;
|
|
46113
46795
|
scopes?: {
|
|
46114
46796
|
value: string;
|
|
46115
46797
|
description?: string | undefined;
|
|
46116
46798
|
}[] | undefined;
|
|
46799
|
+
created_at?: string | undefined;
|
|
46800
|
+
updated_at?: string | undefined;
|
|
46801
|
+
is_system?: boolean | undefined;
|
|
46802
|
+
metadata?: Record<string, any> | undefined;
|
|
46117
46803
|
signing_alg?: string | undefined;
|
|
46118
46804
|
signing_secret?: string | undefined;
|
|
46119
46805
|
token_lifetime?: number | undefined;
|
|
@@ -46196,15 +46882,15 @@ export declare const userPermissionSchema: z.ZodObject<{
|
|
|
46196
46882
|
permission_name: z.ZodString;
|
|
46197
46883
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
46198
46884
|
}, "strip", z.ZodTypeAny, {
|
|
46199
|
-
user_id: string;
|
|
46200
46885
|
tenant_id: string;
|
|
46886
|
+
user_id: string;
|
|
46201
46887
|
resource_server_identifier: string;
|
|
46202
46888
|
permission_name: string;
|
|
46203
46889
|
created_at?: string | undefined;
|
|
46204
46890
|
organization_id?: string | undefined;
|
|
46205
46891
|
}, {
|
|
46206
|
-
user_id: string;
|
|
46207
46892
|
tenant_id: string;
|
|
46893
|
+
user_id: string;
|
|
46208
46894
|
resource_server_identifier: string;
|
|
46209
46895
|
permission_name: string;
|
|
46210
46896
|
created_at?: string | undefined;
|
|
@@ -46219,15 +46905,15 @@ export declare const userPermissionListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46219
46905
|
permission_name: z.ZodString;
|
|
46220
46906
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
46221
46907
|
}, "strip", z.ZodTypeAny, {
|
|
46222
|
-
user_id: string;
|
|
46223
46908
|
tenant_id: string;
|
|
46909
|
+
user_id: string;
|
|
46224
46910
|
resource_server_identifier: string;
|
|
46225
46911
|
permission_name: string;
|
|
46226
46912
|
created_at?: string | undefined;
|
|
46227
46913
|
organization_id?: string | undefined;
|
|
46228
46914
|
}, {
|
|
46229
|
-
user_id: string;
|
|
46230
46915
|
tenant_id: string;
|
|
46916
|
+
user_id: string;
|
|
46231
46917
|
resource_server_identifier: string;
|
|
46232
46918
|
permission_name: string;
|
|
46233
46919
|
created_at?: string | undefined;
|
|
@@ -46247,16 +46933,16 @@ export declare const userPermissionWithDetailsSchema: z.ZodObject<{
|
|
|
46247
46933
|
resource_server_identifier: string;
|
|
46248
46934
|
permission_name: string;
|
|
46249
46935
|
resource_server_name: string;
|
|
46250
|
-
created_at?: string | undefined;
|
|
46251
46936
|
description?: string | null | undefined;
|
|
46937
|
+
created_at?: string | undefined;
|
|
46252
46938
|
organization_id?: string | undefined;
|
|
46253
46939
|
}, {
|
|
46254
46940
|
user_id: string;
|
|
46255
46941
|
resource_server_identifier: string;
|
|
46256
46942
|
permission_name: string;
|
|
46257
46943
|
resource_server_name: string;
|
|
46258
|
-
created_at?: string | undefined;
|
|
46259
46944
|
description?: string | null | undefined;
|
|
46945
|
+
created_at?: string | undefined;
|
|
46260
46946
|
organization_id?: string | undefined;
|
|
46261
46947
|
}>;
|
|
46262
46948
|
export type UserPermissionWithDetails = z.infer<typeof userPermissionWithDetailsSchema>;
|
|
@@ -46273,16 +46959,16 @@ export declare const userPermissionWithDetailsListSchema: z.ZodArray<z.ZodObject
|
|
|
46273
46959
|
resource_server_identifier: string;
|
|
46274
46960
|
permission_name: string;
|
|
46275
46961
|
resource_server_name: string;
|
|
46276
|
-
created_at?: string | undefined;
|
|
46277
46962
|
description?: string | null | undefined;
|
|
46963
|
+
created_at?: string | undefined;
|
|
46278
46964
|
organization_id?: string | undefined;
|
|
46279
46965
|
}, {
|
|
46280
46966
|
user_id: string;
|
|
46281
46967
|
resource_server_identifier: string;
|
|
46282
46968
|
permission_name: string;
|
|
46283
46969
|
resource_server_name: string;
|
|
46284
|
-
created_at?: string | undefined;
|
|
46285
46970
|
description?: string | null | undefined;
|
|
46971
|
+
created_at?: string | undefined;
|
|
46286
46972
|
organization_id?: string | undefined;
|
|
46287
46973
|
}>, "many">;
|
|
46288
46974
|
export type UserPermissionWithDetailsList = z.infer<typeof userPermissionWithDetailsListSchema>;
|
|
@@ -46307,14 +46993,14 @@ export declare const userRoleSchema: z.ZodObject<{
|
|
|
46307
46993
|
role_id: z.ZodString;
|
|
46308
46994
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
46309
46995
|
}, "strip", z.ZodTypeAny, {
|
|
46310
|
-
user_id: string;
|
|
46311
46996
|
tenant_id: string;
|
|
46997
|
+
user_id: string;
|
|
46312
46998
|
role_id: string;
|
|
46313
46999
|
created_at?: string | undefined;
|
|
46314
47000
|
organization_id?: string | undefined;
|
|
46315
47001
|
}, {
|
|
46316
|
-
user_id: string;
|
|
46317
47002
|
tenant_id: string;
|
|
47003
|
+
user_id: string;
|
|
46318
47004
|
role_id: string;
|
|
46319
47005
|
created_at?: string | undefined;
|
|
46320
47006
|
organization_id?: string | undefined;
|
|
@@ -46327,14 +47013,14 @@ export declare const userRoleListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46327
47013
|
role_id: z.ZodString;
|
|
46328
47014
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
46329
47015
|
}, "strip", z.ZodTypeAny, {
|
|
46330
|
-
user_id: string;
|
|
46331
47016
|
tenant_id: string;
|
|
47017
|
+
user_id: string;
|
|
46332
47018
|
role_id: string;
|
|
46333
47019
|
created_at?: string | undefined;
|
|
46334
47020
|
organization_id?: string | undefined;
|
|
46335
47021
|
}, {
|
|
46336
|
-
user_id: string;
|
|
46337
47022
|
tenant_id: string;
|
|
47023
|
+
user_id: string;
|
|
46338
47024
|
role_id: string;
|
|
46339
47025
|
created_at?: string | undefined;
|
|
46340
47026
|
organization_id?: string | undefined;
|
|
@@ -46369,19 +47055,19 @@ export declare const roleSchema: z.ZodObject<{
|
|
|
46369
47055
|
created_at: z.ZodOptional<z.ZodString>;
|
|
46370
47056
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
46371
47057
|
}, "strip", z.ZodTypeAny, {
|
|
46372
|
-
id: string;
|
|
46373
47058
|
name: string;
|
|
47059
|
+
id: string;
|
|
47060
|
+
description?: string | undefined;
|
|
46374
47061
|
created_at?: string | undefined;
|
|
46375
47062
|
updated_at?: string | undefined;
|
|
46376
|
-
description?: string | undefined;
|
|
46377
47063
|
is_system?: boolean | undefined;
|
|
46378
47064
|
metadata?: Record<string, any> | undefined;
|
|
46379
47065
|
}, {
|
|
46380
|
-
id: string;
|
|
46381
47066
|
name: string;
|
|
47067
|
+
id: string;
|
|
47068
|
+
description?: string | undefined;
|
|
46382
47069
|
created_at?: string | undefined;
|
|
46383
47070
|
updated_at?: string | undefined;
|
|
46384
|
-
description?: string | undefined;
|
|
46385
47071
|
is_system?: boolean | undefined;
|
|
46386
47072
|
metadata?: Record<string, any> | undefined;
|
|
46387
47073
|
}>;
|
|
@@ -46397,19 +47083,19 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
|
|
|
46397
47083
|
created_at: z.ZodOptional<z.ZodString>;
|
|
46398
47084
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
46399
47085
|
}, "strip", z.ZodTypeAny, {
|
|
46400
|
-
id: string;
|
|
46401
47086
|
name: string;
|
|
47087
|
+
id: string;
|
|
47088
|
+
description?: string | undefined;
|
|
46402
47089
|
created_at?: string | undefined;
|
|
46403
47090
|
updated_at?: string | undefined;
|
|
46404
|
-
description?: string | undefined;
|
|
46405
47091
|
is_system?: boolean | undefined;
|
|
46406
47092
|
metadata?: Record<string, any> | undefined;
|
|
46407
47093
|
}, {
|
|
46408
|
-
id: string;
|
|
46409
47094
|
name: string;
|
|
47095
|
+
id: string;
|
|
47096
|
+
description?: string | undefined;
|
|
46410
47097
|
created_at?: string | undefined;
|
|
46411
47098
|
updated_at?: string | undefined;
|
|
46412
|
-
description?: string | undefined;
|
|
46413
47099
|
is_system?: boolean | undefined;
|
|
46414
47100
|
metadata?: Record<string, any> | undefined;
|
|
46415
47101
|
}>, "many">;
|
|
@@ -46683,10 +47369,10 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
46683
47369
|
} | undefined;
|
|
46684
47370
|
}>>;
|
|
46685
47371
|
}, "strip", z.ZodTypeAny, {
|
|
47372
|
+
name: string;
|
|
47373
|
+
id: string;
|
|
46686
47374
|
created_at: string;
|
|
46687
47375
|
updated_at: string;
|
|
46688
|
-
id: string;
|
|
46689
|
-
name: string;
|
|
46690
47376
|
token_quota?: {
|
|
46691
47377
|
client_credentials?: {
|
|
46692
47378
|
enforce: boolean;
|
|
@@ -46710,10 +47396,10 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
46710
47396
|
is_signup_enabled: boolean;
|
|
46711
47397
|
}[] | undefined;
|
|
46712
47398
|
}, {
|
|
47399
|
+
name: string;
|
|
47400
|
+
id: string;
|
|
46713
47401
|
created_at: string;
|
|
46714
47402
|
updated_at: string;
|
|
46715
|
-
id: string;
|
|
46716
|
-
name: string;
|
|
46717
47403
|
token_quota?: {
|
|
46718
47404
|
client_credentials?: {
|
|
46719
47405
|
enforce?: boolean | undefined;
|
|
@@ -46756,15 +47442,15 @@ export declare const userOrganizationSchema: z.ZodObject<{
|
|
|
46756
47442
|
user_id: z.ZodString;
|
|
46757
47443
|
organization_id: z.ZodString;
|
|
46758
47444
|
}, "strip", z.ZodTypeAny, {
|
|
47445
|
+
id: string;
|
|
46759
47446
|
created_at: string;
|
|
46760
47447
|
updated_at: string;
|
|
46761
|
-
id: string;
|
|
46762
47448
|
user_id: string;
|
|
46763
47449
|
organization_id: string;
|
|
46764
47450
|
}, {
|
|
47451
|
+
id: string;
|
|
46765
47452
|
created_at: string;
|
|
46766
47453
|
updated_at: string;
|
|
46767
|
-
id: string;
|
|
46768
47454
|
user_id: string;
|
|
46769
47455
|
organization_id: string;
|
|
46770
47456
|
}>;
|
|
@@ -47192,16 +47878,16 @@ export declare const dailyStatsSchema: z.ZodObject<{
|
|
|
47192
47878
|
updated_at: z.ZodString;
|
|
47193
47879
|
created_at: z.ZodString;
|
|
47194
47880
|
}, "strip", z.ZodTypeAny, {
|
|
47881
|
+
date: string;
|
|
47195
47882
|
created_at: string;
|
|
47196
47883
|
updated_at: string;
|
|
47197
|
-
date: string;
|
|
47198
47884
|
logins: number;
|
|
47199
47885
|
signups: number;
|
|
47200
47886
|
leaked_passwords: number;
|
|
47201
47887
|
}, {
|
|
47888
|
+
date: string;
|
|
47202
47889
|
created_at: string;
|
|
47203
47890
|
updated_at: string;
|
|
47204
|
-
date: string;
|
|
47205
47891
|
logins: number;
|
|
47206
47892
|
signups: number;
|
|
47207
47893
|
leaked_passwords: number;
|
|
@@ -47423,10 +48109,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
|
|
|
47423
48109
|
friendly_name: z.ZodOptional<z.ZodString>;
|
|
47424
48110
|
confirmed: z.ZodDefault<z.ZodBoolean>;
|
|
47425
48111
|
}, "strip", z.ZodTypeAny, {
|
|
47426
|
-
created_at: string;
|
|
47427
|
-
updated_at: string;
|
|
47428
48112
|
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
47429
48113
|
id: string;
|
|
48114
|
+
created_at: string;
|
|
48115
|
+
updated_at: string;
|
|
47430
48116
|
user_id: string;
|
|
47431
48117
|
confirmed: boolean;
|
|
47432
48118
|
phone_number?: string | undefined;
|
|
@@ -47438,10 +48124,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
|
|
|
47438
48124
|
credential_backed_up?: boolean | undefined;
|
|
47439
48125
|
transports?: string[] | undefined;
|
|
47440
48126
|
}, {
|
|
47441
|
-
created_at: string;
|
|
47442
|
-
updated_at: string;
|
|
47443
48127
|
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
47444
48128
|
id: string;
|
|
48129
|
+
created_at: string;
|
|
48130
|
+
updated_at: string;
|
|
47445
48131
|
user_id: string;
|
|
47446
48132
|
phone_number?: string | undefined;
|
|
47447
48133
|
friendly_name?: string | undefined;
|
|
@@ -47453,10 +48139,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
|
|
|
47453
48139
|
transports?: string[] | undefined;
|
|
47454
48140
|
confirmed?: boolean | undefined;
|
|
47455
48141
|
}>, {
|
|
47456
|
-
created_at: string;
|
|
47457
|
-
updated_at: string;
|
|
47458
48142
|
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
47459
48143
|
id: string;
|
|
48144
|
+
created_at: string;
|
|
48145
|
+
updated_at: string;
|
|
47460
48146
|
user_id: string;
|
|
47461
48147
|
confirmed: boolean;
|
|
47462
48148
|
phone_number?: string | undefined;
|
|
@@ -47468,10 +48154,10 @@ export declare const authenticationMethodSchema: z.ZodEffects<z.ZodObject<{
|
|
|
47468
48154
|
credential_backed_up?: boolean | undefined;
|
|
47469
48155
|
transports?: string[] | undefined;
|
|
47470
48156
|
}, {
|
|
47471
|
-
created_at: string;
|
|
47472
|
-
updated_at: string;
|
|
47473
48157
|
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
47474
48158
|
id: string;
|
|
48159
|
+
created_at: string;
|
|
48160
|
+
updated_at: string;
|
|
47475
48161
|
user_id: string;
|
|
47476
48162
|
phone_number?: string | undefined;
|
|
47477
48163
|
friendly_name?: string | undefined;
|
|
@@ -48048,6 +48734,32 @@ export interface SmsServiceSendParams {
|
|
|
48048
48734
|
export interface SmsServiceAdapter {
|
|
48049
48735
|
send(params: SmsServiceSendParams): Promise<void>;
|
|
48050
48736
|
}
|
|
48737
|
+
export interface OutboxEvent extends AuditEvent {
|
|
48738
|
+
/** When the event was persisted to the outbox */
|
|
48739
|
+
created_at: string;
|
|
48740
|
+
/** When the event was successfully processed (null if pending) */
|
|
48741
|
+
processed_at: string | null;
|
|
48742
|
+
/** Number of delivery attempts */
|
|
48743
|
+
retry_count: number;
|
|
48744
|
+
/** When to attempt the next retry (null if not in retry state) */
|
|
48745
|
+
next_retry_at: string | null;
|
|
48746
|
+
/** Last error message from a failed delivery attempt */
|
|
48747
|
+
error: string | null;
|
|
48748
|
+
}
|
|
48749
|
+
export interface OutboxAdapter {
|
|
48750
|
+
/** Write an audit event to the outbox */
|
|
48751
|
+
create(tenantId: string, event: AuditEventInsert): Promise<void>;
|
|
48752
|
+
/** Fetch unprocessed events ready for delivery */
|
|
48753
|
+
getUnprocessed(limit: number): Promise<OutboxEvent[]>;
|
|
48754
|
+
/** Atomically claim events for exclusive processing. Returns IDs that were successfully claimed. */
|
|
48755
|
+
claimEvents(ids: string[], workerId: string, leaseMs: number): Promise<string[]>;
|
|
48756
|
+
/** Mark events as successfully processed */
|
|
48757
|
+
markProcessed(ids: string[]): Promise<void>;
|
|
48758
|
+
/** Mark an event for retry with a backoff delay */
|
|
48759
|
+
markRetry(id: string, error: string, nextRetryAt: string): Promise<void>;
|
|
48760
|
+
/** Delete processed events older than the given ISO date. Returns count deleted. */
|
|
48761
|
+
cleanup(olderThan: string): Promise<number>;
|
|
48762
|
+
}
|
|
48051
48763
|
/**
|
|
48052
48764
|
* Parameters for cleaning up expired sessions
|
|
48053
48765
|
*/
|
|
@@ -48095,6 +48807,14 @@ export interface DataAdapters {
|
|
|
48095
48807
|
userOrganizations: UserOrganizationsAdapter;
|
|
48096
48808
|
emailService?: EmailServiceAdapter;
|
|
48097
48809
|
smsService?: SmsServiceAdapter;
|
|
48810
|
+
/** Optional outbox adapter for transactional audit event capture */
|
|
48811
|
+
outbox?: OutboxAdapter;
|
|
48812
|
+
/**
|
|
48813
|
+
* Execute a callback within a database transaction.
|
|
48814
|
+
* The callback receives a set of adapters scoped to the transaction.
|
|
48815
|
+
* If the callback throws, the transaction is rolled back.
|
|
48816
|
+
*/
|
|
48817
|
+
transaction<T>(fn: (trxAdapters: DataAdapters) => Promise<T>): Promise<T>;
|
|
48098
48818
|
/**
|
|
48099
48819
|
* Optional session cleanup function.
|
|
48100
48820
|
* Cleans up expired login_sessions, sessions, and refresh_tokens.
|