dub 0.29.1 → 0.29.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 (317) hide show
  1. package/README.md +23 -10
  2. package/docs/sdks/analytics/README.md +59 -93
  3. package/docs/sdks/clicks/README.md +579 -0
  4. package/docs/sdks/links/README.md +2 -2
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/models/components/domainschema.d.ts +14 -16
  8. package/models/components/domainschema.d.ts.map +1 -1
  9. package/models/components/domainschema.js +7 -3
  10. package/models/components/domainschema.js.map +1 -1
  11. package/models/components/linkschema.d.ts +7 -291
  12. package/models/components/linkschema.d.ts.map +1 -1
  13. package/models/components/linkschema.js +4 -0
  14. package/models/components/linkschema.js.map +1 -1
  15. package/models/components/security.d.ts +1 -4
  16. package/models/components/security.d.ts.map +1 -1
  17. package/models/components/security.js.map +1 -1
  18. package/models/components/tagschema.d.ts +24 -9
  19. package/models/components/tagschema.d.ts.map +1 -1
  20. package/models/components/tagschema.js +7 -3
  21. package/models/components/tagschema.js.map +1 -1
  22. package/models/components/workspaceschema.d.ts +38 -36
  23. package/models/components/workspaceschema.d.ts.map +1 -1
  24. package/models/components/workspaceschema.js +14 -6
  25. package/models/components/workspaceschema.js.map +1 -1
  26. package/models/errors/badrequest.d.ts +13 -13
  27. package/models/errors/badrequest.d.ts.map +1 -1
  28. package/models/errors/badrequest.js +7 -3
  29. package/models/errors/badrequest.js.map +1 -1
  30. package/models/errors/conflict.d.ts +13 -13
  31. package/models/errors/conflict.d.ts.map +1 -1
  32. package/models/errors/conflict.js +7 -3
  33. package/models/errors/conflict.js.map +1 -1
  34. package/models/errors/forbidden.d.ts +13 -13
  35. package/models/errors/forbidden.d.ts.map +1 -1
  36. package/models/errors/forbidden.js +7 -3
  37. package/models/errors/forbidden.js.map +1 -1
  38. package/models/errors/internalservererror.d.ts +13 -13
  39. package/models/errors/internalservererror.d.ts.map +1 -1
  40. package/models/errors/internalservererror.js +7 -3
  41. package/models/errors/internalservererror.js.map +1 -1
  42. package/models/errors/inviteexpired.d.ts +13 -13
  43. package/models/errors/inviteexpired.d.ts.map +1 -1
  44. package/models/errors/inviteexpired.js +7 -3
  45. package/models/errors/inviteexpired.js.map +1 -1
  46. package/models/errors/notfound.d.ts +13 -13
  47. package/models/errors/notfound.d.ts.map +1 -1
  48. package/models/errors/notfound.js +7 -3
  49. package/models/errors/notfound.js.map +1 -1
  50. package/models/errors/ratelimitexceeded.d.ts +13 -13
  51. package/models/errors/ratelimitexceeded.d.ts.map +1 -1
  52. package/models/errors/ratelimitexceeded.js +7 -3
  53. package/models/errors/ratelimitexceeded.js.map +1 -1
  54. package/models/errors/unauthorized.d.ts +13 -13
  55. package/models/errors/unauthorized.d.ts.map +1 -1
  56. package/models/errors/unauthorized.js +7 -3
  57. package/models/errors/unauthorized.js.map +1 -1
  58. package/models/errors/unprocessableentity.d.ts +13 -13
  59. package/models/errors/unprocessableentity.d.ts.map +1 -1
  60. package/models/errors/unprocessableentity.js +7 -3
  61. package/models/errors/unprocessableentity.js.map +1 -1
  62. package/models/operations/adddomain.d.ts +14 -12
  63. package/models/operations/adddomain.d.ts.map +1 -1
  64. package/models/operations/adddomain.js +7 -3
  65. package/models/operations/adddomain.js.map +1 -1
  66. package/models/operations/bulkcreatelinks.d.ts +4 -282
  67. package/models/operations/bulkcreatelinks.d.ts.map +1 -1
  68. package/models/operations/bulkcreatelinks.js.map +1 -1
  69. package/models/operations/createlink.d.ts +4 -282
  70. package/models/operations/createlink.d.ts.map +1 -1
  71. package/models/operations/createlink.js.map +1 -1
  72. package/models/operations/createtag.d.ts +24 -8
  73. package/models/operations/createtag.d.ts.map +1 -1
  74. package/models/operations/createtag.js +7 -3
  75. package/models/operations/createtag.js.map +1 -1
  76. package/models/operations/createworkspace.d.ts +1 -6
  77. package/models/operations/createworkspace.d.ts.map +1 -1
  78. package/models/operations/createworkspace.js.map +1 -1
  79. package/models/operations/deletedomain.d.ts +2 -8
  80. package/models/operations/deletedomain.d.ts.map +1 -1
  81. package/models/operations/deletedomain.js.map +1 -1
  82. package/models/operations/deletelink.d.ts +2 -8
  83. package/models/operations/deletelink.d.ts.map +1 -1
  84. package/models/operations/deletelink.js.map +1 -1
  85. package/models/operations/getbrowsersbyclicks.d.ts +922 -0
  86. package/models/operations/getbrowsersbyclicks.d.ts.map +1 -0
  87. package/models/operations/getbrowsersbyclicks.js +423 -0
  88. package/models/operations/getbrowsersbyclicks.js.map +1 -0
  89. package/models/operations/getbrowsersbyclicksdeprecated.d.ts +922 -0
  90. package/models/operations/getbrowsersbyclicksdeprecated.d.ts.map +1 -0
  91. package/models/operations/getbrowsersbyclicksdeprecated.js +423 -0
  92. package/models/operations/getbrowsersbyclicksdeprecated.js.map +1 -0
  93. package/models/operations/getcitiesbyclicks.d.ts +1693 -0
  94. package/models/operations/getcitiesbyclicks.d.ts.map +1 -0
  95. package/models/operations/{getcityanalytics.js → getcitiesbyclicks.js} +39 -27
  96. package/models/operations/getcitiesbyclicks.js.map +1 -0
  97. package/models/operations/getcitiesbyclicksdeprecated.d.ts +1693 -0
  98. package/models/operations/getcitiesbyclicksdeprecated.d.ts.map +1 -0
  99. package/models/operations/getcitiesbyclicksdeprecated.js +688 -0
  100. package/models/operations/{getcountryanalytics.js.map → getcitiesbyclicksdeprecated.js.map} +1 -1
  101. package/models/operations/getclickscount.d.ts +903 -0
  102. package/models/operations/getclickscount.d.ts.map +1 -0
  103. package/models/operations/{getclicksanalytics.js → getclickscount.js} +24 -16
  104. package/models/operations/getclickscount.js.map +1 -0
  105. package/models/operations/getclickscountdeprecated.d.ts +903 -0
  106. package/models/operations/getclickscountdeprecated.d.ts.map +1 -0
  107. package/models/operations/{getbrowseranalytics.js → getclickscountdeprecated.js} +26 -44
  108. package/models/operations/getclickscountdeprecated.js.map +1 -0
  109. package/models/operations/getcountriesbyclicks.d.ts +1688 -0
  110. package/models/operations/getcountriesbyclicks.d.ts.map +1 -0
  111. package/models/operations/{getcountryanalytics.js → getcountriesbyclicks.js} +39 -27
  112. package/models/operations/getcountriesbyclicks.js.map +1 -0
  113. package/models/operations/getcountriesbyclicksdeprecated.d.ts +1688 -0
  114. package/models/operations/getcountriesbyclicksdeprecated.d.ts.map +1 -0
  115. package/models/operations/getcountriesbyclicksdeprecated.js +684 -0
  116. package/models/operations/{getcityanalytics.js.map → getcountriesbyclicksdeprecated.js.map} +1 -1
  117. package/models/operations/getdevicesbyclicks.d.ts +922 -0
  118. package/models/operations/getdevicesbyclicks.d.ts.map +1 -0
  119. package/models/operations/{getdeviceanalytics.js → getdevicesbyclicks.js} +31 -23
  120. package/models/operations/getdevicesbyclicks.js.map +1 -0
  121. package/models/operations/getdevicesbyclicksdeprecated.d.ts +922 -0
  122. package/models/operations/getdevicesbyclicksdeprecated.d.ts.map +1 -0
  123. package/models/operations/getdevicesbyclicksdeprecated.js +423 -0
  124. package/models/operations/getdevicesbyclicksdeprecated.js.map +1 -0
  125. package/models/operations/getlinkinfo.d.ts +1 -7
  126. package/models/operations/getlinkinfo.d.ts.map +1 -1
  127. package/models/operations/getlinkinfo.js.map +1 -1
  128. package/models/operations/getlinks.d.ts +18 -20
  129. package/models/operations/getlinks.d.ts.map +1 -1
  130. package/models/operations/getlinks.js +7 -3
  131. package/models/operations/getlinks.js.map +1 -1
  132. package/models/operations/getlinkscount.d.ts +25 -24
  133. package/models/operations/getlinkscount.d.ts.map +1 -1
  134. package/models/operations/getlinkscount.js +20 -6
  135. package/models/operations/getlinkscount.js.map +1 -1
  136. package/models/operations/getmetatags.d.ts +2 -10
  137. package/models/operations/getmetatags.d.ts.map +1 -1
  138. package/models/operations/getmetatags.js.map +1 -1
  139. package/models/operations/getosbyclicks.d.ts +922 -0
  140. package/models/operations/getosbyclicks.d.ts.map +1 -0
  141. package/models/operations/{getosanalytics.js → getosbyclicks.js} +31 -23
  142. package/models/operations/getosbyclicks.js.map +1 -0
  143. package/models/operations/getosbyclicksdeprecated.d.ts +922 -0
  144. package/models/operations/getosbyclicksdeprecated.d.ts.map +1 -0
  145. package/models/operations/getosbyclicksdeprecated.js +423 -0
  146. package/models/operations/getosbyclicksdeprecated.js.map +1 -0
  147. package/models/operations/getqrcode.d.ts +18 -12
  148. package/models/operations/getqrcode.d.ts.map +1 -1
  149. package/models/operations/getqrcode.js +7 -3
  150. package/models/operations/getqrcode.js.map +1 -1
  151. package/models/operations/getreferersbyclicks.d.ts +922 -0
  152. package/models/operations/getreferersbyclicks.d.ts.map +1 -0
  153. package/models/operations/{getrefereranalytics.js → getreferersbyclicks.js} +31 -23
  154. package/models/operations/getreferersbyclicks.js.map +1 -0
  155. package/models/operations/getreferersbyclicksdeprecated.d.ts +922 -0
  156. package/models/operations/getreferersbyclicksdeprecated.d.ts.map +1 -0
  157. package/models/operations/getreferersbyclicksdeprecated.js +423 -0
  158. package/models/operations/getreferersbyclicksdeprecated.js.map +1 -0
  159. package/models/operations/gettags.d.ts +1 -2
  160. package/models/operations/gettags.d.ts.map +1 -1
  161. package/models/operations/gettags.js.map +1 -1
  162. package/models/operations/gettimeseriesbyclicks.d.ts +922 -0
  163. package/models/operations/gettimeseriesbyclicks.d.ts.map +1 -0
  164. package/models/operations/{gettimeseriesanalytics.js → gettimeseriesbyclicks.js} +24 -16
  165. package/models/operations/{gettoplinks.js.map → gettimeseriesbyclicks.js.map} +1 -1
  166. package/models/operations/gettimeseriesbyclicksdeprecated.d.ts +922 -0
  167. package/models/operations/gettimeseriesbyclicksdeprecated.d.ts.map +1 -0
  168. package/models/operations/gettimeseriesbyclicksdeprecated.js +423 -0
  169. package/models/operations/gettimeseriesbyclicksdeprecated.js.map +1 -0
  170. package/models/operations/gettoplinksbyclicks.d.ts +922 -0
  171. package/models/operations/gettoplinksbyclicks.d.ts.map +1 -0
  172. package/models/operations/{gettoplinks.js → gettoplinksbyclicks.js} +31 -23
  173. package/models/operations/gettoplinksbyclicks.js.map +1 -0
  174. package/models/operations/gettoplinksbyclicksdeprecated.d.ts +922 -0
  175. package/models/operations/gettoplinksbyclicksdeprecated.d.ts.map +1 -0
  176. package/models/operations/gettoplinksbyclicksdeprecated.js +423 -0
  177. package/models/operations/gettoplinksbyclicksdeprecated.js.map +1 -0
  178. package/models/operations/gettopurlsbyclicks.d.ts +922 -0
  179. package/models/operations/gettopurlsbyclicks.d.ts.map +1 -0
  180. package/models/operations/{gettopurls.js → gettopurlsbyclicks.js} +31 -23
  181. package/models/operations/{getclicksanalytics.js.map → gettopurlsbyclicks.js.map} +1 -1
  182. package/models/operations/gettopurlsbyclicksdeprecated.d.ts +922 -0
  183. package/models/operations/gettopurlsbyclicksdeprecated.d.ts.map +1 -0
  184. package/models/operations/gettopurlsbyclicksdeprecated.js +423 -0
  185. package/models/operations/gettopurlsbyclicksdeprecated.js.map +1 -0
  186. package/models/operations/getworkspace.d.ts +1 -4
  187. package/models/operations/getworkspace.d.ts.map +1 -1
  188. package/models/operations/getworkspace.js.map +1 -1
  189. package/models/operations/index.d.ts +20 -10
  190. package/models/operations/index.d.ts.map +1 -1
  191. package/models/operations/index.js +20 -10
  192. package/models/operations/index.js.map +1 -1
  193. package/models/operations/listdomains.d.ts +1 -2
  194. package/models/operations/listdomains.d.ts.map +1 -1
  195. package/models/operations/listdomains.js.map +1 -1
  196. package/models/operations/setprimarydomain.d.ts +1 -4
  197. package/models/operations/setprimarydomain.d.ts.map +1 -1
  198. package/models/operations/setprimarydomain.js.map +1 -1
  199. package/models/operations/transferdomain.d.ts +2 -9
  200. package/models/operations/transferdomain.d.ts.map +1 -1
  201. package/models/operations/transferdomain.js.map +1 -1
  202. package/models/operations/updatedomain.d.ts +15 -17
  203. package/models/operations/updatedomain.d.ts.map +1 -1
  204. package/models/operations/updatedomain.js +7 -3
  205. package/models/operations/updatedomain.js.map +1 -1
  206. package/models/operations/updatelink.d.ts +5 -287
  207. package/models/operations/updatelink.d.ts.map +1 -1
  208. package/models/operations/updatelink.js.map +1 -1
  209. package/models/operations/upsertlink.d.ts +4 -282
  210. package/models/operations/upsertlink.d.ts.map +1 -1
  211. package/models/operations/upsertlink.js.map +1 -1
  212. package/package.json +1 -1
  213. package/sdk/analytics.d.ts +39 -25
  214. package/sdk/analytics.d.ts.map +1 -1
  215. package/sdk/analytics.js +70 -248
  216. package/sdk/analytics.js.map +1 -1
  217. package/sdk/clicks.d.ts +87 -0
  218. package/sdk/clicks.d.ts.map +1 -0
  219. package/sdk/clicks.js +2355 -0
  220. package/sdk/clicks.js.map +1 -0
  221. package/sdk/links.d.ts +2 -2
  222. package/sdk/links.js +2 -2
  223. package/src/lib/config.ts +3 -3
  224. package/src/models/components/domainschema.ts +10 -19
  225. package/src/models/components/linkschema.ts +11 -293
  226. package/src/models/components/security.ts +1 -5
  227. package/src/models/components/tagschema.ts +10 -12
  228. package/src/models/components/workspaceschema.ts +20 -43
  229. package/src/models/errors/badrequest.ts +11 -17
  230. package/src/models/errors/conflict.ts +11 -17
  231. package/src/models/errors/forbidden.ts +11 -17
  232. package/src/models/errors/internalservererror.ts +11 -19
  233. package/src/models/errors/inviteexpired.ts +11 -18
  234. package/src/models/errors/notfound.ts +11 -17
  235. package/src/models/errors/ratelimitexceeded.ts +11 -19
  236. package/src/models/errors/unauthorized.ts +11 -18
  237. package/src/models/errors/unprocessableentity.ts +11 -19
  238. package/src/models/operations/adddomain.ts +10 -15
  239. package/src/models/operations/bulkcreatelinks.ts +8 -288
  240. package/src/models/operations/createlink.ts +8 -288
  241. package/src/models/operations/createtag.ts +10 -11
  242. package/src/models/operations/createworkspace.ts +1 -7
  243. package/src/models/operations/deletedomain.ts +2 -10
  244. package/src/models/operations/deletelink.ts +2 -10
  245. package/src/models/operations/{getbrowseranalytics.ts → getbrowsersbyclicks.ts} +39 -59
  246. package/src/models/operations/getbrowsersbyclicksdeprecated.ts +538 -0
  247. package/src/models/operations/getcitiesbyclicks.ts +797 -0
  248. package/src/models/operations/{getcityanalytics.ts → getcitiesbyclicksdeprecated.ts} +67 -69
  249. package/src/models/operations/{getclicksanalytics.ts → getclickscount.ts} +27 -40
  250. package/src/models/operations/getclickscountdeprecated.ts +483 -0
  251. package/src/models/operations/{getcountryanalytics.ts → getcountriesbyclicks.ts} +49 -68
  252. package/src/models/operations/getcountriesbyclicksdeprecated.ts +807 -0
  253. package/src/models/operations/{getdeviceanalytics.ts → getdevicesbyclicks.ts} +39 -59
  254. package/src/models/operations/getdevicesbyclicksdeprecated.ts +537 -0
  255. package/src/models/operations/getlinkinfo.ts +1 -8
  256. package/src/models/operations/getlinks.ts +16 -27
  257. package/src/models/operations/getlinkscount.ts +29 -31
  258. package/src/models/operations/getmetatags.ts +2 -12
  259. package/src/models/operations/{getosanalytics.ts → getosbyclicks.ts} +35 -59
  260. package/src/models/operations/{gettimeseriesanalytics.ts → getosbyclicksdeprecated.ts} +55 -63
  261. package/src/models/operations/getqrcode.ts +10 -15
  262. package/src/models/operations/{getrefereranalytics.ts → getreferersbyclicks.ts} +39 -59
  263. package/src/models/operations/getreferersbyclicksdeprecated.ts +538 -0
  264. package/src/models/operations/gettags.ts +1 -3
  265. package/src/models/operations/gettimeseriesbyclicks.ts +517 -0
  266. package/src/models/operations/gettimeseriesbyclicksdeprecated.ts +539 -0
  267. package/src/models/operations/gettoplinksbyclicks.ts +526 -0
  268. package/src/models/operations/{gettoplinks.ts → gettoplinksbyclicksdeprecated.ts} +56 -57
  269. package/src/models/operations/gettopurlsbyclicks.ts +522 -0
  270. package/src/models/operations/{gettopurls.ts → gettopurlsbyclicksdeprecated.ts} +55 -57
  271. package/src/models/operations/getworkspace.ts +1 -5
  272. package/src/models/operations/index.ts +20 -10
  273. package/src/models/operations/listdomains.ts +1 -3
  274. package/src/models/operations/setprimarydomain.ts +1 -5
  275. package/src/models/operations/transferdomain.ts +2 -11
  276. package/src/models/operations/updatedomain.ts +11 -22
  277. package/src/models/operations/updatelink.ts +9 -294
  278. package/src/models/operations/upsertlink.ts +8 -288
  279. package/src/sdk/analytics.ts +97 -317
  280. package/src/sdk/clicks.ts +2906 -0
  281. package/src/sdk/links.ts +2 -2
  282. package/src/types/enums.ts +16 -0
  283. package/src/types/index.ts +2 -0
  284. package/types/enums.d.ts +12 -0
  285. package/types/enums.d.ts.map +1 -0
  286. package/types/enums.js +11 -0
  287. package/types/enums.js.map +1 -0
  288. package/types/index.d.ts +2 -0
  289. package/types/index.d.ts.map +1 -1
  290. package/types/index.js +3 -1
  291. package/types/index.js.map +1 -1
  292. package/models/operations/getbrowseranalytics.d.ts +0 -418
  293. package/models/operations/getbrowseranalytics.d.ts.map +0 -1
  294. package/models/operations/getbrowseranalytics.js.map +0 -1
  295. package/models/operations/getcityanalytics.d.ts +0 -685
  296. package/models/operations/getcityanalytics.d.ts.map +0 -1
  297. package/models/operations/getclicksanalytics.d.ts +0 -395
  298. package/models/operations/getclicksanalytics.d.ts.map +0 -1
  299. package/models/operations/getcountryanalytics.d.ts +0 -679
  300. package/models/operations/getcountryanalytics.d.ts.map +0 -1
  301. package/models/operations/getdeviceanalytics.d.ts +0 -418
  302. package/models/operations/getdeviceanalytics.d.ts.map +0 -1
  303. package/models/operations/getdeviceanalytics.js.map +0 -1
  304. package/models/operations/getosanalytics.d.ts +0 -418
  305. package/models/operations/getosanalytics.d.ts.map +0 -1
  306. package/models/operations/getosanalytics.js.map +0 -1
  307. package/models/operations/getrefereranalytics.d.ts +0 -418
  308. package/models/operations/getrefereranalytics.d.ts.map +0 -1
  309. package/models/operations/getrefereranalytics.js.map +0 -1
  310. package/models/operations/gettimeseriesanalytics.d.ts +0 -418
  311. package/models/operations/gettimeseriesanalytics.d.ts.map +0 -1
  312. package/models/operations/gettimeseriesanalytics.js.map +0 -1
  313. package/models/operations/gettoplinks.d.ts +0 -418
  314. package/models/operations/gettoplinks.d.ts.map +0 -1
  315. package/models/operations/gettopurls.d.ts +0 -418
  316. package/models/operations/gettopurls.d.ts.map +0 -1
  317. package/models/operations/gettopurls.js.map +0 -1
