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,1307 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.LeadCreatedEvent$ = exports.LeadCreatedEvent$outboundSchema = exports.LeadCreatedEvent$inboundSchema = exports.LeadCreatedEventData$ = exports.LeadCreatedEventData$outboundSchema = exports.LeadCreatedEventData$inboundSchema = exports.LeadCreatedEventLink$ = exports.LeadCreatedEventLink$outboundSchema = exports.LeadCreatedEventLink$inboundSchema = exports.LeadCreatedEventGeo$ = exports.LeadCreatedEventGeo$outboundSchema = exports.LeadCreatedEventGeo$inboundSchema = exports.LeadCreatedEventClick$ = exports.LeadCreatedEventClick$outboundSchema = exports.LeadCreatedEventClick$inboundSchema = exports.LeadCreatedEventCustomer$ = exports.LeadCreatedEventCustomer$outboundSchema = exports.LeadCreatedEventCustomer$inboundSchema = exports.LeadCreatedEventEvent$ = exports.LeadCreatedEventEvent$outboundSchema = exports.LeadCreatedEventEvent$inboundSchema = exports.LeadCreatedEventEvent = void 0;
30
+ const z = __importStar(require("zod"));
31
+ const primitives_js_1 = require("../../lib/primitives.js");
32
+ const tagschema_js_1 = require("./tagschema.js");
33
+ exports.LeadCreatedEventEvent = {
34
+ LeadCreated: "lead.created",
35
+ };
36
+ /** @internal */
37
+ exports.LeadCreatedEventEvent$inboundSchema = z.nativeEnum(exports.LeadCreatedEventEvent);
38
+ /** @internal */
39
+ exports.LeadCreatedEventEvent$outboundSchema = exports.LeadCreatedEventEvent$inboundSchema;
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ var LeadCreatedEventEvent$;
45
+ (function (LeadCreatedEventEvent$) {
46
+ /** @deprecated use `LeadCreatedEventEvent$inboundSchema` instead. */
47
+ LeadCreatedEventEvent$.inboundSchema = exports.LeadCreatedEventEvent$inboundSchema;
48
+ /** @deprecated use `LeadCreatedEventEvent$outboundSchema` instead. */
49
+ LeadCreatedEventEvent$.outboundSchema = exports.LeadCreatedEventEvent$outboundSchema;
50
+ })(LeadCreatedEventEvent$ || (exports.LeadCreatedEventEvent$ = LeadCreatedEventEvent$ = {}));
51
+ /** @internal */
52
+ exports.LeadCreatedEventCustomer$inboundSchema = z.object({
53
+ id: z.string(),
54
+ name: z.nullable(z.string()),
55
+ email: z.nullable(z.string()),
56
+ avatar: z.nullable(z.string()),
57
+ });
58
+ /** @internal */
59
+ exports.LeadCreatedEventCustomer$outboundSchema = z.object({
60
+ id: z.string(),
61
+ name: z.nullable(z.string()),
62
+ email: z.nullable(z.string()),
63
+ avatar: z.nullable(z.string()),
64
+ });
65
+ /**
66
+ * @internal
67
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
68
+ */
69
+ var LeadCreatedEventCustomer$;
70
+ (function (LeadCreatedEventCustomer$) {
71
+ /** @deprecated use `LeadCreatedEventCustomer$inboundSchema` instead. */
72
+ LeadCreatedEventCustomer$.inboundSchema = exports.LeadCreatedEventCustomer$inboundSchema;
73
+ /** @deprecated use `LeadCreatedEventCustomer$outboundSchema` instead. */
74
+ LeadCreatedEventCustomer$.outboundSchema = exports.LeadCreatedEventCustomer$outboundSchema;
75
+ })(LeadCreatedEventCustomer$ || (exports.LeadCreatedEventCustomer$ = LeadCreatedEventCustomer$ = {}));
76
+ /** @internal */
77
+ exports.LeadCreatedEventClick$inboundSchema = z.object({
78
+ id: z.string(),
79
+ url: z.string(),
80
+ continent: z.string(),
81
+ country: z.string(),
82
+ city: z.string(),
83
+ device: z.string(),
84
+ browser: z.string(),
85
+ os: z.string(),
86
+ referer: z.string(),
87
+ refererUrl: z.string(),
88
+ qr: z.boolean().optional(),
89
+ ip: z.string(),
90
+ });
91
+ /** @internal */
92
+ exports.LeadCreatedEventClick$outboundSchema = z.object({
93
+ id: z.string(),
94
+ url: z.string(),
95
+ continent: z.string(),
96
+ country: z.string(),
97
+ city: z.string(),
98
+ device: z.string(),
99
+ browser: z.string(),
100
+ os: z.string(),
101
+ referer: z.string(),
102
+ refererUrl: z.string(),
103
+ qr: z.boolean().optional(),
104
+ ip: z.string(),
105
+ });
106
+ /**
107
+ * @internal
108
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
109
+ */
110
+ var LeadCreatedEventClick$;
111
+ (function (LeadCreatedEventClick$) {
112
+ /** @deprecated use `LeadCreatedEventClick$inboundSchema` instead. */
113
+ LeadCreatedEventClick$.inboundSchema = exports.LeadCreatedEventClick$inboundSchema;
114
+ /** @deprecated use `LeadCreatedEventClick$outboundSchema` instead. */
115
+ LeadCreatedEventClick$.outboundSchema = exports.LeadCreatedEventClick$outboundSchema;
116
+ })(LeadCreatedEventClick$ || (exports.LeadCreatedEventClick$ = LeadCreatedEventClick$ = {}));
117
+ /** @internal */
118
+ exports.LeadCreatedEventGeo$inboundSchema = z.object({
119
+ AF: z.string().optional(),
120
+ AL: z.string().optional(),
121
+ DZ: z.string().optional(),
122
+ AS: z.string().optional(),
123
+ AD: z.string().optional(),
124
+ AO: z.string().optional(),
125
+ AI: z.string().optional(),
126
+ AQ: z.string().optional(),
127
+ AG: z.string().optional(),
128
+ AR: z.string().optional(),
129
+ AM: z.string().optional(),
130
+ AW: z.string().optional(),
131
+ AU: z.string().optional(),
132
+ AT: z.string().optional(),
133
+ AZ: z.string().optional(),
134
+ BS: z.string().optional(),
135
+ BH: z.string().optional(),
136
+ BD: z.string().optional(),
137
+ BB: z.string().optional(),
138
+ BY: z.string().optional(),
139
+ BE: z.string().optional(),
140
+ BZ: z.string().optional(),
141
+ BJ: z.string().optional(),
142
+ BM: z.string().optional(),
143
+ BT: z.string().optional(),
144
+ BO: z.string().optional(),
145
+ BA: z.string().optional(),
146
+ BW: z.string().optional(),
147
+ BV: z.string().optional(),
148
+ BR: z.string().optional(),
149
+ IO: z.string().optional(),
150
+ BN: z.string().optional(),
151
+ BG: z.string().optional(),
152
+ BF: z.string().optional(),
153
+ BI: z.string().optional(),
154
+ KH: z.string().optional(),
155
+ CM: z.string().optional(),
156
+ CA: z.string().optional(),
157
+ CV: z.string().optional(),
158
+ KY: z.string().optional(),
159
+ CF: z.string().optional(),
160
+ TD: z.string().optional(),
161
+ CL: z.string().optional(),
162
+ CN: z.string().optional(),
163
+ CX: z.string().optional(),
164
+ CC: z.string().optional(),
165
+ CO: z.string().optional(),
166
+ KM: z.string().optional(),
167
+ CG: z.string().optional(),
168
+ CD: z.string().optional(),
169
+ CK: z.string().optional(),
170
+ CR: z.string().optional(),
171
+ CI: z.string().optional(),
172
+ HR: z.string().optional(),
173
+ CU: z.string().optional(),
174
+ CY: z.string().optional(),
175
+ CZ: z.string().optional(),
176
+ DK: z.string().optional(),
177
+ DJ: z.string().optional(),
178
+ DM: z.string().optional(),
179
+ DO: z.string().optional(),
180
+ EC: z.string().optional(),
181
+ EG: z.string().optional(),
182
+ SV: z.string().optional(),
183
+ GQ: z.string().optional(),
184
+ ER: z.string().optional(),
185
+ EE: z.string().optional(),
186
+ ET: z.string().optional(),
187
+ FK: z.string().optional(),
188
+ FO: z.string().optional(),
189
+ FJ: z.string().optional(),
190
+ FI: z.string().optional(),
191
+ FR: z.string().optional(),
192
+ GF: z.string().optional(),
193
+ PF: z.string().optional(),
194
+ TF: z.string().optional(),
195
+ GA: z.string().optional(),
196
+ GM: z.string().optional(),
197
+ GE: z.string().optional(),
198
+ DE: z.string().optional(),
199
+ GH: z.string().optional(),
200
+ GI: z.string().optional(),
201
+ GR: z.string().optional(),
202
+ GL: z.string().optional(),
203
+ GD: z.string().optional(),
204
+ GP: z.string().optional(),
205
+ GU: z.string().optional(),
206
+ GT: z.string().optional(),
207
+ GN: z.string().optional(),
208
+ GW: z.string().optional(),
209
+ GY: z.string().optional(),
210
+ HT: z.string().optional(),
211
+ HM: z.string().optional(),
212
+ VA: z.string().optional(),
213
+ HN: z.string().optional(),
214
+ HK: z.string().optional(),
215
+ HU: z.string().optional(),
216
+ IS: z.string().optional(),
217
+ IN: z.string().optional(),
218
+ ID: z.string().optional(),
219
+ IR: z.string().optional(),
220
+ IQ: z.string().optional(),
221
+ IE: z.string().optional(),
222
+ IL: z.string().optional(),
223
+ IT: z.string().optional(),
224
+ JM: z.string().optional(),
225
+ JP: z.string().optional(),
226
+ JO: z.string().optional(),
227
+ KZ: z.string().optional(),
228
+ KE: z.string().optional(),
229
+ KI: z.string().optional(),
230
+ KP: z.string().optional(),
231
+ KR: z.string().optional(),
232
+ KW: z.string().optional(),
233
+ KG: z.string().optional(),
234
+ LA: z.string().optional(),
235
+ LV: z.string().optional(),
236
+ LB: z.string().optional(),
237
+ LS: z.string().optional(),
238
+ LR: z.string().optional(),
239
+ LY: z.string().optional(),
240
+ LI: z.string().optional(),
241
+ LT: z.string().optional(),
242
+ LU: z.string().optional(),
243
+ MO: z.string().optional(),
244
+ MG: z.string().optional(),
245
+ MW: z.string().optional(),
246
+ MY: z.string().optional(),
247
+ MV: z.string().optional(),
248
+ ML: z.string().optional(),
249
+ MT: z.string().optional(),
250
+ MH: z.string().optional(),
251
+ MQ: z.string().optional(),
252
+ MR: z.string().optional(),
253
+ MU: z.string().optional(),
254
+ YT: z.string().optional(),
255
+ MX: z.string().optional(),
256
+ FM: z.string().optional(),
257
+ MD: z.string().optional(),
258
+ MC: z.string().optional(),
259
+ MN: z.string().optional(),
260
+ MS: z.string().optional(),
261
+ MA: z.string().optional(),
262
+ MZ: z.string().optional(),
263
+ MM: z.string().optional(),
264
+ NA: z.string().optional(),
265
+ NR: z.string().optional(),
266
+ NP: z.string().optional(),
267
+ NL: z.string().optional(),
268
+ NC: z.string().optional(),
269
+ NZ: z.string().optional(),
270
+ NI: z.string().optional(),
271
+ NE: z.string().optional(),
272
+ NG: z.string().optional(),
273
+ NU: z.string().optional(),
274
+ NF: z.string().optional(),
275
+ MK: z.string().optional(),
276
+ MP: z.string().optional(),
277
+ NO: z.string().optional(),
278
+ OM: z.string().optional(),
279
+ PK: z.string().optional(),
280
+ PW: z.string().optional(),
281
+ PS: z.string().optional(),
282
+ PA: z.string().optional(),
283
+ PG: z.string().optional(),
284
+ PY: z.string().optional(),
285
+ PE: z.string().optional(),
286
+ PH: z.string().optional(),
287
+ PN: z.string().optional(),
288
+ PL: z.string().optional(),
289
+ PT: z.string().optional(),
290
+ PR: z.string().optional(),
291
+ QA: z.string().optional(),
292
+ RE: z.string().optional(),
293
+ RO: z.string().optional(),
294
+ RU: z.string().optional(),
295
+ RW: z.string().optional(),
296
+ SH: z.string().optional(),
297
+ KN: z.string().optional(),
298
+ LC: z.string().optional(),
299
+ PM: z.string().optional(),
300
+ VC: z.string().optional(),
301
+ WS: z.string().optional(),
302
+ SM: z.string().optional(),
303
+ ST: z.string().optional(),
304
+ SA: z.string().optional(),
305
+ SN: z.string().optional(),
306
+ SC: z.string().optional(),
307
+ SL: z.string().optional(),
308
+ SG: z.string().optional(),
309
+ SK: z.string().optional(),
310
+ SI: z.string().optional(),
311
+ SB: z.string().optional(),
312
+ SO: z.string().optional(),
313
+ ZA: z.string().optional(),
314
+ GS: z.string().optional(),
315
+ ES: z.string().optional(),
316
+ LK: z.string().optional(),
317
+ SD: z.string().optional(),
318
+ SR: z.string().optional(),
319
+ SJ: z.string().optional(),
320
+ SZ: z.string().optional(),
321
+ SE: z.string().optional(),
322
+ CH: z.string().optional(),
323
+ SY: z.string().optional(),
324
+ TW: z.string().optional(),
325
+ TJ: z.string().optional(),
326
+ TZ: z.string().optional(),
327
+ TH: z.string().optional(),
328
+ TL: z.string().optional(),
329
+ TG: z.string().optional(),
330
+ TK: z.string().optional(),
331
+ TO: z.string().optional(),
332
+ TT: z.string().optional(),
333
+ TN: z.string().optional(),
334
+ TR: z.string().optional(),
335
+ TM: z.string().optional(),
336
+ TC: z.string().optional(),
337
+ TV: z.string().optional(),
338
+ UG: z.string().optional(),
339
+ UA: z.string().optional(),
340
+ AE: z.string().optional(),
341
+ GB: z.string().optional(),
342
+ US: z.string().optional(),
343
+ UM: z.string().optional(),
344
+ UY: z.string().optional(),
345
+ UZ: z.string().optional(),
346
+ VU: z.string().optional(),
347
+ VE: z.string().optional(),
348
+ VN: z.string().optional(),
349
+ VG: z.string().optional(),
350
+ VI: z.string().optional(),
351
+ WF: z.string().optional(),
352
+ EH: z.string().optional(),
353
+ YE: z.string().optional(),
354
+ ZM: z.string().optional(),
355
+ ZW: z.string().optional(),
356
+ AX: z.string().optional(),
357
+ BQ: z.string().optional(),
358
+ CW: z.string().optional(),
359
+ GG: z.string().optional(),
360
+ IM: z.string().optional(),
361
+ JE: z.string().optional(),
362
+ ME: z.string().optional(),
363
+ BL: z.string().optional(),
364
+ MF: z.string().optional(),
365
+ RS: z.string().optional(),
366
+ SX: z.string().optional(),
367
+ SS: z.string().optional(),
368
+ XK: z.string().optional(),
369
+ }).transform((v) => {
370
+ return (0, primitives_js_1.remap)(v, {
371
+ "AF": "af",
372
+ "AL": "al",
373
+ "DZ": "dz",
374
+ "AS": "as",
375
+ "AD": "ad",
376
+ "AO": "ao",
377
+ "AI": "ai",
378
+ "AQ": "aq",
379
+ "AG": "ag",
380
+ "AR": "ar",
381
+ "AM": "am",
382
+ "AW": "aw",
383
+ "AU": "au",
384
+ "AT": "at",
385
+ "AZ": "az",
386
+ "BS": "bs",
387
+ "BH": "bh",
388
+ "BD": "bd",
389
+ "BB": "bb",
390
+ "BY": "by",
391
+ "BE": "be",
392
+ "BZ": "bz",
393
+ "BJ": "bj",
394
+ "BM": "bm",
395
+ "BT": "bt",
396
+ "BO": "bo",
397
+ "BA": "ba",
398
+ "BW": "bw",
399
+ "BV": "bv",
400
+ "BR": "br",
401
+ "IO": "io",
402
+ "BN": "bn",
403
+ "BG": "bg",
404
+ "BF": "bf",
405
+ "BI": "bi",
406
+ "KH": "kh",
407
+ "CM": "cm",
408
+ "CA": "ca",
409
+ "CV": "cv",
410
+ "KY": "ky",
411
+ "CF": "cf",
412
+ "TD": "td",
413
+ "CL": "cl",
414
+ "CN": "cn",
415
+ "CX": "cx",
416
+ "CC": "cc",
417
+ "CO": "co",
418
+ "KM": "km",
419
+ "CG": "cg",
420
+ "CD": "cd",
421
+ "CK": "ck",
422
+ "CR": "cr",
423
+ "CI": "ci",
424
+ "HR": "hr",
425
+ "CU": "cu",
426
+ "CY": "cy",
427
+ "CZ": "cz",
428
+ "DK": "dk",
429
+ "DJ": "dj",
430
+ "DM": "dm",
431
+ "DO": "do",
432
+ "EC": "ec",
433
+ "EG": "eg",
434
+ "SV": "sv",
435
+ "GQ": "gq",
436
+ "ER": "er",
437
+ "EE": "ee",
438
+ "ET": "et",
439
+ "FK": "fk",
440
+ "FO": "fo",
441
+ "FJ": "fj",
442
+ "FI": "fi",
443
+ "FR": "fr",
444
+ "GF": "gf",
445
+ "PF": "pf",
446
+ "TF": "tf",
447
+ "GA": "ga",
448
+ "GM": "gm",
449
+ "GE": "ge",
450
+ "DE": "de",
451
+ "GH": "gh",
452
+ "GI": "gi",
453
+ "GR": "gr",
454
+ "GL": "gl",
455
+ "GD": "gd",
456
+ "GP": "gp",
457
+ "GU": "gu",
458
+ "GT": "gt",
459
+ "GN": "gn",
460
+ "GW": "gw",
461
+ "GY": "gy",
462
+ "HT": "ht",
463
+ "HM": "hm",
464
+ "VA": "va",
465
+ "HN": "hn",
466
+ "HK": "hk",
467
+ "HU": "hu",
468
+ "IS": "is",
469
+ "IN": "in",
470
+ "ID": "id",
471
+ "IR": "ir",
472
+ "IQ": "iq",
473
+ "IE": "ie",
474
+ "IL": "il",
475
+ "IT": "it",
476
+ "JM": "jm",
477
+ "JP": "jp",
478
+ "JO": "jo",
479
+ "KZ": "kz",
480
+ "KE": "ke",
481
+ "KI": "ki",
482
+ "KP": "kp",
483
+ "KR": "kr",
484
+ "KW": "kw",
485
+ "KG": "kg",
486
+ "LA": "la",
487
+ "LV": "lv",
488
+ "LB": "lb",
489
+ "LS": "ls",
490
+ "LR": "lr",
491
+ "LY": "ly",
492
+ "LI": "li",
493
+ "LT": "lt",
494
+ "LU": "lu",
495
+ "MO": "mo",
496
+ "MG": "mg",
497
+ "MW": "mw",
498
+ "MY": "my",
499
+ "MV": "mv",
500
+ "ML": "ml",
501
+ "MT": "mt",
502
+ "MH": "mh",
503
+ "MQ": "mq",
504
+ "MR": "mr",
505
+ "MU": "mu",
506
+ "YT": "yt",
507
+ "MX": "mx",
508
+ "FM": "fm",
509
+ "MD": "md",
510
+ "MC": "mc",
511
+ "MN": "mn",
512
+ "MS": "ms",
513
+ "MA": "ma",
514
+ "MZ": "mz",
515
+ "MM": "mm",
516
+ "NA": "na",
517
+ "NR": "nr",
518
+ "NP": "np",
519
+ "NL": "nl",
520
+ "NC": "nc",
521
+ "NZ": "nz",
522
+ "NI": "ni",
523
+ "NE": "ne",
524
+ "NG": "ng",
525
+ "NU": "nu",
526
+ "NF": "nf",
527
+ "MK": "mk",
528
+ "MP": "mp",
529
+ "NO": "no",
530
+ "OM": "om",
531
+ "PK": "pk",
532
+ "PW": "pw",
533
+ "PS": "ps",
534
+ "PA": "pa",
535
+ "PG": "pg",
536
+ "PY": "py",
537
+ "PE": "pe",
538
+ "PH": "ph",
539
+ "PN": "pn",
540
+ "PL": "pl",
541
+ "PT": "pt",
542
+ "PR": "pr",
543
+ "QA": "qa",
544
+ "RE": "re",
545
+ "RO": "ro",
546
+ "RU": "ru",
547
+ "RW": "rw",
548
+ "SH": "sh",
549
+ "KN": "kn",
550
+ "LC": "lc",
551
+ "PM": "pm",
552
+ "VC": "vc",
553
+ "WS": "ws",
554
+ "SM": "sm",
555
+ "ST": "st",
556
+ "SA": "sa",
557
+ "SN": "sn",
558
+ "SC": "sc",
559
+ "SL": "sl",
560
+ "SG": "sg",
561
+ "SK": "sk",
562
+ "SI": "si",
563
+ "SB": "sb",
564
+ "SO": "so",
565
+ "ZA": "za",
566
+ "GS": "gs",
567
+ "ES": "es",
568
+ "LK": "lk",
569
+ "SD": "sd",
570
+ "SR": "sr",
571
+ "SJ": "sj",
572
+ "SZ": "sz",
573
+ "SE": "se",
574
+ "CH": "ch",
575
+ "SY": "sy",
576
+ "TW": "tw",
577
+ "TJ": "tj",
578
+ "TZ": "tz",
579
+ "TH": "th",
580
+ "TL": "tl",
581
+ "TG": "tg",
582
+ "TK": "tk",
583
+ "TO": "to",
584
+ "TT": "tt",
585
+ "TN": "tn",
586
+ "TR": "tr",
587
+ "TM": "tm",
588
+ "TC": "tc",
589
+ "TV": "tv",
590
+ "UG": "ug",
591
+ "UA": "ua",
592
+ "AE": "ae",
593
+ "GB": "gb",
594
+ "US": "us",
595
+ "UM": "um",
596
+ "UY": "uy",
597
+ "UZ": "uz",
598
+ "VU": "vu",
599
+ "VE": "ve",
600
+ "VN": "vn",
601
+ "VG": "vg",
602
+ "VI": "vi",
603
+ "WF": "wf",
604
+ "EH": "eh",
605
+ "YE": "ye",
606
+ "ZM": "zm",
607
+ "ZW": "zw",
608
+ "AX": "ax",
609
+ "BQ": "bq",
610
+ "CW": "cw",
611
+ "GG": "gg",
612
+ "IM": "im",
613
+ "JE": "je",
614
+ "ME": "me",
615
+ "BL": "bl",
616
+ "MF": "mf",
617
+ "RS": "rs",
618
+ "SX": "sx",
619
+ "SS": "ss",
620
+ "XK": "xk",
621
+ });
622
+ });
623
+ /** @internal */
624
+ exports.LeadCreatedEventGeo$outboundSchema = z.object({
625
+ af: z.string().optional(),
626
+ al: z.string().optional(),
627
+ dz: z.string().optional(),
628
+ as: z.string().optional(),
629
+ ad: z.string().optional(),
630
+ ao: z.string().optional(),
631
+ ai: z.string().optional(),
632
+ aq: z.string().optional(),
633
+ ag: z.string().optional(),
634
+ ar: z.string().optional(),
635
+ am: z.string().optional(),
636
+ aw: z.string().optional(),
637
+ au: z.string().optional(),
638
+ at: z.string().optional(),
639
+ az: z.string().optional(),
640
+ bs: z.string().optional(),
641
+ bh: z.string().optional(),
642
+ bd: z.string().optional(),
643
+ bb: z.string().optional(),
644
+ by: z.string().optional(),
645
+ be: z.string().optional(),
646
+ bz: z.string().optional(),
647
+ bj: z.string().optional(),
648
+ bm: z.string().optional(),
649
+ bt: z.string().optional(),
650
+ bo: z.string().optional(),
651
+ ba: z.string().optional(),
652
+ bw: z.string().optional(),
653
+ bv: z.string().optional(),
654
+ br: z.string().optional(),
655
+ io: z.string().optional(),
656
+ bn: z.string().optional(),
657
+ bg: z.string().optional(),
658
+ bf: z.string().optional(),
659
+ bi: z.string().optional(),
660
+ kh: z.string().optional(),
661
+ cm: z.string().optional(),
662
+ ca: z.string().optional(),
663
+ cv: z.string().optional(),
664
+ ky: z.string().optional(),
665
+ cf: z.string().optional(),
666
+ td: z.string().optional(),
667
+ cl: z.string().optional(),
668
+ cn: z.string().optional(),
669
+ cx: z.string().optional(),
670
+ cc: z.string().optional(),
671
+ co: z.string().optional(),
672
+ km: z.string().optional(),
673
+ cg: z.string().optional(),
674
+ cd: z.string().optional(),
675
+ ck: z.string().optional(),
676
+ cr: z.string().optional(),
677
+ ci: z.string().optional(),
678
+ hr: z.string().optional(),
679
+ cu: z.string().optional(),
680
+ cy: z.string().optional(),
681
+ cz: z.string().optional(),
682
+ dk: z.string().optional(),
683
+ dj: z.string().optional(),
684
+ dm: z.string().optional(),
685
+ do: z.string().optional(),
686
+ ec: z.string().optional(),
687
+ eg: z.string().optional(),
688
+ sv: z.string().optional(),
689
+ gq: z.string().optional(),
690
+ er: z.string().optional(),
691
+ ee: z.string().optional(),
692
+ et: z.string().optional(),
693
+ fk: z.string().optional(),
694
+ fo: z.string().optional(),
695
+ fj: z.string().optional(),
696
+ fi: z.string().optional(),
697
+ fr: z.string().optional(),
698
+ gf: z.string().optional(),
699
+ pf: z.string().optional(),
700
+ tf: z.string().optional(),
701
+ ga: z.string().optional(),
702
+ gm: z.string().optional(),
703
+ ge: z.string().optional(),
704
+ de: z.string().optional(),
705
+ gh: z.string().optional(),
706
+ gi: z.string().optional(),
707
+ gr: z.string().optional(),
708
+ gl: z.string().optional(),
709
+ gd: z.string().optional(),
710
+ gp: z.string().optional(),
711
+ gu: z.string().optional(),
712
+ gt: z.string().optional(),
713
+ gn: z.string().optional(),
714
+ gw: z.string().optional(),
715
+ gy: z.string().optional(),
716
+ ht: z.string().optional(),
717
+ hm: z.string().optional(),
718
+ va: z.string().optional(),
719
+ hn: z.string().optional(),
720
+ hk: z.string().optional(),
721
+ hu: z.string().optional(),
722
+ is: z.string().optional(),
723
+ in: z.string().optional(),
724
+ id: z.string().optional(),
725
+ ir: z.string().optional(),
726
+ iq: z.string().optional(),
727
+ ie: z.string().optional(),
728
+ il: z.string().optional(),
729
+ it: z.string().optional(),
730
+ jm: z.string().optional(),
731
+ jp: z.string().optional(),
732
+ jo: z.string().optional(),
733
+ kz: z.string().optional(),
734
+ ke: z.string().optional(),
735
+ ki: z.string().optional(),
736
+ kp: z.string().optional(),
737
+ kr: z.string().optional(),
738
+ kw: z.string().optional(),
739
+ kg: z.string().optional(),
740
+ la: z.string().optional(),
741
+ lv: z.string().optional(),
742
+ lb: z.string().optional(),
743
+ ls: z.string().optional(),
744
+ lr: z.string().optional(),
745
+ ly: z.string().optional(),
746
+ li: z.string().optional(),
747
+ lt: z.string().optional(),
748
+ lu: z.string().optional(),
749
+ mo: z.string().optional(),
750
+ mg: z.string().optional(),
751
+ mw: z.string().optional(),
752
+ my: z.string().optional(),
753
+ mv: z.string().optional(),
754
+ ml: z.string().optional(),
755
+ mt: z.string().optional(),
756
+ mh: z.string().optional(),
757
+ mq: z.string().optional(),
758
+ mr: z.string().optional(),
759
+ mu: z.string().optional(),
760
+ yt: z.string().optional(),
761
+ mx: z.string().optional(),
762
+ fm: z.string().optional(),
763
+ md: z.string().optional(),
764
+ mc: z.string().optional(),
765
+ mn: z.string().optional(),
766
+ ms: z.string().optional(),
767
+ ma: z.string().optional(),
768
+ mz: z.string().optional(),
769
+ mm: z.string().optional(),
770
+ na: z.string().optional(),
771
+ nr: z.string().optional(),
772
+ np: z.string().optional(),
773
+ nl: z.string().optional(),
774
+ nc: z.string().optional(),
775
+ nz: z.string().optional(),
776
+ ni: z.string().optional(),
777
+ ne: z.string().optional(),
778
+ ng: z.string().optional(),
779
+ nu: z.string().optional(),
780
+ nf: z.string().optional(),
781
+ mk: z.string().optional(),
782
+ mp: z.string().optional(),
783
+ no: z.string().optional(),
784
+ om: z.string().optional(),
785
+ pk: z.string().optional(),
786
+ pw: z.string().optional(),
787
+ ps: z.string().optional(),
788
+ pa: z.string().optional(),
789
+ pg: z.string().optional(),
790
+ py: z.string().optional(),
791
+ pe: z.string().optional(),
792
+ ph: z.string().optional(),
793
+ pn: z.string().optional(),
794
+ pl: z.string().optional(),
795
+ pt: z.string().optional(),
796
+ pr: z.string().optional(),
797
+ qa: z.string().optional(),
798
+ re: z.string().optional(),
799
+ ro: z.string().optional(),
800
+ ru: z.string().optional(),
801
+ rw: z.string().optional(),
802
+ sh: z.string().optional(),
803
+ kn: z.string().optional(),
804
+ lc: z.string().optional(),
805
+ pm: z.string().optional(),
806
+ vc: z.string().optional(),
807
+ ws: z.string().optional(),
808
+ sm: z.string().optional(),
809
+ st: z.string().optional(),
810
+ sa: z.string().optional(),
811
+ sn: z.string().optional(),
812
+ sc: z.string().optional(),
813
+ sl: z.string().optional(),
814
+ sg: z.string().optional(),
815
+ sk: z.string().optional(),
816
+ si: z.string().optional(),
817
+ sb: z.string().optional(),
818
+ so: z.string().optional(),
819
+ za: z.string().optional(),
820
+ gs: z.string().optional(),
821
+ es: z.string().optional(),
822
+ lk: z.string().optional(),
823
+ sd: z.string().optional(),
824
+ sr: z.string().optional(),
825
+ sj: z.string().optional(),
826
+ sz: z.string().optional(),
827
+ se: z.string().optional(),
828
+ ch: z.string().optional(),
829
+ sy: z.string().optional(),
830
+ tw: z.string().optional(),
831
+ tj: z.string().optional(),
832
+ tz: z.string().optional(),
833
+ th: z.string().optional(),
834
+ tl: z.string().optional(),
835
+ tg: z.string().optional(),
836
+ tk: z.string().optional(),
837
+ to: z.string().optional(),
838
+ tt: z.string().optional(),
839
+ tn: z.string().optional(),
840
+ tr: z.string().optional(),
841
+ tm: z.string().optional(),
842
+ tc: z.string().optional(),
843
+ tv: z.string().optional(),
844
+ ug: z.string().optional(),
845
+ ua: z.string().optional(),
846
+ ae: z.string().optional(),
847
+ gb: z.string().optional(),
848
+ us: z.string().optional(),
849
+ um: z.string().optional(),
850
+ uy: z.string().optional(),
851
+ uz: z.string().optional(),
852
+ vu: z.string().optional(),
853
+ ve: z.string().optional(),
854
+ vn: z.string().optional(),
855
+ vg: z.string().optional(),
856
+ vi: z.string().optional(),
857
+ wf: z.string().optional(),
858
+ eh: z.string().optional(),
859
+ ye: z.string().optional(),
860
+ zm: z.string().optional(),
861
+ zw: z.string().optional(),
862
+ ax: z.string().optional(),
863
+ bq: z.string().optional(),
864
+ cw: z.string().optional(),
865
+ gg: z.string().optional(),
866
+ im: z.string().optional(),
867
+ je: z.string().optional(),
868
+ me: z.string().optional(),
869
+ bl: z.string().optional(),
870
+ mf: z.string().optional(),
871
+ rs: z.string().optional(),
872
+ sx: z.string().optional(),
873
+ ss: z.string().optional(),
874
+ xk: z.string().optional(),
875
+ }).transform((v) => {
876
+ return (0, primitives_js_1.remap)(v, {
877
+ af: "AF",
878
+ al: "AL",
879
+ dz: "DZ",
880
+ as: "AS",
881
+ ad: "AD",
882
+ ao: "AO",
883
+ ai: "AI",
884
+ aq: "AQ",
885
+ ag: "AG",
886
+ ar: "AR",
887
+ am: "AM",
888
+ aw: "AW",
889
+ au: "AU",
890
+ at: "AT",
891
+ az: "AZ",
892
+ bs: "BS",
893
+ bh: "BH",
894
+ bd: "BD",
895
+ bb: "BB",
896
+ by: "BY",
897
+ be: "BE",
898
+ bz: "BZ",
899
+ bj: "BJ",
900
+ bm: "BM",
901
+ bt: "BT",
902
+ bo: "BO",
903
+ ba: "BA",
904
+ bw: "BW",
905
+ bv: "BV",
906
+ br: "BR",
907
+ io: "IO",
908
+ bn: "BN",
909
+ bg: "BG",
910
+ bf: "BF",
911
+ bi: "BI",
912
+ kh: "KH",
913
+ cm: "CM",
914
+ ca: "CA",
915
+ cv: "CV",
916
+ ky: "KY",
917
+ cf: "CF",
918
+ td: "TD",
919
+ cl: "CL",
920
+ cn: "CN",
921
+ cx: "CX",
922
+ cc: "CC",
923
+ co: "CO",
924
+ km: "KM",
925
+ cg: "CG",
926
+ cd: "CD",
927
+ ck: "CK",
928
+ cr: "CR",
929
+ ci: "CI",
930
+ hr: "HR",
931
+ cu: "CU",
932
+ cy: "CY",
933
+ cz: "CZ",
934
+ dk: "DK",
935
+ dj: "DJ",
936
+ dm: "DM",
937
+ do: "DO",
938
+ ec: "EC",
939
+ eg: "EG",
940
+ sv: "SV",
941
+ gq: "GQ",
942
+ er: "ER",
943
+ ee: "EE",
944
+ et: "ET",
945
+ fk: "FK",
946
+ fo: "FO",
947
+ fj: "FJ",
948
+ fi: "FI",
949
+ fr: "FR",
950
+ gf: "GF",
951
+ pf: "PF",
952
+ tf: "TF",
953
+ ga: "GA",
954
+ gm: "GM",
955
+ ge: "GE",
956
+ de: "DE",
957
+ gh: "GH",
958
+ gi: "GI",
959
+ gr: "GR",
960
+ gl: "GL",
961
+ gd: "GD",
962
+ gp: "GP",
963
+ gu: "GU",
964
+ gt: "GT",
965
+ gn: "GN",
966
+ gw: "GW",
967
+ gy: "GY",
968
+ ht: "HT",
969
+ hm: "HM",
970
+ va: "VA",
971
+ hn: "HN",
972
+ hk: "HK",
973
+ hu: "HU",
974
+ is: "IS",
975
+ in: "IN",
976
+ id: "ID",
977
+ ir: "IR",
978
+ iq: "IQ",
979
+ ie: "IE",
980
+ il: "IL",
981
+ it: "IT",
982
+ jm: "JM",
983
+ jp: "JP",
984
+ jo: "JO",
985
+ kz: "KZ",
986
+ ke: "KE",
987
+ ki: "KI",
988
+ kp: "KP",
989
+ kr: "KR",
990
+ kw: "KW",
991
+ kg: "KG",
992
+ la: "LA",
993
+ lv: "LV",
994
+ lb: "LB",
995
+ ls: "LS",
996
+ lr: "LR",
997
+ ly: "LY",
998
+ li: "LI",
999
+ lt: "LT",
1000
+ lu: "LU",
1001
+ mo: "MO",
1002
+ mg: "MG",
1003
+ mw: "MW",
1004
+ my: "MY",
1005
+ mv: "MV",
1006
+ ml: "ML",
1007
+ mt: "MT",
1008
+ mh: "MH",
1009
+ mq: "MQ",
1010
+ mr: "MR",
1011
+ mu: "MU",
1012
+ yt: "YT",
1013
+ mx: "MX",
1014
+ fm: "FM",
1015
+ md: "MD",
1016
+ mc: "MC",
1017
+ mn: "MN",
1018
+ ms: "MS",
1019
+ ma: "MA",
1020
+ mz: "MZ",
1021
+ mm: "MM",
1022
+ na: "NA",
1023
+ nr: "NR",
1024
+ np: "NP",
1025
+ nl: "NL",
1026
+ nc: "NC",
1027
+ nz: "NZ",
1028
+ ni: "NI",
1029
+ ne: "NE",
1030
+ ng: "NG",
1031
+ nu: "NU",
1032
+ nf: "NF",
1033
+ mk: "MK",
1034
+ mp: "MP",
1035
+ no: "NO",
1036
+ om: "OM",
1037
+ pk: "PK",
1038
+ pw: "PW",
1039
+ ps: "PS",
1040
+ pa: "PA",
1041
+ pg: "PG",
1042
+ py: "PY",
1043
+ pe: "PE",
1044
+ ph: "PH",
1045
+ pn: "PN",
1046
+ pl: "PL",
1047
+ pt: "PT",
1048
+ pr: "PR",
1049
+ qa: "QA",
1050
+ re: "RE",
1051
+ ro: "RO",
1052
+ ru: "RU",
1053
+ rw: "RW",
1054
+ sh: "SH",
1055
+ kn: "KN",
1056
+ lc: "LC",
1057
+ pm: "PM",
1058
+ vc: "VC",
1059
+ ws: "WS",
1060
+ sm: "SM",
1061
+ st: "ST",
1062
+ sa: "SA",
1063
+ sn: "SN",
1064
+ sc: "SC",
1065
+ sl: "SL",
1066
+ sg: "SG",
1067
+ sk: "SK",
1068
+ si: "SI",
1069
+ sb: "SB",
1070
+ so: "SO",
1071
+ za: "ZA",
1072
+ gs: "GS",
1073
+ es: "ES",
1074
+ lk: "LK",
1075
+ sd: "SD",
1076
+ sr: "SR",
1077
+ sj: "SJ",
1078
+ sz: "SZ",
1079
+ se: "SE",
1080
+ ch: "CH",
1081
+ sy: "SY",
1082
+ tw: "TW",
1083
+ tj: "TJ",
1084
+ tz: "TZ",
1085
+ th: "TH",
1086
+ tl: "TL",
1087
+ tg: "TG",
1088
+ tk: "TK",
1089
+ to: "TO",
1090
+ tt: "TT",
1091
+ tn: "TN",
1092
+ tr: "TR",
1093
+ tm: "TM",
1094
+ tc: "TC",
1095
+ tv: "TV",
1096
+ ug: "UG",
1097
+ ua: "UA",
1098
+ ae: "AE",
1099
+ gb: "GB",
1100
+ us: "US",
1101
+ um: "UM",
1102
+ uy: "UY",
1103
+ uz: "UZ",
1104
+ vu: "VU",
1105
+ ve: "VE",
1106
+ vn: "VN",
1107
+ vg: "VG",
1108
+ vi: "VI",
1109
+ wf: "WF",
1110
+ eh: "EH",
1111
+ ye: "YE",
1112
+ zm: "ZM",
1113
+ zw: "ZW",
1114
+ ax: "AX",
1115
+ bq: "BQ",
1116
+ cw: "CW",
1117
+ gg: "GG",
1118
+ im: "IM",
1119
+ je: "JE",
1120
+ me: "ME",
1121
+ bl: "BL",
1122
+ mf: "MF",
1123
+ rs: "RS",
1124
+ sx: "SX",
1125
+ ss: "SS",
1126
+ xk: "XK",
1127
+ });
1128
+ });
1129
+ /**
1130
+ * @internal
1131
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1132
+ */
1133
+ var LeadCreatedEventGeo$;
1134
+ (function (LeadCreatedEventGeo$) {
1135
+ /** @deprecated use `LeadCreatedEventGeo$inboundSchema` instead. */
1136
+ LeadCreatedEventGeo$.inboundSchema = exports.LeadCreatedEventGeo$inboundSchema;
1137
+ /** @deprecated use `LeadCreatedEventGeo$outboundSchema` instead. */
1138
+ LeadCreatedEventGeo$.outboundSchema = exports.LeadCreatedEventGeo$outboundSchema;
1139
+ })(LeadCreatedEventGeo$ || (exports.LeadCreatedEventGeo$ = LeadCreatedEventGeo$ = {}));
1140
+ /** @internal */
1141
+ exports.LeadCreatedEventLink$inboundSchema = z.object({
1142
+ id: z.string(),
1143
+ domain: z.string(),
1144
+ key: z.string(),
1145
+ url: z.string(),
1146
+ trackConversion: z.boolean().optional(),
1147
+ externalId: z.nullable(z.string()),
1148
+ identifier: z.nullable(z.string()),
1149
+ archived: z.boolean().optional(),
1150
+ expiresAt: z.string(),
1151
+ expiredUrl: z.nullable(z.string()),
1152
+ password: z.nullable(z.string()),
1153
+ proxy: z.boolean().optional(),
1154
+ title: z.nullable(z.string()),
1155
+ description: z.nullable(z.string()),
1156
+ image: z.nullable(z.string()),
1157
+ video: z.nullable(z.string()),
1158
+ rewrite: z.boolean().optional(),
1159
+ doIndex: z.boolean().optional(),
1160
+ ios: z.nullable(z.string()),
1161
+ android: z.nullable(z.string()),
1162
+ geo: z.nullable(z.lazy(() => exports.LeadCreatedEventGeo$inboundSchema)),
1163
+ publicStats: z.boolean().optional(),
1164
+ tagId: z.nullable(z.string()),
1165
+ tags: z.nullable(z.array(tagschema_js_1.TagSchema$inboundSchema)),
1166
+ comments: z.nullable(z.string()),
1167
+ shortLink: z.string(),
1168
+ qrCode: z.string(),
1169
+ utm_source: z.nullable(z.string()),
1170
+ utm_medium: z.nullable(z.string()),
1171
+ utm_campaign: z.nullable(z.string()),
1172
+ utm_term: z.nullable(z.string()),
1173
+ utm_content: z.nullable(z.string()),
1174
+ userId: z.nullable(z.string()),
1175
+ workspaceId: z.string(),
1176
+ clicks: z.number().default(0),
1177
+ lastClicked: z.string(),
1178
+ leads: z.number().default(0),
1179
+ sales: z.number().default(0),
1180
+ saleAmount: z.number().default(0),
1181
+ createdAt: z.string(),
1182
+ updatedAt: z.string(),
1183
+ projectId: z.string(),
1184
+ }).transform((v) => {
1185
+ return (0, primitives_js_1.remap)(v, {
1186
+ "utm_source": "utmSource",
1187
+ "utm_medium": "utmMedium",
1188
+ "utm_campaign": "utmCampaign",
1189
+ "utm_term": "utmTerm",
1190
+ "utm_content": "utmContent",
1191
+ });
1192
+ });
1193
+ /** @internal */
1194
+ exports.LeadCreatedEventLink$outboundSchema = z.object({
1195
+ id: z.string(),
1196
+ domain: z.string(),
1197
+ key: z.string(),
1198
+ url: z.string(),
1199
+ trackConversion: z.boolean().optional(),
1200
+ externalId: z.nullable(z.string()),
1201
+ identifier: z.nullable(z.string()),
1202
+ archived: z.boolean().optional(),
1203
+ expiresAt: z.string(),
1204
+ expiredUrl: z.nullable(z.string()),
1205
+ password: z.nullable(z.string()),
1206
+ proxy: z.boolean().optional(),
1207
+ title: z.nullable(z.string()),
1208
+ description: z.nullable(z.string()),
1209
+ image: z.nullable(z.string()),
1210
+ video: z.nullable(z.string()),
1211
+ rewrite: z.boolean().optional(),
1212
+ doIndex: z.boolean().optional(),
1213
+ ios: z.nullable(z.string()),
1214
+ android: z.nullable(z.string()),
1215
+ geo: z.nullable(z.lazy(() => exports.LeadCreatedEventGeo$outboundSchema)),
1216
+ publicStats: z.boolean().optional(),
1217
+ tagId: z.nullable(z.string()),
1218
+ tags: z.nullable(z.array(tagschema_js_1.TagSchema$outboundSchema)),
1219
+ comments: z.nullable(z.string()),
1220
+ shortLink: z.string(),
1221
+ qrCode: z.string(),
1222
+ utmSource: z.nullable(z.string()),
1223
+ utmMedium: z.nullable(z.string()),
1224
+ utmCampaign: z.nullable(z.string()),
1225
+ utmTerm: z.nullable(z.string()),
1226
+ utmContent: z.nullable(z.string()),
1227
+ userId: z.nullable(z.string()),
1228
+ workspaceId: z.string(),
1229
+ clicks: z.number().default(0),
1230
+ lastClicked: z.string(),
1231
+ leads: z.number().default(0),
1232
+ sales: z.number().default(0),
1233
+ saleAmount: z.number().default(0),
1234
+ createdAt: z.string(),
1235
+ updatedAt: z.string(),
1236
+ projectId: z.string(),
1237
+ }).transform((v) => {
1238
+ return (0, primitives_js_1.remap)(v, {
1239
+ utmSource: "utm_source",
1240
+ utmMedium: "utm_medium",
1241
+ utmCampaign: "utm_campaign",
1242
+ utmTerm: "utm_term",
1243
+ utmContent: "utm_content",
1244
+ });
1245
+ });
1246
+ /**
1247
+ * @internal
1248
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1249
+ */
1250
+ var LeadCreatedEventLink$;
1251
+ (function (LeadCreatedEventLink$) {
1252
+ /** @deprecated use `LeadCreatedEventLink$inboundSchema` instead. */
1253
+ LeadCreatedEventLink$.inboundSchema = exports.LeadCreatedEventLink$inboundSchema;
1254
+ /** @deprecated use `LeadCreatedEventLink$outboundSchema` instead. */
1255
+ LeadCreatedEventLink$.outboundSchema = exports.LeadCreatedEventLink$outboundSchema;
1256
+ })(LeadCreatedEventLink$ || (exports.LeadCreatedEventLink$ = LeadCreatedEventLink$ = {}));
1257
+ /** @internal */
1258
+ exports.LeadCreatedEventData$inboundSchema = z.object({
1259
+ eventName: z.string(),
1260
+ customer: z.lazy(() => exports.LeadCreatedEventCustomer$inboundSchema),
1261
+ click: z.lazy(() => exports.LeadCreatedEventClick$inboundSchema),
1262
+ link: z.lazy(() => exports.LeadCreatedEventLink$inboundSchema),
1263
+ });
1264
+ /** @internal */
1265
+ exports.LeadCreatedEventData$outboundSchema = z.object({
1266
+ eventName: z.string(),
1267
+ customer: z.lazy(() => exports.LeadCreatedEventCustomer$outboundSchema),
1268
+ click: z.lazy(() => exports.LeadCreatedEventClick$outboundSchema),
1269
+ link: z.lazy(() => exports.LeadCreatedEventLink$outboundSchema),
1270
+ });
1271
+ /**
1272
+ * @internal
1273
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1274
+ */
1275
+ var LeadCreatedEventData$;
1276
+ (function (LeadCreatedEventData$) {
1277
+ /** @deprecated use `LeadCreatedEventData$inboundSchema` instead. */
1278
+ LeadCreatedEventData$.inboundSchema = exports.LeadCreatedEventData$inboundSchema;
1279
+ /** @deprecated use `LeadCreatedEventData$outboundSchema` instead. */
1280
+ LeadCreatedEventData$.outboundSchema = exports.LeadCreatedEventData$outboundSchema;
1281
+ })(LeadCreatedEventData$ || (exports.LeadCreatedEventData$ = LeadCreatedEventData$ = {}));
1282
+ /** @internal */
1283
+ exports.LeadCreatedEvent$inboundSchema = z.object({
1284
+ id: z.string(),
1285
+ event: exports.LeadCreatedEventEvent$inboundSchema,
1286
+ createdAt: z.string(),
1287
+ data: z.lazy(() => exports.LeadCreatedEventData$inboundSchema),
1288
+ });
1289
+ /** @internal */
1290
+ exports.LeadCreatedEvent$outboundSchema = z.object({
1291
+ id: z.string(),
1292
+ event: exports.LeadCreatedEventEvent$outboundSchema,
1293
+ createdAt: z.string(),
1294
+ data: z.lazy(() => exports.LeadCreatedEventData$outboundSchema),
1295
+ });
1296
+ /**
1297
+ * @internal
1298
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1299
+ */
1300
+ var LeadCreatedEvent$;
1301
+ (function (LeadCreatedEvent$) {
1302
+ /** @deprecated use `LeadCreatedEvent$inboundSchema` instead. */
1303
+ LeadCreatedEvent$.inboundSchema = exports.LeadCreatedEvent$inboundSchema;
1304
+ /** @deprecated use `LeadCreatedEvent$outboundSchema` instead. */
1305
+ LeadCreatedEvent$.outboundSchema = exports.LeadCreatedEvent$outboundSchema;
1306
+ })(LeadCreatedEvent$ || (exports.LeadCreatedEvent$ = LeadCreatedEvent$ = {}));
1307
+ //# sourceMappingURL=leadcreatedevent.js.map