@authhero/cloudflare-adapter 2.30.1 → 2.31.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.
@@ -6,257 +6,76 @@ declare const actionExecutionSchema: z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  tenant_id: z.ZodString;
8
8
  trigger_id: z.ZodString;
9
- status: z.ZodEnum<[
10
- "unspecified",
11
- "pending",
12
- "final",
13
- "partial",
14
- "canceled",
15
- "suspended"
16
- ]>;
9
+ status: z.ZodEnum<{
10
+ unspecified: "unspecified";
11
+ pending: "pending";
12
+ final: "final";
13
+ partial: "partial";
14
+ canceled: "canceled";
15
+ suspended: "suspended";
16
+ }>;
17
17
  results: z.ZodArray<z.ZodObject<{
18
18
  action_name: z.ZodString;
19
19
  error: z.ZodNullable<z.ZodObject<{
20
20
  id: z.ZodString;
21
21
  msg: z.ZodString;
22
22
  url: z.ZodOptional<z.ZodString>;
23
- }, "strip", z.ZodTypeAny, {
24
- id: string;
25
- msg: string;
26
- url?: string | undefined;
27
- }, {
28
- id: string;
29
- msg: string;
30
- url?: string | undefined;
31
- }>>;
23
+ }, z.core.$strip>>;
32
24
  started_at: z.ZodString;
33
25
  ended_at: z.ZodString;
34
- }, "strip", z.ZodTypeAny, {
35
- action_name: string;
36
- error: {
37
- id: string;
38
- msg: string;
39
- url?: string | undefined;
40
- } | null;
41
- started_at: string;
42
- ended_at: string;
43
- }, {
44
- action_name: string;
45
- error: {
46
- id: string;
47
- msg: string;
48
- url?: string | undefined;
49
- } | null;
50
- started_at: string;
51
- ended_at: string;
52
- }>, "many">;
26
+ }, z.core.$strip>>;
53
27
  logs: z.ZodOptional<z.ZodArray<z.ZodObject<{
54
28
  action_name: z.ZodString;
55
29
  lines: z.ZodArray<z.ZodObject<{
56
- level: z.ZodEnum<[
57
- "log",
58
- "info",
59
- "warn",
60
- "error",
61
- "debug"
62
- ]>;
30
+ level: z.ZodEnum<{
31
+ error: "error";
32
+ log: "log";
33
+ info: "info";
34
+ warn: "warn";
35
+ debug: "debug";
36
+ }>;
63
37
  message: z.ZodString;
64
- }, "strip", z.ZodTypeAny, {
65
- message: string;
66
- level: "error" | "log" | "info" | "warn" | "debug";
67
- }, {
68
- message: string;
69
- level: "error" | "log" | "info" | "warn" | "debug";
70
- }>, "many">;
71
- }, "strip", z.ZodTypeAny, {
72
- action_name: string;
73
- lines: {
74
- message: string;
75
- level: "error" | "log" | "info" | "warn" | "debug";
76
- }[];
77
- }, {
78
- action_name: string;
79
- lines: {
80
- message: string;
81
- level: "error" | "log" | "info" | "warn" | "debug";
82
- }[];
83
- }>, "many">>;
38
+ }, z.core.$strip>>;
39
+ }, z.core.$strip>>>;
84
40
  created_at: z.ZodString;
85
41
  updated_at: z.ZodString;
86
- }, "strip", z.ZodTypeAny, {
87
- created_at: string;
88
- updated_at: string;
89
- status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
90
- id: string;
91
- tenant_id: string;
92
- trigger_id: string;
93
- results: {
94
- action_name: string;
95
- error: {
96
- id: string;
97
- msg: string;
98
- url?: string | undefined;
99
- } | null;
100
- started_at: string;
101
- ended_at: string;
102
- }[];
103
- logs?: {
104
- action_name: string;
105
- lines: {
106
- message: string;
107
- level: "error" | "log" | "info" | "warn" | "debug";
108
- }[];
109
- }[] | undefined;
110
- }, {
111
- created_at: string;
112
- updated_at: string;
113
- status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
114
- id: string;
115
- tenant_id: string;
116
- trigger_id: string;
117
- results: {
118
- action_name: string;
119
- error: {
120
- id: string;
121
- msg: string;
122
- url?: string | undefined;
123
- } | null;
124
- started_at: string;
125
- ended_at: string;
126
- }[];
127
- logs?: {
128
- action_name: string;
129
- lines: {
130
- message: string;
131
- level: "error" | "log" | "info" | "warn" | "debug";
132
- }[];
133
- }[] | undefined;
134
- }>;
42
+ }, z.core.$strip>;
135
43
  export type ActionExecution = z.infer<typeof actionExecutionSchema>;
