dub 0.43.0 → 0.43.2

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.
Files changed (76) hide show
  1. package/dist/commonjs/funcs/qrCodesGet.d.ts.map +1 -1
  2. package/dist/commonjs/funcs/qrCodesGet.js +2 -0
  3. package/dist/commonjs/funcs/qrCodesGet.js.map +1 -1
  4. package/dist/commonjs/lib/config.d.ts +2 -2
  5. package/dist/commonjs/lib/config.js +2 -2
  6. package/dist/commonjs/models/components/index.d.ts +4 -0
  7. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  8. package/dist/commonjs/models/components/index.js +4 -0
  9. package/dist/commonjs/models/components/index.js.map +1 -1
  10. package/dist/commonjs/models/components/leadcreatedevent.d.ts +884 -0
  11. package/dist/commonjs/models/components/leadcreatedevent.d.ts.map +1 -0
  12. package/dist/commonjs/models/components/leadcreatedevent.js +1307 -0
  13. package/dist/commonjs/models/components/leadcreatedevent.js.map +1 -0
  14. package/dist/commonjs/models/components/linkclickedevent.d.ts +851 -0
  15. package/dist/commonjs/models/components/linkclickedevent.d.ts.map +1 -0
  16. package/dist/commonjs/models/components/linkclickedevent.js +1278 -0
  17. package/dist/commonjs/models/components/linkclickedevent.js.map +1 -0
  18. package/dist/commonjs/models/components/linkwebhookevent.d.ts +844 -0
  19. package/dist/commonjs/models/components/linkwebhookevent.d.ts.map +1 -0
  20. package/dist/commonjs/models/components/linkwebhookevent.js +1272 -0
  21. package/dist/commonjs/models/components/linkwebhookevent.js.map +1 -0
  22. package/dist/commonjs/models/components/salecreatedevent.d.ts +915 -0
  23. package/dist/commonjs/models/components/salecreatedevent.d.ts.map +1 -0
  24. package/dist/commonjs/models/components/salecreatedevent.js +1334 -0
  25. package/dist/commonjs/models/components/salecreatedevent.js.map +1 -0
  26. package/dist/commonjs/models/components/webhookevent.d.ts +6 -3470
  27. package/dist/commonjs/models/components/webhookevent.d.ts.map +1 -1
  28. package/dist/commonjs/models/components/webhookevent.js +13 -5088
  29. package/dist/commonjs/models/components/webhookevent.js.map +1 -1
  30. package/dist/commonjs/models/operations/getqrcode.d.ts +10 -0
  31. package/dist/commonjs/models/operations/getqrcode.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/getqrcode.js +4 -0
  33. package/dist/commonjs/models/operations/getqrcode.js.map +1 -1
  34. package/dist/esm/funcs/qrCodesGet.d.ts.map +1 -1
  35. package/dist/esm/funcs/qrCodesGet.js +2 -0
  36. package/dist/esm/funcs/qrCodesGet.js.map +1 -1
  37. package/dist/esm/lib/config.d.ts +2 -2
  38. package/dist/esm/lib/config.js +2 -2
  39. package/dist/esm/models/components/index.d.ts +4 -0
  40. package/dist/esm/models/components/index.d.ts.map +1 -1
  41. package/dist/esm/models/components/index.js +4 -0
  42. package/dist/esm/models/components/index.js.map +1 -1
  43. package/dist/esm/models/components/leadcreatedevent.d.ts +884 -0
  44. package/dist/esm/models/components/leadcreatedevent.d.ts.map +1 -0
  45. package/dist/esm/models/components/leadcreatedevent.js +1281 -0
  46. package/dist/esm/models/components/leadcreatedevent.js.map +1 -0
  47. package/dist/esm/models/components/linkclickedevent.d.ts +851 -0
  48. package/dist/esm/models/components/linkclickedevent.d.ts.map +1 -0
  49. package/dist/esm/models/components/linkclickedevent.js +1252 -0
  50. package/dist/esm/models/components/linkclickedevent.js.map +1 -0
  51. package/dist/esm/models/components/linkwebhookevent.d.ts +844 -0
  52. package/dist/esm/models/components/linkwebhookevent.d.ts.map +1 -0
  53. package/dist/esm/models/components/linkwebhookevent.js +1246 -0
  54. package/dist/esm/models/components/linkwebhookevent.js.map +1 -0
  55. package/dist/esm/models/components/salecreatedevent.d.ts +915 -0
  56. package/dist/esm/models/components/salecreatedevent.d.ts.map +1 -0
  57. package/dist/esm/models/components/salecreatedevent.js +1308 -0
  58. package/dist/esm/models/components/salecreatedevent.js.map +1 -0
  59. package/dist/esm/models/components/webhookevent.d.ts +6 -3470
  60. package/dist/esm/models/components/webhookevent.d.ts.map +1 -1
  61. package/dist/esm/models/components/webhookevent.js +12 -5086
  62. package/dist/esm/models/components/webhookevent.js.map +1 -1
  63. package/dist/esm/models/operations/getqrcode.d.ts +10 -0
  64. package/dist/esm/models/operations/getqrcode.d.ts.map +1 -1
  65. package/dist/esm/models/operations/getqrcode.js +4 -0
  66. package/dist/esm/models/operations/getqrcode.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/funcs/qrCodesGet.ts +2 -0
  69. package/src/lib/config.ts +2 -2
  70. package/src/models/components/index.ts +4 -0
  71. package/src/models/components/leadcreatedevent.ts +2141 -0
  72. package/src/models/components/linkclickedevent.ts +2081 -0
  73. package/src/models/components/linkwebhookevent.ts +2028 -0
  74. package/src/models/components/salecreatedevent.ts +2197 -0
  75. package/src/models/components/webhookevent.ts +40 -8391
  76. package/src/models/operations/getqrcode.ts +14 -0
