saasco-sdk 0.1.13 → 0.1.14

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,2798 @@
1
+ import { z } from 'zod';
2
+ export declare const browserContextSchema: z.ZodObject<{
3
+ $locale: z.ZodString;
4
+ $location: z.ZodString;
5
+ $href: z.ZodString;
6
+ $pathname: z.ZodString;
7
+ $referrer: z.ZodString;
8
+ $screenDPI: z.ZodNumber;
9
+ $screenHeight: z.ZodNumber;
10
+ $screenWidth: z.ZodNumber;
11
+ $title: z.ZodString;
12
+ $userAgent: z.ZodString;
13
+ }, "strip", z.ZodTypeAny, {
14
+ $locale: string;
15
+ $location: string;
16
+ $href: string;
17
+ $pathname: string;
18
+ $referrer: string;
19
+ $screenDPI: number;
20
+ $screenHeight: number;
21
+ $screenWidth: number;
22
+ $title: string;
23
+ $userAgent: string;
24
+ }, {
25
+ $locale: string;
26
+ $location: string;
27
+ $href: string;
28
+ $pathname: string;
29
+ $referrer: string;
30
+ $screenDPI: number;
31
+ $screenHeight: number;
32
+ $screenWidth: number;
33
+ $title: string;
34
+ $userAgent: string;
35
+ }>;
36
+ export type BrowserContext = z.infer<typeof browserContextSchema>;
37
+ export declare const serverContextSchema: z.ZodObject<{
38
+ $city: z.ZodOptional<z.ZodString>;
39
+ $country: z.ZodOptional<z.ZodString>;
40
+ $continent: z.ZodOptional<z.ZodString>;
41
+ $latitude: z.ZodOptional<z.ZodNumber>;
42
+ $longitude: z.ZodOptional<z.ZodNumber>;
43
+ $timezone: z.ZodOptional<z.ZodString>;
44
+ $userAgent: z.ZodOptional<z.ZodString>;
45
+ $referrer: z.ZodOptional<z.ZodString>;
46
+ $ip: z.ZodOptional<z.ZodString>;
47
+ $processedAt: z.ZodOptional<z.ZodString>;
48
+ $identityHash: z.ZodOptional<z.ZodString>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ $referrer?: string | undefined;
51
+ $userAgent?: string | undefined;
52
+ $city?: string | undefined;
53
+ $country?: string | undefined;
54
+ $continent?: string | undefined;
55
+ $latitude?: number | undefined;
56
+ $longitude?: number | undefined;
57
+ $timezone?: string | undefined;
58
+ $ip?: string | undefined;
59
+ $processedAt?: string | undefined;
60
+ $identityHash?: string | undefined;
61
+ }, {
62
+ $referrer?: string | undefined;
63
+ $userAgent?: string | undefined;
64
+ $city?: string | undefined;
65
+ $country?: string | undefined;
66
+ $continent?: string | undefined;
67
+ $latitude?: number | undefined;
68
+ $longitude?: number | undefined;
69
+ $timezone?: string | undefined;
70
+ $ip?: string | undefined;
71
+ $processedAt?: string | undefined;
72
+ $identityHash?: string | undefined;
73
+ }>;
74
+ export type ServerContext = z.infer<typeof serverContextSchema>;
75
+ export declare const trackedEventTypesSchema: z.ZodEnum<["SHORTLINK_REDIRECT"]>;
76
+ export type TrackedEventType = z.infer<typeof trackedEventTypesSchema>;
77
+ export declare const trackedEventSchema: z.ZodObject<{
78
+ id: z.ZodString;
79
+ timestamp: z.ZodString;
80
+ projectId: z.ZodString;
81
+ version: z.ZodString;
82
+ type: z.ZodEnum<["SHORTLINK_REDIRECT"]>;
83
+ payload: z.ZodObject<{
84
+ browserContext: z.ZodOptional<z.ZodObject<{
85
+ $locale: z.ZodString;
86
+ $location: z.ZodString;
87
+ $href: z.ZodString;
88
+ $pathname: z.ZodString;
89
+ $referrer: z.ZodString;
90
+ $screenDPI: z.ZodNumber;
91
+ $screenHeight: z.ZodNumber;
92
+ $screenWidth: z.ZodNumber;
93
+ $title: z.ZodString;
94
+ $userAgent: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ $locale: string;
97
+ $location: string;
98
+ $href: string;
99
+ $pathname: string;
100
+ $referrer: string;
101
+ $screenDPI: number;
102
+ $screenHeight: number;
103
+ $screenWidth: number;
104
+ $title: string;
105
+ $userAgent: string;
106
+ }, {
107
+ $locale: string;
108
+ $location: string;
109
+ $href: string;
110
+ $pathname: string;
111
+ $referrer: string;
112
+ $screenDPI: number;
113
+ $screenHeight: number;
114
+ $screenWidth: number;
115
+ $title: string;
116
+ $userAgent: string;
117
+ }>>;
118
+ serverContext: z.ZodOptional<z.ZodObject<{
119
+ $city: z.ZodOptional<z.ZodString>;
120
+ $country: z.ZodOptional<z.ZodString>;
121
+ $continent: z.ZodOptional<z.ZodString>;
122
+ $latitude: z.ZodOptional<z.ZodNumber>;
123
+ $longitude: z.ZodOptional<z.ZodNumber>;
124
+ $timezone: z.ZodOptional<z.ZodString>;
125
+ $userAgent: z.ZodOptional<z.ZodString>;
126
+ $referrer: z.ZodOptional<z.ZodString>;
127
+ $ip: z.ZodOptional<z.ZodString>;
128
+ $processedAt: z.ZodOptional<z.ZodString>;
129
+ $identityHash: z.ZodOptional<z.ZodString>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ $referrer?: string | undefined;
132
+ $userAgent?: string | undefined;
133
+ $city?: string | undefined;
134
+ $country?: string | undefined;
135
+ $continent?: string | undefined;
136
+ $latitude?: number | undefined;
137
+ $longitude?: number | undefined;
138
+ $timezone?: string | undefined;
139
+ $ip?: string | undefined;
140
+ $processedAt?: string | undefined;
141
+ $identityHash?: string | undefined;
142
+ }, {
143
+ $referrer?: string | undefined;
144
+ $userAgent?: string | undefined;
145
+ $city?: string | undefined;
146
+ $country?: string | undefined;
147
+ $continent?: string | undefined;
148
+ $latitude?: number | undefined;
149
+ $longitude?: number | undefined;
150
+ $timezone?: string | undefined;
151
+ $ip?: string | undefined;
152
+ $processedAt?: string | undefined;
153
+ $identityHash?: string | undefined;
154
+ }>>;
155
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ browserContext?: {
158
+ $locale: string;
159
+ $location: string;
160
+ $href: string;
161
+ $pathname: string;
162
+ $referrer: string;
163
+ $screenDPI: number;
164
+ $screenHeight: number;
165
+ $screenWidth: number;
166
+ $title: string;
167
+ $userAgent: string;
168
+ } | undefined;
169
+ serverContext?: {
170
+ $referrer?: string | undefined;
171
+ $userAgent?: string | undefined;
172
+ $city?: string | undefined;
173
+ $country?: string | undefined;
174
+ $continent?: string | undefined;
175
+ $latitude?: number | undefined;
176
+ $longitude?: number | undefined;
177
+ $timezone?: string | undefined;
178
+ $ip?: string | undefined;
179
+ $processedAt?: string | undefined;
180
+ $identityHash?: string | undefined;
181
+ } | undefined;
182
+ properties?: Record<string, any> | undefined;
183
+ }, {
184
+ browserContext?: {
185
+ $locale: string;
186
+ $location: string;
187
+ $href: string;
188
+ $pathname: string;
189
+ $referrer: string;
190
+ $screenDPI: number;
191
+ $screenHeight: number;
192
+ $screenWidth: number;
193
+ $title: string;
194
+ $userAgent: string;
195
+ } | undefined;
196
+ serverContext?: {
197
+ $referrer?: string | undefined;
198
+ $userAgent?: string | undefined;
199
+ $city?: string | undefined;
200
+ $country?: string | undefined;
201
+ $continent?: string | undefined;
202
+ $latitude?: number | undefined;
203
+ $longitude?: number | undefined;
204
+ $timezone?: string | undefined;
205
+ $ip?: string | undefined;
206
+ $processedAt?: string | undefined;
207
+ $identityHash?: string | undefined;
208
+ } | undefined;
209
+ properties?: Record<string, any> | undefined;
210
+ }>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ type: "SHORTLINK_REDIRECT";
213
+ id: string;
214
+ timestamp: string;
215
+ projectId: string;
216
+ version: string;
217
+ payload: {
218
+ browserContext?: {
219
+ $locale: string;
220
+ $location: string;
221
+ $href: string;
222
+ $pathname: string;
223
+ $referrer: string;
224
+ $screenDPI: number;
225
+ $screenHeight: number;
226
+ $screenWidth: number;
227
+ $title: string;
228
+ $userAgent: string;
229
+ } | undefined;
230
+ serverContext?: {
231
+ $referrer?: string | undefined;
232
+ $userAgent?: string | undefined;
233
+ $city?: string | undefined;
234
+ $country?: string | undefined;
235
+ $continent?: string | undefined;
236
+ $latitude?: number | undefined;
237
+ $longitude?: number | undefined;
238
+ $timezone?: string | undefined;
239
+ $ip?: string | undefined;
240
+ $processedAt?: string | undefined;
241
+ $identityHash?: string | undefined;
242
+ } | undefined;
243
+ properties?: Record<string, any> | undefined;
244
+ };
245
+ }, {
246
+ type: "SHORTLINK_REDIRECT";
247
+ id: string;
248
+ timestamp: string;
249
+ projectId: string;
250
+ version: string;
251
+ payload: {
252
+ browserContext?: {
253
+ $locale: string;
254
+ $location: string;
255
+ $href: string;
256
+ $pathname: string;
257
+ $referrer: string;
258
+ $screenDPI: number;
259
+ $screenHeight: number;
260
+ $screenWidth: number;
261
+ $title: string;
262
+ $userAgent: string;
263
+ } | undefined;
264
+ serverContext?: {
265
+ $referrer?: string | undefined;
266
+ $userAgent?: string | undefined;
267
+ $city?: string | undefined;
268
+ $country?: string | undefined;
269
+ $continent?: string | undefined;
270
+ $latitude?: number | undefined;
271
+ $longitude?: number | undefined;
272
+ $timezone?: string | undefined;
273
+ $ip?: string | undefined;
274
+ $processedAt?: string | undefined;
275
+ $identityHash?: string | undefined;
276
+ } | undefined;
277
+ properties?: Record<string, any> | undefined;
278
+ };
279
+ }>;
280
+ export type TrackedEvent = z.infer<typeof trackedEventSchema>;
281
+ /**
282
+ * Creates a zod for tracking any type of event.
283
+ * Includes the base tracking schema and extends with any new schema
284
+ * @param type
285
+ * @param payloadSchema
286
+ * @returns
287
+ */
288
+ export declare function createTrackedEventTypeSchema<T extends z.ZodObject<z.ZodRawShape>>(type: TrackedEventType, payloadSchema: T): z.ZodObject<z.objectUtil.extendShape<{
289
+ id: z.ZodString;
290
+ timestamp: z.ZodString;
291
+ projectId: z.ZodString;
292
+ version: z.ZodString;
293
+ type: z.ZodEnum<["SHORTLINK_REDIRECT"]>;
294
+ payload: z.ZodObject<{
295
+ browserContext: z.ZodOptional<z.ZodObject<{
296
+ $locale: z.ZodString;
297
+ $location: z.ZodString;
298
+ $href: z.ZodString;
299
+ $pathname: z.ZodString;
300
+ $referrer: z.ZodString;
301
+ $screenDPI: z.ZodNumber;
302
+ $screenHeight: z.ZodNumber;
303
+ $screenWidth: z.ZodNumber;
304
+ $title: z.ZodString;
305
+ $userAgent: z.ZodString;
306
+ }, "strip", z.ZodTypeAny, {
307
+ $locale: string;
308
+ $location: string;
309
+ $href: string;
310
+ $pathname: string;
311
+ $referrer: string;
312
+ $screenDPI: number;
313
+ $screenHeight: number;
314
+ $screenWidth: number;
315
+ $title: string;
316
+ $userAgent: string;
317
+ }, {
318
+ $locale: string;
319
+ $location: string;
320
+ $href: string;
321
+ $pathname: string;
322
+ $referrer: string;
323
+ $screenDPI: number;
324
+ $screenHeight: number;
325
+ $screenWidth: number;
326
+ $title: string;
327
+ $userAgent: string;
328
+ }>>;
329
+ serverContext: z.ZodOptional<z.ZodObject<{
330
+ $city: z.ZodOptional<z.ZodString>;
331
+ $country: z.ZodOptional<z.ZodString>;
332
+ $continent: z.ZodOptional<z.ZodString>;
333
+ $latitude: z.ZodOptional<z.ZodNumber>;
334
+ $longitude: z.ZodOptional<z.ZodNumber>;
335
+ $timezone: z.ZodOptional<z.ZodString>;
336
+ $userAgent: z.ZodOptional<z.ZodString>;
337
+ $referrer: z.ZodOptional<z.ZodString>;
338
+ $ip: z.ZodOptional<z.ZodString>;
339
+ $processedAt: z.ZodOptional<z.ZodString>;
340
+ $identityHash: z.ZodOptional<z.ZodString>;
341
+ }, "strip", z.ZodTypeAny, {
342
+ $referrer?: string | undefined;
343
+ $userAgent?: string | undefined;
344
+ $city?: string | undefined;
345
+ $country?: string | undefined;
346
+ $continent?: string | undefined;
347
+ $latitude?: number | undefined;
348
+ $longitude?: number | undefined;
349
+ $timezone?: string | undefined;
350
+ $ip?: string | undefined;
351
+ $processedAt?: string | undefined;
352
+ $identityHash?: string | undefined;
353
+ }, {
354
+ $referrer?: string | undefined;
355
+ $userAgent?: string | undefined;
356
+ $city?: string | undefined;
357
+ $country?: string | undefined;
358
+ $continent?: string | undefined;
359
+ $latitude?: number | undefined;
360
+ $longitude?: number | undefined;
361
+ $timezone?: string | undefined;
362
+ $ip?: string | undefined;
363
+ $processedAt?: string | undefined;
364
+ $identityHash?: string | undefined;
365
+ }>>;
366
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ browserContext?: {
369
+ $locale: string;
370
+ $location: string;
371
+ $href: string;
372
+ $pathname: string;
373
+ $referrer: string;
374
+ $screenDPI: number;
375
+ $screenHeight: number;
376
+ $screenWidth: number;
377
+ $title: string;
378
+ $userAgent: string;
379
+ } | undefined;
380
+ serverContext?: {
381
+ $referrer?: string | undefined;
382
+ $userAgent?: string | undefined;
383
+ $city?: string | undefined;
384
+ $country?: string | undefined;
385
+ $continent?: string | undefined;
386
+ $latitude?: number | undefined;
387
+ $longitude?: number | undefined;
388
+ $timezone?: string | undefined;
389
+ $ip?: string | undefined;
390
+ $processedAt?: string | undefined;
391
+ $identityHash?: string | undefined;
392
+ } | undefined;
393
+ properties?: Record<string, any> | undefined;
394
+ }, {
395
+ browserContext?: {
396
+ $locale: string;
397
+ $location: string;
398
+ $href: string;
399
+ $pathname: string;
400
+ $referrer: string;
401
+ $screenDPI: number;
402
+ $screenHeight: number;
403
+ $screenWidth: number;
404
+ $title: string;
405
+ $userAgent: string;
406
+ } | undefined;
407
+ serverContext?: {
408
+ $referrer?: string | undefined;
409
+ $userAgent?: string | undefined;
410
+ $city?: string | undefined;
411
+ $country?: string | undefined;
412
+ $continent?: string | undefined;
413
+ $latitude?: number | undefined;
414
+ $longitude?: number | undefined;
415
+ $timezone?: string | undefined;
416
+ $ip?: string | undefined;
417
+ $processedAt?: string | undefined;
418
+ $identityHash?: string | undefined;
419
+ } | undefined;
420
+ properties?: Record<string, any> | undefined;
421
+ }>;
422
+ }, {
423
+ type: z.ZodLiteral<"SHORTLINK_REDIRECT">;
424
+ payload: z.ZodObject<{
425
+ properties: T;
426
+ browserContext: z.ZodOptional<z.ZodObject<{
427
+ $locale: z.ZodString;
428
+ $location: z.ZodString;
429
+ $href: z.ZodString;
430
+ $pathname: z.ZodString;
431
+ $referrer: z.ZodString;
432
+ $screenDPI: z.ZodNumber;
433
+ $screenHeight: z.ZodNumber;
434
+ $screenWidth: z.ZodNumber;
435
+ $title: z.ZodString;
436
+ $userAgent: z.ZodString;
437
+ }, "strip", z.ZodTypeAny, {
438
+ $locale: string;
439
+ $location: string;
440
+ $href: string;
441
+ $pathname: string;
442
+ $referrer: string;
443
+ $screenDPI: number;
444
+ $screenHeight: number;
445
+ $screenWidth: number;
446
+ $title: string;
447
+ $userAgent: string;
448
+ }, {
449
+ $locale: string;
450
+ $location: string;
451
+ $href: string;
452
+ $pathname: string;
453
+ $referrer: string;
454
+ $screenDPI: number;
455
+ $screenHeight: number;
456
+ $screenWidth: number;
457
+ $title: string;
458
+ $userAgent: string;
459
+ }>>;
460
+ serverContext: z.ZodOptional<z.ZodObject<{
461
+ $city: z.ZodOptional<z.ZodString>;
462
+ $country: z.ZodOptional<z.ZodString>;
463
+ $continent: z.ZodOptional<z.ZodString>;
464
+ $latitude: z.ZodOptional<z.ZodNumber>;
465
+ $longitude: z.ZodOptional<z.ZodNumber>;
466
+ $timezone: z.ZodOptional<z.ZodString>;
467
+ $userAgent: z.ZodOptional<z.ZodString>;
468
+ $referrer: z.ZodOptional<z.ZodString>;
469
+ $ip: z.ZodOptional<z.ZodString>;
470
+ $processedAt: z.ZodOptional<z.ZodString>;
471
+ $identityHash: z.ZodOptional<z.ZodString>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ $referrer?: string | undefined;
474
+ $userAgent?: string | undefined;
475
+ $city?: string | undefined;
476
+ $country?: string | undefined;
477
+ $continent?: string | undefined;
478
+ $latitude?: number | undefined;
479
+ $longitude?: number | undefined;
480
+ $timezone?: string | undefined;
481
+ $ip?: string | undefined;
482
+ $processedAt?: string | undefined;
483
+ $identityHash?: string | undefined;
484
+ }, {
485
+ $referrer?: string | undefined;
486
+ $userAgent?: string | undefined;
487
+ $city?: string | undefined;
488
+ $country?: string | undefined;
489
+ $continent?: string | undefined;
490
+ $latitude?: number | undefined;
491
+ $longitude?: number | undefined;
492
+ $timezone?: string | undefined;
493
+ $ip?: string | undefined;
494
+ $processedAt?: string | undefined;
495
+ $identityHash?: string | undefined;
496
+ }>>;
497
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
498
+ properties: T;
499
+ browserContext: z.ZodOptional<z.ZodObject<{
500
+ $locale: z.ZodString;
501
+ $location: z.ZodString;
502
+ $href: z.ZodString;
503
+ $pathname: z.ZodString;
504
+ $referrer: z.ZodString;
505
+ $screenDPI: z.ZodNumber;
506
+ $screenHeight: z.ZodNumber;
507
+ $screenWidth: z.ZodNumber;
508
+ $title: z.ZodString;
509
+ $userAgent: z.ZodString;
510
+ }, "strip", z.ZodTypeAny, {
511
+ $locale: string;
512
+ $location: string;
513
+ $href: string;
514
+ $pathname: string;
515
+ $referrer: string;
516
+ $screenDPI: number;
517
+ $screenHeight: number;
518
+ $screenWidth: number;
519
+ $title: string;
520
+ $userAgent: string;
521
+ }, {
522
+ $locale: string;
523
+ $location: string;
524
+ $href: string;
525
+ $pathname: string;
526
+ $referrer: string;
527
+ $screenDPI: number;
528
+ $screenHeight: number;
529
+ $screenWidth: number;
530
+ $title: string;
531
+ $userAgent: string;
532
+ }>>;
533
+ serverContext: z.ZodOptional<z.ZodObject<{
534
+ $city: z.ZodOptional<z.ZodString>;
535
+ $country: z.ZodOptional<z.ZodString>;
536
+ $continent: z.ZodOptional<z.ZodString>;
537
+ $latitude: z.ZodOptional<z.ZodNumber>;
538
+ $longitude: z.ZodOptional<z.ZodNumber>;
539
+ $timezone: z.ZodOptional<z.ZodString>;
540
+ $userAgent: z.ZodOptional<z.ZodString>;
541
+ $referrer: z.ZodOptional<z.ZodString>;
542
+ $ip: z.ZodOptional<z.ZodString>;
543
+ $processedAt: z.ZodOptional<z.ZodString>;
544
+ $identityHash: z.ZodOptional<z.ZodString>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ $referrer?: string | undefined;
547
+ $userAgent?: string | undefined;
548
+ $city?: string | undefined;
549
+ $country?: string | undefined;
550
+ $continent?: string | undefined;
551
+ $latitude?: number | undefined;
552
+ $longitude?: number | undefined;
553
+ $timezone?: string | undefined;
554
+ $ip?: string | undefined;
555
+ $processedAt?: string | undefined;
556
+ $identityHash?: string | undefined;
557
+ }, {
558
+ $referrer?: string | undefined;
559
+ $userAgent?: string | undefined;
560
+ $city?: string | undefined;
561
+ $country?: string | undefined;
562
+ $continent?: string | undefined;
563
+ $latitude?: number | undefined;
564
+ $longitude?: number | undefined;
565
+ $timezone?: string | undefined;
566
+ $ip?: string | undefined;
567
+ $processedAt?: string | undefined;
568
+ $identityHash?: string | undefined;
569
+ }>>;
570
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
571
+ properties: T;
572
+ browserContext: z.ZodOptional<z.ZodObject<{
573
+ $locale: z.ZodString;
574
+ $location: z.ZodString;
575
+ $href: z.ZodString;
576
+ $pathname: z.ZodString;
577
+ $referrer: z.ZodString;
578
+ $screenDPI: z.ZodNumber;
579
+ $screenHeight: z.ZodNumber;
580
+ $screenWidth: z.ZodNumber;
581
+ $title: z.ZodString;
582
+ $userAgent: z.ZodString;
583
+ }, "strip", z.ZodTypeAny, {
584
+ $locale: string;
585
+ $location: string;
586
+ $href: string;
587
+ $pathname: string;
588
+ $referrer: string;
589
+ $screenDPI: number;
590
+ $screenHeight: number;
591
+ $screenWidth: number;
592
+ $title: string;
593
+ $userAgent: string;
594
+ }, {
595
+ $locale: string;
596
+ $location: string;
597
+ $href: string;
598
+ $pathname: string;
599
+ $referrer: string;
600
+ $screenDPI: number;
601
+ $screenHeight: number;
602
+ $screenWidth: number;
603
+ $title: string;
604
+ $userAgent: string;
605
+ }>>;
606
+ serverContext: z.ZodOptional<z.ZodObject<{
607
+ $city: z.ZodOptional<z.ZodString>;
608
+ $country: z.ZodOptional<z.ZodString>;
609
+ $continent: z.ZodOptional<z.ZodString>;
610
+ $latitude: z.ZodOptional<z.ZodNumber>;
611
+ $longitude: z.ZodOptional<z.ZodNumber>;
612
+ $timezone: z.ZodOptional<z.ZodString>;
613
+ $userAgent: z.ZodOptional<z.ZodString>;
614
+ $referrer: z.ZodOptional<z.ZodString>;
615
+ $ip: z.ZodOptional<z.ZodString>;
616
+ $processedAt: z.ZodOptional<z.ZodString>;
617
+ $identityHash: z.ZodOptional<z.ZodString>;
618
+ }, "strip", z.ZodTypeAny, {
619
+ $referrer?: string | undefined;
620
+ $userAgent?: string | undefined;
621
+ $city?: string | undefined;
622
+ $country?: string | undefined;
623
+ $continent?: string | undefined;
624
+ $latitude?: number | undefined;
625
+ $longitude?: number | undefined;
626
+ $timezone?: string | undefined;
627
+ $ip?: string | undefined;
628
+ $processedAt?: string | undefined;
629
+ $identityHash?: string | undefined;
630
+ }, {
631
+ $referrer?: string | undefined;
632
+ $userAgent?: string | undefined;
633
+ $city?: string | undefined;
634
+ $country?: string | undefined;
635
+ $continent?: string | undefined;
636
+ $latitude?: number | undefined;
637
+ $longitude?: number | undefined;
638
+ $timezone?: string | undefined;
639
+ $ip?: string | undefined;
640
+ $processedAt?: string | undefined;
641
+ $identityHash?: string | undefined;
642
+ }>>;
643
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
644
+ properties: T;
645
+ browserContext: z.ZodOptional<z.ZodObject<{
646
+ $locale: z.ZodString;
647
+ $location: z.ZodString;
648
+ $href: z.ZodString;
649
+ $pathname: z.ZodString;
650
+ $referrer: z.ZodString;
651
+ $screenDPI: z.ZodNumber;
652
+ $screenHeight: z.ZodNumber;
653
+ $screenWidth: z.ZodNumber;
654
+ $title: z.ZodString;
655
+ $userAgent: z.ZodString;
656
+ }, "strip", z.ZodTypeAny, {
657
+ $locale: string;
658
+ $location: string;
659
+ $href: string;
660
+ $pathname: string;
661
+ $referrer: string;
662
+ $screenDPI: number;
663
+ $screenHeight: number;
664
+ $screenWidth: number;
665
+ $title: string;
666
+ $userAgent: string;
667
+ }, {
668
+ $locale: string;
669
+ $location: string;
670
+ $href: string;
671
+ $pathname: string;
672
+ $referrer: string;
673
+ $screenDPI: number;
674
+ $screenHeight: number;
675
+ $screenWidth: number;
676
+ $title: string;
677
+ $userAgent: string;
678
+ }>>;
679
+ serverContext: z.ZodOptional<z.ZodObject<{
680
+ $city: z.ZodOptional<z.ZodString>;
681
+ $country: z.ZodOptional<z.ZodString>;
682
+ $continent: z.ZodOptional<z.ZodString>;
683
+ $latitude: z.ZodOptional<z.ZodNumber>;
684
+ $longitude: z.ZodOptional<z.ZodNumber>;
685
+ $timezone: z.ZodOptional<z.ZodString>;
686
+ $userAgent: z.ZodOptional<z.ZodString>;
687
+ $referrer: z.ZodOptional<z.ZodString>;
688
+ $ip: z.ZodOptional<z.ZodString>;
689
+ $processedAt: z.ZodOptional<z.ZodString>;
690
+ $identityHash: z.ZodOptional<z.ZodString>;
691
+ }, "strip", z.ZodTypeAny, {
692
+ $referrer?: string | undefined;
693
+ $userAgent?: string | undefined;
694
+ $city?: string | undefined;
695
+ $country?: string | undefined;
696
+ $continent?: string | undefined;
697
+ $latitude?: number | undefined;
698
+ $longitude?: number | undefined;
699
+ $timezone?: string | undefined;
700
+ $ip?: string | undefined;
701
+ $processedAt?: string | undefined;
702
+ $identityHash?: string | undefined;
703
+ }, {
704
+ $referrer?: string | undefined;
705
+ $userAgent?: string | undefined;
706
+ $city?: string | undefined;
707
+ $country?: string | undefined;
708
+ $continent?: string | undefined;
709
+ $latitude?: number | undefined;
710
+ $longitude?: number | undefined;
711
+ $timezone?: string | undefined;
712
+ $ip?: string | undefined;
713
+ $processedAt?: string | undefined;
714
+ $identityHash?: string | undefined;
715
+ }>>;
716
+ }>]: z.baseObjectInputType<{
717
+ properties: T;
718
+ browserContext: z.ZodOptional<z.ZodObject<{
719
+ $locale: z.ZodString;
720
+ $location: z.ZodString;
721
+ $href: z.ZodString;
722
+ $pathname: z.ZodString;
723
+ $referrer: z.ZodString;
724
+ $screenDPI: z.ZodNumber;
725
+ $screenHeight: z.ZodNumber;
726
+ $screenWidth: z.ZodNumber;
727
+ $title: z.ZodString;
728
+ $userAgent: z.ZodString;
729
+ }, "strip", z.ZodTypeAny, {
730
+ $locale: string;
731
+ $location: string;
732
+ $href: string;
733
+ $pathname: string;
734
+ $referrer: string;
735
+ $screenDPI: number;
736
+ $screenHeight: number;
737
+ $screenWidth: number;
738
+ $title: string;
739
+ $userAgent: string;
740
+ }, {
741
+ $locale: string;
742
+ $location: string;
743
+ $href: string;
744
+ $pathname: string;
745
+ $referrer: string;
746
+ $screenDPI: number;
747
+ $screenHeight: number;
748
+ $screenWidth: number;
749
+ $title: string;
750
+ $userAgent: string;
751
+ }>>;
752
+ serverContext: z.ZodOptional<z.ZodObject<{
753
+ $city: z.ZodOptional<z.ZodString>;
754
+ $country: z.ZodOptional<z.ZodString>;
755
+ $continent: z.ZodOptional<z.ZodString>;
756
+ $latitude: z.ZodOptional<z.ZodNumber>;
757
+ $longitude: z.ZodOptional<z.ZodNumber>;
758
+ $timezone: z.ZodOptional<z.ZodString>;
759
+ $userAgent: z.ZodOptional<z.ZodString>;
760
+ $referrer: z.ZodOptional<z.ZodString>;
761
+ $ip: z.ZodOptional<z.ZodString>;
762
+ $processedAt: z.ZodOptional<z.ZodString>;
763
+ $identityHash: z.ZodOptional<z.ZodString>;
764
+ }, "strip", z.ZodTypeAny, {
765
+ $referrer?: string | undefined;
766
+ $userAgent?: string | undefined;
767
+ $city?: string | undefined;
768
+ $country?: string | undefined;
769
+ $continent?: string | undefined;
770
+ $latitude?: number | undefined;
771
+ $longitude?: number | undefined;
772
+ $timezone?: string | undefined;
773
+ $ip?: string | undefined;
774
+ $processedAt?: string | undefined;
775
+ $identityHash?: string | undefined;
776
+ }, {
777
+ $referrer?: string | undefined;
778
+ $userAgent?: string | undefined;
779
+ $city?: string | undefined;
780
+ $country?: string | undefined;
781
+ $continent?: string | undefined;
782
+ $latitude?: number | undefined;
783
+ $longitude?: number | undefined;
784
+ $timezone?: string | undefined;
785
+ $ip?: string | undefined;
786
+ $processedAt?: string | undefined;
787
+ $identityHash?: string | undefined;
788
+ }>>;
789
+ }>[k_1]; }>;
790
+ }>, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<z.objectUtil.extendShape<{
791
+ id: z.ZodString;
792
+ timestamp: z.ZodString;
793
+ projectId: z.ZodString;
794
+ version: z.ZodString;
795
+ type: z.ZodEnum<["SHORTLINK_REDIRECT"]>;
796
+ payload: z.ZodObject<{
797
+ browserContext: z.ZodOptional<z.ZodObject<{
798
+ $locale: z.ZodString;
799
+ $location: z.ZodString;
800
+ $href: z.ZodString;
801
+ $pathname: z.ZodString;
802
+ $referrer: z.ZodString;
803
+ $screenDPI: z.ZodNumber;
804
+ $screenHeight: z.ZodNumber;
805
+ $screenWidth: z.ZodNumber;
806
+ $title: z.ZodString;
807
+ $userAgent: z.ZodString;
808
+ }, "strip", z.ZodTypeAny, {
809
+ $locale: string;
810
+ $location: string;
811
+ $href: string;
812
+ $pathname: string;
813
+ $referrer: string;
814
+ $screenDPI: number;
815
+ $screenHeight: number;
816
+ $screenWidth: number;
817
+ $title: string;
818
+ $userAgent: string;
819
+ }, {
820
+ $locale: string;
821
+ $location: string;
822
+ $href: string;
823
+ $pathname: string;
824
+ $referrer: string;
825
+ $screenDPI: number;
826
+ $screenHeight: number;
827
+ $screenWidth: number;
828
+ $title: string;
829
+ $userAgent: string;
830
+ }>>;
831
+ serverContext: z.ZodOptional<z.ZodObject<{
832
+ $city: z.ZodOptional<z.ZodString>;
833
+ $country: z.ZodOptional<z.ZodString>;
834
+ $continent: z.ZodOptional<z.ZodString>;
835
+ $latitude: z.ZodOptional<z.ZodNumber>;
836
+ $longitude: z.ZodOptional<z.ZodNumber>;
837
+ $timezone: z.ZodOptional<z.ZodString>;
838
+ $userAgent: z.ZodOptional<z.ZodString>;
839
+ $referrer: z.ZodOptional<z.ZodString>;
840
+ $ip: z.ZodOptional<z.ZodString>;
841
+ $processedAt: z.ZodOptional<z.ZodString>;
842
+ $identityHash: z.ZodOptional<z.ZodString>;
843
+ }, "strip", z.ZodTypeAny, {
844
+ $referrer?: string | undefined;
845
+ $userAgent?: string | undefined;
846
+ $city?: string | undefined;
847
+ $country?: string | undefined;
848
+ $continent?: string | undefined;
849
+ $latitude?: number | undefined;
850
+ $longitude?: number | undefined;
851
+ $timezone?: string | undefined;
852
+ $ip?: string | undefined;
853
+ $processedAt?: string | undefined;
854
+ $identityHash?: string | undefined;
855
+ }, {
856
+ $referrer?: string | undefined;
857
+ $userAgent?: string | undefined;
858
+ $city?: string | undefined;
859
+ $country?: string | undefined;
860
+ $continent?: string | undefined;
861
+ $latitude?: number | undefined;
862
+ $longitude?: number | undefined;
863
+ $timezone?: string | undefined;
864
+ $ip?: string | undefined;
865
+ $processedAt?: string | undefined;
866
+ $identityHash?: string | undefined;
867
+ }>>;
868
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
869
+ }, "strip", z.ZodTypeAny, {
870
+ browserContext?: {
871
+ $locale: string;
872
+ $location: string;
873
+ $href: string;
874
+ $pathname: string;
875
+ $referrer: string;
876
+ $screenDPI: number;
877
+ $screenHeight: number;
878
+ $screenWidth: number;
879
+ $title: string;
880
+ $userAgent: string;
881
+ } | undefined;
882
+ serverContext?: {
883
+ $referrer?: string | undefined;
884
+ $userAgent?: string | undefined;
885
+ $city?: string | undefined;
886
+ $country?: string | undefined;
887
+ $continent?: string | undefined;
888
+ $latitude?: number | undefined;
889
+ $longitude?: number | undefined;
890
+ $timezone?: string | undefined;
891
+ $ip?: string | undefined;
892
+ $processedAt?: string | undefined;
893
+ $identityHash?: string | undefined;
894
+ } | undefined;
895
+ properties?: Record<string, any> | undefined;
896
+ }, {
897
+ browserContext?: {
898
+ $locale: string;
899
+ $location: string;
900
+ $href: string;
901
+ $pathname: string;
902
+ $referrer: string;
903
+ $screenDPI: number;
904
+ $screenHeight: number;
905
+ $screenWidth: number;
906
+ $title: string;
907
+ $userAgent: string;
908
+ } | undefined;
909
+ serverContext?: {
910
+ $referrer?: string | undefined;
911
+ $userAgent?: string | undefined;
912
+ $city?: string | undefined;
913
+ $country?: string | undefined;
914
+ $continent?: string | undefined;
915
+ $latitude?: number | undefined;
916
+ $longitude?: number | undefined;
917
+ $timezone?: string | undefined;
918
+ $ip?: string | undefined;
919
+ $processedAt?: string | undefined;
920
+ $identityHash?: string | undefined;
921
+ } | undefined;
922
+ properties?: Record<string, any> | undefined;
923
+ }>;
924
+ }, {
925
+ type: z.ZodLiteral<"SHORTLINK_REDIRECT">;
926
+ payload: z.ZodObject<{
927
+ properties: T;
928
+ browserContext: z.ZodOptional<z.ZodObject<{
929
+ $locale: z.ZodString;
930
+ $location: z.ZodString;
931
+ $href: z.ZodString;
932
+ $pathname: z.ZodString;
933
+ $referrer: z.ZodString;
934
+ $screenDPI: z.ZodNumber;
935
+ $screenHeight: z.ZodNumber;
936
+ $screenWidth: z.ZodNumber;
937
+ $title: z.ZodString;
938
+ $userAgent: z.ZodString;
939
+ }, "strip", z.ZodTypeAny, {
940
+ $locale: string;
941
+ $location: string;
942
+ $href: string;
943
+ $pathname: string;
944
+ $referrer: string;
945
+ $screenDPI: number;
946
+ $screenHeight: number;
947
+ $screenWidth: number;
948
+ $title: string;
949
+ $userAgent: string;
950
+ }, {
951
+ $locale: string;
952
+ $location: string;
953
+ $href: string;
954
+ $pathname: string;
955
+ $referrer: string;
956
+ $screenDPI: number;
957
+ $screenHeight: number;
958
+ $screenWidth: number;
959
+ $title: string;
960
+ $userAgent: string;
961
+ }>>;
962
+ serverContext: z.ZodOptional<z.ZodObject<{
963
+ $city: z.ZodOptional<z.ZodString>;
964
+ $country: z.ZodOptional<z.ZodString>;
965
+ $continent: z.ZodOptional<z.ZodString>;
966
+ $latitude: z.ZodOptional<z.ZodNumber>;
967
+ $longitude: z.ZodOptional<z.ZodNumber>;
968
+ $timezone: z.ZodOptional<z.ZodString>;
969
+ $userAgent: z.ZodOptional<z.ZodString>;
970
+ $referrer: z.ZodOptional<z.ZodString>;
971
+ $ip: z.ZodOptional<z.ZodString>;
972
+ $processedAt: z.ZodOptional<z.ZodString>;
973
+ $identityHash: z.ZodOptional<z.ZodString>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ $referrer?: string | undefined;
976
+ $userAgent?: string | undefined;
977
+ $city?: string | undefined;
978
+ $country?: string | undefined;
979
+ $continent?: string | undefined;
980
+ $latitude?: number | undefined;
981
+ $longitude?: number | undefined;
982
+ $timezone?: string | undefined;
983
+ $ip?: string | undefined;
984
+ $processedAt?: string | undefined;
985
+ $identityHash?: string | undefined;
986
+ }, {
987
+ $referrer?: string | undefined;
988
+ $userAgent?: string | undefined;
989
+ $city?: string | undefined;
990
+ $country?: string | undefined;
991
+ $continent?: string | undefined;
992
+ $latitude?: number | undefined;
993
+ $longitude?: number | undefined;
994
+ $timezone?: string | undefined;
995
+ $ip?: string | undefined;
996
+ $processedAt?: string | undefined;
997
+ $identityHash?: string | undefined;
998
+ }>>;
999
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
1000
+ properties: T;
1001
+ browserContext: z.ZodOptional<z.ZodObject<{
1002
+ $locale: z.ZodString;
1003
+ $location: z.ZodString;
1004
+ $href: z.ZodString;
1005
+ $pathname: z.ZodString;
1006
+ $referrer: z.ZodString;
1007
+ $screenDPI: z.ZodNumber;
1008
+ $screenHeight: z.ZodNumber;
1009
+ $screenWidth: z.ZodNumber;
1010
+ $title: z.ZodString;
1011
+ $userAgent: z.ZodString;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ $locale: string;
1014
+ $location: string;
1015
+ $href: string;
1016
+ $pathname: string;
1017
+ $referrer: string;
1018
+ $screenDPI: number;
1019
+ $screenHeight: number;
1020
+ $screenWidth: number;
1021
+ $title: string;
1022
+ $userAgent: string;
1023
+ }, {
1024
+ $locale: string;
1025
+ $location: string;
1026
+ $href: string;
1027
+ $pathname: string;
1028
+ $referrer: string;
1029
+ $screenDPI: number;
1030
+ $screenHeight: number;
1031
+ $screenWidth: number;
1032
+ $title: string;
1033
+ $userAgent: string;
1034
+ }>>;
1035
+ serverContext: z.ZodOptional<z.ZodObject<{
1036
+ $city: z.ZodOptional<z.ZodString>;
1037
+ $country: z.ZodOptional<z.ZodString>;
1038
+ $continent: z.ZodOptional<z.ZodString>;
1039
+ $latitude: z.ZodOptional<z.ZodNumber>;
1040
+ $longitude: z.ZodOptional<z.ZodNumber>;
1041
+ $timezone: z.ZodOptional<z.ZodString>;
1042
+ $userAgent: z.ZodOptional<z.ZodString>;
1043
+ $referrer: z.ZodOptional<z.ZodString>;
1044
+ $ip: z.ZodOptional<z.ZodString>;
1045
+ $processedAt: z.ZodOptional<z.ZodString>;
1046
+ $identityHash: z.ZodOptional<z.ZodString>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ $referrer?: string | undefined;
1049
+ $userAgent?: string | undefined;
1050
+ $city?: string | undefined;
1051
+ $country?: string | undefined;
1052
+ $continent?: string | undefined;
1053
+ $latitude?: number | undefined;
1054
+ $longitude?: number | undefined;
1055
+ $timezone?: string | undefined;
1056
+ $ip?: string | undefined;
1057
+ $processedAt?: string | undefined;
1058
+ $identityHash?: string | undefined;
1059
+ }, {
1060
+ $referrer?: string | undefined;
1061
+ $userAgent?: string | undefined;
1062
+ $city?: string | undefined;
1063
+ $country?: string | undefined;
1064
+ $continent?: string | undefined;
1065
+ $latitude?: number | undefined;
1066
+ $longitude?: number | undefined;
1067
+ $timezone?: string | undefined;
1068
+ $ip?: string | undefined;
1069
+ $processedAt?: string | undefined;
1070
+ $identityHash?: string | undefined;
1071
+ }>>;
1072
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
1073
+ properties: T;
1074
+ browserContext: z.ZodOptional<z.ZodObject<{
1075
+ $locale: z.ZodString;
1076
+ $location: z.ZodString;
1077
+ $href: z.ZodString;
1078
+ $pathname: z.ZodString;
1079
+ $referrer: z.ZodString;
1080
+ $screenDPI: z.ZodNumber;
1081
+ $screenHeight: z.ZodNumber;
1082
+ $screenWidth: z.ZodNumber;
1083
+ $title: z.ZodString;
1084
+ $userAgent: z.ZodString;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ $locale: string;
1087
+ $location: string;
1088
+ $href: string;
1089
+ $pathname: string;
1090
+ $referrer: string;
1091
+ $screenDPI: number;
1092
+ $screenHeight: number;
1093
+ $screenWidth: number;
1094
+ $title: string;
1095
+ $userAgent: string;
1096
+ }, {
1097
+ $locale: string;
1098
+ $location: string;
1099
+ $href: string;
1100
+ $pathname: string;
1101
+ $referrer: string;
1102
+ $screenDPI: number;
1103
+ $screenHeight: number;
1104
+ $screenWidth: number;
1105
+ $title: string;
1106
+ $userAgent: string;
1107
+ }>>;
1108
+ serverContext: z.ZodOptional<z.ZodObject<{
1109
+ $city: z.ZodOptional<z.ZodString>;
1110
+ $country: z.ZodOptional<z.ZodString>;
1111
+ $continent: z.ZodOptional<z.ZodString>;
1112
+ $latitude: z.ZodOptional<z.ZodNumber>;
1113
+ $longitude: z.ZodOptional<z.ZodNumber>;
1114
+ $timezone: z.ZodOptional<z.ZodString>;
1115
+ $userAgent: z.ZodOptional<z.ZodString>;
1116
+ $referrer: z.ZodOptional<z.ZodString>;
1117
+ $ip: z.ZodOptional<z.ZodString>;
1118
+ $processedAt: z.ZodOptional<z.ZodString>;
1119
+ $identityHash: z.ZodOptional<z.ZodString>;
1120
+ }, "strip", z.ZodTypeAny, {
1121
+ $referrer?: string | undefined;
1122
+ $userAgent?: string | undefined;
1123
+ $city?: string | undefined;
1124
+ $country?: string | undefined;
1125
+ $continent?: string | undefined;
1126
+ $latitude?: number | undefined;
1127
+ $longitude?: number | undefined;
1128
+ $timezone?: string | undefined;
1129
+ $ip?: string | undefined;
1130
+ $processedAt?: string | undefined;
1131
+ $identityHash?: string | undefined;
1132
+ }, {
1133
+ $referrer?: string | undefined;
1134
+ $userAgent?: string | undefined;
1135
+ $city?: string | undefined;
1136
+ $country?: string | undefined;
1137
+ $continent?: string | undefined;
1138
+ $latitude?: number | undefined;
1139
+ $longitude?: number | undefined;
1140
+ $timezone?: string | undefined;
1141
+ $ip?: string | undefined;
1142
+ $processedAt?: string | undefined;
1143
+ $identityHash?: string | undefined;
1144
+ }>>;
1145
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
1146
+ properties: T;
1147
+ browserContext: z.ZodOptional<z.ZodObject<{
1148
+ $locale: z.ZodString;
1149
+ $location: z.ZodString;
1150
+ $href: z.ZodString;
1151
+ $pathname: z.ZodString;
1152
+ $referrer: z.ZodString;
1153
+ $screenDPI: z.ZodNumber;
1154
+ $screenHeight: z.ZodNumber;
1155
+ $screenWidth: z.ZodNumber;
1156
+ $title: z.ZodString;
1157
+ $userAgent: z.ZodString;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ $locale: string;
1160
+ $location: string;
1161
+ $href: string;
1162
+ $pathname: string;
1163
+ $referrer: string;
1164
+ $screenDPI: number;
1165
+ $screenHeight: number;
1166
+ $screenWidth: number;
1167
+ $title: string;
1168
+ $userAgent: string;
1169
+ }, {
1170
+ $locale: string;
1171
+ $location: string;
1172
+ $href: string;
1173
+ $pathname: string;
1174
+ $referrer: string;
1175
+ $screenDPI: number;
1176
+ $screenHeight: number;
1177
+ $screenWidth: number;
1178
+ $title: string;
1179
+ $userAgent: string;
1180
+ }>>;
1181
+ serverContext: z.ZodOptional<z.ZodObject<{
1182
+ $city: z.ZodOptional<z.ZodString>;
1183
+ $country: z.ZodOptional<z.ZodString>;
1184
+ $continent: z.ZodOptional<z.ZodString>;
1185
+ $latitude: z.ZodOptional<z.ZodNumber>;
1186
+ $longitude: z.ZodOptional<z.ZodNumber>;
1187
+ $timezone: z.ZodOptional<z.ZodString>;
1188
+ $userAgent: z.ZodOptional<z.ZodString>;
1189
+ $referrer: z.ZodOptional<z.ZodString>;
1190
+ $ip: z.ZodOptional<z.ZodString>;
1191
+ $processedAt: z.ZodOptional<z.ZodString>;
1192
+ $identityHash: z.ZodOptional<z.ZodString>;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ $referrer?: string | undefined;
1195
+ $userAgent?: string | undefined;
1196
+ $city?: string | undefined;
1197
+ $country?: string | undefined;
1198
+ $continent?: string | undefined;
1199
+ $latitude?: number | undefined;
1200
+ $longitude?: number | undefined;
1201
+ $timezone?: string | undefined;
1202
+ $ip?: string | undefined;
1203
+ $processedAt?: string | undefined;
1204
+ $identityHash?: string | undefined;
1205
+ }, {
1206
+ $referrer?: string | undefined;
1207
+ $userAgent?: string | undefined;
1208
+ $city?: string | undefined;
1209
+ $country?: string | undefined;
1210
+ $continent?: string | undefined;
1211
+ $latitude?: number | undefined;
1212
+ $longitude?: number | undefined;
1213
+ $timezone?: string | undefined;
1214
+ $ip?: string | undefined;
1215
+ $processedAt?: string | undefined;
1216
+ $identityHash?: string | undefined;
1217
+ }>>;
1218
+ }>]: z.baseObjectInputType<{
1219
+ properties: T;
1220
+ browserContext: z.ZodOptional<z.ZodObject<{
1221
+ $locale: z.ZodString;
1222
+ $location: z.ZodString;
1223
+ $href: z.ZodString;
1224
+ $pathname: z.ZodString;
1225
+ $referrer: z.ZodString;
1226
+ $screenDPI: z.ZodNumber;
1227
+ $screenHeight: z.ZodNumber;
1228
+ $screenWidth: z.ZodNumber;
1229
+ $title: z.ZodString;
1230
+ $userAgent: z.ZodString;
1231
+ }, "strip", z.ZodTypeAny, {
1232
+ $locale: string;
1233
+ $location: string;
1234
+ $href: string;
1235
+ $pathname: string;
1236
+ $referrer: string;
1237
+ $screenDPI: number;
1238
+ $screenHeight: number;
1239
+ $screenWidth: number;
1240
+ $title: string;
1241
+ $userAgent: string;
1242
+ }, {
1243
+ $locale: string;
1244
+ $location: string;
1245
+ $href: string;
1246
+ $pathname: string;
1247
+ $referrer: string;
1248
+ $screenDPI: number;
1249
+ $screenHeight: number;
1250
+ $screenWidth: number;
1251
+ $title: string;
1252
+ $userAgent: string;
1253
+ }>>;
1254
+ serverContext: z.ZodOptional<z.ZodObject<{
1255
+ $city: z.ZodOptional<z.ZodString>;
1256
+ $country: z.ZodOptional<z.ZodString>;
1257
+ $continent: z.ZodOptional<z.ZodString>;
1258
+ $latitude: z.ZodOptional<z.ZodNumber>;
1259
+ $longitude: z.ZodOptional<z.ZodNumber>;
1260
+ $timezone: z.ZodOptional<z.ZodString>;
1261
+ $userAgent: z.ZodOptional<z.ZodString>;
1262
+ $referrer: z.ZodOptional<z.ZodString>;
1263
+ $ip: z.ZodOptional<z.ZodString>;
1264
+ $processedAt: z.ZodOptional<z.ZodString>;
1265
+ $identityHash: z.ZodOptional<z.ZodString>;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ $referrer?: string | undefined;
1268
+ $userAgent?: string | undefined;
1269
+ $city?: string | undefined;
1270
+ $country?: string | undefined;
1271
+ $continent?: string | undefined;
1272
+ $latitude?: number | undefined;
1273
+ $longitude?: number | undefined;
1274
+ $timezone?: string | undefined;
1275
+ $ip?: string | undefined;
1276
+ $processedAt?: string | undefined;
1277
+ $identityHash?: string | undefined;
1278
+ }, {
1279
+ $referrer?: string | undefined;
1280
+ $userAgent?: string | undefined;
1281
+ $city?: string | undefined;
1282
+ $country?: string | undefined;
1283
+ $continent?: string | undefined;
1284
+ $latitude?: number | undefined;
1285
+ $longitude?: number | undefined;
1286
+ $timezone?: string | undefined;
1287
+ $ip?: string | undefined;
1288
+ $processedAt?: string | undefined;
1289
+ $identityHash?: string | undefined;
1290
+ }>>;
1291
+ }>[k_1]; }>;
1292
+ }>>, any> extends infer T_1 ? { [k_2 in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<z.objectUtil.extendShape<{
1293
+ id: z.ZodString;
1294
+ timestamp: z.ZodString;
1295
+ projectId: z.ZodString;
1296
+ version: z.ZodString;
1297
+ type: z.ZodEnum<["SHORTLINK_REDIRECT"]>;
1298
+ payload: z.ZodObject<{
1299
+ browserContext: z.ZodOptional<z.ZodObject<{
1300
+ $locale: z.ZodString;
1301
+ $location: z.ZodString;
1302
+ $href: z.ZodString;
1303
+ $pathname: z.ZodString;
1304
+ $referrer: z.ZodString;
1305
+ $screenDPI: z.ZodNumber;
1306
+ $screenHeight: z.ZodNumber;
1307
+ $screenWidth: z.ZodNumber;
1308
+ $title: z.ZodString;
1309
+ $userAgent: z.ZodString;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ $locale: string;
1312
+ $location: string;
1313
+ $href: string;
1314
+ $pathname: string;
1315
+ $referrer: string;
1316
+ $screenDPI: number;
1317
+ $screenHeight: number;
1318
+ $screenWidth: number;
1319
+ $title: string;
1320
+ $userAgent: string;
1321
+ }, {
1322
+ $locale: string;
1323
+ $location: string;
1324
+ $href: string;
1325
+ $pathname: string;
1326
+ $referrer: string;
1327
+ $screenDPI: number;
1328
+ $screenHeight: number;
1329
+ $screenWidth: number;
1330
+ $title: string;
1331
+ $userAgent: string;
1332
+ }>>;
1333
+ serverContext: z.ZodOptional<z.ZodObject<{
1334
+ $city: z.ZodOptional<z.ZodString>;
1335
+ $country: z.ZodOptional<z.ZodString>;
1336
+ $continent: z.ZodOptional<z.ZodString>;
1337
+ $latitude: z.ZodOptional<z.ZodNumber>;
1338
+ $longitude: z.ZodOptional<z.ZodNumber>;
1339
+ $timezone: z.ZodOptional<z.ZodString>;
1340
+ $userAgent: z.ZodOptional<z.ZodString>;
1341
+ $referrer: z.ZodOptional<z.ZodString>;
1342
+ $ip: z.ZodOptional<z.ZodString>;
1343
+ $processedAt: z.ZodOptional<z.ZodString>;
1344
+ $identityHash: z.ZodOptional<z.ZodString>;
1345
+ }, "strip", z.ZodTypeAny, {
1346
+ $referrer?: string | undefined;
1347
+ $userAgent?: string | undefined;
1348
+ $city?: string | undefined;
1349
+ $country?: string | undefined;
1350
+ $continent?: string | undefined;
1351
+ $latitude?: number | undefined;
1352
+ $longitude?: number | undefined;
1353
+ $timezone?: string | undefined;
1354
+ $ip?: string | undefined;
1355
+ $processedAt?: string | undefined;
1356
+ $identityHash?: string | undefined;
1357
+ }, {
1358
+ $referrer?: string | undefined;
1359
+ $userAgent?: string | undefined;
1360
+ $city?: string | undefined;
1361
+ $country?: string | undefined;
1362
+ $continent?: string | undefined;
1363
+ $latitude?: number | undefined;
1364
+ $longitude?: number | undefined;
1365
+ $timezone?: string | undefined;
1366
+ $ip?: string | undefined;
1367
+ $processedAt?: string | undefined;
1368
+ $identityHash?: string | undefined;
1369
+ }>>;
1370
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ browserContext?: {
1373
+ $locale: string;
1374
+ $location: string;
1375
+ $href: string;
1376
+ $pathname: string;
1377
+ $referrer: string;
1378
+ $screenDPI: number;
1379
+ $screenHeight: number;
1380
+ $screenWidth: number;
1381
+ $title: string;
1382
+ $userAgent: string;
1383
+ } | undefined;
1384
+ serverContext?: {
1385
+ $referrer?: string | undefined;
1386
+ $userAgent?: string | undefined;
1387
+ $city?: string | undefined;
1388
+ $country?: string | undefined;
1389
+ $continent?: string | undefined;
1390
+ $latitude?: number | undefined;
1391
+ $longitude?: number | undefined;
1392
+ $timezone?: string | undefined;
1393
+ $ip?: string | undefined;
1394
+ $processedAt?: string | undefined;
1395
+ $identityHash?: string | undefined;
1396
+ } | undefined;
1397
+ properties?: Record<string, any> | undefined;
1398
+ }, {
1399
+ browserContext?: {
1400
+ $locale: string;
1401
+ $location: string;
1402
+ $href: string;
1403
+ $pathname: string;
1404
+ $referrer: string;
1405
+ $screenDPI: number;
1406
+ $screenHeight: number;
1407
+ $screenWidth: number;
1408
+ $title: string;
1409
+ $userAgent: string;
1410
+ } | undefined;
1411
+ serverContext?: {
1412
+ $referrer?: string | undefined;
1413
+ $userAgent?: string | undefined;
1414
+ $city?: string | undefined;
1415
+ $country?: string | undefined;
1416
+ $continent?: string | undefined;
1417
+ $latitude?: number | undefined;
1418
+ $longitude?: number | undefined;
1419
+ $timezone?: string | undefined;
1420
+ $ip?: string | undefined;
1421
+ $processedAt?: string | undefined;
1422
+ $identityHash?: string | undefined;
1423
+ } | undefined;
1424
+ properties?: Record<string, any> | undefined;
1425
+ }>;
1426
+ }, {
1427
+ type: z.ZodLiteral<"SHORTLINK_REDIRECT">;
1428
+ payload: z.ZodObject<{
1429
+ properties: T;
1430
+ browserContext: z.ZodOptional<z.ZodObject<{
1431
+ $locale: z.ZodString;
1432
+ $location: z.ZodString;
1433
+ $href: z.ZodString;
1434
+ $pathname: z.ZodString;
1435
+ $referrer: z.ZodString;
1436
+ $screenDPI: z.ZodNumber;
1437
+ $screenHeight: z.ZodNumber;
1438
+ $screenWidth: z.ZodNumber;
1439
+ $title: z.ZodString;
1440
+ $userAgent: z.ZodString;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ $locale: string;
1443
+ $location: string;
1444
+ $href: string;
1445
+ $pathname: string;
1446
+ $referrer: string;
1447
+ $screenDPI: number;
1448
+ $screenHeight: number;
1449
+ $screenWidth: number;
1450
+ $title: string;
1451
+ $userAgent: string;
1452
+ }, {
1453
+ $locale: string;
1454
+ $location: string;
1455
+ $href: string;
1456
+ $pathname: string;
1457
+ $referrer: string;
1458
+ $screenDPI: number;
1459
+ $screenHeight: number;
1460
+ $screenWidth: number;
1461
+ $title: string;
1462
+ $userAgent: string;
1463
+ }>>;
1464
+ serverContext: z.ZodOptional<z.ZodObject<{
1465
+ $city: z.ZodOptional<z.ZodString>;
1466
+ $country: z.ZodOptional<z.ZodString>;
1467
+ $continent: z.ZodOptional<z.ZodString>;
1468
+ $latitude: z.ZodOptional<z.ZodNumber>;
1469
+ $longitude: z.ZodOptional<z.ZodNumber>;
1470
+ $timezone: z.ZodOptional<z.ZodString>;
1471
+ $userAgent: z.ZodOptional<z.ZodString>;
1472
+ $referrer: z.ZodOptional<z.ZodString>;
1473
+ $ip: z.ZodOptional<z.ZodString>;
1474
+ $processedAt: z.ZodOptional<z.ZodString>;
1475
+ $identityHash: z.ZodOptional<z.ZodString>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ $referrer?: string | undefined;
1478
+ $userAgent?: string | undefined;
1479
+ $city?: string | undefined;
1480
+ $country?: string | undefined;
1481
+ $continent?: string | undefined;
1482
+ $latitude?: number | undefined;
1483
+ $longitude?: number | undefined;
1484
+ $timezone?: string | undefined;
1485
+ $ip?: string | undefined;
1486
+ $processedAt?: string | undefined;
1487
+ $identityHash?: string | undefined;
1488
+ }, {
1489
+ $referrer?: string | undefined;
1490
+ $userAgent?: string | undefined;
1491
+ $city?: string | undefined;
1492
+ $country?: string | undefined;
1493
+ $continent?: string | undefined;
1494
+ $latitude?: number | undefined;
1495
+ $longitude?: number | undefined;
1496
+ $timezone?: string | undefined;
1497
+ $ip?: string | undefined;
1498
+ $processedAt?: string | undefined;
1499
+ $identityHash?: string | undefined;
1500
+ }>>;
1501
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
1502
+ properties: T;
1503
+ browserContext: z.ZodOptional<z.ZodObject<{
1504
+ $locale: z.ZodString;
1505
+ $location: z.ZodString;
1506
+ $href: z.ZodString;
1507
+ $pathname: z.ZodString;
1508
+ $referrer: z.ZodString;
1509
+ $screenDPI: z.ZodNumber;
1510
+ $screenHeight: z.ZodNumber;
1511
+ $screenWidth: z.ZodNumber;
1512
+ $title: z.ZodString;
1513
+ $userAgent: z.ZodString;
1514
+ }, "strip", z.ZodTypeAny, {
1515
+ $locale: string;
1516
+ $location: string;
1517
+ $href: string;
1518
+ $pathname: string;
1519
+ $referrer: string;
1520
+ $screenDPI: number;
1521
+ $screenHeight: number;
1522
+ $screenWidth: number;
1523
+ $title: string;
1524
+ $userAgent: string;
1525
+ }, {
1526
+ $locale: string;
1527
+ $location: string;
1528
+ $href: string;
1529
+ $pathname: string;
1530
+ $referrer: string;
1531
+ $screenDPI: number;
1532
+ $screenHeight: number;
1533
+ $screenWidth: number;
1534
+ $title: string;
1535
+ $userAgent: string;
1536
+ }>>;
1537
+ serverContext: z.ZodOptional<z.ZodObject<{
1538
+ $city: z.ZodOptional<z.ZodString>;
1539
+ $country: z.ZodOptional<z.ZodString>;
1540
+ $continent: z.ZodOptional<z.ZodString>;
1541
+ $latitude: z.ZodOptional<z.ZodNumber>;
1542
+ $longitude: z.ZodOptional<z.ZodNumber>;
1543
+ $timezone: z.ZodOptional<z.ZodString>;
1544
+ $userAgent: z.ZodOptional<z.ZodString>;
1545
+ $referrer: z.ZodOptional<z.ZodString>;
1546
+ $ip: z.ZodOptional<z.ZodString>;
1547
+ $processedAt: z.ZodOptional<z.ZodString>;
1548
+ $identityHash: z.ZodOptional<z.ZodString>;
1549
+ }, "strip", z.ZodTypeAny, {
1550
+ $referrer?: string | undefined;
1551
+ $userAgent?: string | undefined;
1552
+ $city?: string | undefined;
1553
+ $country?: string | undefined;
1554
+ $continent?: string | undefined;
1555
+ $latitude?: number | undefined;
1556
+ $longitude?: number | undefined;
1557
+ $timezone?: string | undefined;
1558
+ $ip?: string | undefined;
1559
+ $processedAt?: string | undefined;
1560
+ $identityHash?: string | undefined;
1561
+ }, {
1562
+ $referrer?: string | undefined;
1563
+ $userAgent?: string | undefined;
1564
+ $city?: string | undefined;
1565
+ $country?: string | undefined;
1566
+ $continent?: string | undefined;
1567
+ $latitude?: number | undefined;
1568
+ $longitude?: number | undefined;
1569
+ $timezone?: string | undefined;
1570
+ $ip?: string | undefined;
1571
+ $processedAt?: string | undefined;
1572
+ $identityHash?: string | undefined;
1573
+ }>>;
1574
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
1575
+ properties: T;
1576
+ browserContext: z.ZodOptional<z.ZodObject<{
1577
+ $locale: z.ZodString;
1578
+ $location: z.ZodString;
1579
+ $href: z.ZodString;
1580
+ $pathname: z.ZodString;
1581
+ $referrer: z.ZodString;
1582
+ $screenDPI: z.ZodNumber;
1583
+ $screenHeight: z.ZodNumber;
1584
+ $screenWidth: z.ZodNumber;
1585
+ $title: z.ZodString;
1586
+ $userAgent: z.ZodString;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ $locale: string;
1589
+ $location: string;
1590
+ $href: string;
1591
+ $pathname: string;
1592
+ $referrer: string;
1593
+ $screenDPI: number;
1594
+ $screenHeight: number;
1595
+ $screenWidth: number;
1596
+ $title: string;
1597
+ $userAgent: string;
1598
+ }, {
1599
+ $locale: string;
1600
+ $location: string;
1601
+ $href: string;
1602
+ $pathname: string;
1603
+ $referrer: string;
1604
+ $screenDPI: number;
1605
+ $screenHeight: number;
1606
+ $screenWidth: number;
1607
+ $title: string;
1608
+ $userAgent: string;
1609
+ }>>;
1610
+ serverContext: z.ZodOptional<z.ZodObject<{
1611
+ $city: z.ZodOptional<z.ZodString>;
1612
+ $country: z.ZodOptional<z.ZodString>;
1613
+ $continent: z.ZodOptional<z.ZodString>;
1614
+ $latitude: z.ZodOptional<z.ZodNumber>;
1615
+ $longitude: z.ZodOptional<z.ZodNumber>;
1616
+ $timezone: z.ZodOptional<z.ZodString>;
1617
+ $userAgent: z.ZodOptional<z.ZodString>;
1618
+ $referrer: z.ZodOptional<z.ZodString>;
1619
+ $ip: z.ZodOptional<z.ZodString>;
1620
+ $processedAt: z.ZodOptional<z.ZodString>;
1621
+ $identityHash: z.ZodOptional<z.ZodString>;
1622
+ }, "strip", z.ZodTypeAny, {
1623
+ $referrer?: string | undefined;
1624
+ $userAgent?: string | undefined;
1625
+ $city?: string | undefined;
1626
+ $country?: string | undefined;
1627
+ $continent?: string | undefined;
1628
+ $latitude?: number | undefined;
1629
+ $longitude?: number | undefined;
1630
+ $timezone?: string | undefined;
1631
+ $ip?: string | undefined;
1632
+ $processedAt?: string | undefined;
1633
+ $identityHash?: string | undefined;
1634
+ }, {
1635
+ $referrer?: string | undefined;
1636
+ $userAgent?: string | undefined;
1637
+ $city?: string | undefined;
1638
+ $country?: string | undefined;
1639
+ $continent?: string | undefined;
1640
+ $latitude?: number | undefined;
1641
+ $longitude?: number | undefined;
1642
+ $timezone?: string | undefined;
1643
+ $ip?: string | undefined;
1644
+ $processedAt?: string | undefined;
1645
+ $identityHash?: string | undefined;
1646
+ }>>;
1647
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
1648
+ properties: T;
1649
+ browserContext: z.ZodOptional<z.ZodObject<{
1650
+ $locale: z.ZodString;
1651
+ $location: z.ZodString;
1652
+ $href: z.ZodString;
1653
+ $pathname: z.ZodString;
1654
+ $referrer: z.ZodString;
1655
+ $screenDPI: z.ZodNumber;
1656
+ $screenHeight: z.ZodNumber;
1657
+ $screenWidth: z.ZodNumber;
1658
+ $title: z.ZodString;
1659
+ $userAgent: z.ZodString;
1660
+ }, "strip", z.ZodTypeAny, {
1661
+ $locale: string;
1662
+ $location: string;
1663
+ $href: string;
1664
+ $pathname: string;
1665
+ $referrer: string;
1666
+ $screenDPI: number;
1667
+ $screenHeight: number;
1668
+ $screenWidth: number;
1669
+ $title: string;
1670
+ $userAgent: string;
1671
+ }, {
1672
+ $locale: string;
1673
+ $location: string;
1674
+ $href: string;
1675
+ $pathname: string;
1676
+ $referrer: string;
1677
+ $screenDPI: number;
1678
+ $screenHeight: number;
1679
+ $screenWidth: number;
1680
+ $title: string;
1681
+ $userAgent: string;
1682
+ }>>;
1683
+ serverContext: z.ZodOptional<z.ZodObject<{
1684
+ $city: z.ZodOptional<z.ZodString>;
1685
+ $country: z.ZodOptional<z.ZodString>;
1686
+ $continent: z.ZodOptional<z.ZodString>;
1687
+ $latitude: z.ZodOptional<z.ZodNumber>;
1688
+ $longitude: z.ZodOptional<z.ZodNumber>;
1689
+ $timezone: z.ZodOptional<z.ZodString>;
1690
+ $userAgent: z.ZodOptional<z.ZodString>;
1691
+ $referrer: z.ZodOptional<z.ZodString>;
1692
+ $ip: z.ZodOptional<z.ZodString>;
1693
+ $processedAt: z.ZodOptional<z.ZodString>;
1694
+ $identityHash: z.ZodOptional<z.ZodString>;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ $referrer?: string | undefined;
1697
+ $userAgent?: string | undefined;
1698
+ $city?: string | undefined;
1699
+ $country?: string | undefined;
1700
+ $continent?: string | undefined;
1701
+ $latitude?: number | undefined;
1702
+ $longitude?: number | undefined;
1703
+ $timezone?: string | undefined;
1704
+ $ip?: string | undefined;
1705
+ $processedAt?: string | undefined;
1706
+ $identityHash?: string | undefined;
1707
+ }, {
1708
+ $referrer?: string | undefined;
1709
+ $userAgent?: string | undefined;
1710
+ $city?: string | undefined;
1711
+ $country?: string | undefined;
1712
+ $continent?: string | undefined;
1713
+ $latitude?: number | undefined;
1714
+ $longitude?: number | undefined;
1715
+ $timezone?: string | undefined;
1716
+ $ip?: string | undefined;
1717
+ $processedAt?: string | undefined;
1718
+ $identityHash?: string | undefined;
1719
+ }>>;
1720
+ }>]: z.baseObjectInputType<{
1721
+ properties: T;
1722
+ browserContext: z.ZodOptional<z.ZodObject<{
1723
+ $locale: z.ZodString;
1724
+ $location: z.ZodString;
1725
+ $href: z.ZodString;
1726
+ $pathname: z.ZodString;
1727
+ $referrer: z.ZodString;
1728
+ $screenDPI: z.ZodNumber;
1729
+ $screenHeight: z.ZodNumber;
1730
+ $screenWidth: z.ZodNumber;
1731
+ $title: z.ZodString;
1732
+ $userAgent: z.ZodString;
1733
+ }, "strip", z.ZodTypeAny, {
1734
+ $locale: string;
1735
+ $location: string;
1736
+ $href: string;
1737
+ $pathname: string;
1738
+ $referrer: string;
1739
+ $screenDPI: number;
1740
+ $screenHeight: number;
1741
+ $screenWidth: number;
1742
+ $title: string;
1743
+ $userAgent: string;
1744
+ }, {
1745
+ $locale: string;
1746
+ $location: string;
1747
+ $href: string;
1748
+ $pathname: string;
1749
+ $referrer: string;
1750
+ $screenDPI: number;
1751
+ $screenHeight: number;
1752
+ $screenWidth: number;
1753
+ $title: string;
1754
+ $userAgent: string;
1755
+ }>>;
1756
+ serverContext: z.ZodOptional<z.ZodObject<{
1757
+ $city: z.ZodOptional<z.ZodString>;
1758
+ $country: z.ZodOptional<z.ZodString>;
1759
+ $continent: z.ZodOptional<z.ZodString>;
1760
+ $latitude: z.ZodOptional<z.ZodNumber>;
1761
+ $longitude: z.ZodOptional<z.ZodNumber>;
1762
+ $timezone: z.ZodOptional<z.ZodString>;
1763
+ $userAgent: z.ZodOptional<z.ZodString>;
1764
+ $referrer: z.ZodOptional<z.ZodString>;
1765
+ $ip: z.ZodOptional<z.ZodString>;
1766
+ $processedAt: z.ZodOptional<z.ZodString>;
1767
+ $identityHash: z.ZodOptional<z.ZodString>;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ $referrer?: string | undefined;
1770
+ $userAgent?: string | undefined;
1771
+ $city?: string | undefined;
1772
+ $country?: string | undefined;
1773
+ $continent?: string | undefined;
1774
+ $latitude?: number | undefined;
1775
+ $longitude?: number | undefined;
1776
+ $timezone?: string | undefined;
1777
+ $ip?: string | undefined;
1778
+ $processedAt?: string | undefined;
1779
+ $identityHash?: string | undefined;
1780
+ }, {
1781
+ $referrer?: string | undefined;
1782
+ $userAgent?: string | undefined;
1783
+ $city?: string | undefined;
1784
+ $country?: string | undefined;
1785
+ $continent?: string | undefined;
1786
+ $latitude?: number | undefined;
1787
+ $longitude?: number | undefined;
1788
+ $timezone?: string | undefined;
1789
+ $ip?: string | undefined;
1790
+ $processedAt?: string | undefined;
1791
+ $identityHash?: string | undefined;
1792
+ }>>;
1793
+ }>[k_1]; }>;
1794
+ }>>, any>[k_2]; } : never, z.baseObjectInputType<z.objectUtil.extendShape<{
1795
+ id: z.ZodString;
1796
+ timestamp: z.ZodString;
1797
+ projectId: z.ZodString;
1798
+ version: z.ZodString;
1799
+ type: z.ZodEnum<["SHORTLINK_REDIRECT"]>;
1800
+ payload: z.ZodObject<{
1801
+ browserContext: z.ZodOptional<z.ZodObject<{
1802
+ $locale: z.ZodString;
1803
+ $location: z.ZodString;
1804
+ $href: z.ZodString;
1805
+ $pathname: z.ZodString;
1806
+ $referrer: z.ZodString;
1807
+ $screenDPI: z.ZodNumber;
1808
+ $screenHeight: z.ZodNumber;
1809
+ $screenWidth: z.ZodNumber;
1810
+ $title: z.ZodString;
1811
+ $userAgent: z.ZodString;
1812
+ }, "strip", z.ZodTypeAny, {
1813
+ $locale: string;
1814
+ $location: string;
1815
+ $href: string;
1816
+ $pathname: string;
1817
+ $referrer: string;
1818
+ $screenDPI: number;
1819
+ $screenHeight: number;
1820
+ $screenWidth: number;
1821
+ $title: string;
1822
+ $userAgent: string;
1823
+ }, {
1824
+ $locale: string;
1825
+ $location: string;
1826
+ $href: string;
1827
+ $pathname: string;
1828
+ $referrer: string;
1829
+ $screenDPI: number;
1830
+ $screenHeight: number;
1831
+ $screenWidth: number;
1832
+ $title: string;
1833
+ $userAgent: string;
1834
+ }>>;
1835
+ serverContext: z.ZodOptional<z.ZodObject<{
1836
+ $city: z.ZodOptional<z.ZodString>;
1837
+ $country: z.ZodOptional<z.ZodString>;
1838
+ $continent: z.ZodOptional<z.ZodString>;
1839
+ $latitude: z.ZodOptional<z.ZodNumber>;
1840
+ $longitude: z.ZodOptional<z.ZodNumber>;
1841
+ $timezone: z.ZodOptional<z.ZodString>;
1842
+ $userAgent: z.ZodOptional<z.ZodString>;
1843
+ $referrer: z.ZodOptional<z.ZodString>;
1844
+ $ip: z.ZodOptional<z.ZodString>;
1845
+ $processedAt: z.ZodOptional<z.ZodString>;
1846
+ $identityHash: z.ZodOptional<z.ZodString>;
1847
+ }, "strip", z.ZodTypeAny, {
1848
+ $referrer?: string | undefined;
1849
+ $userAgent?: string | undefined;
1850
+ $city?: string | undefined;
1851
+ $country?: string | undefined;
1852
+ $continent?: string | undefined;
1853
+ $latitude?: number | undefined;
1854
+ $longitude?: number | undefined;
1855
+ $timezone?: string | undefined;
1856
+ $ip?: string | undefined;
1857
+ $processedAt?: string | undefined;
1858
+ $identityHash?: string | undefined;
1859
+ }, {
1860
+ $referrer?: string | undefined;
1861
+ $userAgent?: string | undefined;
1862
+ $city?: string | undefined;
1863
+ $country?: string | undefined;
1864
+ $continent?: string | undefined;
1865
+ $latitude?: number | undefined;
1866
+ $longitude?: number | undefined;
1867
+ $timezone?: string | undefined;
1868
+ $ip?: string | undefined;
1869
+ $processedAt?: string | undefined;
1870
+ $identityHash?: string | undefined;
1871
+ }>>;
1872
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1873
+ }, "strip", z.ZodTypeAny, {
1874
+ browserContext?: {
1875
+ $locale: string;
1876
+ $location: string;
1877
+ $href: string;
1878
+ $pathname: string;
1879
+ $referrer: string;
1880
+ $screenDPI: number;
1881
+ $screenHeight: number;
1882
+ $screenWidth: number;
1883
+ $title: string;
1884
+ $userAgent: string;
1885
+ } | undefined;
1886
+ serverContext?: {
1887
+ $referrer?: string | undefined;
1888
+ $userAgent?: string | undefined;
1889
+ $city?: string | undefined;
1890
+ $country?: string | undefined;
1891
+ $continent?: string | undefined;
1892
+ $latitude?: number | undefined;
1893
+ $longitude?: number | undefined;
1894
+ $timezone?: string | undefined;
1895
+ $ip?: string | undefined;
1896
+ $processedAt?: string | undefined;
1897
+ $identityHash?: string | undefined;
1898
+ } | undefined;
1899
+ properties?: Record<string, any> | undefined;
1900
+ }, {
1901
+ browserContext?: {
1902
+ $locale: string;
1903
+ $location: string;
1904
+ $href: string;
1905
+ $pathname: string;
1906
+ $referrer: string;
1907
+ $screenDPI: number;
1908
+ $screenHeight: number;
1909
+ $screenWidth: number;
1910
+ $title: string;
1911
+ $userAgent: string;
1912
+ } | undefined;
1913
+ serverContext?: {
1914
+ $referrer?: string | undefined;
1915
+ $userAgent?: string | undefined;
1916
+ $city?: string | undefined;
1917
+ $country?: string | undefined;
1918
+ $continent?: string | undefined;
1919
+ $latitude?: number | undefined;
1920
+ $longitude?: number | undefined;
1921
+ $timezone?: string | undefined;
1922
+ $ip?: string | undefined;
1923
+ $processedAt?: string | undefined;
1924
+ $identityHash?: string | undefined;
1925
+ } | undefined;
1926
+ properties?: Record<string, any> | undefined;
1927
+ }>;
1928
+ }, {
1929
+ type: z.ZodLiteral<"SHORTLINK_REDIRECT">;
1930
+ payload: z.ZodObject<{
1931
+ properties: T;
1932
+ browserContext: z.ZodOptional<z.ZodObject<{
1933
+ $locale: z.ZodString;
1934
+ $location: z.ZodString;
1935
+ $href: z.ZodString;
1936
+ $pathname: z.ZodString;
1937
+ $referrer: z.ZodString;
1938
+ $screenDPI: z.ZodNumber;
1939
+ $screenHeight: z.ZodNumber;
1940
+ $screenWidth: z.ZodNumber;
1941
+ $title: z.ZodString;
1942
+ $userAgent: z.ZodString;
1943
+ }, "strip", z.ZodTypeAny, {
1944
+ $locale: string;
1945
+ $location: string;
1946
+ $href: string;
1947
+ $pathname: string;
1948
+ $referrer: string;
1949
+ $screenDPI: number;
1950
+ $screenHeight: number;
1951
+ $screenWidth: number;
1952
+ $title: string;
1953
+ $userAgent: string;
1954
+ }, {
1955
+ $locale: string;
1956
+ $location: string;
1957
+ $href: string;
1958
+ $pathname: string;
1959
+ $referrer: string;
1960
+ $screenDPI: number;
1961
+ $screenHeight: number;
1962
+ $screenWidth: number;
1963
+ $title: string;
1964
+ $userAgent: string;
1965
+ }>>;
1966
+ serverContext: z.ZodOptional<z.ZodObject<{
1967
+ $city: z.ZodOptional<z.ZodString>;
1968
+ $country: z.ZodOptional<z.ZodString>;
1969
+ $continent: z.ZodOptional<z.ZodString>;
1970
+ $latitude: z.ZodOptional<z.ZodNumber>;
1971
+ $longitude: z.ZodOptional<z.ZodNumber>;
1972
+ $timezone: z.ZodOptional<z.ZodString>;
1973
+ $userAgent: z.ZodOptional<z.ZodString>;
1974
+ $referrer: z.ZodOptional<z.ZodString>;
1975
+ $ip: z.ZodOptional<z.ZodString>;
1976
+ $processedAt: z.ZodOptional<z.ZodString>;
1977
+ $identityHash: z.ZodOptional<z.ZodString>;
1978
+ }, "strip", z.ZodTypeAny, {
1979
+ $referrer?: string | undefined;
1980
+ $userAgent?: string | undefined;
1981
+ $city?: string | undefined;
1982
+ $country?: string | undefined;
1983
+ $continent?: string | undefined;
1984
+ $latitude?: number | undefined;
1985
+ $longitude?: number | undefined;
1986
+ $timezone?: string | undefined;
1987
+ $ip?: string | undefined;
1988
+ $processedAt?: string | undefined;
1989
+ $identityHash?: string | undefined;
1990
+ }, {
1991
+ $referrer?: string | undefined;
1992
+ $userAgent?: string | undefined;
1993
+ $city?: string | undefined;
1994
+ $country?: string | undefined;
1995
+ $continent?: string | undefined;
1996
+ $latitude?: number | undefined;
1997
+ $longitude?: number | undefined;
1998
+ $timezone?: string | undefined;
1999
+ $ip?: string | undefined;
2000
+ $processedAt?: string | undefined;
2001
+ $identityHash?: string | undefined;
2002
+ }>>;
2003
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2004
+ properties: T;
2005
+ browserContext: z.ZodOptional<z.ZodObject<{
2006
+ $locale: z.ZodString;
2007
+ $location: z.ZodString;
2008
+ $href: z.ZodString;
2009
+ $pathname: z.ZodString;
2010
+ $referrer: z.ZodString;
2011
+ $screenDPI: z.ZodNumber;
2012
+ $screenHeight: z.ZodNumber;
2013
+ $screenWidth: z.ZodNumber;
2014
+ $title: z.ZodString;
2015
+ $userAgent: z.ZodString;
2016
+ }, "strip", z.ZodTypeAny, {
2017
+ $locale: string;
2018
+ $location: string;
2019
+ $href: string;
2020
+ $pathname: string;
2021
+ $referrer: string;
2022
+ $screenDPI: number;
2023
+ $screenHeight: number;
2024
+ $screenWidth: number;
2025
+ $title: string;
2026
+ $userAgent: string;
2027
+ }, {
2028
+ $locale: string;
2029
+ $location: string;
2030
+ $href: string;
2031
+ $pathname: string;
2032
+ $referrer: string;
2033
+ $screenDPI: number;
2034
+ $screenHeight: number;
2035
+ $screenWidth: number;
2036
+ $title: string;
2037
+ $userAgent: string;
2038
+ }>>;
2039
+ serverContext: z.ZodOptional<z.ZodObject<{
2040
+ $city: z.ZodOptional<z.ZodString>;
2041
+ $country: z.ZodOptional<z.ZodString>;
2042
+ $continent: z.ZodOptional<z.ZodString>;
2043
+ $latitude: z.ZodOptional<z.ZodNumber>;
2044
+ $longitude: z.ZodOptional<z.ZodNumber>;
2045
+ $timezone: z.ZodOptional<z.ZodString>;
2046
+ $userAgent: z.ZodOptional<z.ZodString>;
2047
+ $referrer: z.ZodOptional<z.ZodString>;
2048
+ $ip: z.ZodOptional<z.ZodString>;
2049
+ $processedAt: z.ZodOptional<z.ZodString>;
2050
+ $identityHash: z.ZodOptional<z.ZodString>;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ $referrer?: string | undefined;
2053
+ $userAgent?: string | undefined;
2054
+ $city?: string | undefined;
2055
+ $country?: string | undefined;
2056
+ $continent?: string | undefined;
2057
+ $latitude?: number | undefined;
2058
+ $longitude?: number | undefined;
2059
+ $timezone?: string | undefined;
2060
+ $ip?: string | undefined;
2061
+ $processedAt?: string | undefined;
2062
+ $identityHash?: string | undefined;
2063
+ }, {
2064
+ $referrer?: string | undefined;
2065
+ $userAgent?: string | undefined;
2066
+ $city?: string | undefined;
2067
+ $country?: string | undefined;
2068
+ $continent?: string | undefined;
2069
+ $latitude?: number | undefined;
2070
+ $longitude?: number | undefined;
2071
+ $timezone?: string | undefined;
2072
+ $ip?: string | undefined;
2073
+ $processedAt?: string | undefined;
2074
+ $identityHash?: string | undefined;
2075
+ }>>;
2076
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2077
+ properties: T;
2078
+ browserContext: z.ZodOptional<z.ZodObject<{
2079
+ $locale: z.ZodString;
2080
+ $location: z.ZodString;
2081
+ $href: z.ZodString;
2082
+ $pathname: z.ZodString;
2083
+ $referrer: z.ZodString;
2084
+ $screenDPI: z.ZodNumber;
2085
+ $screenHeight: z.ZodNumber;
2086
+ $screenWidth: z.ZodNumber;
2087
+ $title: z.ZodString;
2088
+ $userAgent: z.ZodString;
2089
+ }, "strip", z.ZodTypeAny, {
2090
+ $locale: string;
2091
+ $location: string;
2092
+ $href: string;
2093
+ $pathname: string;
2094
+ $referrer: string;
2095
+ $screenDPI: number;
2096
+ $screenHeight: number;
2097
+ $screenWidth: number;
2098
+ $title: string;
2099
+ $userAgent: string;
2100
+ }, {
2101
+ $locale: string;
2102
+ $location: string;
2103
+ $href: string;
2104
+ $pathname: string;
2105
+ $referrer: string;
2106
+ $screenDPI: number;
2107
+ $screenHeight: number;
2108
+ $screenWidth: number;
2109
+ $title: string;
2110
+ $userAgent: string;
2111
+ }>>;
2112
+ serverContext: z.ZodOptional<z.ZodObject<{
2113
+ $city: z.ZodOptional<z.ZodString>;
2114
+ $country: z.ZodOptional<z.ZodString>;
2115
+ $continent: z.ZodOptional<z.ZodString>;
2116
+ $latitude: z.ZodOptional<z.ZodNumber>;
2117
+ $longitude: z.ZodOptional<z.ZodNumber>;
2118
+ $timezone: z.ZodOptional<z.ZodString>;
2119
+ $userAgent: z.ZodOptional<z.ZodString>;
2120
+ $referrer: z.ZodOptional<z.ZodString>;
2121
+ $ip: z.ZodOptional<z.ZodString>;
2122
+ $processedAt: z.ZodOptional<z.ZodString>;
2123
+ $identityHash: z.ZodOptional<z.ZodString>;
2124
+ }, "strip", z.ZodTypeAny, {
2125
+ $referrer?: string | undefined;
2126
+ $userAgent?: string | undefined;
2127
+ $city?: string | undefined;
2128
+ $country?: string | undefined;
2129
+ $continent?: string | undefined;
2130
+ $latitude?: number | undefined;
2131
+ $longitude?: number | undefined;
2132
+ $timezone?: string | undefined;
2133
+ $ip?: string | undefined;
2134
+ $processedAt?: string | undefined;
2135
+ $identityHash?: string | undefined;
2136
+ }, {
2137
+ $referrer?: string | undefined;
2138
+ $userAgent?: string | undefined;
2139
+ $city?: string | undefined;
2140
+ $country?: string | undefined;
2141
+ $continent?: string | undefined;
2142
+ $latitude?: number | undefined;
2143
+ $longitude?: number | undefined;
2144
+ $timezone?: string | undefined;
2145
+ $ip?: string | undefined;
2146
+ $processedAt?: string | undefined;
2147
+ $identityHash?: string | undefined;
2148
+ }>>;
2149
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
2150
+ properties: T;
2151
+ browserContext: z.ZodOptional<z.ZodObject<{
2152
+ $locale: z.ZodString;
2153
+ $location: z.ZodString;
2154
+ $href: z.ZodString;
2155
+ $pathname: z.ZodString;
2156
+ $referrer: z.ZodString;
2157
+ $screenDPI: z.ZodNumber;
2158
+ $screenHeight: z.ZodNumber;
2159
+ $screenWidth: z.ZodNumber;
2160
+ $title: z.ZodString;
2161
+ $userAgent: z.ZodString;
2162
+ }, "strip", z.ZodTypeAny, {
2163
+ $locale: string;
2164
+ $location: string;
2165
+ $href: string;
2166
+ $pathname: string;
2167
+ $referrer: string;
2168
+ $screenDPI: number;
2169
+ $screenHeight: number;
2170
+ $screenWidth: number;
2171
+ $title: string;
2172
+ $userAgent: string;
2173
+ }, {
2174
+ $locale: string;
2175
+ $location: string;
2176
+ $href: string;
2177
+ $pathname: string;
2178
+ $referrer: string;
2179
+ $screenDPI: number;
2180
+ $screenHeight: number;
2181
+ $screenWidth: number;
2182
+ $title: string;
2183
+ $userAgent: string;
2184
+ }>>;
2185
+ serverContext: z.ZodOptional<z.ZodObject<{
2186
+ $city: z.ZodOptional<z.ZodString>;
2187
+ $country: z.ZodOptional<z.ZodString>;
2188
+ $continent: z.ZodOptional<z.ZodString>;
2189
+ $latitude: z.ZodOptional<z.ZodNumber>;
2190
+ $longitude: z.ZodOptional<z.ZodNumber>;
2191
+ $timezone: z.ZodOptional<z.ZodString>;
2192
+ $userAgent: z.ZodOptional<z.ZodString>;
2193
+ $referrer: z.ZodOptional<z.ZodString>;
2194
+ $ip: z.ZodOptional<z.ZodString>;
2195
+ $processedAt: z.ZodOptional<z.ZodString>;
2196
+ $identityHash: z.ZodOptional<z.ZodString>;
2197
+ }, "strip", z.ZodTypeAny, {
2198
+ $referrer?: string | undefined;
2199
+ $userAgent?: string | undefined;
2200
+ $city?: string | undefined;
2201
+ $country?: string | undefined;
2202
+ $continent?: string | undefined;
2203
+ $latitude?: number | undefined;
2204
+ $longitude?: number | undefined;
2205
+ $timezone?: string | undefined;
2206
+ $ip?: string | undefined;
2207
+ $processedAt?: string | undefined;
2208
+ $identityHash?: string | undefined;
2209
+ }, {
2210
+ $referrer?: string | undefined;
2211
+ $userAgent?: string | undefined;
2212
+ $city?: string | undefined;
2213
+ $country?: string | undefined;
2214
+ $continent?: string | undefined;
2215
+ $latitude?: number | undefined;
2216
+ $longitude?: number | undefined;
2217
+ $timezone?: string | undefined;
2218
+ $ip?: string | undefined;
2219
+ $processedAt?: string | undefined;
2220
+ $identityHash?: string | undefined;
2221
+ }>>;
2222
+ }>]: z.baseObjectInputType<{
2223
+ properties: T;
2224
+ browserContext: z.ZodOptional<z.ZodObject<{
2225
+ $locale: z.ZodString;
2226
+ $location: z.ZodString;
2227
+ $href: z.ZodString;
2228
+ $pathname: z.ZodString;
2229
+ $referrer: z.ZodString;
2230
+ $screenDPI: z.ZodNumber;
2231
+ $screenHeight: z.ZodNumber;
2232
+ $screenWidth: z.ZodNumber;
2233
+ $title: z.ZodString;
2234
+ $userAgent: z.ZodString;
2235
+ }, "strip", z.ZodTypeAny, {
2236
+ $locale: string;
2237
+ $location: string;
2238
+ $href: string;
2239
+ $pathname: string;
2240
+ $referrer: string;
2241
+ $screenDPI: number;
2242
+ $screenHeight: number;
2243
+ $screenWidth: number;
2244
+ $title: string;
2245
+ $userAgent: string;
2246
+ }, {
2247
+ $locale: string;
2248
+ $location: string;
2249
+ $href: string;
2250
+ $pathname: string;
2251
+ $referrer: string;
2252
+ $screenDPI: number;
2253
+ $screenHeight: number;
2254
+ $screenWidth: number;
2255
+ $title: string;
2256
+ $userAgent: string;
2257
+ }>>;
2258
+ serverContext: z.ZodOptional<z.ZodObject<{
2259
+ $city: z.ZodOptional<z.ZodString>;
2260
+ $country: z.ZodOptional<z.ZodString>;
2261
+ $continent: z.ZodOptional<z.ZodString>;
2262
+ $latitude: z.ZodOptional<z.ZodNumber>;
2263
+ $longitude: z.ZodOptional<z.ZodNumber>;
2264
+ $timezone: z.ZodOptional<z.ZodString>;
2265
+ $userAgent: z.ZodOptional<z.ZodString>;
2266
+ $referrer: z.ZodOptional<z.ZodString>;
2267
+ $ip: z.ZodOptional<z.ZodString>;
2268
+ $processedAt: z.ZodOptional<z.ZodString>;
2269
+ $identityHash: z.ZodOptional<z.ZodString>;
2270
+ }, "strip", z.ZodTypeAny, {
2271
+ $referrer?: string | undefined;
2272
+ $userAgent?: string | undefined;
2273
+ $city?: string | undefined;
2274
+ $country?: string | undefined;
2275
+ $continent?: string | undefined;
2276
+ $latitude?: number | undefined;
2277
+ $longitude?: number | undefined;
2278
+ $timezone?: string | undefined;
2279
+ $ip?: string | undefined;
2280
+ $processedAt?: string | undefined;
2281
+ $identityHash?: string | undefined;
2282
+ }, {
2283
+ $referrer?: string | undefined;
2284
+ $userAgent?: string | undefined;
2285
+ $city?: string | undefined;
2286
+ $country?: string | undefined;
2287
+ $continent?: string | undefined;
2288
+ $latitude?: number | undefined;
2289
+ $longitude?: number | undefined;
2290
+ $timezone?: string | undefined;
2291
+ $ip?: string | undefined;
2292
+ $processedAt?: string | undefined;
2293
+ $identityHash?: string | undefined;
2294
+ }>>;
2295
+ }>[k_1]; }>;
2296
+ }>> extends infer T_2 ? { [k_3 in keyof T_2]: z.baseObjectInputType<z.objectUtil.extendShape<{
2297
+ id: z.ZodString;
2298
+ timestamp: z.ZodString;
2299
+ projectId: z.ZodString;
2300
+ version: z.ZodString;
2301
+ type: z.ZodEnum<["SHORTLINK_REDIRECT"]>;
2302
+ payload: z.ZodObject<{
2303
+ browserContext: z.ZodOptional<z.ZodObject<{
2304
+ $locale: z.ZodString;
2305
+ $location: z.ZodString;
2306
+ $href: z.ZodString;
2307
+ $pathname: z.ZodString;
2308
+ $referrer: z.ZodString;
2309
+ $screenDPI: z.ZodNumber;
2310
+ $screenHeight: z.ZodNumber;
2311
+ $screenWidth: z.ZodNumber;
2312
+ $title: z.ZodString;
2313
+ $userAgent: z.ZodString;
2314
+ }, "strip", z.ZodTypeAny, {
2315
+ $locale: string;
2316
+ $location: string;
2317
+ $href: string;
2318
+ $pathname: string;
2319
+ $referrer: string;
2320
+ $screenDPI: number;
2321
+ $screenHeight: number;
2322
+ $screenWidth: number;
2323
+ $title: string;
2324
+ $userAgent: string;
2325
+ }, {
2326
+ $locale: string;
2327
+ $location: string;
2328
+ $href: string;
2329
+ $pathname: string;
2330
+ $referrer: string;
2331
+ $screenDPI: number;
2332
+ $screenHeight: number;
2333
+ $screenWidth: number;
2334
+ $title: string;
2335
+ $userAgent: string;
2336
+ }>>;
2337
+ serverContext: z.ZodOptional<z.ZodObject<{
2338
+ $city: z.ZodOptional<z.ZodString>;
2339
+ $country: z.ZodOptional<z.ZodString>;
2340
+ $continent: z.ZodOptional<z.ZodString>;
2341
+ $latitude: z.ZodOptional<z.ZodNumber>;
2342
+ $longitude: z.ZodOptional<z.ZodNumber>;
2343
+ $timezone: z.ZodOptional<z.ZodString>;
2344
+ $userAgent: z.ZodOptional<z.ZodString>;
2345
+ $referrer: z.ZodOptional<z.ZodString>;
2346
+ $ip: z.ZodOptional<z.ZodString>;
2347
+ $processedAt: z.ZodOptional<z.ZodString>;
2348
+ $identityHash: z.ZodOptional<z.ZodString>;
2349
+ }, "strip", z.ZodTypeAny, {
2350
+ $referrer?: string | undefined;
2351
+ $userAgent?: string | undefined;
2352
+ $city?: string | undefined;
2353
+ $country?: string | undefined;
2354
+ $continent?: string | undefined;
2355
+ $latitude?: number | undefined;
2356
+ $longitude?: number | undefined;
2357
+ $timezone?: string | undefined;
2358
+ $ip?: string | undefined;
2359
+ $processedAt?: string | undefined;
2360
+ $identityHash?: string | undefined;
2361
+ }, {
2362
+ $referrer?: string | undefined;
2363
+ $userAgent?: string | undefined;
2364
+ $city?: string | undefined;
2365
+ $country?: string | undefined;
2366
+ $continent?: string | undefined;
2367
+ $latitude?: number | undefined;
2368
+ $longitude?: number | undefined;
2369
+ $timezone?: string | undefined;
2370
+ $ip?: string | undefined;
2371
+ $processedAt?: string | undefined;
2372
+ $identityHash?: string | undefined;
2373
+ }>>;
2374
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2375
+ }, "strip", z.ZodTypeAny, {
2376
+ browserContext?: {
2377
+ $locale: string;
2378
+ $location: string;
2379
+ $href: string;
2380
+ $pathname: string;
2381
+ $referrer: string;
2382
+ $screenDPI: number;
2383
+ $screenHeight: number;
2384
+ $screenWidth: number;
2385
+ $title: string;
2386
+ $userAgent: string;
2387
+ } | undefined;
2388
+ serverContext?: {
2389
+ $referrer?: string | undefined;
2390
+ $userAgent?: string | undefined;
2391
+ $city?: string | undefined;
2392
+ $country?: string | undefined;
2393
+ $continent?: string | undefined;
2394
+ $latitude?: number | undefined;
2395
+ $longitude?: number | undefined;
2396
+ $timezone?: string | undefined;
2397
+ $ip?: string | undefined;
2398
+ $processedAt?: string | undefined;
2399
+ $identityHash?: string | undefined;
2400
+ } | undefined;
2401
+ properties?: Record<string, any> | undefined;
2402
+ }, {
2403
+ browserContext?: {
2404
+ $locale: string;
2405
+ $location: string;
2406
+ $href: string;
2407
+ $pathname: string;
2408
+ $referrer: string;
2409
+ $screenDPI: number;
2410
+ $screenHeight: number;
2411
+ $screenWidth: number;
2412
+ $title: string;
2413
+ $userAgent: string;
2414
+ } | undefined;
2415
+ serverContext?: {
2416
+ $referrer?: string | undefined;
2417
+ $userAgent?: string | undefined;
2418
+ $city?: string | undefined;
2419
+ $country?: string | undefined;
2420
+ $continent?: string | undefined;
2421
+ $latitude?: number | undefined;
2422
+ $longitude?: number | undefined;
2423
+ $timezone?: string | undefined;
2424
+ $ip?: string | undefined;
2425
+ $processedAt?: string | undefined;
2426
+ $identityHash?: string | undefined;
2427
+ } | undefined;
2428
+ properties?: Record<string, any> | undefined;
2429
+ }>;
2430
+ }, {
2431
+ type: z.ZodLiteral<"SHORTLINK_REDIRECT">;
2432
+ payload: z.ZodObject<{
2433
+ properties: T;
2434
+ browserContext: z.ZodOptional<z.ZodObject<{
2435
+ $locale: z.ZodString;
2436
+ $location: z.ZodString;
2437
+ $href: z.ZodString;
2438
+ $pathname: z.ZodString;
2439
+ $referrer: z.ZodString;
2440
+ $screenDPI: z.ZodNumber;
2441
+ $screenHeight: z.ZodNumber;
2442
+ $screenWidth: z.ZodNumber;
2443
+ $title: z.ZodString;
2444
+ $userAgent: z.ZodString;
2445
+ }, "strip", z.ZodTypeAny, {
2446
+ $locale: string;
2447
+ $location: string;
2448
+ $href: string;
2449
+ $pathname: string;
2450
+ $referrer: string;
2451
+ $screenDPI: number;
2452
+ $screenHeight: number;
2453
+ $screenWidth: number;
2454
+ $title: string;
2455
+ $userAgent: string;
2456
+ }, {
2457
+ $locale: string;
2458
+ $location: string;
2459
+ $href: string;
2460
+ $pathname: string;
2461
+ $referrer: string;
2462
+ $screenDPI: number;
2463
+ $screenHeight: number;
2464
+ $screenWidth: number;
2465
+ $title: string;
2466
+ $userAgent: string;
2467
+ }>>;
2468
+ serverContext: z.ZodOptional<z.ZodObject<{
2469
+ $city: z.ZodOptional<z.ZodString>;
2470
+ $country: z.ZodOptional<z.ZodString>;
2471
+ $continent: z.ZodOptional<z.ZodString>;
2472
+ $latitude: z.ZodOptional<z.ZodNumber>;
2473
+ $longitude: z.ZodOptional<z.ZodNumber>;
2474
+ $timezone: z.ZodOptional<z.ZodString>;
2475
+ $userAgent: z.ZodOptional<z.ZodString>;
2476
+ $referrer: z.ZodOptional<z.ZodString>;
2477
+ $ip: z.ZodOptional<z.ZodString>;
2478
+ $processedAt: z.ZodOptional<z.ZodString>;
2479
+ $identityHash: z.ZodOptional<z.ZodString>;
2480
+ }, "strip", z.ZodTypeAny, {
2481
+ $referrer?: string | undefined;
2482
+ $userAgent?: string | undefined;
2483
+ $city?: string | undefined;
2484
+ $country?: string | undefined;
2485
+ $continent?: string | undefined;
2486
+ $latitude?: number | undefined;
2487
+ $longitude?: number | undefined;
2488
+ $timezone?: string | undefined;
2489
+ $ip?: string | undefined;
2490
+ $processedAt?: string | undefined;
2491
+ $identityHash?: string | undefined;
2492
+ }, {
2493
+ $referrer?: string | undefined;
2494
+ $userAgent?: string | undefined;
2495
+ $city?: string | undefined;
2496
+ $country?: string | undefined;
2497
+ $continent?: string | undefined;
2498
+ $latitude?: number | undefined;
2499
+ $longitude?: number | undefined;
2500
+ $timezone?: string | undefined;
2501
+ $ip?: string | undefined;
2502
+ $processedAt?: string | undefined;
2503
+ $identityHash?: string | undefined;
2504
+ }>>;
2505
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2506
+ properties: T;
2507
+ browserContext: z.ZodOptional<z.ZodObject<{
2508
+ $locale: z.ZodString;
2509
+ $location: z.ZodString;
2510
+ $href: z.ZodString;
2511
+ $pathname: z.ZodString;
2512
+ $referrer: z.ZodString;
2513
+ $screenDPI: z.ZodNumber;
2514
+ $screenHeight: z.ZodNumber;
2515
+ $screenWidth: z.ZodNumber;
2516
+ $title: z.ZodString;
2517
+ $userAgent: z.ZodString;
2518
+ }, "strip", z.ZodTypeAny, {
2519
+ $locale: string;
2520
+ $location: string;
2521
+ $href: string;
2522
+ $pathname: string;
2523
+ $referrer: string;
2524
+ $screenDPI: number;
2525
+ $screenHeight: number;
2526
+ $screenWidth: number;
2527
+ $title: string;
2528
+ $userAgent: string;
2529
+ }, {
2530
+ $locale: string;
2531
+ $location: string;
2532
+ $href: string;
2533
+ $pathname: string;
2534
+ $referrer: string;
2535
+ $screenDPI: number;
2536
+ $screenHeight: number;
2537
+ $screenWidth: number;
2538
+ $title: string;
2539
+ $userAgent: string;
2540
+ }>>;
2541
+ serverContext: z.ZodOptional<z.ZodObject<{
2542
+ $city: z.ZodOptional<z.ZodString>;
2543
+ $country: z.ZodOptional<z.ZodString>;
2544
+ $continent: z.ZodOptional<z.ZodString>;
2545
+ $latitude: z.ZodOptional<z.ZodNumber>;
2546
+ $longitude: z.ZodOptional<z.ZodNumber>;
2547
+ $timezone: z.ZodOptional<z.ZodString>;
2548
+ $userAgent: z.ZodOptional<z.ZodString>;
2549
+ $referrer: z.ZodOptional<z.ZodString>;
2550
+ $ip: z.ZodOptional<z.ZodString>;
2551
+ $processedAt: z.ZodOptional<z.ZodString>;
2552
+ $identityHash: z.ZodOptional<z.ZodString>;
2553
+ }, "strip", z.ZodTypeAny, {
2554
+ $referrer?: string | undefined;
2555
+ $userAgent?: string | undefined;
2556
+ $city?: string | undefined;
2557
+ $country?: string | undefined;
2558
+ $continent?: string | undefined;
2559
+ $latitude?: number | undefined;
2560
+ $longitude?: number | undefined;
2561
+ $timezone?: string | undefined;
2562
+ $ip?: string | undefined;
2563
+ $processedAt?: string | undefined;
2564
+ $identityHash?: string | undefined;
2565
+ }, {
2566
+ $referrer?: string | undefined;
2567
+ $userAgent?: string | undefined;
2568
+ $city?: string | undefined;
2569
+ $country?: string | undefined;
2570
+ $continent?: string | undefined;
2571
+ $latitude?: number | undefined;
2572
+ $longitude?: number | undefined;
2573
+ $timezone?: string | undefined;
2574
+ $ip?: string | undefined;
2575
+ $processedAt?: string | undefined;
2576
+ $identityHash?: string | undefined;
2577
+ }>>;
2578
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2579
+ properties: T;
2580
+ browserContext: z.ZodOptional<z.ZodObject<{
2581
+ $locale: z.ZodString;
2582
+ $location: z.ZodString;
2583
+ $href: z.ZodString;
2584
+ $pathname: z.ZodString;
2585
+ $referrer: z.ZodString;
2586
+ $screenDPI: z.ZodNumber;
2587
+ $screenHeight: z.ZodNumber;
2588
+ $screenWidth: z.ZodNumber;
2589
+ $title: z.ZodString;
2590
+ $userAgent: z.ZodString;
2591
+ }, "strip", z.ZodTypeAny, {
2592
+ $locale: string;
2593
+ $location: string;
2594
+ $href: string;
2595
+ $pathname: string;
2596
+ $referrer: string;
2597
+ $screenDPI: number;
2598
+ $screenHeight: number;
2599
+ $screenWidth: number;
2600
+ $title: string;
2601
+ $userAgent: string;
2602
+ }, {
2603
+ $locale: string;
2604
+ $location: string;
2605
+ $href: string;
2606
+ $pathname: string;
2607
+ $referrer: string;
2608
+ $screenDPI: number;
2609
+ $screenHeight: number;
2610
+ $screenWidth: number;
2611
+ $title: string;
2612
+ $userAgent: string;
2613
+ }>>;
2614
+ serverContext: z.ZodOptional<z.ZodObject<{
2615
+ $city: z.ZodOptional<z.ZodString>;
2616
+ $country: z.ZodOptional<z.ZodString>;
2617
+ $continent: z.ZodOptional<z.ZodString>;
2618
+ $latitude: z.ZodOptional<z.ZodNumber>;
2619
+ $longitude: z.ZodOptional<z.ZodNumber>;
2620
+ $timezone: z.ZodOptional<z.ZodString>;
2621
+ $userAgent: z.ZodOptional<z.ZodString>;
2622
+ $referrer: z.ZodOptional<z.ZodString>;
2623
+ $ip: z.ZodOptional<z.ZodString>;
2624
+ $processedAt: z.ZodOptional<z.ZodString>;
2625
+ $identityHash: z.ZodOptional<z.ZodString>;
2626
+ }, "strip", z.ZodTypeAny, {
2627
+ $referrer?: string | undefined;
2628
+ $userAgent?: string | undefined;
2629
+ $city?: string | undefined;
2630
+ $country?: string | undefined;
2631
+ $continent?: string | undefined;
2632
+ $latitude?: number | undefined;
2633
+ $longitude?: number | undefined;
2634
+ $timezone?: string | undefined;
2635
+ $ip?: string | undefined;
2636
+ $processedAt?: string | undefined;
2637
+ $identityHash?: string | undefined;
2638
+ }, {
2639
+ $referrer?: string | undefined;
2640
+ $userAgent?: string | undefined;
2641
+ $city?: string | undefined;
2642
+ $country?: string | undefined;
2643
+ $continent?: string | undefined;
2644
+ $latitude?: number | undefined;
2645
+ $longitude?: number | undefined;
2646
+ $timezone?: string | undefined;
2647
+ $ip?: string | undefined;
2648
+ $processedAt?: string | undefined;
2649
+ $identityHash?: string | undefined;
2650
+ }>>;
2651
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
2652
+ properties: T;
2653
+ browserContext: z.ZodOptional<z.ZodObject<{
2654
+ $locale: z.ZodString;
2655
+ $location: z.ZodString;
2656
+ $href: z.ZodString;
2657
+ $pathname: z.ZodString;
2658
+ $referrer: z.ZodString;
2659
+ $screenDPI: z.ZodNumber;
2660
+ $screenHeight: z.ZodNumber;
2661
+ $screenWidth: z.ZodNumber;
2662
+ $title: z.ZodString;
2663
+ $userAgent: z.ZodString;
2664
+ }, "strip", z.ZodTypeAny, {
2665
+ $locale: string;
2666
+ $location: string;
2667
+ $href: string;
2668
+ $pathname: string;
2669
+ $referrer: string;
2670
+ $screenDPI: number;
2671
+ $screenHeight: number;
2672
+ $screenWidth: number;
2673
+ $title: string;
2674
+ $userAgent: string;
2675
+ }, {
2676
+ $locale: string;
2677
+ $location: string;
2678
+ $href: string;
2679
+ $pathname: string;
2680
+ $referrer: string;
2681
+ $screenDPI: number;
2682
+ $screenHeight: number;
2683
+ $screenWidth: number;
2684
+ $title: string;
2685
+ $userAgent: string;
2686
+ }>>;
2687
+ serverContext: z.ZodOptional<z.ZodObject<{
2688
+ $city: z.ZodOptional<z.ZodString>;
2689
+ $country: z.ZodOptional<z.ZodString>;
2690
+ $continent: z.ZodOptional<z.ZodString>;
2691
+ $latitude: z.ZodOptional<z.ZodNumber>;
2692
+ $longitude: z.ZodOptional<z.ZodNumber>;
2693
+ $timezone: z.ZodOptional<z.ZodString>;
2694
+ $userAgent: z.ZodOptional<z.ZodString>;
2695
+ $referrer: z.ZodOptional<z.ZodString>;
2696
+ $ip: z.ZodOptional<z.ZodString>;
2697
+ $processedAt: z.ZodOptional<z.ZodString>;
2698
+ $identityHash: z.ZodOptional<z.ZodString>;
2699
+ }, "strip", z.ZodTypeAny, {
2700
+ $referrer?: string | undefined;
2701
+ $userAgent?: string | undefined;
2702
+ $city?: string | undefined;
2703
+ $country?: string | undefined;
2704
+ $continent?: string | undefined;
2705
+ $latitude?: number | undefined;
2706
+ $longitude?: number | undefined;
2707
+ $timezone?: string | undefined;
2708
+ $ip?: string | undefined;
2709
+ $processedAt?: string | undefined;
2710
+ $identityHash?: string | undefined;
2711
+ }, {
2712
+ $referrer?: string | undefined;
2713
+ $userAgent?: string | undefined;
2714
+ $city?: string | undefined;
2715
+ $country?: string | undefined;
2716
+ $continent?: string | undefined;
2717
+ $latitude?: number | undefined;
2718
+ $longitude?: number | undefined;
2719
+ $timezone?: string | undefined;
2720
+ $ip?: string | undefined;
2721
+ $processedAt?: string | undefined;
2722
+ $identityHash?: string | undefined;
2723
+ }>>;
2724
+ }>]: z.baseObjectInputType<{
2725
+ properties: T;
2726
+ browserContext: z.ZodOptional<z.ZodObject<{
2727
+ $locale: z.ZodString;
2728
+ $location: z.ZodString;
2729
+ $href: z.ZodString;
2730
+ $pathname: z.ZodString;
2731
+ $referrer: z.ZodString;
2732
+ $screenDPI: z.ZodNumber;
2733
+ $screenHeight: z.ZodNumber;
2734
+ $screenWidth: z.ZodNumber;
2735
+ $title: z.ZodString;
2736
+ $userAgent: z.ZodString;
2737
+ }, "strip", z.ZodTypeAny, {
2738
+ $locale: string;
2739
+ $location: string;
2740
+ $href: string;
2741
+ $pathname: string;
2742
+ $referrer: string;
2743
+ $screenDPI: number;
2744
+ $screenHeight: number;
2745
+ $screenWidth: number;
2746
+ $title: string;
2747
+ $userAgent: string;
2748
+ }, {
2749
+ $locale: string;
2750
+ $location: string;
2751
+ $href: string;
2752
+ $pathname: string;
2753
+ $referrer: string;
2754
+ $screenDPI: number;
2755
+ $screenHeight: number;
2756
+ $screenWidth: number;
2757
+ $title: string;
2758
+ $userAgent: string;
2759
+ }>>;
2760
+ serverContext: z.ZodOptional<z.ZodObject<{
2761
+ $city: z.ZodOptional<z.ZodString>;
2762
+ $country: z.ZodOptional<z.ZodString>;
2763
+ $continent: z.ZodOptional<z.ZodString>;
2764
+ $latitude: z.ZodOptional<z.ZodNumber>;
2765
+ $longitude: z.ZodOptional<z.ZodNumber>;
2766
+ $timezone: z.ZodOptional<z.ZodString>;
2767
+ $userAgent: z.ZodOptional<z.ZodString>;
2768
+ $referrer: z.ZodOptional<z.ZodString>;
2769
+ $ip: z.ZodOptional<z.ZodString>;
2770
+ $processedAt: z.ZodOptional<z.ZodString>;
2771
+ $identityHash: z.ZodOptional<z.ZodString>;
2772
+ }, "strip", z.ZodTypeAny, {
2773
+ $referrer?: string | undefined;
2774
+ $userAgent?: string | undefined;
2775
+ $city?: string | undefined;
2776
+ $country?: string | undefined;
2777
+ $continent?: string | undefined;
2778
+ $latitude?: number | undefined;
2779
+ $longitude?: number | undefined;
2780
+ $timezone?: string | undefined;
2781
+ $ip?: string | undefined;
2782
+ $processedAt?: string | undefined;
2783
+ $identityHash?: string | undefined;
2784
+ }, {
2785
+ $referrer?: string | undefined;
2786
+ $userAgent?: string | undefined;
2787
+ $city?: string | undefined;
2788
+ $country?: string | undefined;
2789
+ $continent?: string | undefined;
2790
+ $latitude?: number | undefined;
2791
+ $longitude?: number | undefined;
2792
+ $timezone?: string | undefined;
2793
+ $ip?: string | undefined;
2794
+ $processedAt?: string | undefined;
2795
+ $identityHash?: string | undefined;
2796
+ }>>;
2797
+ }>[k_1]; }>;
2798
+ }>>[k_3]; } : never>;