136
- declare const actionExecutionInsertSchema: z.ZodObject<Omit<{
44
+ declare const actionExecutionInsertSchema: z.ZodObject<{
137
45
  id: z.ZodString;
138
- tenant_id: z.ZodString;
46
+ status: z.ZodEnum<{
47
+ unspecified: "unspecified";
48
+ pending: "pending";
49
+ final: "final";
50
+ partial: "partial";
51
+ canceled: "canceled";
52
+ suspended: "suspended";
53
+ }>;
139
54
  trigger_id: z.ZodString;
140
- status: z.ZodEnum<[
141
- "unspecified",
142
- "pending",
143
- "final",
144
- "partial",
145
- "canceled",
146
- "suspended"
147
- ]>;
148
55
  results: z.ZodArray<z.ZodObject<{
149
56
  action_name: z.ZodString;
150
57
  error: z.ZodNullable<z.ZodObject<{
151
58
  id: z.ZodString;
152
59
  msg: z.ZodString;
153
60
  url: z.ZodOptional<z.ZodString>;
154
- }, "strip", z.ZodTypeAny, {
155
- id: string;
156
- msg: string;
157
- url?: string | undefined;
158
- }, {
159
- id: string;
160
- msg: string;
161
- url?: string | undefined;
162
- }>>;
61
+ }, z.core.$strip>>;
163
62
  started_at: z.ZodString;
164
63
  ended_at: z.ZodString;
165
- }, "strip", z.ZodTypeAny, {
166
- action_name: string;
167
- error: {
168
- id: string;
169
- msg: string;
170
- url?: string | undefined;
171
- } | null;
172
- started_at: string;
173
- ended_at: string;
174
- }, {
175
- action_name: string;
176
- error: {
177
- id: string;
178
- msg: string;
179
- url?: string | undefined;
180
- } | null;
181
- started_at: string;
182
- ended_at: string;
183
- }>, "many">;
64
+ }, z.core.$strip>>;
184
65
  logs: z.ZodOptional<z.ZodArray<z.ZodObject<{
185
66
  action_name: z.ZodString;
186
67
  lines: z.ZodArray<z.ZodObject<{
187
- level: z.ZodEnum<[
188
- "log",
189
- "info",
190
- "warn",
191
- "error",
192
- "debug"
193
- ]>;
68
+ level: z.ZodEnum<{
69
+ error: "error";
70
+ log: "log";
71
+ info: "info";
72
+ warn: "warn";
73
+ debug: "debug";
74
+ }>;
194
75
  message: z.ZodString;
195
- }, "strip", z.ZodTypeAny, {
196
- message: string;
197
- level: "error" | "log" | "info" | "warn" | "debug";
198
- }, {
199
- message: string;
200
- level: "error" | "log" | "info" | "warn" | "debug";
201
- }>, "many">;
202
- }, "strip", z.ZodTypeAny, {
203
- action_name: string;
204
- lines: {
205
- message: string;
206
- level: "error" | "log" | "info" | "warn" | "debug";
207
- }[];
208
- }, {
209
- action_name: string;
210
- lines: {
211
- message: string;
212
- level: "error" | "log" | "info" | "warn" | "debug";
213
- }[];
214
- }>, "many">>;
215
- created_at: z.ZodString;
216
- updated_at: z.ZodString;
217
- }, "created_at" | "updated_at" | "tenant_id">, "strip", z.ZodTypeAny, {
218
- status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
219
- id: string;
220
- trigger_id: string;
221
- results: {
222
- action_name: string;
223
- error: {
224
- id: string;
225
- msg: string;
226
- url?: string | undefined;
227
- } | null;
228
- started_at: string;
229
- ended_at: string;
230
- }[];
231
- logs?: {
232
- action_name: string;
233
- lines: {
234
- message: string;
235
- level: "error" | "log" | "info" | "warn" | "debug";
236
- }[];
237
- }[] | undefined;
238
- }, {
239
- status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
240
- id: string;
241
- trigger_id: string;
242
- results: {
243
- action_name: string;
244
- error: {
245
- id: string;
246
- msg: string;
247
- url?: string | undefined;
248
- } | null;
249
- started_at: string;
250
- ended_at: string;
251
- }[];
252
- logs?: {
253
- action_name: string;
254
- lines: {
255
- message: string;
256
- level: "error" | "log" | "info" | "warn" | "debug";
257
- }[];
258
- }[] | undefined;
259
- }>;
76
+ }, z.core.$strip>>;
77
+ }, z.core.$strip>>>;
78
+ }, z.core.$strip>;
260
79
  export type ActionExecutionInsert = z.infer<typeof actionExecutionInsertSchema>;
