@keystrokehq/short_io 0.1.5 → 0.1.6

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 (341) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-links-bulk.cjs +1 -0
  4. package/dist/actions/add-tag-to-links-bulk.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-links-bulk.d.cts +3 -16
  6. package/dist/actions/add-tag-to-links-bulk.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-links-bulk.d.mts +3 -16
  8. package/dist/actions/add-tag-to-links-bulk.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-links-bulk.mjs +1 -0
  10. package/dist/actions/add-tag-to-links-bulk.mjs.map +1 -1
  11. package/dist/actions/archive-link.cjs +1 -0
  12. package/dist/actions/archive-link.cjs.map +1 -1
  13. package/dist/actions/archive-link.d.cts +3 -16
  14. package/dist/actions/archive-link.d.cts.map +1 -1
  15. package/dist/actions/archive-link.d.mts +3 -16
  16. package/dist/actions/archive-link.d.mts.map +1 -1
  17. package/dist/actions/archive-link.mjs +1 -0
  18. package/dist/actions/archive-link.mjs.map +1 -1
  19. package/dist/actions/create-folder.cjs +1 -0
  20. package/dist/actions/create-folder.cjs.map +1 -1
  21. package/dist/actions/create-folder.d.cts +3 -16
  22. package/dist/actions/create-folder.d.cts.map +1 -1
  23. package/dist/actions/create-folder.d.mts +3 -16
  24. package/dist/actions/create-folder.d.mts.map +1 -1
  25. package/dist/actions/create-folder.mjs +1 -0
  26. package/dist/actions/create-folder.mjs.map +1 -1
  27. package/dist/actions/create-link.cjs +1 -0
  28. package/dist/actions/create-link.cjs.map +1 -1
  29. package/dist/actions/create-link.d.cts +3 -19
  30. package/dist/actions/create-link.d.cts.map +1 -1
  31. package/dist/actions/create-link.d.mts +3 -19
  32. package/dist/actions/create-link.d.mts.map +1 -1
  33. package/dist/actions/create-link.mjs +1 -0
  34. package/dist/actions/create-link.mjs.map +1 -1
  35. package/dist/actions/delete-link-permission.cjs +1 -0
  36. package/dist/actions/delete-link-permission.cjs.map +1 -1
  37. package/dist/actions/delete-link-permission.d.cts +3 -17
  38. package/dist/actions/delete-link-permission.d.cts.map +1 -1
  39. package/dist/actions/delete-link-permission.d.mts +3 -17
  40. package/dist/actions/delete-link-permission.d.mts.map +1 -1
  41. package/dist/actions/delete-link-permission.mjs +1 -0
  42. package/dist/actions/delete-link-permission.mjs.map +1 -1
  43. package/dist/actions/delete-link.cjs +1 -0
  44. package/dist/actions/delete-link.cjs.map +1 -1
  45. package/dist/actions/delete-link.d.cts +3 -15
  46. package/dist/actions/delete-link.d.cts.map +1 -1
  47. package/dist/actions/delete-link.d.mts +3 -15
  48. package/dist/actions/delete-link.d.mts.map +1 -1
  49. package/dist/actions/delete-link.mjs +1 -0
  50. package/dist/actions/delete-link.mjs.map +1 -1
  51. package/dist/actions/delete-links-bulk.cjs +1 -0
  52. package/dist/actions/delete-links-bulk.cjs.map +1 -1
  53. package/dist/actions/delete-links-bulk.d.cts +3 -15
  54. package/dist/actions/delete-links-bulk.d.cts.map +1 -1
  55. package/dist/actions/delete-links-bulk.d.mts +3 -15
  56. package/dist/actions/delete-links-bulk.d.mts.map +1 -1
  57. package/dist/actions/delete-links-bulk.mjs +1 -0
  58. package/dist/actions/delete-links-bulk.mjs.map +1 -1
  59. package/dist/actions/duplicate-link.cjs +1 -0
  60. package/dist/actions/duplicate-link.cjs.map +1 -1
  61. package/dist/actions/duplicate-link.d.cts +3 -15
  62. package/dist/actions/duplicate-link.d.cts.map +1 -1
  63. package/dist/actions/duplicate-link.d.mts +3 -15
  64. package/dist/actions/duplicate-link.d.mts.map +1 -1
  65. package/dist/actions/duplicate-link.mjs +1 -0
  66. package/dist/actions/duplicate-link.mjs.map +1 -1
  67. package/dist/actions/generate-qr-code.cjs +1 -0
  68. package/dist/actions/generate-qr-code.cjs.map +1 -1
  69. package/dist/actions/generate-qr-code.d.cts +3 -16
  70. package/dist/actions/generate-qr-code.d.cts.map +1 -1
  71. package/dist/actions/generate-qr-code.d.mts +3 -16
  72. package/dist/actions/generate-qr-code.d.mts.map +1 -1
  73. package/dist/actions/generate-qr-code.mjs +1 -0
  74. package/dist/actions/generate-qr-code.mjs.map +1 -1
  75. package/dist/actions/get-bundle-templates.cjs +1 -0
  76. package/dist/actions/get-bundle-templates.cjs.map +1 -1
  77. package/dist/actions/get-bundle-templates.d.cts +3 -13
  78. package/dist/actions/get-bundle-templates.d.cts.map +1 -1
  79. package/dist/actions/get-bundle-templates.d.mts +3 -13
  80. package/dist/actions/get-bundle-templates.d.mts.map +1 -1
  81. package/dist/actions/get-bundle-templates.mjs +1 -0
  82. package/dist/actions/get-bundle-templates.mjs.map +1 -1
  83. package/dist/actions/get-domain-by-id.cjs +1 -0
  84. package/dist/actions/get-domain-by-id.cjs.map +1 -1
  85. package/dist/actions/get-domain-by-id.d.cts +3 -15
  86. package/dist/actions/get-domain-by-id.d.cts.map +1 -1
  87. package/dist/actions/get-domain-by-id.d.mts +3 -15
  88. package/dist/actions/get-domain-by-id.d.mts.map +1 -1
  89. package/dist/actions/get-domain-by-id.mjs +1 -0
  90. package/dist/actions/get-domain-by-id.mjs.map +1 -1
  91. package/dist/actions/get-domain-statistics.cjs +1 -0
  92. package/dist/actions/get-domain-statistics.cjs.map +1 -1
  93. package/dist/actions/get-domain-statistics.d.cts +4 -21
  94. package/dist/actions/get-domain-statistics.d.cts.map +1 -1
  95. package/dist/actions/get-domain-statistics.d.mts +4 -21
  96. package/dist/actions/get-domain-statistics.d.mts.map +1 -1
  97. package/dist/actions/get-domain-statistics.mjs +1 -0
  98. package/dist/actions/get-domain-statistics.mjs.map +1 -1
  99. package/dist/actions/get-domains-link-clicks.cjs +1 -0
  100. package/dist/actions/get-domains-link-clicks.cjs.map +1 -1
  101. package/dist/actions/get-domains-link-clicks.d.cts +3 -16
  102. package/dist/actions/get-domains-link-clicks.d.cts.map +1 -1
  103. package/dist/actions/get-domains-link-clicks.d.mts +3 -16
  104. package/dist/actions/get-domains-link-clicks.d.mts.map +1 -1
  105. package/dist/actions/get-domains-link-clicks.mjs +1 -0
  106. package/dist/actions/get-domains-link-clicks.mjs.map +1 -1
  107. package/dist/actions/get-domains-paths.cjs +1 -0
  108. package/dist/actions/get-domains-paths.cjs.map +1 -1
  109. package/dist/actions/get-domains-paths.d.cts +4 -20
  110. package/dist/actions/get-domains-paths.d.cts.map +1 -1
  111. package/dist/actions/get-domains-paths.d.mts +4 -20
  112. package/dist/actions/get-domains-paths.d.mts.map +1 -1
  113. package/dist/actions/get-domains-paths.mjs +1 -0
  114. package/dist/actions/get-domains-paths.mjs.map +1 -1
  115. package/dist/actions/get-folder.cjs +1 -0
  116. package/dist/actions/get-folder.cjs.map +1 -1
  117. package/dist/actions/get-folder.d.cts +3 -16
  118. package/dist/actions/get-folder.d.cts.map +1 -1
  119. package/dist/actions/get-folder.d.mts +3 -16
  120. package/dist/actions/get-folder.d.mts.map +1 -1
  121. package/dist/actions/get-folder.mjs +1 -0
  122. package/dist/actions/get-folder.mjs.map +1 -1
  123. package/dist/actions/get-link-by-original-url.cjs +1 -0
  124. package/dist/actions/get-link-by-original-url.cjs.map +1 -1
  125. package/dist/actions/get-link-by-original-url.d.cts +3 -16
  126. package/dist/actions/get-link-by-original-url.d.cts.map +1 -1
  127. package/dist/actions/get-link-by-original-url.d.mts +3 -16
  128. package/dist/actions/get-link-by-original-url.d.mts.map +1 -1
  129. package/dist/actions/get-link-by-original-url.mjs +1 -0
  130. package/dist/actions/get-link-by-original-url.mjs.map +1 -1
  131. package/dist/actions/get-link-countries.cjs +1 -0
  132. package/dist/actions/get-link-countries.cjs.map +1 -1
  133. package/dist/actions/get-link-countries.d.cts +3 -15
  134. package/dist/actions/get-link-countries.d.cts.map +1 -1
  135. package/dist/actions/get-link-countries.d.mts +3 -15
  136. package/dist/actions/get-link-countries.d.mts.map +1 -1
  137. package/dist/actions/get-link-countries.mjs +1 -0
  138. package/dist/actions/get-link-countries.mjs.map +1 -1
  139. package/dist/actions/get-link-info-by-link-id.cjs +1 -0
  140. package/dist/actions/get-link-info-by-link-id.cjs.map +1 -1
  141. package/dist/actions/get-link-info-by-link-id.d.cts +3 -16
  142. package/dist/actions/get-link-info-by-link-id.d.cts.map +1 -1
  143. package/dist/actions/get-link-info-by-link-id.d.mts +3 -16
  144. package/dist/actions/get-link-info-by-link-id.d.mts.map +1 -1
  145. package/dist/actions/get-link-info-by-link-id.mjs +1 -0
  146. package/dist/actions/get-link-info-by-link-id.mjs.map +1 -1
  147. package/dist/actions/get-link-info-by-path.cjs +1 -0
  148. package/dist/actions/get-link-info-by-path.cjs.map +1 -1
  149. package/dist/actions/get-link-info-by-path.d.cts +3 -16
  150. package/dist/actions/get-link-info-by-path.d.cts.map +1 -1
  151. package/dist/actions/get-link-info-by-path.d.mts +3 -16
  152. package/dist/actions/get-link-info-by-path.d.mts.map +1 -1
  153. package/dist/actions/get-link-info-by-path.mjs +1 -0
  154. package/dist/actions/get-link-info-by-path.mjs.map +1 -1
  155. package/dist/actions/get-link-open-graph-properties.cjs +1 -0
  156. package/dist/actions/get-link-open-graph-properties.cjs.map +1 -1
  157. package/dist/actions/get-link-open-graph-properties.d.cts +3 -16
  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 +3 -16
  160. package/dist/actions/get-link-open-graph-properties.d.mts.map +1 -1
  161. package/dist/actions/get-link-open-graph-properties.mjs +1 -0
  162. package/dist/actions/get-link-open-graph-properties.mjs.map +1 -1
  163. package/dist/actions/get-link-permissions.cjs +1 -0
  164. package/dist/actions/get-link-permissions.cjs.map +1 -1
  165. package/dist/actions/get-link-permissions.d.cts +3 -16
  166. package/dist/actions/get-link-permissions.d.cts.map +1 -1
  167. package/dist/actions/get-link-permissions.d.mts +3 -16
  168. package/dist/actions/get-link-permissions.d.mts.map +1 -1
  169. package/dist/actions/get-link-permissions.mjs +1 -0
  170. package/dist/actions/get-link-permissions.mjs.map +1 -1
  171. package/dist/actions/get-link-region-list-country.cjs +1 -0
  172. package/dist/actions/get-link-region-list-country.cjs.map +1 -1
  173. package/dist/actions/get-link-region-list-country.d.cts +3 -15
  174. package/dist/actions/get-link-region-list-country.d.cts.map +1 -1
  175. package/dist/actions/get-link-region-list-country.d.mts +3 -15
  176. package/dist/actions/get-link-region-list-country.d.mts.map +1 -1
  177. package/dist/actions/get-link-region-list-country.mjs +1 -0
  178. package/dist/actions/get-link-region-list-country.mjs.map +1 -1
  179. package/dist/actions/get-link-regions.cjs +1 -0
  180. package/dist/actions/get-link-regions.cjs.map +1 -1
  181. package/dist/actions/get-link-regions.d.cts +3 -15
  182. package/dist/actions/get-link-regions.d.cts.map +1 -1
  183. package/dist/actions/get-link-regions.d.mts +3 -15
  184. package/dist/actions/get-link-regions.d.mts.map +1 -1
  185. package/dist/actions/get-link-regions.mjs +1 -0
  186. package/dist/actions/get-link-regions.mjs.map +1 -1
  187. package/dist/actions/get-link-statistics.cjs +1 -0
  188. package/dist/actions/get-link-statistics.cjs.map +1 -1
  189. package/dist/actions/get-link-statistics.d.cts +4 -22
  190. package/dist/actions/get-link-statistics.d.cts.map +1 -1
  191. package/dist/actions/get-link-statistics.d.mts +4 -22
  192. package/dist/actions/get-link-statistics.d.mts.map +1 -1
  193. package/dist/actions/get-link-statistics.mjs +1 -0
  194. package/dist/actions/get-link-statistics.mjs.map +1 -1
  195. package/dist/actions/get-link-tweetbot.cjs +1 -0
  196. package/dist/actions/get-link-tweetbot.cjs.map +1 -1
  197. package/dist/actions/get-link-tweetbot.d.cts +3 -19
  198. package/dist/actions/get-link-tweetbot.d.cts.map +1 -1
  199. package/dist/actions/get-link-tweetbot.d.mts +3 -19
  200. package/dist/actions/get-link-tweetbot.d.mts.map +1 -1
  201. package/dist/actions/get-link-tweetbot.mjs +1 -0
  202. package/dist/actions/get-link-tweetbot.mjs.map +1 -1
  203. package/dist/actions/get-links-by-original-url.cjs +1 -0
  204. package/dist/actions/get-links-by-original-url.cjs.map +1 -1
  205. package/dist/actions/get-links-by-original-url.d.cts +3 -16
  206. package/dist/actions/get-links-by-original-url.d.cts.map +1 -1
  207. package/dist/actions/get-links-by-original-url.d.mts +3 -16
  208. package/dist/actions/get-links-by-original-url.d.mts.map +1 -1
  209. package/dist/actions/get-links-by-original-url.mjs +1 -0
  210. package/dist/actions/get-links-by-original-url.mjs.map +1 -1
  211. package/dist/actions/get-links-list.cjs +1 -0
  212. package/dist/actions/get-links-list.cjs.map +1 -1
  213. package/dist/actions/get-links-list.d.cts +3 -23
  214. package/dist/actions/get-links-list.d.cts.map +1 -1
  215. package/dist/actions/get-links-list.d.mts +3 -23
  216. package/dist/actions/get-links-list.d.mts.map +1 -1
  217. package/dist/actions/get-links-list.mjs +1 -0
  218. package/dist/actions/get-links-list.mjs.map +1 -1
  219. package/dist/actions/list-domains.cjs +1 -0
  220. package/dist/actions/list-domains.cjs.map +1 -1
  221. package/dist/actions/list-domains.d.cts +3 -13
  222. package/dist/actions/list-domains.d.cts.map +1 -1
  223. package/dist/actions/list-domains.d.mts +3 -13
  224. package/dist/actions/list-domains.d.mts.map +1 -1
  225. package/dist/actions/list-domains.mjs +1 -0
  226. package/dist/actions/list-domains.mjs.map +1 -1
  227. package/dist/actions/list-folders.cjs +1 -0
  228. package/dist/actions/list-folders.cjs.map +1 -1
  229. package/dist/actions/list-folders.d.cts +3 -15
  230. package/dist/actions/list-folders.d.cts.map +1 -1
  231. package/dist/actions/list-folders.d.mts +3 -15
  232. package/dist/actions/list-folders.d.mts.map +1 -1
  233. package/dist/actions/list-folders.mjs +1 -0
  234. package/dist/actions/list-folders.mjs.map +1 -1
  235. package/dist/actions/post-domain-link-clicks.cjs +1 -0
  236. package/dist/actions/post-domain-link-clicks.cjs.map +1 -1
  237. package/dist/actions/post-domain-link-clicks.d.cts +3 -22
  238. package/dist/actions/post-domain-link-clicks.d.cts.map +1 -1
  239. package/dist/actions/post-domain-link-clicks.d.mts +3 -22
  240. package/dist/actions/post-domain-link-clicks.d.mts.map +1 -1
  241. package/dist/actions/post-domain-link-clicks.mjs +1 -0
  242. package/dist/actions/post-domain-link-clicks.mjs.map +1 -1
  243. package/dist/actions/post-domain-stats.cjs +1 -0
  244. package/dist/actions/post-domain-stats.cjs.map +1 -1
  245. package/dist/actions/post-domain-stats.d.cts +4 -48
  246. package/dist/actions/post-domain-stats.d.cts.map +1 -1
  247. package/dist/actions/post-domain-stats.d.mts +4 -48
  248. package/dist/actions/post-domain-stats.d.mts.map +1 -1
  249. package/dist/actions/post-domain-stats.mjs +1 -0
  250. package/dist/actions/post-domain-stats.mjs.map +1 -1
  251. package/dist/actions/post-domains-by-interval.cjs +1 -0
  252. package/dist/actions/post-domains-by-interval.cjs.map +1 -1
  253. package/dist/actions/post-domains-by-interval.d.cts +4 -20
  254. package/dist/actions/post-domains-by-interval.d.cts.map +1 -1
  255. package/dist/actions/post-domains-by-interval.d.mts +4 -20
  256. package/dist/actions/post-domains-by-interval.d.mts.map +1 -1
  257. package/dist/actions/post-domains-by-interval.mjs +1 -0
  258. package/dist/actions/post-domains-by-interval.mjs.map +1 -1
  259. package/dist/actions/post-domains-last-clicks.cjs +1 -0
  260. package/dist/actions/post-domains-last-clicks.cjs.map +1 -1
  261. package/dist/actions/post-domains-last-clicks.d.cts +4 -29
  262. package/dist/actions/post-domains-last-clicks.d.cts.map +1 -1
  263. package/dist/actions/post-domains-last-clicks.d.mts +4 -29
  264. package/dist/actions/post-domains-last-clicks.d.mts.map +1 -1
  265. package/dist/actions/post-domains-last-clicks.mjs +1 -0
  266. package/dist/actions/post-domains-last-clicks.mjs.map +1 -1
  267. package/dist/actions/post-domains-top.cjs +1 -0
  268. package/dist/actions/post-domains-top.cjs.map +1 -1
  269. package/dist/actions/post-domains-top.d.cts +3 -17
  270. package/dist/actions/post-domains-top.d.cts.map +1 -1
  271. package/dist/actions/post-domains-top.d.mts +3 -17
  272. package/dist/actions/post-domains-top.d.mts.map +1 -1
  273. package/dist/actions/post-domains-top.mjs +1 -0
  274. package/dist/actions/post-domains-top.mjs.map +1 -1
  275. package/dist/actions/post-links-archive-bulk.cjs +1 -0
  276. package/dist/actions/post-links-archive-bulk.cjs.map +1 -1
  277. package/dist/actions/post-links-archive-bulk.d.cts +3 -16
  278. package/dist/actions/post-links-archive-bulk.d.cts.map +1 -1
  279. package/dist/actions/post-links-archive-bulk.d.mts +3 -16
  280. package/dist/actions/post-links-archive-bulk.d.mts.map +1 -1
  281. package/dist/actions/post-links-archive-bulk.mjs +1 -0
  282. package/dist/actions/post-links-archive-bulk.mjs.map +1 -1
  283. package/dist/actions/post-links-bulk.cjs +1 -0
  284. package/dist/actions/post-links-bulk.cjs.map +1 -1
  285. package/dist/actions/post-links-bulk.d.cts +3 -22
  286. package/dist/actions/post-links-bulk.d.cts.map +1 -1
  287. package/dist/actions/post-links-bulk.d.mts +3 -22
  288. package/dist/actions/post-links-bulk.d.mts.map +1 -1
  289. package/dist/actions/post-links-bulk.mjs +1 -0
  290. package/dist/actions/post-links-bulk.mjs.map +1 -1
  291. package/dist/actions/post-links-qr-bulk.cjs +1 -0
  292. package/dist/actions/post-links-qr-bulk.cjs.map +1 -1
  293. package/dist/actions/post-links-qr-bulk.d.cts +3 -22
  294. package/dist/actions/post-links-qr-bulk.d.cts.map +1 -1
  295. package/dist/actions/post-links-qr-bulk.d.mts +3 -22
  296. package/dist/actions/post-links-qr-bulk.d.mts.map +1 -1
  297. package/dist/actions/post-links-qr-bulk.mjs +1 -0
  298. package/dist/actions/post-links-qr-bulk.mjs.map +1 -1
  299. package/dist/actions/post-links-unarchive-bulk.cjs +1 -0
  300. package/dist/actions/post-links-unarchive-bulk.cjs.map +1 -1
  301. package/dist/actions/post-links-unarchive-bulk.d.cts +3 -15
  302. package/dist/actions/post-links-unarchive-bulk.d.cts.map +1 -1
  303. package/dist/actions/post-links-unarchive-bulk.d.mts +3 -15
  304. package/dist/actions/post-links-unarchive-bulk.d.mts.map +1 -1
  305. package/dist/actions/post-links-unarchive-bulk.mjs +1 -0
  306. package/dist/actions/post-links-unarchive-bulk.mjs.map +1 -1
  307. package/dist/actions/unarchive-link.cjs +1 -0
  308. package/dist/actions/unarchive-link.cjs.map +1 -1
  309. package/dist/actions/unarchive-link.d.cts +3 -16
  310. package/dist/actions/unarchive-link.d.cts.map +1 -1
  311. package/dist/actions/unarchive-link.d.mts +3 -16
  312. package/dist/actions/unarchive-link.d.mts.map +1 -1
  313. package/dist/actions/unarchive-link.mjs +1 -0
  314. package/dist/actions/unarchive-link.mjs.map +1 -1
  315. package/dist/actions/update-domain-settings.cjs +1 -0
  316. package/dist/actions/update-domain-settings.cjs.map +1 -1
  317. package/dist/actions/update-domain-settings.d.cts +3 -16
  318. package/dist/actions/update-domain-settings.d.cts.map +1 -1
  319. package/dist/actions/update-domain-settings.d.mts +3 -16
  320. package/dist/actions/update-domain-settings.d.mts.map +1 -1
  321. package/dist/actions/update-domain-settings.mjs +1 -0
  322. package/dist/actions/update-domain-settings.mjs.map +1 -1
  323. package/dist/actions/update-link.cjs +1 -0
  324. package/dist/actions/update-link.cjs.map +1 -1
  325. package/dist/actions/update-link.d.cts +3 -43
  326. package/dist/actions/update-link.d.cts.map +1 -1
  327. package/dist/actions/update-link.d.mts +3 -43
  328. package/dist/actions/update-link.d.mts.map +1 -1
  329. package/dist/actions/update-link.mjs +1 -0
  330. package/dist/actions/update-link.mjs.map +1 -1
  331. package/dist/app.cjs +2 -2
  332. package/dist/app.cjs.map +1 -1
  333. package/dist/app.d.cts +4 -6
  334. package/dist/app.d.cts.map +1 -1
  335. package/dist/app.d.mts +4 -6
  336. package/dist/app.d.mts.map +1 -1
  337. package/dist/app.mjs +0 -1
  338. package/dist/app.mjs.map +1 -1
  339. package/dist/index.d.cts +1 -1
  340. package/dist/index.d.mts +1 -1
  341. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { shortIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-domain-settings.d.ts
@@ -8,22 +10,7 @@ declare const ShortIoUpdateDomainSettingsInput: z.ZodObject<{
8
10
  declare const ShortIoUpdateDomainSettingsOutput: z.ZodObject<{
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const shortIoUpdateDomainSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- domainId: string;
13
- rootRedirect?: string | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const shortIoUpdateDomainSettings: AppAction<typeof ShortIoUpdateDomainSettingsInput, typeof ShortIoUpdateDomainSettingsOutput, typeof shortIo.credential>;
27
14
  //#endregion
28
15
  export { shortIoUpdateDomainSettings };
29
16
  //# sourceMappingURL=update-domain-settings.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-domain-settings.d.cts","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"update-domain-settings.d.cts","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shortIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-domain-settings.d.ts
@@ -8,22 +10,7 @@ declare const ShortIoUpdateDomainSettingsInput: z.ZodObject<{
8
10
  declare const ShortIoUpdateDomainSettingsOutput: z.ZodObject<{
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const shortIoUpdateDomainSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- domainId: string;
13
- rootRedirect?: string | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const shortIoUpdateDomainSettings: AppAction<typeof ShortIoUpdateDomainSettingsInput, typeof ShortIoUpdateDomainSettingsOutput, typeof shortIo.credential>;
27
14
  //#endregion
28
15
  export { shortIoUpdateDomainSettings };
29
16
  //# sourceMappingURL=update-domain-settings.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-domain-settings.d.mts","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"update-domain-settings.d.mts","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const shortIoUpdateDomainSettings = action("SHORT_IO_UPDATE_DOMAIN_SETTINGS", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-domain-settings.mjs","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoUpdateDomainSettingsInput = z.object({\n domainId: z.string().describe(\"The unique identifier of the domain to update.\"),\n rootRedirect: z.string().describe(\"URL to redirect customers when visiting your short domain root. If not provided, the existing redirect URL remains unchanged.\").optional(),\n}).describe(\"Request model for updating domain settings.\");\nexport const ShortIoUpdateDomainSettingsOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the domain update operation completed successfully.\").nullable(),\n}).passthrough().describe(\"Response model for domain settings update operation.\");\n\nexport const shortIoUpdateDomainSettings = action(\"SHORT_IO_UPDATE_DOMAIN_SETTINGS\", {\n slug: \"short_io-update-domain-settings\",\n name: \"Update Domain Settings\",\n description: \"Tool to update domain settings for a Short.io domain. Use when you need to modify domain configuration such as the root redirect URL.\",\n input: ShortIoUpdateDomainSettingsInput,\n output: ShortIoUpdateDomainSettingsOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,6CASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-domain-settings.mjs","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoUpdateDomainSettingsInput = z.object({\n domainId: z.string().describe(\"The unique identifier of the domain to update.\"),\n rootRedirect: z.string().describe(\"URL to redirect customers when visiting your short domain root. If not provided, the existing redirect URL remains unchanged.\").optional(),\n}).describe(\"Request model for updating domain settings.\");\nexport const ShortIoUpdateDomainSettingsOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the domain update operation completed successfully.\").nullable(),\n}).passthrough().describe(\"Response model for domain settings update operation.\");\n\nexport const shortIoUpdateDomainSettings: AppAction<\n typeof ShortIoUpdateDomainSettingsInput,\n typeof ShortIoUpdateDomainSettingsOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_UPDATE_DOMAIN_SETTINGS\", {\n slug: \"short_io-update-domain-settings\",\n name: \"Update Domain Settings\",\n description: \"Tool to update domain settings for a Short.io domain. Use when you need to modify domain configuration such as the root redirect URL.\",\n input: ShortIoUpdateDomainSettingsInput,\n output: ShortIoUpdateDomainSettingsOutput,\n});\n"],"mappings":";;;AAcA,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,6CAaH;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-link.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-link.cjs","names":["z","action"],"sources":["../../src/actions/update-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoUpdateLinkInput = z.object({\n ttl: z.string().describe(\"Time-to-live: auto-delete the link after this duration. Accepts milliseconds or ISO 8601 duration string.\").optional(),\n path: z.string().describe(\"Custom path/slug for the short link (must be unique within the domain).\").optional(),\n tags: z.array(z.string()).describe(\"Array of tags to categorize the link.\").optional(),\n title: z.string().describe(\"Title or name for the link for organizational purposes.\").optional(),\n linkId: z.string().describe(\"The unique identifier of the link to update (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n skipQS: z.boolean().describe(\"If true, prevents merging query string parameters from the short URL to the destination URL.\").optional(),\n utmTerm: z.string().describe(\"UTM term parameter automatically appended to destination URL for analytics tracking.\").optional(),\n archived: z.boolean().describe(\"Archive or unarchive the link. Archived links remain accessible but are hidden from main lists.\").optional(),\n cloaking: z.boolean().describe(\"Enable cloaking to hide the destination URL from visitors (they see the short URL in the browser).\").optional(),\n password: z.string().describe(\"Set a password to restrict access to the link. Visitors must enter this password before being redirected.\").optional(),\n splitURL: z.string().describe(\"Alternate destination URL for A/B testing. Traffic is split based on splitPercent.\").optional(),\n createdAt: z.string().describe(\"Override link creation date in milliseconds timestamp.\").optional(),\n expiresAt: z.string().describe(\"Link expiration date/time. Accepts milliseconds timestamp (e.g., '1704067200000') or ISO 8601 string (e.g., '2024-01-01T00:00:00.000Z').\").optional(),\n iphoneURL: z.string().describe(\"Destination URL specifically for iPhone/iOS devices (deep linking).\").optional(),\n utmMedium: z.string().describe(\"UTM medium parameter automatically appended to destination URL for analytics tracking.\").optional(),\n utmSource: z.string().describe(\"UTM source parameter automatically appended to destination URL for analytics tracking.\").optional(),\n androidURL: z.string().describe(\"Destination URL specifically for Android devices (deep linking).\").optional(),\n expiredURL: z.string().describe(\"URL to redirect visitors to after the link expires.\").optional(),\n utmContent: z.string().describe(\"UTM content parameter automatically appended to destination URL for analytics tracking.\").optional(),\n clicksLimit: z.number().int().describe(\"Maximum number of clicks allowed. Link will be disabled after reaching this limit.\").optional(),\n originalURL: z.string().describe(\"New destination URL to update.\").optional(),\n utmCampaign: z.string().describe(\"UTM campaign parameter automatically appended to destination URL for analytics tracking.\").optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code: 301 (permanent), 302 (temporary), 307 (temporary preserving method), or 308 (permanent preserving method).\").optional(),\n splitPercent: z.number().int().describe(\"Percentage of traffic (1-100) to send to splitURL for A/B testing.\").optional(),\n integrationFB: z.string().describe(\"Facebook pixel/integration parameter for conversion tracking.\").optional(),\n integrationGA: z.string().describe(\"Google Analytics integration parameter.\").optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration parameter.\").optional(),\n passwordContact: z.boolean().describe(\"If true, provides your email to users so they can request the password.\").optional(),\n integrationAdroll: z.string().describe(\"Adroll pixel/integration parameter for ad retargeting.\").optional(),\n}).describe(\"Request model for updating an existing short link.\");\nexport const ShortIoUpdateLinkOutput = z.object({\n id: z.string().describe(\"Unique identifier of the link.\").nullable(),\n path: z.string().describe(\"Path/slug of the short link.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the link owner.\").nullable().optional(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled for the link.\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID.\").nullable(),\n password: z.string().describe(\"Indicates if password protection is enabled (actual password not returned).\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL.\").nullable(),\n createdAt: z.string().describe(\"Link creation timestamp in ISO 8601 format.\").nullable(),\n expiresAt: z.string().describe(\"Link expiration date/time, if set.\").nullable().optional(),\n iphoneURL: z.string().describe(\"iPhone-specific destination URL, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n androidURL: z.string().describe(\"Android-specific destination URL, if set.\").nullable().optional(),\n expiredURL: z.string().describe(\"URL to redirect to after expiration, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n clicksLimit: z.number().int().describe(\"Maximum clicks allowed, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Current destination URL of the link.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code being used.\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL.\").nullable(),\n}).passthrough().describe(\"Response model containing the updated link details.\");\n\nexport const shortIoUpdateLink = action(\"SHORT_IO_UPDATE_LINK\", {\n slug: \"short_io-update-link\",\n name: \"Update Link\",\n description: \"Tool to update an existing short link by its ID. Allows modifying destination URL, title, UTM parameters, password protection, expiration, tags, and various other link settings. Only specified fields are updated; omitted fields remain unchanged. Use when you need to edit any aspect of a previously created short link.\",\n input: ShortIoUpdateLinkInput,\n output: ShortIoUpdateLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,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AAqD;AAE/E,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-link.cjs","names":["z","action"],"sources":["../../src/actions/update-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoUpdateLinkInput = z.object({\n ttl: z.string().describe(\"Time-to-live: auto-delete the link after this duration. Accepts milliseconds or ISO 8601 duration string.\").optional(),\n path: z.string().describe(\"Custom path/slug for the short link (must be unique within the domain).\").optional(),\n tags: z.array(z.string()).describe(\"Array of tags to categorize the link.\").optional(),\n title: z.string().describe(\"Title or name for the link for organizational purposes.\").optional(),\n linkId: z.string().describe(\"The unique identifier of the link to update (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n skipQS: z.boolean().describe(\"If true, prevents merging query string parameters from the short URL to the destination URL.\").optional(),\n utmTerm: z.string().describe(\"UTM term parameter automatically appended to destination URL for analytics tracking.\").optional(),\n archived: z.boolean().describe(\"Archive or unarchive the link. Archived links remain accessible but are hidden from main lists.\").optional(),\n cloaking: z.boolean().describe(\"Enable cloaking to hide the destination URL from visitors (they see the short URL in the browser).\").optional(),\n password: z.string().describe(\"Set a password to restrict access to the link. Visitors must enter this password before being redirected.\").optional(),\n splitURL: z.string().describe(\"Alternate destination URL for A/B testing. Traffic is split based on splitPercent.\").optional(),\n createdAt: z.string().describe(\"Override link creation date in milliseconds timestamp.\").optional(),\n expiresAt: z.string().describe(\"Link expiration date/time. Accepts milliseconds timestamp (e.g., '1704067200000') or ISO 8601 string (e.g., '2024-01-01T00:00:00.000Z').\").optional(),\n iphoneURL: z.string().describe(\"Destination URL specifically for iPhone/iOS devices (deep linking).\").optional(),\n utmMedium: z.string().describe(\"UTM medium parameter automatically appended to destination URL for analytics tracking.\").optional(),\n utmSource: z.string().describe(\"UTM source parameter automatically appended to destination URL for analytics tracking.\").optional(),\n androidURL: z.string().describe(\"Destination URL specifically for Android devices (deep linking).\").optional(),\n expiredURL: z.string().describe(\"URL to redirect visitors to after the link expires.\").optional(),\n utmContent: z.string().describe(\"UTM content parameter automatically appended to destination URL for analytics tracking.\").optional(),\n clicksLimit: z.number().int().describe(\"Maximum number of clicks allowed. Link will be disabled after reaching this limit.\").optional(),\n originalURL: z.string().describe(\"New destination URL to update.\").optional(),\n utmCampaign: z.string().describe(\"UTM campaign parameter automatically appended to destination URL for analytics tracking.\").optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code: 301 (permanent), 302 (temporary), 307 (temporary preserving method), or 308 (permanent preserving method).\").optional(),\n splitPercent: z.number().int().describe(\"Percentage of traffic (1-100) to send to splitURL for A/B testing.\").optional(),\n integrationFB: z.string().describe(\"Facebook pixel/integration parameter for conversion tracking.\").optional(),\n integrationGA: z.string().describe(\"Google Analytics integration parameter.\").optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration parameter.\").optional(),\n passwordContact: z.boolean().describe(\"If true, provides your email to users so they can request the password.\").optional(),\n integrationAdroll: z.string().describe(\"Adroll pixel/integration parameter for ad retargeting.\").optional(),\n}).describe(\"Request model for updating an existing short link.\");\nexport const ShortIoUpdateLinkOutput = z.object({\n id: z.string().describe(\"Unique identifier of the link.\").nullable(),\n path: z.string().describe(\"Path/slug of the short link.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the link owner.\").nullable().optional(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled for the link.\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID.\").nullable(),\n password: z.string().describe(\"Indicates if password protection is enabled (actual password not returned).\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL.\").nullable(),\n createdAt: z.string().describe(\"Link creation timestamp in ISO 8601 format.\").nullable(),\n expiresAt: z.string().describe(\"Link expiration date/time, if set.\").nullable().optional(),\n iphoneURL: z.string().describe(\"iPhone-specific destination URL, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n androidURL: z.string().describe(\"Android-specific destination URL, if set.\").nullable().optional(),\n expiredURL: z.string().describe(\"URL to redirect to after expiration, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n clicksLimit: z.number().int().describe(\"Maximum clicks allowed, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Current destination URL of the link.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code being used.\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL.\").nullable(),\n}).passthrough().describe(\"Response model containing the updated link details.\");\n\nexport const shortIoUpdateLink: AppAction<\n typeof ShortIoUpdateLinkInput,\n typeof ShortIoUpdateLinkOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_UPDATE_LINK\", {\n slug: \"short_io-update-link\",\n name: \"Update Link\",\n description: \"Tool to update an existing short link by its ID. Allows modifying destination URL, title, UTM parameters, password protection, expiration, tags, and various other link settings. Only specified fields are updated; omitted fields remain unchanged. Use when you need to edit any aspect of a previously created short link.\",\n input: ShortIoUpdateLinkInput,\n output: ShortIoUpdateLinkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,O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CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shortIo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-link.d.ts
@@ -60,49 +62,7 @@ declare const ShortIoUpdateLinkOutput: z.ZodObject<{
60
62
  redirectType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
63
  secureShortURL: z.ZodNullable<z.ZodString>;
62
64
  }, z.core.$loose>;
63
- declare const shortIoUpdateLink: import("@keystrokehq/action").WorkflowActionDefinition<{
64
- linkId: string;
65
- ttl?: string | undefined;
66
- path?: string | undefined;
67
- tags?: string[] | undefined;
68
- title?: string | undefined;
69
- skipQS?: boolean | undefined;
70
- utmTerm?: string | undefined;
71
- archived?: boolean | undefined;
72
- cloaking?: boolean | undefined;
73
- password?: string | undefined;
74
- splitURL?: string | undefined;
75
- createdAt?: string | undefined;
76
- expiresAt?: string | undefined;
77
- iphoneURL?: string | undefined;
78
- utmMedium?: string | undefined;
79
- utmSource?: string | undefined;
80
- androidURL?: string | undefined;
81
- expiredURL?: string | undefined;
82
- utmContent?: string | undefined;
83
- clicksLimit?: number | undefined;
84
- originalURL?: string | undefined;
85
- utmCampaign?: string | undefined;
86
- redirectType?: number | undefined;
87
- splitPercent?: number | undefined;
88
- integrationFB?: string | undefined;
89
- integrationGA?: string | undefined;
90
- integrationGTM?: string | undefined;
91
- passwordContact?: boolean | undefined;
92
- integrationAdroll?: string | undefined;
93
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
94
- connectionId: z.ZodString;
95
- entityId: z.ZodString;
96
- instanceId: z.ZodString;
97
- }, z.core.$strip>, z.ZodObject<{
98
- generic_api_key: z.ZodString;
99
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
100
- connectionId: z.ZodString;
101
- entityId: z.ZodString;
102
- instanceId: z.ZodString;
103
- }, z.core.$strip>, z.ZodObject<{
104
- generic_api_key: z.ZodString;
105
- }, z.core.$strip>>]>;
65
+ declare const shortIoUpdateLink: AppAction<typeof ShortIoUpdateLinkInput, typeof ShortIoUpdateLinkOutput, typeof shortIo.credential>;
106
66
  //#endregion
107
67
  export { shortIoUpdateLink };
108
68
  //# sourceMappingURL=update-link.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-link.d.cts","names":[],"sources":["../../src/actions/update-link.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"update-link.d.cts","names":[],"sources":["../../src/actions/update-link.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shortIo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-link.d.ts
@@ -60,49 +62,7 @@ declare const ShortIoUpdateLinkOutput: z.ZodObject<{
60
62
  redirectType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
63
  secureShortURL: z.ZodNullable<z.ZodString>;
62
64
  }, z.core.$loose>;
63
- declare const shortIoUpdateLink: import("@keystrokehq/action").WorkflowActionDefinition<{
64
- linkId: string;
65
- ttl?: string | undefined;
66
- path?: string | undefined;
67
- tags?: string[] | undefined;
68
- title?: string | undefined;
69
- skipQS?: boolean | undefined;
70
- utmTerm?: string | undefined;
71
- archived?: boolean | undefined;
72
- cloaking?: boolean | undefined;
73
- password?: string | undefined;
74
- splitURL?: string | undefined;
75
- createdAt?: string | undefined;
76
- expiresAt?: string | undefined;
77
- iphoneURL?: string | undefined;
78
- utmMedium?: string | undefined;
79
- utmSource?: string | undefined;
80
- androidURL?: string | undefined;
81
- expiredURL?: string | undefined;
82
- utmContent?: string | undefined;
83
- clicksLimit?: number | undefined;
84
- originalURL?: string | undefined;
85
- utmCampaign?: string | undefined;
86
- redirectType?: number | undefined;
87
- splitPercent?: number | undefined;
88
- integrationFB?: string | undefined;
89
- integrationGA?: string | undefined;
90
- integrationGTM?: string | undefined;
91
- passwordContact?: boolean | undefined;
92
- integrationAdroll?: string | undefined;
93
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
94
- connectionId: z.ZodString;
95
- entityId: z.ZodString;
96
- instanceId: z.ZodString;
97
- }, z.core.$strip>, z.ZodObject<{
98
- generic_api_key: z.ZodString;
99
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
100
- connectionId: z.ZodString;
101
- entityId: z.ZodString;
102
- instanceId: z.ZodString;
103
- }, z.core.$strip>, z.ZodObject<{
104
- generic_api_key: z.ZodString;
105
- }, z.core.$strip>>]>;
65
+ declare const shortIoUpdateLink: AppAction<typeof ShortIoUpdateLinkInput, typeof ShortIoUpdateLinkOutput, typeof shortIo.credential>;
106
66
  //#endregion
107
67
  export { shortIoUpdateLink };
108
68
  //# sourceMappingURL=update-link.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-link.d.mts","names":[],"sources":["../../src/actions/update-link.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"update-link.d.mts","names":[],"sources":["../../src/actions/update-link.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const shortIoUpdateLink = action("SHORT_IO_UPDATE_LINK", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-link.mjs","names":[],"sources":["../../src/actions/update-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoUpdateLinkInput = z.object({\n ttl: z.string().describe(\"Time-to-live: auto-delete the link after this duration. Accepts milliseconds or ISO 8601 duration string.\").optional(),\n path: z.string().describe(\"Custom path/slug for the short link (must be unique within the domain).\").optional(),\n tags: z.array(z.string()).describe(\"Array of tags to categorize the link.\").optional(),\n title: z.string().describe(\"Title or name for the link for organizational purposes.\").optional(),\n linkId: z.string().describe(\"The unique identifier of the link to update (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n skipQS: z.boolean().describe(\"If true, prevents merging query string parameters from the short URL to the destination URL.\").optional(),\n utmTerm: z.string().describe(\"UTM term parameter automatically appended to destination URL for analytics tracking.\").optional(),\n archived: z.boolean().describe(\"Archive or unarchive the link. Archived links remain accessible but are hidden from main lists.\").optional(),\n cloaking: z.boolean().describe(\"Enable cloaking to hide the destination URL from visitors (they see the short URL in the browser).\").optional(),\n password: z.string().describe(\"Set a password to restrict access to the link. Visitors must enter this password before being redirected.\").optional(),\n splitURL: z.string().describe(\"Alternate destination URL for A/B testing. Traffic is split based on splitPercent.\").optional(),\n createdAt: z.string().describe(\"Override link creation date in milliseconds timestamp.\").optional(),\n expiresAt: z.string().describe(\"Link expiration date/time. Accepts milliseconds timestamp (e.g., '1704067200000') or ISO 8601 string (e.g., '2024-01-01T00:00:00.000Z').\").optional(),\n iphoneURL: z.string().describe(\"Destination URL specifically for iPhone/iOS devices (deep linking).\").optional(),\n utmMedium: z.string().describe(\"UTM medium parameter automatically appended to destination URL for analytics tracking.\").optional(),\n utmSource: z.string().describe(\"UTM source parameter automatically appended to destination URL for analytics tracking.\").optional(),\n androidURL: z.string().describe(\"Destination URL specifically for Android devices (deep linking).\").optional(),\n expiredURL: z.string().describe(\"URL to redirect visitors to after the link expires.\").optional(),\n utmContent: z.string().describe(\"UTM content parameter automatically appended to destination URL for analytics tracking.\").optional(),\n clicksLimit: z.number().int().describe(\"Maximum number of clicks allowed. Link will be disabled after reaching this limit.\").optional(),\n originalURL: z.string().describe(\"New destination URL to update.\").optional(),\n utmCampaign: z.string().describe(\"UTM campaign parameter automatically appended to destination URL for analytics tracking.\").optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code: 301 (permanent), 302 (temporary), 307 (temporary preserving method), or 308 (permanent preserving method).\").optional(),\n splitPercent: z.number().int().describe(\"Percentage of traffic (1-100) to send to splitURL for A/B testing.\").optional(),\n integrationFB: z.string().describe(\"Facebook pixel/integration parameter for conversion tracking.\").optional(),\n integrationGA: z.string().describe(\"Google Analytics integration parameter.\").optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration parameter.\").optional(),\n passwordContact: z.boolean().describe(\"If true, provides your email to users so they can request the password.\").optional(),\n integrationAdroll: z.string().describe(\"Adroll pixel/integration parameter for ad retargeting.\").optional(),\n}).describe(\"Request model for updating an existing short link.\");\nexport const ShortIoUpdateLinkOutput = z.object({\n id: z.string().describe(\"Unique identifier of the link.\").nullable(),\n path: z.string().describe(\"Path/slug of the short link.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the link owner.\").nullable().optional(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled for the link.\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID.\").nullable(),\n password: z.string().describe(\"Indicates if password protection is enabled (actual password not returned).\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL.\").nullable(),\n createdAt: z.string().describe(\"Link creation timestamp in ISO 8601 format.\").nullable(),\n expiresAt: z.string().describe(\"Link expiration date/time, if set.\").nullable().optional(),\n iphoneURL: z.string().describe(\"iPhone-specific destination URL, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n androidURL: z.string().describe(\"Android-specific destination URL, if set.\").nullable().optional(),\n expiredURL: z.string().describe(\"URL to redirect to after expiration, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n clicksLimit: z.number().int().describe(\"Maximum clicks allowed, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Current destination URL of the link.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code being used.\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL.\").nullable(),\n}).passthrough().describe(\"Response model containing the updated link details.\");\n\nexport const shortIoUpdateLink = action(\"SHORT_IO_UPDATE_LINK\", {\n slug: \"short_io-update-link\",\n name: \"Update Link\",\n description: \"Tool to update an existing short link by its ID. Allows modifying destination URL, title, UTM parameters, password protection, expiration, tags, and various other link settings. Only specified fields are updated; omitted fields remain unchanged. Use when you need to edit any aspect of a previously created short link.\",\n input: ShortIoUpdateLinkInput,\n output: ShortIoUpdateLinkOutput,\n});\n"],"mappings":";;AAgEA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhEoC,EAAE,OAAO;EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EAC/I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EACnH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC9H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC3I,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACpJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EACpL,WAAW,EAAE,OAAO,CAAC,CA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SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-link.mjs","names":[],"sources":["../../src/actions/update-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoUpdateLinkInput = z.object({\n ttl: z.string().describe(\"Time-to-live: auto-delete the link after this duration. Accepts milliseconds or ISO 8601 duration string.\").optional(),\n path: z.string().describe(\"Custom path/slug for the short link (must be unique within the domain).\").optional(),\n tags: z.array(z.string()).describe(\"Array of tags to categorize the link.\").optional(),\n title: z.string().describe(\"Title or name for the link for organizational purposes.\").optional(),\n linkId: z.string().describe(\"The unique identifier of the link to update (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n skipQS: z.boolean().describe(\"If true, prevents merging query string parameters from the short URL to the destination URL.\").optional(),\n utmTerm: z.string().describe(\"UTM term parameter automatically appended to destination URL for analytics tracking.\").optional(),\n archived: z.boolean().describe(\"Archive or unarchive the link. Archived links remain accessible but are hidden from main lists.\").optional(),\n cloaking: z.boolean().describe(\"Enable cloaking to hide the destination URL from visitors (they see the short URL in the browser).\").optional(),\n password: z.string().describe(\"Set a password to restrict access to the link. Visitors must enter this password before being redirected.\").optional(),\n splitURL: z.string().describe(\"Alternate destination URL for A/B testing. Traffic is split based on splitPercent.\").optional(),\n createdAt: z.string().describe(\"Override link creation date in milliseconds timestamp.\").optional(),\n expiresAt: z.string().describe(\"Link expiration date/time. Accepts milliseconds timestamp (e.g., '1704067200000') or ISO 8601 string (e.g., '2024-01-01T00:00:00.000Z').\").optional(),\n iphoneURL: z.string().describe(\"Destination URL specifically for iPhone/iOS devices (deep linking).\").optional(),\n utmMedium: z.string().describe(\"UTM medium parameter automatically appended to destination URL for analytics tracking.\").optional(),\n utmSource: z.string().describe(\"UTM source parameter automatically appended to destination URL for analytics tracking.\").optional(),\n androidURL: z.string().describe(\"Destination URL specifically for Android devices (deep linking).\").optional(),\n expiredURL: z.string().describe(\"URL to redirect visitors to after the link expires.\").optional(),\n utmContent: z.string().describe(\"UTM content parameter automatically appended to destination URL for analytics tracking.\").optional(),\n clicksLimit: z.number().int().describe(\"Maximum number of clicks allowed. Link will be disabled after reaching this limit.\").optional(),\n originalURL: z.string().describe(\"New destination URL to update.\").optional(),\n utmCampaign: z.string().describe(\"UTM campaign parameter automatically appended to destination URL for analytics tracking.\").optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code: 301 (permanent), 302 (temporary), 307 (temporary preserving method), or 308 (permanent preserving method).\").optional(),\n splitPercent: z.number().int().describe(\"Percentage of traffic (1-100) to send to splitURL for A/B testing.\").optional(),\n integrationFB: z.string().describe(\"Facebook pixel/integration parameter for conversion tracking.\").optional(),\n integrationGA: z.string().describe(\"Google Analytics integration parameter.\").optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration parameter.\").optional(),\n passwordContact: z.boolean().describe(\"If true, provides your email to users so they can request the password.\").optional(),\n integrationAdroll: z.string().describe(\"Adroll pixel/integration parameter for ad retargeting.\").optional(),\n}).describe(\"Request model for updating an existing short link.\");\nexport const ShortIoUpdateLinkOutput = z.object({\n id: z.string().describe(\"Unique identifier of the link.\").nullable(),\n path: z.string().describe(\"Path/slug of the short link.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the link owner.\").nullable().optional(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled for the link.\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID.\").nullable(),\n password: z.string().describe(\"Indicates if password protection is enabled (actual password not returned).\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL.\").nullable(),\n createdAt: z.string().describe(\"Link creation timestamp in ISO 8601 format.\").nullable(),\n expiresAt: z.string().describe(\"Link expiration date/time, if set.\").nullable().optional(),\n iphoneURL: z.string().describe(\"iPhone-specific destination URL, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n androidURL: z.string().describe(\"Android-specific destination URL, if set.\").nullable().optional(),\n expiredURL: z.string().describe(\"URL to redirect to after expiration, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n clicksLimit: z.number().int().describe(\"Maximum clicks allowed, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Current destination URL of the link.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code being used.\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL.\").nullable(),\n}).passthrough().describe(\"Response model containing the updated link details.\");\n\nexport const shortIoUpdateLink: AppAction<\n typeof ShortIoUpdateLinkInput,\n typeof ShortIoUpdateLinkOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_UPDATE_LINK\", {\n slug: \"short_io-update-link\",\n name: \"Update Link\",\n description: \"Tool to update an existing short link by its ID. Allows modifying destination URL, title, UTM parameters, password protection, expiration, tags, and various other link settings. Only specified fields are updated; omitted fields remain unchanged. Use when you need to edit any aspect of a previously created short link.\",\n input: ShortIoUpdateLinkInput,\n output: ShortIoUpdateLinkOutput,\n});\n"],"mappings":";;;AAkEA,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApEoC,EAAE,OAAO;EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EAC/I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC/F,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const shortIo = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "short_io",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.shortIo = shortIo;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const shortIo = defineApp({\n slug: \"short_io\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const shortIo: KeystrokeApp<\"short_io\", typeof credential> = defineApp({\n slug: \"short_io\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAiE;CAC5E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const shortIo: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const shortIo: KeystrokeApp<"short_io", typeof credential>;
11
9
  //#endregion
12
10
  export { shortIo };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const shortIo: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"short_io", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const shortIo: KeystrokeApp<"short_io", typeof credential>;
11
9
  //#endregion
12
10
  export { shortIo };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const shortIo = defineApp({
5
4
  slug: "short_io",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const shortIo = defineApp({\n slug: \"short_io\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const shortIo: KeystrokeApp<\"short_io\", typeof credential> = defineApp({\n slug: \"short_io\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,UAAuD,UAAU;CAC5E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { shortIo } from "./app.cjs";
1
2
  import { shortIoAddTagToLinksBulk } from "./actions/add-tag-to-links-bulk.cjs";
2
3
  import { shortIoArchiveLink } from "./actions/archive-link.cjs";
3
4
  import { shortIoCreateFolder } from "./actions/create-folder.cjs";
@@ -39,6 +40,5 @@ import { shortIoPostLinksUnarchiveBulk } from "./actions/post-links-unarchive-bu
39
40
  import { shortIoUnarchiveLink } from "./actions/unarchive-link.cjs";
40
41
  import { shortIoUpdateDomainSettings } from "./actions/update-domain-settings.cjs";
41
42
  import { shortIoUpdateLink } from "./actions/update-link.cjs";
42
- import { shortIo } from "./app.cjs";
43
43
  import { shortIoCatalog } from "./catalog.cjs";
44
44
  export { shortIo, shortIoAddTagToLinksBulk, shortIoArchiveLink, shortIoCatalog, shortIoCreateFolder, shortIoCreateLink, shortIoDeleteLink, shortIoDeleteLinkPermission, shortIoDeleteLinksBulk, shortIoDuplicateLink, shortIoGenerateQrCode, shortIoGetBundleTemplates, shortIoGetDomainById, shortIoGetDomainStatistics, shortIoGetDomainsLinkClicks, shortIoGetDomainsPaths, shortIoGetFolder, shortIoGetLinkByOriginalUrl, shortIoGetLinkCountries, shortIoGetLinkInfoByLinkId, shortIoGetLinkInfoByPath, shortIoGetLinkOpenGraphProperties, shortIoGetLinkPermissions, shortIoGetLinkRegionListCountry, shortIoGetLinkRegions, shortIoGetLinkStatistics, shortIoGetLinkTweetbot, shortIoGetLinksByOriginalUrl, shortIoGetLinksList, shortIoListDomains, shortIoListFolders, shortIoPostDomainLinkClicks, shortIoPostDomainStats, shortIoPostDomainsByInterval, shortIoPostDomainsLastClicks, shortIoPostDomainsTop, shortIoPostLinksArchiveBulk, shortIoPostLinksBulk, shortIoPostLinksQrBulk, shortIoPostLinksUnarchiveBulk, shortIoUnarchiveLink, shortIoUpdateDomainSettings, shortIoUpdateLink };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { shortIo } from "./app.mjs";
1
2
  import { shortIoAddTagToLinksBulk } from "./actions/add-tag-to-links-bulk.mjs";
2
3
  import { shortIoArchiveLink } from "./actions/archive-link.mjs";
3
4
  import { shortIoCreateFolder } from "./actions/create-folder.mjs";
@@ -39,6 +40,5 @@ import { shortIoPostLinksUnarchiveBulk } from "./actions/post-links-unarchive-bu
39
40
  import { shortIoUnarchiveLink } from "./actions/unarchive-link.mjs";
40
41
  import { shortIoUpdateDomainSettings } from "./actions/update-domain-settings.mjs";
41
42
  import { shortIoUpdateLink } from "./actions/update-link.mjs";
42
- import { shortIo } from "./app.mjs";
43
43
  import { shortIoCatalog } from "./catalog.mjs";
44
44
  export { shortIo, shortIoAddTagToLinksBulk, shortIoArchiveLink, shortIoCatalog, shortIoCreateFolder, shortIoCreateLink, shortIoDeleteLink, shortIoDeleteLinkPermission, shortIoDeleteLinksBulk, shortIoDuplicateLink, shortIoGenerateQrCode, shortIoGetBundleTemplates, shortIoGetDomainById, shortIoGetDomainStatistics, shortIoGetDomainsLinkClicks, shortIoGetDomainsPaths, shortIoGetFolder, shortIoGetLinkByOriginalUrl, shortIoGetLinkCountries, shortIoGetLinkInfoByLinkId, shortIoGetLinkInfoByPath, shortIoGetLinkOpenGraphProperties, shortIoGetLinkPermissions, shortIoGetLinkRegionListCountry, shortIoGetLinkRegions, shortIoGetLinkStatistics, shortIoGetLinkTweetbot, shortIoGetLinksByOriginalUrl, shortIoGetLinksList, shortIoListDomains, shortIoListFolders, shortIoPostDomainLinkClicks, shortIoPostDomainStats, shortIoPostDomainsByInterval, shortIoPostDomainsLastClicks, shortIoPostDomainsTop, shortIoPostLinksArchiveBulk, shortIoPostLinksBulk, shortIoPostLinksQrBulk, shortIoPostLinksUnarchiveBulk, shortIoUnarchiveLink, shortIoUpdateDomainSettings, shortIoUpdateLink };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/short_io",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {