saasco-sdk 0.1.8 → 0.1.10

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.
@@ -152,6 +152,155 @@ export declare const TinybirdJobResponseSchema: z.ZodObject<{
152
152
  import_id?: string | undefined;
153
153
  }>;
154
154
  export type TinybirdJobResponse = z.infer<typeof TinybirdJobResponseSchema>;
155
+ export declare const latestEventsRequestSchema: z.ZodObject<{
156
+ projectId: z.ZodString;
157
+ limit: z.ZodOptional<z.ZodNumber>;
158
+ payload: z.ZodOptional<z.ZodBoolean>;
159
+ }, "strip", z.ZodTypeAny, {
160
+ projectId: string;
161
+ limit?: number | undefined;
162
+ payload?: boolean | undefined;
163
+ }, {
164
+ projectId: string;
165
+ limit?: number | undefined;
166
+ payload?: boolean | undefined;
167
+ }>;
168
+ export type LatestEventsRequest = z.infer<typeof latestEventsRequestSchema>;
169
+ export declare const latestEventItemSchema: z.ZodObject<{
170
+ id: z.ZodString;
171
+ timestamp: z.ZodString;
172
+ action: z.ZodString;
173
+ location: z.ZodString;
174
+ referrer: z.ZodString;
175
+ href: z.ZodString;
176
+ device: z.ZodString;
177
+ browser: z.ZodString;
178
+ payload: z.ZodOptional<z.ZodString>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ id: string;
181
+ timestamp: string;
182
+ action: string;
183
+ location: string;
184
+ referrer: string;
185
+ href: string;
186
+ device: string;
187
+ browser: string;
188
+ payload?: string | undefined;
189
+ }, {
190
+ id: string;
191
+ timestamp: string;
192
+ action: string;
193
+ location: string;
194
+ referrer: string;
195
+ href: string;
196
+ device: string;
197
+ browser: string;
198
+ payload?: string | undefined;
199
+ }>;
200
+ export type LatestEventItem = z.infer<typeof latestEventItemSchema>;
201
+ export declare const latestEventsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
202
+ meta: z.ZodArray<z.ZodObject<{
203
+ name: z.ZodString;
204
+ type: z.ZodString;
205
+ }, "strip", z.ZodTypeAny, {
206
+ type: string;
207
+ name: string;
208
+ }, {
209
+ type: string;
210
+ name: string;
211
+ }>, "many">;
212
+ statistics: z.ZodObject<{
213
+ elapsed: z.ZodNumber;
214
+ rows_read: z.ZodNumber;
215
+ bytes_read: z.ZodNumber;
216
+ }, "strip", z.ZodTypeAny, {
217
+ elapsed: number;
218
+ rows_read: number;
219
+ bytes_read: number;
220
+ }, {
221
+ elapsed: number;
222
+ rows_read: number;
223
+ bytes_read: number;
224
+ }>;
225
+ rows: z.ZodNumber;
226
+ }, {
227
+ data: z.ZodArray<z.ZodObject<{
228
+ id: z.ZodString;
229
+ timestamp: z.ZodString;
230
+ action: z.ZodString;
231
+ location: z.ZodString;
232
+ referrer: z.ZodString;
233
+ href: z.ZodString;
234
+ device: z.ZodString;
235
+ browser: z.ZodString;
236
+ payload: z.ZodOptional<z.ZodString>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ id: string;
239
+ timestamp: string;
240
+ action: string;
241
+ location: string;
242
+ referrer: string;
243
+ href: string;
244
+ device: string;
245
+ browser: string;
246
+ payload?: string | undefined;
247
+ }, {
248
+ id: string;
249
+ timestamp: string;
250
+ action: string;
251
+ location: string;
252
+ referrer: string;
253
+ href: string;
254
+ device: string;
255
+ browser: string;
256
+ payload?: string | undefined;
257
+ }>, "many">;
258
+ }>, "strip", z.ZodTypeAny, {
259
+ meta: {
260
+ type: string;
261
+ name: string;
262
+ }[];
263
+ statistics: {
264
+ elapsed: number;
265
+ rows_read: number;
266
+ bytes_read: number;
267
+ };
268
+ rows: number;
269
+ data: {
270
+ id: string;
271
+ timestamp: string;
272
+ action: string;
273
+ location: string;
274
+ referrer: string;
275
+ href: string;
276
+ device: string;
277
+ browser: string;
278
+ payload?: string | undefined;
279
+ }[];
280
+ }, {
281
+ meta: {
282
+ type: string;
283
+ name: string;
284
+ }[];
285
+ statistics: {
286
+ elapsed: number;
287
+ rows_read: number;
288
+ bytes_read: number;
289
+ };
290
+ rows: number;
291
+ data: {
292
+ id: string;
293
+ timestamp: string;
294
+ action: string;
295
+ location: string;
296
+ referrer: string;
297
+ href: string;
298
+ device: string;
299
+ browser: string;
300
+ payload?: string | undefined;
301
+ }[];
302
+ }>;
303
+ export type LatestEventsResponse = z.infer<typeof latestEventsResponseSchema>;
155
304
  export declare const kpisRequestSchema: z.ZodObject<{
156
305
  projectId: z.ZodString;
157
306
  dateTo: z.ZodOptional<z.ZodString>;
@@ -160,19 +309,45 @@ export declare const kpisRequestSchema: z.ZodObject<{
160
309
  location: z.ZodOptional<z.ZodString>;
161
310
  }, "strip", z.ZodTypeAny, {
162
311
  projectId: string;
312
+ location?: string | undefined;
313
+ referrer?: string | undefined;
163
314
  dateTo?: string | undefined;
164
315
  dateFrom?: string | undefined;
165
- referrer?: string | undefined;
166
- location?: string | undefined;
167
316
  }, {
168
317
  projectId: string;
318
+ location?: string | undefined;
319
+ referrer?: string | undefined;
169
320
  dateTo?: string | undefined;
170
321
  dateFrom?: string | undefined;
171
- referrer?: string | undefined;
172
- location?: string | undefined;
173
322
  }>;
174
323
  export type KpisRequest = z.infer<typeof kpisRequestSchema>;
175
- export declare const kpisResponseSchema: z.ZodObject<{
324
+ export declare const kpiSchema: z.ZodObject<{
325
+ date: z.ZodString;
326
+ users: z.ZodNumber;
327
+ sessions: z.ZodNumber;
328
+ pageViews: z.ZodNumber;
329
+ events: z.ZodNumber;
330
+ bounceRate: z.ZodNullable<z.ZodNumber>;
331
+ avgSessionSec: z.ZodNumber;
332
+ }, "strip", z.ZodTypeAny, {
333
+ date: string;
334
+ users: number;
335
+ sessions: number;
336
+ pageViews: number;
337
+ events: number;
338
+ bounceRate: number | null;
339
+ avgSessionSec: number;
340
+ }, {
341
+ date: string;
342
+ users: number;
343
+ sessions: number;
344
+ pageViews: number;
345
+ events: number;
346
+ bounceRate: number | null;
347
+ avgSessionSec: number;
348
+ }>;
349
+ export type Kpi = z.infer<typeof kpiSchema>;
350
+ export declare const kpisResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
176
351
  meta: z.ZodArray<z.ZodObject<{
177
352
  name: z.ZodString;
178
353
  type: z.ZodString;
@@ -197,6 +372,7 @@ export declare const kpisResponseSchema: z.ZodObject<{
197
372
  bytes_read: number;
198
373
  }>;
199
374
  rows: z.ZodNumber;
375
+ }, {
200
376
  data: z.ZodArray<z.ZodObject<{
201
377
  date: z.ZodString;
202
378
  users: z.ZodNumber;
@@ -222,16 +398,7 @@ export declare const kpisResponseSchema: z.ZodObject<{
222
398
  bounceRate: number | null;
223
399
  avgSessionSec: number;
224
400
  }>, "many">;
225
- }, "strip", z.ZodTypeAny, {
226
- data: {
227
- date: string;
228
- users: number;
229
- sessions: number;
230
- pageViews: number;
231
- events: number;
232
- bounceRate: number | null;
233
- avgSessionSec: number;
234
- }[];
401
+ }>, "strip", z.ZodTypeAny, {
235
402
  meta: {
236
403
  type: string;
237
404
  name: string;
@@ -242,7 +409,6 @@ export declare const kpisResponseSchema: z.ZodObject<{
242
409
  bytes_read: number;
243
410
  };
244
411
  rows: number;
245
- }, {
246
412
  data: {
247
413
  date: string;
248
414
  users: number;
@@ -252,6 +418,7 @@ export declare const kpisResponseSchema: z.ZodObject<{
252
418
  bounceRate: number | null;
253
419
  avgSessionSec: number;
254
420
  }[];
421
+ }, {
255
422
  meta: {
256
423
  type: string;
257
424
  name: string;
@@ -262,6 +429,15 @@ export declare const kpisResponseSchema: z.ZodObject<{
262
429
  bytes_read: number;
263
430
  };
264
431
  rows: number;
432
+ data: {
433
+ date: string;
434
+ users: number;
435
+ sessions: number;
436
+ pageViews: number;
437
+ events: number;
438
+ bounceRate: number | null;
439
+ avgSessionSec: number;
440
+ }[];
265
441
  }>;
266
442
  export type KpisResponse = z.infer<typeof kpisResponseSchema>;
267
443
  export declare const baseTopRequestSchema: z.ZodObject<{
@@ -274,23 +450,23 @@ export declare const baseTopRequestSchema: z.ZodObject<{
274
450
  location: z.ZodOptional<z.ZodString>;
275
451
  }, "strip", z.ZodTypeAny, {
276
452
  projectId: string;
453
+ limit?: number | undefined;
454
+ location?: string | undefined;
455
+ referrer?: string | undefined;
277
456
  dateTo?: string | undefined;
278
457
  dateFrom?: string | undefined;
279
- limit?: number | undefined;
280
458
  skip?: number | undefined;
281
- referrer?: string | undefined;
282
- location?: string | undefined;
283
459
  }, {
284
460
  projectId: string;
461
+ limit?: number | undefined;
462
+ location?: string | undefined;
463
+ referrer?: string | undefined;
285
464
  dateTo?: string | undefined;
286
465
  dateFrom?: string | undefined;
287
- limit?: number | undefined;
288
466
  skip?: number | undefined;
289
- referrer?: string | undefined;
290
- location?: string | undefined;
291
467
  }>;
292
468
  export type BaseTopRequest = z.infer<typeof baseTopRequestSchema>;
293
- export declare const topPagesResponseSchema: z.ZodObject<{
469
+ export declare const topPagesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
294
470
  meta: z.ZodArray<z.ZodObject<{
295
471
  name: z.ZodString;
296
472
  type: z.ZodString;
@@ -315,6 +491,7 @@ export declare const topPagesResponseSchema: z.ZodObject<{
315
491
  bytes_read: number;
316
492
  }>;
317
493
  rows: z.ZodNumber;
494
+ }, {
318
495
  data: z.ZodArray<z.ZodObject<{
319
496
  pathname: z.ZodString;
320
497
  users: z.ZodNumber;
@@ -328,12 +505,7 @@ export declare const topPagesResponseSchema: z.ZodObject<{
328
505
  events: number;
329
506
  pathname: string;
330
507
  }>, "many">;
331
- }, "strip", z.ZodTypeAny, {
332
- data: {
333
- users: number;
334
- events: number;
335
- pathname: string;
336
- }[];
508
+ }>, "strip", z.ZodTypeAny, {
337
509
  meta: {
338
510
  type: string;
339
511
  name: string;
@@ -344,12 +516,12 @@ export declare const topPagesResponseSchema: z.ZodObject<{
344
516
  bytes_read: number;
345
517
  };
346
518
  rows: number;
347
- }, {
348
519
  data: {
349
520
  users: number;
350
521
  events: number;
351
522
  pathname: string;
352
523
  }[];
524
+ }, {
353
525
  meta: {
354
526
  type: string;
355
527
  name: string;
@@ -360,9 +532,14 @@ export declare const topPagesResponseSchema: z.ZodObject<{
360
532
  bytes_read: number;
361
533
  };
362
534
  rows: number;
535
+ data: {
536
+ users: number;
537
+ events: number;
538
+ pathname: string;
539
+ }[];
363
540
  }>;
364
541
  export type TopPagesResponse = z.infer<typeof topPagesResponseSchema>;
365
- export declare const topLocationsResponseSchema: z.ZodObject<{
542
+ export declare const topLocationsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
366
543
  meta: z.ZodArray<z.ZodObject<{
367
544
  name: z.ZodString;
368
545
  type: z.ZodString;
@@ -387,6 +564,7 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
387
564
  bytes_read: number;
388
565
  }>;
389
566
  rows: z.ZodNumber;
567
+ }, {
390
568
  data: z.ZodArray<z.ZodObject<{
391
569
  location: z.ZodString;
392
570
  users: z.ZodNumber;
@@ -409,15 +587,7 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
409
587
  bounceRate: number | null;
410
588
  avgSessionSec: number;
411
589
  }>, "many">;
412
- }, "strip", z.ZodTypeAny, {
413
- data: {
414
- location: string;
415
- users: number;
416
- sessions: number;
417
- pageViews: number;
418
- bounceRate: number | null;
419
- avgSessionSec: number;
420
- }[];
590
+ }>, "strip", z.ZodTypeAny, {
421
591
  meta: {
422
592
  type: string;
423
593
  name: string;
@@ -428,7 +598,6 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
428
598
  bytes_read: number;
429
599
  };
430
600
  rows: number;
431
- }, {
432
601
  data: {
433
602
  location: string;
434
603
  users: number;
@@ -437,6 +606,7 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
437
606
  bounceRate: number | null;
438
607
  avgSessionSec: number;
439
608
  }[];
609
+ }, {
440
610
  meta: {
441
611
  type: string;
442
612
  name: string;
@@ -447,9 +617,17 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
447
617
  bytes_read: number;
448
618
  };
449
619
  rows: number;
620
+ data: {
621
+ location: string;
622
+ users: number;
623
+ sessions: number;
624
+ pageViews: number;
625
+ bounceRate: number | null;
626
+ avgSessionSec: number;
627
+ }[];
450
628
  }>;
451
629
  export type TopLocationsResponse = z.infer<typeof topLocationsResponseSchema>;
452
- export declare const topDevicesResponseSchema: z.ZodObject<{
630
+ export declare const topDevicesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
453
631
  meta: z.ZodArray<z.ZodObject<{
454
632
  name: z.ZodString;
455
633
  type: z.ZodString;
@@ -474,6 +652,7 @@ export declare const topDevicesResponseSchema: z.ZodObject<{
474
652
  bytes_read: number;
475
653
  }>;
476
654
  rows: z.ZodNumber;
655
+ }, {
477
656
  data: z.ZodArray<z.ZodObject<{
478
657
  device: z.ZodString;
479
658
  visits: z.ZodNumber;
@@ -481,26 +660,19 @@ export declare const topDevicesResponseSchema: z.ZodObject<{
481
660
  bounceRate: z.ZodNullable<z.ZodNumber>;
482
661
  avgSessionSec: z.ZodNumber;
483
662
  }, "strip", z.ZodTypeAny, {
663
+ device: string;
484
664
  bounceRate: number | null;
485
665
  avgSessionSec: number;
486
- device: string;
487
666
  visits: number;
488
667
  hits: number;
489
668
  }, {
490
- bounceRate: number | null;
491
- avgSessionSec: number;
492
669
  device: string;
493
- visits: number;
494
- hits: number;
495
- }>, "many">;
496
- }, "strip", z.ZodTypeAny, {
497
- data: {
498
670
  bounceRate: number | null;
499
671
  avgSessionSec: number;
500
- device: string;
501
672
  visits: number;
502
673
  hits: number;
503
- }[];
674
+ }>, "many">;
675
+ }>, "strip", z.ZodTypeAny, {
504
676
  meta: {
505
677
  type: string;
506
678
  name: string;
@@ -511,14 +683,14 @@ export declare const topDevicesResponseSchema: z.ZodObject<{
511
683
  bytes_read: number;
512
684
  };
513
685
  rows: number;
514
- }, {
515
686
  data: {
687
+ device: string;
516
688
  bounceRate: number | null;
517
689
  avgSessionSec: number;
518
- device: string;
519
690
  visits: number;
520
691
  hits: number;
521
692
  }[];
693
+ }, {
522
694
  meta: {
523
695
  type: string;
524
696
  name: string;
@@ -529,9 +701,16 @@ export declare const topDevicesResponseSchema: z.ZodObject<{
529
701
  bytes_read: number;
530
702
  };
531
703
  rows: number;
704
+ data: {
705
+ device: string;
706
+ bounceRate: number | null;
707
+ avgSessionSec: number;
708
+ visits: number;
709
+ hits: number;
710
+ }[];
532
711
  }>;
533
712
  export type TopDevicesResponse = z.infer<typeof topDevicesResponseSchema>;
534
- export declare const topBrowsersResponseSchema: z.ZodObject<{
713
+ export declare const topBrowsersResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
535
714
  meta: z.ZodArray<z.ZodObject<{
536
715
  name: z.ZodString;
537
716
  type: z.ZodString;
@@ -556,6 +735,7 @@ export declare const topBrowsersResponseSchema: z.ZodObject<{
556
735
  bytes_read: number;
557
736
  }>;
558
737
  rows: z.ZodNumber;
738
+ }, {
559
739
  data: z.ZodArray<z.ZodObject<{
560
740
  browser: z.ZodString;
561
741
  visits: z.ZodNumber;
@@ -563,26 +743,19 @@ export declare const topBrowsersResponseSchema: z.ZodObject<{
563
743
  bounceRate: z.ZodNullable<z.ZodNumber>;
564
744
  avgSessionSec: z.ZodNumber;
565
745
  }, "strip", z.ZodTypeAny, {
566
- bounceRate: number | null;
567
- avgSessionSec: number;
568
- visits: number;
569
- hits: number;
570
746
  browser: string;
571
- }, {
572
747
  bounceRate: number | null;
573
748
  avgSessionSec: number;
574
749
  visits: number;
575
750
  hits: number;
751
+ }, {
576
752
  browser: string;
577
- }>, "many">;
578
- }, "strip", z.ZodTypeAny, {
579
- data: {
580
753
  bounceRate: number | null;
581
754
  avgSessionSec: number;
582
755
  visits: number;
583
756
  hits: number;
584
- browser: string;
585
- }[];
757
+ }>, "many">;
758
+ }>, "strip", z.ZodTypeAny, {
586
759
  meta: {
587
760
  type: string;
588
761
  name: string;
@@ -593,14 +766,14 @@ export declare const topBrowsersResponseSchema: z.ZodObject<{
593
766
  bytes_read: number;
594
767
  };
595
768
  rows: number;
596
- }, {
597
769
  data: {
770
+ browser: string;
598
771
  bounceRate: number | null;
599
772
  avgSessionSec: number;
600
773
  visits: number;
601
774
  hits: number;
602
- browser: string;
603
775
  }[];
776
+ }, {
604
777
  meta: {
605
778
  type: string;
606
779
  name: string;
@@ -611,6 +784,13 @@ export declare const topBrowsersResponseSchema: z.ZodObject<{
611
784
  bytes_read: number;
612
785
  };
613
786
  rows: number;
787
+ data: {
788
+ browser: string;
789
+ bounceRate: number | null;
790
+ avgSessionSec: number;
791
+ visits: number;
792
+ hits: number;
793
+ }[];
614
794
  }>;
615
795
  export type TopBrowsersResponse = z.infer<typeof topBrowsersResponseSchema>;
616
796
  export declare const topSourcesSchema: z.ZodObject<{
@@ -636,7 +816,7 @@ export declare const topSourcesSchema: z.ZodObject<{
636
816
  avgSessionSec: number;
637
817
  }>;
638
818
  export type TopSources = z.infer<typeof topSourcesSchema>;
639
- export declare const topSourcesResponseSchema: z.ZodObject<{
819
+ export declare const topSourcesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
640
820
  meta: z.ZodArray<z.ZodObject<{
641
821
  name: z.ZodString;
642
822
  type: z.ZodString;
@@ -661,6 +841,7 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
661
841
  bytes_read: number;
662
842
  }>;
663
843
  rows: z.ZodNumber;
844
+ }, {
664
845
  data: z.ZodArray<z.ZodObject<{
665
846
  referrer: z.ZodString;
666
847
  users: z.ZodNumber;
@@ -683,15 +864,7 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
683
864
  bounceRate: number | null;
684
865
  avgSessionSec: number;
685
866
  }>, "many">;
686
- }, "strip", z.ZodTypeAny, {
687
- data: {
688
- referrer: string;
689
- users: number;
690
- sessions: number;
691
- pageViews: number;
692
- bounceRate: number | null;
693
- avgSessionSec: number;
694
- }[];
867
+ }>, "strip", z.ZodTypeAny, {
695
868
  meta: {
696
869
  type: string;
697
870
  name: string;
@@ -702,7 +875,6 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
702
875
  bytes_read: number;
703
876
  };
704
877
  rows: number;
705
- }, {
706
878
  data: {
707
879
  referrer: string;
708
880
  users: number;
@@ -711,6 +883,7 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
711
883
  bounceRate: number | null;
712
884
  avgSessionSec: number;
713
885
  }[];
886
+ }, {
714
887
  meta: {
715
888
  type: string;
716
889
  name: string;
@@ -721,9 +894,17 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
721
894
  bytes_read: number;
722
895
  };
723
896
  rows: number;
897
+ data: {
898
+ referrer: string;
899
+ users: number;
900
+ sessions: number;
901
+ pageViews: number;
902
+ bounceRate: number | null;
903
+ avgSessionSec: number;
904
+ }[];
724
905
  }>;
725
906
  export type TopSourcesResponse = z.infer<typeof topSourcesResponseSchema>;
726
- export declare const topActionsResponseSchema: z.ZodObject<{
907
+ export declare const topActionsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
727
908
  meta: z.ZodArray<z.ZodObject<{
728
909
  name: z.ZodString;
729
910
  type: z.ZodString;
@@ -748,25 +929,21 @@ export declare const topActionsResponseSchema: z.ZodObject<{
748
929
  bytes_read: number;
749
930
  }>;
750
931
  rows: z.ZodNumber;
932
+ }, {
751
933
  data: z.ZodArray<z.ZodObject<{
752
934
  action: z.ZodString;
753
935
  users: z.ZodNumber;
754
936
  events: z.ZodNumber;
755
937
  }, "strip", z.ZodTypeAny, {
756
- users: number;
757
- events: number;
758
938
  action: string;
759
- }, {
760
939
  users: number;
761
940
  events: number;
941
+ }, {
762
942
  action: string;
763
- }>, "many">;
764
- }, "strip", z.ZodTypeAny, {
765
- data: {
766
943
  users: number;
767
944
  events: number;
768
- action: string;
769
- }[];
945
+ }>, "many">;
946
+ }>, "strip", z.ZodTypeAny, {
770
947
  meta: {
771
948
  type: string;
772
949
  name: string;
@@ -777,12 +954,12 @@ export declare const topActionsResponseSchema: z.ZodObject<{
777
954
  bytes_read: number;
778
955
  };
779
956
  rows: number;
780
- }, {
781
957
  data: {
958
+ action: string;
782
959
  users: number;
783
960
  events: number;
784
- action: string;
785
961
  }[];
962
+ }, {
786
963
  meta: {
787
964
  type: string;
788
965
  name: string;
@@ -793,6 +970,11 @@ export declare const topActionsResponseSchema: z.ZodObject<{
793
970
  bytes_read: number;
794
971
  };
795
972
  rows: number;
973
+ data: {
974
+ action: string;
975
+ users: number;
976
+ events: number;
977
+ }[];
796
978
  }>;
797
979
  export type TopActionsResponse = z.infer<typeof topActionsResponseSchema>;
798
980
  export declare const analyticsEventSchema: z.ZodObject<{
@@ -801,30 +983,33 @@ export declare const analyticsEventSchema: z.ZodObject<{
801
983
  projectId: z.ZodString;
802
984
  anonymousId: z.ZodString;
803
985
  sessionId: z.ZodString;
986
+ distinctId: z.ZodNullable<z.ZodString>;
804
987
  version: z.ZodString;
805
988
  action: z.ZodString;
806
989
  payload: z.ZodString;
807
990
  }, "strip", z.ZodTypeAny, {
808
991
  id: string;
809
992
  projectId: string;
810
- action: string;
993
+ payload: string;
811
994
  timestamp: string;
995
+ action: string;
812
996
  anonymousId: string;
813
997
  sessionId: string;
998
+ distinctId: string | null;
814
999
  version: string;
815
- payload: string;
816
1000
  }, {
817
1001
  id: string;
818
1002
  projectId: string;
819
- action: string;
1003
+ payload: string;
820
1004
  timestamp: string;
1005
+ action: string;
821
1006
  anonymousId: string;
822
1007
  sessionId: string;
1008
+ distinctId: string | null;
823
1009
  version: string;
824
- payload: string;
825
1010
  }>;
826
1011
  export type AnalyticsEvent = z.infer<typeof analyticsEventSchema>;
827
- export declare const userEventsResponseSchema: z.ZodObject<{
1012
+ export declare const userEventsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
828
1013
  meta: z.ZodArray<z.ZodObject<{
829
1014
  name: z.ZodString;
830
1015
  type: z.ZodString;
@@ -849,45 +1034,39 @@ export declare const userEventsResponseSchema: z.ZodObject<{
849
1034
  bytes_read: number;
850
1035
  }>;
851
1036
  rows: z.ZodNumber;
1037
+ }, {
852
1038
  data: z.ZodArray<z.ZodObject<{
853
1039
  id: z.ZodString;
854
1040
  timestamp: z.ZodString;
855
1041
  projectId: z.ZodString;
856
1042
  anonymousId: z.ZodString;
857
1043
  sessionId: z.ZodString;
1044
+ distinctId: z.ZodNullable<z.ZodString>;
858
1045
  version: z.ZodString;
859
1046
  action: z.ZodString;
860
1047
  payload: z.ZodString;
861
1048
  }, "strip", z.ZodTypeAny, {
862
1049
  id: string;
863
1050
  projectId: string;
864
- action: string;
1051
+ payload: string;
865
1052
  timestamp: string;
1053
+ action: string;
866
1054
  anonymousId: string;
867
1055
  sessionId: string;
1056
+ distinctId: string | null;
868
1057
  version: string;
869
- payload: string;
870
1058
  }, {
871
1059
  id: string;
872
1060
  projectId: string;
873
- action: string;
874
- timestamp: string;
875
- anonymousId: string;
876
- sessionId: string;
877
- version: string;
878
1061
  payload: string;
879
- }>, "many">;
880
- }, "strip", z.ZodTypeAny, {
881
- data: {
882
- id: string;
883
- projectId: string;
884
- action: string;
885
1062
  timestamp: string;
1063
+ action: string;
886
1064
  anonymousId: string;
887
1065
  sessionId: string;
1066
+ distinctId: string | null;
888
1067
  version: string;
889
- payload: string;
890
- }[];
1068
+ }>, "many">;
1069
+ }>, "strip", z.ZodTypeAny, {
891
1070
  meta: {
892
1071
  type: string;
893
1072
  name: string;
@@ -898,17 +1077,18 @@ export declare const userEventsResponseSchema: z.ZodObject<{
898
1077
  bytes_read: number;
899
1078
  };
900
1079
  rows: number;
901
- }, {
902
1080
  data: {
903
1081
  id: string;
904
1082
  projectId: string;
905
- action: string;
1083
+ payload: string;
906
1084
  timestamp: string;
1085
+ action: string;
907
1086
  anonymousId: string;
908
1087
  sessionId: string;
1088
+ distinctId: string | null;
909
1089
  version: string;
910
- payload: string;
911
1090
  }[];
1091
+ }, {
912
1092
  meta: {
913
1093
  type: string;
914
1094
  name: string;
@@ -919,26 +1099,37 @@ export declare const userEventsResponseSchema: z.ZodObject<{
919
1099
  bytes_read: number;
920
1100
  };
921
1101
  rows: number;
1102
+ data: {
1103
+ id: string;
1104
+ projectId: string;
1105
+ payload: string;
1106
+ timestamp: string;
1107
+ action: string;
1108
+ anonymousId: string;
1109
+ sessionId: string;
1110
+ distinctId: string | null;
1111
+ version: string;
1112
+ }[];
922
1113
  }>;
923
1114
  export type UserEventsResponse = z.infer<typeof userEventsResponseSchema>;
924
1115
  export declare const currentUsersRequestSchema: z.ZodObject<{
925
1116
  projectId: z.ZodString;
926
- minutes: z.ZodOptional<z.ZodNumber>;
1117
+ minutes: z.ZodNumber;
927
1118
  referrer: z.ZodOptional<z.ZodString>;
928
1119
  location: z.ZodOptional<z.ZodString>;
929
1120
  }, "strip", z.ZodTypeAny, {
930
1121
  projectId: string;
931
- minutes?: number | undefined;
932
- referrer?: string | undefined;
1122
+ minutes: number;
933
1123
  location?: string | undefined;
1124
+ referrer?: string | undefined;
934
1125
  }, {
935
1126
  projectId: string;
936
- minutes?: number | undefined;
937
- referrer?: string | undefined;
1127
+ minutes: number;
938
1128
  location?: string | undefined;
1129
+ referrer?: string | undefined;
939
1130
  }>;
940
1131
  export type CurrentUsersRequest = z.infer<typeof currentUsersRequestSchema>;
941
- export declare const currentUsersResponseSchema: z.ZodObject<{
1132
+ export declare const currentUsersResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
942
1133
  meta: z.ZodArray<z.ZodObject<{
943
1134
  name: z.ZodString;
944
1135
  type: z.ZodString;
@@ -963,6 +1154,7 @@ export declare const currentUsersResponseSchema: z.ZodObject<{
963
1154
  bytes_read: number;
964
1155
  }>;
965
1156
  rows: z.ZodNumber;
1157
+ }, {
966
1158
  data: z.ZodArray<z.ZodObject<{
967
1159
  visits: z.ZodNumber;
968
1160
  }, "strip", z.ZodTypeAny, {
@@ -970,10 +1162,7 @@ export declare const currentUsersResponseSchema: z.ZodObject<{
970
1162
  }, {
971
1163
  visits: number;
972
1164
  }>, "many">;
973
- }, "strip", z.ZodTypeAny, {
974
- data: {
975
- visits: number;
976
- }[];
1165
+ }>, "strip", z.ZodTypeAny, {
977
1166
  meta: {
978
1167
  type: string;
979
1168
  name: string;
@@ -984,10 +1173,10 @@ export declare const currentUsersResponseSchema: z.ZodObject<{
984
1173
  bytes_read: number;
985
1174
  };
986
1175
  rows: number;
987
- }, {
988
1176
  data: {
989
1177
  visits: number;
990
1178
  }[];
1179
+ }, {
991
1180
  meta: {
992
1181
  type: string;
993
1182
  name: string;
@@ -998,6 +1187,9 @@ export declare const currentUsersResponseSchema: z.ZodObject<{
998
1187
  bytes_read: number;
999
1188
  };
1000
1189
  rows: number;
1190
+ data: {
1191
+ visits: number;
1192
+ }[];
1001
1193
  }>;
1002
1194
  export type CurrentUsersResponse = z.infer<typeof currentUsersResponseSchema>;
1003
1195
  export declare const reservedPropertiesSchema: z.ZodObject<{
@@ -1019,6 +1211,8 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
1019
1211
  $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
1212
  $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1021
1213
  }, "strip", z.ZodTypeAny, {
1214
+ name?: string | null | undefined;
1215
+ id?: string | null | undefined;
1022
1216
  age?: string | number | null | undefined;
1023
1217
  avatar?: string | null | undefined;
1024
1218
  birthday?: string | null | undefined;
@@ -1027,9 +1221,7 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
1027
1221
  email?: string | null | undefined;
1028
1222
  firstName?: string | null | undefined;
1029
1223
  gender?: string | null | undefined;
1030
- id?: string | null | undefined;
1031
1224
  lastName?: string | null | undefined;
1032
- name?: string | null | undefined;
1033
1225
  phone?: string | null | undefined;
1034
1226
  title?: string | null | undefined;
1035
1227
  username?: string | null | undefined;
@@ -1037,6 +1229,8 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
1037
1229
  $id?: string | null | undefined;
1038
1230
  $lastSeen?: string | null | undefined;
1039
1231
  }, {
1232
+ name?: string | null | undefined;
1233
+ id?: string | null | undefined;
1040
1234
  age?: string | number | null | undefined;
1041
1235
  avatar?: string | null | undefined;
1042
1236
  birthday?: string | null | undefined;
@@ -1045,9 +1239,7 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
1045
1239
  email?: string | null | undefined;
1046
1240
  firstName?: string | null | undefined;
1047
1241
  gender?: string | null | undefined;
1048
- id?: string | null | undefined;
1049
1242
  lastName?: string | null | undefined;
1050
- name?: string | null | undefined;
1051
1243
  phone?: string | null | undefined;
1052
1244
  title?: string | null | undefined;
1053
1245
  username?: string | null | undefined;
@@ -1075,6 +1267,8 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
1075
1267
  $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1076
1268
  $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1077
1269
  }, "strip", z.ZodTypeAny, {
1270
+ name?: string | null | undefined;
1271
+ id?: string | null | undefined;
1078
1272
  age?: string | number | null | undefined;
1079
1273
  avatar?: string | null | undefined;
1080
1274
  birthday?: string | null | undefined;
@@ -1083,9 +1277,7 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
1083
1277
  email?: string | null | undefined;
1084
1278
  firstName?: string | null | undefined;
1085
1279
  gender?: string | null | undefined;
1086
- id?: string | null | undefined;
1087
1280
  lastName?: string | null | undefined;
1088
- name?: string | null | undefined;
1089
1281
  phone?: string | null | undefined;
1090
1282
  title?: string | null | undefined;
1091
1283
  username?: string | null | undefined;
@@ -1093,6 +1285,8 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
1093
1285
  $id?: string | null | undefined;
1094
1286
  $lastSeen?: string | null | undefined;
1095
1287
  }, {
1288
+ name?: string | null | undefined;
1289
+ id?: string | null | undefined;
1096
1290
  age?: string | number | null | undefined;
1097
1291
  avatar?: string | null | undefined;
1098
1292
  birthday?: string | null | undefined;
@@ -1101,9 +1295,7 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
1101
1295
  email?: string | null | undefined;
1102
1296
  firstName?: string | null | undefined;
1103
1297
  gender?: string | null | undefined;
1104
- id?: string | null | undefined;
1105
1298
  lastName?: string | null | undefined;
1106
- name?: string | null | undefined;
1107
1299
  phone?: string | null | undefined;
1108
1300
  title?: string | null | undefined;
1109
1301
  username?: string | null | undefined;
@@ -1119,13 +1311,13 @@ export declare const analyticsUserRawSchema: z.ZodObject<{
1119
1311
  payload: z.ZodString;
1120
1312
  }, "strip", z.ZodTypeAny, {
1121
1313
  projectId: string;
1122
- timestamp: string;
1123
1314
  payload: string;
1315
+ timestamp: string;
1124
1316
  distinctId: string;
1125
1317
  }, {
1126
1318
  projectId: string;
1127
- timestamp: string;
1128
1319
  payload: string;
1320
+ timestamp: string;
1129
1321
  distinctId: string;
1130
1322
  }>;
1131
1323
  export type AnalyticsUserRaw = z.infer<typeof analyticsUserRawSchema>;
@@ -1162,6 +1354,8 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1162
1354
  $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
1355
  $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1164
1356
  }, "strip", z.ZodTypeAny, {
1357
+ name?: string | null | undefined;
1358
+ id?: string | null | undefined;
1165
1359
  age?: string | number | null | undefined;
1166
1360
  avatar?: string | null | undefined;
1167
1361
  birthday?: string | null | undefined;
@@ -1170,9 +1364,7 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1170
1364
  email?: string | null | undefined;
1171
1365
  firstName?: string | null | undefined;
1172
1366
  gender?: string | null | undefined;
1173
- id?: string | null | undefined;
1174
1367
  lastName?: string | null | undefined;
1175
- name?: string | null | undefined;
1176
1368
  phone?: string | null | undefined;
1177
1369
  title?: string | null | undefined;
1178
1370
  username?: string | null | undefined;
@@ -1180,6 +1372,8 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1180
1372
  $id?: string | null | undefined;
1181
1373
  $lastSeen?: string | null | undefined;
1182
1374
  }, {
1375
+ name?: string | null | undefined;
1376
+ id?: string | null | undefined;
1183
1377
  age?: string | number | null | undefined;
1184
1378
  avatar?: string | null | undefined;
1185
1379
  birthday?: string | null | undefined;
@@ -1188,9 +1382,7 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1188
1382
  email?: string | null | undefined;
1189
1383
  firstName?: string | null | undefined;
1190
1384
  gender?: string | null | undefined;
1191
- id?: string | null | undefined;
1192
1385
  lastName?: string | null | undefined;
1193
- name?: string | null | undefined;
1194
1386
  phone?: string | null | undefined;
1195
1387
  title?: string | null | undefined;
1196
1388
  username?: string | null | undefined;
@@ -1200,6 +1392,8 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1200
1392
  }>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull]>, "many">]>>>;
1201
1393
  }, "strip", z.ZodTypeAny, {
1202
1394
  properties: {
1395
+ name?: string | null | undefined;
1396
+ id?: string | null | undefined;
1203
1397
  age?: string | number | null | undefined;
1204
1398
  avatar?: string | null | undefined;
1205
1399
  birthday?: string | null | undefined;
@@ -1208,9 +1402,7 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1208
1402
  email?: string | null | undefined;
1209
1403
  firstName?: string | null | undefined;
1210
1404
  gender?: string | null | undefined;
1211
- id?: string | null | undefined;
1212
1405
  lastName?: string | null | undefined;
1213
- name?: string | null | undefined;
1214
1406
  phone?: string | null | undefined;
1215
1407
  title?: string | null | undefined;
1216
1408
  username?: string | null | undefined;
@@ -1220,6 +1412,8 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1220
1412
  } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1221
1413
  }, {
1222
1414
  properties: {
1415
+ name?: string | null | undefined;
1416
+ id?: string | null | undefined;
1223
1417
  age?: string | number | null | undefined;
1224
1418
  avatar?: string | null | undefined;
1225
1419
  birthday?: string | null | undefined;
@@ -1228,9 +1422,7 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1228
1422
  email?: string | null | undefined;
1229
1423
  firstName?: string | null | undefined;
1230
1424
  gender?: string | null | undefined;
1231
- id?: string | null | undefined;
1232
1425
  lastName?: string | null | undefined;
1233
- name?: string | null | undefined;
1234
1426
  phone?: string | null | undefined;
1235
1427
  title?: string | null | undefined;
1236
1428
  username?: string | null | undefined;
@@ -1288,6 +1480,8 @@ export declare const idenfitySchema: z.ZodObject<{
1288
1480
  $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1289
1481
  $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1290
1482
  }, "strip", z.ZodTypeAny, {
1483
+ name?: string | null | undefined;
1484
+ id?: string | null | undefined;
1291
1485
  age?: string | number | null | undefined;
1292
1486
  avatar?: string | null | undefined;
1293
1487
  birthday?: string | null | undefined;
@@ -1296,9 +1490,7 @@ export declare const idenfitySchema: z.ZodObject<{
1296
1490
  email?: string | null | undefined;
1297
1491
  firstName?: string | null | undefined;
1298
1492
  gender?: string | null | undefined;
1299
- id?: string | null | undefined;
1300
1493
  lastName?: string | null | undefined;
1301
- name?: string | null | undefined;
1302
1494
  phone?: string | null | undefined;
1303
1495
  title?: string | null | undefined;
1304
1496
  username?: string | null | undefined;
@@ -1306,6 +1498,8 @@ export declare const idenfitySchema: z.ZodObject<{
1306
1498
  $id?: string | null | undefined;
1307
1499
  $lastSeen?: string | null | undefined;
1308
1500
  }, {
1501
+ name?: string | null | undefined;
1502
+ id?: string | null | undefined;
1309
1503
  age?: string | number | null | undefined;
1310
1504
  avatar?: string | null | undefined;
1311
1505
  birthday?: string | null | undefined;
@@ -1314,9 +1508,7 @@ export declare const idenfitySchema: z.ZodObject<{
1314
1508
  email?: string | null | undefined;
1315
1509
  firstName?: string | null | undefined;
1316
1510
  gender?: string | null | undefined;
1317
- id?: string | null | undefined;
1318
1511
  lastName?: string | null | undefined;
1319
- name?: string | null | undefined;
1320
1512
  phone?: string | null | undefined;
1321
1513
  title?: string | null | undefined;
1322
1514
  username?: string | null | undefined;
@@ -1334,10 +1526,9 @@ export declare const idenfitySchema: z.ZodObject<{
1334
1526
  }, "strip", z.ZodTypeAny, {
1335
1527
  id: string;
1336
1528
  projectId: string;
1337
- timestamp: string;
1338
- anonymousId: string;
1339
- version: string;
1340
1529
  payload: {
1530
+ name?: string | null | undefined;
1531
+ id?: string | null | undefined;
1341
1532
  age?: string | number | null | undefined;
1342
1533
  avatar?: string | null | undefined;
1343
1534
  birthday?: string | null | undefined;
@@ -1346,9 +1537,7 @@ export declare const idenfitySchema: z.ZodObject<{
1346
1537
  email?: string | null | undefined;
1347
1538
  firstName?: string | null | undefined;
1348
1539
  gender?: string | null | undefined;
1349
- id?: string | null | undefined;
1350
1540
  lastName?: string | null | undefined;
1351
- name?: string | null | undefined;
1352
1541
  phone?: string | null | undefined;
1353
1542
  title?: string | null | undefined;
1354
1543
  username?: string | null | undefined;
@@ -1356,17 +1545,19 @@ export declare const idenfitySchema: z.ZodObject<{
1356
1545
  $id?: string | null | undefined;
1357
1546
  $lastSeen?: string | null | undefined;
1358
1547
  } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1548
+ timestamp: string;
1549
+ anonymousId: string;
1359
1550
  distinctId: string;
1551
+ version: string;
1360
1552
  context?: {
1361
1553
  active?: boolean | undefined;
1362
1554
  } | undefined;
1363
1555
  }, {
1364
1556
  id: string;
1365
1557
  projectId: string;
1366
- timestamp: string;
1367
- anonymousId: string;
1368
- version: string;
1369
1558
  payload: {
1559
+ name?: string | null | undefined;
1560
+ id?: string | null | undefined;
1370
1561
  age?: string | number | null | undefined;
1371
1562
  avatar?: string | null | undefined;
1372
1563
  birthday?: string | null | undefined;
@@ -1375,9 +1566,7 @@ export declare const idenfitySchema: z.ZodObject<{
1375
1566
  email?: string | null | undefined;
1376
1567
  firstName?: string | null | undefined;
1377
1568
  gender?: string | null | undefined;
1378
- id?: string | null | undefined;
1379
1569
  lastName?: string | null | undefined;
1380
- name?: string | null | undefined;
1381
1570
  phone?: string | null | undefined;
1382
1571
  title?: string | null | undefined;
1383
1572
  username?: string | null | undefined;
@@ -1385,9 +1574,215 @@ export declare const idenfitySchema: z.ZodObject<{
1385
1574
  $id?: string | null | undefined;
1386
1575
  $lastSeen?: string | null | undefined;
1387
1576
  } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1577
+ timestamp: string;
1578
+ anonymousId: string;
1388
1579
  distinctId: string;
1580
+ version: string;
1389
1581
  context?: {
1390
1582
  active?: boolean | undefined;
1391
1583
  } | undefined;
1392
1584
  }>;
1393
1585
  export type Identify = z.infer<typeof idenfitySchema>;
1586
+ export declare const latestIdentifiesRequestSchema: z.ZodObject<{
1587
+ projectId: z.ZodString;
1588
+ limit: z.ZodOptional<z.ZodNumber>;
1589
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ projectId: string;
1592
+ limit?: number | undefined;
1593
+ fields?: string[] | undefined;
1594
+ }, {
1595
+ projectId: string;
1596
+ limit?: number | undefined;
1597
+ fields?: string[] | undefined;
1598
+ }>;
1599
+ export type LatestIdentifiesRequest = z.infer<typeof latestIdentifiesRequestSchema>;
1600
+ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1601
+ meta: z.ZodArray<z.ZodObject<{
1602
+ name: z.ZodString;
1603
+ type: z.ZodString;
1604
+ }, "strip", z.ZodTypeAny, {
1605
+ type: string;
1606
+ name: string;
1607
+ }, {
1608
+ type: string;
1609
+ name: string;
1610
+ }>, "many">;
1611
+ statistics: z.ZodObject<{
1612
+ elapsed: z.ZodNumber;
1613
+ rows_read: z.ZodNumber;
1614
+ bytes_read: z.ZodNumber;
1615
+ }, "strip", z.ZodTypeAny, {
1616
+ elapsed: number;
1617
+ rows_read: number;
1618
+ bytes_read: number;
1619
+ }, {
1620
+ elapsed: number;
1621
+ rows_read: number;
1622
+ bytes_read: number;
1623
+ }>;
1624
+ rows: z.ZodNumber;
1625
+ }, {
1626
+ data: z.ZodArray<z.ZodObject<{
1627
+ properties: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
1628
+ age: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1629
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1630
+ birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1631
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1632
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1633
+ email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1634
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1635
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1636
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1637
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1638
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1639
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1640
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1641
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1642
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1643
+ $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1644
+ $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1645
+ }, "strip", z.ZodTypeAny, {
1646
+ name?: string | null | undefined;
1647
+ id?: string | null | undefined;
1648
+ age?: string | number | null | undefined;
1649
+ avatar?: string | null | undefined;
1650
+ birthday?: string | null | undefined;
1651
+ createdAt?: string | null | undefined;
1652
+ description?: string | null | undefined;
1653
+ email?: string | null | undefined;
1654
+ firstName?: string | null | undefined;
1655
+ gender?: string | null | undefined;
1656
+ lastName?: string | null | undefined;
1657
+ phone?: string | null | undefined;
1658
+ title?: string | null | undefined;
1659
+ username?: string | null | undefined;
1660
+ website?: string | null | undefined;
1661
+ $id?: string | null | undefined;
1662
+ $lastSeen?: string | null | undefined;
1663
+ }, {
1664
+ name?: string | null | undefined;
1665
+ id?: string | null | undefined;
1666
+ age?: string | number | null | undefined;
1667
+ avatar?: string | null | undefined;
1668
+ birthday?: string | null | undefined;
1669
+ createdAt?: string | null | undefined;
1670
+ description?: string | null | undefined;
1671
+ email?: string | null | undefined;
1672
+ firstName?: string | null | undefined;
1673
+ gender?: string | null | undefined;
1674
+ lastName?: string | null | undefined;
1675
+ phone?: string | null | undefined;
1676
+ title?: string | null | undefined;
1677
+ username?: string | null | undefined;
1678
+ website?: string | null | undefined;
1679
+ $id?: string | null | undefined;
1680
+ $lastSeen?: string | null | undefined;
1681
+ }>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull]>, "many">]>>>;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ properties: {
1684
+ name?: string | null | undefined;
1685
+ id?: string | null | undefined;
1686
+ age?: string | number | null | undefined;
1687
+ avatar?: string | null | undefined;
1688
+ birthday?: string | null | undefined;
1689
+ createdAt?: string | null | undefined;
1690
+ description?: string | null | undefined;
1691
+ email?: string | null | undefined;
1692
+ firstName?: string | null | undefined;
1693
+ gender?: string | null | undefined;
1694
+ lastName?: string | null | undefined;
1695
+ phone?: string | null | undefined;
1696
+ title?: string | null | undefined;
1697
+ username?: string | null | undefined;
1698
+ website?: string | null | undefined;
1699
+ $id?: string | null | undefined;
1700
+ $lastSeen?: string | null | undefined;
1701
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1702
+ }, {
1703
+ properties: {
1704
+ name?: string | null | undefined;
1705
+ id?: string | null | undefined;
1706
+ age?: string | number | null | undefined;
1707
+ avatar?: string | null | undefined;
1708
+ birthday?: string | null | undefined;
1709
+ createdAt?: string | null | undefined;
1710
+ description?: string | null | undefined;
1711
+ email?: string | null | undefined;
1712
+ firstName?: string | null | undefined;
1713
+ gender?: string | null | undefined;
1714
+ lastName?: string | null | undefined;
1715
+ phone?: string | null | undefined;
1716
+ title?: string | null | undefined;
1717
+ username?: string | null | undefined;
1718
+ website?: string | null | undefined;
1719
+ $id?: string | null | undefined;
1720
+ $lastSeen?: string | null | undefined;
1721
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1722
+ }>, "many">;
1723
+ }>, "strip", z.ZodTypeAny, {
1724
+ meta: {
1725
+ type: string;
1726
+ name: string;
1727
+ }[];
1728
+ statistics: {
1729
+ elapsed: number;
1730
+ rows_read: number;
1731
+ bytes_read: number;
1732
+ };
1733
+ rows: number;
1734
+ data: {
1735
+ properties: {
1736
+ name?: string | null | undefined;
1737
+ id?: string | null | undefined;
1738
+ age?: string | number | null | undefined;
1739
+ avatar?: string | null | undefined;
1740
+ birthday?: string | null | undefined;
1741
+ createdAt?: string | null | undefined;
1742
+ description?: string | null | undefined;
1743
+ email?: string | null | undefined;
1744
+ firstName?: string | null | undefined;
1745
+ gender?: string | null | undefined;
1746
+ lastName?: string | null | undefined;
1747
+ phone?: string | null | undefined;
1748
+ title?: string | null | undefined;
1749
+ username?: string | null | undefined;
1750
+ website?: string | null | undefined;
1751
+ $id?: string | null | undefined;
1752
+ $lastSeen?: string | null | undefined;
1753
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1754
+ }[];
1755
+ }, {
1756
+ meta: {
1757
+ type: string;
1758
+ name: string;
1759
+ }[];
1760
+ statistics: {
1761
+ elapsed: number;
1762
+ rows_read: number;
1763
+ bytes_read: number;
1764
+ };
1765
+ rows: number;
1766
+ data: {
1767
+ properties: {
1768
+ name?: string | null | undefined;
1769
+ id?: string | null | undefined;
1770
+ age?: string | number | null | undefined;
1771
+ avatar?: string | null | undefined;
1772
+ birthday?: string | null | undefined;
1773
+ createdAt?: string | null | undefined;
1774
+ description?: string | null | undefined;
1775
+ email?: string | null | undefined;
1776
+ firstName?: string | null | undefined;
1777
+ gender?: string | null | undefined;
1778
+ lastName?: string | null | undefined;
1779
+ phone?: string | null | undefined;
1780
+ title?: string | null | undefined;
1781
+ username?: string | null | undefined;
1782
+ website?: string | null | undefined;
1783
+ $id?: string | null | undefined;
1784
+ $lastSeen?: string | null | undefined;
1785
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1786
+ }[];
1787
+ }>;
1788
+ export type LatestIdentifiesResponse = z.infer<typeof latestIdentifiesResponseSchema>;