saasco-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1303 @@
1
+ import { z } from 'zod';
2
+ export declare const tbAny: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
3
+ export type TbAny = z.infer<typeof tbAny>;
4
+ export declare const tinyBirdBaseSchema: z.ZodObject<{
5
+ meta: z.ZodArray<z.ZodObject<{
6
+ name: z.ZodString;
7
+ type: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ type: string;
10
+ name: string;
11
+ }, {
12
+ type: string;
13
+ name: string;
14
+ }>, "many">;
15
+ statistics: z.ZodObject<{
16
+ elapsed: z.ZodNumber;
17
+ rows_read: z.ZodNumber;
18
+ bytes_read: z.ZodNumber;
19
+ }, "strip", z.ZodTypeAny, {
20
+ elapsed: number;
21
+ rows_read: number;
22
+ bytes_read: number;
23
+ }, {
24
+ elapsed: number;
25
+ rows_read: number;
26
+ bytes_read: number;
27
+ }>;
28
+ rows: z.ZodNumber;
29
+ }, "strip", z.ZodTypeAny, {
30
+ meta: {
31
+ type: string;
32
+ name: string;
33
+ }[];
34
+ statistics: {
35
+ elapsed: number;
36
+ rows_read: number;
37
+ bytes_read: number;
38
+ };
39
+ rows: number;
40
+ }, {
41
+ meta: {
42
+ type: string;
43
+ name: string;
44
+ }[];
45
+ statistics: {
46
+ elapsed: number;
47
+ rows_read: number;
48
+ bytes_read: number;
49
+ };
50
+ rows: number;
51
+ }>;
52
+ export type TinyBirdBase = z.infer<typeof tinyBirdBaseSchema>;
53
+ export declare const kpisRequestSchema: z.ZodObject<{
54
+ projectId: z.ZodString;
55
+ dateTo: z.ZodOptional<z.ZodString>;
56
+ dateFrom: z.ZodOptional<z.ZodString>;
57
+ referringDomain: z.ZodOptional<z.ZodString>;
58
+ location: z.ZodOptional<z.ZodString>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ projectId: string;
61
+ dateTo?: string | undefined;
62
+ dateFrom?: string | undefined;
63
+ referringDomain?: string | undefined;
64
+ location?: string | undefined;
65
+ }, {
66
+ projectId: string;
67
+ dateTo?: string | undefined;
68
+ dateFrom?: string | undefined;
69
+ referringDomain?: string | undefined;
70
+ location?: string | undefined;
71
+ }>;
72
+ export type KpisRequest = z.infer<typeof kpisRequestSchema>;
73
+ export declare const kpisResponseSchema: z.ZodObject<{
74
+ meta: z.ZodArray<z.ZodObject<{
75
+ name: z.ZodString;
76
+ type: z.ZodString;
77
+ }, "strip", z.ZodTypeAny, {
78
+ type: string;
79
+ name: string;
80
+ }, {
81
+ type: string;
82
+ name: string;
83
+ }>, "many">;
84
+ statistics: z.ZodObject<{
85
+ elapsed: z.ZodNumber;
86
+ rows_read: z.ZodNumber;
87
+ bytes_read: z.ZodNumber;
88
+ }, "strip", z.ZodTypeAny, {
89
+ elapsed: number;
90
+ rows_read: number;
91
+ bytes_read: number;
92
+ }, {
93
+ elapsed: number;
94
+ rows_read: number;
95
+ bytes_read: number;
96
+ }>;
97
+ rows: z.ZodNumber;
98
+ data: z.ZodArray<z.ZodObject<{
99
+ date: z.ZodString;
100
+ visits: z.ZodNumber;
101
+ pageviews: z.ZodNumber;
102
+ bounceRate: z.ZodNullable<z.ZodNumber>;
103
+ avgSessionSec: z.ZodNumber;
104
+ }, "strip", z.ZodTypeAny, {
105
+ date: string;
106
+ visits: number;
107
+ pageviews: number;
108
+ bounceRate: number | null;
109
+ avgSessionSec: number;
110
+ }, {
111
+ date: string;
112
+ visits: number;
113
+ pageviews: number;
114
+ bounceRate: number | null;
115
+ avgSessionSec: number;
116
+ }>, "many">;
117
+ }, "strip", z.ZodTypeAny, {
118
+ data: {
119
+ date: string;
120
+ visits: number;
121
+ pageviews: number;
122
+ bounceRate: number | null;
123
+ avgSessionSec: number;
124
+ }[];
125
+ meta: {
126
+ type: string;
127
+ name: string;
128
+ }[];
129
+ statistics: {
130
+ elapsed: number;
131
+ rows_read: number;
132
+ bytes_read: number;
133
+ };
134
+ rows: number;
135
+ }, {
136
+ data: {
137
+ date: string;
138
+ visits: number;
139
+ pageviews: number;
140
+ bounceRate: number | null;
141
+ avgSessionSec: number;
142
+ }[];
143
+ meta: {
144
+ type: string;
145
+ name: string;
146
+ }[];
147
+ statistics: {
148
+ elapsed: number;
149
+ rows_read: number;
150
+ bytes_read: number;
151
+ };
152
+ rows: number;
153
+ }>;
154
+ export type KpisResponse = z.infer<typeof kpisResponseSchema>;
155
+ export declare const eventsKpisResponseSchema: z.ZodObject<{
156
+ meta: z.ZodArray<z.ZodObject<{
157
+ name: z.ZodString;
158
+ type: z.ZodString;
159
+ }, "strip", z.ZodTypeAny, {
160
+ type: string;
161
+ name: string;
162
+ }, {
163
+ type: string;
164
+ name: string;
165
+ }>, "many">;
166
+ statistics: z.ZodObject<{
167
+ elapsed: z.ZodNumber;
168
+ rows_read: z.ZodNumber;
169
+ bytes_read: z.ZodNumber;
170
+ }, "strip", z.ZodTypeAny, {
171
+ elapsed: number;
172
+ rows_read: number;
173
+ bytes_read: number;
174
+ }, {
175
+ elapsed: number;
176
+ rows_read: number;
177
+ bytes_read: number;
178
+ }>;
179
+ rows: z.ZodNumber;
180
+ data: z.ZodArray<z.ZodObject<{
181
+ unique: z.ZodNumber;
182
+ total: z.ZodNumber;
183
+ }, "strip", z.ZodTypeAny, {
184
+ unique: number;
185
+ total: number;
186
+ }, {
187
+ unique: number;
188
+ total: number;
189
+ }>, "many">;
190
+ }, "strip", z.ZodTypeAny, {
191
+ data: {
192
+ unique: number;
193
+ total: number;
194
+ }[];
195
+ meta: {
196
+ type: string;
197
+ name: string;
198
+ }[];
199
+ statistics: {
200
+ elapsed: number;
201
+ rows_read: number;
202
+ bytes_read: number;
203
+ };
204
+ rows: number;
205
+ }, {
206
+ data: {
207
+ unique: number;
208
+ total: number;
209
+ }[];
210
+ meta: {
211
+ type: string;
212
+ name: string;
213
+ }[];
214
+ statistics: {
215
+ elapsed: number;
216
+ rows_read: number;
217
+ bytes_read: number;
218
+ };
219
+ rows: number;
220
+ }>;
221
+ export type EventsKpisResponse = z.infer<typeof eventsKpisResponseSchema>;
222
+ export declare const baseTopRequestSchema: z.ZodObject<{
223
+ projectId: z.ZodString;
224
+ dateTo: z.ZodOptional<z.ZodString>;
225
+ dateFrom: z.ZodOptional<z.ZodString>;
226
+ limit: z.ZodOptional<z.ZodNumber>;
227
+ skip: z.ZodOptional<z.ZodNumber>;
228
+ referringDomain: z.ZodOptional<z.ZodString>;
229
+ location: z.ZodOptional<z.ZodString>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ projectId: string;
232
+ dateTo?: string | undefined;
233
+ dateFrom?: string | undefined;
234
+ limit?: number | undefined;
235
+ skip?: number | undefined;
236
+ referringDomain?: string | undefined;
237
+ location?: string | undefined;
238
+ }, {
239
+ projectId: string;
240
+ dateTo?: string | undefined;
241
+ dateFrom?: string | undefined;
242
+ limit?: number | undefined;
243
+ skip?: number | undefined;
244
+ referringDomain?: string | undefined;
245
+ location?: string | undefined;
246
+ }>;
247
+ export type BaseTopRequest = z.infer<typeof baseTopRequestSchema>;
248
+ export declare const topPagesResponseSchema: z.ZodObject<{
249
+ meta: z.ZodArray<z.ZodObject<{
250
+ name: z.ZodString;
251
+ type: z.ZodString;
252
+ }, "strip", z.ZodTypeAny, {
253
+ type: string;
254
+ name: string;
255
+ }, {
256
+ type: string;
257
+ name: string;
258
+ }>, "many">;
259
+ statistics: z.ZodObject<{
260
+ elapsed: z.ZodNumber;
261
+ rows_read: z.ZodNumber;
262
+ bytes_read: z.ZodNumber;
263
+ }, "strip", z.ZodTypeAny, {
264
+ elapsed: number;
265
+ rows_read: number;
266
+ bytes_read: number;
267
+ }, {
268
+ elapsed: number;
269
+ rows_read: number;
270
+ bytes_read: number;
271
+ }>;
272
+ rows: z.ZodNumber;
273
+ data: z.ZodArray<z.ZodObject<{
274
+ pathname: z.ZodString;
275
+ visits: z.ZodNumber;
276
+ hits: z.ZodNumber;
277
+ }, "strip", z.ZodTypeAny, {
278
+ visits: number;
279
+ pathname: string;
280
+ hits: number;
281
+ }, {
282
+ visits: number;
283
+ pathname: string;
284
+ hits: number;
285
+ }>, "many">;
286
+ }, "strip", z.ZodTypeAny, {
287
+ data: {
288
+ visits: number;
289
+ pathname: string;
290
+ hits: number;
291
+ }[];
292
+ meta: {
293
+ type: string;
294
+ name: string;
295
+ }[];
296
+ statistics: {
297
+ elapsed: number;
298
+ rows_read: number;
299
+ bytes_read: number;
300
+ };
301
+ rows: number;
302
+ }, {
303
+ data: {
304
+ visits: number;
305
+ pathname: string;
306
+ hits: number;
307
+ }[];
308
+ meta: {
309
+ type: string;
310
+ name: string;
311
+ }[];
312
+ statistics: {
313
+ elapsed: number;
314
+ rows_read: number;
315
+ bytes_read: number;
316
+ };
317
+ rows: number;
318
+ }>;
319
+ export type TopPagesResponse = z.infer<typeof topPagesResponseSchema>;
320
+ export declare const topLocationsResponseSchema: z.ZodObject<{
321
+ meta: z.ZodArray<z.ZodObject<{
322
+ name: z.ZodString;
323
+ type: z.ZodString;
324
+ }, "strip", z.ZodTypeAny, {
325
+ type: string;
326
+ name: string;
327
+ }, {
328
+ type: string;
329
+ name: string;
330
+ }>, "many">;
331
+ statistics: z.ZodObject<{
332
+ elapsed: z.ZodNumber;
333
+ rows_read: z.ZodNumber;
334
+ bytes_read: z.ZodNumber;
335
+ }, "strip", z.ZodTypeAny, {
336
+ elapsed: number;
337
+ rows_read: number;
338
+ bytes_read: number;
339
+ }, {
340
+ elapsed: number;
341
+ rows_read: number;
342
+ bytes_read: number;
343
+ }>;
344
+ rows: z.ZodNumber;
345
+ data: z.ZodArray<z.ZodObject<{
346
+ location: z.ZodString;
347
+ visits: z.ZodNumber;
348
+ hits: z.ZodNumber;
349
+ bounceRate: z.ZodNullable<z.ZodNumber>;
350
+ avgSessionSec: z.ZodNumber;
351
+ }, "strip", z.ZodTypeAny, {
352
+ location: string;
353
+ visits: number;
354
+ bounceRate: number | null;
355
+ avgSessionSec: number;
356
+ hits: number;
357
+ }, {
358
+ location: string;
359
+ visits: number;
360
+ bounceRate: number | null;
361
+ avgSessionSec: number;
362
+ hits: number;
363
+ }>, "many">;
364
+ }, "strip", z.ZodTypeAny, {
365
+ data: {
366
+ location: string;
367
+ visits: number;
368
+ bounceRate: number | null;
369
+ avgSessionSec: number;
370
+ hits: number;
371
+ }[];
372
+ meta: {
373
+ type: string;
374
+ name: string;
375
+ }[];
376
+ statistics: {
377
+ elapsed: number;
378
+ rows_read: number;
379
+ bytes_read: number;
380
+ };
381
+ rows: number;
382
+ }, {
383
+ data: {
384
+ location: string;
385
+ visits: number;
386
+ bounceRate: number | null;
387
+ avgSessionSec: number;
388
+ hits: number;
389
+ }[];
390
+ meta: {
391
+ type: string;
392
+ name: string;
393
+ }[];
394
+ statistics: {
395
+ elapsed: number;
396
+ rows_read: number;
397
+ bytes_read: number;
398
+ };
399
+ rows: number;
400
+ }>;
401
+ export type TopLocationsResponse = z.infer<typeof topLocationsResponseSchema>;
402
+ export declare const topDevicesResponseSchema: z.ZodObject<{
403
+ meta: z.ZodArray<z.ZodObject<{
404
+ name: z.ZodString;
405
+ type: z.ZodString;
406
+ }, "strip", z.ZodTypeAny, {
407
+ type: string;
408
+ name: string;
409
+ }, {
410
+ type: string;
411
+ name: string;
412
+ }>, "many">;
413
+ statistics: z.ZodObject<{
414
+ elapsed: z.ZodNumber;
415
+ rows_read: z.ZodNumber;
416
+ bytes_read: z.ZodNumber;
417
+ }, "strip", z.ZodTypeAny, {
418
+ elapsed: number;
419
+ rows_read: number;
420
+ bytes_read: number;
421
+ }, {
422
+ elapsed: number;
423
+ rows_read: number;
424
+ bytes_read: number;
425
+ }>;
426
+ rows: z.ZodNumber;
427
+ data: z.ZodArray<z.ZodObject<{
428
+ device: z.ZodString;
429
+ visits: z.ZodNumber;
430
+ hits: z.ZodNumber;
431
+ bounceRate: z.ZodNullable<z.ZodNumber>;
432
+ avgSessionSec: z.ZodNumber;
433
+ }, "strip", z.ZodTypeAny, {
434
+ visits: number;
435
+ bounceRate: number | null;
436
+ avgSessionSec: number;
437
+ hits: number;
438
+ device: string;
439
+ }, {
440
+ visits: number;
441
+ bounceRate: number | null;
442
+ avgSessionSec: number;
443
+ hits: number;
444
+ device: string;
445
+ }>, "many">;
446
+ }, "strip", z.ZodTypeAny, {
447
+ data: {
448
+ visits: number;
449
+ bounceRate: number | null;
450
+ avgSessionSec: number;
451
+ hits: number;
452
+ device: string;
453
+ }[];
454
+ meta: {
455
+ type: string;
456
+ name: string;
457
+ }[];
458
+ statistics: {
459
+ elapsed: number;
460
+ rows_read: number;
461
+ bytes_read: number;
462
+ };
463
+ rows: number;
464
+ }, {
465
+ data: {
466
+ visits: number;
467
+ bounceRate: number | null;
468
+ avgSessionSec: number;
469
+ hits: number;
470
+ device: string;
471
+ }[];
472
+ meta: {
473
+ type: string;
474
+ name: string;
475
+ }[];
476
+ statistics: {
477
+ elapsed: number;
478
+ rows_read: number;
479
+ bytes_read: number;
480
+ };
481
+ rows: number;
482
+ }>;
483
+ export type TopDevicesResponse = z.infer<typeof topDevicesResponseSchema>;
484
+ export declare const topBrowsersResponseSchema: z.ZodObject<{
485
+ meta: z.ZodArray<z.ZodObject<{
486
+ name: z.ZodString;
487
+ type: z.ZodString;
488
+ }, "strip", z.ZodTypeAny, {
489
+ type: string;
490
+ name: string;
491
+ }, {
492
+ type: string;
493
+ name: string;
494
+ }>, "many">;
495
+ statistics: z.ZodObject<{
496
+ elapsed: z.ZodNumber;
497
+ rows_read: z.ZodNumber;
498
+ bytes_read: z.ZodNumber;
499
+ }, "strip", z.ZodTypeAny, {
500
+ elapsed: number;
501
+ rows_read: number;
502
+ bytes_read: number;
503
+ }, {
504
+ elapsed: number;
505
+ rows_read: number;
506
+ bytes_read: number;
507
+ }>;
508
+ rows: z.ZodNumber;
509
+ data: z.ZodArray<z.ZodObject<{
510
+ browser: z.ZodString;
511
+ visits: z.ZodNumber;
512
+ hits: z.ZodNumber;
513
+ bounceRate: z.ZodNullable<z.ZodNumber>;
514
+ avgSessionSec: z.ZodNumber;
515
+ }, "strip", z.ZodTypeAny, {
516
+ visits: number;
517
+ bounceRate: number | null;
518
+ avgSessionSec: number;
519
+ hits: number;
520
+ browser: string;
521
+ }, {
522
+ visits: number;
523
+ bounceRate: number | null;
524
+ avgSessionSec: number;
525
+ hits: number;
526
+ browser: string;
527
+ }>, "many">;
528
+ }, "strip", z.ZodTypeAny, {
529
+ data: {
530
+ visits: number;
531
+ bounceRate: number | null;
532
+ avgSessionSec: number;
533
+ hits: number;
534
+ browser: string;
535
+ }[];
536
+ meta: {
537
+ type: string;
538
+ name: string;
539
+ }[];
540
+ statistics: {
541
+ elapsed: number;
542
+ rows_read: number;
543
+ bytes_read: number;
544
+ };
545
+ rows: number;
546
+ }, {
547
+ data: {
548
+ visits: number;
549
+ bounceRate: number | null;
550
+ avgSessionSec: number;
551
+ hits: number;
552
+ browser: string;
553
+ }[];
554
+ meta: {
555
+ type: string;
556
+ name: string;
557
+ }[];
558
+ statistics: {
559
+ elapsed: number;
560
+ rows_read: number;
561
+ bytes_read: number;
562
+ };
563
+ rows: number;
564
+ }>;
565
+ export type TopBrowsersResponse = z.infer<typeof topBrowsersResponseSchema>;
566
+ export declare const topSourcesSchema: z.ZodObject<{
567
+ referrer: z.ZodString;
568
+ visits: z.ZodNumber;
569
+ hits: z.ZodNumber;
570
+ bounceRate: z.ZodNullable<z.ZodNumber>;
571
+ avgSessionSec: z.ZodNumber;
572
+ }, "strip", z.ZodTypeAny, {
573
+ visits: number;
574
+ bounceRate: number | null;
575
+ avgSessionSec: number;
576
+ hits: number;
577
+ referrer: string;
578
+ }, {
579
+ visits: number;
580
+ bounceRate: number | null;
581
+ avgSessionSec: number;
582
+ hits: number;
583
+ referrer: string;
584
+ }>;
585
+ export type TopSources = z.infer<typeof topSourcesSchema>;
586
+ export declare const topSourcesResponseSchema: z.ZodObject<{
587
+ meta: z.ZodArray<z.ZodObject<{
588
+ name: z.ZodString;
589
+ type: z.ZodString;
590
+ }, "strip", z.ZodTypeAny, {
591
+ type: string;
592
+ name: string;
593
+ }, {
594
+ type: string;
595
+ name: string;
596
+ }>, "many">;
597
+ statistics: z.ZodObject<{
598
+ elapsed: z.ZodNumber;
599
+ rows_read: z.ZodNumber;
600
+ bytes_read: z.ZodNumber;
601
+ }, "strip", z.ZodTypeAny, {
602
+ elapsed: number;
603
+ rows_read: number;
604
+ bytes_read: number;
605
+ }, {
606
+ elapsed: number;
607
+ rows_read: number;
608
+ bytes_read: number;
609
+ }>;
610
+ rows: z.ZodNumber;
611
+ data: z.ZodArray<z.ZodObject<{
612
+ referrer: z.ZodString;
613
+ visits: z.ZodNumber;
614
+ hits: z.ZodNumber;
615
+ bounceRate: z.ZodNullable<z.ZodNumber>;
616
+ avgSessionSec: z.ZodNumber;
617
+ }, "strip", z.ZodTypeAny, {
618
+ visits: number;
619
+ bounceRate: number | null;
620
+ avgSessionSec: number;
621
+ hits: number;
622
+ referrer: string;
623
+ }, {
624
+ visits: number;
625
+ bounceRate: number | null;
626
+ avgSessionSec: number;
627
+ hits: number;
628
+ referrer: string;
629
+ }>, "many">;
630
+ }, "strip", z.ZodTypeAny, {
631
+ data: {
632
+ visits: number;
633
+ bounceRate: number | null;
634
+ avgSessionSec: number;
635
+ hits: number;
636
+ referrer: string;
637
+ }[];
638
+ meta: {
639
+ type: string;
640
+ name: string;
641
+ }[];
642
+ statistics: {
643
+ elapsed: number;
644
+ rows_read: number;
645
+ bytes_read: number;
646
+ };
647
+ rows: number;
648
+ }, {
649
+ data: {
650
+ visits: number;
651
+ bounceRate: number | null;
652
+ avgSessionSec: number;
653
+ hits: number;
654
+ referrer: string;
655
+ }[];
656
+ meta: {
657
+ type: string;
658
+ name: string;
659
+ }[];
660
+ statistics: {
661
+ elapsed: number;
662
+ rows_read: number;
663
+ bytes_read: number;
664
+ };
665
+ rows: number;
666
+ }>;
667
+ export type TopSourcesResponse = z.infer<typeof topSourcesResponseSchema>;
668
+ export declare const topActionsResponseSchema: z.ZodObject<{
669
+ meta: z.ZodArray<z.ZodObject<{
670
+ name: z.ZodString;
671
+ type: z.ZodString;
672
+ }, "strip", z.ZodTypeAny, {
673
+ type: string;
674
+ name: string;
675
+ }, {
676
+ type: string;
677
+ name: string;
678
+ }>, "many">;
679
+ statistics: z.ZodObject<{
680
+ elapsed: z.ZodNumber;
681
+ rows_read: z.ZodNumber;
682
+ bytes_read: z.ZodNumber;
683
+ }, "strip", z.ZodTypeAny, {
684
+ elapsed: number;
685
+ rows_read: number;
686
+ bytes_read: number;
687
+ }, {
688
+ elapsed: number;
689
+ rows_read: number;
690
+ bytes_read: number;
691
+ }>;
692
+ rows: z.ZodNumber;
693
+ data: z.ZodArray<z.ZodObject<{
694
+ action: z.ZodString;
695
+ unique: z.ZodNumber;
696
+ total: z.ZodNumber;
697
+ }, "strip", z.ZodTypeAny, {
698
+ unique: number;
699
+ total: number;
700
+ action: string;
701
+ }, {
702
+ unique: number;
703
+ total: number;
704
+ action: string;
705
+ }>, "many">;
706
+ }, "strip", z.ZodTypeAny, {
707
+ data: {
708
+ unique: number;
709
+ total: number;
710
+ action: string;
711
+ }[];
712
+ meta: {
713
+ type: string;
714
+ name: string;
715
+ }[];
716
+ statistics: {
717
+ elapsed: number;
718
+ rows_read: number;
719
+ bytes_read: number;
720
+ };
721
+ rows: number;
722
+ }, {
723
+ data: {
724
+ unique: number;
725
+ total: number;
726
+ action: string;
727
+ }[];
728
+ meta: {
729
+ type: string;
730
+ name: string;
731
+ }[];
732
+ statistics: {
733
+ elapsed: number;
734
+ rows_read: number;
735
+ bytes_read: number;
736
+ };
737
+ rows: number;
738
+ }>;
739
+ export type TopActionsResponse = z.infer<typeof topActionsResponseSchema>;
740
+ export declare const analyticsEventSchema: z.ZodObject<{
741
+ id: z.ZodString;
742
+ timestamp: z.ZodString;
743
+ projectId: z.ZodString;
744
+ anonymousId: z.ZodString;
745
+ sessionId: z.ZodString;
746
+ version: z.ZodString;
747
+ action: z.ZodString;
748
+ payload: z.ZodString;
749
+ }, "strip", z.ZodTypeAny, {
750
+ projectId: string;
751
+ action: string;
752
+ id: string;
753
+ timestamp: string;
754
+ anonymousId: string;
755
+ sessionId: string;
756
+ version: string;
757
+ payload: string;
758
+ }, {
759
+ projectId: string;
760
+ action: string;
761
+ id: string;
762
+ timestamp: string;
763
+ anonymousId: string;
764
+ sessionId: string;
765
+ version: string;
766
+ payload: string;
767
+ }>;
768
+ export type AnalyticsEvent = z.infer<typeof analyticsEventSchema>;
769
+ export declare const userEventsResponseSchema: z.ZodObject<{
770
+ meta: z.ZodArray<z.ZodObject<{
771
+ name: z.ZodString;
772
+ type: z.ZodString;
773
+ }, "strip", z.ZodTypeAny, {
774
+ type: string;
775
+ name: string;
776
+ }, {
777
+ type: string;
778
+ name: string;
779
+ }>, "many">;
780
+ statistics: z.ZodObject<{
781
+ elapsed: z.ZodNumber;
782
+ rows_read: z.ZodNumber;
783
+ bytes_read: z.ZodNumber;
784
+ }, "strip", z.ZodTypeAny, {
785
+ elapsed: number;
786
+ rows_read: number;
787
+ bytes_read: number;
788
+ }, {
789
+ elapsed: number;
790
+ rows_read: number;
791
+ bytes_read: number;
792
+ }>;
793
+ rows: z.ZodNumber;
794
+ data: z.ZodArray<z.ZodObject<{
795
+ id: z.ZodString;
796
+ timestamp: z.ZodString;
797
+ projectId: z.ZodString;
798
+ anonymousId: z.ZodString;
799
+ sessionId: z.ZodString;
800
+ version: z.ZodString;
801
+ action: z.ZodString;
802
+ payload: z.ZodString;
803
+ }, "strip", z.ZodTypeAny, {
804
+ projectId: string;
805
+ action: string;
806
+ id: string;
807
+ timestamp: string;
808
+ anonymousId: string;
809
+ sessionId: string;
810
+ version: string;
811
+ payload: string;
812
+ }, {
813
+ projectId: string;
814
+ action: string;
815
+ id: string;
816
+ timestamp: string;
817
+ anonymousId: string;
818
+ sessionId: string;
819
+ version: string;
820
+ payload: string;
821
+ }>, "many">;
822
+ }, "strip", z.ZodTypeAny, {
823
+ data: {
824
+ projectId: string;
825
+ action: string;
826
+ id: string;
827
+ timestamp: string;
828
+ anonymousId: string;
829
+ sessionId: string;
830
+ version: string;
831
+ payload: string;
832
+ }[];
833
+ meta: {
834
+ type: string;
835
+ name: string;
836
+ }[];
837
+ statistics: {
838
+ elapsed: number;
839
+ rows_read: number;
840
+ bytes_read: number;
841
+ };
842
+ rows: number;
843
+ }, {
844
+ data: {
845
+ projectId: string;
846
+ action: string;
847
+ id: string;
848
+ timestamp: string;
849
+ anonymousId: string;
850
+ sessionId: string;
851
+ version: string;
852
+ payload: string;
853
+ }[];
854
+ meta: {
855
+ type: string;
856
+ name: string;
857
+ }[];
858
+ statistics: {
859
+ elapsed: number;
860
+ rows_read: number;
861
+ bytes_read: number;
862
+ };
863
+ rows: number;
864
+ }>;
865
+ export type UserEventsResponse = z.infer<typeof userEventsResponseSchema>;
866
+ export declare const currentUsersRequestSchema: z.ZodObject<{
867
+ projectId: z.ZodString;
868
+ minutes: z.ZodOptional<z.ZodNumber>;
869
+ referringDomain: z.ZodOptional<z.ZodString>;
870
+ location: z.ZodOptional<z.ZodString>;
871
+ }, "strip", z.ZodTypeAny, {
872
+ projectId: string;
873
+ minutes?: number | undefined;
874
+ referringDomain?: string | undefined;
875
+ location?: string | undefined;
876
+ }, {
877
+ projectId: string;
878
+ minutes?: number | undefined;
879
+ referringDomain?: string | undefined;
880
+ location?: string | undefined;
881
+ }>;
882
+ export type CurrentUsersRequest = z.infer<typeof currentUsersRequestSchema>;
883
+ export declare const currentUsersResponseSchema: z.ZodObject<{
884
+ meta: z.ZodArray<z.ZodObject<{
885
+ name: z.ZodString;
886
+ type: z.ZodString;
887
+ }, "strip", z.ZodTypeAny, {
888
+ type: string;
889
+ name: string;
890
+ }, {
891
+ type: string;
892
+ name: string;
893
+ }>, "many">;
894
+ statistics: z.ZodObject<{
895
+ elapsed: z.ZodNumber;
896
+ rows_read: z.ZodNumber;
897
+ bytes_read: z.ZodNumber;
898
+ }, "strip", z.ZodTypeAny, {
899
+ elapsed: number;
900
+ rows_read: number;
901
+ bytes_read: number;
902
+ }, {
903
+ elapsed: number;
904
+ rows_read: number;
905
+ bytes_read: number;
906
+ }>;
907
+ rows: z.ZodNumber;
908
+ data: z.ZodArray<z.ZodObject<{
909
+ visits: z.ZodNumber;
910
+ }, "strip", z.ZodTypeAny, {
911
+ visits: number;
912
+ }, {
913
+ visits: number;
914
+ }>, "many">;
915
+ }, "strip", z.ZodTypeAny, {
916
+ data: {
917
+ visits: number;
918
+ }[];
919
+ meta: {
920
+ type: string;
921
+ name: string;
922
+ }[];
923
+ statistics: {
924
+ elapsed: number;
925
+ rows_read: number;
926
+ bytes_read: number;
927
+ };
928
+ rows: number;
929
+ }, {
930
+ data: {
931
+ visits: number;
932
+ }[];
933
+ meta: {
934
+ type: string;
935
+ name: string;
936
+ }[];
937
+ statistics: {
938
+ elapsed: number;
939
+ rows_read: number;
940
+ bytes_read: number;
941
+ };
942
+ rows: number;
943
+ }>;
944
+ export type CurrentUsersResponse = z.infer<typeof currentUsersResponseSchema>;
945
+ export declare const reservedPropertiesSchema: z.ZodObject<{
946
+ age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
947
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
948
+ birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
949
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
950
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
951
+ email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
952
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
953
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
954
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
955
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
958
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
960
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ age?: number | null | undefined;
963
+ avatar?: string | null | undefined;
964
+ birthday?: string | null | undefined;
965
+ createdAt?: string | null | undefined;
966
+ description?: string | null | undefined;
967
+ email?: string | null | undefined;
968
+ firstName?: string | null | undefined;
969
+ gender?: string | null | undefined;
970
+ id?: string | null | undefined;
971
+ lastName?: string | null | undefined;
972
+ name?: string | null | undefined;
973
+ phone?: string | null | undefined;
974
+ title?: string | null | undefined;
975
+ username?: string | null | undefined;
976
+ website?: string | null | undefined;
977
+ }, {
978
+ age?: number | null | undefined;
979
+ avatar?: string | null | undefined;
980
+ birthday?: string | null | undefined;
981
+ createdAt?: string | null | undefined;
982
+ description?: string | null | undefined;
983
+ email?: string | null | undefined;
984
+ firstName?: string | null | undefined;
985
+ gender?: string | null | undefined;
986
+ id?: string | null | undefined;
987
+ lastName?: string | null | undefined;
988
+ name?: string | null | undefined;
989
+ phone?: string | null | undefined;
990
+ title?: string | null | undefined;
991
+ username?: string | null | undefined;
992
+ website?: string | null | undefined;
993
+ }>;
994
+ export type ReservedProperties = z.infer<typeof reservedPropertiesSchema>;
995
+ export declare const userPropertiesSchema: z.ZodIntersection<z.ZodObject<{
996
+ age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
997
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
998
+ birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
999
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1000
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1001
+ email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1002
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1003
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1004
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1005
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1006
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1007
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1008
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1009
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1010
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1011
+ }, "strip", z.ZodTypeAny, {
1012
+ age?: number | null | undefined;
1013
+ avatar?: string | null | undefined;
1014
+ birthday?: string | null | undefined;
1015
+ createdAt?: string | null | undefined;
1016
+ description?: string | null | undefined;
1017
+ email?: string | null | undefined;
1018
+ firstName?: string | null | undefined;
1019
+ gender?: string | null | undefined;
1020
+ id?: string | null | undefined;
1021
+ lastName?: string | null | undefined;
1022
+ name?: string | null | undefined;
1023
+ phone?: string | null | undefined;
1024
+ title?: string | null | undefined;
1025
+ username?: string | null | undefined;
1026
+ website?: string | null | undefined;
1027
+ }, {
1028
+ age?: number | null | undefined;
1029
+ avatar?: string | null | undefined;
1030
+ birthday?: string | null | undefined;
1031
+ createdAt?: string | null | undefined;
1032
+ description?: string | null | undefined;
1033
+ email?: string | null | undefined;
1034
+ firstName?: string | null | undefined;
1035
+ gender?: string | null | undefined;
1036
+ id?: string | null | undefined;
1037
+ lastName?: string | null | undefined;
1038
+ name?: string | null | undefined;
1039
+ phone?: string | null | undefined;
1040
+ title?: string | null | undefined;
1041
+ username?: string | null | undefined;
1042
+ website?: string | null | undefined;
1043
+ }>, 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">]>>>;
1044
+ export type UserProperties = z.infer<typeof userPropertiesSchema>;
1045
+ export declare const analyticsUserRawSchema: z.ZodObject<{
1046
+ timestamp: z.ZodString;
1047
+ distinctId: z.ZodString;
1048
+ projectId: z.ZodString;
1049
+ payload: z.ZodString;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ projectId: string;
1052
+ timestamp: string;
1053
+ payload: string;
1054
+ distinctId: string;
1055
+ }, {
1056
+ projectId: string;
1057
+ timestamp: string;
1058
+ payload: string;
1059
+ distinctId: string;
1060
+ }>;
1061
+ export type AnalyticsUserRaw = z.infer<typeof analyticsUserRawSchema>;
1062
+ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1063
+ timestamp: z.ZodString;
1064
+ distinctId: z.ZodString;
1065
+ projectId: z.ZodString;
1066
+ payload: z.ZodString;
1067
+ }, "payload">, "strip", z.ZodTypeAny, {
1068
+ projectId: string;
1069
+ timestamp: string;
1070
+ distinctId: string;
1071
+ }, {
1072
+ projectId: string;
1073
+ timestamp: string;
1074
+ distinctId: string;
1075
+ }>, z.ZodObject<{
1076
+ properties: z.ZodIntersection<z.ZodObject<{
1077
+ age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1078
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
+ birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1080
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1082
+ email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1083
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1084
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1090
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1091
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ age?: number | null | undefined;
1094
+ avatar?: string | null | undefined;
1095
+ birthday?: string | null | undefined;
1096
+ createdAt?: string | null | undefined;
1097
+ description?: string | null | undefined;
1098
+ email?: string | null | undefined;
1099
+ firstName?: string | null | undefined;
1100
+ gender?: string | null | undefined;
1101
+ id?: string | null | undefined;
1102
+ lastName?: string | null | undefined;
1103
+ name?: string | null | undefined;
1104
+ phone?: string | null | undefined;
1105
+ title?: string | null | undefined;
1106
+ username?: string | null | undefined;
1107
+ website?: string | null | undefined;
1108
+ }, {
1109
+ age?: number | null | undefined;
1110
+ avatar?: string | null | undefined;
1111
+ birthday?: string | null | undefined;
1112
+ createdAt?: string | null | undefined;
1113
+ description?: string | null | undefined;
1114
+ email?: string | null | undefined;
1115
+ firstName?: string | null | undefined;
1116
+ gender?: string | null | undefined;
1117
+ id?: string | null | undefined;
1118
+ lastName?: string | null | undefined;
1119
+ name?: string | null | undefined;
1120
+ phone?: string | null | undefined;
1121
+ title?: string | null | undefined;
1122
+ username?: string | null | undefined;
1123
+ website?: string | null | undefined;
1124
+ }>, 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">]>>>;
1125
+ }, "strip", z.ZodTypeAny, {
1126
+ properties: {
1127
+ age?: number | null | undefined;
1128
+ avatar?: string | null | undefined;
1129
+ birthday?: string | null | undefined;
1130
+ createdAt?: string | null | undefined;
1131
+ description?: string | null | undefined;
1132
+ email?: string | null | undefined;
1133
+ firstName?: string | null | undefined;
1134
+ gender?: string | null | undefined;
1135
+ id?: string | null | undefined;
1136
+ lastName?: string | null | undefined;
1137
+ name?: string | null | undefined;
1138
+ phone?: string | null | undefined;
1139
+ title?: string | null | undefined;
1140
+ username?: string | null | undefined;
1141
+ website?: string | null | undefined;
1142
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1143
+ }, {
1144
+ properties: {
1145
+ age?: number | null | undefined;
1146
+ avatar?: string | null | undefined;
1147
+ birthday?: string | null | undefined;
1148
+ createdAt?: string | null | undefined;
1149
+ description?: string | null | undefined;
1150
+ email?: string | null | undefined;
1151
+ firstName?: string | null | undefined;
1152
+ gender?: string | null | undefined;
1153
+ id?: string | null | undefined;
1154
+ lastName?: string | null | undefined;
1155
+ name?: string | null | undefined;
1156
+ phone?: string | null | undefined;
1157
+ title?: string | null | undefined;
1158
+ username?: string | null | undefined;
1159
+ website?: string | null | undefined;
1160
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1161
+ }>>;
1162
+ export type AnalyticsUser = z.infer<typeof analyticsUserSchema>;
1163
+ export declare const listUsersParamsSchema: z.ZodObject<{
1164
+ projectId: z.ZodString;
1165
+ limit: z.ZodOptional<z.ZodNumber>;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ projectId: string;
1168
+ limit?: number | undefined;
1169
+ }, {
1170
+ projectId: string;
1171
+ limit?: number | undefined;
1172
+ }>;
1173
+ export type ListUsersParams = z.infer<typeof listUsersParamsSchema>;
1174
+ export declare const getAnalyticsUserParamsSchema: z.ZodObject<{
1175
+ projectId: z.ZodString;
1176
+ distinctId: z.ZodString;
1177
+ }, "strip", z.ZodTypeAny, {
1178
+ projectId: string;
1179
+ distinctId: string;
1180
+ }, {
1181
+ projectId: string;
1182
+ distinctId: string;
1183
+ }>;
1184
+ export type GetAnalyticsUserParams = z.infer<typeof getAnalyticsUserParamsSchema>;
1185
+ export declare const idenfitySchema: z.ZodObject<{
1186
+ id: z.ZodString;
1187
+ timestamp: z.ZodString;
1188
+ projectId: z.ZodString;
1189
+ distinctId: z.ZodString;
1190
+ anonymousId: z.ZodString;
1191
+ version: z.ZodString;
1192
+ payload: z.ZodIntersection<z.ZodObject<{
1193
+ age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1194
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1195
+ birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1196
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1197
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1198
+ email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1199
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1200
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1201
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1202
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1203
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1204
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1205
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1206
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1207
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1208
+ }, "strip", z.ZodTypeAny, {
1209
+ age?: number | null | undefined;
1210
+ avatar?: string | null | undefined;
1211
+ birthday?: string | null | undefined;
1212
+ createdAt?: string | null | undefined;
1213
+ description?: string | null | undefined;
1214
+ email?: string | null | undefined;
1215
+ firstName?: string | null | undefined;
1216
+ gender?: string | null | undefined;
1217
+ id?: string | null | undefined;
1218
+ lastName?: string | null | undefined;
1219
+ name?: string | null | undefined;
1220
+ phone?: string | null | undefined;
1221
+ title?: string | null | undefined;
1222
+ username?: string | null | undefined;
1223
+ website?: string | null | undefined;
1224
+ }, {
1225
+ age?: number | null | undefined;
1226
+ avatar?: string | null | undefined;
1227
+ birthday?: string | null | undefined;
1228
+ createdAt?: string | null | undefined;
1229
+ description?: string | null | undefined;
1230
+ email?: string | null | undefined;
1231
+ firstName?: string | null | undefined;
1232
+ gender?: string | null | undefined;
1233
+ id?: string | null | undefined;
1234
+ lastName?: string | null | undefined;
1235
+ name?: string | null | undefined;
1236
+ phone?: string | null | undefined;
1237
+ title?: string | null | undefined;
1238
+ username?: string | null | undefined;
1239
+ website?: string | null | undefined;
1240
+ }>, 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">]>>>;
1241
+ options: z.ZodOptional<z.ZodObject<{
1242
+ active: z.ZodOptional<z.ZodBoolean>;
1243
+ }, "strip", z.ZodTypeAny, {
1244
+ active?: boolean | undefined;
1245
+ }, {
1246
+ active?: boolean | undefined;
1247
+ }>>;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ projectId: string;
1250
+ id: string;
1251
+ timestamp: string;
1252
+ anonymousId: string;
1253
+ version: string;
1254
+ payload: {
1255
+ age?: number | null | undefined;
1256
+ avatar?: string | null | undefined;
1257
+ birthday?: string | null | undefined;
1258
+ createdAt?: string | null | undefined;
1259
+ description?: string | null | undefined;
1260
+ email?: string | null | undefined;
1261
+ firstName?: string | null | undefined;
1262
+ gender?: string | null | undefined;
1263
+ id?: string | null | undefined;
1264
+ lastName?: string | null | undefined;
1265
+ name?: string | null | undefined;
1266
+ phone?: string | null | undefined;
1267
+ title?: string | null | undefined;
1268
+ username?: string | null | undefined;
1269
+ website?: string | null | undefined;
1270
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1271
+ distinctId: string;
1272
+ options?: {
1273
+ active?: boolean | undefined;
1274
+ } | undefined;
1275
+ }, {
1276
+ projectId: string;
1277
+ id: string;
1278
+ timestamp: string;
1279
+ anonymousId: string;
1280
+ version: string;
1281
+ payload: {
1282
+ age?: number | null | undefined;
1283
+ avatar?: string | null | undefined;
1284
+ birthday?: string | null | undefined;
1285
+ createdAt?: string | null | undefined;
1286
+ description?: string | null | undefined;
1287
+ email?: string | null | undefined;
1288
+ firstName?: string | null | undefined;
1289
+ gender?: string | null | undefined;
1290
+ id?: string | null | undefined;
1291
+ lastName?: string | null | undefined;
1292
+ name?: string | null | undefined;
1293
+ phone?: string | null | undefined;
1294
+ title?: string | null | undefined;
1295
+ username?: string | null | undefined;
1296
+ website?: string | null | undefined;
1297
+ } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1298
+ distinctId: string;
1299
+ options?: {
1300
+ active?: boolean | undefined;
1301
+ } | undefined;
1302
+ }>;
1303
+ export type Identify = z.infer<typeof idenfitySchema>;