dub 0.10.0 → 0.20.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 (540) hide show
  1. package/.github/workflows/sdk_generation.yaml +26 -0
  2. package/.github/workflows/sdk_publish.yaml +15 -0
  3. package/.speakeasy/gen.lock +205 -0
  4. package/.speakeasy/gen.yaml +37 -0
  5. package/.speakeasy/workflow.yaml +12 -0
  6. package/README.md +292 -182
  7. package/docs/sdks/analytics/README.md +535 -0
  8. package/docs/sdks/dub/README.md +9 -0
  9. package/docs/sdks/links/README.md +415 -0
  10. package/docs/sdks/qrcodes/README.md +58 -0
  11. package/docs/sdks/tags/README.md +113 -0
  12. package/docs/sdks/workspaces/README.md +168 -0
  13. package/hooks/hooks.d.ts +20 -0
  14. package/hooks/hooks.d.ts.map +1 -0
  15. package/hooks/hooks.js +55 -0
  16. package/hooks/hooks.js.map +1 -0
  17. package/hooks/index.d.ts +3 -0
  18. package/hooks/index.d.ts.map +1 -0
  19. package/{_shims/auto/runtime-bun.js → hooks/index.js} +6 -5
  20. package/hooks/index.js.map +1 -0
  21. package/hooks/types.d.ts +59 -0
  22. package/hooks/types.d.ts.map +1 -0
  23. package/hooks/types.js +6 -0
  24. package/hooks/types.js.map +1 -0
  25. package/index.d.ts +4 -125
  26. package/index.d.ts.map +1 -1
  27. package/index.js +10 -103
  28. package/index.js.map +1 -1
  29. package/lib/base64.d.ts +10 -0
  30. package/lib/base64.d.ts.map +1 -0
  31. package/lib/base64.js +61 -0
  32. package/lib/base64.js.map +1 -0
  33. package/lib/config.d.ts +39 -0
  34. package/lib/config.d.ts.map +1 -0
  35. package/lib/config.js +39 -0
  36. package/lib/config.js.map +1 -0
  37. package/lib/encodings.d.ts +39 -0
  38. package/lib/encodings.d.ts.map +1 -0
  39. package/lib/encodings.js +311 -0
  40. package/lib/encodings.js.map +1 -0
  41. package/lib/http.d.ts +46 -0
  42. package/lib/http.d.ts.map +1 -0
  43. package/lib/http.js +143 -0
  44. package/lib/http.js.map +1 -0
  45. package/lib/retries.d.ts +18 -0
  46. package/lib/retries.d.ts.map +1 -0
  47. package/lib/retries.js +157 -0
  48. package/lib/retries.js.map +1 -0
  49. package/lib/schemas.d.ts +7 -0
  50. package/lib/schemas.d.ts.map +1 -0
  51. package/{shims/web.js → lib/schemas.js} +24 -6
  52. package/lib/schemas.js.map +1 -0
  53. package/lib/sdks.d.ts +39 -0
  54. package/lib/sdks.d.ts.map +1 -0
  55. package/lib/sdks.js +98 -0
  56. package/lib/sdks.js.map +1 -0
  57. package/lib/security.d.ts +57 -0
  58. package/lib/security.d.ts.map +1 -0
  59. package/lib/security.js +115 -0
  60. package/lib/security.js.map +1 -0
  61. package/lib/url.d.ts +4 -0
  62. package/lib/url.d.ts.map +1 -0
  63. package/lib/url.js +26 -0
  64. package/lib/url.js.map +1 -0
  65. package/models/components/index.d.ts +5 -0
  66. package/models/components/index.d.ts.map +1 -0
  67. package/{_shims/auto/runtime-node.js → models/components/index.js} +8 -5
  68. package/models/components/index.js.map +1 -0
  69. package/models/components/linkschema.d.ts +222 -0
  70. package/models/components/linkschema.d.ts.map +1 -0
  71. package/models/components/linkschema.js +189 -0
  72. package/models/components/linkschema.js.map +1 -0
  73. package/models/components/security.d.ts +16 -0
  74. package/models/components/security.d.ts.map +1 -0
  75. package/models/components/security.js +53 -0
  76. package/models/components/security.js.map +1 -0
  77. package/models/components/tagschema.d.ts +45 -0
  78. package/models/components/tagschema.d.ts.map +1 -0
  79. package/models/components/tagschema.js +76 -0
  80. package/models/components/tagschema.js.map +1 -0
  81. package/models/components/workspaceschema.d.ts +178 -0
  82. package/models/components/workspaceschema.d.ts.map +1 -0
  83. package/models/components/workspaceschema.js +190 -0
  84. package/models/components/workspaceschema.js.map +1 -0
  85. package/models/errors/badrequest.d.ts +65 -0
  86. package/models/errors/badrequest.d.ts.map +1 -0
  87. package/models/errors/badrequest.js +111 -0
  88. package/models/errors/badrequest.js.map +1 -0
  89. package/models/errors/conflict.d.ts +65 -0
  90. package/models/errors/conflict.d.ts.map +1 -0
  91. package/models/errors/conflict.js +111 -0
  92. package/models/errors/conflict.js.map +1 -0
  93. package/models/errors/forbidden.d.ts +65 -0
  94. package/models/errors/forbidden.d.ts.map +1 -0
  95. package/models/errors/forbidden.js +111 -0
  96. package/models/errors/forbidden.js.map +1 -0
  97. package/models/errors/index.d.ts +12 -0
  98. package/models/errors/index.d.ts.map +1 -0
  99. package/{_shims/auto/types-node.js → models/errors/index.js} +15 -5
  100. package/models/errors/index.js.map +1 -0
  101. package/models/errors/internalservererror.d.ts +65 -0
  102. package/models/errors/internalservererror.d.ts.map +1 -0
  103. package/models/errors/internalservererror.js +111 -0
  104. package/models/errors/internalservererror.js.map +1 -0
  105. package/models/errors/inviteexpired.d.ts +65 -0
  106. package/models/errors/inviteexpired.d.ts.map +1 -0
  107. package/models/errors/inviteexpired.js +111 -0
  108. package/models/errors/inviteexpired.js.map +1 -0
  109. package/models/errors/notfound.d.ts +65 -0
  110. package/models/errors/notfound.d.ts.map +1 -0
  111. package/models/errors/notfound.js +111 -0
  112. package/models/errors/notfound.js.map +1 -0
  113. package/models/errors/ratelimitexceeded.d.ts +65 -0
  114. package/models/errors/ratelimitexceeded.d.ts.map +1 -0
  115. package/models/errors/ratelimitexceeded.js +111 -0
  116. package/models/errors/ratelimitexceeded.js.map +1 -0
  117. package/models/errors/sdkerror.d.ts +7 -0
  118. package/models/errors/sdkerror.d.ts.map +1 -0
  119. package/models/errors/sdkerror.js +19 -0
  120. package/models/errors/sdkerror.js.map +1 -0
  121. package/models/errors/sdkvalidationerror.d.ts +17 -0
  122. package/models/errors/sdkvalidationerror.d.ts.map +1 -0
  123. package/models/errors/sdkvalidationerror.js +107 -0
  124. package/models/errors/sdkvalidationerror.js.map +1 -0
  125. package/models/errors/unauthorized.d.ts +65 -0
  126. package/models/errors/unauthorized.d.ts.map +1 -0
  127. package/models/errors/unauthorized.js +111 -0
  128. package/models/errors/unauthorized.js.map +1 -0
  129. package/models/errors/unprocessableentity.d.ts +65 -0
  130. package/models/errors/unprocessableentity.d.ts.map +1 -0
  131. package/models/errors/unprocessableentity.js +111 -0
  132. package/models/errors/unprocessableentity.js.map +1 -0
  133. package/models/operations/bulkcreatelinks.d.ts +146 -0
  134. package/models/operations/bulkcreatelinks.d.ts.map +1 -0
  135. package/models/operations/bulkcreatelinks.js +138 -0
  136. package/models/operations/bulkcreatelinks.js.map +1 -0
  137. package/models/operations/createlink.d.ts +146 -0
  138. package/models/operations/createlink.d.ts.map +1 -0
  139. package/models/operations/createlink.js +141 -0
  140. package/models/operations/createlink.js.map +1 -0
  141. package/models/operations/createtag.d.ts +39 -0
  142. package/models/operations/createtag.d.ts.map +1 -0
  143. package/models/operations/createtag.js +72 -0
  144. package/models/operations/createtag.js.map +1 -0
  145. package/models/operations/createworkspace.d.ts +22 -0
  146. package/models/operations/createworkspace.d.ts.map +1 -0
  147. package/models/operations/createworkspace.js +61 -0
  148. package/models/operations/createworkspace.js.map +1 -0
  149. package/models/operations/deletelink.d.ts +39 -0
  150. package/models/operations/deletelink.d.ts.map +1 -0
  151. package/models/operations/deletelink.js +75 -0
  152. package/models/operations/deletelink.js.map +1 -0
  153. package/models/operations/editlink.d.ts +166 -0
  154. package/models/operations/editlink.d.ts.map +1 -0
  155. package/models/operations/editlink.js +167 -0
  156. package/models/operations/editlink.js.map +1 -0
  157. package/models/operations/getbrowseranalytics.d.ts +378 -0
  158. package/models/operations/getbrowseranalytics.d.ts.map +1 -0
  159. package/models/operations/getbrowseranalytics.js +395 -0
  160. package/models/operations/getbrowseranalytics.js.map +1 -0
  161. package/models/operations/getcityanalytics.d.ts +641 -0
  162. package/models/operations/getcityanalytics.d.ts.map +1 -0
  163. package/models/operations/getcityanalytics.js +657 -0
  164. package/models/operations/getcityanalytics.js.map +1 -0
  165. package/models/operations/getclicksanalytics.d.ts +355 -0
  166. package/models/operations/getclicksanalytics.d.ts.map +1 -0
  167. package/models/operations/getclicksanalytics.js +369 -0
  168. package/models/operations/getclicksanalytics.js.map +1 -0
  169. package/models/operations/getcountryanalytics.d.ts +635 -0
  170. package/models/operations/getcountryanalytics.d.ts.map +1 -0
  171. package/models/operations/getcountryanalytics.js +653 -0
  172. package/models/operations/getcountryanalytics.js.map +1 -0
  173. package/models/operations/getdeviceanalytics.d.ts +378 -0
  174. package/models/operations/getdeviceanalytics.d.ts.map +1 -0
  175. package/models/operations/getdeviceanalytics.js +395 -0
  176. package/models/operations/getdeviceanalytics.js.map +1 -0
  177. package/models/operations/getlinkinfo.d.ts +25 -0
  178. package/models/operations/getlinkinfo.d.ts.map +1 -0
  179. package/models/operations/getlinkinfo.js +57 -0
  180. package/models/operations/getlinkinfo.js.map +1 -0
  181. package/models/operations/getlinks.d.ts +88 -0
  182. package/models/operations/getlinks.d.ts.map +1 -0
  183. package/models/operations/getlinks.js +108 -0
  184. package/models/operations/getlinks.js.map +1 -0
  185. package/models/operations/getlinkscount.d.ts +93 -0
  186. package/models/operations/getlinkscount.d.ts.map +1 -0
  187. package/models/operations/getlinkscount.js +105 -0
  188. package/models/operations/getlinkscount.js.map +1 -0
  189. package/models/operations/getosanalytics.d.ts +378 -0
  190. package/models/operations/getosanalytics.d.ts.map +1 -0
  191. package/models/operations/getosanalytics.js +395 -0
  192. package/models/operations/getosanalytics.js.map +1 -0
  193. package/models/operations/getqrcode.d.ts +60 -0
  194. package/models/operations/getqrcode.d.ts.map +1 -0
  195. package/models/operations/getqrcode.js +85 -0
  196. package/models/operations/getqrcode.js.map +1 -0
  197. package/models/operations/getrefereranalytics.d.ts +378 -0
  198. package/models/operations/getrefereranalytics.d.ts.map +1 -0
  199. package/models/operations/getrefereranalytics.js +395 -0
  200. package/models/operations/getrefereranalytics.js.map +1 -0
  201. package/models/operations/gettags.d.ts +10 -0
  202. package/models/operations/gettags.d.ts.map +1 -0
  203. package/{shims/node.js → models/operations/gettags.js} +12 -6
  204. package/models/operations/gettags.js.map +1 -0
  205. package/models/operations/gettimeseriesanalytics.d.ts +378 -0
  206. package/models/operations/gettimeseriesanalytics.d.ts.map +1 -0
  207. package/models/operations/gettimeseriesanalytics.js +395 -0
  208. package/models/operations/gettimeseriesanalytics.js.map +1 -0
  209. package/models/operations/gettoplinks.d.ts +378 -0
  210. package/models/operations/gettoplinks.d.ts.map +1 -0
  211. package/models/operations/gettoplinks.js +395 -0
  212. package/models/operations/gettoplinks.js.map +1 -0
  213. package/models/operations/gettopurls.d.ts +378 -0
  214. package/models/operations/gettopurls.d.ts.map +1 -0
  215. package/models/operations/gettopurls.js +395 -0
  216. package/models/operations/gettopurls.js.map +1 -0
  217. package/models/operations/getworkspace.d.ts +19 -0
  218. package/models/operations/getworkspace.d.ts.map +1 -0
  219. package/models/operations/getworkspace.js +53 -0
  220. package/models/operations/getworkspace.js.map +1 -0
  221. package/models/operations/index.d.ts +23 -0
  222. package/models/operations/index.d.ts.map +1 -0
  223. package/models/operations/index.js +42 -0
  224. package/models/operations/index.js.map +1 -0
  225. package/package.json +25 -98
  226. package/sdk/analytics.d.ts +78 -0
  227. package/sdk/analytics.d.ts.map +1 -0
  228. package/sdk/analytics.js +2044 -0
  229. package/sdk/analytics.js.map +1 -0
  230. package/sdk/index.d.ts +2 -0
  231. package/sdk/index.d.ts.map +1 -0
  232. package/{_shims/auto/runtime.js → sdk/index.js} +5 -5
  233. package/sdk/index.js.map +1 -0
  234. package/sdk/links.d.ts +58 -0
  235. package/sdk/links.d.ts.map +1 -0
  236. package/sdk/links.js +1309 -0
  237. package/sdk/links.js.map +1 -0
  238. package/sdk/qrcodes.d.ts +21 -0
  239. package/sdk/qrcodes.d.ts.map +1 -0
  240. package/sdk/qrcodes.js +249 -0
  241. package/sdk/qrcodes.js.map +1 -0
  242. package/sdk/sdk.d.ts +22 -0
  243. package/sdk/sdk.d.ts.map +1 -0
  244. package/sdk/sdk.js +59 -0
  245. package/sdk/sdk.js.map +1 -0
  246. package/sdk/tags.d.ts +23 -0
  247. package/sdk/tags.d.ts.map +1 -0
  248. package/sdk/tags.js +401 -0
  249. package/sdk/tags.js.map +1 -0
  250. package/sdk/workspaces.d.ts +30 -0
  251. package/sdk/workspaces.d.ts.map +1 -0
  252. package/sdk/workspaces.js +556 -0
  253. package/sdk/workspaces.js.map +1 -0
  254. package/src/hooks/hooks.ts +81 -0
  255. package/src/hooks/index.ts +6 -0
  256. package/src/hooks/types.ts +74 -0
  257. package/src/index.ts +8 -209
  258. package/src/lib/base64.ts +37 -0
  259. package/src/lib/config.ts +70 -0
  260. package/src/lib/encodings.ts +384 -0
  261. package/src/lib/http.ts +215 -0
  262. package/src/lib/retries.ts +226 -0
  263. package/src/lib/schemas.ts +22 -0
  264. package/src/lib/sdks.ts +139 -0
  265. package/src/lib/security.ts +180 -0
  266. package/src/lib/url.ts +31 -0
  267. package/src/models/components/index.ts +8 -0
  268. package/src/models/components/linkschema.ts +383 -0
  269. package/src/models/components/security.ts +40 -0
  270. package/src/models/components/tagschema.ts +79 -0
  271. package/src/models/components/workspaceschema.ts +316 -0
  272. package/src/models/errors/badrequest.ts +140 -0
  273. package/src/models/errors/conflict.ts +140 -0
  274. package/src/models/errors/forbidden.ts +140 -0
  275. package/src/models/errors/index.ts +15 -0
  276. package/src/models/errors/internalservererror.ts +140 -0
  277. package/src/models/errors/inviteexpired.ts +140 -0
  278. package/src/models/errors/notfound.ts +140 -0
  279. package/src/models/errors/ratelimitexceeded.ts +140 -0
  280. package/src/models/errors/sdkerror.ts +22 -0
  281. package/src/models/errors/sdkvalidationerror.ts +95 -0
  282. package/src/models/errors/unauthorized.ts +140 -0
  283. package/src/models/errors/unprocessableentity.ts +140 -0
  284. package/src/models/operations/bulkcreatelinks.ts +254 -0
  285. package/src/models/operations/createlink.ts +255 -0
  286. package/src/models/operations/createtag.ts +69 -0
  287. package/src/models/operations/createworkspace.ts +54 -0
  288. package/src/models/operations/deletelink.ts +84 -0
  289. package/src/models/operations/editlink.ts +300 -0
  290. package/src/models/operations/getbrowseranalytics.ts +484 -0
  291. package/src/models/operations/getcityanalytics.ts +744 -0
  292. package/src/models/operations/getclicksanalytics.ts +427 -0
  293. package/src/models/operations/getcountryanalytics.ts +743 -0
  294. package/src/models/operations/getdeviceanalytics.ts +480 -0
  295. package/src/models/operations/getlinkinfo.ts +53 -0
  296. package/src/models/operations/getlinks.ts +155 -0
  297. package/src/models/operations/getlinkscount.ts +157 -0
  298. package/src/models/operations/getosanalytics.ts +475 -0
  299. package/src/models/operations/getqrcode.ts +106 -0
  300. package/src/models/operations/getrefereranalytics.ts +484 -0
  301. package/src/models/operations/gettags.ts +18 -0
  302. package/src/models/operations/gettimeseriesanalytics.ts +476 -0
  303. package/src/models/operations/gettoplinks.ts +475 -0
  304. package/src/models/operations/gettopurls.ts +475 -0
  305. package/src/models/operations/getworkspace.ts +43 -0
  306. package/src/models/operations/index.ts +26 -0
  307. package/src/sdk/analytics.ts +2493 -0
  308. package/src/sdk/index.ts +5 -0
  309. package/src/sdk/links.ts +1617 -0
  310. package/src/sdk/qrcodes.ts +276 -0
  311. package/src/sdk/sdk.ts +66 -0
  312. package/src/sdk/tags.ts +470 -0
  313. package/src/sdk/workspaces.ts +670 -0
  314. package/src/types/blobs.ts +30 -0
  315. package/src/types/index.ts +8 -0
  316. package/src/types/operations.ts +25 -0
  317. package/src/types/rfcdate.ts +54 -0
  318. package/types/blobs.d.ts +4 -0
  319. package/types/blobs.d.ts.map +1 -0
  320. package/{resources/projects/projects.js → types/blobs.js} +23 -24
  321. package/types/blobs.js.map +1 -0
  322. package/types/index.d.ts +5 -0
  323. package/types/index.d.ts.map +1 -0
  324. package/types/index.js +14 -0
  325. package/types/index.js.map +1 -0
  326. package/types/operations.d.ts +13 -0
  327. package/types/operations.d.ts.map +1 -0
  328. package/types/operations.js +19 -0
  329. package/types/operations.js.map +1 -0
  330. package/types/rfcdate.d.ts +21 -0
  331. package/types/rfcdate.d.ts.map +1 -0
  332. package/types/rfcdate.js +46 -0
  333. package/types/rfcdate.js.map +1 -0
  334. package/CHANGELOG.md +0 -116
  335. package/LICENSE +0 -201
  336. package/_shims/MultipartBody.d.ts +0 -9
  337. package/_shims/MultipartBody.d.ts.map +0 -1
  338. package/_shims/MultipartBody.js +0 -16
  339. package/_shims/MultipartBody.js.map +0 -1
  340. package/_shims/MultipartBody.mjs +0 -12
  341. package/_shims/MultipartBody.mjs.map +0 -1
  342. package/_shims/README.md +0 -46
  343. package/_shims/auto/runtime-bun.d.ts +0 -5
  344. package/_shims/auto/runtime-bun.d.ts.map +0 -1
  345. package/_shims/auto/runtime-bun.js.map +0 -1
  346. package/_shims/auto/runtime-bun.mjs +0 -2
  347. package/_shims/auto/runtime-bun.mjs.map +0 -1
  348. package/_shims/auto/runtime-node.d.ts +0 -5
  349. package/_shims/auto/runtime-node.d.ts.map +0 -1
  350. package/_shims/auto/runtime-node.js.map +0 -1
  351. package/_shims/auto/runtime-node.mjs +0 -2
  352. package/_shims/auto/runtime-node.mjs.map +0 -1
  353. package/_shims/auto/runtime.d.ts +0 -5
  354. package/_shims/auto/runtime.d.ts.map +0 -1
  355. package/_shims/auto/runtime.js.map +0 -1
  356. package/_shims/auto/runtime.mjs +0 -2
  357. package/_shims/auto/runtime.mjs.map +0 -1
  358. package/_shims/auto/types-node.d.ts +0 -5
  359. package/_shims/auto/types-node.d.ts.map +0 -1
  360. package/_shims/auto/types-node.js.map +0 -1
  361. package/_shims/auto/types-node.mjs +0 -2
  362. package/_shims/auto/types-node.mjs.map +0 -1
  363. package/_shims/auto/types.d.ts +0 -101
  364. package/_shims/auto/types.js +0 -3
  365. package/_shims/auto/types.mjs +0 -3
  366. package/_shims/bun-runtime.d.ts +0 -6
  367. package/_shims/bun-runtime.d.ts.map +0 -1
  368. package/_shims/bun-runtime.js +0 -14
  369. package/_shims/bun-runtime.js.map +0 -1
  370. package/_shims/bun-runtime.mjs +0 -10
  371. package/_shims/bun-runtime.mjs.map +0 -1
  372. package/_shims/index.d.ts +0 -81
  373. package/_shims/index.js +0 -13
  374. package/_shims/index.mjs +0 -7
  375. package/_shims/manual-types.d.ts +0 -12
  376. package/_shims/manual-types.js +0 -3
  377. package/_shims/manual-types.mjs +0 -3
  378. package/_shims/node-runtime.d.ts +0 -3
  379. package/_shims/node-runtime.d.ts.map +0 -1
  380. package/_shims/node-runtime.js +0 -90
  381. package/_shims/node-runtime.js.map +0 -1
  382. package/_shims/node-runtime.mjs +0 -56
  383. package/_shims/node-runtime.mjs.map +0 -1
  384. package/_shims/node-types.d.ts +0 -42
  385. package/_shims/node-types.js +0 -3
  386. package/_shims/node-types.mjs +0 -3
  387. package/_shims/registry.d.ts +0 -37
  388. package/_shims/registry.d.ts.map +0 -1
  389. package/_shims/registry.js +0 -41
  390. package/_shims/registry.js.map +0 -1
  391. package/_shims/registry.mjs +0 -37
  392. package/_shims/registry.mjs.map +0 -1
  393. package/_shims/web-runtime.d.ts +0 -5
  394. package/_shims/web-runtime.d.ts.map +0 -1
  395. package/_shims/web-runtime.js +0 -78
  396. package/_shims/web-runtime.js.map +0 -1
  397. package/_shims/web-runtime.mjs +0 -71
  398. package/_shims/web-runtime.mjs.map +0 -1
  399. package/_shims/web-types.d.ts +0 -83
  400. package/_shims/web-types.js +0 -3
  401. package/_shims/web-types.mjs +0 -3
  402. package/core.d.ts +0 -237
  403. package/core.d.ts.map +0 -1
  404. package/core.js +0 -868
  405. package/core.js.map +0 -1
  406. package/core.mjs +0 -837
  407. package/core.mjs.map +0 -1
  408. package/error.d.ts +0 -53
  409. package/error.d.ts.map +0 -1
  410. package/error.js +0 -143
  411. package/error.js.map +0 -1
  412. package/error.mjs +0 -127
  413. package/error.mjs.map +0 -1
  414. package/index.d.mts +0 -127
  415. package/index.mjs +0 -90
  416. package/index.mjs.map +0 -1
  417. package/resource.d.ts +0 -6
  418. package/resource.d.ts.map +0 -1
  419. package/resource.js +0 -11
  420. package/resource.js.map +0 -1
  421. package/resource.mjs +0 -7
  422. package/resource.mjs.map +0 -1
  423. package/resources/index.d.ts +0 -4
  424. package/resources/index.d.ts.map +0 -1
  425. package/resources/index.js +0 -11
  426. package/resources/index.js.map +0 -1
  427. package/resources/index.mjs +0 -5
  428. package/resources/index.mjs.map +0 -1
  429. package/resources/links/bulk.d.ts +0 -274
  430. package/resources/links/bulk.d.ts.map +0 -1
  431. package/resources/links/bulk.js +0 -18
  432. package/resources/links/bulk.js.map +0 -1
  433. package/resources/links/bulk.mjs +0 -14
  434. package/resources/links/bulk.mjs.map +0 -1
  435. package/resources/links/index.d.ts +0 -4
  436. package/resources/links/index.d.ts.map +0 -1
  437. package/resources/links/index.js +0 -11
  438. package/resources/links/index.js.map +0 -1
  439. package/resources/links/index.mjs +0 -5
  440. package/resources/links/index.mjs.map +0 -1
  441. package/resources/links/info.d.ts +0 -186
  442. package/resources/links/info.d.ts.map +0 -1
  443. package/resources/links/info.js +0 -18
  444. package/resources/links/info.js.map +0 -1
  445. package/resources/links/info.mjs +0 -14
  446. package/resources/links/info.mjs.map +0 -1
  447. package/resources/links/links.d.ts +0 -916
  448. package/resources/links/links.d.ts.map +0 -1
  449. package/resources/links/links.js +0 -72
  450. package/resources/links/links.js.map +0 -1
  451. package/resources/links/links.mjs +0 -45
  452. package/resources/links/links.mjs.map +0 -1
  453. package/resources/projects/index.d.ts +0 -3
  454. package/resources/projects/index.d.ts.map +0 -1
  455. package/resources/projects/index.js +0 -9
  456. package/resources/projects/index.js.map +0 -1
  457. package/resources/projects/index.mjs +0 -4
  458. package/resources/projects/index.mjs.map +0 -1
  459. package/resources/projects/projects.d.ts +0 -200
  460. package/resources/projects/projects.d.ts.map +0 -1
  461. package/resources/projects/projects.js.map +0 -1
  462. package/resources/projects/projects.mjs +0 -26
  463. package/resources/projects/projects.mjs.map +0 -1
  464. package/resources/projects/tags.d.ts +0 -4
  465. package/resources/projects/tags.d.ts.map +0 -1
  466. package/resources/projects/tags.js +0 -9
  467. package/resources/projects/tags.js.map +0 -1
  468. package/resources/projects/tags.mjs +0 -5
  469. package/resources/projects/tags.mjs.map +0 -1
  470. package/resources/qr.d.ts +0 -45
  471. package/resources/qr.d.ts.map +0 -1
  472. package/resources/qr.js +0 -18
  473. package/resources/qr.js.map +0 -1
  474. package/resources/qr.mjs +0 -14
  475. package/resources/qr.mjs.map +0 -1
  476. package/shims/node.d.ts +0 -29
  477. package/shims/node.d.ts.map +0 -1
  478. package/shims/node.js.map +0 -1
  479. package/shims/node.mjs +0 -5
  480. package/shims/node.mjs.map +0 -1
  481. package/shims/web.d.ts +0 -26
  482. package/shims/web.d.ts.map +0 -1
  483. package/shims/web.js.map +0 -1
  484. package/shims/web.mjs +0 -5
  485. package/shims/web.mjs.map +0 -1
  486. package/src/_shims/MultipartBody.ts +0 -9
  487. package/src/_shims/README.md +0 -46
  488. package/src/_shims/auto/runtime-bun.ts +0 -4
  489. package/src/_shims/auto/runtime-node.ts +0 -4
  490. package/src/_shims/auto/runtime.ts +0 -4
  491. package/src/_shims/auto/types-node.ts +0 -4
  492. package/src/_shims/auto/types.d.ts +0 -101
  493. package/src/_shims/auto/types.js +0 -3
  494. package/src/_shims/auto/types.mjs +0 -3
  495. package/src/_shims/bun-runtime.ts +0 -14
  496. package/src/_shims/index.d.ts +0 -81
  497. package/src/_shims/index.js +0 -13
  498. package/src/_shims/index.mjs +0 -7
  499. package/src/_shims/manual-types.d.ts +0 -12
  500. package/src/_shims/manual-types.js +0 -3
  501. package/src/_shims/manual-types.mjs +0 -3
  502. package/src/_shims/node-runtime.ts +0 -83
  503. package/src/_shims/node-types.d.ts +0 -42
  504. package/src/_shims/node-types.js +0 -3
  505. package/src/_shims/node-types.mjs +0 -3
  506. package/src/_shims/registry.ts +0 -63
  507. package/src/_shims/web-runtime.ts +0 -103
  508. package/src/_shims/web-types.d.ts +0 -83
  509. package/src/_shims/web-types.js +0 -3
  510. package/src/_shims/web-types.mjs +0 -3
  511. package/src/core.ts +0 -1145
  512. package/src/error.ts +0 -146
  513. package/src/lib/.keep +0 -4
  514. package/src/resource.ts +0 -11
  515. package/src/resources/index.ts +0 -20
  516. package/src/resources/links/bulk.ts +0 -337
  517. package/src/resources/links/index.ts +0 -15
  518. package/src/resources/links/info.ts +0 -230
  519. package/src/resources/links/links.ts +0 -1135
  520. package/src/resources/projects/index.ts +0 -4
  521. package/src/resources/projects/projects.ts +0 -253
  522. package/src/resources/projects/tags.ts +0 -5
  523. package/src/resources/qr.ts +0 -64
  524. package/src/shims/node.ts +0 -50
  525. package/src/shims/web.ts +0 -50
  526. package/src/tsconfig.json +0 -11
  527. package/src/uploads.ts +0 -245
  528. package/src/version.ts +0 -1
  529. package/uploads.d.ts +0 -75
  530. package/uploads.d.ts.map +0 -1
  531. package/uploads.js +0 -163
  532. package/uploads.js.map +0 -1
  533. package/uploads.mjs +0 -150
  534. package/uploads.mjs.map +0 -1
  535. package/version.d.ts +0 -2
  536. package/version.d.ts.map +0 -1
  537. package/version.js +0 -5
  538. package/version.js.map +0 -1
  539. package/version.mjs +0 -2
  540. package/version.mjs.map +0 -1