261
80
  export interface Totals {
262
81
  start: number;
@@ -267,291 +86,112 @@ export interface Totals {
267
86
  declare const customDomainInsertSchema: z.ZodObject<{
268
87
  domain: z.ZodString;
269
88
  custom_domain_id: z.ZodOptional<z.ZodString>;
270
- type: z.ZodEnum<[
271
- "auth0_managed_certs",
272
- "self_managed_certs"
273
- ]>;
274
- verification_method: z.ZodOptional<z.ZodEnum<[
275
- "txt"
276
- ]>>;
277
- tls_policy: z.ZodOptional<z.ZodEnum<[
278
- "recommended"
279
- ]>>;
280
- custom_client_ip_header: z.ZodOptional<z.ZodEnum<[
281
- "true-client-ip",
282
- "cf-connecting-ip",
283
- "x-forwarded-for",
284
- "x-azure-clientip",
285
- "null"
286
- ]>>;
89
+ type: z.ZodEnum<{
90
+ auth0_managed_certs: "auth0_managed_certs";
91
+ self_managed_certs: "self_managed_certs";
92
+ }>;
93
+ verification_method: z.ZodOptional<z.ZodEnum<{
94
+ txt: "txt";
95
+ }>>;
96
+ tls_policy: z.ZodOptional<z.ZodEnum<{
97
+ recommended: "recommended";
98
+ }>>;
99
+ custom_client_ip_header: z.ZodOptional<z.ZodEnum<{
100
+ null: "null";
101
+ "true-client-ip": "true-client-ip";
102
+ "cf-connecting-ip": "cf-connecting-ip";
103
+ "x-forwarded-for": "x-forwarded-for";
104
+ "x-azure-clientip": "x-azure-clientip";
105
+ }>>;
287
106
  domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
288
- }, "strip", z.ZodTypeAny, {
289
- type: "auth0_managed_certs" | "self_managed_certs";
290
- domain: string;
291
- verification_method?: "txt" | undefined;
292
- custom_domain_id?: string | undefined;
293
- tls_policy?: "recommended" | undefined;
294
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
295
- domain_metadata?: Record<string, string> | undefined;
296
- }, {
297
- type: "auth0_managed_certs" | "self_managed_certs";
298
- domain: string;
299
- verification_method?: "txt" | undefined;
300
- custom_domain_id?: string | undefined;
301
- tls_policy?: "recommended" | undefined;
302
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
303
- domain_metadata?: Record<string, string> | undefined;
304
- }>;
107
+ }, z.core.$strip>;
305
108
  export type CustomDomainInsert = z.infer<typeof customDomainInsertSchema>;
306
109
  declare const customDomainSchema: z.ZodObject<{
110
+ domain: z.ZodString;
111
+ type: z.ZodEnum<{
112
+ auth0_managed_certs: "auth0_managed_certs";
113
+ self_managed_certs: "self_managed_certs";
114
+ }>;
115
+ verification_method: z.ZodOptional<z.ZodEnum<{
116
+ txt: "txt";
117
+ }>>;
118
+ custom_client_ip_header: z.ZodOptional<z.ZodEnum<{
119
+ null: "null";
120
+ "true-client-ip": "true-client-ip";
121
+ "cf-connecting-ip": "cf-connecting-ip";
122
+ "x-forwarded-for": "x-forwarded-for";
123
+ "x-azure-clientip": "x-azure-clientip";
124
+ }>>;
125
+ domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
307
126
  custom_domain_id: z.ZodString;
308
127
  primary: z.ZodBoolean;
309
- status: z.ZodEnum<[
310
- "disabled",
311
- "pending",
312
- "pending_verification",
313
- "ready"
314
- ]>;
128
+ status: z.ZodEnum<{
129
+ pending: "pending";
130
+ disabled: "disabled";
131
+ pending_verification: "pending_verification";
132
+ ready: "ready";
133
+ }>;
315
134
  origin_domain_name: z.ZodOptional<z.ZodString>;
316
135
  verification: z.ZodOptional<z.ZodObject<{
317
- methods: z.ZodArray<z.ZodDiscriminatedUnion<"name", [
136
+ methods: z.ZodArray<z.ZodDiscriminatedUnion<[
318
137
  z.ZodObject<{
319
138
  name: z.ZodLiteral<"txt">;
320
139
  record: z.ZodString;
321
140
  domain: z.ZodString;
322
- }, "strip", z.ZodTypeAny, {
323
- name: "txt";
324
- domain: string;
325
- record: string;
326
- }, {
327
- name: "txt";
328
- domain: string;
329
- record: string;
330
- }>,
141
+ }, z.core.$strip>,
331
142
  z.ZodObject<{
332
143
  name: z.ZodLiteral<"http">;
333
144
  http_body: z.ZodString;
334
145
  http_url: z.ZodString;
335
- }, "strip", z.ZodTypeAny, {
336
- name: "http";
337
- http_body: string;
338
- http_url: string;
339
- }, {
340
- name: "http";
341
- http_body: string;
342
- http_url: string;
343
- }>
344
- ]>, "many">;
345
- }, "strip", z.ZodTypeAny, {
346
- methods: ({
347
- name: "txt";
348
- domain: string;
349
- record: string;
350
- } | {
351
- name: "http";
352
- http_body: string;
353
- http_url: string;
354
- })[];
355
- }, {
356
- methods: ({
357
- name: "txt";
358
- domain: string;
359
- record: string;
360
- } | {
361
- name: "http";
362
- http_body: string;
363
- http_url: string;
364
- })[];
365
- }>>;
146
+ }, z.core.$strip>
147
+ ], "name">>;
148
+ }, z.core.$strip>>;
366
149
  tls_policy: z.ZodOptional<z.ZodString>;
