@keystrokehq/short_io 0.1.0 → 0.1.3

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 (340) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-tag-to-links-bulk.cjs +1 -1
  5. package/dist/actions/add-tag-to-links-bulk.cjs.map +1 -1
  6. package/dist/actions/add-tag-to-links-bulk.d.cts +11 -3
  7. package/dist/actions/add-tag-to-links-bulk.d.cts.map +1 -1
  8. package/dist/actions/add-tag-to-links-bulk.d.mts +11 -3
  9. package/dist/actions/add-tag-to-links-bulk.d.mts.map +1 -1
  10. package/dist/actions/add-tag-to-links-bulk.mjs +1 -1
  11. package/dist/actions/add-tag-to-links-bulk.mjs.map +1 -1
  12. package/dist/actions/archive-link.cjs +2 -2
  13. package/dist/actions/archive-link.cjs.map +1 -1
  14. package/dist/actions/archive-link.d.cts +12 -3
  15. package/dist/actions/archive-link.d.cts.map +1 -1
  16. package/dist/actions/archive-link.d.mts +12 -3
  17. package/dist/actions/archive-link.d.mts.map +1 -1
  18. package/dist/actions/archive-link.mjs +2 -2
  19. package/dist/actions/archive-link.mjs.map +1 -1
  20. package/dist/actions/create-folder.cjs +4 -4
  21. package/dist/actions/create-folder.cjs.map +1 -1
  22. package/dist/actions/create-folder.d.cts +13 -3
  23. package/dist/actions/create-folder.d.cts.map +1 -1
  24. package/dist/actions/create-folder.d.mts +13 -3
  25. package/dist/actions/create-folder.d.mts.map +1 -1
  26. package/dist/actions/create-folder.mjs +4 -4
  27. package/dist/actions/create-folder.mjs.map +1 -1
  28. package/dist/actions/create-link.cjs +7 -7
  29. package/dist/actions/create-link.cjs.map +1 -1
  30. package/dist/actions/create-link.d.cts +33 -3
  31. package/dist/actions/create-link.d.cts.map +1 -1
  32. package/dist/actions/create-link.d.mts +33 -3
  33. package/dist/actions/create-link.d.mts.map +1 -1
  34. package/dist/actions/create-link.mjs +7 -7
  35. package/dist/actions/create-link.mjs.map +1 -1
  36. package/dist/actions/delete-link-permission.cjs +2 -2
  37. package/dist/actions/delete-link-permission.cjs.map +1 -1
  38. package/dist/actions/delete-link-permission.d.cts +14 -3
  39. package/dist/actions/delete-link-permission.d.cts.map +1 -1
  40. package/dist/actions/delete-link-permission.d.mts +14 -3
  41. package/dist/actions/delete-link-permission.d.mts.map +1 -1
  42. package/dist/actions/delete-link-permission.mjs +2 -2
  43. package/dist/actions/delete-link-permission.mjs.map +1 -1
  44. package/dist/actions/delete-link.cjs +3 -3
  45. package/dist/actions/delete-link.cjs.map +1 -1
  46. package/dist/actions/delete-link.d.cts +11 -3
  47. package/dist/actions/delete-link.d.cts.map +1 -1
  48. package/dist/actions/delete-link.d.mts +11 -3
  49. package/dist/actions/delete-link.d.mts.map +1 -1
  50. package/dist/actions/delete-link.mjs +3 -3
  51. package/dist/actions/delete-link.mjs.map +1 -1
  52. package/dist/actions/delete-links-bulk.cjs +1 -1
  53. package/dist/actions/delete-links-bulk.cjs.map +1 -1
  54. package/dist/actions/delete-links-bulk.d.cts +9 -3
  55. package/dist/actions/delete-links-bulk.d.cts.map +1 -1
  56. package/dist/actions/delete-links-bulk.d.mts +9 -3
  57. package/dist/actions/delete-links-bulk.d.mts.map +1 -1
  58. package/dist/actions/delete-links-bulk.mjs +1 -1
  59. package/dist/actions/delete-links-bulk.mjs.map +1 -1
  60. package/dist/actions/duplicate-link.cjs +1 -1
  61. package/dist/actions/duplicate-link.cjs.map +1 -1
  62. package/dist/actions/duplicate-link.d.cts +25 -3
  63. package/dist/actions/duplicate-link.d.cts.map +1 -1
  64. package/dist/actions/duplicate-link.d.mts +25 -3
  65. package/dist/actions/duplicate-link.d.mts.map +1 -1
  66. package/dist/actions/duplicate-link.mjs +1 -1
  67. package/dist/actions/duplicate-link.mjs.map +1 -1
  68. package/dist/actions/generate-qr-code.cjs +1 -1
  69. package/dist/actions/generate-qr-code.cjs.map +1 -1
  70. package/dist/actions/generate-qr-code.d.cts +15 -3
  71. package/dist/actions/generate-qr-code.d.cts.map +1 -1
  72. package/dist/actions/generate-qr-code.d.mts +15 -3
  73. package/dist/actions/generate-qr-code.d.mts.map +1 -1
  74. package/dist/actions/generate-qr-code.mjs +1 -1
  75. package/dist/actions/generate-qr-code.mjs.map +1 -1
  76. package/dist/actions/get-bundle-templates.cjs +5 -5
  77. package/dist/actions/get-bundle-templates.cjs.map +1 -1
  78. package/dist/actions/get-bundle-templates.d.cts +11 -3
  79. package/dist/actions/get-bundle-templates.d.cts.map +1 -1
  80. package/dist/actions/get-bundle-templates.d.mts +11 -3
  81. package/dist/actions/get-bundle-templates.d.mts.map +1 -1
  82. package/dist/actions/get-bundle-templates.mjs +5 -5
  83. package/dist/actions/get-bundle-templates.mjs.map +1 -1
  84. package/dist/actions/get-domain-by-id.cjs +3 -3
  85. package/dist/actions/get-domain-by-id.cjs.map +1 -1
  86. package/dist/actions/get-domain-by-id.d.cts +34 -3
  87. package/dist/actions/get-domain-by-id.d.cts.map +1 -1
  88. package/dist/actions/get-domain-by-id.d.mts +34 -3
  89. package/dist/actions/get-domain-by-id.d.mts.map +1 -1
  90. package/dist/actions/get-domain-by-id.mjs +3 -3
  91. package/dist/actions/get-domain-by-id.mjs.map +1 -1
  92. package/dist/actions/get-domain-statistics.cjs +12 -12
  93. package/dist/actions/get-domain-statistics.cjs.map +1 -1
  94. package/dist/actions/get-domain-statistics.d.cts +130 -3
  95. package/dist/actions/get-domain-statistics.d.cts.map +1 -1
  96. package/dist/actions/get-domain-statistics.d.mts +130 -3
  97. package/dist/actions/get-domain-statistics.d.mts.map +1 -1
  98. package/dist/actions/get-domain-statistics.mjs +12 -12
  99. package/dist/actions/get-domain-statistics.mjs.map +1 -1
  100. package/dist/actions/get-domains-link-clicks.cjs +1 -1
  101. package/dist/actions/get-domains-link-clicks.cjs.map +1 -1
  102. package/dist/actions/get-domains-link-clicks.d.cts +11 -3
  103. package/dist/actions/get-domains-link-clicks.d.cts.map +1 -1
  104. package/dist/actions/get-domains-link-clicks.d.mts +11 -3
  105. package/dist/actions/get-domains-link-clicks.d.mts.map +1 -1
  106. package/dist/actions/get-domains-link-clicks.mjs +1 -1
  107. package/dist/actions/get-domains-link-clicks.mjs.map +1 -1
  108. package/dist/actions/get-domains-paths.cjs +4 -4
  109. package/dist/actions/get-domains-paths.cjs.map +1 -1
  110. package/dist/actions/get-domains-paths.d.cts +30 -3
  111. package/dist/actions/get-domains-paths.d.cts.map +1 -1
  112. package/dist/actions/get-domains-paths.d.mts +30 -3
  113. package/dist/actions/get-domains-paths.d.mts.map +1 -1
  114. package/dist/actions/get-domains-paths.mjs +4 -4
  115. package/dist/actions/get-domains-paths.mjs.map +1 -1
  116. package/dist/actions/get-folder.cjs +4 -4
  117. package/dist/actions/get-folder.cjs.map +1 -1
  118. package/dist/actions/get-folder.d.cts +13 -3
  119. package/dist/actions/get-folder.d.cts.map +1 -1
  120. package/dist/actions/get-folder.d.mts +13 -3
  121. package/dist/actions/get-folder.d.mts.map +1 -1
  122. package/dist/actions/get-folder.mjs +4 -4
  123. package/dist/actions/get-folder.mjs.map +1 -1
  124. package/dist/actions/get-link-by-original-url.cjs +15 -15
  125. package/dist/actions/get-link-by-original-url.cjs.map +1 -1
  126. package/dist/actions/get-link-by-original-url.d.cts +29 -3
  127. package/dist/actions/get-link-by-original-url.d.cts.map +1 -1
  128. package/dist/actions/get-link-by-original-url.d.mts +29 -3
  129. package/dist/actions/get-link-by-original-url.d.mts.map +1 -1
  130. package/dist/actions/get-link-by-original-url.mjs +15 -15
  131. package/dist/actions/get-link-by-original-url.mjs.map +1 -1
  132. package/dist/actions/get-link-countries.cjs +7 -7
  133. package/dist/actions/get-link-countries.cjs.map +1 -1
  134. package/dist/actions/get-link-countries.d.cts +16 -3
  135. package/dist/actions/get-link-countries.d.cts.map +1 -1
  136. package/dist/actions/get-link-countries.d.mts +16 -3
  137. package/dist/actions/get-link-countries.d.mts.map +1 -1
  138. package/dist/actions/get-link-countries.mjs +7 -7
  139. package/dist/actions/get-link-countries.mjs.map +1 -1
  140. package/dist/actions/get-link-info-by-link-id.cjs +8 -8
  141. package/dist/actions/get-link-info-by-link-id.cjs.map +1 -1
  142. package/dist/actions/get-link-info-by-link-id.d.cts +30 -3
  143. package/dist/actions/get-link-info-by-link-id.d.cts.map +1 -1
  144. package/dist/actions/get-link-info-by-link-id.d.mts +30 -3
  145. package/dist/actions/get-link-info-by-link-id.d.mts.map +1 -1
  146. package/dist/actions/get-link-info-by-link-id.mjs +8 -8
  147. package/dist/actions/get-link-info-by-link-id.mjs.map +1 -1
  148. package/dist/actions/get-link-info-by-path.cjs +8 -8
  149. package/dist/actions/get-link-info-by-path.cjs.map +1 -1
  150. package/dist/actions/get-link-info-by-path.d.cts +28 -3
  151. package/dist/actions/get-link-info-by-path.d.cts.map +1 -1
  152. package/dist/actions/get-link-info-by-path.d.mts +28 -3
  153. package/dist/actions/get-link-info-by-path.d.mts.map +1 -1
  154. package/dist/actions/get-link-info-by-path.mjs +8 -8
  155. package/dist/actions/get-link-info-by-path.mjs.map +1 -1
  156. package/dist/actions/get-link-open-graph-properties.cjs.map +1 -1
  157. package/dist/actions/get-link-open-graph-properties.d.cts +16 -3
  158. package/dist/actions/get-link-open-graph-properties.d.cts.map +1 -1
  159. package/dist/actions/get-link-open-graph-properties.d.mts +16 -3
  160. package/dist/actions/get-link-open-graph-properties.d.mts.map +1 -1
  161. package/dist/actions/get-link-open-graph-properties.mjs.map +1 -1
  162. package/dist/actions/get-link-permissions.cjs +2 -2
  163. package/dist/actions/get-link-permissions.cjs.map +1 -1
  164. package/dist/actions/get-link-permissions.d.cts +16 -3
  165. package/dist/actions/get-link-permissions.d.cts.map +1 -1
  166. package/dist/actions/get-link-permissions.d.mts +16 -3
  167. package/dist/actions/get-link-permissions.d.mts.map +1 -1
  168. package/dist/actions/get-link-permissions.mjs +2 -2
  169. package/dist/actions/get-link-permissions.mjs.map +1 -1
  170. package/dist/actions/get-link-region-list-country.cjs +4 -4
  171. package/dist/actions/get-link-region-list-country.cjs.map +1 -1
  172. package/dist/actions/get-link-region-list-country.d.cts +12 -3
  173. package/dist/actions/get-link-region-list-country.d.cts.map +1 -1
  174. package/dist/actions/get-link-region-list-country.d.mts +12 -3
  175. package/dist/actions/get-link-region-list-country.d.mts.map +1 -1
  176. package/dist/actions/get-link-region-list-country.mjs +4 -4
  177. package/dist/actions/get-link-region-list-country.mjs.map +1 -1
  178. package/dist/actions/get-link-regions.cjs +7 -7
  179. package/dist/actions/get-link-regions.cjs.map +1 -1
  180. package/dist/actions/get-link-regions.d.cts +17 -3
  181. package/dist/actions/get-link-regions.d.cts.map +1 -1
  182. package/dist/actions/get-link-regions.d.mts +17 -3
  183. package/dist/actions/get-link-regions.d.mts.map +1 -1
  184. package/dist/actions/get-link-regions.mjs +7 -7
  185. package/dist/actions/get-link-regions.mjs.map +1 -1
  186. package/dist/actions/get-link-statistics.cjs +14 -14
  187. package/dist/actions/get-link-statistics.cjs.map +1 -1
  188. package/dist/actions/get-link-statistics.d.cts +57 -3
  189. package/dist/actions/get-link-statistics.d.cts.map +1 -1
  190. package/dist/actions/get-link-statistics.d.mts +57 -3
  191. package/dist/actions/get-link-statistics.d.mts.map +1 -1
  192. package/dist/actions/get-link-statistics.mjs +14 -14
  193. package/dist/actions/get-link-statistics.mjs.map +1 -1
  194. package/dist/actions/get-link-tweetbot.cjs +1 -1
  195. package/dist/actions/get-link-tweetbot.cjs.map +1 -1
  196. package/dist/actions/get-link-tweetbot.d.cts +17 -3
  197. package/dist/actions/get-link-tweetbot.d.cts.map +1 -1
  198. package/dist/actions/get-link-tweetbot.d.mts +17 -3
  199. package/dist/actions/get-link-tweetbot.d.mts.map +1 -1
  200. package/dist/actions/get-link-tweetbot.mjs +1 -1
  201. package/dist/actions/get-link-tweetbot.mjs.map +1 -1
  202. package/dist/actions/get-links-by-original-url.cjs +3 -3
  203. package/dist/actions/get-links-by-original-url.cjs.map +1 -1
  204. package/dist/actions/get-links-by-original-url.d.cts +34 -3
  205. package/dist/actions/get-links-by-original-url.d.cts.map +1 -1
  206. package/dist/actions/get-links-by-original-url.d.mts +34 -3
  207. package/dist/actions/get-links-by-original-url.d.mts.map +1 -1
  208. package/dist/actions/get-links-by-original-url.mjs +3 -3
  209. package/dist/actions/get-links-by-original-url.mjs.map +1 -1
  210. package/dist/actions/get-links-list.cjs +11 -11
  211. package/dist/actions/get-links-list.cjs.map +1 -1
  212. package/dist/actions/get-links-list.d.cts +43 -3
  213. package/dist/actions/get-links-list.d.cts.map +1 -1
  214. package/dist/actions/get-links-list.d.mts +43 -3
  215. package/dist/actions/get-links-list.d.mts.map +1 -1
  216. package/dist/actions/get-links-list.mjs +11 -11
  217. package/dist/actions/get-links-list.mjs.map +1 -1
  218. package/dist/actions/list-domains.cjs +7 -7
  219. package/dist/actions/list-domains.cjs.map +1 -1
  220. package/dist/actions/list-domains.d.cts +32 -3
  221. package/dist/actions/list-domains.d.cts.map +1 -1
  222. package/dist/actions/list-domains.d.mts +32 -3
  223. package/dist/actions/list-domains.d.mts.map +1 -1
  224. package/dist/actions/list-domains.mjs +7 -7
  225. package/dist/actions/list-domains.mjs.map +1 -1
  226. package/dist/actions/list-folders.cjs +5 -5
  227. package/dist/actions/list-folders.cjs.map +1 -1
  228. package/dist/actions/list-folders.d.cts +13 -3
  229. package/dist/actions/list-folders.d.cts.map +1 -1
  230. package/dist/actions/list-folders.d.mts +13 -3
  231. package/dist/actions/list-folders.d.mts.map +1 -1
  232. package/dist/actions/list-folders.mjs +5 -5
  233. package/dist/actions/list-folders.mjs.map +1 -1
  234. package/dist/actions/post-domain-link-clicks.cjs +2 -2
  235. package/dist/actions/post-domain-link-clicks.cjs.map +1 -1
  236. package/dist/actions/post-domain-link-clicks.d.cts +22 -3
  237. package/dist/actions/post-domain-link-clicks.d.cts.map +1 -1
  238. package/dist/actions/post-domain-link-clicks.d.mts +22 -3
  239. package/dist/actions/post-domain-link-clicks.d.mts.map +1 -1
  240. package/dist/actions/post-domain-link-clicks.mjs +2 -2
  241. package/dist/actions/post-domain-link-clicks.mjs.map +1 -1
  242. package/dist/actions/post-domain-stats.cjs +24 -24
  243. package/dist/actions/post-domain-stats.cjs.map +1 -1
  244. package/dist/actions/post-domain-stats.d.cts +136 -3
  245. package/dist/actions/post-domain-stats.d.cts.map +1 -1
  246. package/dist/actions/post-domain-stats.d.mts +136 -3
  247. package/dist/actions/post-domain-stats.d.mts.map +1 -1
  248. package/dist/actions/post-domain-stats.mjs +24 -24
  249. package/dist/actions/post-domain-stats.mjs.map +1 -1
  250. package/dist/actions/post-domains-by-interval.cjs +4 -4
  251. package/dist/actions/post-domains-by-interval.cjs.map +1 -1
  252. package/dist/actions/post-domains-by-interval.d.cts +30 -3
  253. package/dist/actions/post-domains-by-interval.d.cts.map +1 -1
  254. package/dist/actions/post-domains-by-interval.d.mts +30 -3
  255. package/dist/actions/post-domains-by-interval.d.mts.map +1 -1
  256. package/dist/actions/post-domains-by-interval.mjs +4 -4
  257. package/dist/actions/post-domains-by-interval.mjs.map +1 -1
  258. package/dist/actions/post-domains-last-clicks.cjs +20 -20
  259. package/dist/actions/post-domains-last-clicks.cjs.map +1 -1
  260. package/dist/actions/post-domains-last-clicks.d.cts +69 -3
  261. package/dist/actions/post-domains-last-clicks.d.cts.map +1 -1
  262. package/dist/actions/post-domains-last-clicks.d.mts +69 -3
  263. package/dist/actions/post-domains-last-clicks.d.mts.map +1 -1
  264. package/dist/actions/post-domains-last-clicks.mjs +20 -20
  265. package/dist/actions/post-domains-last-clicks.mjs.map +1 -1
  266. package/dist/actions/post-domains-top.cjs +4 -4
  267. package/dist/actions/post-domains-top.cjs.map +1 -1
  268. package/dist/actions/post-domains-top.d.cts +16 -3
  269. package/dist/actions/post-domains-top.d.cts.map +1 -1
  270. package/dist/actions/post-domains-top.d.mts +16 -3
  271. package/dist/actions/post-domains-top.d.mts.map +1 -1
  272. package/dist/actions/post-domains-top.mjs +4 -4
  273. package/dist/actions/post-domains-top.mjs.map +1 -1
  274. package/dist/actions/post-links-archive-bulk.cjs +2 -2
  275. package/dist/actions/post-links-archive-bulk.cjs.map +1 -1
  276. package/dist/actions/post-links-archive-bulk.d.cts +12 -3
  277. package/dist/actions/post-links-archive-bulk.d.cts.map +1 -1
  278. package/dist/actions/post-links-archive-bulk.d.mts +12 -3
  279. package/dist/actions/post-links-archive-bulk.d.mts.map +1 -1
  280. package/dist/actions/post-links-archive-bulk.mjs +2 -2
  281. package/dist/actions/post-links-archive-bulk.mjs.map +1 -1
  282. package/dist/actions/post-links-bulk.cjs +18 -18
  283. package/dist/actions/post-links-bulk.cjs.map +1 -1
  284. package/dist/actions/post-links-bulk.d.cts +40 -3
  285. package/dist/actions/post-links-bulk.d.cts.map +1 -1
  286. package/dist/actions/post-links-bulk.d.mts +40 -3
  287. package/dist/actions/post-links-bulk.d.mts.map +1 -1
  288. package/dist/actions/post-links-bulk.mjs +18 -18
  289. package/dist/actions/post-links-bulk.mjs.map +1 -1
  290. package/dist/actions/post-links-qr-bulk.cjs +1 -1
  291. package/dist/actions/post-links-qr-bulk.cjs.map +1 -1
  292. package/dist/actions/post-links-qr-bulk.d.cts +26 -3
  293. package/dist/actions/post-links-qr-bulk.d.cts.map +1 -1
  294. package/dist/actions/post-links-qr-bulk.d.mts +26 -3
  295. package/dist/actions/post-links-qr-bulk.d.mts.map +1 -1
  296. package/dist/actions/post-links-qr-bulk.mjs +1 -1
  297. package/dist/actions/post-links-qr-bulk.mjs.map +1 -1
  298. package/dist/actions/post-links-unarchive-bulk.cjs +2 -2
  299. package/dist/actions/post-links-unarchive-bulk.cjs.map +1 -1
  300. package/dist/actions/post-links-unarchive-bulk.d.cts +10 -3
  301. package/dist/actions/post-links-unarchive-bulk.d.cts.map +1 -1
  302. package/dist/actions/post-links-unarchive-bulk.d.mts +10 -3
  303. package/dist/actions/post-links-unarchive-bulk.d.mts.map +1 -1
  304. package/dist/actions/post-links-unarchive-bulk.mjs +2 -2
  305. package/dist/actions/post-links-unarchive-bulk.mjs.map +1 -1
  306. package/dist/actions/unarchive-link.cjs +2 -2
  307. package/dist/actions/unarchive-link.cjs.map +1 -1
  308. package/dist/actions/unarchive-link.d.cts +12 -3
  309. package/dist/actions/unarchive-link.d.cts.map +1 -1
  310. package/dist/actions/unarchive-link.d.mts +12 -3
  311. package/dist/actions/unarchive-link.d.mts.map +1 -1
  312. package/dist/actions/unarchive-link.mjs +2 -2
  313. package/dist/actions/unarchive-link.mjs.map +1 -1
  314. package/dist/actions/update-domain-settings.cjs +1 -1
  315. package/dist/actions/update-domain-settings.cjs.map +1 -1
  316. package/dist/actions/update-domain-settings.d.cts +11 -3
  317. package/dist/actions/update-domain-settings.d.cts.map +1 -1
  318. package/dist/actions/update-domain-settings.d.mts +11 -3
  319. package/dist/actions/update-domain-settings.d.mts.map +1 -1
  320. package/dist/actions/update-domain-settings.mjs +1 -1
  321. package/dist/actions/update-domain-settings.mjs.map +1 -1
  322. package/dist/actions/update-link.cjs +8 -8
  323. package/dist/actions/update-link.cjs.map +1 -1
  324. package/dist/actions/update-link.d.cts +90 -3
  325. package/dist/actions/update-link.d.cts.map +1 -1
  326. package/dist/actions/update-link.d.mts +90 -3
  327. package/dist/actions/update-link.d.mts.map +1 -1
  328. package/dist/actions/update-link.mjs +8 -8
  329. package/dist/actions/update-link.mjs.map +1 -1
  330. package/dist/catalog.cjs +7 -1
  331. package/dist/catalog.cjs.map +1 -1
  332. package/dist/catalog.d.cts +8 -0
  333. package/dist/catalog.d.mts +8 -0
  334. package/dist/catalog.mjs +7 -1
  335. package/dist/catalog.mjs.map +1 -1
  336. package/dist/execute.cjs +1 -1
  337. package/dist/execute.cjs.map +1 -1
  338. package/dist/execute.mjs +1 -1
  339. package/dist/execute.mjs.map +1 -1
  340. package/package.json +2 -2
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-domains-paths.d.ts
4
- declare const ShortIoGetDomainsPathsInput: z.ZodTypeAny;
5
- declare const ShortIoGetDomainsPathsOutput: z.ZodTypeAny;
6
- declare const shortIoGetDomainsPaths: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShortIoGetDomainsPathsInput: z.ZodObject<{
5
+ tz: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
+ period: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ custom: "custom";
8
+ today: "today";
9
+ yesterday: "yesterday";
10
+ total: "total";
11
+ week: "week";
12
+ month: "month";
13
+ lastmonth: "lastmonth";
14
+ last7: "last7";
15
+ last30: "last30";
16
+ }>>>;
17
+ endDate: z.ZodOptional<z.ZodString>;
18
+ domainId: z.ZodNumber;
19
+ startDate: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ declare const ShortIoGetDomainsPathsOutput: z.ZodObject<{
22
+ paths: z.ZodArray<z.ZodObject<{
23
+ path: z.ZodNullable<z.ZodString>;
24
+ score: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const shortIoGetDomainsPaths: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ domainId: number;
29
+ tz?: string | undefined;
30
+ period?: "custom" | "today" | "yesterday" | "total" | "week" | "month" | "lastmonth" | "last7" | "last30" | undefined;
31
+ endDate?: string | undefined;
32
+ startDate?: string | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { shortIoGetDomainsPaths };
9
36
  //# sourceMappingURL=get-domains-paths.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-domains-paths.d.mts","names":[],"sources":["../../src/actions/get-domains-paths.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM2D;AAAA,cAK1F,4BAAA,EAA8B,CAAA,CAAE,UAEiC;AAAA,cAEjE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-domains-paths.d.mts","names":[],"sources":["../../src/actions/get-domains-paths.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -19,15 +19,15 @@ const ShortIoGetDomainsPathsInput = z.object({
19
19
  startDate: z.string().describe("Start date (YYYY-MM-DD) for custom period; required when period='custom'. Automatically converted to milliseconds from epoch.").optional()
20
20
  }).describe("Request parameters for listing the most popular paths in a domain over a specified time.");