@@ -0,0 +1,657 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasyapi.dev). 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.GetCityAnalyticsResponseBody$ = exports.GetCityAnalyticsCountry$ = exports.GetCityAnalyticsRequest$ = exports.GetCityAnalyticsQueryParamCountry$ = exports.GetCityAnalyticsQueryParamInterval$ = exports.GetCityAnalyticsCountry = exports.GetCityAnalyticsQueryParamCountry = exports.GetCityAnalyticsQueryParamInterval = void 0;
30
+ const z = __importStar(require("zod"));
31
+ /**
32
+ * The interval to retrieve analytics for.
33
+ */
34
+ var GetCityAnalyticsQueryParamInterval;
35
+ (function (GetCityAnalyticsQueryParamInterval) {
36
+ GetCityAnalyticsQueryParamInterval["Oneh"] = "1h";
37
+ GetCityAnalyticsQueryParamInterval["TwentyFourh"] = "24h";
38
+ GetCityAnalyticsQueryParamInterval["Sevend"] = "7d";
39
+ GetCityAnalyticsQueryParamInterval["Thirtyd"] = "30d";
40
+ GetCityAnalyticsQueryParamInterval["Ninetyd"] = "90d";
41
+ GetCityAnalyticsQueryParamInterval["All"] = "all";
42
+ })(GetCityAnalyticsQueryParamInterval || (exports.GetCityAnalyticsQueryParamInterval = GetCityAnalyticsQueryParamInterval = {}));
43
+ /**
44
+ * The country to retrieve analytics for.
45
+ */
46
+ var GetCityAnalyticsQueryParamCountry;
47
+ (function (GetCityAnalyticsQueryParamCountry) {
48
+ GetCityAnalyticsQueryParamCountry["Af"] = "AF";
49
+ GetCityAnalyticsQueryParamCountry["Al"] = "AL";
50
+ GetCityAnalyticsQueryParamCountry["Dz"] = "DZ";
51
+ GetCityAnalyticsQueryParamCountry["As"] = "AS";
52
+ GetCityAnalyticsQueryParamCountry["Ad"] = "AD";
53
+ GetCityAnalyticsQueryParamCountry["Ao"] = "AO";
54
+ GetCityAnalyticsQueryParamCountry["Ai"] = "AI";
55
+ GetCityAnalyticsQueryParamCountry["Aq"] = "AQ";
56
+ GetCityAnalyticsQueryParamCountry["Ag"] = "AG";
57
+ GetCityAnalyticsQueryParamCountry["Ar"] = "AR";
58
+ GetCityAnalyticsQueryParamCountry["Am"] = "AM";
59
+ GetCityAnalyticsQueryParamCountry["Aw"] = "AW";
60
+ GetCityAnalyticsQueryParamCountry["Au"] = "AU";
61
+ GetCityAnalyticsQueryParamCountry["At"] = "AT";
62
+ GetCityAnalyticsQueryParamCountry["Az"] = "AZ";
63
+ GetCityAnalyticsQueryParamCountry["Bs"] = "BS";
64
+ GetCityAnalyticsQueryParamCountry["Bh"] = "BH";
65
+ GetCityAnalyticsQueryParamCountry["Bd"] = "BD";
66
+ GetCityAnalyticsQueryParamCountry["Bb"] = "BB";
67
+ GetCityAnalyticsQueryParamCountry["By"] = "BY";
68
+ GetCityAnalyticsQueryParamCountry["Be"] = "BE";
69
+ GetCityAnalyticsQueryParamCountry["Bz"] = "BZ";
70
+ GetCityAnalyticsQueryParamCountry["Bj"] = "BJ";
71
+ GetCityAnalyticsQueryParamCountry["Bm"] = "BM";
72
+ GetCityAnalyticsQueryParamCountry["Bt"] = "BT";
73
+ GetCityAnalyticsQueryParamCountry["Bo"] = "BO";
74
+ GetCityAnalyticsQueryParamCountry["Ba"] = "BA";
75
+ GetCityAnalyticsQueryParamCountry["Bw"] = "BW";
76
+ GetCityAnalyticsQueryParamCountry["Bv"] = "BV";
77
+ GetCityAnalyticsQueryParamCountry["Br"] = "BR";
78
+ GetCityAnalyticsQueryParamCountry["Io"] = "IO";
79
+ GetCityAnalyticsQueryParamCountry["Bn"] = "BN";
80
+ GetCityAnalyticsQueryParamCountry["Bg"] = "BG";
81
+ GetCityAnalyticsQueryParamCountry["Bf"] = "BF";
82
+ GetCityAnalyticsQueryParamCountry["Bi"] = "BI";
83
+ GetCityAnalyticsQueryParamCountry["Kh"] = "KH";
84
+ GetCityAnalyticsQueryParamCountry["Cm"] = "CM";
85
+ GetCityAnalyticsQueryParamCountry["Ca"] = "CA";
86
+ GetCityAnalyticsQueryParamCountry["Cv"] = "CV";
87
+ GetCityAnalyticsQueryParamCountry["Ky"] = "KY";
88
+ GetCityAnalyticsQueryParamCountry["Cf"] = "CF";
89
+ GetCityAnalyticsQueryParamCountry["Td"] = "TD";
90
+ GetCityAnalyticsQueryParamCountry["Cl"] = "CL";
91
+ GetCityAnalyticsQueryParamCountry["Cn"] = "CN";
92
+ GetCityAnalyticsQueryParamCountry["Cx"] = "CX";
93
+ GetCityAnalyticsQueryParamCountry["Cc"] = "CC";
94
+ GetCityAnalyticsQueryParamCountry["Co"] = "CO";
95
+ GetCityAnalyticsQueryParamCountry["Km"] = "KM";
96
+ GetCityAnalyticsQueryParamCountry["Cg"] = "CG";
97
+ GetCityAnalyticsQueryParamCountry["Cd"] = "CD";
98
+ GetCityAnalyticsQueryParamCountry["Ck"] = "CK";
99
+ GetCityAnalyticsQueryParamCountry["Cr"] = "CR";
100
+ GetCityAnalyticsQueryParamCountry["Ci"] = "CI";
101
+ GetCityAnalyticsQueryParamCountry["Hr"] = "HR";
102
+ GetCityAnalyticsQueryParamCountry["Cu"] = "CU";
103
+ GetCityAnalyticsQueryParamCountry["Cy"] = "CY";
104
+ GetCityAnalyticsQueryParamCountry["Cz"] = "CZ";
105
+ GetCityAnalyticsQueryParamCountry["Dk"] = "DK";
106
+ GetCityAnalyticsQueryParamCountry["Dj"] = "DJ";
107
+ GetCityAnalyticsQueryParamCountry["Dm"] = "DM";
108
+ GetCityAnalyticsQueryParamCountry["Do"] = "DO";
109
+ GetCityAnalyticsQueryParamCountry["Ec"] = "EC";
110
+ GetCityAnalyticsQueryParamCountry["Eg"] = "EG";
111
+ GetCityAnalyticsQueryParamCountry["Sv"] = "SV";
112
+ GetCityAnalyticsQueryParamCountry["Gq"] = "GQ";
113
+ GetCityAnalyticsQueryParamCountry["Er"] = "ER";
114
+ GetCityAnalyticsQueryParamCountry["Ee"] = "EE";
115
+ GetCityAnalyticsQueryParamCountry["Et"] = "ET";
116
+ GetCityAnalyticsQueryParamCountry["Fk"] = "FK";
117
+ GetCityAnalyticsQueryParamCountry["Fo"] = "FO";
118
+ GetCityAnalyticsQueryParamCountry["Fj"] = "FJ";
119
+ GetCityAnalyticsQueryParamCountry["Fi"] = "FI";
120
+ GetCityAnalyticsQueryParamCountry["Fr"] = "FR";
121
+ GetCityAnalyticsQueryParamCountry["Gf"] = "GF";
122
+ GetCityAnalyticsQueryParamCountry["Pf"] = "PF";
123
+ GetCityAnalyticsQueryParamCountry["Tf"] = "TF";
124
+ GetCityAnalyticsQueryParamCountry["Ga"] = "GA";
125
+ GetCityAnalyticsQueryParamCountry["Gm"] = "GM";
126
+ GetCityAnalyticsQueryParamCountry["Ge"] = "GE";
127
+ GetCityAnalyticsQueryParamCountry["De"] = "DE";
128
+ GetCityAnalyticsQueryParamCountry["Gh"] = "GH";
129
+ GetCityAnalyticsQueryParamCountry["Gi"] = "GI";
130
+ GetCityAnalyticsQueryParamCountry["Gr"] = "GR";
131
+ GetCityAnalyticsQueryParamCountry["Gl"] = "GL";
132
+ GetCityAnalyticsQueryParamCountry["Gd"] = "GD";
133
+ GetCityAnalyticsQueryParamCountry["Gp"] = "GP";
134
+ GetCityAnalyticsQueryParamCountry["Gu"] = "GU";
135
+ GetCityAnalyticsQueryParamCountry["Gt"] = "GT";
136
+ GetCityAnalyticsQueryParamCountry["Gn"] = "GN";
137
+ GetCityAnalyticsQueryParamCountry["Gw"] = "GW";
138
+ GetCityAnalyticsQueryParamCountry["Gy"] = "GY";
139
+ GetCityAnalyticsQueryParamCountry["Ht"] = "HT";
140
+ GetCityAnalyticsQueryParamCountry["Hm"] = "HM";
141
+ GetCityAnalyticsQueryParamCountry["Va"] = "VA";
142
+ GetCityAnalyticsQueryParamCountry["Hn"] = "HN";
143
+ GetCityAnalyticsQueryParamCountry["Hk"] = "HK";
144
+ GetCityAnalyticsQueryParamCountry["Hu"] = "HU";
145
+ GetCityAnalyticsQueryParamCountry["Is"] = "IS";
146
+ GetCityAnalyticsQueryParamCountry["In"] = "IN";
147
+ GetCityAnalyticsQueryParamCountry["Id"] = "ID";
148
+ GetCityAnalyticsQueryParamCountry["Ir"] = "IR";
149
+ GetCityAnalyticsQueryParamCountry["Iq"] = "IQ";
150
+ GetCityAnalyticsQueryParamCountry["Ie"] = "IE";
151
+ GetCityAnalyticsQueryParamCountry["Il"] = "IL";
152
+ GetCityAnalyticsQueryParamCountry["It"] = "IT";
153
+ GetCityAnalyticsQueryParamCountry["Jm"] = "JM";
154
+ GetCityAnalyticsQueryParamCountry["Jp"] = "JP";
155
+ GetCityAnalyticsQueryParamCountry["Jo"] = "JO";
156
+ GetCityAnalyticsQueryParamCountry["Kz"] = "KZ";
157
+ GetCityAnalyticsQueryParamCountry["Ke"] = "KE";
158
+ GetCityAnalyticsQueryParamCountry["Ki"] = "KI";
159
+ GetCityAnalyticsQueryParamCountry["Kp"] = "KP";
160
+ GetCityAnalyticsQueryParamCountry["Kr"] = "KR";
161
+ GetCityAnalyticsQueryParamCountry["Kw"] = "KW";
162
+ GetCityAnalyticsQueryParamCountry["Kg"] = "KG";
163
+ GetCityAnalyticsQueryParamCountry["La"] = "LA";
164
+ GetCityAnalyticsQueryParamCountry["Lv"] = "LV";
165
+ GetCityAnalyticsQueryParamCountry["Lb"] = "LB";
166
+ GetCityAnalyticsQueryParamCountry["Ls"] = "LS";
167
+ GetCityAnalyticsQueryParamCountry["Lr"] = "LR";
168
+ GetCityAnalyticsQueryParamCountry["Ly"] = "LY";
169
+ GetCityAnalyticsQueryParamCountry["Li"] = "LI";
170
+ GetCityAnalyticsQueryParamCountry["Lt"] = "LT";
171
+ GetCityAnalyticsQueryParamCountry["Lu"] = "LU";
172
+ GetCityAnalyticsQueryParamCountry["Mo"] = "MO";
173
+ GetCityAnalyticsQueryParamCountry["Mg"] = "MG";
174
+ GetCityAnalyticsQueryParamCountry["Mw"] = "MW";
175
+ GetCityAnalyticsQueryParamCountry["My"] = "MY";
176
+ GetCityAnalyticsQueryParamCountry["Mv"] = "MV";
177
+ GetCityAnalyticsQueryParamCountry["Ml"] = "ML";
178
+ GetCityAnalyticsQueryParamCountry["Mt"] = "MT";
179
+ GetCityAnalyticsQueryParamCountry["Mh"] = "MH";
180
+ GetCityAnalyticsQueryParamCountry["Mq"] = "MQ";
181
+ GetCityAnalyticsQueryParamCountry["Mr"] = "MR";
182
+ GetCityAnalyticsQueryParamCountry["Mu"] = "MU";
183
+ GetCityAnalyticsQueryParamCountry["Yt"] = "YT";
184
+ GetCityAnalyticsQueryParamCountry["Mx"] = "MX";
185
+ GetCityAnalyticsQueryParamCountry["Fm"] = "FM";
186
+ GetCityAnalyticsQueryParamCountry["Md"] = "MD";
187
+ GetCityAnalyticsQueryParamCountry["Mc"] = "MC";
188
+ GetCityAnalyticsQueryParamCountry["Mn"] = "MN";
189
+ GetCityAnalyticsQueryParamCountry["Ms"] = "MS";
190
+ GetCityAnalyticsQueryParamCountry["Ma"] = "MA";
191
+ GetCityAnalyticsQueryParamCountry["Mz"] = "MZ";
192
+ GetCityAnalyticsQueryParamCountry["Mm"] = "MM";
193
+ GetCityAnalyticsQueryParamCountry["Na"] = "NA";
194
+ GetCityAnalyticsQueryParamCountry["Nr"] = "NR";
195
+ GetCityAnalyticsQueryParamCountry["Np"] = "NP";
196
+ GetCityAnalyticsQueryParamCountry["Nl"] = "NL";
197
+ GetCityAnalyticsQueryParamCountry["Nc"] = "NC";
198
+ GetCityAnalyticsQueryParamCountry["Nz"] = "NZ";
199
+ GetCityAnalyticsQueryParamCountry["Ni"] = "NI";
200
+ GetCityAnalyticsQueryParamCountry["Ne"] = "NE";
201
+ GetCityAnalyticsQueryParamCountry["Ng"] = "NG";
202
+ GetCityAnalyticsQueryParamCountry["Nu"] = "NU";
203
+ GetCityAnalyticsQueryParamCountry["Nf"] = "NF";
204
+ GetCityAnalyticsQueryParamCountry["Mk"] = "MK";
205
+ GetCityAnalyticsQueryParamCountry["Mp"] = "MP";
206
+ GetCityAnalyticsQueryParamCountry["No"] = "NO";
207
+ GetCityAnalyticsQueryParamCountry["Om"] = "OM";
208
+ GetCityAnalyticsQueryParamCountry["Pk"] = "PK";
209
+ GetCityAnalyticsQueryParamCountry["Pw"] = "PW";
210
+ GetCityAnalyticsQueryParamCountry["Ps"] = "PS";
211
+ GetCityAnalyticsQueryParamCountry["Pa"] = "PA";
212
+ GetCityAnalyticsQueryParamCountry["Pg"] = "PG";
213
+ GetCityAnalyticsQueryParamCountry["Py"] = "PY";
214
+ GetCityAnalyticsQueryParamCountry["Pe"] = "PE";
215
+ GetCityAnalyticsQueryParamCountry["Ph"] = "PH";
216
+ GetCityAnalyticsQueryParamCountry["Pn"] = "PN";
217
+ GetCityAnalyticsQueryParamCountry["Pl"] = "PL";
218
+ GetCityAnalyticsQueryParamCountry["Pt"] = "PT";
219
+ GetCityAnalyticsQueryParamCountry["Pr"] = "PR";
220
+ GetCityAnalyticsQueryParamCountry["Qa"] = "QA";
221
+ GetCityAnalyticsQueryParamCountry["Re"] = "RE";
222
+ GetCityAnalyticsQueryParamCountry["Ro"] = "RO";
223
+ GetCityAnalyticsQueryParamCountry["Ru"] = "RU";
224
+ GetCityAnalyticsQueryParamCountry["Rw"] = "RW";
225
+ GetCityAnalyticsQueryParamCountry["Sh"] = "SH";
226
+ GetCityAnalyticsQueryParamCountry["Kn"] = "KN";
227
+ GetCityAnalyticsQueryParamCountry["Lc"] = "LC";
228
+ GetCityAnalyticsQueryParamCountry["Pm"] = "PM";
229
+ GetCityAnalyticsQueryParamCountry["Vc"] = "VC";
230
+ GetCityAnalyticsQueryParamCountry["Ws"] = "WS";
231
+ GetCityAnalyticsQueryParamCountry["Sm"] = "SM";
232
+ GetCityAnalyticsQueryParamCountry["St"] = "ST";
233
+ GetCityAnalyticsQueryParamCountry["Sa"] = "SA";
234
+ GetCityAnalyticsQueryParamCountry["Sn"] = "SN";
235
+ GetCityAnalyticsQueryParamCountry["Sc"] = "SC";
236
+ GetCityAnalyticsQueryParamCountry["Sl"] = "SL";
237
+ GetCityAnalyticsQueryParamCountry["Sg"] = "SG";
238
+ GetCityAnalyticsQueryParamCountry["Sk"] = "SK";
239
+ GetCityAnalyticsQueryParamCountry["Si"] = "SI";
240
+ GetCityAnalyticsQueryParamCountry["Sb"] = "SB";
241
+ GetCityAnalyticsQueryParamCountry["So"] = "SO";
242
+ GetCityAnalyticsQueryParamCountry["Za"] = "ZA";
243
+ GetCityAnalyticsQueryParamCountry["Gs"] = "GS";
244
+ GetCityAnalyticsQueryParamCountry["Es"] = "ES";
245
+ GetCityAnalyticsQueryParamCountry["Lk"] = "LK";
246
+ GetCityAnalyticsQueryParamCountry["Sd"] = "SD";
247
+ GetCityAnalyticsQueryParamCountry["Sr"] = "SR";
248
+ GetCityAnalyticsQueryParamCountry["Sj"] = "SJ";
249
+ GetCityAnalyticsQueryParamCountry["Sz"] = "SZ";
250
+ GetCityAnalyticsQueryParamCountry["Se"] = "SE";
251
+ GetCityAnalyticsQueryParamCountry["Ch"] = "CH";
252
+ GetCityAnalyticsQueryParamCountry["Sy"] = "SY";
253
+ GetCityAnalyticsQueryParamCountry["Tw"] = "TW";
254
+ GetCityAnalyticsQueryParamCountry["Tj"] = "TJ";
255
+ GetCityAnalyticsQueryParamCountry["Tz"] = "TZ";
256
+ GetCityAnalyticsQueryParamCountry["Th"] = "TH";
257
+ GetCityAnalyticsQueryParamCountry["Tl"] = "TL";
258
+ GetCityAnalyticsQueryParamCountry["Tg"] = "TG";
259
+ GetCityAnalyticsQueryParamCountry["Tk"] = "TK";
260
+ GetCityAnalyticsQueryParamCountry["To"] = "TO";
261
+ GetCityAnalyticsQueryParamCountry["Tt"] = "TT";
262
+ GetCityAnalyticsQueryParamCountry["Tn"] = "TN";
263
+ GetCityAnalyticsQueryParamCountry["Tr"] = "TR";
264
+ GetCityAnalyticsQueryParamCountry["Tm"] = "TM";
265
+ GetCityAnalyticsQueryParamCountry["Tc"] = "TC";
266
+ GetCityAnalyticsQueryParamCountry["Tv"] = "TV";
267
+ GetCityAnalyticsQueryParamCountry["Ug"] = "UG";
268
+ GetCityAnalyticsQueryParamCountry["Ua"] = "UA";
269
+ GetCityAnalyticsQueryParamCountry["Ae"] = "AE";
270
+ GetCityAnalyticsQueryParamCountry["Gb"] = "GB";
271
+ GetCityAnalyticsQueryParamCountry["Us"] = "US";
272
+ GetCityAnalyticsQueryParamCountry["Um"] = "UM";
273
+ GetCityAnalyticsQueryParamCountry["Uy"] = "UY";
274
+ GetCityAnalyticsQueryParamCountry["Uz"] = "UZ";
275
+ GetCityAnalyticsQueryParamCountry["Vu"] = "VU";
276
+ GetCityAnalyticsQueryParamCountry["Ve"] = "VE";
277
+ GetCityAnalyticsQueryParamCountry["Vn"] = "VN";
278
+ GetCityAnalyticsQueryParamCountry["Vg"] = "VG";
279
+ GetCityAnalyticsQueryParamCountry["Vi"] = "VI";
280
+ GetCityAnalyticsQueryParamCountry["Wf"] = "WF";
281
+ GetCityAnalyticsQueryParamCountry["Eh"] = "EH";
282
+ GetCityAnalyticsQueryParamCountry["Ye"] = "YE";
283
+ GetCityAnalyticsQueryParamCountry["Zm"] = "ZM";
284
+ GetCityAnalyticsQueryParamCountry["Zw"] = "ZW";
285
+ GetCityAnalyticsQueryParamCountry["Ax"] = "AX";
286
+ GetCityAnalyticsQueryParamCountry["Bq"] = "BQ";
287
+ GetCityAnalyticsQueryParamCountry["Cw"] = "CW";
288
+ GetCityAnalyticsQueryParamCountry["Gg"] = "GG";
289
+ GetCityAnalyticsQueryParamCountry["Im"] = "IM";
290
+ GetCityAnalyticsQueryParamCountry["Je"] = "JE";
291
+ GetCityAnalyticsQueryParamCountry["Me"] = "ME";
292
+ GetCityAnalyticsQueryParamCountry["Bl"] = "BL";
293
+ GetCityAnalyticsQueryParamCountry["Mf"] = "MF";
294
+ GetCityAnalyticsQueryParamCountry["Rs"] = "RS";
295
+ GetCityAnalyticsQueryParamCountry["Sx"] = "SX";
296
+ GetCityAnalyticsQueryParamCountry["Ss"] = "SS";
297
+ GetCityAnalyticsQueryParamCountry["Xk"] = "XK";
298
+ })(GetCityAnalyticsQueryParamCountry || (exports.GetCityAnalyticsQueryParamCountry = GetCityAnalyticsQueryParamCountry = {}));
299
+ /**
300
+ * The 2-letter country code of the city: https://d.to/geo
301
+ */
302
+ var GetCityAnalyticsCountry;
303
+ (function (GetCityAnalyticsCountry) {
304
+ GetCityAnalyticsCountry["Af"] = "AF";
305
+ GetCityAnalyticsCountry["Al"] = "AL";
306
+ GetCityAnalyticsCountry["Dz"] = "DZ";
307
+ GetCityAnalyticsCountry["As"] = "AS";
308
+ GetCityAnalyticsCountry["Ad"] = "AD";
309
+ GetCityAnalyticsCountry["Ao"] = "AO";
310
+ GetCityAnalyticsCountry["Ai"] = "AI";
311
+ GetCityAnalyticsCountry["Aq"] = "AQ";
312
+ GetCityAnalyticsCountry["Ag"] = "AG";
313
+ GetCityAnalyticsCountry["Ar"] = "AR";
314
+ GetCityAnalyticsCountry["Am"] = "AM";
315
+ GetCityAnalyticsCountry["Aw"] = "AW";
316
+ GetCityAnalyticsCountry["Au"] = "AU";
317
+ GetCityAnalyticsCountry["At"] = "AT";
318
+ GetCityAnalyticsCountry["Az"] = "AZ";
319
+ GetCityAnalyticsCountry["Bs"] = "BS";
320
+ GetCityAnalyticsCountry["Bh"] = "BH";
321
+ GetCityAnalyticsCountry["Bd"] = "BD";
322
+ GetCityAnalyticsCountry["Bb"] = "BB";
323
+ GetCityAnalyticsCountry["By"] = "BY";
324
+ GetCityAnalyticsCountry["Be"] = "BE";
325
+ GetCityAnalyticsCountry["Bz"] = "BZ";
326
+ GetCityAnalyticsCountry["Bj"] = "BJ";
327
+ GetCityAnalyticsCountry["Bm"] = "BM";
328
+ GetCityAnalyticsCountry["Bt"] = "BT";
329
+ GetCityAnalyticsCountry["Bo"] = "BO";
330
+ GetCityAnalyticsCountry["Ba"] = "BA";
331
+ GetCityAnalyticsCountry["Bw"] = "BW";
332
+ GetCityAnalyticsCountry["Bv"] = "BV";
333
+ GetCityAnalyticsCountry["Br"] = "BR";
334
+ GetCityAnalyticsCountry["Io"] = "IO";
335
+ GetCityAnalyticsCountry["Bn"] = "BN";
336
+ GetCityAnalyticsCountry["Bg"] = "BG";
337
+ GetCityAnalyticsCountry["Bf"] = "BF";
338
+ GetCityAnalyticsCountry["Bi"] = "BI";
339
+ GetCityAnalyticsCountry["Kh"] = "KH";
340
+ GetCityAnalyticsCountry["Cm"] = "CM";
341
+ GetCityAnalyticsCountry["Ca"] = "CA";
342
+ GetCityAnalyticsCountry["Cv"] = "CV";
343
+ GetCityAnalyticsCountry["Ky"] = "KY";
344
+ GetCityAnalyticsCountry["Cf"] = "CF";
345
+ GetCityAnalyticsCountry["Td"] = "TD";
346
+ GetCityAnalyticsCountry["Cl"] = "CL";
347
+ GetCityAnalyticsCountry["Cn"] = "CN";
348
+ GetCityAnalyticsCountry["Cx"] = "CX";
349
+ GetCityAnalyticsCountry["Cc"] = "CC";
350
+ GetCityAnalyticsCountry["Co"] = "CO";
351
+ GetCityAnalyticsCountry["Km"] = "KM";
352
+ GetCityAnalyticsCountry["Cg"] = "CG";
353
+ GetCityAnalyticsCountry["Cd"] = "CD";
354
+ GetCityAnalyticsCountry["Ck"] = "CK";
355
+ GetCityAnalyticsCountry["Cr"] = "CR";
356
+ GetCityAnalyticsCountry["Ci"] = "CI";
357
+ GetCityAnalyticsCountry["Hr"] = "HR";
358
+ GetCityAnalyticsCountry["Cu"] = "CU";
359
+ GetCityAnalyticsCountry["Cy"] = "CY";
360
+ GetCityAnalyticsCountry["Cz"] = "CZ";
361
+ GetCityAnalyticsCountry["Dk"] = "DK";
362
+ GetCityAnalyticsCountry["Dj"] = "DJ";
363
+ GetCityAnalyticsCountry["Dm"] = "DM";
364
+ GetCityAnalyticsCountry["Do"] = "DO";
365
+ GetCityAnalyticsCountry["Ec"] = "EC";
366
+ GetCityAnalyticsCountry["Eg"] = "EG";
367
+ GetCityAnalyticsCountry["Sv"] = "SV";
368
+ GetCityAnalyticsCountry["Gq"] = "GQ";
369
+ GetCityAnalyticsCountry["Er"] = "ER";
370
+ GetCityAnalyticsCountry["Ee"] = "EE";
371
+ GetCityAnalyticsCountry["Et"] = "ET";
372
+ GetCityAnalyticsCountry["Fk"] = "FK";
373
+ GetCityAnalyticsCountry["Fo"] = "FO";
374
+ GetCityAnalyticsCountry["Fj"] = "FJ";
375
+ GetCityAnalyticsCountry["Fi"] = "FI";
376
+ GetCityAnalyticsCountry["Fr"] = "FR";
377
+ GetCityAnalyticsCountry["Gf"] = "GF";
378
+ GetCityAnalyticsCountry["Pf"] = "PF";
379
+ GetCityAnalyticsCountry["Tf"] = "TF";
380
+ GetCityAnalyticsCountry["Ga"] = "GA";
381
+ GetCityAnalyticsCountry["Gm"] = "GM";
382
+ GetCityAnalyticsCountry["Ge"] = "GE";
383
+ GetCityAnalyticsCountry["De"] = "DE";
384
+ GetCityAnalyticsCountry["Gh"] = "GH";
385
+ GetCityAnalyticsCountry["Gi"] = "GI";
386
+ GetCityAnalyticsCountry["Gr"] = "GR";
387
+ GetCityAnalyticsCountry["Gl"] = "GL";
388
+ GetCityAnalyticsCountry["Gd"] = "GD";
389
+ GetCityAnalyticsCountry["Gp"] = "GP";
390
+ GetCityAnalyticsCountry["Gu"] = "GU";
391
+ GetCityAnalyticsCountry["Gt"] = "GT";
392
+ GetCityAnalyticsCountry["Gn"] = "GN";
393
+ GetCityAnalyticsCountry["Gw"] = "GW";
394
+ GetCityAnalyticsCountry["Gy"] = "GY";
395
+ GetCityAnalyticsCountry["Ht"] = "HT";
396
+ GetCityAnalyticsCountry["Hm"] = "HM";
397
+ GetCityAnalyticsCountry["Va"] = "VA";
398
+ GetCityAnalyticsCountry["Hn"] = "HN";
399
+ GetCityAnalyticsCountry["Hk"] = "HK";
400
+ GetCityAnalyticsCountry["Hu"] = "HU";
401
+ GetCityAnalyticsCountry["Is"] = "IS";
402
+ GetCityAnalyticsCountry["In"] = "IN";
403
+ GetCityAnalyticsCountry["Id"] = "ID";
404
+ GetCityAnalyticsCountry["Ir"] = "IR";
405
+ GetCityAnalyticsCountry["Iq"] = "IQ";
406
+ GetCityAnalyticsCountry["Ie"] = "IE";
407
+ GetCityAnalyticsCountry["Il"] = "IL";
408
+ GetCityAnalyticsCountry["It"] = "IT";
409
+ GetCityAnalyticsCountry["Jm"] = "JM";
410
+ GetCityAnalyticsCountry["Jp"] = "JP";
411
+ GetCityAnalyticsCountry["Jo"] = "JO";
412
+ GetCityAnalyticsCountry["Kz"] = "KZ";
413
+ GetCityAnalyticsCountry["Ke"] = "KE";
414
+ GetCityAnalyticsCountry["Ki"] = "KI";
415
+ GetCityAnalyticsCountry["Kp"] = "KP";
416
+ GetCityAnalyticsCountry["Kr"] = "KR";
417
+ GetCityAnalyticsCountry["Kw"] = "KW";
418
+ GetCityAnalyticsCountry["Kg"] = "KG";
419
+ GetCityAnalyticsCountry["La"] = "LA";
420
+ GetCityAnalyticsCountry["Lv"] = "LV";
421
+ GetCityAnalyticsCountry["Lb"] = "LB";
422
+ GetCityAnalyticsCountry["Ls"] = "LS";
423
+ GetCityAnalyticsCountry["Lr"] = "LR";
424
+ GetCityAnalyticsCountry["Ly"] = "LY";
425
+ GetCityAnalyticsCountry["Li"] = "LI";
426
+ GetCityAnalyticsCountry["Lt"] = "LT";
427
+ GetCityAnalyticsCountry["Lu"] = "LU";
428
+ GetCityAnalyticsCountry["Mo"] = "MO";
429
+ GetCityAnalyticsCountry["Mg"] = "MG";
430
+ GetCityAnalyticsCountry["Mw"] = "MW";
431
+ GetCityAnalyticsCountry["My"] = "MY";
432
+ GetCityAnalyticsCountry["Mv"] = "MV";
433
+ GetCityAnalyticsCountry["Ml"] = "ML";
434
+ GetCityAnalyticsCountry["Mt"] = "MT";
435
+ GetCityAnalyticsCountry["Mh"] = "MH";
436
+ GetCityAnalyticsCountry["Mq"] = "MQ";
437
+ GetCityAnalyticsCountry["Mr"] = "MR";
438
+ GetCityAnalyticsCountry["Mu"] = "MU";
439
+ GetCityAnalyticsCountry["Yt"] = "YT";
440
+ GetCityAnalyticsCountry["Mx"] = "MX";
441
+ GetCityAnalyticsCountry["Fm"] = "FM";
442
+ GetCityAnalyticsCountry["Md"] = "MD";
443
+ GetCityAnalyticsCountry["Mc"] = "MC";
444
+ GetCityAnalyticsCountry["Mn"] = "MN";
445
+ GetCityAnalyticsCountry["Ms"] = "MS";
446
+ GetCityAnalyticsCountry["Ma"] = "MA";
447
+ GetCityAnalyticsCountry["Mz"] = "MZ";
448
+ GetCityAnalyticsCountry["Mm"] = "MM";
449
+ GetCityAnalyticsCountry["Na"] = "NA";
450
+ GetCityAnalyticsCountry["Nr"] = "NR";
451
+ GetCityAnalyticsCountry["Np"] = "NP";
452
+ GetCityAnalyticsCountry["Nl"] = "NL";
453
+ GetCityAnalyticsCountry["Nc"] = "NC";
454
+ GetCityAnalyticsCountry["Nz"] = "NZ";
455
+ GetCityAnalyticsCountry["Ni"] = "NI";
456
+ GetCityAnalyticsCountry["Ne"] = "NE";
457
+ GetCityAnalyticsCountry["Ng"] = "NG";
458
+ GetCityAnalyticsCountry["Nu"] = "NU";
459
+ GetCityAnalyticsCountry["Nf"] = "NF";
460
+ GetCityAnalyticsCountry["Mk"] = "MK";
461
+ GetCityAnalyticsCountry["Mp"] = "MP";
462
+ GetCityAnalyticsCountry["No"] = "NO";
463
+ GetCityAnalyticsCountry["Om"] = "OM";
464
+ GetCityAnalyticsCountry["Pk"] = "PK";
465
+ GetCityAnalyticsCountry["Pw"] = "PW";
466
+ GetCityAnalyticsCountry["Ps"] = "PS";
467
+ GetCityAnalyticsCountry["Pa"] = "PA";
468
+ GetCityAnalyticsCountry["Pg"] = "PG";
469
+ GetCityAnalyticsCountry["Py"] = "PY";
470
+ GetCityAnalyticsCountry["Pe"] = "PE";
471
+ GetCityAnalyticsCountry["Ph"] = "PH";
472
+ GetCityAnalyticsCountry["Pn"] = "PN";
473
+ GetCityAnalyticsCountry["Pl"] = "PL";
474
+ GetCityAnalyticsCountry["Pt"] = "PT";
475
+ GetCityAnalyticsCountry["Pr"] = "PR";
476
+ GetCityAnalyticsCountry["Qa"] = "QA";
477
+ GetCityAnalyticsCountry["Re"] = "RE";
478
+ GetCityAnalyticsCountry["Ro"] = "RO";
479
+ GetCityAnalyticsCountry["Ru"] = "RU";
480
+ GetCityAnalyticsCountry["Rw"] = "RW";
481
+ GetCityAnalyticsCountry["Sh"] = "SH";
482
+ GetCityAnalyticsCountry["Kn"] = "KN";
483
+ GetCityAnalyticsCountry["Lc"] = "LC";
484
+ GetCityAnalyticsCountry["Pm"] = "PM";
485
+ GetCityAnalyticsCountry["Vc"] = "VC";
486
+ GetCityAnalyticsCountry["Ws"] = "WS";
487
+ GetCityAnalyticsCountry["Sm"] = "SM";
488
+ GetCityAnalyticsCountry["St"] = "ST";
489
+ GetCityAnalyticsCountry["Sa"] = "SA";
490
+ GetCityAnalyticsCountry["Sn"] = "SN";
491
+ GetCityAnalyticsCountry["Sc"] = "SC";
492
+ GetCityAnalyticsCountry["Sl"] = "SL";
493
+ GetCityAnalyticsCountry["Sg"] = "SG";
494
+ GetCityAnalyticsCountry["Sk"] = "SK";
495
+ GetCityAnalyticsCountry["Si"] = "SI";
496
+ GetCityAnalyticsCountry["Sb"] = "SB";
497
+ GetCityAnalyticsCountry["So"] = "SO";
498
+ GetCityAnalyticsCountry["Za"] = "ZA";
499
+ GetCityAnalyticsCountry["Gs"] = "GS";
500
+ GetCityAnalyticsCountry["Es"] = "ES";
501
+ GetCityAnalyticsCountry["Lk"] = "LK";
502
+ GetCityAnalyticsCountry["Sd"] = "SD";
503
+ GetCityAnalyticsCountry["Sr"] = "SR";
504
+ GetCityAnalyticsCountry["Sj"] = "SJ";
505
+ GetCityAnalyticsCountry["Sz"] = "SZ";
506
+ GetCityAnalyticsCountry["Se"] = "SE";
507
+ GetCityAnalyticsCountry["Ch"] = "CH";
508
+ GetCityAnalyticsCountry["Sy"] = "SY";
509
+ GetCityAnalyticsCountry["Tw"] = "TW";
510
+ GetCityAnalyticsCountry["Tj"] = "TJ";
511
+ GetCityAnalyticsCountry["Tz"] = "TZ";
512
+ GetCityAnalyticsCountry["Th"] = "TH";
513
+ GetCityAnalyticsCountry["Tl"] = "TL";
514
+ GetCityAnalyticsCountry["Tg"] = "TG";
515
+ GetCityAnalyticsCountry["Tk"] = "TK";
516
+ GetCityAnalyticsCountry["To"] = "TO";
517
+ GetCityAnalyticsCountry["Tt"] = "TT";
518
+ GetCityAnalyticsCountry["Tn"] = "TN";
519
+ GetCityAnalyticsCountry["Tr"] = "TR";
520
+ GetCityAnalyticsCountry["Tm"] = "TM";
521
+ GetCityAnalyticsCountry["Tc"] = "TC";
522
+ GetCityAnalyticsCountry["Tv"] = "TV";
523
+ GetCityAnalyticsCountry["Ug"] = "UG";
524
+ GetCityAnalyticsCountry["Ua"] = "UA";
525
+ GetCityAnalyticsCountry["Ae"] = "AE";
526
+ GetCityAnalyticsCountry["Gb"] = "GB";
527
+ GetCityAnalyticsCountry["Us"] = "US";
528
+ GetCityAnalyticsCountry["Um"] = "UM";
529
+ GetCityAnalyticsCountry["Uy"] = "UY";
530
+ GetCityAnalyticsCountry["Uz"] = "UZ";
531
+ GetCityAnalyticsCountry["Vu"] = "VU";
532
+ GetCityAnalyticsCountry["Ve"] = "VE";
533
+ GetCityAnalyticsCountry["Vn"] = "VN";
534
+ GetCityAnalyticsCountry["Vg"] = "VG";
535
+ GetCityAnalyticsCountry["Vi"] = "VI";
536
+ GetCityAnalyticsCountry["Wf"] = "WF";
537
+ GetCityAnalyticsCountry["Eh"] = "EH";
538
+ GetCityAnalyticsCountry["Ye"] = "YE";
539
+ GetCityAnalyticsCountry["Zm"] = "ZM";
540
+ GetCityAnalyticsCountry["Zw"] = "ZW";
541
+ GetCityAnalyticsCountry["Ax"] = "AX";
542
+ GetCityAnalyticsCountry["Bq"] = "BQ";
543
+ GetCityAnalyticsCountry["Cw"] = "CW";
544
+ GetCityAnalyticsCountry["Gg"] = "GG";
545
+ GetCityAnalyticsCountry["Im"] = "IM";
546
+ GetCityAnalyticsCountry["Je"] = "JE";
547
+ GetCityAnalyticsCountry["Me"] = "ME";
548
+ GetCityAnalyticsCountry["Bl"] = "BL";
549
+ GetCityAnalyticsCountry["Mf"] = "MF";
550
+ GetCityAnalyticsCountry["Rs"] = "RS";
551
+ GetCityAnalyticsCountry["Sx"] = "SX";
552
+ GetCityAnalyticsCountry["Ss"] = "SS";
553
+ GetCityAnalyticsCountry["Xk"] = "XK";
554
+ })(GetCityAnalyticsCountry || (exports.GetCityAnalyticsCountry = GetCityAnalyticsCountry = {}));
555
+ /** @internal */
556
+ exports.GetCityAnalyticsQueryParamInterval$ = z.nativeEnum(GetCityAnalyticsQueryParamInterval);
557
+ /** @internal */
558
+ exports.GetCityAnalyticsQueryParamCountry$ = z.nativeEnum(GetCityAnalyticsQueryParamCountry);
559
+ /** @internal */
560
+ var GetCityAnalyticsRequest$;
561
+ (function (GetCityAnalyticsRequest$) {
562
+ GetCityAnalyticsRequest$.inboundSchema = z
563
+ .object({
564
+ domain: z.string().optional(),
565
+ key: z.string().optional(),
566
+ interval: exports.GetCityAnalyticsQueryParamInterval$.optional(),
567
+ country: exports.GetCityAnalyticsQueryParamCountry$.optional(),
568
+ city: z.string().optional(),
569
+ device: z.string().optional(),
570
+ browser: z.string().optional(),
571
+ os: z.string().optional(),
572
+ referer: z.string().optional(),
573
+ url: z.string().optional(),
574
+ excludeRoot: z.boolean().optional(),
575
+ tagId: z.string().optional(),
576
+ })
577
+ .transform((v) => {
578
+ return {
579
+ ...(v.domain === undefined ? null : { domain: v.domain }),
580
+ ...(v.key === undefined ? null : { key: v.key }),
581
+ ...(v.interval === undefined ? null : { interval: v.interval }),
582
+ ...(v.country === undefined ? null : { country: v.country }),
583
+ ...(v.city === undefined ? null : { city: v.city }),
584
+ ...(v.device === undefined ? null : { device: v.device }),
585
+ ...(v.browser === undefined ? null : { browser: v.browser }),
586
+ ...(v.os === undefined ? null : { os: v.os }),
587
+ ...(v.referer === undefined ? null : { referer: v.referer }),
588
+ ...(v.url === undefined ? null : { url: v.url }),
589
+ ...(v.excludeRoot === undefined ? null : { excludeRoot: v.excludeRoot }),
590
+ ...(v.tagId === undefined ? null : { tagId: v.tagId }),
591
+ };
592
+ });
593
+ GetCityAnalyticsRequest$.outboundSchema = z
594
+ .object({
595
+ domain: z.string().optional(),
596
+ key: z.string().optional(),
597
+ interval: exports.GetCityAnalyticsQueryParamInterval$.optional(),
598
+ country: exports.GetCityAnalyticsQueryParamCountry$.optional(),
599
+ city: z.string().optional(),
600
+ device: z.string().optional(),
601
+ browser: z.string().optional(),
602
+ os: z.string().optional(),
603
+ referer: z.string().optional(),
604
+ url: z.string().optional(),
605
+ excludeRoot: z.boolean().optional(),
606
+ tagId: z.string().optional(),
607
+ })
608
+ .transform((v) => {
609
+ return {
610
+ ...(v.domain === undefined ? null : { domain: v.domain }),
611
+ ...(v.key === undefined ? null : { key: v.key }),
612
+ ...(v.interval === undefined ? null : { interval: v.interval }),
613
+ ...(v.country === undefined ? null : { country: v.country }),
614
+ ...(v.city === undefined ? null : { city: v.city }),
615
+ ...(v.device === undefined ? null : { device: v.device }),
616
+ ...(v.browser === undefined ? null : { browser: v.browser }),
617
+ ...(v.os === undefined ? null : { os: v.os }),
618
+ ...(v.referer === undefined ? null : { referer: v.referer }),
619
+ ...(v.url === undefined ? null : { url: v.url }),
620
+ ...(v.excludeRoot === undefined ? null : { excludeRoot: v.excludeRoot }),
621
+ ...(v.tagId === undefined ? null : { tagId: v.tagId }),
622
+ };
623
+ });
624
+ })(GetCityAnalyticsRequest$ || (exports.GetCityAnalyticsRequest$ = GetCityAnalyticsRequest$ = {}));
625
+ /** @internal */
626
+ exports.GetCityAnalyticsCountry$ = z.nativeEnum(GetCityAnalyticsCountry);
627
+ /** @internal */
628
+ var GetCityAnalyticsResponseBody$;
629
+ (function (GetCityAnalyticsResponseBody$) {
630
+ GetCityAnalyticsResponseBody$.inboundSchema = z
631
+ .object({
632
+ city: z.string(),
633
+ country: exports.GetCityAnalyticsCountry$,
634
+ clicks: z.number(),
635
+ })
636
+ .transform((v) => {
637
+ return {
638
+ city: v.city,
639
+ country: v.country,
640
+ clicks: v.clicks,
641
+ };
642
+ });
643
+ GetCityAnalyticsResponseBody$.outboundSchema = z
644
+ .object({
645
+ city: z.string(),
646
+ country: exports.GetCityAnalyticsCountry$,
647
+ clicks: z.number(),
648
+ })
649
+ .transform((v) => {
650
+ return {
651
+ city: v.city,
652
+ country: v.country,
653
+ clicks: v.clicks,
654
+ };
655
+ });
656
+ })(GetCityAnalyticsResponseBody$ || (exports.GetCityAnalyticsResponseBody$ = GetCityAnalyticsResponseBody$ = {}));
657
+ //# sourceMappingURL=getcityanalytics.js.map