367
- domain: z.ZodString;
368
- type: z.ZodEnum<[
369
- "auth0_managed_certs",
370
- "self_managed_certs"
371
- ]>;
372
- verification_method: z.ZodOptional<z.ZodEnum<[
373
- "txt"
374
- ]>>;
375
- custom_client_ip_header: z.ZodOptional<z.ZodEnum<[
376
- "true-client-ip",
377
- "cf-connecting-ip",
378
- "x-forwarded-for",
379
- "x-azure-clientip",
380
- "null"
381
- ]>>;
382
- domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
383
- }, "strip", z.ZodTypeAny, {
384
- type: "auth0_managed_certs" | "self_managed_certs";
385
- status: "pending" | "disabled" | "pending_verification" | "ready";
386
- primary: boolean;
387
- domain: string;
388
- custom_domain_id: string;
389
- verification?: {
390
- methods: ({
391
- name: "txt";
392
- domain: string;
393
- record: string;
394
- } | {
395
- name: "http";
396
- http_body: string;
397
- http_url: string;
398
- })[];
399
- } | undefined;
400
- verification_method?: "txt" | undefined;
401
- tls_policy?: string | undefined;
402
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
403
- domain_metadata?: Record<string, string> | undefined;
404
- origin_domain_name?: string | undefined;
405
- }, {
406
- type: "auth0_managed_certs" | "self_managed_certs";
407
- status: "pending" | "disabled" | "pending_verification" | "ready";
408
- primary: boolean;
409
- domain: string;
410
- custom_domain_id: string;
411
- verification?: {
412
- methods: ({
413
- name: "txt";
414
- domain: string;
415
- record: string;
416
- } | {
417
- name: "http";
418
- http_body: string;
419
- http_url: string;
420
- })[];
421
- } | undefined;
422
- verification_method?: "txt" | undefined;
423
- tls_policy?: string | undefined;
424
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
425
- domain_metadata?: Record<string, string> | undefined;
426
- origin_domain_name?: string | undefined;
427
- }>;
150
+ }, z.core.$strip>;
428
151
  export type CustomDomain = z.infer<typeof customDomainSchema>;