21
21
  const ShortIoGetDomainsPaths_PathStatSchema = z.object({
22
- path: z.string().describe("Short URL path (e.g., '/abc123')."),
23
- score: z.number().int().describe("Number of clicks recorded for this path.")
24
- }).describe("Statistics for a single short URL path.");
22
+ path: z.string().describe("Short URL path (e.g., '/abc123').").nullable(),
23
+ score: z.number().int().describe("Number of clicks recorded for this path.").nullable()
24
+ }).passthrough().describe("Statistics for a single short URL path.");
25
25
  const shortIoGetDomainsPaths = action("SHORT_IO_GET_DOMAINS_PATHS", {
26
26
  slug: "short_io-get-domains-paths",
27
27
  name: "Get Domain Paths",
28
28
  description: "Tool to list the most popular paths in a domain over time. Use after confirming a valid domain ID to analyze which short URL paths under that domain have received the most clicks in the given interval.",
29
29
  input: ShortIoGetDomainsPathsInput,
30
- output: z.object({ paths: z.array(ShortIoGetDomainsPaths_PathStatSchema).describe("List of path statistics ordered by descending popularity.") }).describe("Response model containing path statistics sorted by popularity.")
30
+ output: z.object({ paths: z.array(ShortIoGetDomainsPaths_PathStatSchema).describe("List of path statistics ordered by descending popularity.") }).passthrough().describe("Response model containing path statistics sorted by popularity.")
31
31
  });
