saasco-sdk 0.1.19 → 0.1.21

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.
@@ -1,1971 +0,0 @@
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 TinybirdJobResponseSchema: z.ZodObject<{
54
- id: z.ZodString;
55
- job_id: z.ZodString;
56
- job_url: z.ZodString;
57
- job: z.ZodObject<{
58
- kind: z.ZodString;
59
- id: z.ZodString;
60
- job_id: z.ZodString;
61
- status: z.ZodString;
62
- created_at: z.ZodString;
63
- updated_at: z.ZodString;
64
- started_at: z.ZodNullable<z.ZodString>;
65
- is_cancellable: z.ZodBoolean;
66
- datasource: z.ZodObject<{
67
- id: z.ZodString;
68
- name: z.ZodString;
69
- }, "strip", z.ZodTypeAny, {
70
- name: string;
71
- id: string;
72
- }, {
73
- name: string;
74
- id: string;
75
- }>;
76
- delete_condition: z.ZodOptional<z.ZodString>;
77
- }, "strip", z.ZodTypeAny, {
78
- status: string;
79
- id: string;
80
- job_id: string;
81
- kind: string;
82
- created_at: string;
83
- updated_at: string;
84
- started_at: string | null;
85
- is_cancellable: boolean;
86
- datasource: {
87
- name: string;
88
- id: string;
89
- };
90
- delete_condition?: string | undefined;
91
- }, {
92
- status: string;
93
- id: string;
94
- job_id: string;
95
- kind: string;
96
- created_at: string;
97
- updated_at: string;
98
- started_at: string | null;
99
- is_cancellable: boolean;
100
- datasource: {
101
- name: string;
102
- id: string;
103
- };
104
- delete_condition?: string | undefined;
105
- }>;
106
- status: z.ZodString;
107
- delete_id: z.ZodOptional<z.ZodString>;
108
- import_id: z.ZodOptional<z.ZodString>;
109
- }, "strip", z.ZodTypeAny, {
110
- status: string;
111
- id: string;
112
- job_id: string;
113
- job_url: string;
114
- job: {
115
- status: string;
116
- id: string;
117
- job_id: string;
118
- kind: string;
119
- created_at: string;
120
- updated_at: string;
121
- started_at: string | null;
122
- is_cancellable: boolean;
123
- datasource: {
124
- name: string;
125
- id: string;
126
- };
127
- delete_condition?: string | undefined;
128
- };
129
- delete_id?: string | undefined;
130
- import_id?: string | undefined;
131
- }, {
132
- status: string;
133
- id: string;
134
- job_id: string;
135
- job_url: string;
136
- job: {
137
- status: string;
138
- id: string;
139
- job_id: string;
140
- kind: string;
141
- created_at: string;
142
- updated_at: string;
143
- started_at: string | null;
144
- is_cancellable: boolean;
145
- datasource: {
146
- name: string;
147
- id: string;
148
- };
149
- delete_condition?: string | undefined;
150
- };
151
- delete_id?: string | undefined;
152
- import_id?: string | undefined;
153
- }>;
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
- distinctId: z.ZodOptional<z.ZodString>;
160
- action: z.ZodOptional<z.ZodString>;
161
- }, "strip", z.ZodTypeAny, {
162
- projectId: string;
163
- limit?: number | undefined;
164
- payload?: boolean | undefined;
165
- distinctId?: string | undefined;
166
- action?: string | undefined;
167
- }, {
168
- projectId: string;
169
- limit?: number | undefined;
170
- payload?: boolean | undefined;
171
- distinctId?: string | undefined;
172
- action?: string | undefined;
173
- }>;
174
- export type LatestEventsRequest = z.infer<typeof latestEventsRequestSchema>;
175
- export declare const latestEventItemSchema: z.ZodObject<{
176
- id: z.ZodString;
177
- timestamp: z.ZodString;
178
- action: z.ZodString;
179
- location: z.ZodString;
180
- referrer: z.ZodString;
181
- href: z.ZodString;
182
- device: z.ZodString;
183
- browser: z.ZodString;
184
- payload: z.ZodOptional<z.ZodString>;
185
- distinctId: z.ZodOptional<z.ZodString>;
186
- unique: z.ZodOptional<z.ZodBoolean>;
187
- }, "strip", z.ZodTypeAny, {
188
- id: string;
189
- action: string;
190
- timestamp: string;
191
- location: string;
192
- referrer: string;
193
- href: string;
194
- device: string;
195
- browser: string;
196
- payload?: string | undefined;
197
- distinctId?: string | undefined;
198
- unique?: boolean | undefined;
199
- }, {
200
- id: string;
201
- action: string;
202
- timestamp: string;
203
- location: string;
204
- referrer: string;
205
- href: string;
206
- device: string;
207
- browser: string;
208
- payload?: string | undefined;
209
- distinctId?: string | undefined;
210
- unique?: boolean | undefined;
211
- }>;
212
- export type LatestEventItem = z.infer<typeof latestEventItemSchema>;
213
- export declare const latestEventsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
214
- meta: z.ZodArray<z.ZodObject<{
215
- name: z.ZodString;
216
- type: z.ZodString;
217
- }, "strip", z.ZodTypeAny, {
218
- type: string;
219
- name: string;
220
- }, {
221
- type: string;
222
- name: string;
223
- }>, "many">;
224
- statistics: z.ZodObject<{
225
- elapsed: z.ZodNumber;
226
- rows_read: z.ZodNumber;
227
- bytes_read: z.ZodNumber;
228
- }, "strip", z.ZodTypeAny, {
229
- elapsed: number;
230
- rows_read: number;
231
- bytes_read: number;
232
- }, {
233
- elapsed: number;
234
- rows_read: number;
235
- bytes_read: number;
236
- }>;
237
- rows: z.ZodNumber;
238
- }, {
239
- data: z.ZodArray<z.ZodObject<{
240
- id: z.ZodString;
241
- timestamp: z.ZodString;
242
- action: z.ZodString;
243
- location: z.ZodString;
244
- referrer: z.ZodString;
245
- href: z.ZodString;
246
- device: z.ZodString;
247
- browser: z.ZodString;
248
- payload: z.ZodOptional<z.ZodString>;
249
- distinctId: z.ZodOptional<z.ZodString>;
250
- unique: z.ZodOptional<z.ZodBoolean>;
251
- }, "strip", z.ZodTypeAny, {
252
- id: string;
253
- action: string;
254
- timestamp: string;
255
- location: string;
256
- referrer: string;
257
- href: string;
258
- device: string;
259
- browser: string;
260
- payload?: string | undefined;
261
- distinctId?: string | undefined;
262
- unique?: boolean | undefined;
263
- }, {
264
- id: string;
265
- action: string;
266
- timestamp: string;
267
- location: string;
268
- referrer: string;
269
- href: string;
270
- device: string;
271
- browser: string;
272
- payload?: string | undefined;
273
- distinctId?: string | undefined;
274
- unique?: boolean | undefined;
275
- }>, "many">;
276
- }>, "strip", z.ZodTypeAny, {
277
- meta: {
278
- type: string;
279
- name: string;
280
- }[];
281
- statistics: {
282
- elapsed: number;
283
- rows_read: number;
284
- bytes_read: number;
285
- };
286
- rows: number;
287
- data: {
288
- id: string;
289
- action: string;
290
- timestamp: string;
291
- location: string;
292
- referrer: string;
293
- href: string;
294
- device: string;
295
- browser: string;
296
- payload?: string | undefined;
297
- distinctId?: string | undefined;
298
- unique?: boolean | undefined;
299
- }[];
300
- }, {
301
- meta: {
302
- type: string;
303
- name: string;
304
- }[];
305
- statistics: {
306
- elapsed: number;
307
- rows_read: number;
308
- bytes_read: number;
309
- };
310
- rows: number;
311
- data: {
312
- id: string;
313
- action: string;
314
- timestamp: string;
315
- location: string;
316
- referrer: string;
317
- href: string;
318
- device: string;
319
- browser: string;
320
- payload?: string | undefined;
321
- distinctId?: string | undefined;
322
- unique?: boolean | undefined;
323
- }[];
324
- }>;
325
- export type LatestEventsResponse = z.infer<typeof latestEventsResponseSchema>;
326
- export declare const kpisRequestSchema: z.ZodObject<{
327
- projectId: z.ZodString;
328
- dateTo: z.ZodOptional<z.ZodString>;
329
- dateFrom: z.ZodOptional<z.ZodString>;
330
- referrer: z.ZodOptional<z.ZodString>;
331
- location: z.ZodOptional<z.ZodString>;
332
- }, "strip", z.ZodTypeAny, {
333
- projectId: string;
334
- location?: string | undefined;
335
- referrer?: string | undefined;
336
- dateTo?: string | undefined;
337
- dateFrom?: string | undefined;
338
- }, {
339
- projectId: string;
340
- location?: string | undefined;
341
- referrer?: string | undefined;
342
- dateTo?: string | undefined;
343
- dateFrom?: string | undefined;
344
- }>;
345
- export type KpisRequest = z.infer<typeof kpisRequestSchema>;
346
- export declare const kpiSchema: z.ZodObject<{
347
- date: z.ZodString;
348
- users: z.ZodNumber;
349
- sessions: z.ZodNumber;
350
- pageViews: z.ZodNumber;
351
- events: z.ZodNumber;
352
- bounceRate: z.ZodNullable<z.ZodNumber>;
353
- avgSessionSec: z.ZodNumber;
354
- }, "strip", z.ZodTypeAny, {
355
- date: string;
356
- users: number;
357
- sessions: number;
358
- pageViews: number;
359
- events: number;
360
- bounceRate: number | null;
361
- avgSessionSec: number;
362
- }, {
363
- date: string;
364
- users: number;
365
- sessions: number;
366
- pageViews: number;
367
- events: number;
368
- bounceRate: number | null;
369
- avgSessionSec: number;
370
- }>;
371
- export type Kpi = z.infer<typeof kpiSchema>;
372
- export declare const kpisResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
373
- meta: z.ZodArray<z.ZodObject<{
374
- name: z.ZodString;
375
- type: z.ZodString;
376
- }, "strip", z.ZodTypeAny, {
377
- type: string;
378
- name: string;
379
- }, {
380
- type: string;
381
- name: string;
382
- }>, "many">;
383
- statistics: z.ZodObject<{
384
- elapsed: z.ZodNumber;
385
- rows_read: z.ZodNumber;
386
- bytes_read: z.ZodNumber;
387
- }, "strip", z.ZodTypeAny, {
388
- elapsed: number;
389
- rows_read: number;
390
- bytes_read: number;
391
- }, {
392
- elapsed: number;
393
- rows_read: number;
394
- bytes_read: number;
395
- }>;
396
- rows: z.ZodNumber;
397
- }, {
398
- data: z.ZodArray<z.ZodObject<{
399
- date: z.ZodString;
400
- users: z.ZodNumber;
401
- sessions: z.ZodNumber;
402
- pageViews: z.ZodNumber;
403
- events: z.ZodNumber;
404
- bounceRate: z.ZodNullable<z.ZodNumber>;
405
- avgSessionSec: z.ZodNumber;
406
- }, "strip", z.ZodTypeAny, {
407
- date: string;
408
- users: number;
409
- sessions: number;
410
- pageViews: number;
411
- events: number;
412
- bounceRate: number | null;
413
- avgSessionSec: number;
414
- }, {
415
- date: string;
416
- users: number;
417
- sessions: number;
418
- pageViews: number;
419
- events: number;
420
- bounceRate: number | null;
421
- avgSessionSec: number;
422
- }>, "many">;
423
- }>, "strip", z.ZodTypeAny, {
424
- meta: {
425
- type: string;
426
- name: string;
427
- }[];
428
- statistics: {
429
- elapsed: number;
430
- rows_read: number;
431
- bytes_read: number;
432
- };
433
- rows: number;
434
- data: {
435
- date: string;
436
- users: number;
437
- sessions: number;
438
- pageViews: number;
439
- events: number;
440
- bounceRate: number | null;
441
- avgSessionSec: number;
442
- }[];
443
- }, {
444
- meta: {
445
- type: string;
446
- name: string;
447
- }[];
448
- statistics: {
449
- elapsed: number;
450
- rows_read: number;
451
- bytes_read: number;
452
- };
453
- rows: number;
454
- data: {
455
- date: string;
456
- users: number;
457
- sessions: number;
458
- pageViews: number;
459
- events: number;
460
- bounceRate: number | null;
461
- avgSessionSec: number;
462
- }[];
463
- }>;
464
- export type KpisResponse = z.infer<typeof kpisResponseSchema>;
465
- export declare const baseTopRequestSchema: z.ZodObject<{
466
- projectId: z.ZodString;
467
- dateTo: z.ZodOptional<z.ZodString>;
468
- dateFrom: z.ZodOptional<z.ZodString>;
469
- limit: z.ZodOptional<z.ZodNumber>;
470
- skip: z.ZodOptional<z.ZodNumber>;
471
- referrer: z.ZodOptional<z.ZodString>;
472
- location: z.ZodOptional<z.ZodString>;
473
- }, "strip", z.ZodTypeAny, {
474
- projectId: string;
475
- limit?: number | undefined;
476
- location?: string | undefined;
477
- referrer?: string | undefined;
478
- dateTo?: string | undefined;
479
- dateFrom?: string | undefined;
480
- skip?: number | undefined;
481
- }, {
482
- projectId: string;
483
- limit?: number | undefined;
484
- location?: string | undefined;
485
- referrer?: string | undefined;
486
- dateTo?: string | undefined;
487
- dateFrom?: string | undefined;
488
- skip?: number | undefined;
489
- }>;
490
- export type BaseTopRequest = z.infer<typeof baseTopRequestSchema>;
491
- export declare const topPagesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
492
- meta: z.ZodArray<z.ZodObject<{
493
- name: z.ZodString;
494
- type: z.ZodString;
495
- }, "strip", z.ZodTypeAny, {
496
- type: string;
497
- name: string;
498
- }, {
499
- type: string;
500
- name: string;
501
- }>, "many">;
502
- statistics: z.ZodObject<{
503
- elapsed: z.ZodNumber;
504
- rows_read: z.ZodNumber;
505
- bytes_read: z.ZodNumber;
506
- }, "strip", z.ZodTypeAny, {
507
- elapsed: number;
508
- rows_read: number;
509
- bytes_read: number;
510
- }, {
511
- elapsed: number;
512
- rows_read: number;
513
- bytes_read: number;
514
- }>;
515
- rows: z.ZodNumber;
516
- }, {
517
- data: z.ZodArray<z.ZodObject<{
518
- pathname: z.ZodString;
519
- users: z.ZodNumber;
520
- events: z.ZodNumber;
521
- }, "strip", z.ZodTypeAny, {
522
- users: number;
523
- events: number;
524
- pathname: string;
525
- }, {
526
- users: number;
527
- events: number;
528
- pathname: string;
529
- }>, "many">;
530
- }>, "strip", z.ZodTypeAny, {
531
- meta: {
532
- type: string;
533
- name: string;
534
- }[];
535
- statistics: {
536
- elapsed: number;
537
- rows_read: number;
538
- bytes_read: number;
539
- };
540
- rows: number;
541
- data: {
542
- users: number;
543
- events: number;
544
- pathname: string;
545
- }[];
546
- }, {
547
- meta: {
548
- type: string;
549
- name: string;
550
- }[];
551
- statistics: {
552
- elapsed: number;
553
- rows_read: number;
554
- bytes_read: number;
555
- };
556
- rows: number;
557
- data: {
558
- users: number;
559
- events: number;
560
- pathname: string;
561
- }[];
562
- }>;
563
- export type TopPagesResponse = z.infer<typeof topPagesResponseSchema>;
564
- export declare const topLocationsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
565
- meta: z.ZodArray<z.ZodObject<{
566
- name: z.ZodString;
567
- type: z.ZodString;
568
- }, "strip", z.ZodTypeAny, {
569
- type: string;
570
- name: string;
571
- }, {
572
- type: string;
573
- name: string;
574
- }>, "many">;
575
- statistics: z.ZodObject<{
576
- elapsed: z.ZodNumber;
577
- rows_read: z.ZodNumber;
578
- bytes_read: z.ZodNumber;
579
- }, "strip", z.ZodTypeAny, {
580
- elapsed: number;
581
- rows_read: number;
582
- bytes_read: number;
583
- }, {
584
- elapsed: number;
585
- rows_read: number;
586
- bytes_read: number;
587
- }>;
588
- rows: z.ZodNumber;
589
- }, {
590
- data: z.ZodArray<z.ZodObject<{
591
- location: z.ZodString;
592
- users: z.ZodNumber;
593
- sessions: z.ZodNumber;
594
- pageViews: z.ZodNumber;
595
- bounceRate: z.ZodNullable<z.ZodNumber>;
596
- avgSessionSec: z.ZodNumber;
597
- }, "strip", z.ZodTypeAny, {
598
- location: string;
599
- users: number;
600
- sessions: number;
601
- pageViews: number;
602
- bounceRate: number | null;
603
- avgSessionSec: number;
604
- }, {
605
- location: string;
606
- users: number;
607
- sessions: number;
608
- pageViews: number;
609
- bounceRate: number | null;
610
- avgSessionSec: number;
611
- }>, "many">;
612
- }>, "strip", z.ZodTypeAny, {
613
- meta: {
614
- type: string;
615
- name: string;
616
- }[];
617
- statistics: {
618
- elapsed: number;
619
- rows_read: number;
620
- bytes_read: number;
621
- };
622
- rows: number;
623
- data: {
624
- location: string;
625
- users: number;
626
- sessions: number;
627
- pageViews: number;
628
- bounceRate: number | null;
629
- avgSessionSec: number;
630
- }[];
631
- }, {
632
- meta: {
633
- type: string;
634
- name: string;
635
- }[];
636
- statistics: {
637
- elapsed: number;
638
- rows_read: number;
639
- bytes_read: number;
640
- };
641
- rows: number;
642
- data: {
643
- location: string;
644
- users: number;
645
- sessions: number;
646
- pageViews: number;
647
- bounceRate: number | null;
648
- avgSessionSec: number;
649
- }[];
650
- }>;
651
- export type TopLocationsResponse = z.infer<typeof topLocationsResponseSchema>;
652
- export declare const topDevicesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
653
- meta: z.ZodArray<z.ZodObject<{
654
- name: z.ZodString;
655
- type: z.ZodString;
656
- }, "strip", z.ZodTypeAny, {
657
- type: string;
658
- name: string;
659
- }, {
660
- type: string;
661
- name: string;
662
- }>, "many">;
663
- statistics: z.ZodObject<{
664
- elapsed: z.ZodNumber;
665
- rows_read: z.ZodNumber;
666
- bytes_read: z.ZodNumber;
667
- }, "strip", z.ZodTypeAny, {
668
- elapsed: number;
669
- rows_read: number;
670
- bytes_read: number;
671
- }, {
672
- elapsed: number;
673
- rows_read: number;
674
- bytes_read: number;
675
- }>;
676
- rows: z.ZodNumber;
677
- }, {
678
- data: z.ZodArray<z.ZodObject<{
679
- device: z.ZodString;
680
- visits: z.ZodNumber;
681
- hits: z.ZodNumber;
682
- bounceRate: z.ZodNullable<z.ZodNumber>;
683
- avgSessionSec: z.ZodNumber;
684
- }, "strip", z.ZodTypeAny, {
685
- device: string;
686
- bounceRate: number | null;
687
- avgSessionSec: number;
688
- visits: number;
689
- hits: number;
690
- }, {
691
- device: string;
692
- bounceRate: number | null;
693
- avgSessionSec: number;
694
- visits: number;
695
- hits: number;
696
- }>, "many">;
697
- }>, "strip", z.ZodTypeAny, {
698
- meta: {
699
- type: string;
700
- name: string;
701
- }[];
702
- statistics: {
703
- elapsed: number;
704
- rows_read: number;
705
- bytes_read: number;
706
- };
707
- rows: number;
708
- data: {
709
- device: string;
710
- bounceRate: number | null;
711
- avgSessionSec: number;
712
- visits: number;
713
- hits: number;
714
- }[];
715
- }, {
716
- meta: {
717
- type: string;
718
- name: string;
719
- }[];
720
- statistics: {
721
- elapsed: number;
722
- rows_read: number;
723
- bytes_read: number;
724
- };
725
- rows: number;
726
- data: {
727
- device: string;
728
- bounceRate: number | null;
729
- avgSessionSec: number;
730
- visits: number;
731
- hits: number;
732
- }[];
733
- }>;
734
- export type TopDevicesResponse = z.infer<typeof topDevicesResponseSchema>;
735
- export declare const topBrowsersResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
736
- meta: z.ZodArray<z.ZodObject<{
737
- name: z.ZodString;
738
- type: z.ZodString;
739
- }, "strip", z.ZodTypeAny, {
740
- type: string;
741
- name: string;
742
- }, {
743
- type: string;
744
- name: string;
745
- }>, "many">;
746
- statistics: z.ZodObject<{
747
- elapsed: z.ZodNumber;
748
- rows_read: z.ZodNumber;
749
- bytes_read: z.ZodNumber;
750
- }, "strip", z.ZodTypeAny, {
751
- elapsed: number;
752
- rows_read: number;
753
- bytes_read: number;
754
- }, {
755
- elapsed: number;
756
- rows_read: number;
757
- bytes_read: number;
758
- }>;
759
- rows: z.ZodNumber;
760
- }, {
761
- data: z.ZodArray<z.ZodObject<{
762
- browser: z.ZodString;
763
- visits: z.ZodNumber;
764
- hits: z.ZodNumber;
765
- bounceRate: z.ZodNullable<z.ZodNumber>;
766
- avgSessionSec: z.ZodNumber;
767
- }, "strip", z.ZodTypeAny, {
768
- browser: string;
769
- bounceRate: number | null;
770
- avgSessionSec: number;
771
- visits: number;
772
- hits: number;
773
- }, {
774
- browser: string;
775
- bounceRate: number | null;
776
- avgSessionSec: number;
777
- visits: number;
778
- hits: number;
779
- }>, "many">;
780
- }>, "strip", z.ZodTypeAny, {
781
- meta: {
782
- type: string;
783
- name: string;
784
- }[];
785
- statistics: {
786
- elapsed: number;
787
- rows_read: number;
788
- bytes_read: number;
789
- };
790
- rows: number;
791
- data: {
792
- browser: string;
793
- bounceRate: number | null;
794
- avgSessionSec: number;
795
- visits: number;
796
- hits: number;
797
- }[];
798
- }, {
799
- meta: {
800
- type: string;
801
- name: string;
802
- }[];
803
- statistics: {
804
- elapsed: number;
805
- rows_read: number;
806
- bytes_read: number;
807
- };
808
- rows: number;
809
- data: {
810
- browser: string;
811
- bounceRate: number | null;
812
- avgSessionSec: number;
813
- visits: number;
814
- hits: number;
815
- }[];
816
- }>;
817
- export type TopBrowsersResponse = z.infer<typeof topBrowsersResponseSchema>;
818
- export declare const topSourcesSchema: z.ZodObject<{
819
- referrer: z.ZodString;
820
- users: z.ZodNumber;
821
- sessions: z.ZodNumber;
822
- pageViews: z.ZodNumber;
823
- bounceRate: z.ZodNullable<z.ZodNumber>;
824
- avgSessionSec: z.ZodNumber;
825
- }, "strip", z.ZodTypeAny, {
826
- referrer: string;
827
- users: number;
828
- sessions: number;
829
- pageViews: number;
830
- bounceRate: number | null;
831
- avgSessionSec: number;
832
- }, {
833
- referrer: string;
834
- users: number;
835
- sessions: number;
836
- pageViews: number;
837
- bounceRate: number | null;
838
- avgSessionSec: number;
839
- }>;
840
- export type TopSources = z.infer<typeof topSourcesSchema>;
841
- export declare const topSourcesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
842
- meta: z.ZodArray<z.ZodObject<{
843
- name: z.ZodString;
844
- type: z.ZodString;
845
- }, "strip", z.ZodTypeAny, {
846
- type: string;
847
- name: string;
848
- }, {
849
- type: string;
850
- name: string;
851
- }>, "many">;
852
- statistics: z.ZodObject<{
853
- elapsed: z.ZodNumber;
854
- rows_read: z.ZodNumber;
855
- bytes_read: z.ZodNumber;
856
- }, "strip", z.ZodTypeAny, {
857
- elapsed: number;
858
- rows_read: number;
859
- bytes_read: number;
860
- }, {
861
- elapsed: number;
862
- rows_read: number;
863
- bytes_read: number;
864
- }>;
865
- rows: z.ZodNumber;
866
- }, {
867
- data: z.ZodArray<z.ZodObject<{
868
- referrer: z.ZodString;
869
- users: z.ZodNumber;
870
- sessions: z.ZodNumber;
871
- pageViews: z.ZodNumber;
872
- bounceRate: z.ZodNullable<z.ZodNumber>;
873
- avgSessionSec: z.ZodNumber;
874
- }, "strip", z.ZodTypeAny, {
875
- referrer: string;
876
- users: number;
877
- sessions: number;
878
- pageViews: number;
879
- bounceRate: number | null;
880
- avgSessionSec: number;
881
- }, {
882
- referrer: string;
883
- users: number;
884
- sessions: number;
885
- pageViews: number;
886
- bounceRate: number | null;
887
- avgSessionSec: number;
888
- }>, "many">;
889
- }>, "strip", z.ZodTypeAny, {
890
- meta: {
891
- type: string;
892
- name: string;
893
- }[];
894
- statistics: {
895
- elapsed: number;
896
- rows_read: number;
897
- bytes_read: number;
898
- };
899
- rows: number;
900
- data: {
901
- referrer: string;
902
- users: number;
903
- sessions: number;
904
- pageViews: number;
905
- bounceRate: number | null;
906
- avgSessionSec: number;
907
- }[];
908
- }, {
909
- meta: {
910
- type: string;
911
- name: string;
912
- }[];
913
- statistics: {
914
- elapsed: number;
915
- rows_read: number;
916
- bytes_read: number;
917
- };
918
- rows: number;
919
- data: {
920
- referrer: string;
921
- users: number;
922
- sessions: number;
923
- pageViews: number;
924
- bounceRate: number | null;
925
- avgSessionSec: number;
926
- }[];
927
- }>;
928
- export type TopSourcesResponse = z.infer<typeof topSourcesResponseSchema>;
929
- export declare const topActionsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
930
- meta: z.ZodArray<z.ZodObject<{
931
- name: z.ZodString;
932
- type: z.ZodString;
933
- }, "strip", z.ZodTypeAny, {
934
- type: string;
935
- name: string;
936
- }, {
937
- type: string;
938
- name: string;
939
- }>, "many">;
940
- statistics: z.ZodObject<{
941
- elapsed: z.ZodNumber;
942
- rows_read: z.ZodNumber;
943
- bytes_read: z.ZodNumber;
944
- }, "strip", z.ZodTypeAny, {
945
- elapsed: number;
946
- rows_read: number;
947
- bytes_read: number;
948
- }, {
949
- elapsed: number;
950
- rows_read: number;
951
- bytes_read: number;
952
- }>;
953
- rows: z.ZodNumber;
954
- }, {
955
- data: z.ZodArray<z.ZodObject<{
956
- action: z.ZodString;
957
- users: z.ZodNumber;
958
- events: z.ZodNumber;
959
- }, "strip", z.ZodTypeAny, {
960
- action: string;
961
- users: number;
962
- events: number;
963
- }, {
964
- action: string;
965
- users: number;
966
- events: number;
967
- }>, "many">;
968
- }>, "strip", z.ZodTypeAny, {
969
- meta: {
970
- type: string;
971
- name: string;
972
- }[];
973
- statistics: {
974
- elapsed: number;
975
- rows_read: number;
976
- bytes_read: number;
977
- };
978
- rows: number;
979
- data: {
980
- action: string;
981
- users: number;
982
- events: number;
983
- }[];
984
- }, {
985
- meta: {
986
- type: string;
987
- name: string;
988
- }[];
989
- statistics: {
990
- elapsed: number;
991
- rows_read: number;
992
- bytes_read: number;
993
- };
994
- rows: number;
995
- data: {
996
- action: string;
997
- users: number;
998
- events: number;
999
- }[];
1000
- }>;
1001
- export type TopActionsResponse = z.infer<typeof topActionsResponseSchema>;
1002
- export declare const analyticsEventSchema: z.ZodObject<{
1003
- id: z.ZodString;
1004
- timestamp: z.ZodString;
1005
- projectId: z.ZodString;
1006
- anonymousId: z.ZodString;
1007
- sessionId: z.ZodString;
1008
- distinctId: z.ZodNullable<z.ZodString>;
1009
- version: z.ZodString;
1010
- action: z.ZodString;
1011
- payload: z.ZodString;
1012
- }, "strip", z.ZodTypeAny, {
1013
- id: string;
1014
- projectId: string;
1015
- payload: string;
1016
- distinctId: string | null;
1017
- action: string;
1018
- timestamp: string;
1019
- anonymousId: string;
1020
- sessionId: string;
1021
- version: string;
1022
- }, {
1023
- id: string;
1024
- projectId: string;
1025
- payload: string;
1026
- distinctId: string | null;
1027
- action: string;
1028
- timestamp: string;
1029
- anonymousId: string;
1030
- sessionId: string;
1031
- version: string;
1032
- }>;
1033
- export type AnalyticsEvent = z.infer<typeof analyticsEventSchema>;
1034
- export declare const userEventsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1035
- meta: z.ZodArray<z.ZodObject<{
1036
- name: z.ZodString;
1037
- type: z.ZodString;
1038
- }, "strip", z.ZodTypeAny, {
1039
- type: string;
1040
- name: string;
1041
- }, {
1042
- type: string;
1043
- name: string;
1044
- }>, "many">;
1045
- statistics: z.ZodObject<{
1046
- elapsed: z.ZodNumber;
1047
- rows_read: z.ZodNumber;
1048
- bytes_read: z.ZodNumber;
1049
- }, "strip", z.ZodTypeAny, {
1050
- elapsed: number;
1051
- rows_read: number;
1052
- bytes_read: number;
1053
- }, {
1054
- elapsed: number;
1055
- rows_read: number;
1056
- bytes_read: number;
1057
- }>;
1058
- rows: z.ZodNumber;
1059
- }, {
1060
- data: z.ZodArray<z.ZodObject<{
1061
- id: z.ZodString;
1062
- timestamp: z.ZodString;
1063
- projectId: z.ZodString;
1064
- anonymousId: z.ZodString;
1065
- sessionId: z.ZodString;
1066
- distinctId: z.ZodNullable<z.ZodString>;
1067
- version: z.ZodString;
1068
- action: z.ZodString;
1069
- payload: z.ZodString;
1070
- }, "strip", z.ZodTypeAny, {
1071
- id: string;
1072
- projectId: string;
1073
- payload: string;
1074
- distinctId: string | null;
1075
- action: string;
1076
- timestamp: string;
1077
- anonymousId: string;
1078
- sessionId: string;
1079
- version: string;
1080
- }, {
1081
- id: string;
1082
- projectId: string;
1083
- payload: string;
1084
- distinctId: string | null;
1085
- action: string;
1086
- timestamp: string;
1087
- anonymousId: string;
1088
- sessionId: string;
1089
- version: string;
1090
- }>, "many">;
1091
- }>, "strip", z.ZodTypeAny, {
1092
- meta: {
1093
- type: string;
1094
- name: string;
1095
- }[];
1096
- statistics: {
1097
- elapsed: number;
1098
- rows_read: number;
1099
- bytes_read: number;
1100
- };
1101
- rows: number;
1102
- data: {
1103
- id: string;
1104
- projectId: string;
1105
- payload: string;
1106
- distinctId: string | null;
1107
- action: string;
1108
- timestamp: string;
1109
- anonymousId: string;
1110
- sessionId: string;
1111
- version: string;
1112
- }[];
1113
- }, {
1114
- meta: {
1115
- type: string;
1116
- name: string;
1117
- }[];
1118
- statistics: {
1119
- elapsed: number;
1120
- rows_read: number;
1121
- bytes_read: number;
1122
- };
1123
- rows: number;
1124
- data: {
1125
- id: string;
1126
- projectId: string;
1127
- payload: string;
1128
- distinctId: string | null;
1129
- action: string;
1130
- timestamp: string;
1131
- anonymousId: string;
1132
- sessionId: string;
1133
- version: string;
1134
- }[];
1135
- }>;
1136
- export type UserEventsResponse = z.infer<typeof userEventsResponseSchema>;
1137
- export declare const currentUsersRequestSchema: z.ZodObject<{
1138
- projectId: z.ZodString;
1139
- minutes: z.ZodNumber;
1140
- referrer: z.ZodOptional<z.ZodString>;
1141
- location: z.ZodOptional<z.ZodString>;
1142
- }, "strip", z.ZodTypeAny, {
1143
- projectId: string;
1144
- minutes: number;
1145
- location?: string | undefined;
1146
- referrer?: string | undefined;
1147
- }, {
1148
- projectId: string;
1149
- minutes: number;
1150
- location?: string | undefined;
1151
- referrer?: string | undefined;
1152
- }>;
1153
- export type CurrentUsersRequest = z.infer<typeof currentUsersRequestSchema>;
1154
- export declare const currentUsersResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1155
- meta: z.ZodArray<z.ZodObject<{
1156
- name: z.ZodString;
1157
- type: z.ZodString;
1158
- }, "strip", z.ZodTypeAny, {
1159
- type: string;
1160
- name: string;
1161
- }, {
1162
- type: string;
1163
- name: string;
1164
- }>, "many">;
1165
- statistics: z.ZodObject<{
1166
- elapsed: z.ZodNumber;
1167
- rows_read: z.ZodNumber;
1168
- bytes_read: z.ZodNumber;
1169
- }, "strip", z.ZodTypeAny, {
1170
- elapsed: number;
1171
- rows_read: number;
1172
- bytes_read: number;
1173
- }, {
1174
- elapsed: number;
1175
- rows_read: number;
1176
- bytes_read: number;
1177
- }>;
1178
- rows: z.ZodNumber;
1179
- }, {
1180
- data: z.ZodArray<z.ZodObject<{
1181
- visits: z.ZodNumber;
1182
- }, "strip", z.ZodTypeAny, {
1183
- visits: number;
1184
- }, {
1185
- visits: number;
1186
- }>, "many">;
1187
- }>, "strip", z.ZodTypeAny, {
1188
- meta: {
1189
- type: string;
1190
- name: string;
1191
- }[];
1192
- statistics: {
1193
- elapsed: number;
1194
- rows_read: number;
1195
- bytes_read: number;
1196
- };
1197
- rows: number;
1198
- data: {
1199
- visits: number;
1200
- }[];
1201
- }, {
1202
- meta: {
1203
- type: string;
1204
- name: string;
1205
- }[];
1206
- statistics: {
1207
- elapsed: number;
1208
- rows_read: number;
1209
- bytes_read: number;
1210
- };
1211
- rows: number;
1212
- data: {
1213
- visits: number;
1214
- }[];
1215
- }>;
1216
- export type CurrentUsersResponse = z.infer<typeof currentUsersResponseSchema>;
1217
- export declare const reservedPropertiesSchema: z.ZodObject<{
1218
- age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1219
- avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1220
- birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1221
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1222
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1223
- email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1224
- firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1225
- gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1226
- id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1227
- lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1228
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1229
- phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1230
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
- username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1232
- website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1233
- $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1234
- $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1235
- $lastIdentifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1236
- $unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1237
- $unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
1238
- $stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1239
- $stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1240
- $stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1241
- $_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1242
- }, "strip", z.ZodTypeAny, {
1243
- name?: string | null | undefined;
1244
- id?: string | null | undefined;
1245
- age?: number | null | undefined;
1246
- avatar?: string | null | undefined;
1247
- birthday?: string | null | undefined;
1248
- createdAt?: string | null | undefined;
1249
- description?: string | null | undefined;
1250
- email?: string | null | undefined;
1251
- firstName?: string | null | undefined;
1252
- gender?: string | null | undefined;
1253
- lastName?: string | null | undefined;
1254
- phone?: string | null | undefined;
1255
- title?: string | null | undefined;
1256
- username?: string | null | undefined;
1257
- website?: string | null | undefined;
1258
- $id?: string | null | undefined;
1259
- $lastSeen?: string | null | undefined;
1260
- $lastIdentifiedAt?: string | null | undefined;
1261
- $unsubscribed?: boolean | null | undefined;
1262
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1263
- $stripeCustomerId?: string | null | undefined;
1264
- $stripeTotalPayments?: string | number | null | undefined;
1265
- $stripeTotalSpent?: string | number | null | undefined;
1266
- $_toDelete?: boolean | null | undefined;
1267
- }, {
1268
- name?: string | null | undefined;
1269
- id?: string | null | undefined;
1270
- age?: number | null | undefined;
1271
- avatar?: string | null | undefined;
1272
- birthday?: string | null | undefined;
1273
- createdAt?: string | null | undefined;
1274
- description?: string | null | undefined;
1275
- email?: string | null | undefined;
1276
- firstName?: string | null | undefined;
1277
- gender?: string | null | undefined;
1278
- lastName?: string | null | undefined;
1279
- phone?: string | null | undefined;
1280
- title?: string | null | undefined;
1281
- username?: string | null | undefined;
1282
- website?: string | null | undefined;
1283
- $id?: string | null | undefined;
1284
- $lastSeen?: string | null | undefined;
1285
- $lastIdentifiedAt?: string | null | undefined;
1286
- $unsubscribed?: boolean | null | undefined;
1287
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1288
- $stripeCustomerId?: string | null | undefined;
1289
- $stripeTotalPayments?: string | number | null | undefined;
1290
- $stripeTotalSpent?: string | number | null | undefined;
1291
- $_toDelete?: boolean | null | undefined;
1292
- }>;
1293
- export type ReservedProperties = z.infer<typeof reservedPropertiesSchema>;
1294
- export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
1295
- age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1296
- avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1297
- birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1298
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1299
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1300
- email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1301
- firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1302
- gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1303
- id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1304
- lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1305
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1306
- phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1307
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1308
- username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1309
- website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
- $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1311
- $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1312
- $lastIdentifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1313
- $unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1314
- $unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
1315
- $stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1316
- $stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1317
- $stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1318
- $_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1319
- }, "strip", z.ZodTypeAny, {
1320
- name?: string | null | undefined;
1321
- id?: string | null | undefined;
1322
- age?: number | null | undefined;
1323
- avatar?: string | null | undefined;
1324
- birthday?: string | null | undefined;
1325
- createdAt?: string | null | undefined;
1326
- description?: string | null | undefined;
1327
- email?: string | null | undefined;
1328
- firstName?: string | null | undefined;
1329
- gender?: string | null | undefined;
1330
- lastName?: string | null | undefined;
1331
- phone?: string | null | undefined;
1332
- title?: string | null | undefined;
1333
- username?: string | null | undefined;
1334
- website?: string | null | undefined;
1335
- $id?: string | null | undefined;
1336
- $lastSeen?: string | null | undefined;
1337
- $lastIdentifiedAt?: string | null | undefined;
1338
- $unsubscribed?: boolean | null | undefined;
1339
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1340
- $stripeCustomerId?: string | null | undefined;
1341
- $stripeTotalPayments?: string | number | null | undefined;
1342
- $stripeTotalSpent?: string | number | null | undefined;
1343
- $_toDelete?: boolean | null | undefined;
1344
- }, {
1345
- name?: string | null | undefined;
1346
- id?: string | null | undefined;
1347
- age?: number | null | undefined;
1348
- avatar?: string | null | undefined;
1349
- birthday?: string | null | undefined;
1350
- createdAt?: string | null | undefined;
1351
- description?: string | null | undefined;
1352
- email?: string | null | undefined;
1353
- firstName?: string | null | undefined;
1354
- gender?: string | null | undefined;
1355
- lastName?: string | null | undefined;
1356
- phone?: string | null | undefined;
1357
- title?: string | null | undefined;
1358
- username?: string | null | undefined;
1359
- website?: string | null | undefined;
1360
- $id?: string | null | undefined;
1361
- $lastSeen?: string | null | undefined;
1362
- $lastIdentifiedAt?: string | null | undefined;
1363
- $unsubscribed?: boolean | null | undefined;
1364
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1365
- $stripeCustomerId?: string | null | undefined;
1366
- $stripeTotalPayments?: string | number | null | undefined;
1367
- $stripeTotalSpent?: string | number | null | undefined;
1368
- $_toDelete?: boolean | null | undefined;
1369
- }>>, 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">]>>>;
1370
- export type ContactProperties = z.infer<typeof contactPropertiesSchema>;
1371
- export declare const analyticsUserRawSchema: z.ZodObject<{
1372
- timestamp: z.ZodString;
1373
- distinctId: z.ZodString;
1374
- projectId: z.ZodString;
1375
- payload: z.ZodString;
1376
- }, "strip", z.ZodTypeAny, {
1377
- projectId: string;
1378
- payload: string;
1379
- distinctId: string;
1380
- timestamp: string;
1381
- }, {
1382
- projectId: string;
1383
- payload: string;
1384
- distinctId: string;
1385
- timestamp: string;
1386
- }>;
1387
- export type AnalyticsUserRaw = z.infer<typeof analyticsUserRawSchema>;
1388
- export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
1389
- timestamp: z.ZodString;
1390
- distinctId: z.ZodString;
1391
- projectId: z.ZodString;
1392
- payload: z.ZodString;
1393
- }, "payload">, "strip", z.ZodTypeAny, {
1394
- projectId: string;
1395
- distinctId: string;
1396
- timestamp: string;
1397
- }, {
1398
- projectId: string;
1399
- distinctId: string;
1400
- timestamp: string;
1401
- }>, z.ZodObject<{
1402
- properties: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
1403
- age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1404
- avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1405
- birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1406
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1407
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1408
- email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1409
- firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1410
- gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1411
- id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1412
- lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1413
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1414
- phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1415
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1416
- username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1417
- website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1418
- $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1419
- $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1420
- $lastIdentifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1421
- $unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1422
- $unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
1423
- $stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
- $stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1425
- $stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1426
- $_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1427
- }, "strip", z.ZodTypeAny, {
1428
- name?: string | null | undefined;
1429
- id?: string | null | undefined;
1430
- age?: number | null | undefined;
1431
- avatar?: string | null | undefined;
1432
- birthday?: string | null | undefined;
1433
- createdAt?: string | null | undefined;
1434
- description?: string | null | undefined;
1435
- email?: string | null | undefined;
1436
- firstName?: string | null | undefined;
1437
- gender?: string | null | undefined;
1438
- lastName?: string | null | undefined;
1439
- phone?: string | null | undefined;
1440
- title?: string | null | undefined;
1441
- username?: string | null | undefined;
1442
- website?: string | null | undefined;
1443
- $id?: string | null | undefined;
1444
- $lastSeen?: string | null | undefined;
1445
- $lastIdentifiedAt?: string | null | undefined;
1446
- $unsubscribed?: boolean | null | undefined;
1447
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1448
- $stripeCustomerId?: string | null | undefined;
1449
- $stripeTotalPayments?: string | number | null | undefined;
1450
- $stripeTotalSpent?: string | number | null | undefined;
1451
- $_toDelete?: boolean | null | undefined;
1452
- }, {
1453
- name?: string | null | undefined;
1454
- id?: string | null | undefined;
1455
- age?: number | null | undefined;
1456
- avatar?: string | null | undefined;
1457
- birthday?: string | null | undefined;
1458
- createdAt?: string | null | undefined;
1459
- description?: string | null | undefined;
1460
- email?: string | null | undefined;
1461
- firstName?: string | null | undefined;
1462
- gender?: string | null | undefined;
1463
- lastName?: string | null | undefined;
1464
- phone?: string | null | undefined;
1465
- title?: string | null | undefined;
1466
- username?: string | null | undefined;
1467
- website?: string | null | undefined;
1468
- $id?: string | null | undefined;
1469
- $lastSeen?: string | null | undefined;
1470
- $lastIdentifiedAt?: string | null | undefined;
1471
- $unsubscribed?: boolean | null | undefined;
1472
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1473
- $stripeCustomerId?: string | null | undefined;
1474
- $stripeTotalPayments?: string | number | null | undefined;
1475
- $stripeTotalSpent?: string | number | null | undefined;
1476
- $_toDelete?: boolean | null | undefined;
1477
- }>>, 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">]>>>;
1478
- }, "strip", z.ZodTypeAny, {
1479
- properties: {
1480
- name?: string | null | undefined;
1481
- id?: string | null | undefined;
1482
- age?: number | null | undefined;
1483
- avatar?: string | null | undefined;
1484
- birthday?: string | null | undefined;
1485
- createdAt?: string | null | undefined;
1486
- description?: string | null | undefined;
1487
- email?: string | null | undefined;
1488
- firstName?: string | null | undefined;
1489
- gender?: string | null | undefined;
1490
- lastName?: string | null | undefined;
1491
- phone?: string | null | undefined;
1492
- title?: string | null | undefined;
1493
- username?: string | null | undefined;
1494
- website?: string | null | undefined;
1495
- $id?: string | null | undefined;
1496
- $lastSeen?: string | null | undefined;
1497
- $lastIdentifiedAt?: string | null | undefined;
1498
- $unsubscribed?: boolean | null | undefined;
1499
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1500
- $stripeCustomerId?: string | null | undefined;
1501
- $stripeTotalPayments?: string | number | null | undefined;
1502
- $stripeTotalSpent?: string | number | null | undefined;
1503
- $_toDelete?: boolean | null | undefined;
1504
- } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1505
- }, {
1506
- properties: {
1507
- name?: string | null | undefined;
1508
- id?: string | null | undefined;
1509
- age?: number | null | undefined;
1510
- avatar?: string | null | undefined;
1511
- birthday?: string | null | undefined;
1512
- createdAt?: string | null | undefined;
1513
- description?: string | null | undefined;
1514
- email?: string | null | undefined;
1515
- firstName?: string | null | undefined;
1516
- gender?: string | null | undefined;
1517
- lastName?: string | null | undefined;
1518
- phone?: string | null | undefined;
1519
- title?: string | null | undefined;
1520
- username?: string | null | undefined;
1521
- website?: string | null | undefined;
1522
- $id?: string | null | undefined;
1523
- $lastSeen?: string | null | undefined;
1524
- $lastIdentifiedAt?: string | null | undefined;
1525
- $unsubscribed?: boolean | null | undefined;
1526
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1527
- $stripeCustomerId?: string | null | undefined;
1528
- $stripeTotalPayments?: string | number | null | undefined;
1529
- $stripeTotalSpent?: string | number | null | undefined;
1530
- $_toDelete?: boolean | null | undefined;
1531
- } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1532
- }>>;
1533
- export type AnalyticsUser = z.infer<typeof analyticsUserSchema>;
1534
- export declare const listUsersParamsSchema: z.ZodObject<{
1535
- projectId: z.ZodString;
1536
- limit: z.ZodOptional<z.ZodNumber>;
1537
- }, "strip", z.ZodTypeAny, {
1538
- projectId: string;
1539
- limit?: number | undefined;
1540
- }, {
1541
- projectId: string;
1542
- limit?: number | undefined;
1543
- }>;
1544
- export type ListUsersParams = z.infer<typeof listUsersParamsSchema>;
1545
- export declare const getAnalyticsUserParamsSchema: z.ZodObject<{
1546
- projectId: z.ZodString;
1547
- distinctId: z.ZodString;
1548
- }, "strip", z.ZodTypeAny, {
1549
- projectId: string;
1550
- distinctId: string;
1551
- }, {
1552
- projectId: string;
1553
- distinctId: string;
1554
- }>;
1555
- export type GetAnalyticsUserParams = z.infer<typeof getAnalyticsUserParamsSchema>;
1556
- export declare const idenfitySchema: z.ZodObject<{
1557
- id: z.ZodString;
1558
- timestamp: z.ZodString;
1559
- projectId: z.ZodString;
1560
- distinctId: z.ZodString;
1561
- anonymousId: z.ZodString;
1562
- version: z.ZodString;
1563
- payload: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
1564
- age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1565
- avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1566
- birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1567
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1568
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1569
- email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1570
- firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1571
- gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1572
- id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1573
- lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1574
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1575
- phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1576
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1577
- username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1578
- website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1579
- $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1580
- $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1581
- $lastIdentifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1582
- $unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1583
- $unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
1584
- $stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1585
- $stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1586
- $stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1587
- $_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1588
- }, "strip", z.ZodTypeAny, {
1589
- name?: string | null | undefined;
1590
- id?: string | null | undefined;
1591
- age?: number | null | undefined;
1592
- avatar?: string | null | undefined;
1593
- birthday?: string | null | undefined;
1594
- createdAt?: string | null | undefined;
1595
- description?: string | null | undefined;
1596
- email?: string | null | undefined;
1597
- firstName?: string | null | undefined;
1598
- gender?: string | null | undefined;
1599
- lastName?: string | null | undefined;
1600
- phone?: string | null | undefined;
1601
- title?: string | null | undefined;
1602
- username?: string | null | undefined;
1603
- website?: string | null | undefined;
1604
- $id?: string | null | undefined;
1605
- $lastSeen?: string | null | undefined;
1606
- $lastIdentifiedAt?: string | null | undefined;
1607
- $unsubscribed?: boolean | null | undefined;
1608
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1609
- $stripeCustomerId?: string | null | undefined;
1610
- $stripeTotalPayments?: string | number | null | undefined;
1611
- $stripeTotalSpent?: string | number | null | undefined;
1612
- $_toDelete?: boolean | null | undefined;
1613
- }, {
1614
- name?: string | null | undefined;
1615
- id?: string | null | undefined;
1616
- age?: number | null | undefined;
1617
- avatar?: string | null | undefined;
1618
- birthday?: string | null | undefined;
1619
- createdAt?: string | null | undefined;
1620
- description?: string | null | undefined;
1621
- email?: string | null | undefined;
1622
- firstName?: string | null | undefined;
1623
- gender?: string | null | undefined;
1624
- lastName?: string | null | undefined;
1625
- phone?: string | null | undefined;
1626
- title?: string | null | undefined;
1627
- username?: string | null | undefined;
1628
- website?: string | null | undefined;
1629
- $id?: string | null | undefined;
1630
- $lastSeen?: string | null | undefined;
1631
- $lastIdentifiedAt?: string | null | undefined;
1632
- $unsubscribed?: boolean | null | undefined;
1633
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1634
- $stripeCustomerId?: string | null | undefined;
1635
- $stripeTotalPayments?: string | number | null | undefined;
1636
- $stripeTotalSpent?: string | number | null | undefined;
1637
- $_toDelete?: boolean | null | undefined;
1638
- }>>, 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">]>>>;
1639
- context: z.ZodOptional<z.ZodObject<{
1640
- active: z.ZodOptional<z.ZodBoolean>;
1641
- }, "strip", z.ZodTypeAny, {
1642
- active?: boolean | undefined;
1643
- }, {
1644
- active?: boolean | undefined;
1645
- }>>;
1646
- }, "strip", z.ZodTypeAny, {
1647
- id: string;
1648
- projectId: string;
1649
- payload: {
1650
- name?: string | null | undefined;
1651
- id?: string | null | undefined;
1652
- age?: number | null | undefined;
1653
- avatar?: string | null | undefined;
1654
- birthday?: string | null | undefined;
1655
- createdAt?: string | null | undefined;
1656
- description?: string | null | undefined;
1657
- email?: string | null | undefined;
1658
- firstName?: string | null | undefined;
1659
- gender?: string | null | undefined;
1660
- lastName?: string | null | undefined;
1661
- phone?: string | null | undefined;
1662
- title?: string | null | undefined;
1663
- username?: string | null | undefined;
1664
- website?: string | null | undefined;
1665
- $id?: string | null | undefined;
1666
- $lastSeen?: string | null | undefined;
1667
- $lastIdentifiedAt?: string | null | undefined;
1668
- $unsubscribed?: boolean | null | undefined;
1669
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1670
- $stripeCustomerId?: string | null | undefined;
1671
- $stripeTotalPayments?: string | number | null | undefined;
1672
- $stripeTotalSpent?: string | number | null | undefined;
1673
- $_toDelete?: boolean | null | undefined;
1674
- } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1675
- distinctId: string;
1676
- timestamp: string;
1677
- anonymousId: string;
1678
- version: string;
1679
- context?: {
1680
- active?: boolean | undefined;
1681
- } | undefined;
1682
- }, {
1683
- id: string;
1684
- projectId: string;
1685
- payload: {
1686
- name?: string | null | undefined;
1687
- id?: string | null | undefined;
1688
- age?: number | null | undefined;
1689
- avatar?: string | null | undefined;
1690
- birthday?: string | null | undefined;
1691
- createdAt?: string | null | undefined;
1692
- description?: string | null | undefined;
1693
- email?: string | null | undefined;
1694
- firstName?: string | null | undefined;
1695
- gender?: string | null | undefined;
1696
- lastName?: string | null | undefined;
1697
- phone?: string | null | undefined;
1698
- title?: string | null | undefined;
1699
- username?: string | null | undefined;
1700
- website?: string | null | undefined;
1701
- $id?: string | null | undefined;
1702
- $lastSeen?: string | null | undefined;
1703
- $lastIdentifiedAt?: string | null | undefined;
1704
- $unsubscribed?: boolean | null | undefined;
1705
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1706
- $stripeCustomerId?: string | null | undefined;
1707
- $stripeTotalPayments?: string | number | null | undefined;
1708
- $stripeTotalSpent?: string | number | null | undefined;
1709
- $_toDelete?: boolean | null | undefined;
1710
- } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1711
- distinctId: string;
1712
- timestamp: string;
1713
- anonymousId: string;
1714
- version: string;
1715
- context?: {
1716
- active?: boolean | undefined;
1717
- } | undefined;
1718
- }>;
1719
- export type Identify = z.infer<typeof idenfitySchema>;
1720
- export declare const latestIdentifiesRequestSchema: z.ZodObject<{
1721
- projectId: z.ZodString;
1722
- limit: z.ZodOptional<z.ZodNumber>;
1723
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1724
- }, "strip", z.ZodTypeAny, {
1725
- projectId: string;
1726
- limit?: number | undefined;
1727
- fields?: string[] | undefined;
1728
- }, {
1729
- projectId: string;
1730
- limit?: number | undefined;
1731
- fields?: string[] | undefined;
1732
- }>;
1733
- export type LatestIdentifiesRequest = z.infer<typeof latestIdentifiesRequestSchema>;
1734
- export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1735
- meta: z.ZodArray<z.ZodObject<{
1736
- name: z.ZodString;
1737
- type: z.ZodString;
1738
- }, "strip", z.ZodTypeAny, {
1739
- type: string;
1740
- name: string;
1741
- }, {
1742
- type: string;
1743
- name: string;
1744
- }>, "many">;
1745
- statistics: z.ZodObject<{
1746
- elapsed: z.ZodNumber;
1747
- rows_read: z.ZodNumber;
1748
- bytes_read: z.ZodNumber;
1749
- }, "strip", z.ZodTypeAny, {
1750
- elapsed: number;
1751
- rows_read: number;
1752
- bytes_read: number;
1753
- }, {
1754
- elapsed: number;
1755
- rows_read: number;
1756
- bytes_read: number;
1757
- }>;
1758
- rows: z.ZodNumber;
1759
- }, {
1760
- data: z.ZodArray<z.ZodObject<{
1761
- properties: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
1762
- age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1763
- avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1764
- birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1765
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1766
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1767
- email: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
1768
- firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1769
- gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1770
- id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1771
- lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1772
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1773
- phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1774
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1775
- username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1776
- website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1777
- $id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1778
- $lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1779
- $lastIdentifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1780
- $unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1781
- $unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
1782
- $stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1783
- $stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1784
- $stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1785
- $_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1786
- }, "strip", z.ZodTypeAny, {
1787
- name?: string | null | undefined;
1788
- id?: string | null | undefined;
1789
- age?: number | null | undefined;
1790
- avatar?: string | null | undefined;
1791
- birthday?: string | null | undefined;
1792
- createdAt?: string | null | undefined;
1793
- description?: string | null | undefined;
1794
- email?: string | null | undefined;
1795
- firstName?: string | null | undefined;
1796
- gender?: string | null | undefined;
1797
- lastName?: string | null | undefined;
1798
- phone?: string | null | undefined;
1799
- title?: string | null | undefined;
1800
- username?: string | null | undefined;
1801
- website?: string | null | undefined;
1802
- $id?: string | null | undefined;
1803
- $lastSeen?: string | null | undefined;
1804
- $lastIdentifiedAt?: string | null | undefined;
1805
- $unsubscribed?: boolean | null | undefined;
1806
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1807
- $stripeCustomerId?: string | null | undefined;
1808
- $stripeTotalPayments?: string | number | null | undefined;
1809
- $stripeTotalSpent?: string | number | null | undefined;
1810
- $_toDelete?: boolean | null | undefined;
1811
- }, {
1812
- name?: string | null | undefined;
1813
- id?: string | null | undefined;
1814
- age?: number | null | undefined;
1815
- avatar?: string | null | undefined;
1816
- birthday?: string | null | undefined;
1817
- createdAt?: string | null | undefined;
1818
- description?: string | null | undefined;
1819
- email?: string | null | undefined;
1820
- firstName?: string | null | undefined;
1821
- gender?: string | null | undefined;
1822
- lastName?: string | null | undefined;
1823
- phone?: string | null | undefined;
1824
- title?: string | null | undefined;
1825
- username?: string | null | undefined;
1826
- website?: string | null | undefined;
1827
- $id?: string | null | undefined;
1828
- $lastSeen?: string | null | undefined;
1829
- $lastIdentifiedAt?: string | null | undefined;
1830
- $unsubscribed?: boolean | null | undefined;
1831
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1832
- $stripeCustomerId?: string | null | undefined;
1833
- $stripeTotalPayments?: string | number | null | undefined;
1834
- $stripeTotalSpent?: string | number | null | undefined;
1835
- $_toDelete?: boolean | null | undefined;
1836
- }>>, 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">]>>>;
1837
- }, "strip", z.ZodTypeAny, {
1838
- properties: {
1839
- name?: string | null | undefined;
1840
- id?: string | null | undefined;
1841
- age?: number | null | undefined;
1842
- avatar?: string | null | undefined;
1843
- birthday?: string | null | undefined;
1844
- createdAt?: string | null | undefined;
1845
- description?: string | null | undefined;
1846
- email?: string | null | undefined;
1847
- firstName?: string | null | undefined;
1848
- gender?: string | null | undefined;
1849
- lastName?: string | null | undefined;
1850
- phone?: string | null | undefined;
1851
- title?: string | null | undefined;
1852
- username?: string | null | undefined;
1853
- website?: string | null | undefined;
1854
- $id?: string | null | undefined;
1855
- $lastSeen?: string | null | undefined;
1856
- $lastIdentifiedAt?: string | null | undefined;
1857
- $unsubscribed?: boolean | null | undefined;
1858
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1859
- $stripeCustomerId?: string | null | undefined;
1860
- $stripeTotalPayments?: string | number | null | undefined;
1861
- $stripeTotalSpent?: string | number | null | undefined;
1862
- $_toDelete?: boolean | null | undefined;
1863
- } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1864
- }, {
1865
- properties: {
1866
- name?: string | null | undefined;
1867
- id?: string | null | undefined;
1868
- age?: number | null | undefined;
1869
- avatar?: string | null | undefined;
1870
- birthday?: string | null | undefined;
1871
- createdAt?: string | null | undefined;
1872
- description?: string | null | undefined;
1873
- email?: string | null | undefined;
1874
- firstName?: string | null | undefined;
1875
- gender?: string | null | undefined;
1876
- lastName?: string | null | undefined;
1877
- phone?: string | null | undefined;
1878
- title?: string | null | undefined;
1879
- username?: string | null | undefined;
1880
- website?: string | null | undefined;
1881
- $id?: string | null | undefined;
1882
- $lastSeen?: string | null | undefined;
1883
- $lastIdentifiedAt?: string | null | undefined;
1884
- $unsubscribed?: boolean | null | undefined;
1885
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1886
- $stripeCustomerId?: string | null | undefined;
1887
- $stripeTotalPayments?: string | number | null | undefined;
1888
- $stripeTotalSpent?: string | number | null | undefined;
1889
- $_toDelete?: boolean | null | undefined;
1890
- } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1891
- }>, "many">;
1892
- }>, "strip", z.ZodTypeAny, {
1893
- meta: {
1894
- type: string;
1895
- name: string;
1896
- }[];
1897
- statistics: {
1898
- elapsed: number;
1899
- rows_read: number;
1900
- bytes_read: number;
1901
- };
1902
- rows: number;
1903
- data: {
1904
- properties: {
1905
- name?: string | null | undefined;
1906
- id?: string | null | undefined;
1907
- age?: number | null | undefined;
1908
- avatar?: string | null | undefined;
1909
- birthday?: string | null | undefined;
1910
- createdAt?: string | null | undefined;
1911
- description?: string | null | undefined;
1912
- email?: string | null | undefined;
1913
- firstName?: string | null | undefined;
1914
- gender?: string | null | undefined;
1915
- lastName?: string | null | undefined;
1916
- phone?: string | null | undefined;
1917
- title?: string | null | undefined;
1918
- username?: string | null | undefined;
1919
- website?: string | null | undefined;
1920
- $id?: string | null | undefined;
1921
- $lastSeen?: string | null | undefined;
1922
- $lastIdentifiedAt?: string | null | undefined;
1923
- $unsubscribed?: boolean | null | undefined;
1924
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1925
- $stripeCustomerId?: string | null | undefined;
1926
- $stripeTotalPayments?: string | number | null | undefined;
1927
- $stripeTotalSpent?: string | number | null | undefined;
1928
- $_toDelete?: boolean | null | undefined;
1929
- } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1930
- }[];
1931
- }, {
1932
- meta: {
1933
- type: string;
1934
- name: string;
1935
- }[];
1936
- statistics: {
1937
- elapsed: number;
1938
- rows_read: number;
1939
- bytes_read: number;
1940
- };
1941
- rows: number;
1942
- data: {
1943
- properties: {
1944
- name?: string | null | undefined;
1945
- id?: string | null | undefined;
1946
- age?: number | null | undefined;
1947
- avatar?: string | null | undefined;
1948
- birthday?: string | null | undefined;
1949
- createdAt?: string | null | undefined;
1950
- description?: string | null | undefined;
1951
- email?: string | null | undefined;
1952
- firstName?: string | null | undefined;
1953
- gender?: string | null | undefined;
1954
- lastName?: string | null | undefined;
1955
- phone?: string | null | undefined;
1956
- title?: string | null | undefined;
1957
- username?: string | null | undefined;
1958
- website?: string | null | undefined;
1959
- $id?: string | null | undefined;
1960
- $lastSeen?: string | null | undefined;
1961
- $lastIdentifiedAt?: string | null | undefined;
1962
- $unsubscribed?: boolean | null | undefined;
1963
- $unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
1964
- $stripeCustomerId?: string | null | undefined;
1965
- $stripeTotalPayments?: string | number | null | undefined;
1966
- $stripeTotalSpent?: string | number | null | undefined;
1967
- $_toDelete?: boolean | null | undefined;
1968
- } & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
1969
- }[];
1970
- }>;
1971
- export type LatestIdentifiesResponse = z.infer<typeof latestIdentifiesResponseSchema>;