@@ -0,0 +1,851 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { TagSchema, TagSchema$Outbound } from "./tagschema.js";
4
+ export declare const LinkClickedEventEvent: {
5
+ readonly LinkClicked: "link.clicked";
6
+ };
7
+ export type LinkClickedEventEvent = ClosedEnum<typeof LinkClickedEventEvent>;
8
+ export type LinkClickedEventClick = {
9
+ id: string;
10
+ url: string;
11
+ continent: string;
12
+ country: string;
13
+ city: string;
14
+ device: string;
15
+ browser: string;
16
+ os: string;
17
+ referer: string;
18
+ refererUrl: string;
19
+ qr?: boolean | undefined;
20
+ ip: string;
21
+ };
22
+ /**
23
+ * Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo
24
+ */
25
+ export type LinkClickedEventGeo = {
26
+ af?: string | undefined;
27
+ al?: string | undefined;
28
+ dz?: string | undefined;
29
+ as?: string | undefined;
30
+ ad?: string | undefined;
31
+ ao?: string | undefined;
32
+ ai?: string | undefined;
33
+ aq?: string | undefined;
34
+ ag?: string | undefined;
35
+ ar?: string | undefined;
36
+ am?: string | undefined;
37
+ aw?: string | undefined;
38
+ au?: string | undefined;
39
+ at?: string | undefined;
40
+ az?: string | undefined;
41
+ bs?: string | undefined;
42
+ bh?: string | undefined;
43
+ bd?: string | undefined;
44
+ bb?: string | undefined;
45
+ by?: string | undefined;
46
+ be?: string | undefined;
47
+ bz?: string | undefined;
48
+ bj?: string | undefined;
49
+ bm?: string | undefined;
50
+ bt?: string | undefined;
51
+ bo?: string | undefined;
52
+ ba?: string | undefined;
53
+ bw?: string | undefined;
54
+ bv?: string | undefined;
55
+ br?: string | undefined;
56
+ io?: string | undefined;
57
+ bn?: string | undefined;
58
+ bg?: string | undefined;
59
+ bf?: string | undefined;
60
+ bi?: string | undefined;
61
+ kh?: string | undefined;
62
+ cm?: string | undefined;
63
+ ca?: string | undefined;
64
+ cv?: string | undefined;
65
+ ky?: string | undefined;
66
+ cf?: string | undefined;
67
+ td?: string | undefined;
68
+ cl?: string | undefined;
69
+ cn?: string | undefined;
70
+ cx?: string | undefined;
71
+ cc?: string | undefined;
72
+ co?: string | undefined;
73
+ km?: string | undefined;
74
+ cg?: string | undefined;
75
+ cd?: string | undefined;
76
+ ck?: string | undefined;
77
+ cr?: string | undefined;
78
+ ci?: string | undefined;
79
+ hr?: string | undefined;
80
+ cu?: string | undefined;
81
+ cy?: string | undefined;
82
+ cz?: string | undefined;
83
+ dk?: string | undefined;
84
+ dj?: string | undefined;
85
+ dm?: string | undefined;
86
+ do?: string | undefined;
87
+ ec?: string | undefined;
88
+ eg?: string | undefined;
89
+ sv?: string | undefined;
90
+ gq?: string | undefined;
91
+ er?: string | undefined;
92
+ ee?: string | undefined;
93
+ et?: string | undefined;
94
+ fk?: string | undefined;
95
+ fo?: string | undefined;
96
+ fj?: string | undefined;
97
+ fi?: string | undefined;
98
+ fr?: string | undefined;
99
+ gf?: string | undefined;
100
+ pf?: string | undefined;
101
+ tf?: string | undefined;
102
+ ga?: string | undefined;
103
+ gm?: string | undefined;
104
+ ge?: string | undefined;
105
+ de?: string | undefined;
106
+ gh?: string | undefined;
107
+ gi?: string | undefined;
108
+ gr?: string | undefined;
109
+ gl?: string | undefined;
110
+ gd?: string | undefined;
111
+ gp?: string | undefined;
112
+ gu?: string | undefined;
113
+ gt?: string | undefined;
114
+ gn?: string | undefined;
115
+ gw?: string | undefined;
116
+ gy?: string | undefined;
117
+ ht?: string | undefined;
118
+ hm?: string | undefined;
119
+ va?: string | undefined;
120
+ hn?: string | undefined;
121
+ hk?: string | undefined;
122
+ hu?: string | undefined;
123
+ is?: string | undefined;
124
+ in?: string | undefined;
125
+ id?: string | undefined;
126
+ ir?: string | undefined;
127
+ iq?: string | undefined;
128
+ ie?: string | undefined;
129
+ il?: string | undefined;
130
+ it?: string | undefined;
131
+ jm?: string | undefined;
132
+ jp?: string | undefined;
133
+ jo?: string | undefined;
134
+ kz?: string | undefined;
135
+ ke?: string | undefined;
136
+ ki?: string | undefined;
137
+ kp?: string | undefined;
138
+ kr?: string | undefined;
139
+ kw?: string | undefined;
140
+ kg?: string | undefined;
141
+ la?: string | undefined;
142
+ lv?: string | undefined;
143
+ lb?: string | undefined;
144
+ ls?: string | undefined;
145
+ lr?: string | undefined;
146
+ ly?: string | undefined;
147
+ li?: string | undefined;
148
+ lt?: string | undefined;
149
+ lu?: string | undefined;
150
+ mo?: string | undefined;
151
+ mg?: string | undefined;
152
+ mw?: string | undefined;
153
+ my?: string | undefined;
154
+ mv?: string | undefined;
155
+ ml?: string | undefined;
156
+ mt?: string | undefined;
157
+ mh?: string | undefined;
158
+ mq?: string | undefined;
159
+ mr?: string | undefined;
160
+ mu?: string | undefined;
161
+ yt?: string | undefined;
162
+ mx?: string | undefined;
163
+ fm?: string | undefined;
164
+ md?: string | undefined;
165
+ mc?: string | undefined;
166
+ mn?: string | undefined;
167
+ ms?: string | undefined;
168
+ ma?: string | undefined;
169
+ mz?: string | undefined;
170
+ mm?: string | undefined;
171
+ na?: string | undefined;
172
+ nr?: string | undefined;
173
+ np?: string | undefined;
174
+ nl?: string | undefined;
175
+ nc?: string | undefined;
176
+ nz?: string | undefined;
177
+ ni?: string | undefined;
178
+ ne?: string | undefined;
179
+ ng?: string | undefined;
180
+ nu?: string | undefined;
181
+ nf?: string | undefined;
182
+ mk?: string | undefined;
183
+ mp?: string | undefined;
184
+ no?: string | undefined;
185
+ om?: string | undefined;
186
+ pk?: string | undefined;
187
+ pw?: string | undefined;
188
+ ps?: string | undefined;
189
+ pa?: string | undefined;
190
+ pg?: string | undefined;
191
+ py?: string | undefined;
192
+ pe?: string | undefined;
193
+ ph?: string | undefined;
194
+ pn?: string | undefined;
195
+ pl?: string | undefined;
196
+ pt?: string | undefined;
197
+ pr?: string | undefined;
198
+ qa?: string | undefined;
199
+ re?: string | undefined;
200
+ ro?: string | undefined;
201
+ ru?: string | undefined;
202
+ rw?: string | undefined;
203
+ sh?: string | undefined;
204
+ kn?: string | undefined;
205
+ lc?: string | undefined;
206
+ pm?: string | undefined;
207
+ vc?: string | undefined;
208
+ ws?: string | undefined;
209
+ sm?: string | undefined;
210
+ st?: string | undefined;
211
+ sa?: string | undefined;
212
+ sn?: string | undefined;
213
+ sc?: string | undefined;
214
+ sl?: string | undefined;
215
+ sg?: string | undefined;
216
+ sk?: string | undefined;
217
+ si?: string | undefined;
218
+ sb?: string | undefined;
219
+ so?: string | undefined;
220
+ za?: string | undefined;
221
+ gs?: string | undefined;
222
+ es?: string | undefined;
223
+ lk?: string | undefined;
224
+ sd?: string | undefined;
225
+ sr?: string | undefined;
226
+ sj?: string | undefined;
227
+ sz?: string | undefined;
228
+ se?: string | undefined;
229
+ ch?: string | undefined;
230
+ sy?: string | undefined;
231
+ tw?: string | undefined;
232
+ tj?: string | undefined;
233
+ tz?: string | undefined;
234
+ th?: string | undefined;
235
+ tl?: string | undefined;
236
+ tg?: string | undefined;
237
+ tk?: string | undefined;
238
+ to?: string | undefined;
239
+ tt?: string | undefined;
240
+ tn?: string | undefined;
241
+ tr?: string | undefined;
242
+ tm?: string | undefined;
243
+ tc?: string | undefined;
244
+ tv?: string | undefined;
245
+ ug?: string | undefined;
246
+ ua?: string | undefined;
247
+ ae?: string | undefined;
248
+ gb?: string | undefined;
249
+ us?: string | undefined;
250
+ um?: string | undefined;
251
+ uy?: string | undefined;
252
+ uz?: string | undefined;
253
+ vu?: string | undefined;
254
+ ve?: string | undefined;
255
+ vn?: string | undefined;
256
+ vg?: string | undefined;
257
+ vi?: string | undefined;
258
+ wf?: string | undefined;
259
+ eh?: string | undefined;
260
+ ye?: string | undefined;
261
+ zm?: string | undefined;
262
+ zw?: string | undefined;
263
+ ax?: string | undefined;
264
+ bq?: string | undefined;
265
+ cw?: string | undefined;
266
+ gg?: string | undefined;
267
+ im?: string | undefined;
268
+ je?: string | undefined;
269
+ me?: string | undefined;
270
+ bl?: string | undefined;
271
+ mf?: string | undefined;
272
+ rs?: string | undefined;
273
+ sx?: string | undefined;
274
+ ss?: string | undefined;
275
+ xk?: string | undefined;
276
+ };
277
+ export type LinkClickedEventLink = {
278
+ /**
279
+ * The unique ID of the short link.
280
+ */
281
+ id: string;
282
+ /**
283
+ * The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
284
+ */
285
+ domain: string;
286
+ /**
287
+ * The short link slug. If not provided, a random 7-character slug will be generated.
288
+ */
289
+ key: string;
290
+ url: string;
291
+ trackConversion?: boolean | undefined;
292
+ /**
293
+ * This is the ID of the link in your database that is unique across your workspace. If set, it can be used to identify the link in future API requests. Must be prefixed with 'ext_' when passed as a query parameter.
294
+ */
295
+ externalId: string | null;
296
+ /**
297
+ * The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking.
298
+ */
299
+ identifier: string | null;
300
+ archived?: boolean | undefined;
301
+ expiresAt: string;
302
+ /**
303
+ * The URL to redirect to when the short link has expired.
304
+ */
305
+ expiredUrl: string | null;
306
+ /**
307
+ * The password required to access the destination URL of the short link.
308
+ */
309
+ password: string | null;
310
+ proxy?: boolean | undefined;
311
+ /**
312
+ * The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
313
+ */
314
+ title: string | null;
315
+ /**
316
+ * The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
317
+ */
318
+ description: string | null;
319
+ /**
320
+ * The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true.
321
+ */
322
+ image: string | null;
323
+ /**
324
+ * The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
325
+ */
326
+ video: string | null;
327
+ rewrite?: boolean | undefined;
328
+ doIndex?: boolean | undefined;
329
+ /**
330
+ * The iOS destination URL for the short link for iOS device targeting.
331
+ */
332
+ ios: string | null;
333
+ /**
334
+ * The Android destination URL for the short link for Android device targeting.
335
+ */
336
+ android: string | null;
337
+ /**
338
+ * Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo
339
+ */
340
+ geo: LinkClickedEventGeo | null;
341
+ publicStats?: boolean | undefined;
342
+ /**
343
+ * The unique ID of the tag assigned to the short link. This field is deprecated – use `tags` instead.
344
+ *
345
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
346
+ */
347
+ tagId: string | null;
348
+ /**
349
+ * The tags assigned to the short link.
350
+ */
351
+ tags: Array<TagSchema> | null;
352
+ /**
353
+ * The comments for the short link.
354
+ */
355
+ comments: string | null;
356
+ /**
357
+ * The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`).
358
+ */
359
+ shortLink: string;
360
+ /**
361
+ * The full URL of the QR code for the short link (e.g. `https://api.dub.co/qr?url=https://dub.sh/try`).
362
+ */
363
+ qrCode: string;
364
+ /**
365
+ * The UTM source of the short link.
366
+ */
367
+ utmSource: string | null;
368
+ /**
369
+ * The UTM medium of the short link.
370
+ */
371
+ utmMedium: string | null;
372
+ /**
373
+ * The UTM campaign of the short link.
374
+ */
375
+ utmCampaign: string | null;
376
+ /**
377
+ * The UTM term of the short link.
378
+ */
379
+ utmTerm: string | null;
380
+ /**
381
+ * The UTM content of the short link.
382
+ */
383
+ utmContent: string | null;
384
+ userId: string | null;
385
+ /**
386
+ * The workspace ID of the short link.
387
+ */
388
+ workspaceId: string;
389
+ /**
390
+ * The number of clicks on the short link.
391
+ */
392
+ clicks?: number | undefined;
393
+ lastClicked: string;
394
+ /**
395
+ * [BETA]: The number of leads the short links has generated.
396
+ */
397
+ leads?: number | undefined;
398
+ /**
399
+ * [BETA]: The number of sales the short links has generated.
400
+ */
401
+ sales?: number | undefined;
402
+ /**
403
+ * [BETA]: The total dollar amount of sales the short links has generated (in cents).
404
+ */
405
+ saleAmount?: number | undefined;
406
+ createdAt: string;
407
+ updatedAt: string;
408
+ /**
409
+ * The project ID of the short link. This field is deprecated – use `workspaceId` instead.
410
+ *
411
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
412
+ */
413
+ projectId: string;
414
+ };
415
+ export type LinkClickedEventData = {
416
+ click: LinkClickedEventClick;
417
+ link: LinkClickedEventLink;
418
+ };
419
+ /**
420
+ * Triggered when a link is clicked.
421
+ */
422
+ export type LinkClickedEvent = {
423
+ id: string;
424
+ event: LinkClickedEventEvent;
425
+ createdAt: string;
426
+ data: LinkClickedEventData;
427
+ };
428
+ /** @internal */
429
+ export declare const LinkClickedEventEvent$inboundSchema: z.ZodNativeEnum<typeof LinkClickedEventEvent>;
430
+ /** @internal */
431
+ export declare const LinkClickedEventEvent$outboundSchema: z.ZodNativeEnum<typeof LinkClickedEventEvent>;
432
+ /**
433
+ * @internal
434
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
435
+ */
436
+ export declare namespace LinkClickedEventEvent$ {
437
+ /** @deprecated use `LinkClickedEventEvent$inboundSchema` instead. */
438
+ const inboundSchema: z.ZodNativeEnum<{
439
+ readonly LinkClicked: "link.clicked";
440
+ }>;
441
+ /** @deprecated use `LinkClickedEventEvent$outboundSchema` instead. */
442
+ const outboundSchema: z.ZodNativeEnum<{
443
+ readonly LinkClicked: "link.clicked";
444
+ }>;
445
+ }
446
+ /** @internal */
447
+ export declare const LinkClickedEventClick$inboundSchema: z.ZodType<LinkClickedEventClick, z.ZodTypeDef, unknown>;
448
+ /** @internal */
449
+ export type LinkClickedEventClick$Outbound = {
450
+ id: string;
451
+ url: string;
452
+ continent: string;
453
+ country: string;
454
+ city: string;
455
+ device: string;
456
+ browser: string;
457
+ os: string;
458
+ referer: string;
459
+ refererUrl: string;
460
+ qr?: boolean | undefined;
461
+ ip: string;
462
+ };
463
+ /** @internal */
464
+ export declare const LinkClickedEventClick$outboundSchema: z.ZodType<LinkClickedEventClick$Outbound, z.ZodTypeDef, LinkClickedEventClick>;
465
+ /**
466
+ * @internal
467
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
468
+ */
469
+ export declare namespace LinkClickedEventClick$ {
470
+ /** @deprecated use `LinkClickedEventClick$inboundSchema` instead. */
471
+ const inboundSchema: z.ZodType<LinkClickedEventClick, z.ZodTypeDef, unknown>;
472
+ /** @deprecated use `LinkClickedEventClick$outboundSchema` instead. */
473
+ const outboundSchema: z.ZodType<LinkClickedEventClick$Outbound, z.ZodTypeDef, LinkClickedEventClick>;
474
+ /** @deprecated use `LinkClickedEventClick$Outbound` instead. */
475
+ type Outbound = LinkClickedEventClick$Outbound;
476
+ }
477
+ /** @internal */
478
+ export declare const LinkClickedEventGeo$inboundSchema: z.ZodType<LinkClickedEventGeo, z.ZodTypeDef, unknown>;
479
+ /** @internal */
480
+ export type LinkClickedEventGeo$Outbound = {
481
+ AF?: string | undefined;
482
+ AL?: string | undefined;
483
+ DZ?: string | undefined;
484
+ AS?: string | undefined;
485
+ AD?: string | undefined;
486
+ AO?: string | undefined;
487
+ AI?: string | undefined;
488
+ AQ?: string | undefined;
489
+ AG?: string | undefined;
490
+ AR?: string | undefined;
491
+ AM?: string | undefined;
492
+ AW?: string | undefined;
493
+ AU?: string | undefined;
494
+ AT?: string | undefined;
495
+ AZ?: string | undefined;
496
+ BS?: string | undefined;
497
+ BH?: string | undefined;
498
+ BD?: string | undefined;
499
+ BB?: string | undefined;
500
+ BY?: string | undefined;
501
+ BE?: string | undefined;
502
+ BZ?: string | undefined;
503
+ BJ?: string | undefined;
504
+ BM?: string | undefined;
505
+ BT?: string | undefined;
506
+ BO?: string | undefined;
507
+ BA?: string | undefined;
508
+ BW?: string | undefined;
509
+ BV?: string | undefined;
510
+ BR?: string | undefined;
511
+ IO?: string | undefined;
512
+ BN?: string | undefined;
513
+ BG?: string | undefined;
514
+ BF?: string | undefined;
515
+ BI?: string | undefined;
516
+ KH?: string | undefined;
517
+ CM?: string | undefined;
518
+ CA?: string | undefined;
519
+ CV?: string | undefined;
520
+ KY?: string | undefined;
521
+ CF?: string | undefined;
522
+ TD?: string | undefined;
523
+ CL?: string | undefined;
524
+ CN?: string | undefined;
525
+ CX?: string | undefined;
526
+ CC?: string | undefined;
527
+ CO?: string | undefined;
528
+ KM?: string | undefined;
529
+ CG?: string | undefined;
530
+ CD?: string | undefined;
531
+ CK?: string | undefined;
532
+ CR?: string | undefined;
533
+ CI?: string | undefined;
534
+ HR?: string | undefined;
535
+ CU?: string | undefined;
536
+ CY?: string | undefined;
537
+ CZ?: string | undefined;
538
+ DK?: string | undefined;
539
+ DJ?: string | undefined;
540
+ DM?: string | undefined;
541
+ DO?: string | undefined;
542
+ EC?: string | undefined;
543
+ EG?: string | undefined;
544
+ SV?: string | undefined;
545
+ GQ?: string | undefined;
546
+ ER?: string | undefined;
547
+ EE?: string | undefined;
548
+ ET?: string | undefined;
549
+ FK?: string | undefined;
550
+ FO?: string | undefined;
551
+ FJ?: string | undefined;
552
+ FI?: string | undefined;
553
+ FR?: string | undefined;
554
+ GF?: string | undefined;
555
+ PF?: string | undefined;
556
+ TF?: string | undefined;
557
+ GA?: string | undefined;
558
+ GM?: string | undefined;
559
+ GE?: string | undefined;
560
+ DE?: string | undefined;
561
+ GH?: string | undefined;
562
+ GI?: string | undefined;
563
+ GR?: string | undefined;
564
+ GL?: string | undefined;
565
+ GD?: string | undefined;
566
+ GP?: string | undefined;
567
+ GU?: string | undefined;
568
+ GT?: string | undefined;
569
+ GN?: string | undefined;
570
+ GW?: string | undefined;
571
+ GY?: string | undefined;
572
+ HT?: string | undefined;
573
+ HM?: string | undefined;
574
+ VA?: string | undefined;
575
+ HN?: string | undefined;
576
+ HK?: string | undefined;
577
+ HU?: string | undefined;
578
+ IS?: string | undefined;
579
+ IN?: string | undefined;
580
+ ID?: string | undefined;
581
+ IR?: string | undefined;
582
+ IQ?: string | undefined;
583
+ IE?: string | undefined;
584
+ IL?: string | undefined;
585
+ IT?: string | undefined;
586
+ JM?: string | undefined;
587
+ JP?: string | undefined;
588
+ JO?: string | undefined;
589
+ KZ?: string | undefined;
590
+ KE?: string | undefined;
591
+ KI?: string | undefined;
592
+ KP?: string | undefined;
593
+ KR?: string | undefined;
594
+ KW?: string | undefined;
595
+ KG?: string | undefined;
596
+ LA?: string | undefined;
597
+ LV?: string | undefined;
598
+ LB?: string | undefined;
599
+ LS?: string | undefined;
600
+ LR?: string | undefined;
601
+ LY?: string | undefined;
602
+ LI?: string | undefined;
603
+ LT?: string | undefined;
604
+ LU?: string | undefined;
605
+ MO?: string | undefined;
606
+ MG?: string | undefined;
607
+ MW?: string | undefined;
608
+ MY?: string | undefined;
609
+ MV?: string | undefined;
610
+ ML?: string | undefined;
611
+ MT?: string | undefined;
612
+ MH?: string | undefined;
613
+ MQ?: string | undefined;
614
+ MR?: string | undefined;
615
+ MU?: string | undefined;
616
+ YT?: string | undefined;
617
+ MX?: string | undefined;
618
+ FM?: string | undefined;
619
+ MD?: string | undefined;
620
+ MC?: string | undefined;
621
+ MN?: string | undefined;
622
+ MS?: string | undefined;
623
+ MA?: string | undefined;
624
+ MZ?: string | undefined;
625
+ MM?: string | undefined;
626
+ NA?: string | undefined;
627
+ NR?: string | undefined;
628
+ NP?: string | undefined;
629
+ NL?: string | undefined;
630
+ NC?: string | undefined;
631
+ NZ?: string | undefined;
632
+ NI?: string | undefined;
633
+ NE?: string | undefined;
634
+ NG?: string | undefined;
635
+ NU?: string | undefined;
636
+ NF?: string | undefined;
637
+ MK?: string | undefined;
638
+ MP?: string | undefined;
639
+ NO?: string | undefined;
640
+ OM?: string | undefined;
641
+ PK?: string | undefined;
642
+ PW?: string | undefined;
643
+ PS?: string | undefined;
644
+ PA?: string | undefined;
645
+ PG?: string | undefined;
646
+ PY?: string | undefined;
647
+ PE?: string | undefined;
648
+ PH?: string | undefined;
649
+ PN?: string | undefined;
650
+ PL?: string | undefined;
651
+ PT?: string | undefined;
652
+ PR?: string | undefined;
653
+ QA?: string | undefined;
654
+ RE?: string | undefined;
655
+ RO?: string | undefined;
656
+ RU?: string | undefined;
657
+ RW?: string | undefined;
658
+ SH?: string | undefined;
659
+ KN?: string | undefined;
660
+ LC?: string | undefined;
661
+ PM?: string | undefined;
662
+ VC?: string | undefined;
663
+ WS?: string | undefined;
664
+ SM?: string | undefined;
665
+ ST?: string | undefined;
666
+ SA?: string | undefined;
667
+ SN?: string | undefined;
668
+ SC?: string | undefined;
669
+ SL?: string | undefined;
670
+ SG?: string | undefined;
671
+ SK?: string | undefined;
672
+ SI?: string | undefined;
673
+ SB?: string | undefined;
674
+ SO?: string | undefined;
675
+ ZA?: string | undefined;
676
+ GS?: string | undefined;
677
+ ES?: string | undefined;
678
+ LK?: string | undefined;
679
+ SD?: string | undefined;
680
+ SR?: string | undefined;
681
+ SJ?: string | undefined;
682
+ SZ?: string | undefined;
683
+ SE?: string | undefined;
684
+ CH?: string | undefined;
685
+ SY?: string | undefined;
686
+ TW?: string | undefined;
687
+ TJ?: string | undefined;
688
+ TZ?: string | undefined;
689
+ TH?: string | undefined;
690
+ TL?: string | undefined;
691
+ TG?: string | undefined;
692
+ TK?: string | undefined;
693
+ TO?: string | undefined;
694
+ TT?: string | undefined;
695
+ TN?: string | undefined;
696
+ TR?: string | undefined;
697
+ TM?: string | undefined;
698
+ TC?: string | undefined;
699
+ TV?: string | undefined;
700
+ UG?: string | undefined;
701
+ UA?: string | undefined;
702
+ AE?: string | undefined;
703
+ GB?: string | undefined;
704
+ US?: string | undefined;
705
+ UM?: string | undefined;
706
+ UY?: string | undefined;
707
+ UZ?: string | undefined;
708
+ VU?: string | undefined;
709
+ VE?: string | undefined;
710
+ VN?: string | undefined;
711
+ VG?: string | undefined;
712
+ VI?: string | undefined;
713
+ WF?: string | undefined;
714
+ EH?: string | undefined;
715
+ YE?: string | undefined;
716
+ ZM?: string | undefined;
717
+ ZW?: string | undefined;
718
+ AX?: string | undefined;
719
+ BQ?: string | undefined;
720
+ CW?: string | undefined;
721
+ GG?: string | undefined;
722
+ IM?: string | undefined;
723
+ JE?: string | undefined;
724
+ ME?: string | undefined;
725
+ BL?: string | undefined;
726
+ MF?: string | undefined;
727
+ RS?: string | undefined;
728
+ SX?: string | undefined;
729
+ SS?: string | undefined;
730
+ XK?: string | undefined;
731
+ };
732
+ /** @internal */
733
+ export declare const LinkClickedEventGeo$outboundSchema: z.ZodType<LinkClickedEventGeo$Outbound, z.ZodTypeDef, LinkClickedEventGeo>;
734
+ /**
735
+ * @internal
736
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
737
+ */
738
+ export declare namespace LinkClickedEventGeo$ {
739
+ /** @deprecated use `LinkClickedEventGeo$inboundSchema` instead. */
740
+ const inboundSchema: z.ZodType<LinkClickedEventGeo, z.ZodTypeDef, unknown>;
741
+ /** @deprecated use `LinkClickedEventGeo$outboundSchema` instead. */
742
+ const outboundSchema: z.ZodType<LinkClickedEventGeo$Outbound, z.ZodTypeDef, LinkClickedEventGeo>;
743
+ /** @deprecated use `LinkClickedEventGeo$Outbound` instead. */
744
+ type Outbound = LinkClickedEventGeo$Outbound;
745
+ }
746
+ /** @internal */
747
+ export declare const LinkClickedEventLink$inboundSchema: z.ZodType<LinkClickedEventLink, z.ZodTypeDef, unknown>;
748
+ /** @internal */
749
+ export type LinkClickedEventLink$Outbound = {
750
+ id: string;
751
+ domain: string;
752
+ key: string;
753
+ url: string;
754
+ trackConversion?: boolean | undefined;
755
+ externalId: string | null;
756
+ identifier: string | null;
757
+ archived?: boolean | undefined;
758
+ expiresAt: string;
759
+ expiredUrl: string | null;
760
+ password: string | null;
761
+ proxy?: boolean | undefined;
762
+ title: string | null;
763
+ description: string | null;
764
+ image: string | null;
765
+ video: string | null;
766
+ rewrite?: boolean | undefined;
767
+ doIndex?: boolean | undefined;
768
+ ios: string | null;
769
+ android: string | null;
770
+ geo: LinkClickedEventGeo$Outbound | null;
771
+ publicStats?: boolean | undefined;
772
+ tagId: string | null;
773
+ tags: Array<TagSchema$Outbound> | null;
774
+ comments: string | null;
775
+ shortLink: string;
776
+ qrCode: string;
777
+ utm_source: string | null;
778
+ utm_medium: string | null;
779
+ utm_campaign: string | null;
780
+ utm_term: string | null;
781
+ utm_content: string | null;
782
+ userId: string | null;
783
+ workspaceId: string;
784
+ clicks: number;
785
+ lastClicked: string;
786
+ leads: number;
787
+ sales: number;
788
+ saleAmount: number;
789
+ createdAt: string;
790
+ updatedAt: string;
791
+ projectId: string;
792
+ };
793
+ /** @internal */
794
+ export declare const LinkClickedEventLink$outboundSchema: z.ZodType<LinkClickedEventLink$Outbound, z.ZodTypeDef, LinkClickedEventLink>;
795
+ /**
796
+ * @internal
797
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
798
+ */
799
+ export declare namespace LinkClickedEventLink$ {
800
+ /** @deprecated use `LinkClickedEventLink$inboundSchema` instead. */
801
+ const inboundSchema: z.ZodType<LinkClickedEventLink, z.ZodTypeDef, unknown>;
802
+ /** @deprecated use `LinkClickedEventLink$outboundSchema` instead. */
803
+ const outboundSchema: z.ZodType<LinkClickedEventLink$Outbound, z.ZodTypeDef, LinkClickedEventLink>;
804
+ /** @deprecated use `LinkClickedEventLink$Outbound` instead. */
805
+ type Outbound = LinkClickedEventLink$Outbound;
806
+ }
807
+ /** @internal */
808
+ export declare const LinkClickedEventData$inboundSchema: z.ZodType<LinkClickedEventData, z.ZodTypeDef, unknown>;
809
+ /** @internal */
810
+ export type LinkClickedEventData$Outbound = {
811
+ click: LinkClickedEventClick$Outbound;
812
+ link: LinkClickedEventLink$Outbound;
813
+ };
814
+ /** @internal */
815
+ export declare const LinkClickedEventData$outboundSchema: z.ZodType<LinkClickedEventData$Outbound, z.ZodTypeDef, LinkClickedEventData>;
816
+ /**
817
+ * @internal
818
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
819
+ */
820
+ export declare namespace LinkClickedEventData$ {
821
+ /** @deprecated use `LinkClickedEventData$inboundSchema` instead. */
822
+ const inboundSchema: z.ZodType<LinkClickedEventData, z.ZodTypeDef, unknown>;
823
+ /** @deprecated use `LinkClickedEventData$outboundSchema` instead. */
824
+ const outboundSchema: z.ZodType<LinkClickedEventData$Outbound, z.ZodTypeDef, LinkClickedEventData>;
825
+ /** @deprecated use `LinkClickedEventData$Outbound` instead. */
826
+ type Outbound = LinkClickedEventData$Outbound;
827
+ }
828
+ /** @internal */
829
+ export declare const LinkClickedEvent$inboundSchema: z.ZodType<LinkClickedEvent, z.ZodTypeDef, unknown>;
830
+ /** @internal */
831
+ export type LinkClickedEvent$Outbound = {
832
+ id: string;
833
+ event: string;
834
+ createdAt: string;
835
+ data: LinkClickedEventData$Outbound;
836
+ };
837
+ /** @internal */
838
+ export declare const LinkClickedEvent$outboundSchema: z.ZodType<LinkClickedEvent$Outbound, z.ZodTypeDef, LinkClickedEvent>;
839
+ /**
840
+ * @internal
841
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
842
+ */
843
+ export declare namespace LinkClickedEvent$ {
844
+ /** @deprecated use `LinkClickedEvent$inboundSchema` instead. */
845
+ const inboundSchema: z.ZodType<LinkClickedEvent, z.ZodTypeDef, unknown>;
846
+ /** @deprecated use `LinkClickedEvent$outboundSchema` instead. */
847
+ const outboundSchema: z.ZodType<LinkClickedEvent$Outbound, z.ZodTypeDef, LinkClickedEvent>;
848
+ /** @deprecated use `LinkClickedEvent$Outbound` instead. */
849
+ type Outbound = LinkClickedEvent$Outbound;
850
+ }
851
+ //# sourceMappingURL=linkclickedevent.d.ts.map