32
32
  //#endregion
33
33
  export { shortIoGetDomainsPaths };
@@ -1 +1 @@
1
- {"version":3,"file":"get-domains-paths.mjs","names":[],"sources":["../../src/actions/get-domains-paths.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetDomainsPathsInput: z.ZodTypeAny = z.object({\n tz: z.string().default(\"UTC\").describe(\"Timezone name for date boundaries (e.g., 'UTC', 'America/New_York').\").optional(),\n period: z.enum([\"custom\", \"today\", \"yesterday\", \"total\", \"week\", \"month\", \"lastmonth\", \"last7\", \"last30\"]).default(\"last30\").describe(\"Time interval for which to retrieve the most popular paths. Use 'custom' to supply startDate and endDate.\").optional(),\n endDate: z.string().describe(\"End date (YYYY-MM-DD) for custom period; required when period='custom'. Automatically converted to milliseconds from epoch.\").optional(),\n domainId: z.number().int().describe(\"Identifier of the domain whose path statistics will be retrieved.\"),\n startDate: z.string().describe(\"Start date (YYYY-MM-DD) for custom period; required when period='custom'. Automatically converted to milliseconds from epoch.\").optional(),\n}).describe(\"Request parameters for listing the most popular paths in a domain over a specified time.\");\nconst ShortIoGetDomainsPaths_PathStatSchema: z.ZodTypeAny = z.object({\n path: z.string().describe(\"Short URL path (e.g., '/abc123').\"),\n score: z.number().int().describe(\"Number of clicks recorded for this path.\"),\n}).describe(\"Statistics for a single short URL path.\");\nexport const ShortIoGetDomainsPathsOutput: z.ZodTypeAny = z.object({\n paths: z.array(ShortIoGetDomainsPaths_PathStatSchema).describe(\"List of path statistics ordered by descending popularity.\"),\n}).describe(\"Response model containing path statistics sorted by popularity.\");\n\nexport const shortIoGetDomainsPaths = action(\"SHORT_IO_GET_DOMAINS_PATHS\", {\n slug: \"short_io-get-domains-paths\",\n name: \"Get Domain Paths\",\n description: \"Tool to list the most popular paths in a domain over time. Use after confirming a valid domain ID to analyze which short URL paths under that domain have received the most clicks in the given interval.\",\n input: ShortIoGetDomainsPathsInput,\n output: ShortIoGetDomainsPathsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACxH,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAS;EAAa;EAAS;EAAQ;EAAS;EAAa;EAAS;CAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC5P,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,wCAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AAC7E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-domains-paths.mjs","names":[],"sources":["../../src/actions/get-domains-paths.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetDomainsPathsInput = z.object({\n tz: z.string().default(\"UTC\").describe(\"Timezone name for date boundaries (e.g., 'UTC', 'America/New_York').\").optional(),\n period: z.enum([\"custom\", \"today\", \"yesterday\", \"total\", \"week\", \"month\", \"lastmonth\", \"last7\", \"last30\"]).default(\"last30\").describe(\"Time interval for which to retrieve the most popular paths. Use 'custom' to supply startDate and endDate.\").optional(),\n endDate: z.string().describe(\"End date (YYYY-MM-DD) for custom period; required when period='custom'. Automatically converted to milliseconds from epoch.\").optional(),\n domainId: z.number().int().describe(\"Identifier of the domain whose path statistics will be retrieved.\"),\n startDate: z.string().describe(\"Start date (YYYY-MM-DD) for custom period; required when period='custom'. Automatically converted to milliseconds from epoch.\").optional(),\n}).describe(\"Request parameters for listing the most popular paths in a domain over a specified time.\");\nconst ShortIoGetDomainsPaths_PathStatSchema = z.object({\n path: z.string().describe(\"Short URL path (e.g., '/abc123').\").nullable(),\n score: z.number().int().describe(\"Number of clicks recorded for this path.\").nullable(),\n}).passthrough().describe(\"Statistics for a single short URL path.\");\nexport const ShortIoGetDomainsPathsOutput = z.object({\n paths: z.array(ShortIoGetDomainsPaths_PathStatSchema).describe(\"List of path statistics ordered by descending popularity.\"),\n}).passthrough().describe(\"Response model containing path statistics sorted by popularity.\");\n\nexport const shortIoGetDomainsPaths = action(\"SHORT_IO_GET_DOMAINS_PATHS\", {\n slug: \"short_io-get-domains-paths\",\n name: \"Get Domain Paths\",\n description: \"Tool to list the most popular paths in a domain over time. Use after confirming a valid domain ID to analyze which short URL paths under that domain have received the most clicks in the given interval.\",\n input: ShortIoGetDomainsPathsInput,\n output: ShortIoGetDomainsPathsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACxH,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAS;EAAa;EAAS;EAAQ;EAAS;EAAa;EAAS;CAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC5P,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -6,10 +6,10 @@ const ShortIoGetFolderInput = zod.z.object({
6
6
  folder_id: zod.z.string().describe("The unique folder ID to retrieve.")
7
7
  }).describe("Request model for retrieving folder details by ID.");
8
8
  const ShortIoGetFolderOutput = zod.z.object({
9
- id: zod.z.string().describe("The unique folder ID"),
10
- name: zod.z.string().describe("The folder name"),
11
- DomainId: zod.z.number().int().describe("The domain ID the folder belongs to")
12
- }).describe("Response model containing folder details.");
9
+ id: zod.z.string().describe("The unique folder ID").nullable(),
10
+ name: zod.z.string().describe("The folder name").nullable(),
11
+ DomainId: zod.z.number().int().describe("The domain ID the folder belongs to").nullable()
12
+ }).passthrough().describe("Response model containing folder details.");
13
13
  const shortIoGetFolder = require_action.action("SHORT_IO_GET_FOLDER", {
14
14
  slug: "short_io-get-folder",
15
15
  name: "Get Folder",
@@ -1 +1 @@
1
- {"version":3,"file":"get-folder.cjs","names":["z","action"],"sources":["../../src/actions/get-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetFolderInput: z.ZodTypeAny = z.object({\n domain_id: z.string().describe(\"The domain ID that the folder belongs to.\"),\n folder_id: z.string().describe(\"The unique folder ID to retrieve.\"),\n}).describe(\"Request model for retrieving folder details by ID.\");\nexport const ShortIoGetFolderOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique folder ID\"),\n name: z.string().describe(\"The folder name\"),\n DomainId: z.number().int().describe(\"The domain ID the folder belongs to\"),\n}).describe(\"Response model containing folder details.\");\n\nexport const shortIoGetFolder = action(\"SHORT_IO_GET_FOLDER\", {\n slug: \"short_io-get-folder\",\n name: \"Get Folder\",\n description: \"Tool to retrieve folder details by ID. Use when you need to get information about a specific folder within a domain.\",\n input: ShortIoGetFolderInput,\n output: ShortIoGetFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACpE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC3E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-folder.cjs","names":["z","action"],"sources":["../../src/actions/get-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetFolderInput = z.object({\n domain_id: z.string().describe(\"The domain ID that the folder belongs to.\"),\n folder_id: z.string().describe(\"The unique folder ID to retrieve.\"),\n}).describe(\"Request model for retrieving folder details by ID.\");\nexport const ShortIoGetFolderOutput = z.object({\n id: z.string().describe(\"The unique folder ID\").nullable(),\n name: z.string().describe(\"The folder name\").nullable(),\n DomainId: z.number().int().describe(\"The domain ID the folder belongs to\").nullable(),\n}).passthrough().describe(\"Response model containing folder details.\");\n\nexport const shortIoGetFolder = action(\"SHORT_IO_GET_FOLDER\", {\n slug: \"short_io-get-folder\",\n name: \"Get Folder\",\n description: \"Tool to retrieve folder details by ID. Use when you need to get information about a specific folder within a domain.\",\n input: ShortIoGetFolderInput,\n output: ShortIoGetFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACpE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-folder.d.ts
4
- declare const ShortIoGetFolderInput: z.ZodTypeAny;
5
- declare const ShortIoGetFolderOutput: z.ZodTypeAny;
6
- declare const shortIoGetFolder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShortIoGetFolderInput: z.ZodObject<{
5
+ domain_id: z.ZodString;
6
+ folder_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ShortIoGetFolderOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ DomainId: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$loose>;
13
+ declare const shortIoGetFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ domain_id: string;
15
+ folder_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { shortIoGetFolder };
9
19
  //# sourceMappingURL=get-folder.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-folder.d.cts","names":[],"sources":["../../src/actions/get-folder.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAG2B;AAAA,cACpD,sBAAA,EAAwB,CAAA,CAAE,UAIiB;AAAA,cAE3C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-folder.d.cts","names":[],"sources":["../../src/actions/get-folder.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-folder.d.ts
4
- declare const ShortIoGetFolderInput: z.ZodTypeAny;
5
- declare const ShortIoGetFolderOutput: z.ZodTypeAny;
6
- declare const shortIoGetFolder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShortIoGetFolderInput: z.ZodObject<{
5
+ domain_id: z.ZodString;
6
+ folder_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ShortIoGetFolderOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ DomainId: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$loose>;
13
+ declare const shortIoGetFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ domain_id: string;
15
+ folder_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { shortIoGetFolder };
9
19
  //# sourceMappingURL=get-folder.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-folder.d.mts","names":[],"sources":["../../src/actions/get-folder.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAG2B;AAAA,cACpD,sBAAA,EAAwB,CAAA,CAAE,UAIiB;AAAA,cAE3C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-folder.d.mts","names":[],"sources":["../../src/actions/get-folder.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
@@ -9,10 +9,10 @@ const shortIoGetFolder = action("SHORT_IO_GET_FOLDER", {
9
9
  folder_id: z.string().describe("The unique folder ID to retrieve.")
10
10
  }).describe("Request model for retrieving folder details by ID."),
11
11
  output: z.object({
12
- id: z.string().describe("The unique folder ID"),
13
- name: z.string().describe("The folder name"),
14
- DomainId: z.number().int().describe("The domain ID the folder belongs to")
15
- }).describe("Response model containing folder details.")
12
+ id: z.string().describe("The unique folder ID").nullable(),
13
+ name: z.string().describe("The folder name").nullable(),
14
+ DomainId: z.number().int().describe("The domain ID the folder belongs to").nullable()
15
+ }).passthrough().describe("Response model containing folder details.")
16
16
  });
17
17
  //#endregion
18
18
  export { shortIoGetFolder };
@@ -1 +1 @@
1
- {"version":3,"file":"get-folder.mjs","names":[],"sources":["../../src/actions/get-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetFolderInput: z.ZodTypeAny = z.object({\n domain_id: z.string().describe(\"The domain ID that the folder belongs to.\"),\n folder_id: z.string().describe(\"The unique folder ID to retrieve.\"),\n}).describe(\"Request model for retrieving folder details by ID.\");\nexport const ShortIoGetFolderOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique folder ID\"),\n name: z.string().describe(\"The folder name\"),\n DomainId: z.number().int().describe(\"The domain ID the folder belongs to\"),\n}).describe(\"Response model containing folder details.\");\n\nexport const shortIoGetFolder = action(\"SHORT_IO_GET_FOLDER\", {\n slug: \"short_io-get-folder\",\n name: \"Get Folder\",\n description: \"Tool to retrieve folder details by ID. Use when you need to get information about a specific folder within a domain.\",\n input: ShortIoGetFolderInput,\n output: ShortIoGetFolderOutput,\n});\n"],"mappings":";;AAcA,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiD,EAAE,OAAO;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACpE,CAAC,CAAC,CAAC,SAAS,oDAWH;CACP,QAXkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC3C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CAC3E,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-folder.mjs","names":[],"sources":["../../src/actions/get-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetFolderInput = z.object({\n domain_id: z.string().describe(\"The domain ID that the folder belongs to.\"),\n folder_id: z.string().describe(\"The unique folder ID to retrieve.\"),\n}).describe(\"Request model for retrieving folder details by ID.\");\nexport const ShortIoGetFolderOutput = z.object({\n id: z.string().describe(\"The unique folder ID\").nullable(),\n name: z.string().describe(\"The folder name\").nullable(),\n DomainId: z.number().int().describe(\"The domain ID the folder belongs to\").nullable(),\n}).passthrough().describe(\"Response model containing folder details.\");\n\nexport const shortIoGetFolder = action(\"SHORT_IO_GET_FOLDER\", {\n slug: \"short_io-get-folder\",\n name: \"Get Folder\",\n description: \"Tool to retrieve folder details by ID. Use when you need to get information about a specific folder within a domain.\",\n input: ShortIoGetFolderInput,\n output: ShortIoGetFolderOutput,\n});\n"],"mappings":";;AAcA,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmC,EAAE,OAAO;EAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACpE,CAAC,CAAC,CAAC,SAAS,oDAWH;CACP,QAXoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -6,25 +6,25 @@ const ShortIoGetLinkByOriginalUrlInput = zod.z.object({
6
6
  originalURL: zod.z.string().describe("The original long URL to search for")
7
7
  }).describe("Request model for retrieving link information by the original URL.");
8
8
  const ShortIoGetLinkByOriginalUrl_LinkInfoSchema = zod.z.object({
9
- id: zod.z.string().describe("Unique identifier of the link"),
9
+ id: zod.z.string().describe("Unique identifier of the link").nullable(),
10
10
  icon: zod.z.string().describe("Icon URL for the link").nullable().optional(),
11
- path: zod.z.string().describe("Path segment of the short URL"),
11
+ path: zod.z.string().describe("Path segment of the short URL").nullable(),
12
12
  tags: zod.z.array(zod.z.string()).describe("Tags associated with the link").nullable().optional(),
13
13
  title: zod.z.string().describe("Title of the link").nullable().optional(),
14
- skipQS: zod.z.boolean().describe("Whether to skip query string parameters"),
14
+ skipQS: zod.z.boolean().describe("Whether to skip query string parameters").nullable(),
15
15
  source: zod.z.string().describe("Source of the link creation").nullable().optional(),
16
- OwnerId: zod.z.number().int().describe("ID of the owner of the link"),
17
- DomainId: zod.z.number().int().describe("ID of the domain this link belongs to"),
18
- archived: zod.z.boolean().describe("Whether the link is archived"),
19
- cloaking: zod.z.boolean().describe("Whether link cloaking is enabled"),
20
- idString: zod.z.string().describe("String representation of the link ID"),
21
- shortURL: zod.z.string().describe("The shortened URL"),
22
- createdAt: zod.z.string().describe("ISO 8601 timestamp when the link was created"),
23
- updatedAt: zod.z.string().describe("ISO 8601 timestamp when the link was last updated"),
24
- originalURL: zod.z.string().describe("The original long URL"),
25
- secureShortURL: zod.z.string().describe("HTTPS version of the shortened URL")
26
- }).describe("Schema representing detailed information about a short link.");
27
- const ShortIoGetLinkByOriginalUrlOutput = zod.z.object({ link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable() }).describe("Response model containing link information matching the original URL.");
16
+ OwnerId: zod.z.number().int().describe("ID of the owner of the link").nullable(),
17
+ DomainId: zod.z.number().int().describe("ID of the domain this link belongs to").nullable(),
18
+ archived: zod.z.boolean().describe("Whether the link is archived").nullable(),
19
+ cloaking: zod.z.boolean().describe("Whether link cloaking is enabled").nullable(),
20
+ idString: zod.z.string().describe("String representation of the link ID").nullable(),
21
+ shortURL: zod.z.string().describe("The shortened URL").nullable(),
22
+ createdAt: zod.z.string().describe("ISO 8601 timestamp when the link was created").nullable(),
23
+ updatedAt: zod.z.string().describe("ISO 8601 timestamp when the link was last updated").nullable(),
24
+ originalURL: zod.z.string().describe("The original long URL").nullable(),
25
+ secureShortURL: zod.z.string().describe("HTTPS version of the shortened URL").nullable()
26
+ }).passthrough().describe("Schema representing detailed information about a short link.");
27
+ const ShortIoGetLinkByOriginalUrlOutput = zod.z.object({ link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable() }).passthrough().describe("Response model containing link information matching the original URL.");
28
28
  const shortIoGetLinkByOriginalUrl = require_action.action("SHORT_IO_GET_LINK_BY_ORIGINAL_URL", {
29
29
  slug: "short_io-get-link-by-original-url",
30
30
  name: "Get Link by Original URL",
@@ -1 +1 @@
1
- {"version":3,"file":"get-link-by-original-url.cjs","names":["z","action"],"sources":["../../src/actions/get-link-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkByOriginalUrlInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to search for\"),\n}).describe(\"Request model for retrieving link information by the original URL.\");\nconst ShortIoGetLinkByOriginalUrl_LinkInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the link\"),\n icon: z.string().describe(\"Icon URL for the link\").nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\"),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\"),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\"),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\"),\n archived: z.boolean().describe(\"Whether the link is archived\"),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled\"),\n idString: z.string().describe(\"String representation of the link ID\"),\n shortURL: z.string().describe(\"The shortened URL\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the link was last updated\"),\n originalURL: z.string().describe(\"The original long URL\"),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\"),\n}).describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinkByOriginalUrlOutput: z.ZodTypeAny = z.object({\n link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable(),\n}).describe(\"Response model containing link information matching the original URL.\");\n\nexport const shortIoGetLinkByOriginalUrl = action(\"SHORT_IO_GET_LINK_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-link-by-original-url\",\n name: \"Get Link by Original URL\",\n description: \"Tool to get link info by original URL. Use when you need to find all short links created from a specific original URL within a domain.\",\n input: ShortIoGetLinkByOriginalUrlInput,\n output: ShortIoGetLinkByOriginalUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;CAC7D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACxD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAC1E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAEnF,MAAa,8BAA8BC,eAAAA,OAAO,qCAAqC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-link-by-original-url.cjs","names":["z","action"],"sources":["../../src/actions/get-link-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkByOriginalUrlInput = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to search for\"),\n}).describe(\"Request model for retrieving link information by the original URL.\");\nconst ShortIoGetLinkByOriginalUrl_LinkInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable(),\n icon: z.string().describe(\"Icon URL for the link\").nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\").nullable(),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\").nullable(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\").nullable(),\n archived: z.boolean().describe(\"Whether the link is archived\").nullable(),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled\").nullable(),\n idString: z.string().describe(\"String representation of the link ID\").nullable(),\n shortURL: z.string().describe(\"The shortened URL\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the link was last updated\").nullable(),\n originalURL: z.string().describe(\"The original long URL\").nullable(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable(),\n}).passthrough().describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinkByOriginalUrlOutput = z.object({\n link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing link information matching the original URL.\");\n\nexport const shortIoGetLinkByOriginalUrl = action(\"SHORT_IO_GET_LINK_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-link-by-original-url\",\n name: \"Get Link by Original URL\",\n description: \"Tool to get link info by original URL. Use when you need to find all short links created from a specific original URL within a domain.\",\n input: ShortIoGetLinkByOriginalUrlInput,\n output: ShortIoGetLinkByOriginalUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,8BAA8BC,eAAAA,OAAO,qCAAqC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-link-by-original-url.d.ts
4
- declare const ShortIoGetLinkByOriginalUrlInput: z.ZodTypeAny;
5
- declare const ShortIoGetLinkByOriginalUrlOutput: z.ZodTypeAny;
6
- declare const shortIoGetLinkByOriginalUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShortIoGetLinkByOriginalUrlInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ originalURL: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ShortIoGetLinkByOriginalUrlOutput: z.ZodObject<{
9
+ link: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ path: z.ZodNullable<z.ZodString>;
13
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ skipQS: z.ZodNullable<z.ZodBoolean>;
16
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ OwnerId: z.ZodNullable<z.ZodNumber>;
18
+ DomainId: z.ZodNullable<z.ZodNumber>;
19
+ archived: z.ZodNullable<z.ZodBoolean>;
20
+ cloaking: z.ZodNullable<z.ZodBoolean>;
21
+ idString: z.ZodNullable<z.ZodString>;
22
+ shortURL: z.ZodNullable<z.ZodString>;
23
+ createdAt: z.ZodNullable<z.ZodString>;
24
+ updatedAt: z.ZodNullable<z.ZodString>;
25
+ originalURL: z.ZodNullable<z.ZodString>;
26
+ secureShortURL: z.ZodNullable<z.ZodString>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const shortIoGetLinkByOriginalUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ domain: string;
31
+ originalURL: string;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { shortIoGetLinkByOriginalUrl };
9
35
  //# sourceMappingURL=get-link-by-original-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-link-by-original-url.d.cts","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGgC;AAAA,cAoBpE,iCAAA,EAAmC,CAAA,CAAE,UAEkC;AAAA,cAEvE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-link-by-original-url.d.cts","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAuBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-link-by-original-url.d.ts
4
- declare const ShortIoGetLinkByOriginalUrlInput: z.ZodTypeAny;
5
- declare const ShortIoGetLinkByOriginalUrlOutput: z.ZodTypeAny;
6
- declare const shortIoGetLinkByOriginalUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShortIoGetLinkByOriginalUrlInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ originalURL: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ShortIoGetLinkByOriginalUrlOutput: z.ZodObject<{
9
+ link: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ path: z.ZodNullable<z.ZodString>;
13
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ skipQS: z.ZodNullable<z.ZodBoolean>;
16
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ OwnerId: z.ZodNullable<z.ZodNumber>;
18
+ DomainId: z.ZodNullable<z.ZodNumber>;
19
+ archived: z.ZodNullable<z.ZodBoolean>;
20
+ cloaking: z.ZodNullable<z.ZodBoolean>;
21
+ idString: z.ZodNullable<z.ZodString>;
22
+ shortURL: z.ZodNullable<z.ZodString>;
23
+ createdAt: z.ZodNullable<z.ZodString>;
24
+ updatedAt: z.ZodNullable<z.ZodString>;
25
+ originalURL: z.ZodNullable<z.ZodString>;
26
+ secureShortURL: z.ZodNullable<z.ZodString>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const shortIoGetLinkByOriginalUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ domain: string;
31
+ originalURL: string;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { shortIoGetLinkByOriginalUrl };
9
35
  //# sourceMappingURL=get-link-by-original-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-link-by-original-url.d.mts","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGgC;AAAA,cAoBpE,iCAAA,EAAmC,CAAA,CAAE,UAEkC;AAAA,cAEvE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-link-by-original-url.d.mts","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAuBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -6,30 +6,30 @@ const ShortIoGetLinkByOriginalUrlInput = z.object({
6
6
  originalURL: z.string().describe("The original long URL to search for")
7
7
  }).describe("Request model for retrieving link information by the original URL.");
8
8
  const ShortIoGetLinkByOriginalUrl_LinkInfoSchema = z.object({
9
- id: z.string().describe("Unique identifier of the link"),
9
+ id: z.string().describe("Unique identifier of the link").nullable(),
10
10
  icon: z.string().describe("Icon URL for the link").nullable().optional(),
11
- path: z.string().describe("Path segment of the short URL"),
11
+ path: z.string().describe("Path segment of the short URL").nullable(),
12
12
  tags: z.array(z.string()).describe("Tags associated with the link").nullable().optional(),
13
13
  title: z.string().describe("Title of the link").nullable().optional(),
14
- skipQS: z.boolean().describe("Whether to skip query string parameters"),
14
+ skipQS: z.boolean().describe("Whether to skip query string parameters").nullable(),
15
15
  source: z.string().describe("Source of the link creation").nullable().optional(),
16
- OwnerId: z.number().int().describe("ID of the owner of the link"),
17
- DomainId: z.number().int().describe("ID of the domain this link belongs to"),
18
- archived: z.boolean().describe("Whether the link is archived"),
19
- cloaking: z.boolean().describe("Whether link cloaking is enabled"),
20
- idString: z.string().describe("String representation of the link ID"),
21
- shortURL: z.string().describe("The shortened URL"),
22
- createdAt: z.string().describe("ISO 8601 timestamp when the link was created"),
23
- updatedAt: z.string().describe("ISO 8601 timestamp when the link was last updated"),
24
- originalURL: z.string().describe("The original long URL"),
25
- secureShortURL: z.string().describe("HTTPS version of the shortened URL")
26
- }).describe("Schema representing detailed information about a short link.");
16
+ OwnerId: z.number().int().describe("ID of the owner of the link").nullable(),
17
+ DomainId: z.number().int().describe("ID of the domain this link belongs to").nullable(),
18
+ archived: z.boolean().describe("Whether the link is archived").nullable(),
19
+ cloaking: z.boolean().describe("Whether link cloaking is enabled").nullable(),
20
+ idString: z.string().describe("String representation of the link ID").nullable(),
21
+ shortURL: z.string().describe("The shortened URL").nullable(),
22
+ createdAt: z.string().describe("ISO 8601 timestamp when the link was created").nullable(),
23
+ updatedAt: z.string().describe("ISO 8601 timestamp when the link was last updated").nullable(),
24
+ originalURL: z.string().describe("The original long URL").nullable(),
25
+ secureShortURL: z.string().describe("HTTPS version of the shortened URL").nullable()
26
+ }).passthrough().describe("Schema representing detailed information about a short link.");
27
27
  const shortIoGetLinkByOriginalUrl = action("SHORT_IO_GET_LINK_BY_ORIGINAL_URL", {
28
28
  slug: "short_io-get-link-by-original-url",
29
29
  name: "Get Link by Original URL",
30
30
  description: "Tool to get link info by original URL. Use when you need to find all short links created from a specific original URL within a domain.",
31
31
  input: ShortIoGetLinkByOriginalUrlInput,
32
- output: z.object({ link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable() }).describe("Response model containing link information matching the original URL.")
32
+ output: z.object({ link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable() }).passthrough().describe("Response model containing link information matching the original URL.")
33
33
  });
34
34
  //#endregion
35
35
  export { shortIoGetLinkByOriginalUrl };
@@ -1 +1 @@
1
- {"version":3,"file":"get-link-by-original-url.mjs","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkByOriginalUrlInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to search for\"),\n}).describe(\"Request model for retrieving link information by the original URL.\");\nconst ShortIoGetLinkByOriginalUrl_LinkInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the link\"),\n icon: z.string().describe(\"Icon URL for the link\").nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\"),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\"),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\"),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\"),\n archived: z.boolean().describe(\"Whether the link is archived\"),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled\"),\n idString: z.string().describe(\"String representation of the link ID\"),\n shortURL: z.string().describe(\"The shortened URL\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the link was last updated\"),\n originalURL: z.string().describe(\"The original long URL\"),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\"),\n}).describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinkByOriginalUrlOutput: z.ZodTypeAny = z.object({\n link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable(),\n}).describe(\"Response model containing link information matching the original URL.\");\n\nexport const shortIoGetLinkByOriginalUrl = action(\"SHORT_IO_GET_LINK_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-link-by-original-url\",\n name: \"Get Link by Original URL\",\n description: \"Tool to get link info by original URL. Use when you need to find all short links created from a specific original URL within a domain.\",\n input: ShortIoGetLinkByOriginalUrlInput,\n output: ShortIoGetLinkByOriginalUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;CAC7D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACxD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAC1E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAK1E,MAAa,8BAA8B,OAAO,qCAAqC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,SAAS,uEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-link-by-original-url.mjs","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkByOriginalUrlInput = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to search for\"),\n}).describe(\"Request model for retrieving link information by the original URL.\");\nconst ShortIoGetLinkByOriginalUrl_LinkInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable(),\n icon: z.string().describe(\"Icon URL for the link\").nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\").nullable(),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\").nullable(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\").nullable(),\n archived: z.boolean().describe(\"Whether the link is archived\").nullable(),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled\").nullable(),\n idString: z.string().describe(\"String representation of the link ID\").nullable(),\n shortURL: z.string().describe(\"The shortened URL\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the link was last updated\").nullable(),\n originalURL: z.string().describe(\"The original long URL\").nullable(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable(),\n}).passthrough().describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinkByOriginalUrlOutput = z.object({\n link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable(),\n}).passthrough().describe(\"Response model containing link information matching the original URL.\");\n\nexport const shortIoGetLinkByOriginalUrl = action(\"SHORT_IO_GET_LINK_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-link-by-original-url\",\n name: \"Get Link by Original URL\",\n description: \"Tool to get link info by original URL. Use when you need to find all short links created from a specific original URL within a domain.\",\n input: ShortIoGetLinkByOriginalUrlInput,\n output: ShortIoGetLinkByOriginalUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAKxF,MAAa,8BAA8B,OAAO,qCAAqC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/get-link-countries.ts
4
4
  const ShortIoGetLinkCountriesInput = zod.z.object({ linkId: zod.z.string().describe("Unique identifier of the link to fetch country-targeting rules for") }).describe("Request parameters for retrieving country-targeting rules for a specific link.");
5
5
  const ShortIoGetLinkCountries_LinkCountrySchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier of the country rule"),
7
- country: zod.z.string().describe("ISO 3166-1 alpha-2 country code for targeting"),
8
- createdAt: zod.z.string().describe("Timestamp when the rule was created (ISO 8601)"),
9
- updatedAt: zod.z.string().describe("Timestamp when the rule was last updated (ISO 8601)"),
10
- originalURL: zod.z.string().describe("Target URL for this country"),
6
+ id: zod.z.number().int().describe("Unique identifier of the country rule").nullable(),
7
+ country: zod.z.string().describe("ISO 3166-1 alpha-2 country code for targeting").nullable(),
8
+ createdAt: zod.z.string().describe("Timestamp when the rule was created (ISO 8601)").nullable(),
9
+ updatedAt: zod.z.string().describe("Timestamp when the rule was last updated (ISO 8601)").nullable(),
10
+ originalURL: zod.z.string().describe("Target URL for this country").nullable(),
11
11
  link_idString: zod.z.string().describe("The short link identifier").nullable().optional()
12
- }).describe("Schema for a single country-targeting rule for a link.");
13
- const ShortIoGetLinkCountriesOutput = zod.z.object({ countries: zod.z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe("List of country-based targeting rules") }).describe("Response schema containing the list of country-based targeting rules.");
12
+ }).passthrough().describe("Schema for a single country-targeting rule for a link.");
13
+ const ShortIoGetLinkCountriesOutput = zod.z.object({ countries: zod.z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe("List of country-based targeting rules") }).passthrough().describe("Response schema containing the list of country-based targeting rules.");
14
14
  const shortIoGetLinkCountries = require_action.action("SHORT_IO_GET_LINK_COUNTRIES", {
15
15
  slug: "short_io-get-link-countries",
16
16
  name: "Get Link Countries",
@@ -1 +1 @@
1
- {"version":3,"file":"get-link-countries.cjs","names":["z","action"],"sources":["../../src/actions/get-link-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkCountriesInput: z.ZodTypeAny = z.object({\n linkId: z.string().describe(\"Unique identifier of the link to fetch country-targeting rules for\"),\n}).describe(\"Request parameters for retrieving country-targeting rules for a specific link.\");\nconst ShortIoGetLinkCountries_LinkCountrySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the country rule\"),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\"),\n createdAt: z.string().describe(\"Timestamp when the rule was created (ISO 8601)\"),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\"),\n originalURL: z.string().describe(\"Target URL for this country\"),\n link_idString: z.string().describe(\"The short link identifier\").nullable().optional(),\n}).describe(\"Schema for a single country-targeting rule for a link.\");\nexport const ShortIoGetLinkCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe(\"List of country-based targeting rules\"),\n}).describe(\"Response schema containing the list of country-based targeting rules.\");\n\nexport const shortIoGetLinkCountries = action(\"SHORT_IO_GET_LINK_COUNTRIES\", {\n slug: \"short_io-get-link-countries\",\n name: \"Get Link Countries\",\n description: \"Tool to get country targeting rules for a short link. Use when you need to retrieve all country-based redirect configurations for a specific link.\",\n input: ShortIoGetLinkCountriesInput,\n output: ShortIoGetLinkCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EAClG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAEnF,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-link-countries.cjs","names":["z","action"],"sources":["../../src/actions/get-link-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkCountriesInput = z.object({\n linkId: z.string().describe(\"Unique identifier of the link to fetch country-targeting rules for\"),\n}).describe(\"Request parameters for retrieving country-targeting rules for a specific link.\");\nconst ShortIoGetLinkCountries_LinkCountrySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the country rule\").nullable(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the rule was created (ISO 8601)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\").nullable(),\n originalURL: z.string().describe(\"Target URL for this country\").nullable(),\n link_idString: z.string().describe(\"The short link identifier\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single country-targeting rule for a link.\");\nexport const ShortIoGetLinkCountriesOutput = z.object({\n countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe(\"List of country-based targeting rules\"),\n}).passthrough().describe(\"Response schema containing the list of country-based targeting rules.\");\n\nexport const shortIoGetLinkCountries = action(\"SHORT_IO_GET_LINK_COUNTRIES\", {\n slug: \"short_io-get-link-countries\",\n name: \"Get Link Countries\",\n description: \"Tool to get country targeting rules for a short link. Use when you need to retrieve all country-based redirect configurations for a specific link.\",\n input: ShortIoGetLinkCountriesInput,\n output: ShortIoGetLinkCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EAClG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-link-countries.d.ts
4
- declare const ShortIoGetLinkCountriesInput: z.ZodTypeAny;
5
- declare const ShortIoGetLinkCountriesOutput: z.ZodTypeAny;
6
- declare const shortIoGetLinkCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShortIoGetLinkCountriesInput: z.ZodObject<{
5
+ linkId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ShortIoGetLinkCountriesOutput: z.ZodObject<{
8
+ countries: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ country: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ originalURL: z.ZodNullable<z.ZodString>;
14
+ link_idString: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const shortIoGetLinkCountries: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ linkId: string;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { shortIoGetLinkCountries };
9
22
  //# sourceMappingURL=get-link-countries.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-link-countries.d.cts","names":[],"sources":["../../src/actions/get-link-countries.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEgD;AAAA,cAShF,6BAAA,EAA+B,CAAA,CAAE,UAEsC;AAAA,cAEvE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-link-countries.d.cts","names":[],"sources":["../../src/actions/get-link-countries.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-link-countries.d.ts
4
- declare const ShortIoGetLinkCountriesInput: z.ZodTypeAny;
5
- declare const ShortIoGetLinkCountriesOutput: z.ZodTypeAny;
6
- declare const shortIoGetLinkCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShortIoGetLinkCountriesInput: z.ZodObject<{
5
+ linkId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ShortIoGetLinkCountriesOutput: z.ZodObject<{
8
+ countries: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ country: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ originalURL: z.ZodNullable<z.ZodString>;
14
+ link_idString: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const shortIoGetLinkCountries: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ linkId: string;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { shortIoGetLinkCountries };
9
22
  //# sourceMappingURL=get-link-countries.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-link-countries.d.mts","names":[],"sources":["../../src/actions/get-link-countries.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEgD;AAAA,cAShF,6BAAA,EAA+B,CAAA,CAAE,UAEsC;AAAA,cAEvE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-link-countries.d.mts","names":[],"sources":["../../src/actions/get-link-countries.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -3,19 +3,19 @@ import { z } from "zod";
3
3
  //#region src/actions/get-link-countries.ts
4
4
  const ShortIoGetLinkCountriesInput = z.object({ linkId: z.string().describe("Unique identifier of the link to fetch country-targeting rules for") }).describe("Request parameters for retrieving country-targeting rules for a specific link.");
5
5
  const ShortIoGetLinkCountries_LinkCountrySchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the country rule"),
7
- country: z.string().describe("ISO 3166-1 alpha-2 country code for targeting"),
8
- createdAt: z.string().describe("Timestamp when the rule was created (ISO 8601)"),
9
- updatedAt: z.string().describe("Timestamp when the rule was last updated (ISO 8601)"),
10
- originalURL: z.string().describe("Target URL for this country"),
6
+ id: z.number().int().describe("Unique identifier of the country rule").nullable(),
7
+ country: z.string().describe("ISO 3166-1 alpha-2 country code for targeting").nullable(),
8
+ createdAt: z.string().describe("Timestamp when the rule was created (ISO 8601)").nullable(),
9
+ updatedAt: z.string().describe("Timestamp when the rule was last updated (ISO 8601)").nullable(),
10
+ originalURL: z.string().describe("Target URL for this country").nullable(),
11
11
  link_idString: z.string().describe("The short link identifier").nullable().optional()
12
- }).describe("Schema for a single country-targeting rule for a link.");
12
+ }).passthrough().describe("Schema for a single country-targeting rule for a link.");
13
13
  const shortIoGetLinkCountries = action("SHORT_IO_GET_LINK_COUNTRIES", {
14
14
  slug: "short_io-get-link-countries",
15
15
  name: "Get Link Countries",
16
16
  description: "Tool to get country targeting rules for a short link. Use when you need to retrieve all country-based redirect configurations for a specific link.",
17
17
  input: ShortIoGetLinkCountriesInput,
18
- output: z.object({ countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe("List of country-based targeting rules") }).describe("Response schema containing the list of country-based targeting rules.")
18
+ output: z.object({ countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe("List of country-based targeting rules") }).passthrough().describe("Response schema containing the list of country-based targeting rules.")
19
19
  });
20
20
  //#endregion
21
21
  export { shortIoGetLinkCountries };
@@ -1 +1 @@
1
- {"version":3,"file":"get-link-countries.mjs","names":[],"sources":["../../src/actions/get-link-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkCountriesInput: z.ZodTypeAny = z.object({\n linkId: z.string().describe(\"Unique identifier of the link to fetch country-targeting rules for\"),\n}).describe(\"Request parameters for retrieving country-targeting rules for a specific link.\");\nconst ShortIoGetLinkCountries_LinkCountrySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the country rule\"),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\"),\n createdAt: z.string().describe(\"Timestamp when the rule was created (ISO 8601)\"),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\"),\n originalURL: z.string().describe(\"Target URL for this country\"),\n link_idString: z.string().describe(\"The short link identifier\").nullable().optional(),\n}).describe(\"Schema for a single country-targeting rule for a link.\");\nexport const ShortIoGetLinkCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe(\"List of country-based targeting rules\"),\n}).describe(\"Response schema containing the list of country-based targeting rules.\");\n\nexport const shortIoGetLinkCountries = action(\"SHORT_IO_GET_LINK_COUNTRIES\", {\n slug: \"short_io-get-link-countries\",\n name: \"Get Link Countries\",\n description: \"Tool to get country targeting rules for a short link. Use when you need to retrieve all country-based redirect configurations for a specific link.\",\n input: ShortIoGetLinkCountriesInput,\n output: ShortIoGetLinkCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EAClG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAKpE,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,SAAS,uEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-link-countries.mjs","names":[],"sources":["../../src/actions/get-link-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkCountriesInput = z.object({\n linkId: z.string().describe(\"Unique identifier of the link to fetch country-targeting rules for\"),\n}).describe(\"Request parameters for retrieving country-targeting rules for a specific link.\");\nconst ShortIoGetLinkCountries_LinkCountrySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the country rule\").nullable(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the rule was created (ISO 8601)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\").nullable(),\n originalURL: z.string().describe(\"Target URL for this country\").nullable(),\n link_idString: z.string().describe(\"The short link identifier\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single country-targeting rule for a link.\");\nexport const ShortIoGetLinkCountriesOutput = z.object({\n countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe(\"List of country-based targeting rules\"),\n}).passthrough().describe(\"Response schema containing the list of country-based targeting rules.\");\n\nexport const shortIoGetLinkCountries = action(\"SHORT_IO_GET_LINK_COUNTRIES\", {\n slug: \"short_io-get-link-countries\",\n name: \"Get Link Countries\",\n description: \"Tool to get country targeting rules for a short link. Use when you need to retrieve all country-based redirect configurations for a specific link.\",\n input: ShortIoGetLinkCountriesInput,\n output: ShortIoGetLinkCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EAClG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}