429
152
  declare const customDomainWithTenantIdSchema: z.ZodObject<{
153
+ domain: z.ZodString;
154
+ type: z.ZodEnum<{
155
+ auth0_managed_certs: "auth0_managed_certs";
156
+ self_managed_certs: "self_managed_certs";
157
+ }>;
158
+ verification_method: z.ZodOptional<z.ZodEnum<{
159
+ txt: "txt";
160
+ }>>;
161
+ custom_client_ip_header: z.ZodOptional<z.ZodEnum<{
162
+ null: "null";
163
+ "true-client-ip": "true-client-ip";
164
+ "cf-connecting-ip": "cf-connecting-ip";
165
+ "x-forwarded-for": "x-forwarded-for";
166
+ "x-azure-clientip": "x-azure-clientip";
167
+ }>>;
168
+ domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
430
169
  custom_domain_id: z.ZodString;
431
170
  primary: z.ZodBoolean;
432
- status: z.ZodEnum<[
433
- "disabled",
434
- "pending",
435
- "pending_verification",
436
- "ready"
437
- ]>;
171
+ status: z.ZodEnum<{
172
+ pending: "pending";
173
+ disabled: "disabled";
174
+ pending_verification: "pending_verification";
175
+ ready: "ready";
176
+ }>;
438
177
  origin_domain_name: z.ZodOptional<z.ZodString>;
439
178
  verification: z.ZodOptional<z.ZodObject<{
440
- methods: z.ZodArray<z.ZodDiscriminatedUnion<"name", [
179
+ methods: z.ZodArray<z.ZodDiscriminatedUnion<[
441
180
  z.ZodObject<{
442
181
  name: z.ZodLiteral<"txt">;
443
182
  record: z.ZodString;
444
183
  domain: z.ZodString;
445
- }, "strip", z.ZodTypeAny, {
446
- name: "txt";
447
- domain: string;
448
- record: string;
449
- }, {
450
- name: "txt";
451
- domain: string;
452
- record: string;
453
- }>,
184
+ }, z.core.$strip>,
454
185
  z.ZodObject<{
455
186
  name: z.ZodLiteral<"http">;
456
187
  http_body: z.ZodString;
457
188
  http_url: z.ZodString;
458
- }, "strip", z.ZodTypeAny, {
459
- name: "http";
460
- http_body: string;
461
- http_url: string;
462
- }, {
463
- name: "http";
464
- http_body: string;
465
- http_url: string;
466
- }>
467
- ]>, "many">;
468
- }, "strip", z.ZodTypeAny, {
469
- methods: ({
470
- name: "txt";
471
- domain: string;
472
- record: string;
473
- } | {
474
- name: "http";
475
- http_body: string;
476
- http_url: string;
477
- })[];
478
- }, {
479
- methods: ({
480
- name: "txt";
481
- domain: string;
482
- record: string;
483
- } | {
484
- name: "http";
485
- http_body: string;
486
- http_url: string;
487
- })[];
488
- }>>;
189
+ }, z.core.$strip>
190
+ ], "name">>;
191
+ }, z.core.$strip>>;
489
192
  tls_policy: z.ZodOptional<z.ZodString>;
