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