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