490
- domain: z.ZodString;
491
- type: z.ZodEnum<[
492
- "auth0_managed_certs",
493
- "self_managed_certs"
494
- ]>;
495
- verification_method: z.ZodOptional<z.ZodEnum<[
496
- "txt"
497
- ]>>;
498
- custom_client_ip_header: z.ZodOptional<z.ZodEnum<[
499
- "true-client-ip",
500
- "cf-connecting-ip",
501
- "x-forwarded-for",
502
- "x-azure-clientip",
503
- "null"
504
- ]>>;
505
- domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
506
- } & {
507
193
  tenant_id: z.ZodString;
508
- }, "strip", z.ZodTypeAny, {
509
- type: "auth0_managed_certs" | "self_managed_certs";
510
- status: "pending" | "disabled" | "pending_verification" | "ready";
511
- tenant_id: string;
512
- primary: boolean;
513
- domain: string;
514
- custom_domain_id: string;
515
- verification?: {
516
- methods: ({
517
- name: "txt";
518
- domain: string;
519
- record: string;
520
- } | {
521
- name: "http";
522
- http_body: string;
523
- http_url: string;
524
- })[];
525
- } | undefined;
526
- verification_method?: "txt" | undefined;
527
- tls_policy?: string | undefined;
528
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
529
- domain_metadata?: Record<string, string> | undefined;
530
- origin_domain_name?: string | undefined;
531
- }, {
532
- type: "auth0_managed_certs" | "self_managed_certs";
533
- status: "pending" | "disabled" | "pending_verification" | "ready";
534
- tenant_id: string;
535
- primary: boolean;
536
- domain: string;
537
- custom_domain_id: string;
538
- verification?: {
539
- methods: ({
540
- name: "txt";
541
- domain: string;
542
- record: string;
543
- } | {
544
- name: "http";
545
- http_body: string;
546
- http_url: string;
547
- })[];
548
- } | undefined;
549
- verification_method?: "txt" | undefined;
550
- tls_policy?: string | undefined;
551
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
552
- domain_metadata?: Record<string, string> | undefined;
553
- origin_domain_name?: string | undefined;
554
- }>;
194
+ }, z.core.$strip>;
555
195
  export type CustomDomainWithTenantId = z.infer<typeof customDomainWithTenantIdSchema>;
556
196
  export interface ListParams {
557
197
  page?: number;
@@ -568,7 +208,7 @@ export interface ListParams {
568
208
  to_date?: number;
569
209
  }
570
210
  declare const logInsertSchema: z.ZodObject<{
571
- type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
211
+ type: z.ZodString & z.ZodType<"fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string, z.core.$ZodTypeInternals<"fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>>;
572
212
  date: z.ZodString;
573
213
  description: z.ZodOptional<z.ZodString>;
574
214
  ip: z.ZodOptional<z.ZodString>;
@@ -591,24 +231,8 @@ declare const logInsertSchema: z.ZodObject<{
591
231
  version: z.ZodString;
592
232
  env: z.ZodOptional<z.ZodObject<{
593
233
  node: z.ZodOptional<z.ZodString>;
594
- }, "strip", z.ZodTypeAny, {
595
- node?: string | undefined;
596
- }, {
597
- node?: string | undefined;
598
- }>>;
599
- }, "strip", z.ZodTypeAny, {
600
- version: string;
601
- name: string;
602
- env?: {
603
- node?: string | undefined;
604
- } | undefined;
605
- }, {
606
- version: string;
607
- name: string;
608
- env?: {
609
- node?: string | undefined;
610
- } | undefined;
611
- }>>;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>>;
612
236
  log_id: z.ZodOptional<z.ZodString>;
613
237
  location_info: z.ZodOptional<z.ZodObject<{
614
238
  country_code: z.ZodString;
@@ -617,96 +241,11 @@ declare const logInsertSchema: z.ZodObject<{
617
241
  longitude: z.ZodString;
618
242
  time_zone: z.ZodString;
619
243
  continent_code: z.ZodString;
620
- }, "strip", z.ZodTypeAny, {
621
- country_code: string;
622
- city_name: string;
623
- latitude: string;
624
- longitude: string;
625
- time_zone: string;
626
- continent_code: string;
627
- }, {
628
- country_code: string;
629
- city_name: string;
630
- latitude: string;
631
- longitude: string;
632
- time_zone: string;
633
- continent_code: string;
634
- }>>;
635
- }, "strip", z.ZodTypeAny, {
636
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
637
- date: string;
638
- isMobile: boolean;
639
- description?: string | undefined;
640
- client_id?: string | undefined;
641
- ip?: string | undefined;
642
- user_agent?: string | undefined;
643
- connection?: string | undefined;
644
- strategy?: string | undefined;
645
- strategy_type?: string | undefined;
646
- audience?: string | undefined;
647
- scope?: string | undefined;
648
- auth0_client?: {
649
- version: string;
650
- name: string;
651
- env?: {
652
- node?: string | undefined;
653
- } | undefined;
654
- } | undefined;
655
- hostname?: string | undefined;
656
- connection_id?: string | undefined;
657
- user_id?: string | undefined;
658
- details?: any;
659
- user_name?: string | undefined;
660
- client_name?: string | undefined;
661
- log_id?: string | undefined;
662
- location_info?: {
663
- country_code: string;
664
- city_name: string;
665
- latitude: string;
666
- longitude: string;
667
- time_zone: string;
668
- continent_code: string;
669
- } | undefined;
670
- }, {
671
- type: string;
672
- date: string;
673
- isMobile: boolean;
674
- description?: string | undefined;
675
- client_id?: string | undefined;
676
- ip?: string | undefined;
677
- user_agent?: string | undefined;
678
- connection?: string | undefined;
679
- strategy?: string | undefined;
680
- strategy_type?: string | undefined;
681
- audience?: string | undefined;
682
- scope?: string | undefined;
683
- auth0_client?: {
684
- version: string;
685
- name: string;
686
- env?: {
687
- node?: string | undefined;
688
- } | undefined;
689
- } | undefined;
690
- hostname?: string | undefined;
691
- connection_id?: string | undefined;
692
- user_id?: string | undefined;
693
- details?: any;
694
- user_name?: string | undefined;
695
- client_name?: string | undefined;
696
- log_id?: string | undefined;
697
- location_info?: {
698
- country_code: string;
699
- city_name: string;
700
- latitude: string;
701
- longitude: string;
702
- time_zone: string;
703
- continent_code: string;
704
- } | undefined;
705
- }>;
244
+ }, z.core.$strip>>;
245
+ }, z.core.$strip>;
706
246
  export type LogInsert = z.infer<typeof logInsertSchema>;