@@ -365,13 +365,12 @@ export type RequestBody = {
365
365
 
366
366
  /** @internal */
367
367
  export namespace BulkCreateLinksTagIds$ {
368
- export type Inbound = string | Array<string>;
369
-
370
- export type Outbound = string | Array<string>;
371
- export const inboundSchema: z.ZodType<BulkCreateLinksTagIds, z.ZodTypeDef, Inbound> = z.union([
368
+ export const inboundSchema: z.ZodType<BulkCreateLinksTagIds, z.ZodTypeDef, unknown> = z.union([
372
369
  z.string(),
373
370
  z.array(z.string()),
374
371
  ]);
372
+
373
+ export type Outbound = string | Array<string>;
375
374
  export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, BulkCreateLinksTagIds> = z.union(
376
375
  [z.string(), z.array(z.string())]
377
376
  );
@@ -379,272 +378,18 @@ export namespace BulkCreateLinksTagIds$ {
379
378
 
380
379
  /** @internal */
381
380
  export namespace BulkCreateLinksTagNames$ {
382
- export type Inbound = string | Array<string>;
383
-
384
- export type Outbound = string | Array<string>;
385
- export const inboundSchema: z.ZodType<BulkCreateLinksTagNames, z.ZodTypeDef, Inbound> = z.union(
381
+ export const inboundSchema: z.ZodType<BulkCreateLinksTagNames, z.ZodTypeDef, unknown> = z.union(
386
382
  [z.string(), z.array(z.string())]
387
383
  );
384
+
385
+ export type Outbound = string | Array<string>;
388
386
  export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, BulkCreateLinksTagNames> =
389
387
  z.union([z.string(), z.array(z.string())]);
390
388
  }
391
389
 
392
390
  /** @internal */
393
391
  export namespace BulkCreateLinksGeo$ {
394
- export type Inbound = {
395
- AF?: string | undefined;
396
- AL?: string | undefined;
397
- DZ?: string | undefined;
398
- AS?: string | undefined;
399
- AD?: string | undefined;
400
- AO?: string | undefined;
401
- AI?: string | undefined;
402
- AQ?: string | undefined;
403
- AG?: string | undefined;
404
- AR?: string | undefined;
405
- AM?: string | undefined;
406
- AW?: string | undefined;
407
- AU?: string | undefined;
408
- AT?: string | undefined;
409
- AZ?: string | undefined;
410
- BS?: string | undefined;
411
- BH?: string | undefined;
412
- BD?: string | undefined;
413
- BB?: string | undefined;
414
- BY?: string | undefined;
415
- BE?: string | undefined;
416
- BZ?: string | undefined;
417
- BJ?: string | undefined;
418
- BM?: string | undefined;
419
- BT?: string | undefined;
420
- BO?: string | undefined;
421
- BA?: string | undefined;
422
- BW?: string | undefined;
423
- BV?: string | undefined;
424
- BR?: string | undefined;
425
- IO?: string | undefined;
426
- BN?: string | undefined;
427
- BG?: string | undefined;
428
- BF?: string | undefined;
429
- BI?: string | undefined;
430
- KH?: string | undefined;
431
- CM?: string | undefined;
432
- CA?: string | undefined;
433
- CV?: string | undefined;
434
- KY?: string | undefined;
435
- CF?: string | undefined;
436
- TD?: string | undefined;
437
- CL?: string | undefined;
438
- CN?: string | undefined;
439
- CX?: string | undefined;
440
- CC?: string | undefined;
441
- CO?: string | undefined;
442
- KM?: string | undefined;
443
- CG?: string | undefined;
444
- CD?: string | undefined;
445
- CK?: string | undefined;
446
- CR?: string | undefined;
447
- CI?: string | undefined;
448
- HR?: string | undefined;
449
- CU?: string | undefined;
450
- CY?: string | undefined;
451
- CZ?: string | undefined;
452
- DK?: string | undefined;
453
- DJ?: string | undefined;
454
- DM?: string | undefined;
455
- DO?: string | undefined;
456
- EC?: string | undefined;
457
- EG?: string | undefined;
458
- SV?: string | undefined;
459
- GQ?: string | undefined;
460
- ER?: string | undefined;
461
- EE?: string | undefined;
462
- ET?: string | undefined;
463
- FK?: string | undefined;
464
- FO?: string | undefined;
465
- FJ?: string | undefined;
466
- FI?: string | undefined;
467
- FR?: string | undefined;
468
- GF?: string | undefined;
469
- PF?: string | undefined;
470
- TF?: string | undefined;
471
- GA?: string | undefined;
472
- GM?: string | undefined;
473
- GE?: string | undefined;
474
- DE?: string | undefined;
475
- GH?: string | undefined;
476
- GI?: string | undefined;
477
- GR?: string | undefined;
478
- GL?: string | undefined;
479
- GD?: string | undefined;
480
- GP?: string | undefined;
481
- GU?: string | undefined;
482
- GT?: string | undefined;
483
- GN?: string | undefined;
484
- GW?: string | undefined;
485
- GY?: string | undefined;
486
- HT?: string | undefined;
487
- HM?: string | undefined;
488
- VA?: string | undefined;
489
- HN?: string | undefined;
490
- HK?: string | undefined;
491
- HU?: string | undefined;
492
- IS?: string | undefined;
493
- IN?: string | undefined;
494
- ID?: string | undefined;
495
- IR?: string | undefined;
496
- IQ?: string | undefined;
497
- IE?: string | undefined;
498
- IL?: string | undefined;
499
- IT?: string | undefined;
500
- JM?: string | undefined;
501
- JP?: string | undefined;
502
- JO?: string | undefined;
503
- KZ?: string | undefined;
504
- KE?: string | undefined;
505
- KI?: string | undefined;
506
- KP?: string | undefined;
507
- KR?: string | undefined;
508
- KW?: string | undefined;
509
- KG?: string | undefined;
510
- LA?: string | undefined;
511
- LV?: string | undefined;
512
- LB?: string | undefined;
513
- LS?: string | undefined;
514
- LR?: string | undefined;
515
- LY?: string | undefined;
516
- LI?: string | undefined;
517
- LT?: string | undefined;
518
- LU?: string | undefined;
519
- MO?: string | undefined;
520
- MG?: string | undefined;
521
- MW?: string | undefined;
522
- MY?: string | undefined;
523
- MV?: string | undefined;
524
- ML?: string | undefined;
525
- MT?: string | undefined;
526
- MH?: string | undefined;
527
- MQ?: string | undefined;
528
- MR?: string | undefined;
529
- MU?: string | undefined;
530
- YT?: string | undefined;
531
- MX?: string | undefined;
532
- FM?: string | undefined;
533
- MD?: string | undefined;
534
- MC?: string | undefined;
535
- MN?: string | undefined;
536
- MS?: string | undefined;
537
- MA?: string | undefined;
538
- MZ?: string | undefined;
539
- MM?: string | undefined;
540
- NA?: string | undefined;
541
- NR?: string | undefined;
542
- NP?: string | undefined;
543
- NL?: string | undefined;
544
- NC?: string | undefined;
545
- NZ?: string | undefined;
546
- NI?: string | undefined;
547
- NE?: string | undefined;
548
- NG?: string | undefined;
549
- NU?: string | undefined;
550
- NF?: string | undefined;
551
- MK?: string | undefined;
552
- MP?: string | undefined;
553
- NO?: string | undefined;
554
- OM?: string | undefined;
555
- PK?: string | undefined;
556
- PW?: string | undefined;
557
- PS?: string | undefined;
558
- PA?: string | undefined;
559
- PG?: string | undefined;
560
- PY?: string | undefined;
561
- PE?: string | undefined;
562
- PH?: string | undefined;
563
- PN?: string | undefined;
564
- PL?: string | undefined;
565
- PT?: string | undefined;
566
- PR?: string | undefined;
567
- QA?: string | undefined;
568
- RE?: string | undefined;
569
- RO?: string | undefined;
570
- RU?: string | undefined;
571
- RW?: string | undefined;
572
- SH?: string | undefined;
573
- KN?: string | undefined;
574
- LC?: string | undefined;
575
- PM?: string | undefined;
576
- VC?: string | undefined;
577
- WS?: string | undefined;
578
- SM?: string | undefined;
579
- ST?: string | undefined;
580
- SA?: string | undefined;
581
- SN?: string | undefined;
582
- SC?: string | undefined;
583
- SL?: string | undefined;
584
- SG?: string | undefined;
585
- SK?: string | undefined;
586
- SI?: string | undefined;
587
- SB?: string | undefined;
588
- SO?: string | undefined;
589
- ZA?: string | undefined;
590
- GS?: string | undefined;
591
- ES?: string | undefined;
592
- LK?: string | undefined;
593
- SD?: string | undefined;
594
- SR?: string | undefined;
595
- SJ?: string | undefined;
596
- SZ?: string | undefined;
597
- SE?: string | undefined;
598
- CH?: string | undefined;
599
- SY?: string | undefined;
600
- TW?: string | undefined;
601
- TJ?: string | undefined;
602
- TZ?: string | undefined;
603
- TH?: string | undefined;
604
- TL?: string | undefined;
605
- TG?: string | undefined;
606
- TK?: string | undefined;
607
- TO?: string | undefined;
608
- TT?: string | undefined;
609
- TN?: string | undefined;
610
- TR?: string | undefined;
611
- TM?: string | undefined;
612
- TC?: string | undefined;
613
- TV?: string | undefined;
614
- UG?: string | undefined;
615
- UA?: string | undefined;
616
- AE?: string | undefined;
617
- GB?: string | undefined;
618
- US?: string | undefined;
619
- UM?: string | undefined;
620
- UY?: string | undefined;
621
- UZ?: string | undefined;
622
- VU?: string | undefined;
623
- VE?: string | undefined;
624
- VN?: string | undefined;
625
- VG?: string | undefined;
626
- VI?: string | undefined;
627
- WF?: string | undefined;
628
- EH?: string | undefined;
629
- YE?: string | undefined;
630
- ZM?: string | undefined;
631
- ZW?: string | undefined;
632
- AX?: string | undefined;
633
- BQ?: string | undefined;
634
- CW?: string | undefined;
635
- GG?: string | undefined;
636
- IM?: string | undefined;
637
- JE?: string | undefined;
638
- ME?: string | undefined;
639
- BL?: string | undefined;
640
- MF?: string | undefined;
641
- RS?: string | undefined;
642
- SX?: string | undefined;
643
- SS?: string | undefined;
644
- XK?: string | undefined;
645
- };
646
-
647
- export const inboundSchema: z.ZodType<BulkCreateLinksGeo, z.ZodTypeDef, Inbound> = z
392
+ export const inboundSchema: z.ZodType<BulkCreateLinksGeo, z.ZodTypeDef, unknown> = z
648
393
  .object({
649
394
  AF: z.string().optional(),
650
395
  AL: z.string().optional(),
@@ -1916,32 +1661,7 @@ export namespace BulkCreateLinksGeo$ {
1916
1661
 
1917
1662
  /** @internal */
1918
1663
  export namespace RequestBody$ {
1919
- export type Inbound = {
1920
- url: string;
1921
- domain?: string | undefined;
1922
- key?: string | undefined;
1923
- externalId?: string | null | undefined;
1924
- prefix?: string | undefined;
1925
- archived?: boolean | undefined;
1926
- publicStats?: boolean | undefined;
1927
- tagId?: string | null | undefined;
1928
- tagIds?: string | Array<string> | undefined;
1929
- tagNames?: string | Array<string> | undefined;
1930
- comments?: string | null | undefined;
1931
- expiresAt?: string | null | undefined;
1932
- expiredUrl?: string | null | undefined;
1933
- password?: string | null | undefined;
1934
- proxy?: boolean | undefined;
1935
- title?: string | null | undefined;
1936
- description?: string | null | undefined;
1937
- image?: string | null | undefined;
1938
- rewrite?: boolean | undefined;
1939
- ios?: string | null | undefined;
1940
- android?: string | null | undefined;
1941
- geo?: BulkCreateLinksGeo$.Inbound | null | undefined;
1942
- };
1943
-
1944
- export const inboundSchema: z.ZodType<RequestBody, z.ZodTypeDef, Inbound> = z
1664
+ export const inboundSchema: z.ZodType<RequestBody, z.ZodTypeDef, unknown> = z
1945
1665
  .object({
1946
1666
  url: z.string(),
1947
1667
  domain: z.string().optional(),
@@ -365,13 +365,12 @@ export type CreateLinkRequestBody = {
365
365
 
366
366
  /** @internal */
367
367
  export namespace TagIds$ {
368
- export type Inbound = string | Array<string>;
369
-
370
- export type Outbound = string | Array<string>;
371
- export const inboundSchema: z.ZodType<TagIds, z.ZodTypeDef, Inbound> = z.union([
368
+ export const inboundSchema: z.ZodType<TagIds, z.ZodTypeDef, unknown> = z.union([
372
369
  z.string(),
373
370
  z.array(z.string()),
374
371
  ]);
372
+
373
+ export type Outbound = string | Array<string>;
375
374
  export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, TagIds> = z.union([
376
375
  z.string(),
377
376
  z.array(z.string()),
@@ -380,13 +379,12 @@ export namespace TagIds$ {
380
379
 
381
380
  /** @internal */
382
381
  export namespace TagNames$ {
383
- export type Inbound = string | Array<string>;
384
-
385
- export type Outbound = string | Array<string>;
386
- export const inboundSchema: z.ZodType<TagNames, z.ZodTypeDef, Inbound> = z.union([
382
+ export const inboundSchema: z.ZodType<TagNames, z.ZodTypeDef, unknown> = z.union([
387
383
  z.string(),
388
384
  z.array(z.string()),
389
385
  ]);
386
+
387
+ export type Outbound = string | Array<string>;
390
388
  export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, TagNames> = z.union([
391
389
  z.string(),
392
390
  z.array(z.string()),
@@ -395,260 +393,7 @@ export namespace TagNames$ {
395
393
 
396
394
  /** @internal */
397
395
  export namespace Geo$ {
398
- export type Inbound = {
399
- AF?: string | undefined;
400
- AL?: string | undefined;
401
- DZ?: string | undefined;
402
- AS?: string | undefined;
403
- AD?: string | undefined;
404
- AO?: string | undefined;
405
- AI?: string | undefined;
406
- AQ?: string | undefined;
407
- AG?: string | undefined;
408
- AR?: string | undefined;
409
- AM?: string | undefined;
410
- AW?: string | undefined;
411
- AU?: string | undefined;
412
- AT?: string | undefined;
413
- AZ?: string | undefined;
414
- BS?: string | undefined;
415
- BH?: string | undefined;
416
- BD?: string | undefined;
417
- BB?: string | undefined;
418
- BY?: string | undefined;
419
- BE?: string | undefined;
420
- BZ?: string | undefined;
421
- BJ?: string | undefined;
422
- BM?: string | undefined;
423
- BT?: string | undefined;
424
- BO?: string | undefined;
425
- BA?: string | undefined;
426
- BW?: string | undefined;
427
- BV?: string | undefined;
428
- BR?: string | undefined;
429
- IO?: string | undefined;
430
- BN?: string | undefined;
431
- BG?: string | undefined;
432
- BF?: string | undefined;
433
- BI?: string | undefined;
434
- KH?: string | undefined;
435
- CM?: string | undefined;
436
- CA?: string | undefined;
437
- CV?: string | undefined;
438
- KY?: string | undefined;
439
- CF?: string | undefined;
440
- TD?: string | undefined;
441
- CL?: string | undefined;
442
- CN?: string | undefined;
443
- CX?: string | undefined;
444
- CC?: string | undefined;
445
- CO?: string | undefined;
446
- KM?: string | undefined;
447
- CG?: string | undefined;
448
- CD?: string | undefined;
449
- CK?: string | undefined;
450
- CR?: string | undefined;
451
- CI?: string | undefined;
452
- HR?: string | undefined;
453
- CU?: string | undefined;
454
- CY?: string | undefined;
455
- CZ?: string | undefined;
456
- DK?: string | undefined;
457
- DJ?: string | undefined;
458
- DM?: string | undefined;
459
- DO?: string | undefined;
460
- EC?: string | undefined;
461
- EG?: string | undefined;
462
- SV?: string | undefined;
463
- GQ?: string | undefined;
464
- ER?: string | undefined;
465
- EE?: string | undefined;
466
- ET?: string | undefined;
467
- FK?: string | undefined;
468
- FO?: string | undefined;
469
- FJ?: string | undefined;
470
- FI?: string | undefined;
471
- FR?: string | undefined;
472
- GF?: string | undefined;
473
- PF?: string | undefined;
474
- TF?: string | undefined;
475
- GA?: string | undefined;
476
- GM?: string | undefined;
477
- GE?: string | undefined;
478
- DE?: string | undefined;
479
- GH?: string | undefined;
480
- GI?: string | undefined;
481
- GR?: string | undefined;
482
- GL?: string | undefined;
483
- GD?: string | undefined;
484
- GP?: string | undefined;
485
- GU?: string | undefined;
486
- GT?: string | undefined;
487
- GN?: string | undefined;
488
- GW?: string | undefined;
489
- GY?: string | undefined;
490
- HT?: string | undefined;
491
- HM?: string | undefined;
492
- VA?: string | undefined;
493
- HN?: string | undefined;
494
- HK?: string | undefined;
495
- HU?: string | undefined;
496
- IS?: string | undefined;
497
- IN?: string | undefined;
498
- ID?: string | undefined;
499
- IR?: string | undefined;
500
- IQ?: string | undefined;
501
- IE?: string | undefined;
502
- IL?: string | undefined;
503
- IT?: string | undefined;
504
- JM?: string | undefined;
505
- JP?: string | undefined;
506
- JO?: string | undefined;
507
- KZ?: string | undefined;
508
- KE?: string | undefined;
509
- KI?: string | undefined;
510
- KP?: string | undefined;
511
- KR?: string | undefined;
512
- KW?: string | undefined;
513
- KG?: string | undefined;
514
- LA?: string | undefined;
515
- LV?: string | undefined;
516
- LB?: string | undefined;
517
- LS?: string | undefined;
518
- LR?: string | undefined;
519
- LY?: string | undefined;
520
- LI?: string | undefined;
521
- LT?: string | undefined;
522
- LU?: string | undefined;
523
- MO?: string | undefined;
524
- MG?: string | undefined;
525
- MW?: string | undefined;
526
- MY?: string | undefined;
527
- MV?: string | undefined;
528
- ML?: string | undefined;
529
- MT?: string | undefined;
530
- MH?: string | undefined;
531
- MQ?: string | undefined;
532
- MR?: string | undefined;
533
- MU?: string | undefined;
534
- YT?: string | undefined;
535
- MX?: string | undefined;
536
- FM?: string | undefined;
537
- MD?: string | undefined;
538
- MC?: string | undefined;
539
- MN?: string | undefined;
540
- MS?: string | undefined;
541
- MA?: string | undefined;
542
- MZ?: string | undefined;
543
- MM?: string | undefined;
544
- NA?: string | undefined;
545
- NR?: string | undefined;
546
- NP?: string | undefined;
547
- NL?: string | undefined;
548
- NC?: string | undefined;
549
- NZ?: string | undefined;
550
- NI?: string | undefined;
551
- NE?: string | undefined;
552
- NG?: string | undefined;
553
- NU?: string | undefined;
554
- NF?: string | undefined;
555
- MK?: string | undefined;
556
- MP?: string | undefined;
557
- NO?: string | undefined;
558
- OM?: string | undefined;
559
- PK?: string | undefined;
560
- PW?: string | undefined;
561
- PS?: string | undefined;
562
- PA?: string | undefined;
563
- PG?: string | undefined;
564
- PY?: string | undefined;
565
- PE?: string | undefined;
566
- PH?: string | undefined;
567
- PN?: string | undefined;
568
- PL?: string | undefined;
569
- PT?: string | undefined;
570
- PR?: string | undefined;
571
- QA?: string | undefined;
572
- RE?: string | undefined;
573
- RO?: string | undefined;
574
- RU?: string | undefined;
575
- RW?: string | undefined;
576
- SH?: string | undefined;
577
- KN?: string | undefined;
578
- LC?: string | undefined;
579
- PM?: string | undefined;
580
- VC?: string | undefined;
581
- WS?: string | undefined;
582
- SM?: string | undefined;
583
- ST?: string | undefined;
584
- SA?: string | undefined;
585
- SN?: string | undefined;
586
- SC?: string | undefined;
587
- SL?: string | undefined;
588
- SG?: string | undefined;
589
- SK?: string | undefined;
590
- SI?: string | undefined;
591
- SB?: string | undefined;
592
- SO?: string | undefined;
593
- ZA?: string | undefined;
594
- GS?: string | undefined;
595
- ES?: string | undefined;
596
- LK?: string | undefined;
597
- SD?: string | undefined;
598
- SR?: string | undefined;
599
- SJ?: string | undefined;
600
- SZ?: string | undefined;
601
- SE?: string | undefined;
602
- CH?: string | undefined;
603
- SY?: string | undefined;
604
- TW?: string | undefined;
605
- TJ?: string | undefined;
606
- TZ?: string | undefined;
607
- TH?: string | undefined;
608
- TL?: string | undefined;
609
- TG?: string | undefined;
610
- TK?: string | undefined;
611
- TO?: string | undefined;
612
- TT?: string | undefined;
613
- TN?: string | undefined;
614
- TR?: string | undefined;
615
- TM?: string | undefined;
616
- TC?: string | undefined;
617
- TV?: string | undefined;
618
- UG?: string | undefined;
619
- UA?: string | undefined;
620
- AE?: string | undefined;
621
- GB?: string | undefined;
622
- US?: string | undefined;
623
- UM?: string | undefined;
624
- UY?: string | undefined;
625
- UZ?: string | undefined;
626
- VU?: string | undefined;
627
- VE?: string | undefined;
628
- VN?: string | undefined;
629
- VG?: string | undefined;
630
- VI?: string | undefined;
631
- WF?: string | undefined;
632
- EH?: string | undefined;
633
- YE?: string | undefined;
634
- ZM?: string | undefined;
635
- ZW?: string | undefined;
636
- AX?: string | undefined;
637
- BQ?: string | undefined;
638
- CW?: string | undefined;
639
- GG?: string | undefined;
640
- IM?: string | undefined;
641
- JE?: string | undefined;
642
- ME?: string | undefined;
643
- BL?: string | undefined;
644
- MF?: string | undefined;
645
- RS?: string | undefined;
646
- SX?: string | undefined;
647
- SS?: string | undefined;
648
- XK?: string | undefined;
649
- };
650
-
651
- export const inboundSchema: z.ZodType<Geo, z.ZodTypeDef, Inbound> = z
396
+ export const inboundSchema: z.ZodType<Geo, z.ZodTypeDef, unknown> = z
652
397
  .object({
653
398
  AF: z.string().optional(),
654
399
  AL: z.string().optional(),
@@ -1920,32 +1665,7 @@ export namespace Geo$ {
1920
1665
 
1921
1666
  /** @internal */
1922
1667
  export namespace CreateLinkRequestBody$ {
1923
- export type Inbound = {
1924
- url: string;
1925
- domain?: string | undefined;
1926
- key?: string | undefined;
1927
- externalId?: string | null | undefined;
1928
- prefix?: string | undefined;
1929
- archived?: boolean | undefined;
1930
- publicStats?: boolean | undefined;
1931
- tagId?: string | null | undefined;
1932
- tagIds?: string | Array<string> | undefined;
1933
- tagNames?: string | Array<string> | undefined;
1934
- comments?: string | null | undefined;
1935
- expiresAt?: string | null | undefined;
1936
- expiredUrl?: string | null | undefined;
1937
- password?: string | null | undefined;
1938
- proxy?: boolean | undefined;
1939
- title?: string | null | undefined;
1940
- description?: string | null | undefined;
1941
- image?: string | null | undefined;
1942
- rewrite?: boolean | undefined;
1943
- ios?: string | null | undefined;
1944
- android?: string | null | undefined;
1945
- geo?: Geo$.Inbound | null | undefined;
1946
- };
1947
-
1948
- export const inboundSchema: z.ZodType<CreateLinkRequestBody, z.ZodTypeDef, Inbound> = z
1668
+ export const inboundSchema: z.ZodType<CreateLinkRequestBody, z.ZodTypeDef, unknown> = z
1949
1669
  .object({
1950
1670
  url: z.string(),
1951
1671
  domain: z.string().optional(),