dub 0.31.0 → 0.31.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 (399) hide show
  1. package/README.md +3 -3
  2. package/docs/sdks/links/README.md +7 -9
  3. package/docs/sdks/tags/README.md +3 -4
  4. package/docs/sdks/workspaces/README.md +3 -4
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/lib/config.js.map +1 -1
  8. package/lib/sdks.d.ts +1 -0
  9. package/lib/sdks.d.ts.map +1 -1
  10. package/lib/sdks.js +16 -2
  11. package/lib/sdks.js.map +1 -1
  12. package/models/components/clicksbrowsers.d.ts +17 -5
  13. package/models/components/clicksbrowsers.d.ts.map +1 -1
  14. package/models/components/clicksbrowsers.js +18 -9
  15. package/models/components/clicksbrowsers.js.map +1 -1
  16. package/models/components/clickscities.d.ts +531 -8
  17. package/models/components/clickscities.d.ts.map +1 -1
  18. package/models/components/clickscities.js +31 -13
  19. package/models/components/clickscities.js.map +1 -1
  20. package/models/components/clickscount.d.ts +16 -4
  21. package/models/components/clickscount.d.ts.map +1 -1
  22. package/models/components/clickscount.js +16 -7
  23. package/models/components/clickscount.js.map +1 -1
  24. package/models/components/clickscountries.d.ts +530 -7
  25. package/models/components/clickscountries.d.ts.map +1 -1
  26. package/models/components/clickscountries.js +29 -11
  27. package/models/components/clickscountries.js.map +1 -1
  28. package/models/components/clicksdevices.d.ts +17 -5
  29. package/models/components/clicksdevices.d.ts.map +1 -1
  30. package/models/components/clicksdevices.js +18 -9
  31. package/models/components/clicksdevices.js.map +1 -1
  32. package/models/components/clicksos.d.ts +17 -5
  33. package/models/components/clicksos.d.ts.map +1 -1
  34. package/models/components/clicksos.js +18 -9
  35. package/models/components/clicksos.js.map +1 -1
  36. package/models/components/clicksreferers.d.ts +17 -5
  37. package/models/components/clicksreferers.d.ts.map +1 -1
  38. package/models/components/clicksreferers.js +18 -9
  39. package/models/components/clicksreferers.js.map +1 -1
  40. package/models/components/clickstimeseries.d.ts +17 -5
  41. package/models/components/clickstimeseries.d.ts.map +1 -1
  42. package/models/components/clickstimeseries.js +18 -9
  43. package/models/components/clickstimeseries.js.map +1 -1
  44. package/models/components/clickstoplinks.d.ts +23 -11
  45. package/models/components/clickstoplinks.d.ts.map +1 -1
  46. package/models/components/clickstoplinks.js +30 -21
  47. package/models/components/clickstoplinks.js.map +1 -1
  48. package/models/components/clickstopurls.d.ts +17 -5
  49. package/models/components/clickstopurls.d.ts.map +1 -1
  50. package/models/components/clickstopurls.js +18 -9
  51. package/models/components/clickstopurls.js.map +1 -1
  52. package/models/components/countrycode.d.ts +513 -2
  53. package/models/components/countrycode.d.ts.map +1 -1
  54. package/models/components/countrycode.js +12 -3
  55. package/models/components/countrycode.js.map +1 -1
  56. package/models/components/domainschema.d.ts +24 -12
  57. package/models/components/domainschema.d.ts.map +1 -1
  58. package/models/components/domainschema.js +32 -23
  59. package/models/components/domainschema.js.map +1 -1
  60. package/models/components/leadsbrowsers.d.ts +17 -5
  61. package/models/components/leadsbrowsers.d.ts.map +1 -1
  62. package/models/components/leadsbrowsers.js +18 -9
  63. package/models/components/leadsbrowsers.js.map +1 -1
  64. package/models/components/leadscities.d.ts +531 -8
  65. package/models/components/leadscities.d.ts.map +1 -1
  66. package/models/components/leadscities.js +31 -13
  67. package/models/components/leadscities.js.map +1 -1
  68. package/models/components/leadscount.d.ts +16 -4
  69. package/models/components/leadscount.d.ts.map +1 -1
  70. package/models/components/leadscount.js +16 -7
  71. package/models/components/leadscount.js.map +1 -1
  72. package/models/components/leadscountries.d.ts +530 -7
  73. package/models/components/leadscountries.d.ts.map +1 -1
  74. package/models/components/leadscountries.js +29 -11
  75. package/models/components/leadscountries.js.map +1 -1
  76. package/models/components/leadsdevices.d.ts +17 -5
  77. package/models/components/leadsdevices.d.ts.map +1 -1
  78. package/models/components/leadsdevices.js +18 -9
  79. package/models/components/leadsdevices.js.map +1 -1
  80. package/models/components/leadsos.d.ts +17 -5
  81. package/models/components/leadsos.d.ts.map +1 -1
  82. package/models/components/leadsos.js +18 -9
  83. package/models/components/leadsos.js.map +1 -1
  84. package/models/components/leadsreferers.d.ts +17 -5
  85. package/models/components/leadsreferers.d.ts.map +1 -1
  86. package/models/components/leadsreferers.js +18 -9
  87. package/models/components/leadsreferers.js.map +1 -1
  88. package/models/components/leadstimeseries.d.ts +17 -5
  89. package/models/components/leadstimeseries.d.ts.map +1 -1
  90. package/models/components/leadstimeseries.js +18 -9
  91. package/models/components/leadstimeseries.js.map +1 -1
  92. package/models/components/leadstoplinks.d.ts +23 -11
  93. package/models/components/leadstoplinks.d.ts.map +1 -1
  94. package/models/components/leadstoplinks.js +30 -21
  95. package/models/components/leadstoplinks.js.map +1 -1
  96. package/models/components/leadstopurls.d.ts +17 -5
  97. package/models/components/leadstopurls.d.ts.map +1 -1
  98. package/models/components/leadstopurls.js +18 -9
  99. package/models/components/leadstopurls.js.map +1 -1
  100. package/models/components/linkgeotargeting.d.ts +265 -253
  101. package/models/components/linkgeotargeting.d.ts.map +1 -1
  102. package/models/components/linkgeotargeting.js +1024 -1015
  103. package/models/components/linkgeotargeting.js.map +1 -1
  104. package/models/components/linkschema.d.ts +320 -296
  105. package/models/components/linkschema.d.ts.map +1 -1
  106. package/models/components/linkschema.js +1135 -1117
  107. package/models/components/linkschema.js.map +1 -1
  108. package/models/components/salesbrowsers.d.ts +18 -6
  109. package/models/components/salesbrowsers.d.ts.map +1 -1
  110. package/models/components/salesbrowsers.js +20 -11
  111. package/models/components/salesbrowsers.js.map +1 -1
  112. package/models/components/salescities.d.ts +532 -9
  113. package/models/components/salescities.d.ts.map +1 -1
  114. package/models/components/salescities.js +33 -15
  115. package/models/components/salescities.js.map +1 -1
  116. package/models/components/salescount.d.ts +17 -5
  117. package/models/components/salescount.d.ts.map +1 -1
  118. package/models/components/salescount.js +18 -9
  119. package/models/components/salescount.js.map +1 -1
  120. package/models/components/salescountries.d.ts +531 -8
  121. package/models/components/salescountries.d.ts.map +1 -1
  122. package/models/components/salescountries.js +31 -13
  123. package/models/components/salescountries.js.map +1 -1
  124. package/models/components/salesdevices.d.ts +18 -6
  125. package/models/components/salesdevices.d.ts.map +1 -1
  126. package/models/components/salesdevices.js +20 -11
  127. package/models/components/salesdevices.js.map +1 -1
  128. package/models/components/salesos.d.ts +18 -6
  129. package/models/components/salesos.d.ts.map +1 -1
  130. package/models/components/salesos.js +20 -11
  131. package/models/components/salesos.js.map +1 -1
  132. package/models/components/salesreferers.d.ts +18 -6
  133. package/models/components/salesreferers.d.ts.map +1 -1
  134. package/models/components/salesreferers.js +20 -11
  135. package/models/components/salesreferers.js.map +1 -1
  136. package/models/components/salestimeseries.d.ts +18 -6
  137. package/models/components/salestimeseries.d.ts.map +1 -1
  138. package/models/components/salestimeseries.js +20 -11
  139. package/models/components/salestimeseries.js.map +1 -1
  140. package/models/components/salestoplinks.d.ts +24 -12
  141. package/models/components/salestoplinks.d.ts.map +1 -1
  142. package/models/components/salestoplinks.js +32 -23
  143. package/models/components/salestoplinks.js.map +1 -1
  144. package/models/components/salestopurls.d.ts +18 -6
  145. package/models/components/salestopurls.d.ts.map +1 -1
  146. package/models/components/salestopurls.js +20 -11
  147. package/models/components/salestopurls.js.map +1 -1
  148. package/models/components/security.d.ts +16 -4
  149. package/models/components/security.d.ts.map +1 -1
  150. package/models/components/security.js +16 -7
  151. package/models/components/security.js.map +1 -1
  152. package/models/components/tagschema.d.ts +45 -8
  153. package/models/components/tagschema.d.ts.map +1 -1
  154. package/models/components/tagschema.js +31 -13
  155. package/models/components/tagschema.js.map +1 -1
  156. package/models/components/workspaceschema.d.ts +112 -36
  157. package/models/components/workspaceschema.d.ts.map +1 -1
  158. package/models/components/workspaceschema.js +108 -63
  159. package/models/components/workspaceschema.js.map +1 -1
  160. package/models/errors/badrequest.d.ts +49 -12
  161. package/models/errors/badrequest.d.ts.map +1 -1
  162. package/models/errors/badrequest.js +69 -43
  163. package/models/errors/badrequest.js.map +1 -1
  164. package/models/errors/conflict.d.ts +49 -12
  165. package/models/errors/conflict.d.ts.map +1 -1
  166. package/models/errors/conflict.js +69 -43
  167. package/models/errors/conflict.js.map +1 -1
  168. package/models/errors/forbidden.d.ts +49 -12
  169. package/models/errors/forbidden.d.ts.map +1 -1
  170. package/models/errors/forbidden.js +69 -43
  171. package/models/errors/forbidden.js.map +1 -1
  172. package/models/errors/internalservererror.d.ts +49 -12
  173. package/models/errors/internalservererror.d.ts.map +1 -1
  174. package/models/errors/internalservererror.js +69 -43
  175. package/models/errors/internalservererror.js.map +1 -1
  176. package/models/errors/inviteexpired.d.ts +49 -12
  177. package/models/errors/inviteexpired.d.ts.map +1 -1
  178. package/models/errors/inviteexpired.js +69 -43
  179. package/models/errors/inviteexpired.js.map +1 -1
  180. package/models/errors/notfound.d.ts +49 -12
  181. package/models/errors/notfound.d.ts.map +1 -1
  182. package/models/errors/notfound.js +69 -43
  183. package/models/errors/notfound.js.map +1 -1
  184. package/models/errors/ratelimitexceeded.d.ts +49 -12
  185. package/models/errors/ratelimitexceeded.d.ts.map +1 -1
  186. package/models/errors/ratelimitexceeded.js +69 -43
  187. package/models/errors/ratelimitexceeded.js.map +1 -1
  188. package/models/errors/unauthorized.d.ts +49 -12
  189. package/models/errors/unauthorized.d.ts.map +1 -1
  190. package/models/errors/unauthorized.js +69 -43
  191. package/models/errors/unauthorized.js.map +1 -1
  192. package/models/errors/unprocessableentity.d.ts +49 -12
  193. package/models/errors/unprocessableentity.d.ts.map +1 -1
  194. package/models/errors/unprocessableentity.js +69 -43
  195. package/models/errors/unprocessableentity.js.map +1 -1
  196. package/models/operations/bulkcreatelinks.d.ts +83 -40
  197. package/models/operations/bulkcreatelinks.d.ts.map +1 -1
  198. package/models/operations/bulkcreatelinks.js +99 -68
  199. package/models/operations/bulkcreatelinks.js.map +1 -1
  200. package/models/operations/bulkupdatelinks.d.ts +80 -32
  201. package/models/operations/bulkupdatelinks.d.ts.map +1 -1
  202. package/models/operations/bulkupdatelinks.js +93 -60
  203. package/models/operations/bulkupdatelinks.js.map +1 -1
  204. package/models/operations/createdomain.d.ts +35 -16
  205. package/models/operations/createdomain.d.ts.map +1 -1
  206. package/models/operations/createdomain.js +37 -21
  207. package/models/operations/createdomain.js.map +1 -1
  208. package/models/operations/createlink.d.ts +83 -40
  209. package/models/operations/createlink.d.ts.map +1 -1
  210. package/models/operations/createlink.js +108 -77
  211. package/models/operations/createlink.js.map +1 -1
  212. package/models/operations/createtag.d.ts +61 -17
  213. package/models/operations/createtag.d.ts.map +1 -1
  214. package/models/operations/createtag.js +46 -21
  215. package/models/operations/createtag.js.map +1 -1
  216. package/models/operations/deletedomain.d.ts +48 -17
  217. package/models/operations/deletedomain.d.ts.map +1 -1
  218. package/models/operations/deletedomain.js +46 -21
  219. package/models/operations/deletedomain.js.map +1 -1
  220. package/models/operations/deletelink.d.ts +48 -17
  221. package/models/operations/deletelink.d.ts.map +1 -1
  222. package/models/operations/deletelink.js +46 -21
  223. package/models/operations/deletelink.js.map +1 -1
  224. package/models/operations/getlinkinfo.d.ts +35 -16
  225. package/models/operations/getlinkinfo.d.ts.map +1 -1
  226. package/models/operations/getlinkinfo.js +37 -21
  227. package/models/operations/getlinkinfo.js.map +1 -1
  228. package/models/operations/getlinks.d.ts +88 -28
  229. package/models/operations/getlinks.d.ts.map +1 -1
  230. package/models/operations/getlinks.js +82 -51
  231. package/models/operations/getlinks.js.map +1 -1
  232. package/models/operations/getlinkscount.d.ts +112 -31
  233. package/models/operations/getlinkscount.d.ts.map +1 -1
  234. package/models/operations/getlinkscount.js +108 -47
  235. package/models/operations/getlinkscount.js.map +1 -1
  236. package/models/operations/getmetatags.d.ts +34 -10
  237. package/models/operations/getmetatags.d.ts.map +1 -1
  238. package/models/operations/getmetatags.js +35 -17
  239. package/models/operations/getmetatags.js.map +1 -1
  240. package/models/operations/getqrcode.d.ts +42 -11
  241. package/models/operations/getqrcode.d.ts.map +1 -1
  242. package/models/operations/getqrcode.js +37 -19
  243. package/models/operations/getqrcode.js.map +1 -1
  244. package/models/operations/gettags.d.ts +30 -11
  245. package/models/operations/gettags.d.ts.map +1 -1
  246. package/models/operations/gettags.js +27 -11
  247. package/models/operations/gettags.js.map +1 -1
  248. package/models/operations/getworkspace.d.ts +16 -4
  249. package/models/operations/getworkspace.d.ts.map +1 -1
  250. package/models/operations/getworkspace.js +16 -7
  251. package/models/operations/getworkspace.js.map +1 -1
  252. package/models/operations/listdomains.d.ts +30 -11
  253. package/models/operations/listdomains.d.ts.map +1 -1
  254. package/models/operations/listdomains.js +27 -11
  255. package/models/operations/listdomains.js.map +1 -1
  256. package/models/operations/retrieveanalytics.d.ts +150 -40
  257. package/models/operations/retrieveanalytics.d.ts.map +1 -1
  258. package/models/operations/retrieveanalytics.js +175 -123
  259. package/models/operations/retrieveanalytics.js.map +1 -1
  260. package/models/operations/trackcustomer.d.ts +54 -23
  261. package/models/operations/trackcustomer.d.ts.map +1 -1
  262. package/models/operations/trackcustomer.js +58 -33
  263. package/models/operations/trackcustomer.js.map +1 -1
  264. package/models/operations/tracklead.d.ts +64 -33
  265. package/models/operations/tracklead.d.ts.map +1 -1
  266. package/models/operations/tracklead.js +70 -45
  267. package/models/operations/tracklead.js.map +1 -1
  268. package/models/operations/tracksale.d.ts +83 -35
  269. package/models/operations/tracksale.d.ts.map +1 -1
  270. package/models/operations/tracksale.js +81 -47
  271. package/models/operations/tracksale.js.map +1 -1
  272. package/models/operations/updatedomain.d.ts +52 -21
  273. package/models/operations/updatedomain.d.ts.map +1 -1
  274. package/models/operations/updatedomain.js +66 -41
  275. package/models/operations/updatedomain.js.map +1 -1
  276. package/models/operations/updatelink.d.ts +101 -49
  277. package/models/operations/updatelink.d.ts.map +1 -1
  278. package/models/operations/updatelink.js +128 -97
  279. package/models/operations/updatelink.js.map +1 -1
  280. package/models/operations/updatetag.d.ts +79 -23
  281. package/models/operations/updatetag.d.ts.map +1 -1
  282. package/models/operations/updatetag.js +75 -41
  283. package/models/operations/updatetag.js.map +1 -1
  284. package/models/operations/updateworkspace.d.ts +44 -5
  285. package/models/operations/updateworkspace.d.ts.map +1 -1
  286. package/models/operations/updateworkspace.js +52 -7
  287. package/models/operations/updateworkspace.js.map +1 -1
  288. package/models/operations/upsertlink.d.ts +83 -40
  289. package/models/operations/upsertlink.d.ts.map +1 -1
  290. package/models/operations/upsertlink.js +99 -77
  291. package/models/operations/upsertlink.js.map +1 -1
  292. package/package.json +2 -2
  293. package/sdk/analytics.d.ts.map +1 -1
  294. package/sdk/analytics.js +24 -26
  295. package/sdk/analytics.js.map +1 -1
  296. package/sdk/domains.d.ts.map +1 -1
  297. package/sdk/domains.js +96 -104
  298. package/sdk/domains.js.map +1 -1
  299. package/sdk/links.d.ts +3 -3
  300. package/sdk/links.d.ts.map +1 -1
  301. package/sdk/links.js +223 -240
  302. package/sdk/links.js.map +1 -1
  303. package/sdk/metatags.d.ts.map +1 -1
  304. package/sdk/metatags.js +6 -7
  305. package/sdk/metatags.js.map +1 -1
  306. package/sdk/qrcodes.d.ts.map +1 -1
  307. package/sdk/qrcodes.js +23 -24
  308. package/sdk/qrcodes.js.map +1 -1
  309. package/sdk/tags.d.ts +1 -1
  310. package/sdk/tags.d.ts.map +1 -1
  311. package/sdk/tags.js +77 -80
  312. package/sdk/tags.js.map +1 -1
  313. package/sdk/track.d.ts.map +1 -1
  314. package/sdk/track.js +75 -81
  315. package/sdk/track.js.map +1 -1
  316. package/sdk/workspaces.d.ts +1 -1
  317. package/sdk/workspaces.d.ts.map +1 -1
  318. package/sdk/workspaces.js +55 -53
  319. package/sdk/workspaces.js.map +1 -1
  320. package/src/lib/config.ts +3 -3
  321. package/src/lib/sdks.ts +19 -0
  322. package/src/models/components/clicksbrowsers.ts +28 -10
  323. package/src/models/components/clickscities.ts +48 -19
  324. package/src/models/components/clickscount.ts +27 -10
  325. package/src/models/components/clickscountries.ts +42 -13
  326. package/src/models/components/clicksdevices.ts +28 -10
  327. package/src/models/components/clicksos.ts +24 -10
  328. package/src/models/components/clicksreferers.ts +28 -10
  329. package/src/models/components/clickstimeseries.ts +28 -10
  330. package/src/models/components/clickstoplinks.ts +40 -22
  331. package/src/models/components/clickstopurls.ts +28 -10
  332. package/src/models/components/countrycode.ts +15 -2
  333. package/src/models/components/domainschema.ts +51 -34
  334. package/src/models/components/leadsbrowsers.ts +28 -10
  335. package/src/models/components/leadscities.ts +48 -19
  336. package/src/models/components/leadscount.ts +22 -8
  337. package/src/models/components/leadscountries.ts +44 -14
  338. package/src/models/components/leadsdevices.ts +30 -13
  339. package/src/models/components/leadsos.ts +26 -13
  340. package/src/models/components/leadsreferers.ts +28 -10
  341. package/src/models/components/leadstimeseries.ts +28 -10
  342. package/src/models/components/leadstoplinks.ts +40 -22
  343. package/src/models/components/leadstopurls.ts +30 -13
  344. package/src/models/components/linkgeotargeting.ts +1282 -1265
  345. package/src/models/components/linkschema.ts +1439 -1408
  346. package/src/models/components/salesbrowsers.ts +30 -12
  347. package/src/models/components/salescities.ts +51 -22
  348. package/src/models/components/salescount.ts +24 -10
  349. package/src/models/components/salescountries.ts +46 -16
  350. package/src/models/components/salesdevices.ts +33 -16
  351. package/src/models/components/salesos.ts +29 -16
  352. package/src/models/components/salesreferers.ts +30 -12
  353. package/src/models/components/salestimeseries.ts +30 -12
  354. package/src/models/components/salestoplinks.ts +42 -24
  355. package/src/models/components/salestopurls.ts +33 -16
  356. package/src/models/components/security.ts +22 -8
  357. package/src/models/components/tagschema.ts +40 -15
  358. package/src/models/components/workspaceschema.ts +143 -77
  359. package/src/models/errors/badrequest.ts +90 -54
  360. package/src/models/errors/conflict.ts +96 -54
  361. package/src/models/errors/forbidden.ts +96 -54
  362. package/src/models/errors/internalservererror.ts +110 -55
  363. package/src/models/errors/inviteexpired.ts +104 -55
  364. package/src/models/errors/notfound.ts +96 -54
  365. package/src/models/errors/ratelimitexceeded.ts +100 -50
  366. package/src/models/errors/unauthorized.ts +92 -46
  367. package/src/models/errors/unprocessableentity.ts +110 -55
  368. package/src/models/operations/bulkcreatelinks.ts +179 -115
  369. package/src/models/operations/bulkupdatelinks.ts +168 -100
  370. package/src/models/operations/createdomain.ts +71 -38
  371. package/src/models/operations/createlink.ts +172 -115
  372. package/src/models/operations/createtag.ts +76 -35
  373. package/src/models/operations/deletedomain.ts +95 -41
  374. package/src/models/operations/deletelink.ts +84 -37
  375. package/src/models/operations/getlinkinfo.ts +71 -36
  376. package/src/models/operations/getlinks.ts +134 -65
  377. package/src/models/operations/getlinkscount.ts +190 -86
  378. package/src/models/operations/getmetatags.ts +68 -28
  379. package/src/models/operations/getqrcode.ts +50 -21
  380. package/src/models/operations/gettags.ts +48 -19
  381. package/src/models/operations/getworkspace.ts +31 -10
  382. package/src/models/operations/listdomains.ts +57 -24
  383. package/src/models/operations/retrieveanalytics.ts +278 -193
  384. package/src/models/operations/trackcustomer.ts +114 -64
  385. package/src/models/operations/tracklead.ts +126 -76
  386. package/src/models/operations/tracksale.ts +141 -79
  387. package/src/models/operations/updatedomain.ts +117 -63
  388. package/src/models/operations/updatelink.ts +210 -135
  389. package/src/models/operations/updatetag.ts +121 -62
  390. package/src/models/operations/updateworkspace.ts +94 -15
  391. package/src/models/operations/upsertlink.ts +175 -115
  392. package/src/sdk/analytics.ts +31 -32
  393. package/src/sdk/domains.ts +121 -125
  394. package/src/sdk/links.ts +278 -286
  395. package/src/sdk/metatags.ts +8 -8
  396. package/src/sdk/qrcodes.ts +30 -30
  397. package/src/sdk/tags.ts +97 -96
  398. package/src/sdk/track.ts +94 -98
  399. package/src/sdk/workspaces.ts +70 -65