707
247
  declare const logSchema: z.ZodObject<{
708
- log_id: z.ZodString;
709
- type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
248
+ type: z.ZodString & z.ZodType<"fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string, z.core.$ZodTypeInternals<"fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>>;
710
249
  date: z.ZodString;
711
250
  description: z.ZodOptional<z.ZodString>;
712
251
  ip: z.ZodOptional<z.ZodString>;
@@ -729,24 +268,8 @@ declare const logSchema: z.ZodObject<{
729
268
  version: z.ZodString;
730
269
  env: z.ZodOptional<z.ZodObject<{
731
270
  node: z.ZodOptional<z.ZodString>;
732
- }, "strip", z.ZodTypeAny, {
733
- node?: string | undefined;
734
- }, {
735
- node?: string | undefined;
736
- }>>;
737
- }, "strip", z.ZodTypeAny, {
738
- version: string;
739
- name: string;
740
- env?: {
741
- node?: string | undefined;
742
- } | undefined;
743
- }, {
744
- version: string;
745
- name: string;
746
- env?: {
747
- node?: string | undefined;
748
- } | undefined;
749
- }>>;
271
+ }, z.core.$strip>>;
272
+ }, z.core.$strip>>;
750
273
  location_info: z.ZodOptional<z.ZodObject<{
751
274
  country_code: z.ZodString;
752
275
  city_name: z.ZodString;
@@ -754,92 +277,9 @@ declare const logSchema: z.ZodObject<{
754
277
  longitude: z.ZodString;
755
278
  time_zone: z.ZodString;
756
279
  continent_code: z.ZodString;
757
- }, "strip", z.ZodTypeAny, {
758
- country_code: string;
759
- city_name: string;
760
- latitude: string;
761
- longitude: string;
762
- time_zone: string;
763
- continent_code: string;
764
- }, {
765
- country_code: string;
766
- city_name: string;
767
- latitude: string;
768
- longitude: string;
769
- time_zone: string;
770
- continent_code: string;
771
- }>>;
772
- }, "strip", z.ZodTypeAny, {
773
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
774
- date: string;
775
- isMobile: boolean;
776
- log_id: string;
777
- description?: string | undefined;
778
- client_id?: string | undefined;
779
- ip?: string | undefined;
780
- user_agent?: string | undefined;
781
- connection?: string | undefined;
782
- strategy?: string | undefined;
783
- strategy_type?: string | undefined;
784
- audience?: string | undefined;
785
- scope?: string | undefined;
786
- auth0_client?: {
787
- version: string;
788
- name: string;
789
- env?: {
790
- node?: string | undefined;
791
- } | undefined;
792
- } | undefined;
793
- hostname?: string | undefined;
794
- connection_id?: string | undefined;
795
- user_id?: string | undefined;
796
- details?: any;
797
- user_name?: string | undefined;
798
- client_name?: string | undefined;
799
- location_info?: {
800
- country_code: string;
801
- city_name: string;
802
- latitude: string;
803
- longitude: string;
804
- time_zone: string;
805
- continent_code: string;
806
- } | undefined;
807
- }, {
808
- type: string;
809
- date: string;
810
- isMobile: boolean;
811
- log_id: string;
812
- description?: string | undefined;
813
- client_id?: string | undefined;
814
- ip?: string | undefined;
815
- user_agent?: string | undefined;
816
- connection?: string | undefined;
817
- strategy?: string | undefined;
818
- strategy_type?: string | undefined;
819
- audience?: string | undefined;
820
- scope?: string | undefined;
821
- auth0_client?: {
822
- version: string;
823
- name: string;
824
- env?: {
825
- node?: string | undefined;
826
- } | undefined;
827
- } | undefined;
828
- hostname?: string | undefined;
829
- connection_id?: string | undefined;
830
- user_id?: string | undefined;
831
- details?: any;
832
- user_name?: string | undefined;
833
- client_name?: string | undefined;
834
- location_info?: {
835
- country_code: string;
836
- city_name: string;
837
- latitude: string;
838
- longitude: string;
839
- time_zone: string;
840
- continent_code: string;
841
- } | undefined;
842
- }>;
280
+ }, z.core.$strip>>;
281
+ log_id: z.ZodString;
282
+ }, z.core.$strip>;
843
283
  export type Log = z.infer<typeof logSchema>;
