dub 0.29.2 → 0.29.4
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/docs/sdks/analytics/README.md +2 -2
- package/docs/sdks/clicks/README.md +2 -2
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/clicksbycities.d.ts +793 -0
- package/models/components/clicksbycities.d.ts.map +1 -0
- package/models/components/clicksbycities.js +322 -0
- package/models/components/clicksbycities.js.map +1 -0
- package/models/components/clicksbycountry.d.ts +788 -0
- package/models/components/clicksbycountry.d.ts.map +1 -0
- package/models/components/clicksbycountry.js +318 -0
- package/models/components/clicksbycountry.js.map +1 -0
- package/models/components/countrycode.d.ts +769 -0
- package/models/components/countrycode.d.ts.map +1 -0
- package/models/components/countrycode.js +292 -0
- package/models/components/countrycode.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/linkgeotargeting.d.ts +514 -0
- package/models/components/linkgeotargeting.d.ts.map +1 -0
- package/models/components/linkgeotargeting.js +1049 -0
- package/models/components/linkgeotargeting.js.map +1 -0
- package/models/operations/bulkcreatelinks.d.ts +3 -514
- package/models/operations/bulkcreatelinks.d.ts.map +1 -1
- package/models/operations/bulkcreatelinks.js +4 -1021
- package/models/operations/bulkcreatelinks.js.map +1 -1
- package/models/operations/createlink.d.ts +3 -514
- package/models/operations/createlink.d.ts.map +1 -1
- package/models/operations/createlink.js +4 -1021
- package/models/operations/createlink.js.map +1 -1
- package/models/operations/getbrowsersbyclicks.d.ts +2 -767
- package/models/operations/getbrowsersbyclicks.d.ts.map +1 -1
- package/models/operations/getbrowsersbyclicks.js +4 -264
- package/models/operations/getbrowsersbyclicks.js.map +1 -1
- package/models/operations/getbrowsersbyclicksdeprecated.d.ts +2 -767
- package/models/operations/getbrowsersbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/getbrowsersbyclicksdeprecated.js +4 -264
- package/models/operations/getbrowsersbyclicksdeprecated.js.map +1 -1
- package/models/operations/getcitiesbyclicks.d.ts +2 -1557
- package/models/operations/getcitiesbyclicks.d.ts.map +1 -1
- package/models/operations/getcitiesbyclicks.js +4 -555
- package/models/operations/getcitiesbyclicks.js.map +1 -1
- package/models/operations/getcitiesbyclicksdeprecated.d.ts +2 -1557
- package/models/operations/getcitiesbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/getcitiesbyclicksdeprecated.js +4 -555
- package/models/operations/getcitiesbyclicksdeprecated.js.map +1 -1
- package/models/operations/getclickscount.d.ts +2 -767
- package/models/operations/getclickscount.d.ts.map +1 -1
- package/models/operations/getclickscount.js +4 -264
- package/models/operations/getclickscount.js.map +1 -1
- package/models/operations/getclickscountdeprecated.d.ts +2 -767
- package/models/operations/getclickscountdeprecated.d.ts.map +1 -1
- package/models/operations/getclickscountdeprecated.js +4 -264
- package/models/operations/getclickscountdeprecated.js.map +1 -1
- package/models/operations/getcountriesbyclicks.d.ts +2 -1552
- package/models/operations/getcountriesbyclicks.d.ts.map +1 -1
- package/models/operations/getcountriesbyclicks.js +4 -551
- package/models/operations/getcountriesbyclicks.js.map +1 -1
- package/models/operations/getcountriesbyclicksdeprecated.d.ts +2 -1552
- package/models/operations/getcountriesbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/getcountriesbyclicksdeprecated.js +4 -551
- package/models/operations/getcountriesbyclicksdeprecated.js.map +1 -1
- package/models/operations/getdevicesbyclicks.d.ts +2 -767
- package/models/operations/getdevicesbyclicks.d.ts.map +1 -1
- package/models/operations/getdevicesbyclicks.js +4 -264
- package/models/operations/getdevicesbyclicks.js.map +1 -1
- package/models/operations/getdevicesbyclicksdeprecated.d.ts +2 -767
- package/models/operations/getdevicesbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/getdevicesbyclicksdeprecated.js +4 -264
- package/models/operations/getdevicesbyclicksdeprecated.js.map +1 -1
- package/models/operations/getosbyclicks.d.ts +2 -767
- package/models/operations/getosbyclicks.d.ts.map +1 -1
- package/models/operations/getosbyclicks.js +4 -264
- package/models/operations/getosbyclicks.js.map +1 -1
- package/models/operations/getosbyclicksdeprecated.d.ts +2 -767
- package/models/operations/getosbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/getosbyclicksdeprecated.js +4 -264
- package/models/operations/getosbyclicksdeprecated.js.map +1 -1
- package/models/operations/getreferersbyclicks.d.ts +2 -767
- package/models/operations/getreferersbyclicks.d.ts.map +1 -1
- package/models/operations/getreferersbyclicks.js +4 -264
- package/models/operations/getreferersbyclicks.js.map +1 -1
- package/models/operations/getreferersbyclicksdeprecated.d.ts +2 -767
- package/models/operations/getreferersbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/getreferersbyclicksdeprecated.js +4 -264
- package/models/operations/getreferersbyclicksdeprecated.js.map +1 -1
- package/models/operations/gettimeseriesbyclicks.d.ts +2 -767
- package/models/operations/gettimeseriesbyclicks.d.ts.map +1 -1
- package/models/operations/gettimeseriesbyclicks.js +4 -264
- package/models/operations/gettimeseriesbyclicks.js.map +1 -1
- package/models/operations/gettimeseriesbyclicksdeprecated.d.ts +2 -767
- package/models/operations/gettimeseriesbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/gettimeseriesbyclicksdeprecated.js +4 -264
- package/models/operations/gettimeseriesbyclicksdeprecated.js.map +1 -1
- package/models/operations/gettoplinksbyclicks.d.ts +2 -767
- package/models/operations/gettoplinksbyclicks.d.ts.map +1 -1
- package/models/operations/gettoplinksbyclicks.js +4 -264
- package/models/operations/gettoplinksbyclicks.js.map +1 -1
- package/models/operations/gettoplinksbyclicksdeprecated.d.ts +2 -767
- package/models/operations/gettoplinksbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/gettoplinksbyclicksdeprecated.js +4 -264
- package/models/operations/gettoplinksbyclicksdeprecated.js.map +1 -1
- package/models/operations/gettopurlsbyclicks.d.ts +2 -767
- package/models/operations/gettopurlsbyclicks.d.ts.map +1 -1
- package/models/operations/gettopurlsbyclicks.js +4 -264
- package/models/operations/gettopurlsbyclicks.js.map +1 -1
- package/models/operations/gettopurlsbyclicksdeprecated.d.ts +2 -767
- package/models/operations/gettopurlsbyclicksdeprecated.d.ts.map +1 -1
- package/models/operations/gettopurlsbyclicksdeprecated.js +4 -264
- package/models/operations/gettopurlsbyclicksdeprecated.js.map +1 -1
- package/models/operations/updatelink.d.ts +3 -514
- package/models/operations/updatelink.d.ts.map +1 -1
- package/models/operations/updatelink.js +4 -1021
- package/models/operations/updatelink.js.map +1 -1
- package/models/operations/upsertlink.d.ts +3 -514
- package/models/operations/upsertlink.d.ts.map +1 -1
- package/models/operations/upsertlink.js +4 -1021
- package/models/operations/upsertlink.js.map +1 -1
- package/package.json +1 -1
- package/sdk/analytics.d.ts +3 -2
- package/sdk/analytics.d.ts.map +1 -1
- package/sdk/analytics.js +3 -6
- package/sdk/analytics.js.map +1 -1
- package/sdk/clicks.d.ts +3 -2
- package/sdk/clicks.d.ts.map +1 -1
- package/sdk/clicks.js +3 -6
- package/sdk/clicks.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/clicksbycities.ts +324 -0
- package/src/models/components/clicksbycountry.ts +315 -0
- package/src/models/components/countrycode.ts +272 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/linkgeotargeting.ts +1533 -0
- package/src/models/operations/bulkcreatelinks.ts +5 -1532
- package/src/models/operations/createlink.ts +5 -1532
- package/src/models/operations/getbrowsersbyclicks.ts +4 -271
- package/src/models/operations/getbrowsersbyclicksdeprecated.ts +4 -271
- package/src/models/operations/getcitiesbyclicks.ts +4 -590
- package/src/models/operations/getcitiesbyclicksdeprecated.ts +4 -599
- package/src/models/operations/getclickscount.ts +4 -269
- package/src/models/operations/getclickscountdeprecated.ts +4 -271
- package/src/models/operations/getcountriesbyclicks.ts +4 -585
- package/src/models/operations/getcountriesbyclicksdeprecated.ts +4 -590
- package/src/models/operations/getdevicesbyclicks.ts +4 -271
- package/src/models/operations/getdevicesbyclicksdeprecated.ts +4 -271
- package/src/models/operations/getosbyclicks.ts +4 -269
- package/src/models/operations/getosbyclicksdeprecated.ts +4 -271
- package/src/models/operations/getreferersbyclicks.ts +4 -271
- package/src/models/operations/getreferersbyclicksdeprecated.ts +4 -271
- package/src/models/operations/gettimeseriesbyclicks.ts +4 -269
- package/src/models/operations/gettimeseriesbyclicksdeprecated.ts +4 -271
- package/src/models/operations/gettoplinksbyclicks.ts +4 -271
- package/src/models/operations/gettoplinksbyclicksdeprecated.ts +4 -271
- package/src/models/operations/gettopurlsbyclicks.ts +4 -271
- package/src/models/operations/gettopurlsbyclicksdeprecated.ts +4 -271
- package/src/models/operations/updatelink.ts +5 -1532
- package/src/models/operations/upsertlink.ts +5 -1532
- package/src/sdk/analytics.ts +5 -8
- package/src/sdk/clicks.ts +5 -8
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { ClosedEnum } from "../../types";
|
|
6
|
+
import * as components from "../components";
|
|
6
7
|
import * as z from "zod";
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -23,266 +24,6 @@ export const GetOSByClicksQueryParamInterval = {
|
|
|
23
24
|
*/
|
|
24
25
|
export type GetOSByClicksQueryParamInterval = ClosedEnum<typeof GetOSByClicksQueryParamInterval>;
|
|
25
26
|
|
|
26
|
-
/**
|
|
27
|
-
* The country to retrieve analytics for.
|
|
28
|
-
*/
|
|
29
|
-
export const GetOSByClicksQueryParamCountry = {
|
|
30
|
-
Af: "AF",
|
|
31
|
-
Al: "AL",
|
|
32
|
-
Dz: "DZ",
|
|
33
|
-
As: "AS",
|
|
34
|
-
Ad: "AD",
|
|
35
|
-
Ao: "AO",
|
|
36
|
-
Ai: "AI",
|
|
37
|
-
Aq: "AQ",
|
|
38
|
-
Ag: "AG",
|
|
39
|
-
Ar: "AR",
|
|
40
|
-
Am: "AM",
|
|
41
|
-
Aw: "AW",
|
|
42
|
-
Au: "AU",
|
|
43
|
-
At: "AT",
|
|
44
|
-
Az: "AZ",
|
|
45
|
-
Bs: "BS",
|
|
46
|
-
Bh: "BH",
|
|
47
|
-
Bd: "BD",
|
|
48
|
-
Bb: "BB",
|
|
49
|
-
By: "BY",
|
|
50
|
-
Be: "BE",
|
|
51
|
-
Bz: "BZ",
|
|
52
|
-
Bj: "BJ",
|
|
53
|
-
Bm: "BM",
|
|
54
|
-
Bt: "BT",
|
|
55
|
-
Bo: "BO",
|
|
56
|
-
Ba: "BA",
|
|
57
|
-
Bw: "BW",
|
|
58
|
-
Bv: "BV",
|
|
59
|
-
Br: "BR",
|
|
60
|
-
Io: "IO",
|
|
61
|
-
Bn: "BN",
|
|
62
|
-
Bg: "BG",
|
|
63
|
-
Bf: "BF",
|
|
64
|
-
Bi: "BI",
|
|
65
|
-
Kh: "KH",
|
|
66
|
-
Cm: "CM",
|
|
67
|
-
Ca: "CA",
|
|
68
|
-
Cv: "CV",
|
|
69
|
-
Ky: "KY",
|
|
70
|
-
Cf: "CF",
|
|
71
|
-
Td: "TD",
|
|
72
|
-
Cl: "CL",
|
|
73
|
-
Cn: "CN",
|
|
74
|
-
Cx: "CX",
|
|
75
|
-
Cc: "CC",
|
|
76
|
-
Co: "CO",
|
|
77
|
-
Km: "KM",
|
|
78
|
-
Cg: "CG",
|
|
79
|
-
Cd: "CD",
|
|
80
|
-
Ck: "CK",
|
|
81
|
-
Cr: "CR",
|
|
82
|
-
Ci: "CI",
|
|
83
|
-
Hr: "HR",
|
|
84
|
-
Cu: "CU",
|
|
85
|
-
Cy: "CY",
|
|
86
|
-
Cz: "CZ",
|
|
87
|
-
Dk: "DK",
|
|
88
|
-
Dj: "DJ",
|
|
89
|
-
Dm: "DM",
|
|
90
|
-
Do: "DO",
|
|
91
|
-
Ec: "EC",
|
|
92
|
-
Eg: "EG",
|
|
93
|
-
Sv: "SV",
|
|
94
|
-
Gq: "GQ",
|
|
95
|
-
Er: "ER",
|
|
96
|
-
Ee: "EE",
|
|
97
|
-
Et: "ET",
|
|
98
|
-
Fk: "FK",
|
|
99
|
-
Fo: "FO",
|
|
100
|
-
Fj: "FJ",
|
|
101
|
-
Fi: "FI",
|
|
102
|
-
Fr: "FR",
|
|
103
|
-
Gf: "GF",
|
|
104
|
-
Pf: "PF",
|
|
105
|
-
Tf: "TF",
|
|
106
|
-
Ga: "GA",
|
|
107
|
-
Gm: "GM",
|
|
108
|
-
Ge: "GE",
|
|
109
|
-
De: "DE",
|
|
110
|
-
Gh: "GH",
|
|
111
|
-
Gi: "GI",
|
|
112
|
-
Gr: "GR",
|
|
113
|
-
Gl: "GL",
|
|
114
|
-
Gd: "GD",
|
|
115
|
-
Gp: "GP",
|
|
116
|
-
Gu: "GU",
|
|
117
|
-
Gt: "GT",
|
|
118
|
-
Gn: "GN",
|
|
119
|
-
Gw: "GW",
|
|
120
|
-
Gy: "GY",
|
|
121
|
-
Ht: "HT",
|
|
122
|
-
Hm: "HM",
|
|
123
|
-
Va: "VA",
|
|
124
|
-
Hn: "HN",
|
|
125
|
-
Hk: "HK",
|
|
126
|
-
Hu: "HU",
|
|
127
|
-
Is: "IS",
|
|
128
|
-
In: "IN",
|
|
129
|
-
Id: "ID",
|
|
130
|
-
Ir: "IR",
|
|
131
|
-
Iq: "IQ",
|
|
132
|
-
Ie: "IE",
|
|
133
|
-
Il: "IL",
|
|
134
|
-
It: "IT",
|
|
135
|
-
Jm: "JM",
|
|
136
|
-
Jp: "JP",
|
|
137
|
-
Jo: "JO",
|
|
138
|
-
Kz: "KZ",
|
|
139
|
-
Ke: "KE",
|
|
140
|
-
Ki: "KI",
|
|
141
|
-
Kp: "KP",
|
|
142
|
-
Kr: "KR",
|
|
143
|
-
Kw: "KW",
|
|
144
|
-
Kg: "KG",
|
|
145
|
-
La: "LA",
|
|
146
|
-
Lv: "LV",
|
|
147
|
-
Lb: "LB",
|
|
148
|
-
Ls: "LS",
|
|
149
|
-
Lr: "LR",
|
|
150
|
-
Ly: "LY",
|
|
151
|
-
Li: "LI",
|
|
152
|
-
Lt: "LT",
|
|
153
|
-
Lu: "LU",
|
|
154
|
-
Mo: "MO",
|
|
155
|
-
Mg: "MG",
|
|
156
|
-
Mw: "MW",
|
|
157
|
-
My: "MY",
|
|
158
|
-
Mv: "MV",
|
|
159
|
-
Ml: "ML",
|
|
160
|
-
Mt: "MT",
|
|
161
|
-
Mh: "MH",
|
|
162
|
-
Mq: "MQ",
|
|
163
|
-
Mr: "MR",
|
|
164
|
-
Mu: "MU",
|
|
165
|
-
Yt: "YT",
|
|
166
|
-
Mx: "MX",
|
|
167
|
-
Fm: "FM",
|
|
168
|
-
Md: "MD",
|
|
169
|
-
Mc: "MC",
|
|
170
|
-
Mn: "MN",
|
|
171
|
-
Ms: "MS",
|
|
172
|
-
Ma: "MA",
|
|
173
|
-
Mz: "MZ",
|
|
174
|
-
Mm: "MM",
|
|
175
|
-
Na: "NA",
|
|
176
|
-
Nr: "NR",
|
|
177
|
-
Np: "NP",
|
|
178
|
-
Nl: "NL",
|
|
179
|
-
Nc: "NC",
|
|
180
|
-
Nz: "NZ",
|
|
181
|
-
Ni: "NI",
|
|
182
|
-
Ne: "NE",
|
|
183
|
-
Ng: "NG",
|
|
184
|
-
Nu: "NU",
|
|
185
|
-
Nf: "NF",
|
|
186
|
-
Mk: "MK",
|
|
187
|
-
Mp: "MP",
|
|
188
|
-
No: "NO",
|
|
189
|
-
Om: "OM",
|
|
190
|
-
Pk: "PK",
|
|
191
|
-
Pw: "PW",
|
|
192
|
-
Ps: "PS",
|
|
193
|
-
Pa: "PA",
|
|
194
|
-
Pg: "PG",
|
|
195
|
-
Py: "PY",
|
|
196
|
-
Pe: "PE",
|
|
197
|
-
Ph: "PH",
|
|
198
|
-
Pn: "PN",
|
|
199
|
-
Pl: "PL",
|
|
200
|
-
Pt: "PT",
|
|
201
|
-
Pr: "PR",
|
|
202
|
-
Qa: "QA",
|
|
203
|
-
Re: "RE",
|
|
204
|
-
Ro: "RO",
|
|
205
|
-
Ru: "RU",
|
|
206
|
-
Rw: "RW",
|
|
207
|
-
Sh: "SH",
|
|
208
|
-
Kn: "KN",
|
|
209
|
-
Lc: "LC",
|
|
210
|
-
Pm: "PM",
|
|
211
|
-
Vc: "VC",
|
|
212
|
-
Ws: "WS",
|
|
213
|
-
Sm: "SM",
|
|
214
|
-
St: "ST",
|
|
215
|
-
Sa: "SA",
|
|
216
|
-
Sn: "SN",
|
|
217
|
-
Sc: "SC",
|
|
218
|
-
Sl: "SL",
|
|
219
|
-
Sg: "SG",
|
|
220
|
-
Sk: "SK",
|
|
221
|
-
Si: "SI",
|
|
222
|
-
Sb: "SB",
|
|
223
|
-
So: "SO",
|
|
224
|
-
Za: "ZA",
|
|
225
|
-
Gs: "GS",
|
|
226
|
-
Es: "ES",
|
|
227
|
-
Lk: "LK",
|
|
228
|
-
Sd: "SD",
|
|
229
|
-
Sr: "SR",
|
|
230
|
-
Sj: "SJ",
|
|
231
|
-
Sz: "SZ",
|
|
232
|
-
Se: "SE",
|
|
233
|
-
Ch: "CH",
|
|
234
|
-
Sy: "SY",
|
|
235
|
-
Tw: "TW",
|
|
236
|
-
Tj: "TJ",
|
|
237
|
-
Tz: "TZ",
|
|
238
|
-
Th: "TH",
|
|
239
|
-
Tl: "TL",
|
|
240
|
-
Tg: "TG",
|
|
241
|
-
Tk: "TK",
|
|
242
|
-
To: "TO",
|
|
243
|
-
Tt: "TT",
|
|
244
|
-
Tn: "TN",
|
|
245
|
-
Tr: "TR",
|
|
246
|
-
Tm: "TM",
|
|
247
|
-
Tc: "TC",
|
|
248
|
-
Tv: "TV",
|
|
249
|
-
Ug: "UG",
|
|
250
|
-
Ua: "UA",
|
|
251
|
-
Ae: "AE",
|
|
252
|
-
Gb: "GB",
|
|
253
|
-
Us: "US",
|
|
254
|
-
Um: "UM",
|
|
255
|
-
Uy: "UY",
|
|
256
|
-
Uz: "UZ",
|
|
257
|
-
Vu: "VU",
|
|
258
|
-
Ve: "VE",
|
|
259
|
-
Vn: "VN",
|
|
260
|
-
Vg: "VG",
|
|
261
|
-
Vi: "VI",
|
|
262
|
-
Wf: "WF",
|
|
263
|
-
Eh: "EH",
|
|
264
|
-
Ye: "YE",
|
|
265
|
-
Zm: "ZM",
|
|
266
|
-
Zw: "ZW",
|
|
267
|
-
Ax: "AX",
|
|
268
|
-
Bq: "BQ",
|
|
269
|
-
Cw: "CW",
|
|
270
|
-
Gg: "GG",
|
|
271
|
-
Im: "IM",
|
|
272
|
-
Je: "JE",
|
|
273
|
-
Me: "ME",
|
|
274
|
-
Bl: "BL",
|
|
275
|
-
Mf: "MF",
|
|
276
|
-
Rs: "RS",
|
|
277
|
-
Sx: "SX",
|
|
278
|
-
Ss: "SS",
|
|
279
|
-
Xk: "XK",
|
|
280
|
-
} as const;
|
|
281
|
-
/**
|
|
282
|
-
* The country to retrieve analytics for.
|
|
283
|
-
*/
|
|
284
|
-
export type GetOSByClicksQueryParamCountry = ClosedEnum<typeof GetOSByClicksQueryParamCountry>;
|
|
285
|
-
|
|
286
27
|
export type GetOSByClicksRequest = {
|
|
287
28
|
/**
|
|
288
29
|
* The domain to filter analytics for.
|
|
@@ -315,7 +56,7 @@ export type GetOSByClicksRequest = {
|
|
|
315
56
|
/**
|
|
316
57
|
* The country to retrieve analytics for.
|
|
317
58
|
*/
|
|
318
|
-
country?:
|
|
59
|
+
country?: components.CountryCode | undefined;
|
|
319
60
|
/**
|
|
320
61
|
* The city to retrieve analytics for.
|
|
321
62
|
*/
|
|
@@ -371,12 +112,6 @@ export namespace GetOSByClicksQueryParamInterval$ {
|
|
|
371
112
|
export const outboundSchema = inboundSchema;
|
|
372
113
|
}
|
|
373
114
|
|
|
374
|
-
/** @internal */
|
|
375
|
-
export namespace GetOSByClicksQueryParamCountry$ {
|
|
376
|
-
export const inboundSchema = z.nativeEnum(GetOSByClicksQueryParamCountry);
|
|
377
|
-
export const outboundSchema = inboundSchema;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
115
|
/** @internal */
|
|
381
116
|
export namespace GetOSByClicksRequest$ {
|
|
382
117
|
export const inboundSchema: z.ZodType<GetOSByClicksRequest, z.ZodTypeDef, unknown> = z
|
|
@@ -388,7 +123,7 @@ export namespace GetOSByClicksRequest$ {
|
|
|
388
123
|
interval: GetOSByClicksQueryParamInterval$.inboundSchema.default("24h"),
|
|
389
124
|
start: z.string().optional(),
|
|
390
125
|
end: z.string().optional(),
|
|
391
|
-
country:
|
|
126
|
+
country: components.CountryCode$.inboundSchema.optional(),
|
|
392
127
|
city: z.string().optional(),
|
|
393
128
|
device: z.string().optional(),
|
|
394
129
|
browser: z.string().optional(),
|
|
@@ -450,7 +185,7 @@ export namespace GetOSByClicksRequest$ {
|
|
|
450
185
|
interval: GetOSByClicksQueryParamInterval$.outboundSchema.default("24h"),
|
|
451
186
|
start: z.string().optional(),
|
|
452
187
|
end: z.string().optional(),
|
|
453
|
-
country:
|
|
188
|
+
country: components.CountryCode$.outboundSchema.optional(),
|
|
454
189
|
city: z.string().optional(),
|
|
455
190
|
device: z.string().optional(),
|
|
456
191
|
browser: z.string().optional(),
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { ClosedEnum } from "../../types";
|
|
6
|
+
import * as components from "../components";
|
|
6
7
|
import * as z from "zod";
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -25,268 +26,6 @@ export type GetOSByClicksDeprecatedQueryParamInterval = ClosedEnum<
|
|
|
25
26
|
typeof GetOSByClicksDeprecatedQueryParamInterval
|
|
26
27
|
>;
|
|
27
28
|
|
|
28
|
-
/**
|
|
29
|
-
* The country to retrieve analytics for.
|
|
30
|
-
*/
|
|
31
|
-
export const GetOSByClicksDeprecatedQueryParamCountry = {
|
|
32
|
-
Af: "AF",
|
|
33
|
-
Al: "AL",
|
|
34
|
-
Dz: "DZ",
|
|
35
|
-
As: "AS",
|
|
36
|
-
Ad: "AD",
|
|
37
|
-
Ao: "AO",
|
|
38
|
-
Ai: "AI",
|
|
39
|
-
Aq: "AQ",
|
|
40
|
-
Ag: "AG",
|
|
41
|
-
Ar: "AR",
|
|
42
|
-
Am: "AM",
|
|
43
|
-
Aw: "AW",
|
|
44
|
-
Au: "AU",
|
|
45
|
-
At: "AT",
|
|
46
|
-
Az: "AZ",
|
|
47
|
-
Bs: "BS",
|
|
48
|
-
Bh: "BH",
|
|
49
|
-
Bd: "BD",
|
|
50
|
-
Bb: "BB",
|
|
51
|
-
By: "BY",
|
|
52
|
-
Be: "BE",
|
|
53
|
-
Bz: "BZ",
|
|
54
|
-
Bj: "BJ",
|
|
55
|
-
Bm: "BM",
|
|
56
|
-
Bt: "BT",
|
|
57
|
-
Bo: "BO",
|
|
58
|
-
Ba: "BA",
|
|
59
|
-
Bw: "BW",
|
|
60
|
-
Bv: "BV",
|
|
61
|
-
Br: "BR",
|
|
62
|
-
Io: "IO",
|
|
63
|
-
Bn: "BN",
|
|
64
|
-
Bg: "BG",
|
|
65
|
-
Bf: "BF",
|
|
66
|
-
Bi: "BI",
|
|
67
|
-
Kh: "KH",
|
|
68
|
-
Cm: "CM",
|
|
69
|
-
Ca: "CA",
|
|
70
|
-
Cv: "CV",
|
|
71
|
-
Ky: "KY",
|
|
72
|
-
Cf: "CF",
|
|
73
|
-
Td: "TD",
|
|
74
|
-
Cl: "CL",
|
|
75
|
-
Cn: "CN",
|
|
76
|
-
Cx: "CX",
|
|
77
|
-
Cc: "CC",
|
|
78
|
-
Co: "CO",
|
|
79
|
-
Km: "KM",
|
|
80
|
-
Cg: "CG",
|
|
81
|
-
Cd: "CD",
|
|
82
|
-
Ck: "CK",
|
|
83
|
-
Cr: "CR",
|
|
84
|
-
Ci: "CI",
|
|
85
|
-
Hr: "HR",
|
|
86
|
-
Cu: "CU",
|
|
87
|
-
Cy: "CY",
|
|
88
|
-
Cz: "CZ",
|
|
89
|
-
Dk: "DK",
|
|
90
|
-
Dj: "DJ",
|
|
91
|
-
Dm: "DM",
|
|
92
|
-
Do: "DO",
|
|
93
|
-
Ec: "EC",
|
|
94
|
-
Eg: "EG",
|
|
95
|
-
Sv: "SV",
|
|
96
|
-
Gq: "GQ",
|
|
97
|
-
Er: "ER",
|
|
98
|
-
Ee: "EE",
|
|
99
|
-
Et: "ET",
|
|
100
|
-
Fk: "FK",
|
|
101
|
-
Fo: "FO",
|
|
102
|
-
Fj: "FJ",
|
|
103
|
-
Fi: "FI",
|
|
104
|
-
Fr: "FR",
|
|
105
|
-
Gf: "GF",
|
|
106
|
-
Pf: "PF",
|
|
107
|
-
Tf: "TF",
|
|
108
|
-
Ga: "GA",
|
|
109
|
-
Gm: "GM",
|
|
110
|
-
Ge: "GE",
|
|
111
|
-
De: "DE",
|
|
112
|
-
Gh: "GH",
|
|
113
|
-
Gi: "GI",
|
|
114
|
-
Gr: "GR",
|
|
115
|
-
Gl: "GL",
|
|
116
|
-
Gd: "GD",
|
|
117
|
-
Gp: "GP",
|
|
118
|
-
Gu: "GU",
|
|
119
|
-
Gt: "GT",
|
|
120
|
-
Gn: "GN",
|
|
121
|
-
Gw: "GW",
|
|
122
|
-
Gy: "GY",
|
|
123
|
-
Ht: "HT",
|
|
124
|
-
Hm: "HM",
|
|
125
|
-
Va: "VA",
|
|
126
|
-
Hn: "HN",
|
|
127
|
-
Hk: "HK",
|
|
128
|
-
Hu: "HU",
|
|
129
|
-
Is: "IS",
|
|
130
|
-
In: "IN",
|
|
131
|
-
Id: "ID",
|
|
132
|
-
Ir: "IR",
|
|
133
|
-
Iq: "IQ",
|
|
134
|
-
Ie: "IE",
|
|
135
|
-
Il: "IL",
|
|
136
|
-
It: "IT",
|
|
137
|
-
Jm: "JM",
|
|
138
|
-
Jp: "JP",
|
|
139
|
-
Jo: "JO",
|
|
140
|
-
Kz: "KZ",
|
|
141
|
-
Ke: "KE",
|
|
142
|
-
Ki: "KI",
|
|
143
|
-
Kp: "KP",
|
|
144
|
-
Kr: "KR",
|
|
145
|
-
Kw: "KW",
|
|
146
|
-
Kg: "KG",
|
|
147
|
-
La: "LA",
|
|
148
|
-
Lv: "LV",
|
|
149
|
-
Lb: "LB",
|
|
150
|
-
Ls: "LS",
|
|
151
|
-
Lr: "LR",
|
|
152
|
-
Ly: "LY",
|
|
153
|
-
Li: "LI",
|
|
154
|
-
Lt: "LT",
|
|
155
|
-
Lu: "LU",
|
|
156
|
-
Mo: "MO",
|
|
157
|
-
Mg: "MG",
|
|
158
|
-
Mw: "MW",
|
|
159
|
-
My: "MY",
|
|
160
|
-
Mv: "MV",
|
|
161
|
-
Ml: "ML",
|
|
162
|
-
Mt: "MT",
|
|
163
|
-
Mh: "MH",
|
|
164
|
-
Mq: "MQ",
|
|
165
|
-
Mr: "MR",
|
|
166
|
-
Mu: "MU",
|
|
167
|
-
Yt: "YT",
|
|
168
|
-
Mx: "MX",
|
|
169
|
-
Fm: "FM",
|
|
170
|
-
Md: "MD",
|
|
171
|
-
Mc: "MC",
|
|
172
|
-
Mn: "MN",
|
|
173
|
-
Ms: "MS",
|
|
174
|
-
Ma: "MA",
|
|
175
|
-
Mz: "MZ",
|
|
176
|
-
Mm: "MM",
|
|
177
|
-
Na: "NA",
|
|
178
|
-
Nr: "NR",
|
|
179
|
-
Np: "NP",
|
|
180
|
-
Nl: "NL",
|
|
181
|
-
Nc: "NC",
|
|
182
|
-
Nz: "NZ",
|
|
183
|
-
Ni: "NI",
|
|
184
|
-
Ne: "NE",
|
|
185
|
-
Ng: "NG",
|
|
186
|
-
Nu: "NU",
|
|
187
|
-
Nf: "NF",
|
|
188
|
-
Mk: "MK",
|
|
189
|
-
Mp: "MP",
|
|
190
|
-
No: "NO",
|
|
191
|
-
Om: "OM",
|
|
192
|
-
Pk: "PK",
|
|
193
|
-
Pw: "PW",
|
|
194
|
-
Ps: "PS",
|
|
195
|
-
Pa: "PA",
|
|
196
|
-
Pg: "PG",
|
|
197
|
-
Py: "PY",
|
|
198
|
-
Pe: "PE",
|
|
199
|
-
Ph: "PH",
|
|
200
|
-
Pn: "PN",
|
|
201
|
-
Pl: "PL",
|
|
202
|
-
Pt: "PT",
|
|
203
|
-
Pr: "PR",
|
|
204
|
-
Qa: "QA",
|
|
205
|
-
Re: "RE",
|
|
206
|
-
Ro: "RO",
|
|
207
|
-
Ru: "RU",
|
|
208
|
-
Rw: "RW",
|
|
209
|
-
Sh: "SH",
|
|
210
|
-
Kn: "KN",
|
|
211
|
-
Lc: "LC",
|
|
212
|
-
Pm: "PM",
|
|
213
|
-
Vc: "VC",
|
|
214
|
-
Ws: "WS",
|
|
215
|
-
Sm: "SM",
|
|
216
|
-
St: "ST",
|
|
217
|
-
Sa: "SA",
|
|
218
|
-
Sn: "SN",
|
|
219
|
-
Sc: "SC",
|
|
220
|
-
Sl: "SL",
|
|
221
|
-
Sg: "SG",
|
|
222
|
-
Sk: "SK",
|
|
223
|
-
Si: "SI",
|
|
224
|
-
Sb: "SB",
|
|
225
|
-
So: "SO",
|
|
226
|
-
Za: "ZA",
|
|
227
|
-
Gs: "GS",
|
|
228
|
-
Es: "ES",
|
|
229
|
-
Lk: "LK",
|
|
230
|
-
Sd: "SD",
|
|
231
|
-
Sr: "SR",
|
|
232
|
-
Sj: "SJ",
|
|
233
|
-
Sz: "SZ",
|
|
234
|
-
Se: "SE",
|
|
235
|
-
Ch: "CH",
|
|
236
|
-
Sy: "SY",
|
|
237
|
-
Tw: "TW",
|
|
238
|
-
Tj: "TJ",
|
|
239
|
-
Tz: "TZ",
|
|
240
|
-
Th: "TH",
|
|
241
|
-
Tl: "TL",
|
|
242
|
-
Tg: "TG",
|
|
243
|
-
Tk: "TK",
|
|
244
|
-
To: "TO",
|
|
245
|
-
Tt: "TT",
|
|
246
|
-
Tn: "TN",
|
|
247
|
-
Tr: "TR",
|
|
248
|
-
Tm: "TM",
|
|
249
|
-
Tc: "TC",
|
|
250
|
-
Tv: "TV",
|
|
251
|
-
Ug: "UG",
|
|
252
|
-
Ua: "UA",
|
|
253
|
-
Ae: "AE",
|
|
254
|
-
Gb: "GB",
|
|
255
|
-
Us: "US",
|
|
256
|
-
Um: "UM",
|
|
257
|
-
Uy: "UY",
|
|
258
|
-
Uz: "UZ",
|
|
259
|
-
Vu: "VU",
|
|
260
|
-
Ve: "VE",
|
|
261
|
-
Vn: "VN",
|
|
262
|
-
Vg: "VG",
|
|
263
|
-
Vi: "VI",
|
|
264
|
-
Wf: "WF",
|
|
265
|
-
Eh: "EH",
|
|
266
|
-
Ye: "YE",
|
|
267
|
-
Zm: "ZM",
|
|
268
|
-
Zw: "ZW",
|
|
269
|
-
Ax: "AX",
|
|
270
|
-
Bq: "BQ",
|
|
271
|
-
Cw: "CW",
|
|
272
|
-
Gg: "GG",
|
|
273
|
-
Im: "IM",
|
|
274
|
-
Je: "JE",
|
|
275
|
-
Me: "ME",
|
|
276
|
-
Bl: "BL",
|
|
277
|
-
Mf: "MF",
|
|
278
|
-
Rs: "RS",
|
|
279
|
-
Sx: "SX",
|
|
280
|
-
Ss: "SS",
|
|
281
|
-
Xk: "XK",
|
|
282
|
-
} as const;
|
|
283
|
-
/**
|
|
284
|
-
* The country to retrieve analytics for.
|
|
285
|
-
*/
|
|
286
|
-
export type GetOSByClicksDeprecatedQueryParamCountry = ClosedEnum<
|
|
287
|
-
typeof GetOSByClicksDeprecatedQueryParamCountry
|
|
288
|
-
>;
|
|
289
|
-
|
|
290
29
|
export type GetOSByClicksDeprecatedRequest = {
|
|
291
30
|
/**
|
|
292
31
|
* The domain to filter analytics for.
|
|
@@ -319,7 +58,7 @@ export type GetOSByClicksDeprecatedRequest = {
|
|
|
319
58
|
/**
|
|
320
59
|
* The country to retrieve analytics for.
|
|
321
60
|
*/
|
|
322
|
-
country?:
|
|
61
|
+
country?: components.CountryCode | undefined;
|
|
323
62
|
/**
|
|
324
63
|
* The city to retrieve analytics for.
|
|
325
64
|
*/
|
|
@@ -375,12 +114,6 @@ export namespace GetOSByClicksDeprecatedQueryParamInterval$ {
|
|
|
375
114
|
export const outboundSchema = inboundSchema;
|
|
376
115
|
}
|
|
377
116
|
|
|
378
|
-
/** @internal */
|
|
379
|
-
export namespace GetOSByClicksDeprecatedQueryParamCountry$ {
|
|
380
|
-
export const inboundSchema = z.nativeEnum(GetOSByClicksDeprecatedQueryParamCountry);
|
|
381
|
-
export const outboundSchema = inboundSchema;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
117
|
/** @internal */
|
|
385
118
|
export namespace GetOSByClicksDeprecatedRequest$ {
|
|
386
119
|
export const inboundSchema: z.ZodType<GetOSByClicksDeprecatedRequest, z.ZodTypeDef, unknown> = z
|
|
@@ -392,7 +125,7 @@ export namespace GetOSByClicksDeprecatedRequest$ {
|
|
|
392
125
|
interval: GetOSByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
|
|
393
126
|
start: z.string().optional(),
|
|
394
127
|
end: z.string().optional(),
|
|
395
|
-
country:
|
|
128
|
+
country: components.CountryCode$.inboundSchema.optional(),
|
|
396
129
|
city: z.string().optional(),
|
|
397
130
|
device: z.string().optional(),
|
|
398
131
|
browser: z.string().optional(),
|
|
@@ -455,7 +188,7 @@ export namespace GetOSByClicksDeprecatedRequest$ {
|
|
|
455
188
|
interval: GetOSByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
|
|
456
189
|
start: z.string().optional(),
|
|
457
190
|
end: z.string().optional(),
|
|
458
|
-
country:
|
|
191
|
+
country: components.CountryCode$.outboundSchema.optional(),
|
|
459
192
|
city: z.string().optional(),
|
|
460
193
|
device: z.string().optional(),
|
|
461
194
|
browser: z.string().optional(),
|