@@ -11,10 +11,6 @@ export type UpdateTagGlobals = {
11
11
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
12
12
  */
13
13
  workspaceId?: string | undefined;
14
- /**
15
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
16
- */
17
- projectSlug?: string | undefined;
18
14
  };
19
15
 
20
16
  /**
@@ -53,86 +49,149 @@ export type UpdateTagRequestBody = {
53
49
 
54
50
  export type UpdateTagRequest = {
55
51
  /**
56
- * The ID of the tag
52
+ * The ID of the tag to update.
57
53
  */
58
54
  id: string;
59
55
  requestBody?: UpdateTagRequestBody | undefined;
60
56
  };
61
57
 
62
58
  /** @internal */
63
- export namespace UpdateTagGlobals$ {
64
- export const inboundSchema: z.ZodType<UpdateTagGlobals, z.ZodTypeDef, unknown> = z.object({
59
+ export const UpdateTagGlobals$inboundSchema: z.ZodType<UpdateTagGlobals, z.ZodTypeDef, unknown> =
60
+ z.object({
65
61
  workspaceId: z.string().optional(),
66
- projectSlug: z.string().optional(),
67
62
  });
68
63
 
69
- export type Outbound = {
70
- workspaceId?: string | undefined;
71
- projectSlug?: string | undefined;
72
- };
64
+ /** @internal */
65
+ export type UpdateTagGlobals$Outbound = {
66
+ workspaceId?: string | undefined;
67
+ };
73
68
 
74
- export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UpdateTagGlobals> = z.object({
75
- workspaceId: z.string().optional(),
76
- projectSlug: z.string().optional(),
77
- });
69
+ /** @internal */
70
+ export const UpdateTagGlobals$outboundSchema: z.ZodType<
71
+ UpdateTagGlobals$Outbound,
72
+ z.ZodTypeDef,
73
+ UpdateTagGlobals
74
+ > = z.object({
75
+ workspaceId: z.string().optional(),
76
+ });
77
+
78
+ /**
79
+ * @internal
80
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
81
+ */
82
+ export namespace UpdateTagGlobals$ {
83
+ /** @deprecated use `UpdateTagGlobals$inboundSchema` instead. */
84
+ export const inboundSchema = UpdateTagGlobals$inboundSchema;
85
+ /** @deprecated use `UpdateTagGlobals$outboundSchema` instead. */
86
+ export const outboundSchema = UpdateTagGlobals$outboundSchema;
87
+ /** @deprecated use `UpdateTagGlobals$Outbound` instead. */
88
+ export type Outbound = UpdateTagGlobals$Outbound;
78
89
  }
79
90
 
80
91
  /** @internal */
92
+ export const UpdateTagColor$inboundSchema: z.ZodNativeEnum<typeof UpdateTagColor> =
93
+ z.nativeEnum(UpdateTagColor);
94
+
95
+ /** @internal */
96
+ export const UpdateTagColor$outboundSchema: z.ZodNativeEnum<typeof UpdateTagColor> =
97
+ UpdateTagColor$inboundSchema;
98
+
99
+ /**
100
+ * @internal
101
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
102
+ */
81
103
  export namespace UpdateTagColor$ {
82
- export const inboundSchema: z.ZodNativeEnum<typeof UpdateTagColor> =
83
- z.nativeEnum(UpdateTagColor);
84
- export const outboundSchema: z.ZodNativeEnum<typeof UpdateTagColor> = inboundSchema;
104
+ /** @deprecated use `UpdateTagColor$inboundSchema` instead. */
105
+ export const inboundSchema = UpdateTagColor$inboundSchema;
106
+ /** @deprecated use `UpdateTagColor$outboundSchema` instead. */
107
+ export const outboundSchema = UpdateTagColor$outboundSchema;
85
108
  }
86
109
 
87
110
  /** @internal */
88
- export namespace UpdateTagRequestBody$ {
89
- export const inboundSchema: z.ZodType<UpdateTagRequestBody, z.ZodTypeDef, unknown> = z.object({
90
- name: z.string().optional(),
91
- color: UpdateTagColor$.inboundSchema.optional(),
92
- tag: z.string().optional(),
93
- });
111
+ export const UpdateTagRequestBody$inboundSchema: z.ZodType<
112
+ UpdateTagRequestBody,
113
+ z.ZodTypeDef,
114
+ unknown
115
+ > = z.object({
116
+ name: z.string().optional(),
117
+ color: UpdateTagColor$inboundSchema.optional(),
118
+ tag: z.string().optional(),
119
+ });
94
120
 
95
- export type Outbound = {
96
- name?: string | undefined;
97
- color?: string | undefined;
98
- tag?: string | undefined;
99
- };
100
-
101
- export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UpdateTagRequestBody> = z.object(
102
- {
103
- name: z.string().optional(),
104
- color: UpdateTagColor$.outboundSchema.optional(),
105
- tag: z.string().optional(),
106
- }
107
- );
121
+ /** @internal */
122
+ export type UpdateTagRequestBody$Outbound = {
123
+ name?: string | undefined;
124
+ color?: string | undefined;
125
+ tag?: string | undefined;
126
+ };
127
+
128
+ /** @internal */
129
+ export const UpdateTagRequestBody$outboundSchema: z.ZodType<
130
+ UpdateTagRequestBody$Outbound,
131
+ z.ZodTypeDef,
132
+ UpdateTagRequestBody
133
+ > = z.object({
134
+ name: z.string().optional(),
135
+ color: UpdateTagColor$outboundSchema.optional(),
136
+ tag: z.string().optional(),
137
+ });
138
+
139
+ /**
140
+ * @internal
141
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
142
+ */
143
+ export namespace UpdateTagRequestBody$ {
144
+ /** @deprecated use `UpdateTagRequestBody$inboundSchema` instead. */
145
+ export const inboundSchema = UpdateTagRequestBody$inboundSchema;
146
+ /** @deprecated use `UpdateTagRequestBody$outboundSchema` instead. */
147
+ export const outboundSchema = UpdateTagRequestBody$outboundSchema;
148
+ /** @deprecated use `UpdateTagRequestBody$Outbound` instead. */
149
+ export type Outbound = UpdateTagRequestBody$Outbound;
108
150
  }
109
151
 
110
152
  /** @internal */
111
- export namespace UpdateTagRequest$ {
112
- export const inboundSchema: z.ZodType<UpdateTagRequest, z.ZodTypeDef, unknown> = z
113
- .object({
114
- id: z.string(),
115
- RequestBody: z.lazy(() => UpdateTagRequestBody$.inboundSchema).optional(),
116
- })
117
- .transform((v) => {
118
- return remap$(v, {
119
- RequestBody: "requestBody",
120
- });
153
+ export const UpdateTagRequest$inboundSchema: z.ZodType<UpdateTagRequest, z.ZodTypeDef, unknown> = z
154
+ .object({
155
+ id: z.string(),
156
+ RequestBody: z.lazy(() => UpdateTagRequestBody$inboundSchema).optional(),
157
+ })
158
+ .transform((v) => {
159
+ return remap$(v, {
160
+ RequestBody: "requestBody",
121
161
  });
162
+ });
122
163
 
123
- export type Outbound = {
124
- id: string;
125
- RequestBody?: UpdateTagRequestBody$.Outbound | undefined;
126
- };
127
-
128
- export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UpdateTagRequest> = z
129
- .object({
130
- id: z.string(),
131
- requestBody: z.lazy(() => UpdateTagRequestBody$.outboundSchema).optional(),
132
- })
133
- .transform((v) => {
134
- return remap$(v, {
135
- requestBody: "RequestBody",
136
- });
164
+ /** @internal */
165
+ export type UpdateTagRequest$Outbound = {
166
+ id: string;
167
+ RequestBody?: UpdateTagRequestBody$Outbound | undefined;
168
+ };
169
+
170
+ /** @internal */
171
+ export const UpdateTagRequest$outboundSchema: z.ZodType<
172
+ UpdateTagRequest$Outbound,
173
+ z.ZodTypeDef,
174
+ UpdateTagRequest
175
+ > = z
176
+ .object({
177
+ id: z.string(),
178
+ requestBody: z.lazy(() => UpdateTagRequestBody$outboundSchema).optional(),
179
+ })
180
+ .transform((v) => {
181
+ return remap$(v, {
182
+ requestBody: "RequestBody",
137
183
  });
184
+ });
185
+
186
+ /**
187
+ * @internal
188
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
189
+ */
190
+ export namespace UpdateTagRequest$ {
191
+ /** @deprecated use `UpdateTagRequest$inboundSchema` instead. */
192
+ export const inboundSchema = UpdateTagRequest$inboundSchema;
193
+ /** @deprecated use `UpdateTagRequest$outboundSchema` instead. */
194
+ export const outboundSchema = UpdateTagRequest$outboundSchema;
195
+ /** @deprecated use `UpdateTagRequest$Outbound` instead. */
196
+ export type Outbound = UpdateTagRequest$Outbound;
138
197
  }
@@ -2,29 +2,108 @@
2
2
  * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { remap as remap$ } from "../../lib/primitives.js";
5
6
  import * as z from "zod";
6
7
 
8
+ export type UpdateWorkspaceRequestBody = {
9
+ name?: string | undefined;
10
+ slug?: string | undefined;
11
+ };
12
+
7
13
  export type UpdateWorkspaceRequest = {
8
14
  /**
9
- * The ID or slug of the workspace.
15
+ * The ID or slug of the workspace to update.
10
16
  */
11
17
  idOrSlug: string;
18
+ requestBody?: UpdateWorkspaceRequestBody | undefined;
12
19
  };
13
20
 
14
21
  /** @internal */
15
- export namespace UpdateWorkspaceRequest$ {
16
- export const inboundSchema: z.ZodType<UpdateWorkspaceRequest, z.ZodTypeDef, unknown> = z.object(
17
- {
18
- idOrSlug: z.string(),
19
- }
20
- );
21
-
22
- export type Outbound = {
23
- idOrSlug: string;
24
- };
25
-
26
- export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UpdateWorkspaceRequest> =
27
- z.object({
28
- idOrSlug: z.string(),
22
+ export const UpdateWorkspaceRequestBody$inboundSchema: z.ZodType<
23
+ UpdateWorkspaceRequestBody,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ name: z.string().optional(),
28
+ slug: z.string().optional(),
29
+ });
30
+
31
+ /** @internal */
32
+ export type UpdateWorkspaceRequestBody$Outbound = {
33
+ name?: string | undefined;
34
+ slug?: string | undefined;
35
+ };
36
+
37
+ /** @internal */
38
+ export const UpdateWorkspaceRequestBody$outboundSchema: z.ZodType<
39
+ UpdateWorkspaceRequestBody$Outbound,
40
+ z.ZodTypeDef,
41
+ UpdateWorkspaceRequestBody
42
+ > = z.object({
43
+ name: z.string().optional(),
44
+ slug: z.string().optional(),
45
+ });
46
+
47
+ /**
48
+ * @internal
49
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
50
+ */
51
+ export namespace UpdateWorkspaceRequestBody$ {
52
+ /** @deprecated use `UpdateWorkspaceRequestBody$inboundSchema` instead. */
53
+ export const inboundSchema = UpdateWorkspaceRequestBody$inboundSchema;
54
+ /** @deprecated use `UpdateWorkspaceRequestBody$outboundSchema` instead. */
55
+ export const outboundSchema = UpdateWorkspaceRequestBody$outboundSchema;
56
+ /** @deprecated use `UpdateWorkspaceRequestBody$Outbound` instead. */
57
+ export type Outbound = UpdateWorkspaceRequestBody$Outbound;
58
+ }
59
+
60
+ /** @internal */
61
+ export const UpdateWorkspaceRequest$inboundSchema: z.ZodType<
62
+ UpdateWorkspaceRequest,
63
+ z.ZodTypeDef,
64
+ unknown
65
+ > = z
66
+ .object({
67
+ idOrSlug: z.string(),
68
+ RequestBody: z.lazy(() => UpdateWorkspaceRequestBody$inboundSchema).optional(),
69
+ })
70
+ .transform((v) => {
71
+ return remap$(v, {
72
+ RequestBody: "requestBody",
29
73
  });
74
+ });
75
+
76
+ /** @internal */
77
+ export type UpdateWorkspaceRequest$Outbound = {
78
+ idOrSlug: string;
79
+ RequestBody?: UpdateWorkspaceRequestBody$Outbound | undefined;
80
+ };
81
+
82
+ /** @internal */
83
+ export const UpdateWorkspaceRequest$outboundSchema: z.ZodType<
84
+ UpdateWorkspaceRequest$Outbound,
85
+ z.ZodTypeDef,
86
+ UpdateWorkspaceRequest
87
+ > = z
88
+ .object({
89
+ idOrSlug: z.string(),
90
+ requestBody: z.lazy(() => UpdateWorkspaceRequestBody$outboundSchema).optional(),
91
+ })
92
+ .transform((v) => {
93
+ return remap$(v, {
94
+ requestBody: "RequestBody",
95
+ });
96
+ });
97
+
98
+ /**
99
+ * @internal
100
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
+ */
102
+ export namespace UpdateWorkspaceRequest$ {
103
+ /** @deprecated use `UpdateWorkspaceRequest$inboundSchema` instead. */
104
+ export const inboundSchema = UpdateWorkspaceRequest$inboundSchema;
105
+ /** @deprecated use `UpdateWorkspaceRequest$outboundSchema` instead. */
106
+ export const outboundSchema = UpdateWorkspaceRequest$outboundSchema;
107
+ /** @deprecated use `UpdateWorkspaceRequest$Outbound` instead. */
108
+ export type Outbound = UpdateWorkspaceRequest$Outbound;
30
109
  }
@@ -10,10 +10,6 @@ export type UpsertLinkGlobals = {
10
10
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
11
11
  */
12
12
  workspaceId?: string | undefined;
13
- /**
14
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
15
- */
16
- projectSlug?: string | undefined;
17
13
  };
18
14
 
19
15
  /**
@@ -128,132 +124,196 @@ export type UpsertLinkRequestBody = {
128
124
  };
129
125
 
130
126
  /** @internal */
131
- export namespace UpsertLinkGlobals$ {
132
- export const inboundSchema: z.ZodType<UpsertLinkGlobals, z.ZodTypeDef, unknown> = z.object({
127
+ export const UpsertLinkGlobals$inboundSchema: z.ZodType<UpsertLinkGlobals, z.ZodTypeDef, unknown> =
128
+ z.object({
133
129
  workspaceId: z.string().optional(),
134
- projectSlug: z.string().optional(),
135
130
  });
136
131
 
137
- export type Outbound = {
138
- workspaceId?: string | undefined;
139
- projectSlug?: string | undefined;
140
- };
132
+ /** @internal */
133
+ export type UpsertLinkGlobals$Outbound = {
134
+ workspaceId?: string | undefined;
135
+ };
136
+
137
+ /** @internal */
138
+ export const UpsertLinkGlobals$outboundSchema: z.ZodType<
139
+ UpsertLinkGlobals$Outbound,
140
+ z.ZodTypeDef,
141
+ UpsertLinkGlobals
142
+ > = z.object({
143
+ workspaceId: z.string().optional(),
144
+ });
141
145
 
142
- export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UpsertLinkGlobals> = z.object({
143
- workspaceId: z.string().optional(),
144
- projectSlug: z.string().optional(),
145
- });
146
+ /**
147
+ * @internal
148
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
149
+ */
150
+ export namespace UpsertLinkGlobals$ {
151
+ /** @deprecated use `UpsertLinkGlobals$inboundSchema` instead. */
152
+ export const inboundSchema = UpsertLinkGlobals$inboundSchema;
153
+ /** @deprecated use `UpsertLinkGlobals$outboundSchema` instead. */
154
+ export const outboundSchema = UpsertLinkGlobals$outboundSchema;
155
+ /** @deprecated use `UpsertLinkGlobals$Outbound` instead. */
156
+ export type Outbound = UpsertLinkGlobals$Outbound;
146
157
  }
147
158
 
148
159
  /** @internal */
149
- export namespace UpsertLinkTagIds$ {
150
- export const inboundSchema: z.ZodType<UpsertLinkTagIds, z.ZodTypeDef, unknown> = z.union([
151
- z.string(),
152
- z.array(z.string()),
153
- ]);
160
+ export const UpsertLinkTagIds$inboundSchema: z.ZodType<UpsertLinkTagIds, z.ZodTypeDef, unknown> =
161
+ z.union([z.string(), z.array(z.string())]);
162
+
163
+ /** @internal */
164
+ export type UpsertLinkTagIds$Outbound = string | Array<string>;
154
165
 
155
- export type Outbound = string | Array<string>;
156
- export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UpsertLinkTagIds> = z.union([
157
- z.string(),
158
- z.array(z.string()),
159
- ]);
166
+ /** @internal */
167
+ export const UpsertLinkTagIds$outboundSchema: z.ZodType<
168
+ UpsertLinkTagIds$Outbound,
169
+ z.ZodTypeDef,
170
+ UpsertLinkTagIds
171
+ > = z.union([z.string(), z.array(z.string())]);
172
+
173
+ /**
174
+ * @internal
175
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
176
+ */
177
+ export namespace UpsertLinkTagIds$ {
178
+ /** @deprecated use `UpsertLinkTagIds$inboundSchema` instead. */
179
+ export const inboundSchema = UpsertLinkTagIds$inboundSchema;
180
+ /** @deprecated use `UpsertLinkTagIds$outboundSchema` instead. */
181
+ export const outboundSchema = UpsertLinkTagIds$outboundSchema;
182
+ /** @deprecated use `UpsertLinkTagIds$Outbound` instead. */
183
+ export type Outbound = UpsertLinkTagIds$Outbound;
160
184
  }
161
185
 
162
186
  /** @internal */
163
- export namespace UpsertLinkTagNames$ {
164
- export const inboundSchema: z.ZodType<UpsertLinkTagNames, z.ZodTypeDef, unknown> = z.union([
165
- z.string(),
166
- z.array(z.string()),
167
- ]);
187
+ export const UpsertLinkTagNames$inboundSchema: z.ZodType<
188
+ UpsertLinkTagNames,
189
+ z.ZodTypeDef,
190
+ unknown
191
+ > = z.union([z.string(), z.array(z.string())]);
192
+
193
+ /** @internal */
194
+ export type UpsertLinkTagNames$Outbound = string | Array<string>;
168
195
 
169
- export type Outbound = string | Array<string>;
170
- export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UpsertLinkTagNames> = z.union([
171
- z.string(),
172
- z.array(z.string()),
173
- ]);
196
+ /** @internal */
197
+ export const UpsertLinkTagNames$outboundSchema: z.ZodType<
198
+ UpsertLinkTagNames$Outbound,
199
+ z.ZodTypeDef,
200
+ UpsertLinkTagNames
201
+ > = z.union([z.string(), z.array(z.string())]);
202
+
203
+ /**
204
+ * @internal
205
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
206
+ */
207
+ export namespace UpsertLinkTagNames$ {
208
+ /** @deprecated use `UpsertLinkTagNames$inboundSchema` instead. */
209
+ export const inboundSchema = UpsertLinkTagNames$inboundSchema;
210
+ /** @deprecated use `UpsertLinkTagNames$outboundSchema` instead. */
211
+ export const outboundSchema = UpsertLinkTagNames$outboundSchema;
212
+ /** @deprecated use `UpsertLinkTagNames$Outbound` instead. */
213
+ export type Outbound = UpsertLinkTagNames$Outbound;
174
214
  }
175
215
 
176
216
  /** @internal */
177
- export namespace UpsertLinkRequestBody$ {
178
- export const inboundSchema: z.ZodType<UpsertLinkRequestBody, z.ZodTypeDef, unknown> = z.object({
179
- url: z.string(),
180
- domain: z.string().optional(),
181
- key: z.string().optional(),
182
- externalId: z.nullable(z.string()).optional(),
183
- prefix: z.string().optional(),
184
- trackConversion: z.boolean().default(false),
185
- archived: z.boolean().default(false),
186
- publicStats: z.boolean().default(false),
187
- tagId: z.nullable(z.string()).optional(),
188
- tagIds: z.union([z.string(), z.array(z.string())]).optional(),
189
- tagNames: z.union([z.string(), z.array(z.string())]).optional(),
190
- comments: z.nullable(z.string()).optional(),
191
- expiresAt: z.nullable(z.string()).optional(),
192
- expiredUrl: z.nullable(z.string()).optional(),
193
- password: z.nullable(z.string()).optional(),
194
- proxy: z.boolean().default(false),
195
- title: z.nullable(z.string()).optional(),
196
- description: z.nullable(z.string()).optional(),
197
- image: z.nullable(z.string()).optional(),
198
- rewrite: z.boolean().default(false),
199
- ios: z.nullable(z.string()).optional(),
200
- android: z.nullable(z.string()).optional(),
201
- geo: z.nullable(components.LinkGeoTargeting$.inboundSchema).optional(),
202
- doIndex: z.boolean().default(false),
203
- });
217
+ export const UpsertLinkRequestBody$inboundSchema: z.ZodType<
218
+ UpsertLinkRequestBody,
219
+ z.ZodTypeDef,
220
+ unknown
221
+ > = z.object({
222
+ url: z.string(),
223
+ domain: z.string().optional(),
224
+ key: z.string().optional(),
225
+ externalId: z.nullable(z.string()).optional(),
226
+ prefix: z.string().optional(),
227
+ trackConversion: z.boolean().default(false),
228
+ archived: z.boolean().default(false),
229
+ publicStats: z.boolean().default(false),
230
+ tagId: z.nullable(z.string()).optional(),
231
+ tagIds: z.union([z.string(), z.array(z.string())]).optional(),
232
+ tagNames: z.union([z.string(), z.array(z.string())]).optional(),
233
+ comments: z.nullable(z.string()).optional(),
234
+ expiresAt: z.nullable(z.string()).optional(),
235
+ expiredUrl: z.nullable(z.string()).optional(),
236
+ password: z.nullable(z.string()).optional(),
237
+ proxy: z.boolean().default(false),
238
+ title: z.nullable(z.string()).optional(),
239
+ description: z.nullable(z.string()).optional(),
240
+ image: z.nullable(z.string()).optional(),
241
+ rewrite: z.boolean().default(false),
242
+ ios: z.nullable(z.string()).optional(),
243
+ android: z.nullable(z.string()).optional(),
244
+ geo: z.nullable(components.LinkGeoTargeting$inboundSchema).optional(),
245
+ doIndex: z.boolean().default(false),
246
+ });
247
+
248
+ /** @internal */
249
+ export type UpsertLinkRequestBody$Outbound = {
250
+ url: string;
251
+ domain?: string | undefined;
252
+ key?: string | undefined;
253
+ externalId?: string | null | undefined;
254
+ prefix?: string | undefined;
255
+ trackConversion: boolean;
256
+ archived: boolean;
257
+ publicStats: boolean;
258
+ tagId?: string | null | undefined;
259
+ tagIds?: string | Array<string> | undefined;
260
+ tagNames?: string | Array<string> | undefined;
261
+ comments?: string | null | undefined;
262
+ expiresAt?: string | null | undefined;
263
+ expiredUrl?: string | null | undefined;
264
+ password?: string | null | undefined;
265
+ proxy: boolean;
266
+ title?: string | null | undefined;
267
+ description?: string | null | undefined;
268
+ image?: string | null | undefined;
269
+ rewrite: boolean;
270
+ ios?: string | null | undefined;
271
+ android?: string | null | undefined;
272
+ geo?: components.LinkGeoTargeting$Outbound | null | undefined;
273
+ doIndex: boolean;
274
+ };
204
275
 
205
- export type Outbound = {
206
- url: string;
207
- domain?: string | undefined;
208
- key?: string | undefined;
209
- externalId?: string | null | undefined;
210
- prefix?: string | undefined;
211
- trackConversion: boolean;
212
- archived: boolean;
213
- publicStats: boolean;
214
- tagId?: string | null | undefined;
215
- tagIds?: string | Array<string> | undefined;
216
- tagNames?: string | Array<string> | undefined;
217
- comments?: string | null | undefined;
218
- expiresAt?: string | null | undefined;
219
- expiredUrl?: string | null | undefined;
220
- password?: string | null | undefined;
221
- proxy: boolean;
222
- title?: string | null | undefined;
223
- description?: string | null | undefined;
224
- image?: string | null | undefined;
225
- rewrite: boolean;
226
- ios?: string | null | undefined;
227
- android?: string | null | undefined;
228
- geo?: components.LinkGeoTargeting$.Outbound | null | undefined;
229
- doIndex: boolean;
230
- };
276
+ /** @internal */
277
+ export const UpsertLinkRequestBody$outboundSchema: z.ZodType<
278
+ UpsertLinkRequestBody$Outbound,
279
+ z.ZodTypeDef,
280
+ UpsertLinkRequestBody
281
+ > = z.object({
282
+ url: z.string(),
283
+ domain: z.string().optional(),
284
+ key: z.string().optional(),
285
+ externalId: z.nullable(z.string()).optional(),
286
+ prefix: z.string().optional(),
287
+ trackConversion: z.boolean().default(false),
288
+ archived: z.boolean().default(false),
289
+ publicStats: z.boolean().default(false),
290
+ tagId: z.nullable(z.string()).optional(),
291
+ tagIds: z.union([z.string(), z.array(z.string())]).optional(),
292
+ tagNames: z.union([z.string(), z.array(z.string())]).optional(),
293
+ comments: z.nullable(z.string()).optional(),
294
+ expiresAt: z.nullable(z.string()).optional(),
295
+ expiredUrl: z.nullable(z.string()).optional(),
296
+ password: z.nullable(z.string()).optional(),
297
+ proxy: z.boolean().default(false),
298
+ title: z.nullable(z.string()).optional(),
299
+ description: z.nullable(z.string()).optional(),
300
+ image: z.nullable(z.string()).optional(),
301
+ rewrite: z.boolean().default(false),
302
+ ios: z.nullable(z.string()).optional(),
303
+ android: z.nullable(z.string()).optional(),
304
+ geo: z.nullable(components.LinkGeoTargeting$outboundSchema).optional(),
305
+ doIndex: z.boolean().default(false),
306
+ });
231
307
 
232
- export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UpsertLinkRequestBody> =
233
- z.object({
234
- url: z.string(),
235
- domain: z.string().optional(),
236
- key: z.string().optional(),
237
- externalId: z.nullable(z.string()).optional(),
238
- prefix: z.string().optional(),
239
- trackConversion: z.boolean().default(false),
240
- archived: z.boolean().default(false),
241
- publicStats: z.boolean().default(false),
242
- tagId: z.nullable(z.string()).optional(),
243
- tagIds: z.union([z.string(), z.array(z.string())]).optional(),
244
- tagNames: z.union([z.string(), z.array(z.string())]).optional(),
245
- comments: z.nullable(z.string()).optional(),
246
- expiresAt: z.nullable(z.string()).optional(),
247
- expiredUrl: z.nullable(z.string()).optional(),
248
- password: z.nullable(z.string()).optional(),
249
- proxy: z.boolean().default(false),
250
- title: z.nullable(z.string()).optional(),
251
- description: z.nullable(z.string()).optional(),
252
- image: z.nullable(z.string()).optional(),
253
- rewrite: z.boolean().default(false),
254
- ios: z.nullable(z.string()).optional(),
255
- android: z.nullable(z.string()).optional(),
256
- geo: z.nullable(components.LinkGeoTargeting$.outboundSchema).optional(),
257
- doIndex: z.boolean().default(false),
258
- });
308
+ /**
309
+ * @internal
310
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
311
+ */
312
+ export namespace UpsertLinkRequestBody$ {
313
+ /** @deprecated use `UpsertLinkRequestBody$inboundSchema` instead. */
314
+ export const inboundSchema = UpsertLinkRequestBody$inboundSchema;
315
+ /** @deprecated use `UpsertLinkRequestBody$outboundSchema` instead. */
316
+ export const outboundSchema = UpsertLinkRequestBody$outboundSchema;
317
+ /** @deprecated use `UpsertLinkRequestBody$Outbound` instead. */
318
+ export type Outbound = UpsertLinkRequestBody$Outbound;
259
319
  }