844
284
  declare const dailyStatsSchema: z.ZodObject<{
845
285
  date: z.ZodString;
@@ -848,51 +288,37 @@ declare const dailyStatsSchema: z.ZodObject<{
848
288
  leaked_passwords: z.ZodNumber;
849
289
  updated_at: z.ZodString;
850
290
  created_at: z.ZodString;
851
- }, "strip", z.ZodTypeAny, {
852
- created_at: string;
853
- updated_at: string;
854
- date: string;
855
- logins: number;
856
- signups: number;
857
- leaked_passwords: number;
858
- }, {
859
- created_at: string;
860
- updated_at: string;
861
- date: string;
862
- logins: number;
863
- signups: number;
864
- leaked_passwords: number;
865
- }>;
291
+ }, z.core.$strip>;
866
292
  export type DailyStats = z.infer<typeof dailyStatsSchema>;
867
- declare const analyticsResourceSchema: z.ZodEnum<[
868
- "active-users",
869
- "logins",
870
- "signups",
871
- "refresh-tokens",
872
- "sessions"
873
- ]>;
293
+ declare const analyticsResourceSchema: z.ZodEnum<{
294
+ sessions: "sessions";
295
+ logins: "logins";
296
+ signups: "signups";
297
+ "active-users": "active-users";
298
+ "refresh-tokens": "refresh-tokens";
299
+ }>;
874
300
  export type AnalyticsResource = z.infer<typeof analyticsResourceSchema>;
875
- declare const analyticsIntervalSchema: z.ZodEnum<[
876
- "hour",
877
- "day",
878
- "week",
879
- "month"
880
- ]>;
301
+ declare const analyticsIntervalSchema: z.ZodEnum<{
302
+ hour: "hour";
303
+ day: "day";
304
+ week: "week";
305
+ month: "month";
306
+ }>;
881
307
  export type AnalyticsInterval = z.infer<typeof analyticsIntervalSchema>;
882
- declare const analyticsGroupBySchema: z.ZodEnum<[
883
- "time",
884
- "connection",
885
- "client_id",
886
- "user_type",
887
- "event"
888
- ]>;
308
+ declare const analyticsGroupBySchema: z.ZodEnum<{
309
+ client_id: "client_id";
310
+ connection: "connection";
311
+ time: "time";
312
+ user_type: "user_type";
313
+ event: "event";
314
+ }>;
889
315
  export type AnalyticsGroupBy = z.infer<typeof analyticsGroupBySchema>;
890
- declare const analyticsUserTypeSchema: z.ZodEnum<[
891
- "password",
892
- "social",
893
- "passwordless",
894
- "enterprise"
895
- ]>;
316
+ declare const analyticsUserTypeSchema: z.ZodEnum<{
317
+ password: "password";
318
+ passwordless: "passwordless";
319
+ social: "social";
320
+ enterprise: "enterprise";
321
+ }>;
896
322
  export type AnalyticsUserType = z.infer<typeof analyticsUserTypeSchema>;
897
323
  export interface AnalyticsFilters {
898
324
  connection?: string[];