saasco-sdk 0.1.8 → 0.1.9

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,19 @@ 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 kpisResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
176
325
  meta: z.ZodArray<z.ZodObject<{
177
326
  name: z.ZodString;
178
327
  type: z.ZodString;
@@ -197,6 +346,7 @@ export declare const kpisResponseSchema: z.ZodObject<{
197
346
  bytes_read: number;
198
347
  }>;
199
348
  rows: z.ZodNumber;
349
+ }, {
200
350
  data: z.ZodArray<z.ZodObject<{
201
351
  date: z.ZodString;
202
352
  users: z.ZodNumber;
@@ -222,16 +372,7 @@ export declare const kpisResponseSchema: z.ZodObject<{
222
372
  bounceRate: number | null;
223
373
  avgSessionSec: number;
224
374
  }>, "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
- }[];
375
+ }>, "strip", z.ZodTypeAny, {
235
376
  meta: {
236
377
  type: string;
237
378
  name: string;
@@ -242,7 +383,6 @@ export declare const kpisResponseSchema: z.ZodObject<{
242
383
  bytes_read: number;
243
384
  };
244
385
  rows: number;
245
- }, {
246
386
  data: {
247
387
  date: string;
248
388
  users: number;
@@ -252,6 +392,7 @@ export declare const kpisResponseSchema: z.ZodObject<{
252
392
  bounceRate: number | null;
253
393
  avgSessionSec: number;
254
394
  }[];
395
+ }, {
255
396
  meta: {
256
397
  type: string;
257
398
  name: string;
@@ -262,6 +403,15 @@ export declare const kpisResponseSchema: z.ZodObject<{
262
403
  bytes_read: number;
263
404
  };
264
405
  rows: number;
406
+ data: {
407
+ date: string;
408
+ users: number;
409
+ sessions: number;
410
+ pageViews: number;
411
+ events: number;
412
+ bounceRate: number | null;
413
+ avgSessionSec: number;
414
+ }[];
265
415
  }>;
266
416
  export type KpisResponse = z.infer<typeof kpisResponseSchema>;
267
417
  export declare const baseTopRequestSchema: z.ZodObject<{
@@ -274,23 +424,23 @@ export declare const baseTopRequestSchema: z.ZodObject<{
274
424
  location: z.ZodOptional<z.ZodString>;
275
425
  }, "strip", z.ZodTypeAny, {
276
426
  projectId: string;
427
+ limit?: number | undefined;
428
+ location?: string | undefined;
429
+ referrer?: string | undefined;
277
430
  dateTo?: string | undefined;
278
431
  dateFrom?: string | undefined;
279
- limit?: number | undefined;
280
432
  skip?: number | undefined;
281
- referrer?: string | undefined;
282
- location?: string | undefined;
283
433
  }, {
284
434
  projectId: string;
435
+ limit?: number | undefined;
436
+ location?: string | undefined;
437
+ referrer?: string | undefined;
285
438
  dateTo?: string | undefined;
286
439
  dateFrom?: string | undefined;
287
- limit?: number | undefined;
288
440
  skip?: number | undefined;
289
- referrer?: string | undefined;
290
- location?: string | undefined;
291
441
  }>;
292
442
  export type BaseTopRequest = z.infer<typeof baseTopRequestSchema>;
293
- export declare const topPagesResponseSchema: z.ZodObject<{
443
+ export declare const topPagesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
294
444
  meta: z.ZodArray<z.ZodObject<{
295
445
  name: z.ZodString;
296
446
  type: z.ZodString;
@@ -315,6 +465,7 @@ export declare const topPagesResponseSchema: z.ZodObject<{
315
465
  bytes_read: number;
316
466
  }>;
317
467
  rows: z.ZodNumber;
468
+ }, {
318
469
  data: z.ZodArray<z.ZodObject<{
319
470
  pathname: z.ZodString;
320
471
  users: z.ZodNumber;
@@ -328,12 +479,7 @@ export declare const topPagesResponseSchema: z.ZodObject<{
328
479
  events: number;
329
480
  pathname: string;
330
481
  }>, "many">;
331
- }, "strip", z.ZodTypeAny, {
332
- data: {
333
- users: number;
334
- events: number;
335
- pathname: string;
336
- }[];
482
+ }>, "strip", z.ZodTypeAny, {
337
483
  meta: {
338
484
  type: string;
339
485
  name: string;
@@ -344,12 +490,12 @@ export declare const topPagesResponseSchema: z.ZodObject<{
344
490
  bytes_read: number;
345
491
  };
346
492
  rows: number;
347
- }, {
348
493
  data: {
349
494
  users: number;
350
495
  events: number;
351
496
  pathname: string;
352
497
  }[];
498
+ }, {
353
499
  meta: {
354
500
  type: string;
355
501
  name: string;
@@ -360,9 +506,14 @@ export declare const topPagesResponseSchema: z.ZodObject<{
360
506
  bytes_read: number;
361
507
  };
362
508
  rows: number;
509
+ data: {
510
+ users: number;
511
+ events: number;
512
+ pathname: string;
513
+ }[];
363
514
  }>;
364
515
  export type TopPagesResponse = z.infer<typeof topPagesResponseSchema>;
365
- export declare const topLocationsResponseSchema: z.ZodObject<{
516
+ export declare const topLocationsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
366
517
  meta: z.ZodArray<z.ZodObject<{
367
518
  name: z.ZodString;
368
519
  type: z.ZodString;
@@ -387,6 +538,7 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
387
538
  bytes_read: number;
388
539
  }>;
389
540
  rows: z.ZodNumber;
541
+ }, {
390
542
  data: z.ZodArray<z.ZodObject<{
391
543
  location: z.ZodString;
392
544
  users: z.ZodNumber;
@@ -409,15 +561,7 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
409
561
  bounceRate: number | null;
410
562
  avgSessionSec: number;
411
563
  }>, "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
- }[];
564
+ }>, "strip", z.ZodTypeAny, {
421
565
  meta: {
422
566
  type: string;
423
567
  name: string;
@@ -428,7 +572,6 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
428
572
  bytes_read: number;
429
573
  };
430
574
  rows: number;
431
- }, {
432
575
  data: {
433
576
  location: string;
434
577
  users: number;
@@ -437,6 +580,7 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
437
580
  bounceRate: number | null;
438
581
  avgSessionSec: number;
439
582
  }[];
583
+ }, {
440
584
  meta: {
441
585
  type: string;
442
586
  name: string;
@@ -447,9 +591,17 @@ export declare const topLocationsResponseSchema: z.ZodObject<{
447
591
  bytes_read: number;
448
592
  };
449
593
  rows: number;
594
+ data: {
595
+ location: string;
596
+ users: number;
597
+ sessions: number;
598
+ pageViews: number;
599
+ bounceRate: number | null;
600
+ avgSessionSec: number;
601
+ }[];
450
602
  }>;
451
603
  export type TopLocationsResponse = z.infer<typeof topLocationsResponseSchema>;
452
- export declare const topDevicesResponseSchema: z.ZodObject<{
604
+ export declare const topDevicesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
453
605
  meta: z.ZodArray<z.ZodObject<{
454
606
  name: z.ZodString;
455
607
  type: z.ZodString;
@@ -474,6 +626,7 @@ export declare const topDevicesResponseSchema: z.ZodObject<{
474
626
  bytes_read: number;
475
627
  }>;
476
628
  rows: z.ZodNumber;
629
+ }, {
477
630
  data: z.ZodArray<z.ZodObject<{
478
631
  device: z.ZodString;
479
632
  visits: z.ZodNumber;
@@ -481,26 +634,19 @@ export declare const topDevicesResponseSchema: z.ZodObject<{
481
634
  bounceRate: z.ZodNullable<z.ZodNumber>;
482
635
  avgSessionSec: z.ZodNumber;
483
636
  }, "strip", z.ZodTypeAny, {
637
+ device: string;
484
638
  bounceRate: number | null;
485
639
  avgSessionSec: number;
486
- device: string;
487
640
  visits: number;
488
641
  hits: number;
489
642
  }, {
490
- bounceRate: number | null;
491
- avgSessionSec: number;
492
643
  device: string;
493
- visits: number;
494
- hits: number;
495
- }>, "many">;
496
- }, "strip", z.ZodTypeAny, {
497
- data: {
498
644
  bounceRate: number | null;
499
645
  avgSessionSec: number;
500
- device: string;
501
646
  visits: number;
502
647
  hits: number;
503
- }[];
648
+ }>, "many">;
649
+ }>, "strip", z.ZodTypeAny, {
504
650
  meta: {
505
651
  type: string;
506
652
  name: string;
@@ -511,14 +657,14 @@ export declare const topDevicesResponseSchema: z.ZodObject<{
511
657
  bytes_read: number;
512
658
  };
513
659
  rows: number;
514
- }, {
515
660
  data: {
661
+ device: string;
516
662
  bounceRate: number | null;
517
663
  avgSessionSec: number;
518
- device: string;
519
664
  visits: number;
520
665
  hits: number;
521
666
  }[];
667
+ }, {
522
668
  meta: {
523
669
  type: string;
524
670
  name: string;
@@ -529,9 +675,16 @@ export declare const topDevicesResponseSchema: z.ZodObject<{
529
675
  bytes_read: number;
530
676
  };
531
677
  rows: number;
678
+ data: {
679
+ device: string;
680
+ bounceRate: number | null;
681
+ avgSessionSec: number;
682
+ visits: number;
683
+ hits: number;
684
+ }[];
532
685
  }>;
533
686
  export type TopDevicesResponse = z.infer<typeof topDevicesResponseSchema>;
534
- export declare const topBrowsersResponseSchema: z.ZodObject<{
687
+ export declare const topBrowsersResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
535
688
  meta: z.ZodArray<z.ZodObject<{
536
689
  name: z.ZodString;
537
690
  type: z.ZodString;
@@ -556,6 +709,7 @@ export declare const topBrowsersResponseSchema: z.ZodObject<{
556
709
  bytes_read: number;
557
710
  }>;
558
711
  rows: z.ZodNumber;
712
+ }, {
559
713
  data: z.ZodArray<z.ZodObject<{
560
714
  browser: z.ZodString;
561
715
  visits: z.ZodNumber;
@@ -563,26 +717,19 @@ export declare const topBrowsersResponseSchema: z.ZodObject<{
563
717
  bounceRate: z.ZodNullable<z.ZodNumber>;
564
718
  avgSessionSec: z.ZodNumber;
565
719
  }, "strip", z.ZodTypeAny, {
566
- bounceRate: number | null;
567
- avgSessionSec: number;
568
- visits: number;
569
- hits: number;
570
720
  browser: string;
571
- }, {
572
721
  bounceRate: number | null;
573
722
  avgSessionSec: number;
574
723
  visits: number;
575
724
  hits: number;
725
+ }, {
576
726
  browser: string;
577
- }>, "many">;
578
- }, "strip", z.ZodTypeAny, {
579
- data: {
580
727
  bounceRate: number | null;
581
728
  avgSessionSec: number;
582
729
  visits: number;
583
730
  hits: number;
584
- browser: string;
585
- }[];
731
+ }>, "many">;
732
+ }>, "strip", z.ZodTypeAny, {
586
733
  meta: {
587
734
  type: string;
588
735
  name: string;
@@ -593,14 +740,14 @@ export declare const topBrowsersResponseSchema: z.ZodObject<{
593
740
  bytes_read: number;
594
741
  };
595
742
  rows: number;
596
- }, {
597
743
  data: {
744
+ browser: string;
598
745
  bounceRate: number | null;
599
746
  avgSessionSec: number;
600
747
  visits: number;
601
748
  hits: number;
602
- browser: string;
603
749
  }[];
750
+ }, {
604
751
  meta: {
605
752
  type: string;
606
753
  name: string;
@@ -611,6 +758,13 @@ export declare const topBrowsersResponseSchema: z.ZodObject<{
611
758
  bytes_read: number;
612
759
  };
613
760
  rows: number;
761
+ data: {
762
+ browser: string;
763
+ bounceRate: number | null;
764
+ avgSessionSec: number;
765
+ visits: number;
766
+ hits: number;
767
+ }[];
614
768
  }>;
615
769
  export type TopBrowsersResponse = z.infer<typeof topBrowsersResponseSchema>;
616
770
  export declare const topSourcesSchema: z.ZodObject<{
@@ -636,7 +790,7 @@ export declare const topSourcesSchema: z.ZodObject<{
636
790
  avgSessionSec: number;
637
791
  }>;
638
792
  export type TopSources = z.infer<typeof topSourcesSchema>;
639
- export declare const topSourcesResponseSchema: z.ZodObject<{
793
+ export declare const topSourcesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
640
794
  meta: z.ZodArray<z.ZodObject<{
641
795
  name: z.ZodString;
642
796
  type: z.ZodString;
@@ -661,6 +815,7 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
661
815
  bytes_read: number;
662
816
  }>;
663
817
  rows: z.ZodNumber;
818
+ }, {
664
819
  data: z.ZodArray<z.ZodObject<{
665
820
  referrer: z.ZodString;
666
821
  users: z.ZodNumber;
@@ -683,15 +838,7 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
683
838
  bounceRate: number | null;
684
839
  avgSessionSec: number;
685
840
  }>, "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
- }[];
841
+ }>, "strip", z.ZodTypeAny, {
695
842
  meta: {
696
843
  type: string;
697
844
  name: string;
@@ -702,7 +849,6 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
702
849
  bytes_read: number;
703
850
  };
704
851
  rows: number;
705
- }, {
706
852
  data: {
707
853
  referrer: string;
708
854
  users: number;
@@ -711,6 +857,7 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
711
857
  bounceRate: number | null;
712
858
  avgSessionSec: number;
713
859
  }[];
860
+ }, {
714
861
  meta: {
715
862
  type: string;
716
863
  name: string;
@@ -721,9 +868,17 @@ export declare const topSourcesResponseSchema: z.ZodObject<{
721
868
  bytes_read: number;
722
869
  };
723
870
  rows: number;
871
+ data: {
872
+ referrer: string;
873
+ users: number;
874
+ sessions: number;
875
+ pageViews: number;
876
+ bounceRate: number | null;
877
+ avgSessionSec: number;
878
+ }[];
724
879
  }>;
725
880
  export type TopSourcesResponse = z.infer<typeof topSourcesResponseSchema>;
726
- export declare const topActionsResponseSchema: z.ZodObject<{
881
+ export declare const topActionsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
727
882
  meta: z.ZodArray<z.ZodObject<{
728
883
  name: z.ZodString;
729
884
  type: z.ZodString;
@@ -748,25 +903,21 @@ export declare const topActionsResponseSchema: z.ZodObject<{
748
903
  bytes_read: number;
749
904
  }>;
750
905
  rows: z.ZodNumber;
906
+ }, {
751
907
  data: z.ZodArray<z.ZodObject<{
752
908
  action: z.ZodString;
753
909
  users: z.ZodNumber;
754
910
  events: z.ZodNumber;
755
911
  }, "strip", z.ZodTypeAny, {
756
- users: number;
757
- events: number;
758
912
  action: string;
759
- }, {
760
913
  users: number;
761
914
  events: number;
915
+ }, {
762
916
  action: string;
763
- }>, "many">;
764
- }, "strip", z.ZodTypeAny, {
765
- data: {
766
917
  users: number;
767
918
  events: number;
768
- action: string;
769
- }[];
919
+ }>, "many">;
920
+ }>, "strip", z.ZodTypeAny, {
770
921
  meta: {
771
922
  type: string;
772
923
  name: string;
@@ -777,12 +928,12 @@ export declare const topActionsResponseSchema: z.ZodObject<{
777
928
  bytes_read: number;
778
929
  };
779
930
  rows: number;
780
- }, {
781
931
  data: {
932
+ action: string;
782
933
  users: number;
783
934
  events: number;
784
- action: string;
785
935
  }[];
936
+ }, {
786
937
  meta: {
787
938
  type: string;
788
939
  name: string;
@@ -793,6 +944,11 @@ export declare const topActionsResponseSchema: z.ZodObject<{
793
944
  bytes_read: number;
794
945
  };
795
946
  rows: number;
947
+ data: {
948
+ action: string;
949
+ users: number;
950
+ events: number;
951
+ }[];
796
952
  }>;
797
953
  export type TopActionsResponse = z.infer<typeof topActionsResponseSchema>;
798
954
  export declare const analyticsEventSchema: z.ZodObject<{
@@ -801,30 +957,33 @@ export declare const analyticsEventSchema: z.ZodObject<{
801
957
  projectId: z.ZodString;
802
958
  anonymousId: z.ZodString;
803
959
  sessionId: z.ZodString;
960
+ distinctId: z.ZodOptional<z.ZodString>;
804
961
  version: z.ZodString;
805
962
  action: z.ZodString;
806
963
  payload: z.ZodString;
807
964
  }, "strip", z.ZodTypeAny, {
808
965
  id: string;
809
966
  projectId: string;
810
- action: string;
967
+ payload: string;
811
968
  timestamp: string;
969
+ action: string;
812
970
  anonymousId: string;
813
971
  sessionId: string;
814
972
  version: string;
815
- payload: string;
973
+ distinctId?: string | undefined;
816
974
  }, {
817
975
  id: string;
818
976
  projectId: string;
819
- action: string;
977
+ payload: string;
820
978
  timestamp: string;
979
+ action: string;
821
980
  anonymousId: string;
822
981
  sessionId: string;
823
982
  version: string;
824
- payload: string;
983
+ distinctId?: string | undefined;
825
984
  }>;
826
985
  export type AnalyticsEvent = z.infer<typeof analyticsEventSchema>;
827
- export declare const userEventsResponseSchema: z.ZodObject<{
986
+ export declare const userEventsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
828
987
  meta: z.ZodArray<z.ZodObject<{
829
988
  name: z.ZodString;
830
989
  type: z.ZodString;
@@ -849,45 +1008,39 @@ export declare const userEventsResponseSchema: z.ZodObject<{
849
1008
  bytes_read: number;
850
1009
  }>;
851
1010
  rows: z.ZodNumber;
1011
+ }, {
852
1012
  data: z.ZodArray<z.ZodObject<{
853
1013
  id: z.ZodString;
854
1014
  timestamp: z.ZodString;
855
1015
  projectId: z.ZodString;
856
1016
  anonymousId: z.ZodString;
857
1017
  sessionId: z.ZodString;
1018
+ distinctId: z.ZodOptional<z.ZodString>;
858
1019
  version: z.ZodString;
859
1020
  action: z.ZodString;
860
1021
  payload: z.ZodString;
861
1022
  }, "strip", z.ZodTypeAny, {
862
1023
  id: string;
863
1024
  projectId: string;
864
- action: string;
1025
+ payload: string;
865
1026
  timestamp: string;
1027
+ action: string;
866
1028
  anonymousId: string;
867
1029
  sessionId: string;
868
1030
  version: string;
869
- payload: string;
1031
+ distinctId?: string | undefined;
870
1032
  }, {
871
1033
  id: string;
872
1034
  projectId: string;
873
- action: string;
874
- timestamp: string;
875
- anonymousId: string;
876
- sessionId: string;
877
- version: string;
878
1035
  payload: string;
879
- }>, "many">;
880
- }, "strip", z.ZodTypeAny, {
881
- data: {
882
- id: string;
883
- projectId: string;
884
- action: string;
885
1036
  timestamp: string;
1037
+ action: string;
886
1038
  anonymousId: string;
887
1039
  sessionId: string;
888
1040
  version: string;
889
- payload: string;
890
- }[];
1041
+ distinctId?: string | undefined;
1042
+ }>, "many">;
1043
+ }>, "strip", z.ZodTypeAny, {
891
1044
  meta: {
892
1045
  type: string;
893
1046
  name: string;
@@ -898,17 +1051,18 @@ export declare const userEventsResponseSchema: z.ZodObject<{
898
1051
  bytes_read: number;
899
1052
  };
900
1053
  rows: number;
901
- }, {
902
1054
  data: {
903
1055
  id: string;
904
1056
  projectId: string;
905
- action: string;
1057
+ payload: string;
906
1058
  timestamp: string;
1059
+ action: string;
907
1060
  anonymousId: string;
908
1061
  sessionId: string;
909
1062
  version: string;
910
- payload: string;
1063
+ distinctId?: string | undefined;
911
1064
  }[];
1065
+ }, {
912
1066
  meta: {
913
1067
  type: string;
914
1068
  name: string;
@@ -919,6 +1073,17 @@ export declare const userEventsResponseSchema: z.ZodObject<{
919
1073
  bytes_read: number;
920
1074
  };
921
1075
  rows: number;
1076
+ data: {
1077
+ id: string;
1078
+ projectId: string;
1079
+ payload: string;
1080
+ timestamp: string;
1081
+ action: string;
1082
+ anonymousId: string;
1083
+ sessionId: string;
1084
+ version: string;
1085
+ distinctId?: string | undefined;
1086
+ }[];
922
1087
  }>;
923
1088
  export type UserEventsResponse = z.infer<typeof userEventsResponseSchema>;
924
1089
  export declare const currentUsersRequestSchema: z.ZodObject<{
@@ -928,17 +1093,17 @@ export declare const currentUsersRequestSchema: z.ZodObject<{
928
1093
  location: z.ZodOptional<z.ZodString>;
929
1094
  }, "strip", z.ZodTypeAny, {
930
1095
  projectId: string;
931
- minutes?: number | undefined;
932
- referrer?: string | undefined;
933
1096
  location?: string | undefined;
1097
+ referrer?: string | undefined;
1098
+ minutes?: number | undefined;
934
1099
  }, {
935
1100
  projectId: string;
936
- minutes?: number | undefined;
937
- referrer?: string | undefined;
938
1101
  location?: string | undefined;
1102
+ referrer?: string | undefined;
1103
+ minutes?: number | undefined;
939
1104
  }>;
940
1105
  export type CurrentUsersRequest = z.infer<typeof currentUsersRequestSchema>;
941
- export declare const currentUsersResponseSchema: z.ZodObject<{
1106
+ export declare const currentUsersResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
942
1107
  meta: z.ZodArray<z.ZodObject<{
943
1108
  name: z.ZodString;
944
1109
  type: z.ZodString;
@@ -963,6 +1128,7 @@ export declare const currentUsersResponseSchema: z.ZodObject<{
963
1128
  bytes_read: number;
964
1129
  }>;
965
1130
  rows: z.ZodNumber;
1131
+ }, {
966
1132
  data: z.ZodArray<z.ZodObject<{
967
1133
  visits: z.ZodNumber;
968
1134
  }, "strip", z.ZodTypeAny, {
@@ -970,10 +1136,7 @@ export declare const currentUsersResponseSchema: z.ZodObject<{
970
1136
  }, {
971
1137
  visits: number;
972
1138
  }>, "many">;
973
- }, "strip", z.ZodTypeAny, {
974
- data: {
975
- visits: number;
976
- }[];
1139
+ }>, "strip", z.ZodTypeAny, {
977
1140
  meta: {
978
1141
  type: string;
979
1142
  name: string;
@@ -984,10 +1147,10 @@ export declare const currentUsersResponseSchema: z.ZodObject<{
984
1147
  bytes_read: number;
985
1148
  };
986
1149
  rows: number;
987
- }, {
988
1150
  data: {
989
1151
  visits: number;
990
1152
  }[];
1153
+ }, {
991
1154
  meta: {
992
1155
  type: string;
993
1156
  name: string;
@@ -998,6 +1161,9 @@ export declare const currentUsersResponseSchema: z.ZodObject<{
998
1161
  bytes_read: number;
999
1162
  };
1000
1163
  rows: number;
1164
+ data: {
1165
+ visits: number;
1166
+ }[];
1001
1167
  }>;
1002
1168
  export type CurrentUsersResponse = z.infer<typeof currentUsersResponseSchema>;
1003
1169
  export declare const reservedPropertiesSchema: z.ZodObject<{
@@ -1019,6 +1185,8 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
1019
1185
  $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
1186
  $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1021
1187
  }, "strip", z.ZodTypeAny, {
1188
+ name?: string | null | undefined;
1189
+ id?: string | null | undefined;
1022
1190
  age?: string | number | null | undefined;
1023
1191
  avatar?: string | null | undefined;
1024
1192
  birthday?: string | null | undefined;
@@ -1027,9 +1195,7 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
1027
1195
  email?: string | null | undefined;
1028
1196
  firstName?: string | null | undefined;
1029
1197
  gender?: string | null | undefined;
1030
- id?: string | null | undefined;
1031
1198
  lastName?: string | null | undefined;
1032
- name?: string | null | undefined;
1033
1199
  phone?: string | null | undefined;
1034
1200
  title?: string | null | undefined;
1035
1201
  username?: string | null | undefined;
@@ -1037,6 +1203,8 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
1037
1203
  $id?: string | null | undefined;
1038
1204
  $lastSeen?: string | null | undefined;
1039
1205
  }, {
1206
+ name?: string | null | undefined;
1207
+ id?: string | null | undefined;
1040
1208
  age?: string | number | null | undefined;
1041
1209
  avatar?: string | null | undefined;
1042
1210
  birthday?: string | null | undefined;
@@ -1045,9 +1213,7 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
1045
1213
  email?: string | null | undefined;
1046
1214
  firstName?: string | null | undefined;
1047
1215
  gender?: string | null | undefined;
1048
- id?: string | null | undefined;
1049
1216
  lastName?: string | null | undefined;
1050
- name?: string | null | undefined;
1051
1217
  phone?: string | null | undefined;
1052
1218
  title?: string | null | undefined;
1053
1219
  username?: string | null | undefined;
@@ -1075,6 +1241,8 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
1075
1241
  $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1076
1242
  $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1077
1243
  }, "strip", z.ZodTypeAny, {
1244
+ name?: string | null | undefined;
1245
+ id?: string | null | undefined;
1078
1246
  age?: string | number | null | undefined;
1079
1247
  avatar?: string | null | undefined;
1080
1248
  birthday?: string | null | undefined;
@@ -1083,9 +1251,7 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
1083
1251
  email?: string | null | undefined;
1084
1252
  firstName?: string | null | undefined;
1085
1253
  gender?: string | null | undefined;
1086
- id?: string | null | undefined;
1087
1254
  lastName?: string | null | undefined;
1088
- name?: string | null | undefined;
1089
1255
  phone?: string | null | undefined;
1090
1256
  title?: string | null | undefined;
1091
1257
  username?: string | null | undefined;
@@ -1093,6 +1259,8 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
1093
1259
  $id?: string | null | undefined;
1094
1260
  $lastSeen?: string | null | undefined;
1095
1261
  }, {
1262
+ name?: string | null | undefined;
1263
+ id?: string | null | undefined;
1096
1264
  age?: string | number | null | undefined;
1097
1265
  avatar?: string | null | undefined;
1098
1266
  birthday?: string | null | undefined;
@@ -1101,9 +1269,7 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
1101
1269
  email?: string | null | undefined;
1102
1270
  firstName?: string | null | undefined;
1103
1271
  gender?: string | null | undefined;
1104
- id?: string | null | undefined;
1105
1272
  lastName?: string | null | undefined;
1106
- name?: string | null | undefined;
1107
1273
  phone?: string | null | undefined;
1108
1274
  title?: string | null | undefined;
1109
1275
  username?: string | null | undefined;
@@ -1119,13 +1285,13 @@ export declare const analyticsUserRawSchema: z.ZodObject<{
1119
1285
  payload: z.ZodString;
1120
1286
  }, "strip", z.ZodTypeAny, {
1121
1287
  projectId: string;
1122
- timestamp: string;
1123
1288
  payload: string;
1289
+ timestamp: string;
1124
1290
  distinctId: string;
1125
1291
  }, {
1126
1292
  projectId: string;
1127
- timestamp: string;
1128
1293
  payload: string;
1294
+ timestamp: string;
1129
1295
  distinctId: string;
1130
1296
  }>;
1131
1297
  export type AnalyticsUserRaw = z.infer<typeof analyticsUserRawSchema>;
@@ -1162,6 +1328,8 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1162
1328
  $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
1329
  $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1164
1330
  }, "strip", z.ZodTypeAny, {
1331
+ name?: string | null | undefined;
1332
+ id?: string | null | undefined;
1165
1333
  age?: string | number | null | undefined;
1166
1334
  avatar?: string | null | undefined;
1167
1335
  birthday?: string | null | undefined;
@@ -1170,9 +1338,7 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1170
1338
  email?: string | null | undefined;
1171
1339
  firstName?: string | null | undefined;
1172
1340
  gender?: string | null | undefined;
1173
- id?: string | null | undefined;
1174
1341
  lastName?: string | null | undefined;
1175
- name?: string | null | undefined;
1176
1342
  phone?: string | null | undefined;
1177
1343
  title?: string | null | undefined;
1178
1344
  username?: string | null | undefined;
@@ -1180,6 +1346,8 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1180
1346
  $id?: string | null | undefined;
1181
1347
  $lastSeen?: string | null | undefined;
1182
1348
  }, {
1349
+ name?: string | null | undefined;
1350
+ id?: string | null | undefined;
1183
1351
  age?: string | number | null | undefined;
1184
1352
  avatar?: string | null | undefined;
1185
1353
  birthday?: string | null | undefined;
@@ -1188,9 +1356,7 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1188
1356
  email?: string | null | undefined;
1189
1357
  firstName?: string | null | undefined;
1190
1358
  gender?: string | null | undefined;
1191
- id?: string | null | undefined;
1192
1359
  lastName?: string | null | undefined;
1193
- name?: string | null | undefined;
1194
1360
  phone?: string | null | undefined;
1195
1361
  title?: string | null | undefined;
1196
1362
  username?: string | null | undefined;
@@ -1200,6 +1366,8 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1200
1366
  }>>, 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
1367
  }, "strip", z.ZodTypeAny, {
1202
1368
  properties: {
1369
+ name?: string | null | undefined;
1370
+ id?: string | null | undefined;
1203
1371
  age?: string | number | null | undefined;
1204
1372
  avatar?: string | null | undefined;
1205
1373
  birthday?: string | null | undefined;
@@ -1208,9 +1376,7 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1208
1376
  email?: string | null | undefined;
1209
1377
  firstName?: string | null | undefined;
1210
1378
  gender?: string | null | undefined;
1211
- id?: string | null | undefined;
1212
1379
  lastName?: string | null | undefined;
1213
- name?: string | null | undefined;
1214
1380
  phone?: string | null | undefined;
1215
1381
  title?: string | null | undefined;
1216
1382
  username?: string | null | undefined;
@@ -1220,6 +1386,8 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1220
1386
  } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1221
1387
  }, {
1222
1388
  properties: {
1389
+ name?: string | null | undefined;
1390
+ id?: string | null | undefined;
1223
1391
  age?: string | number | null | undefined;
1224
1392
  avatar?: string | null | undefined;
1225
1393
  birthday?: string | null | undefined;
@@ -1228,9 +1396,7 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1228
1396
  email?: string | null | undefined;
1229
1397
  firstName?: string | null | undefined;
1230
1398
  gender?: string | null | undefined;
1231
- id?: string | null | undefined;
1232
1399
  lastName?: string | null | undefined;
1233
- name?: string | null | undefined;
1234
1400
  phone?: string | null | undefined;
1235
1401
  title?: string | null | undefined;
1236
1402
  username?: string | null | undefined;
@@ -1288,6 +1454,8 @@ export declare const idenfitySchema: z.ZodObject<{
1288
1454
  $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1289
1455
  $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1290
1456
  }, "strip", z.ZodTypeAny, {
1457
+ name?: string | null | undefined;
1458
+ id?: string | null | undefined;
1291
1459
  age?: string | number | null | undefined;
1292
1460
  avatar?: string | null | undefined;
1293
1461
  birthday?: string | null | undefined;
@@ -1296,9 +1464,7 @@ export declare const idenfitySchema: z.ZodObject<{
1296
1464
  email?: string | null | undefined;
1297
1465
  firstName?: string | null | undefined;
1298
1466
  gender?: string | null | undefined;
1299
- id?: string | null | undefined;
1300
1467
  lastName?: string | null | undefined;
1301
- name?: string | null | undefined;
1302
1468
  phone?: string | null | undefined;
1303
1469
  title?: string | null | undefined;
1304
1470
  username?: string | null | undefined;
@@ -1306,6 +1472,8 @@ export declare const idenfitySchema: z.ZodObject<{
1306
1472
  $id?: string | null | undefined;
1307
1473
  $lastSeen?: string | null | undefined;
1308
1474
  }, {
1475
+ name?: string | null | undefined;
1476
+ id?: string | null | undefined;
1309
1477
  age?: string | number | null | undefined;
1310
1478
  avatar?: string | null | undefined;
1311
1479
  birthday?: string | null | undefined;
@@ -1314,9 +1482,7 @@ export declare const idenfitySchema: z.ZodObject<{
1314
1482
  email?: string | null | undefined;
1315
1483
  firstName?: string | null | undefined;
1316
1484
  gender?: string | null | undefined;
1317
- id?: string | null | undefined;
1318
1485
  lastName?: string | null | undefined;
1319
- name?: string | null | undefined;
1320
1486
  phone?: string | null | undefined;
1321
1487
  title?: string | null | undefined;
1322
1488
  username?: string | null | undefined;
@@ -1334,10 +1500,9 @@ export declare const idenfitySchema: z.ZodObject<{
1334
1500
  }, "strip", z.ZodTypeAny, {
1335
1501
  id: string;
1336
1502
  projectId: string;
1337
- timestamp: string;
1338
- anonymousId: string;
1339
- version: string;
1340
1503
  payload: {
1504
+ name?: string | null | undefined;
1505
+ id?: string | null | undefined;
1341
1506
  age?: string | number | null | undefined;
1342
1507
  avatar?: string | null | undefined;
1343
1508
  birthday?: string | null | undefined;
@@ -1346,9 +1511,7 @@ export declare const idenfitySchema: z.ZodObject<{
1346
1511
  email?: string | null | undefined;
1347
1512
  firstName?: string | null | undefined;
1348
1513
  gender?: string | null | undefined;
1349
- id?: string | null | undefined;
1350
1514
  lastName?: string | null | undefined;
1351
- name?: string | null | undefined;
1352
1515
  phone?: string | null | undefined;
1353
1516
  title?: string | null | undefined;
1354
1517
  username?: string | null | undefined;
@@ -1356,17 +1519,19 @@ export declare const idenfitySchema: z.ZodObject<{
1356
1519
  $id?: string | null | undefined;
1357
1520
  $lastSeen?: string | null | undefined;
1358
1521
  } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1522
+ timestamp: string;
1523
+ anonymousId: string;
1359
1524
  distinctId: string;
1525
+ version: string;
1360
1526
  context?: {
1361
1527
  active?: boolean | undefined;
1362
1528
  } | undefined;
1363
1529
  }, {
1364
1530
  id: string;
1365
1531
  projectId: string;
1366
- timestamp: string;
1367
- anonymousId: string;
1368
- version: string;
1369
1532
  payload: {
1533
+ name?: string | null | undefined;
1534
+ id?: string | null | undefined;
1370
1535
  age?: string | number | null | undefined;
1371
1536
  avatar?: string | null | undefined;
1372
1537
  birthday?: string | null | undefined;
@@ -1375,9 +1540,7 @@ export declare const idenfitySchema: z.ZodObject<{
1375
1540
  email?: string | null | undefined;
1376
1541
  firstName?: string | null | undefined;
1377
1542
  gender?: string | null | undefined;
1378
- id?: string | null | undefined;
1379
1543
  lastName?: string | null | undefined;
1380
- name?: string | null | undefined;
1381
1544
  phone?: string | null | undefined;
1382
1545
  title?: string | null | undefined;
1383
1546
  username?: string | null | undefined;
@@ -1385,9 +1548,215 @@ export declare const idenfitySchema: z.ZodObject<{
1385
1548
  $id?: string | null | undefined;
1386
1549
  $lastSeen?: string | null | undefined;
1387
1550
  } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1551
+ timestamp: string;
1552
+ anonymousId: string;
1388
1553
  distinctId: string;
1554
+ version: string;
1389
1555
  context?: {
1390
1556
  active?: boolean | undefined;
1391
1557
  } | undefined;
1392
1558
  }>;
1393
1559
  export type Identify = z.infer<typeof idenfitySchema>;
1560
+ export declare const latestIdentifiesRequestSchema: z.ZodObject<{
1561
+ projectId: z.ZodString;
1562
+ limit: z.ZodOptional<z.ZodNumber>;
1563
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1564
+ }, "strip", z.ZodTypeAny, {
1565
+ projectId: string;
1566
+ limit?: number | undefined;
1567
+ fields?: string[] | undefined;
1568
+ }, {
1569
+ projectId: string;
1570
+ limit?: number | undefined;
1571
+ fields?: string[] | undefined;
1572
+ }>;
1573
+ export type LatestIdentifiesRequest = z.infer<typeof latestIdentifiesRequestSchema>;
1574
+ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1575
+ meta: z.ZodArray<z.ZodObject<{
1576
+ name: z.ZodString;
1577
+ type: z.ZodString;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ type: string;
1580
+ name: string;
1581
+ }, {
1582
+ type: string;
1583
+ name: string;
1584
+ }>, "many">;
1585
+ statistics: z.ZodObject<{
1586
+ elapsed: z.ZodNumber;
1587
+ rows_read: z.ZodNumber;
1588
+ bytes_read: z.ZodNumber;
1589
+ }, "strip", z.ZodTypeAny, {
1590
+ elapsed: number;
1591
+ rows_read: number;
1592
+ bytes_read: number;
1593
+ }, {
1594
+ elapsed: number;
1595
+ rows_read: number;
1596
+ bytes_read: number;
1597
+ }>;
1598
+ rows: z.ZodNumber;
1599
+ }, {
1600
+ data: z.ZodArray<z.ZodObject<{
1601
+ properties: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
1602
+ age: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1603
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1604
+ birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1605
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1606
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
+ email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1608
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1609
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1610
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1611
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1612
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1613
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1614
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1615
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1616
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1617
+ $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1618
+ $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1619
+ }, "strip", z.ZodTypeAny, {
1620
+ name?: string | null | undefined;
1621
+ id?: string | null | undefined;
1622
+ age?: string | number | null | undefined;
1623
+ avatar?: string | null | undefined;
1624
+ birthday?: string | null | undefined;
1625
+ createdAt?: string | null | undefined;
1626
+ description?: string | null | undefined;
1627
+ email?: string | null | undefined;
1628
+ firstName?: string | null | undefined;
1629
+ gender?: string | null | undefined;
1630
+ lastName?: string | null | undefined;
1631
+ phone?: string | null | undefined;
1632
+ title?: string | null | undefined;
1633
+ username?: string | null | undefined;
1634
+ website?: string | null | undefined;
1635
+ $id?: string | null | undefined;
1636
+ $lastSeen?: string | null | undefined;
1637
+ }, {
1638
+ name?: string | null | undefined;
1639
+ id?: string | null | undefined;
1640
+ age?: string | number | null | undefined;
1641
+ avatar?: string | null | undefined;
1642
+ birthday?: string | null | undefined;
1643
+ createdAt?: string | null | undefined;
1644
+ description?: string | null | undefined;
1645
+ email?: string | null | undefined;
1646
+ firstName?: string | null | undefined;
1647
+ gender?: string | null | undefined;
1648
+ lastName?: string | null | undefined;
1649
+ phone?: string | null | undefined;
1650
+ title?: string | null | undefined;
1651
+ username?: string | null | undefined;
1652
+ website?: string | null | undefined;
1653
+ $id?: string | null | undefined;
1654
+ $lastSeen?: string | null | undefined;
1655
+ }>>, 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">]>>>;
1656
+ }, "strip", z.ZodTypeAny, {
1657
+ properties: {
1658
+ name?: string | null | undefined;
1659
+ id?: string | null | undefined;
1660
+ age?: string | number | null | undefined;
1661
+ avatar?: string | null | undefined;
1662
+ birthday?: string | null | undefined;
1663
+ createdAt?: string | null | undefined;
1664
+ description?: string | null | undefined;
1665
+ email?: string | null | undefined;
1666
+ firstName?: string | null | undefined;
1667
+ gender?: string | null | undefined;
1668
+ lastName?: string | null | undefined;
1669
+ phone?: string | null | undefined;
1670
+ title?: string | null | undefined;
1671
+ username?: string | null | undefined;
1672
+ website?: string | null | undefined;
1673
+ $id?: string | null | undefined;
1674
+ $lastSeen?: string | null | undefined;
1675
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1676
+ }, {
1677
+ properties: {
1678
+ name?: string | null | undefined;
1679
+ id?: string | null | undefined;
1680
+ age?: string | number | null | undefined;
1681
+ avatar?: string | null | undefined;
1682
+ birthday?: string | null | undefined;
1683
+ createdAt?: string | null | undefined;
1684
+ description?: string | null | undefined;
1685
+ email?: string | null | undefined;
1686
+ firstName?: string | null | undefined;
1687
+ gender?: string | null | undefined;
1688
+ lastName?: string | null | undefined;
1689
+ phone?: string | null | undefined;
1690
+ title?: string | null | undefined;
1691
+ username?: string | null | undefined;
1692
+ website?: string | null | undefined;
1693
+ $id?: string | null | undefined;
1694
+ $lastSeen?: string | null | undefined;
1695
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1696
+ }>, "many">;
1697
+ }>, "strip", z.ZodTypeAny, {
1698
+ meta: {
1699
+ type: string;
1700
+ name: string;
1701
+ }[];
1702
+ statistics: {
1703
+ elapsed: number;
1704
+ rows_read: number;
1705
+ bytes_read: number;
1706
+ };
1707
+ rows: number;
1708
+ data: {
1709
+ properties: {
1710
+ name?: string | null | undefined;
1711
+ id?: string | null | undefined;
1712
+ age?: string | number | null | undefined;
1713
+ avatar?: string | null | undefined;
1714
+ birthday?: string | null | undefined;
1715
+ createdAt?: string | null | undefined;
1716
+ description?: string | null | undefined;
1717
+ email?: string | null | undefined;
1718
+ firstName?: string | null | undefined;
1719
+ gender?: string | null | undefined;
1720
+ lastName?: string | null | undefined;
1721
+ phone?: string | null | undefined;
1722
+ title?: string | null | undefined;
1723
+ username?: string | null | undefined;
1724
+ website?: string | null | undefined;
1725
+ $id?: string | null | undefined;
1726
+ $lastSeen?: string | null | undefined;
1727
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1728
+ }[];
1729
+ }, {
1730
+ meta: {
1731
+ type: string;
1732
+ name: string;
1733
+ }[];
1734
+ statistics: {
1735
+ elapsed: number;
1736
+ rows_read: number;
1737
+ bytes_read: number;
1738
+ };
1739
+ rows: number;
1740
+ data: {
1741
+ properties: {
1742
+ name?: string | null | undefined;
1743
+ id?: string | null | undefined;
1744
+ age?: string | number | null | undefined;
1745
+ avatar?: string | null | undefined;
1746
+ birthday?: string | null | undefined;
1747
+ createdAt?: string | null | undefined;
1748
+ description?: string | null | undefined;
1749
+ email?: string | null | undefined;
1750
+ firstName?: string | null | undefined;
1751
+ gender?: string | null | undefined;
1752
+ lastName?: string | null | undefined;
1753
+ phone?: string | null | undefined;
1754
+ title?: string | null | undefined;
1755
+ username?: string | null | undefined;
1756
+ website?: string | null | undefined;
1757
+ $id?: string | null | undefined;
1758
+ $lastSeen?: string | null | undefined;
1759
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1760
+ }[];
1761
+ }>;
1762
+ export type LatestIdentifiesResponse = z.infer<typeof latestIdentifiesResponseSchema>;