@keystrokehq/shortcut 0.1.2 → 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 (641) hide show
  1. package/dist/actions/create-category.cjs +1 -1
  2. package/dist/actions/create-category.cjs.map +1 -1
  3. package/dist/actions/create-category.d.cts +1 -1
  4. package/dist/actions/create-category.d.mts +1 -1
  5. package/dist/actions/create-category.mjs +1 -1
  6. package/dist/actions/create-category.mjs.map +1 -1
  7. package/dist/actions/create-doc.cjs +1 -1
  8. package/dist/actions/create-doc.cjs.map +1 -1
  9. package/dist/actions/create-doc.d.cts +1 -1
  10. package/dist/actions/create-doc.d.mts +1 -1
  11. package/dist/actions/create-doc.mjs +1 -1
  12. package/dist/actions/create-doc.mjs.map +1 -1
  13. package/dist/actions/create-entity-template.cjs +12 -12
  14. package/dist/actions/create-entity-template.cjs.map +1 -1
  15. package/dist/actions/create-entity-template.d.cts +15 -12
  16. package/dist/actions/create-entity-template.d.mts +15 -12
  17. package/dist/actions/create-entity-template.mjs +12 -12
  18. package/dist/actions/create-entity-template.mjs.map +1 -1
  19. package/dist/actions/create-epic-comment-comment.cjs +1 -1
  20. package/dist/actions/create-epic-comment-comment.cjs.map +1 -1
  21. package/dist/actions/create-epic-comment-comment.d.cts +1 -1
  22. package/dist/actions/create-epic-comment-comment.d.mts +1 -1
  23. package/dist/actions/create-epic-comment-comment.mjs +1 -1
  24. package/dist/actions/create-epic-comment-comment.mjs.map +1 -1
  25. package/dist/actions/create-epic-comment.cjs +1 -1
  26. package/dist/actions/create-epic-comment.cjs.map +1 -1
  27. package/dist/actions/create-epic-comment.d.cts +1 -1
  28. package/dist/actions/create-epic-comment.d.mts +1 -1
  29. package/dist/actions/create-epic-comment.mjs +1 -1
  30. package/dist/actions/create-epic-comment.mjs.map +1 -1
  31. package/dist/actions/create-epic-health.cjs +1 -1
  32. package/dist/actions/create-epic-health.cjs.map +1 -1
  33. package/dist/actions/create-epic-health.d.cts +1 -1
  34. package/dist/actions/create-epic-health.d.mts +1 -1
  35. package/dist/actions/create-epic-health.mjs +1 -1
  36. package/dist/actions/create-epic-health.mjs.map +1 -1
  37. package/dist/actions/create-epic.cjs +7 -7
  38. package/dist/actions/create-epic.cjs.map +1 -1
  39. package/dist/actions/create-epic.d.cts +8 -7
  40. package/dist/actions/create-epic.d.mts +8 -7
  41. package/dist/actions/create-epic.mjs +7 -7
  42. package/dist/actions/create-epic.mjs.map +1 -1
  43. package/dist/actions/create-generic-integration.cjs +1 -1
  44. package/dist/actions/create-generic-integration.cjs.map +1 -1
  45. package/dist/actions/create-generic-integration.d.cts +1 -1
  46. package/dist/actions/create-generic-integration.d.mts +1 -1
  47. package/dist/actions/create-generic-integration.mjs +1 -1
  48. package/dist/actions/create-generic-integration.mjs.map +1 -1
  49. package/dist/actions/create-group.cjs +2 -2
  50. package/dist/actions/create-group.cjs.map +1 -1
  51. package/dist/actions/create-group.d.cts +2 -2
  52. package/dist/actions/create-group.d.mts +2 -2
  53. package/dist/actions/create-group.mjs +2 -2
  54. package/dist/actions/create-group.mjs.map +1 -1
  55. package/dist/actions/create-iteration.cjs +4 -4
  56. package/dist/actions/create-iteration.cjs.map +1 -1
  57. package/dist/actions/create-iteration.d.cts +5 -4
  58. package/dist/actions/create-iteration.d.mts +5 -4
  59. package/dist/actions/create-iteration.mjs +4 -4
  60. package/dist/actions/create-iteration.mjs.map +1 -1
  61. package/dist/actions/create-label.cjs +2 -2
  62. package/dist/actions/create-label.cjs.map +1 -1
  63. package/dist/actions/create-label.d.cts +2 -2
  64. package/dist/actions/create-label.d.mts +2 -2
  65. package/dist/actions/create-label.mjs +2 -2
  66. package/dist/actions/create-label.mjs.map +1 -1
  67. package/dist/actions/create-linked-file.cjs +1 -1
  68. package/dist/actions/create-linked-file.cjs.map +1 -1
  69. package/dist/actions/create-linked-file.d.cts +1 -1
  70. package/dist/actions/create-linked-file.d.mts +1 -1
  71. package/dist/actions/create-linked-file.mjs +1 -1
  72. package/dist/actions/create-linked-file.mjs.map +1 -1
  73. package/dist/actions/create-multiple-stories.cjs +7 -7
  74. package/dist/actions/create-multiple-stories.cjs.map +1 -1
  75. package/dist/actions/create-multiple-stories.d.cts +14 -7
  76. package/dist/actions/create-multiple-stories.d.mts +14 -7
  77. package/dist/actions/create-multiple-stories.mjs +7 -7
  78. package/dist/actions/create-multiple-stories.mjs.map +1 -1
  79. package/dist/actions/create-objective.cjs +6 -6
  80. package/dist/actions/create-objective.cjs.map +1 -1
  81. package/dist/actions/create-objective.d.cts +7 -6
  82. package/dist/actions/create-objective.d.mts +7 -6
  83. package/dist/actions/create-objective.mjs +6 -6
  84. package/dist/actions/create-objective.mjs.map +1 -1
  85. package/dist/actions/create-project.cjs +1 -1
  86. package/dist/actions/create-project.cjs.map +1 -1
  87. package/dist/actions/create-project.d.cts +1 -1
  88. package/dist/actions/create-project.d.mts +1 -1
  89. package/dist/actions/create-project.mjs +1 -1
  90. package/dist/actions/create-project.mjs.map +1 -1
  91. package/dist/actions/create-story-comment.cjs +1 -1
  92. package/dist/actions/create-story-comment.cjs.map +1 -1
  93. package/dist/actions/create-story-comment.d.cts +1 -1
  94. package/dist/actions/create-story-comment.d.mts +1 -1
  95. package/dist/actions/create-story-comment.mjs +1 -1
  96. package/dist/actions/create-story-comment.mjs.map +1 -1
  97. package/dist/actions/create-story-from-template.cjs +23 -23
  98. package/dist/actions/create-story-from-template.cjs.map +1 -1
  99. package/dist/actions/create-story-from-template.d.cts +33 -23
  100. package/dist/actions/create-story-from-template.d.mts +33 -23
  101. package/dist/actions/create-story-from-template.mjs +23 -23
  102. package/dist/actions/create-story-from-template.mjs.map +1 -1
  103. package/dist/actions/create-story-link.cjs +1 -1
  104. package/dist/actions/create-story-link.cjs.map +1 -1
  105. package/dist/actions/create-story-link.d.cts +1 -1
  106. package/dist/actions/create-story-link.d.mts +1 -1
  107. package/dist/actions/create-story-link.mjs +1 -1
  108. package/dist/actions/create-story-link.mjs.map +1 -1
  109. package/dist/actions/create-story.cjs +6 -6
  110. package/dist/actions/create-story.cjs.map +1 -1
  111. package/dist/actions/create-story.d.cts +12 -6
  112. package/dist/actions/create-story.d.mts +12 -6
  113. package/dist/actions/create-story.mjs +6 -6
  114. package/dist/actions/create-story.mjs.map +1 -1
  115. package/dist/actions/create-task.cjs +13 -13
  116. package/dist/actions/create-task.cjs.map +1 -1
  117. package/dist/actions/create-task.d.cts +13 -13
  118. package/dist/actions/create-task.d.mts +13 -13
  119. package/dist/actions/create-task.mjs +13 -13
  120. package/dist/actions/create-task.mjs.map +1 -1
  121. package/dist/actions/delete-category.cjs +1 -1
  122. package/dist/actions/delete-category.cjs.map +1 -1
  123. package/dist/actions/delete-category.d.cts +1 -1
  124. package/dist/actions/delete-category.d.cts.map +1 -1
  125. package/dist/actions/delete-category.d.mts +1 -1
  126. package/dist/actions/delete-category.d.mts.map +1 -1
  127. package/dist/actions/delete-category.mjs +1 -1
  128. package/dist/actions/delete-category.mjs.map +1 -1
  129. package/dist/actions/delete-custom-field.cjs +1 -1
  130. package/dist/actions/delete-custom-field.cjs.map +1 -1
  131. package/dist/actions/delete-custom-field.d.cts +1 -1
  132. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  133. package/dist/actions/delete-custom-field.d.mts +1 -1
  134. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  135. package/dist/actions/delete-custom-field.mjs +1 -1
  136. package/dist/actions/delete-custom-field.mjs.map +1 -1
  137. package/dist/actions/delete-entity-template.cjs +1 -1
  138. package/dist/actions/delete-entity-template.cjs.map +1 -1
  139. package/dist/actions/delete-entity-template.d.cts +1 -1
  140. package/dist/actions/delete-entity-template.d.cts.map +1 -1
  141. package/dist/actions/delete-entity-template.d.mts +1 -1
  142. package/dist/actions/delete-entity-template.d.mts.map +1 -1
  143. package/dist/actions/delete-entity-template.mjs +1 -1
  144. package/dist/actions/delete-entity-template.mjs.map +1 -1
  145. package/dist/actions/delete-epic-comment.cjs +1 -1
  146. package/dist/actions/delete-epic-comment.cjs.map +1 -1
  147. package/dist/actions/delete-epic-comment.d.cts +1 -1
  148. package/dist/actions/delete-epic-comment.d.cts.map +1 -1
  149. package/dist/actions/delete-epic-comment.d.mts +1 -1
  150. package/dist/actions/delete-epic-comment.d.mts.map +1 -1
  151. package/dist/actions/delete-epic-comment.mjs +1 -1
  152. package/dist/actions/delete-epic-comment.mjs.map +1 -1
  153. package/dist/actions/delete-file.cjs +1 -1
  154. package/dist/actions/delete-file.cjs.map +1 -1
  155. package/dist/actions/delete-file.d.cts +1 -1
  156. package/dist/actions/delete-file.d.cts.map +1 -1
  157. package/dist/actions/delete-file.d.mts +1 -1
  158. package/dist/actions/delete-file.d.mts.map +1 -1
  159. package/dist/actions/delete-file.mjs +1 -1
  160. package/dist/actions/delete-file.mjs.map +1 -1
  161. package/dist/actions/delete-generic-integration.cjs +1 -1
  162. package/dist/actions/delete-generic-integration.cjs.map +1 -1
  163. package/dist/actions/delete-generic-integration.d.cts +1 -1
  164. package/dist/actions/delete-generic-integration.d.cts.map +1 -1
  165. package/dist/actions/delete-generic-integration.d.mts +1 -1
  166. package/dist/actions/delete-generic-integration.d.mts.map +1 -1
  167. package/dist/actions/delete-generic-integration.mjs +1 -1
  168. package/dist/actions/delete-generic-integration.mjs.map +1 -1
  169. package/dist/actions/delete-iteration.cjs +1 -1
  170. package/dist/actions/delete-iteration.cjs.map +1 -1
  171. package/dist/actions/delete-iteration.d.cts +1 -1
  172. package/dist/actions/delete-iteration.d.cts.map +1 -1
  173. package/dist/actions/delete-iteration.d.mts +1 -1
  174. package/dist/actions/delete-iteration.d.mts.map +1 -1
  175. package/dist/actions/delete-iteration.mjs +1 -1
  176. package/dist/actions/delete-iteration.mjs.map +1 -1
  177. package/dist/actions/delete-label.cjs +1 -1
  178. package/dist/actions/delete-label.cjs.map +1 -1
  179. package/dist/actions/delete-label.d.cts +1 -1
  180. package/dist/actions/delete-label.d.cts.map +1 -1
  181. package/dist/actions/delete-label.d.mts +1 -1
  182. package/dist/actions/delete-label.d.mts.map +1 -1
  183. package/dist/actions/delete-label.mjs +1 -1
  184. package/dist/actions/delete-label.mjs.map +1 -1
  185. package/dist/actions/delete-linked-file.cjs +1 -1
  186. package/dist/actions/delete-linked-file.cjs.map +1 -1
  187. package/dist/actions/delete-linked-file.d.cts +1 -1
  188. package/dist/actions/delete-linked-file.d.cts.map +1 -1
  189. package/dist/actions/delete-linked-file.d.mts +1 -1
  190. package/dist/actions/delete-linked-file.d.mts.map +1 -1
  191. package/dist/actions/delete-linked-file.mjs +1 -1
  192. package/dist/actions/delete-linked-file.mjs.map +1 -1
  193. package/dist/actions/delete-multiple-stories.cjs +1 -1
  194. package/dist/actions/delete-multiple-stories.cjs.map +1 -1
  195. package/dist/actions/delete-multiple-stories.d.cts +1 -1
  196. package/dist/actions/delete-multiple-stories.d.cts.map +1 -1
  197. package/dist/actions/delete-multiple-stories.d.mts +1 -1
  198. package/dist/actions/delete-multiple-stories.d.mts.map +1 -1
  199. package/dist/actions/delete-multiple-stories.mjs +1 -1
  200. package/dist/actions/delete-multiple-stories.mjs.map +1 -1
  201. package/dist/actions/delete-objective.cjs +1 -1
  202. package/dist/actions/delete-objective.cjs.map +1 -1
  203. package/dist/actions/delete-objective.d.cts +1 -1
  204. package/dist/actions/delete-objective.d.cts.map +1 -1
  205. package/dist/actions/delete-objective.d.mts +1 -1
  206. package/dist/actions/delete-objective.d.mts.map +1 -1
  207. package/dist/actions/delete-objective.mjs +1 -1
  208. package/dist/actions/delete-objective.mjs.map +1 -1
  209. package/dist/actions/delete-project.cjs +1 -1
  210. package/dist/actions/delete-project.cjs.map +1 -1
  211. package/dist/actions/delete-project.d.cts +1 -1
  212. package/dist/actions/delete-project.d.cts.map +1 -1
  213. package/dist/actions/delete-project.d.mts +1 -1
  214. package/dist/actions/delete-project.d.mts.map +1 -1
  215. package/dist/actions/delete-project.mjs +1 -1
  216. package/dist/actions/delete-project.mjs.map +1 -1
  217. package/dist/actions/delete-story-comment.cjs +1 -1
  218. package/dist/actions/delete-story-comment.cjs.map +1 -1
  219. package/dist/actions/delete-story-comment.d.cts +1 -1
  220. package/dist/actions/delete-story-comment.d.cts.map +1 -1
  221. package/dist/actions/delete-story-comment.d.mts +1 -1
  222. package/dist/actions/delete-story-comment.d.mts.map +1 -1
  223. package/dist/actions/delete-story-comment.mjs +1 -1
  224. package/dist/actions/delete-story-comment.mjs.map +1 -1
  225. package/dist/actions/delete-story-link.cjs +1 -1
  226. package/dist/actions/delete-story-link.cjs.map +1 -1
  227. package/dist/actions/delete-story-link.d.cts +1 -1
  228. package/dist/actions/delete-story-link.d.cts.map +1 -1
  229. package/dist/actions/delete-story-link.d.mts +1 -1
  230. package/dist/actions/delete-story-link.d.mts.map +1 -1
  231. package/dist/actions/delete-story-link.mjs +1 -1
  232. package/dist/actions/delete-story-link.mjs.map +1 -1
  233. package/dist/actions/delete-story-reaction.cjs +1 -1
  234. package/dist/actions/delete-story-reaction.cjs.map +1 -1
  235. package/dist/actions/delete-story-reaction.d.cts +1 -1
  236. package/dist/actions/delete-story-reaction.d.cts.map +1 -1
  237. package/dist/actions/delete-story-reaction.d.mts +1 -1
  238. package/dist/actions/delete-story-reaction.d.mts.map +1 -1
  239. package/dist/actions/delete-story-reaction.mjs +1 -1
  240. package/dist/actions/delete-story-reaction.mjs.map +1 -1
  241. package/dist/actions/delete-story.cjs +1 -1
  242. package/dist/actions/delete-story.cjs.map +1 -1
  243. package/dist/actions/delete-story.d.cts +1 -1
  244. package/dist/actions/delete-story.d.cts.map +1 -1
  245. package/dist/actions/delete-story.d.mts +1 -1
  246. package/dist/actions/delete-story.d.mts.map +1 -1
  247. package/dist/actions/delete-story.mjs +1 -1
  248. package/dist/actions/delete-story.mjs.map +1 -1
  249. package/dist/actions/delete-task.cjs +1 -1
  250. package/dist/actions/delete-task.cjs.map +1 -1
  251. package/dist/actions/delete-task.d.cts +1 -1
  252. package/dist/actions/delete-task.d.cts.map +1 -1
  253. package/dist/actions/delete-task.d.mts +1 -1
  254. package/dist/actions/delete-task.d.mts.map +1 -1
  255. package/dist/actions/delete-task.mjs +1 -1
  256. package/dist/actions/delete-task.mjs.map +1 -1
  257. package/dist/actions/disable-iterations.cjs +1 -1
  258. package/dist/actions/disable-iterations.cjs.map +1 -1
  259. package/dist/actions/disable-iterations.d.cts +1 -1
  260. package/dist/actions/disable-iterations.d.cts.map +1 -1
  261. package/dist/actions/disable-iterations.d.mts +1 -1
  262. package/dist/actions/disable-iterations.d.mts.map +1 -1
  263. package/dist/actions/disable-iterations.mjs +1 -1
  264. package/dist/actions/disable-iterations.mjs.map +1 -1
  265. package/dist/actions/disable-story-templates.cjs +1 -1
  266. package/dist/actions/disable-story-templates.cjs.map +1 -1
  267. package/dist/actions/disable-story-templates.d.cts +1 -1
  268. package/dist/actions/disable-story-templates.d.cts.map +1 -1
  269. package/dist/actions/disable-story-templates.d.mts +1 -1
  270. package/dist/actions/disable-story-templates.d.mts.map +1 -1
  271. package/dist/actions/disable-story-templates.mjs +1 -1
  272. package/dist/actions/disable-story-templates.mjs.map +1 -1
  273. package/dist/actions/enable-iterations.cjs +1 -1
  274. package/dist/actions/enable-iterations.cjs.map +1 -1
  275. package/dist/actions/enable-iterations.d.cts +1 -1
  276. package/dist/actions/enable-iterations.d.cts.map +1 -1
  277. package/dist/actions/enable-iterations.d.mts +1 -1
  278. package/dist/actions/enable-iterations.d.mts.map +1 -1
  279. package/dist/actions/enable-iterations.mjs +1 -1
  280. package/dist/actions/enable-iterations.mjs.map +1 -1
  281. package/dist/actions/enable-story-templates.cjs +1 -1
  282. package/dist/actions/enable-story-templates.cjs.map +1 -1
  283. package/dist/actions/enable-story-templates.d.cts +1 -1
  284. package/dist/actions/enable-story-templates.d.cts.map +1 -1
  285. package/dist/actions/enable-story-templates.d.mts +1 -1
  286. package/dist/actions/enable-story-templates.d.mts.map +1 -1
  287. package/dist/actions/enable-story-templates.mjs +1 -1
  288. package/dist/actions/enable-story-templates.mjs.map +1 -1
  289. package/dist/actions/get-category.cjs +1 -1
  290. package/dist/actions/get-category.cjs.map +1 -1
  291. package/dist/actions/get-category.d.cts +1 -1
  292. package/dist/actions/get-category.d.mts +1 -1
  293. package/dist/actions/get-category.mjs +1 -1
  294. package/dist/actions/get-category.mjs.map +1 -1
  295. package/dist/actions/get-current-member-info.cjs +3 -3
  296. package/dist/actions/get-current-member-info.cjs.map +1 -1
  297. package/dist/actions/get-current-member-info.d.cts +3 -3
  298. package/dist/actions/get-current-member-info.d.mts +3 -3
  299. package/dist/actions/get-current-member-info.mjs +3 -3
  300. package/dist/actions/get-current-member-info.mjs.map +1 -1
  301. package/dist/actions/get-custom-field.cjs +2 -2
  302. package/dist/actions/get-custom-field.cjs.map +1 -1
  303. package/dist/actions/get-custom-field.d.cts +2 -2
  304. package/dist/actions/get-custom-field.d.mts +2 -2
  305. package/dist/actions/get-custom-field.mjs +2 -2
  306. package/dist/actions/get-custom-field.mjs.map +1 -1
  307. package/dist/actions/get-doc.cjs +1 -1
  308. package/dist/actions/get-doc.cjs.map +1 -1
  309. package/dist/actions/get-doc.d.cts +1 -1
  310. package/dist/actions/get-doc.d.mts +1 -1
  311. package/dist/actions/get-doc.mjs +1 -1
  312. package/dist/actions/get-doc.mjs.map +1 -1
  313. package/dist/actions/get-entity-template.cjs +9 -9
  314. package/dist/actions/get-entity-template.cjs.map +1 -1
  315. package/dist/actions/get-entity-template.d.cts +9 -9
  316. package/dist/actions/get-entity-template.d.mts +9 -9
  317. package/dist/actions/get-entity-template.mjs +9 -9
  318. package/dist/actions/get-entity-template.mjs.map +1 -1
  319. package/dist/actions/get-epic-comment.cjs +1 -1
  320. package/dist/actions/get-epic-comment.cjs.map +1 -1
  321. package/dist/actions/get-epic-comment.d.cts +1 -1
  322. package/dist/actions/get-epic-comment.d.mts +1 -1
  323. package/dist/actions/get-epic-comment.mjs +1 -1
  324. package/dist/actions/get-epic-comment.mjs.map +1 -1
  325. package/dist/actions/get-epic-health.cjs +1 -1
  326. package/dist/actions/get-epic-health.cjs.map +1 -1
  327. package/dist/actions/get-epic-health.d.cts +1 -1
  328. package/dist/actions/get-epic-health.d.mts +1 -1
  329. package/dist/actions/get-epic-health.mjs +1 -1
  330. package/dist/actions/get-epic-health.mjs.map +1 -1
  331. package/dist/actions/get-epic-workflow.cjs +2 -2
  332. package/dist/actions/get-epic-workflow.cjs.map +1 -1
  333. package/dist/actions/get-epic-workflow.d.cts +2 -2
  334. package/dist/actions/get-epic-workflow.d.mts +2 -2
  335. package/dist/actions/get-epic-workflow.mjs +2 -2
  336. package/dist/actions/get-epic-workflow.mjs.map +1 -1
  337. package/dist/actions/get-epic.cjs +6 -6
  338. package/dist/actions/get-epic.cjs.map +1 -1
  339. package/dist/actions/get-epic.d.cts +6 -6
  340. package/dist/actions/get-epic.d.mts +6 -6
  341. package/dist/actions/get-epic.mjs +6 -6
  342. package/dist/actions/get-epic.mjs.map +1 -1
  343. package/dist/actions/get-file.cjs +1 -1
  344. package/dist/actions/get-file.cjs.map +1 -1
  345. package/dist/actions/get-file.d.cts +1 -1
  346. package/dist/actions/get-file.d.mts +1 -1
  347. package/dist/actions/get-file.mjs +1 -1
  348. package/dist/actions/get-file.mjs.map +1 -1
  349. package/dist/actions/get-generic-integration.cjs +1 -1
  350. package/dist/actions/get-generic-integration.cjs.map +1 -1
  351. package/dist/actions/get-generic-integration.d.cts +1 -1
  352. package/dist/actions/get-generic-integration.d.mts +1 -1
  353. package/dist/actions/get-generic-integration.mjs +1 -1
  354. package/dist/actions/get-generic-integration.mjs.map +1 -1
  355. package/dist/actions/get-group.cjs +2 -2
  356. package/dist/actions/get-group.cjs.map +1 -1
  357. package/dist/actions/get-group.d.cts +2 -2
  358. package/dist/actions/get-group.d.mts +2 -2
  359. package/dist/actions/get-group.mjs +2 -2
  360. package/dist/actions/get-group.mjs.map +1 -1
  361. package/dist/actions/get-iteration.cjs +3 -3
  362. package/dist/actions/get-iteration.cjs.map +1 -1
  363. package/dist/actions/get-iteration.d.cts +3 -3
  364. package/dist/actions/get-iteration.d.mts +3 -3
  365. package/dist/actions/get-iteration.mjs +3 -3
  366. package/dist/actions/get-iteration.mjs.map +1 -1
  367. package/dist/actions/get-key-result.cjs +2 -2
  368. package/dist/actions/get-key-result.cjs.map +1 -1
  369. package/dist/actions/get-key-result.d.cts +4 -4
  370. package/dist/actions/get-key-result.d.mts +4 -4
  371. package/dist/actions/get-key-result.mjs +2 -2
  372. package/dist/actions/get-key-result.mjs.map +1 -1
  373. package/dist/actions/get-label.cjs +2 -2
  374. package/dist/actions/get-label.cjs.map +1 -1
  375. package/dist/actions/get-label.d.cts +2 -2
  376. package/dist/actions/get-label.d.mts +2 -2
  377. package/dist/actions/get-label.mjs +2 -2
  378. package/dist/actions/get-label.mjs.map +1 -1
  379. package/dist/actions/get-linked-file.cjs +1 -1
  380. package/dist/actions/get-linked-file.cjs.map +1 -1
  381. package/dist/actions/get-linked-file.d.cts +1 -1
  382. package/dist/actions/get-linked-file.d.mts +1 -1
  383. package/dist/actions/get-linked-file.mjs +1 -1
  384. package/dist/actions/get-linked-file.mjs.map +1 -1
  385. package/dist/actions/get-member.cjs +3 -3
  386. package/dist/actions/get-member.cjs.map +1 -1
  387. package/dist/actions/get-member.d.cts +3 -3
  388. package/dist/actions/get-member.d.mts +3 -3
  389. package/dist/actions/get-member.mjs +3 -3
  390. package/dist/actions/get-member.mjs.map +1 -1
  391. package/dist/actions/get-objective.cjs +3 -3
  392. package/dist/actions/get-objective.cjs.map +1 -1
  393. package/dist/actions/get-objective.d.cts +3 -3
  394. package/dist/actions/get-objective.d.mts +3 -3
  395. package/dist/actions/get-objective.mjs +3 -3
  396. package/dist/actions/get-objective.mjs.map +1 -1
  397. package/dist/actions/get-project.cjs +2 -2
  398. package/dist/actions/get-project.cjs.map +1 -1
  399. package/dist/actions/get-project.d.cts +2 -2
  400. package/dist/actions/get-project.d.mts +2 -2
  401. package/dist/actions/get-project.mjs +2 -2
  402. package/dist/actions/get-project.mjs.map +1 -1
  403. package/dist/actions/get-story-comment.cjs +1 -1
  404. package/dist/actions/get-story-comment.cjs.map +1 -1
  405. package/dist/actions/get-story-comment.d.cts +1 -1
  406. package/dist/actions/get-story-comment.d.mts +1 -1
  407. package/dist/actions/get-story-comment.mjs +1 -1
  408. package/dist/actions/get-story-comment.mjs.map +1 -1
  409. package/dist/actions/get-story-link.cjs +1 -1
  410. package/dist/actions/get-story-link.cjs.map +1 -1
  411. package/dist/actions/get-story-link.d.cts +1 -1
  412. package/dist/actions/get-story-link.d.mts +1 -1
  413. package/dist/actions/get-story-link.mjs +1 -1
  414. package/dist/actions/get-story-link.mjs.map +1 -1
  415. package/dist/actions/get-story.cjs +4 -4
  416. package/dist/actions/get-story.cjs.map +1 -1
  417. package/dist/actions/get-story.d.cts +4 -4
  418. package/dist/actions/get-story.d.mts +4 -4
  419. package/dist/actions/get-story.mjs +4 -4
  420. package/dist/actions/get-story.mjs.map +1 -1
  421. package/dist/actions/get-task.cjs +1 -1
  422. package/dist/actions/get-task.cjs.map +1 -1
  423. package/dist/actions/get-task.d.cts +1 -1
  424. package/dist/actions/get-task.d.mts +1 -1
  425. package/dist/actions/get-task.mjs +1 -1
  426. package/dist/actions/get-task.mjs.map +1 -1
  427. package/dist/actions/get-workflow.cjs +2 -2
  428. package/dist/actions/get-workflow.cjs.map +1 -1
  429. package/dist/actions/get-workflow.d.cts +2 -2
  430. package/dist/actions/get-workflow.d.mts +2 -2
  431. package/dist/actions/get-workflow.mjs +2 -2
  432. package/dist/actions/get-workflow.mjs.map +1 -1
  433. package/dist/actions/list-epics-paginated.cjs +3 -3
  434. package/dist/actions/list-epics-paginated.cjs.map +1 -1
  435. package/dist/actions/list-epics-paginated.d.cts +3 -3
  436. package/dist/actions/list-epics-paginated.d.mts +3 -3
  437. package/dist/actions/list-epics-paginated.mjs +3 -3
  438. package/dist/actions/list-epics-paginated.mjs.map +1 -1
  439. package/dist/actions/list-stories.cjs +11 -11
  440. package/dist/actions/list-stories.cjs.map +1 -1
  441. package/dist/actions/list-stories.d.cts +11 -11
  442. package/dist/actions/list-stories.d.mts +11 -11
  443. package/dist/actions/list-stories.mjs +11 -11
  444. package/dist/actions/list-stories.mjs.map +1 -1
  445. package/dist/actions/search-documents.cjs +2 -2
  446. package/dist/actions/search-documents.cjs.map +1 -1
  447. package/dist/actions/search-documents.d.cts +2 -2
  448. package/dist/actions/search-documents.d.mts +2 -2
  449. package/dist/actions/search-documents.mjs +2 -2
  450. package/dist/actions/search-documents.mjs.map +1 -1
  451. package/dist/actions/search-epics.cjs +2 -2
  452. package/dist/actions/search-epics.cjs.map +1 -1
  453. package/dist/actions/search-epics.d.cts +4 -4
  454. package/dist/actions/search-epics.d.mts +4 -4
  455. package/dist/actions/search-epics.mjs +2 -2
  456. package/dist/actions/search-epics.mjs.map +1 -1
  457. package/dist/actions/search-iterations.cjs +2 -2
  458. package/dist/actions/search-iterations.cjs.map +1 -1
  459. package/dist/actions/search-iterations.d.cts +4 -4
  460. package/dist/actions/search-iterations.d.mts +4 -4
  461. package/dist/actions/search-iterations.mjs +2 -2
  462. package/dist/actions/search-iterations.mjs.map +1 -1
  463. package/dist/actions/search-milestones.cjs +4 -4
  464. package/dist/actions/search-milestones.cjs.map +1 -1
  465. package/dist/actions/search-milestones.d.cts +6 -6
  466. package/dist/actions/search-milestones.d.mts +6 -6
  467. package/dist/actions/search-milestones.mjs +4 -4
  468. package/dist/actions/search-milestones.mjs.map +1 -1
  469. package/dist/actions/search-objectives.cjs +4 -4
  470. package/dist/actions/search-objectives.cjs.map +1 -1
  471. package/dist/actions/search-objectives.d.cts +6 -6
  472. package/dist/actions/search-objectives.d.mts +6 -6
  473. package/dist/actions/search-objectives.mjs +4 -4
  474. package/dist/actions/search-objectives.mjs.map +1 -1
  475. package/dist/actions/search-stories-old.cjs +5 -5
  476. package/dist/actions/search-stories-old.cjs.map +1 -1
  477. package/dist/actions/search-stories-old.d.cts +7 -7
  478. package/dist/actions/search-stories-old.d.mts +7 -7
  479. package/dist/actions/search-stories-old.mjs +5 -5
  480. package/dist/actions/search-stories-old.mjs.map +1 -1
  481. package/dist/actions/search-stories.cjs +14 -14
  482. package/dist/actions/search-stories.cjs.map +1 -1
  483. package/dist/actions/search-stories.d.cts +16 -16
  484. package/dist/actions/search-stories.d.mts +16 -16
  485. package/dist/actions/search-stories.mjs +14 -14
  486. package/dist/actions/search-stories.mjs.map +1 -1
  487. package/dist/actions/search.cjs +2 -2
  488. package/dist/actions/search.cjs.map +1 -1
  489. package/dist/actions/search.d.cts +4 -4
  490. package/dist/actions/search.d.mts +4 -4
  491. package/dist/actions/search.mjs +2 -2
  492. package/dist/actions/search.mjs.map +1 -1
  493. package/dist/actions/story-history.cjs +3 -3
  494. package/dist/actions/story-history.cjs.map +1 -1
  495. package/dist/actions/story-history.d.cts +3 -3
  496. package/dist/actions/story-history.d.mts +3 -3
  497. package/dist/actions/story-history.mjs +3 -3
  498. package/dist/actions/story-history.mjs.map +1 -1
  499. package/dist/actions/unlink-comment-thread-from-slack.cjs +1 -1
  500. package/dist/actions/unlink-comment-thread-from-slack.cjs.map +1 -1
  501. package/dist/actions/unlink-comment-thread-from-slack.d.cts +1 -1
  502. package/dist/actions/unlink-comment-thread-from-slack.d.cts.map +1 -1
  503. package/dist/actions/unlink-comment-thread-from-slack.d.mts +1 -1
  504. package/dist/actions/unlink-comment-thread-from-slack.d.mts.map +1 -1
  505. package/dist/actions/unlink-comment-thread-from-slack.mjs +1 -1
  506. package/dist/actions/unlink-comment-thread-from-slack.mjs.map +1 -1
  507. package/dist/actions/unlink-document-from-epic.cjs +1 -1
  508. package/dist/actions/unlink-document-from-epic.cjs.map +1 -1
  509. package/dist/actions/unlink-document-from-epic.d.cts +1 -1
  510. package/dist/actions/unlink-document-from-epic.d.cts.map +1 -1
  511. package/dist/actions/unlink-document-from-epic.d.mts +1 -1
  512. package/dist/actions/unlink-document-from-epic.d.mts.map +1 -1
  513. package/dist/actions/unlink-document-from-epic.mjs +1 -1
  514. package/dist/actions/unlink-document-from-epic.mjs.map +1 -1
  515. package/dist/actions/unlink-productboard-from-epic.cjs +5 -5
  516. package/dist/actions/unlink-productboard-from-epic.cjs.map +1 -1
  517. package/dist/actions/unlink-productboard-from-epic.d.cts +5 -5
  518. package/dist/actions/unlink-productboard-from-epic.d.mts +5 -5
  519. package/dist/actions/unlink-productboard-from-epic.mjs +5 -5
  520. package/dist/actions/unlink-productboard-from-epic.mjs.map +1 -1
  521. package/dist/actions/update-category.cjs +1 -1
  522. package/dist/actions/update-category.cjs.map +1 -1
  523. package/dist/actions/update-category.d.cts +1 -1
  524. package/dist/actions/update-category.d.mts +1 -1
  525. package/dist/actions/update-category.mjs +1 -1
  526. package/dist/actions/update-category.mjs.map +1 -1
  527. package/dist/actions/update-custom-field.cjs +3 -3
  528. package/dist/actions/update-custom-field.cjs.map +1 -1
  529. package/dist/actions/update-custom-field.d.cts +4 -3
  530. package/dist/actions/update-custom-field.d.mts +4 -3
  531. package/dist/actions/update-custom-field.mjs +3 -3
  532. package/dist/actions/update-custom-field.mjs.map +1 -1
  533. package/dist/actions/update-doc.cjs +1 -1
  534. package/dist/actions/update-doc.cjs.map +1 -1
  535. package/dist/actions/update-doc.d.cts +1 -1
  536. package/dist/actions/update-doc.d.mts +1 -1
  537. package/dist/actions/update-doc.mjs +1 -1
  538. package/dist/actions/update-doc.mjs.map +1 -1
  539. package/dist/actions/update-entity-template.cjs +11 -11
  540. package/dist/actions/update-entity-template.cjs.map +1 -1
  541. package/dist/actions/update-entity-template.d.cts +14 -11
  542. package/dist/actions/update-entity-template.d.mts +14 -11
  543. package/dist/actions/update-entity-template.mjs +11 -11
  544. package/dist/actions/update-entity-template.mjs.map +1 -1
  545. package/dist/actions/update-epic-comment.cjs +1 -1
  546. package/dist/actions/update-epic-comment.cjs.map +1 -1
  547. package/dist/actions/update-epic-comment.d.cts +1 -1
  548. package/dist/actions/update-epic-comment.d.mts +1 -1
  549. package/dist/actions/update-epic-comment.mjs +1 -1
  550. package/dist/actions/update-epic-comment.mjs.map +1 -1
  551. package/dist/actions/update-epic.cjs +7 -7
  552. package/dist/actions/update-epic.cjs.map +1 -1
  553. package/dist/actions/update-epic.d.cts +8 -7
  554. package/dist/actions/update-epic.d.mts +8 -7
  555. package/dist/actions/update-epic.mjs +7 -7
  556. package/dist/actions/update-epic.mjs.map +1 -1
  557. package/dist/actions/update-file.cjs +1 -1
  558. package/dist/actions/update-file.cjs.map +1 -1
  559. package/dist/actions/update-file.d.cts +1 -1
  560. package/dist/actions/update-file.d.mts +1 -1
  561. package/dist/actions/update-file.mjs +1 -1
  562. package/dist/actions/update-file.mjs.map +1 -1
  563. package/dist/actions/update-group.cjs +2 -2
  564. package/dist/actions/update-group.cjs.map +1 -1
  565. package/dist/actions/update-group.d.cts +2 -2
  566. package/dist/actions/update-group.d.mts +2 -2
  567. package/dist/actions/update-group.mjs +2 -2
  568. package/dist/actions/update-group.mjs.map +1 -1
  569. package/dist/actions/update-health.cjs +1 -1
  570. package/dist/actions/update-health.cjs.map +1 -1
  571. package/dist/actions/update-health.d.cts +1 -1
  572. package/dist/actions/update-health.d.mts +1 -1
  573. package/dist/actions/update-health.mjs +1 -1
  574. package/dist/actions/update-health.mjs.map +1 -1
  575. package/dist/actions/update-iteration.cjs +6 -6
  576. package/dist/actions/update-iteration.cjs.map +1 -1
  577. package/dist/actions/update-iteration.d.cts +7 -6
  578. package/dist/actions/update-iteration.d.mts +7 -6
  579. package/dist/actions/update-iteration.mjs +6 -6
  580. package/dist/actions/update-iteration.mjs.map +1 -1
  581. package/dist/actions/update-key-result.cjs +2 -2
  582. package/dist/actions/update-key-result.cjs.map +1 -1
  583. package/dist/actions/update-key-result.d.cts +4 -4
  584. package/dist/actions/update-key-result.d.mts +4 -4
  585. package/dist/actions/update-key-result.mjs +2 -2
  586. package/dist/actions/update-key-result.mjs.map +1 -1
  587. package/dist/actions/update-label.cjs +2 -2
  588. package/dist/actions/update-label.cjs.map +1 -1
  589. package/dist/actions/update-label.d.cts +2 -2
  590. package/dist/actions/update-label.d.mts +2 -2
  591. package/dist/actions/update-label.mjs +2 -2
  592. package/dist/actions/update-label.mjs.map +1 -1
  593. package/dist/actions/update-linked-file.cjs +1 -1
  594. package/dist/actions/update-linked-file.cjs.map +1 -1
  595. package/dist/actions/update-linked-file.d.cts +1 -1
  596. package/dist/actions/update-linked-file.d.mts +1 -1
  597. package/dist/actions/update-linked-file.mjs +1 -1
  598. package/dist/actions/update-linked-file.mjs.map +1 -1
  599. package/dist/actions/update-multiple-stories.cjs +4 -4
  600. package/dist/actions/update-multiple-stories.cjs.map +1 -1
  601. package/dist/actions/update-multiple-stories.d.cts +8 -4
  602. package/dist/actions/update-multiple-stories.d.mts +8 -4
  603. package/dist/actions/update-multiple-stories.mjs +4 -4
  604. package/dist/actions/update-multiple-stories.mjs.map +1 -1
  605. package/dist/actions/update-objective.cjs +4 -4
  606. package/dist/actions/update-objective.cjs.map +1 -1
  607. package/dist/actions/update-objective.d.cts +5 -4
  608. package/dist/actions/update-objective.d.mts +5 -4
  609. package/dist/actions/update-objective.mjs +4 -4
  610. package/dist/actions/update-objective.mjs.map +1 -1
  611. package/dist/actions/update-project.cjs +2 -2
  612. package/dist/actions/update-project.cjs.map +1 -1
  613. package/dist/actions/update-project.d.cts +2 -2
  614. package/dist/actions/update-project.d.mts +2 -2
  615. package/dist/actions/update-project.mjs +2 -2
  616. package/dist/actions/update-project.mjs.map +1 -1
  617. package/dist/actions/update-story-comment.cjs +1 -1
  618. package/dist/actions/update-story-comment.cjs.map +1 -1
  619. package/dist/actions/update-story-comment.d.cts +1 -1
  620. package/dist/actions/update-story-comment.d.mts +1 -1
  621. package/dist/actions/update-story-comment.mjs +1 -1
  622. package/dist/actions/update-story-comment.mjs.map +1 -1
  623. package/dist/actions/update-story-link.cjs +1 -1
  624. package/dist/actions/update-story-link.cjs.map +1 -1
  625. package/dist/actions/update-story-link.d.cts +1 -1
  626. package/dist/actions/update-story-link.d.mts +1 -1
  627. package/dist/actions/update-story-link.mjs +1 -1
  628. package/dist/actions/update-story-link.mjs.map +1 -1
  629. package/dist/actions/update-story.cjs +5 -5
  630. package/dist/actions/update-story.cjs.map +1 -1
  631. package/dist/actions/update-story.d.cts +7 -5
  632. package/dist/actions/update-story.d.mts +7 -5
  633. package/dist/actions/update-story.mjs +5 -5
  634. package/dist/actions/update-story.mjs.map +1 -1
  635. package/dist/actions/update-task.cjs +2 -2
  636. package/dist/actions/update-task.cjs.map +1 -1
  637. package/dist/actions/update-task.d.cts +2 -2
  638. package/dist/actions/update-task.d.mts +2 -2
  639. package/dist/actions/update-task.mjs +2 -2
  640. package/dist/actions/update-task.mjs.map +1 -1
  641. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"update-story.cjs","names":["z","action"],"sources":["../../src/actions/update-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutUpdateStoryInput = z.object({\n name: z.string().describe(\"The title of the story.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Labels`\")).describe(\"An array of labels attached to the story.\").optional(),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to.\").optional(),\n move_to: z.enum([\"last\", \"first\"]).describe(\"One of \\\"first\\\" or \\\"last\\\". This can be used to move the given story to the first or last position in the workflow state.\").optional(),\n after_id: z.number().int().describe(\"The ID of the story we want to move this story after.\").optional(),\n archived: z.boolean().describe(\"True if the story is archived, otherwise false.\").optional(),\n deadline: z.string().describe(\"The due date of the story.\").optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated.\").optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs of files attached to the story.\").optional(),\n group_id: z.string().describe(\"The ID of the group to associate with this story\").optional(),\n before_id: z.number().int().describe(\"The ID of the story we want to move this story before.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n branch_ids: z.array(z.number().int()).describe(\"An array of IDs of Branches attached to the story.\").optional(),\n commit_ids: z.array(z.number().int()).describe(\"An array of IDs of Commits attached to the story.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs of the followers of this story.\").optional(),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to.\").optional(),\n custom_fields: z.array(z.object({\n value: z.string().describe(\"A literal value for the CustomField. Currently ignored.\").optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField.\"),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue.\"),\n}).describe(\"Request schema for `CustomFields`\")).describe(\"A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.\").optional(),\n external_links: z.array(z.string()).describe(\"An array of External Links associated with this story.\").optional(),\n linked_file_ids: z.array(z.number().int()).describe(\"An array of IDs of linked files attached to the story.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the story.\").optional(),\n pull_request_ids: z.array(z.number().int()).describe(\"An array of IDs of Pull/Merge Requests attached to the story.\").optional(),\n story__public__id: z.number().int().describe(\"The unique identifier of this story.\"),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state to put the story in.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed.\").optional(),\n}).describe(\"Request schema for `UpdateStory`\");\nconst ShortcutUpdateStory_CommentSchema = z.object({\n text: z.string().describe(\"Comment text content\").nullable().optional(),\n author_id: z.string().describe(\"User ID of comment author\").nullable().optional(),\n created_at: z.string().describe(\"When comment was created\").nullable().optional(),\n member_mention_ids: z.array(z.string()).describe(\"User IDs mentioned in comment\").nullable().optional(),\n}).describe(\"Comment object on a story\");\nconst ShortcutUpdateStory_CustomFieldSchema = z.object({\n value: z.string().describe(\"Field value\").nullable().optional(),\n field_id: z.string().describe(\"Custom field identifier\").nullable().optional(),\n value_id: z.string().describe(\"Value identifier for enum fields\").nullable().optional(),\n}).describe(\"Custom field value for a story\");\nexport const ShortcutUpdateStoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the story.\").nullable(),\n name: z.string().describe(\"Title of the story.\").nullable(),\n files: z.array(z.unknown()).describe(\"Array of file attachments on the story.\"),\n tasks: z.array(z.unknown()).describe(\"Array of task objects (checklist items) within the story.\"),\n labels: z.array(z.unknown()).describe(\"Array of label objects applied to the story.\"),\n app_url: z.string().describe(\"Direct URL to view the story in the Shortcut application.\").nullable(),\n blocked: z.boolean().describe(\"Whether the story is currently blocked by dependencies.\").nullable(),\n blocker: z.boolean().describe(\"Whether the story is blocking other stories.\").nullable(),\n commits: z.array(z.unknown()).describe(\"Array of git commit objects linked to the story.\"),\n epic_id: z.number().int().describe(\"ID of the epic this story belongs to.\").nullable().optional(),\n started: z.boolean().describe(\"Whether work has started on the story.\").nullable(),\n archived: z.boolean().describe(\"Whether the story has been archived.\").nullable(),\n branches: z.array(z.unknown()).describe(\"Array of git branch objects associated with the story.\"),\n comments: z.array(ShortcutUpdateStory_CommentSchema).describe(\"Array of comment objects on the story.\"),\n deadline: z.string().describe(\"ISO 8601 timestamp for the story deadline.\").nullable().optional(),\n estimate: z.number().int().describe(\"Story point estimate for the story.\").nullable().optional(),\n group_id: z.string().describe(\"UUID of the team/group assigned to the story.\").nullable().optional(),\n moved_at: z.string().describe(\"ISO 8601 timestamp when the story was last moved between states.\").nullable().optional(),\n position: z.number().int().describe(\"Numeric position for ordering stories in lists.\").nullable(),\n completed: z.boolean().describe(\"Whether the story has been completed.\").nullable(),\n lead_time: z.number().int().describe(\"Total time in seconds from story creation to completion.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"Array of user IDs assigned as owners of the story.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the story was created.\").nullable(),\n cycle_time: z.number().int().describe(\"Time in seconds from story start to completion.\").nullable().optional(),\n project_id: z.number().int().describe(\"ID of the project this story belongs to.\").nullable(),\n started_at: z.string().describe(\"ISO 8601 timestamp when work started on the story.\").nullable().optional(),\n story_type: z.string().describe(\"Type of story: 'feature', 'bug', or 'chore'.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the story was last updated.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the story in markdown format.\").nullable(),\n entity_type: z.string().describe(\"Entity type identifier, always 'story'.\").nullable(),\n external_id: z.string().describe(\"External identifier for third-party integrations.\").nullable().optional(),\n story_links: z.array(z.unknown()).describe(\"Array of links to related stories.\"),\n completed_at: z.string().describe(\"ISO 8601 timestamp when the story was completed.\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"Array of user IDs following this story.\"),\n iteration_id: z.number().int().describe(\"ID of the iteration/sprint this story belongs to.\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"Array of externally linked files associated with the story.\"),\n custom_fields: z.array(ShortcutUpdateStory_CustomFieldSchema).describe(\"Array of custom field values for the story.\"),\n external_links: z.array(z.string()).describe(\"Array of external links associated with the story.\"),\n requested_by_id: z.string().describe(\"UUID of the user who requested the story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"Array of group UUIDs mentioned in the story description.\"),\n workflow_state_id: z.number().int().describe(\"ID of the current workflow state for the story.\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"Array of user UUIDs mentioned in the story description.\"),\n started_at_override: z.string().describe(\"Manual override timestamp for when work started.\").nullable().optional(),\n completed_at_override: z.string().describe(\"Manual override timestamp for story completion.\").nullable().optional(),\n}).describe(\"Response schema for `UpdateStory`\");\n\nexport const shortcutUpdateStory = action(\"SHORTCUT_UPDATE_STORY\", {\n slug: \"shortcut-update-story\",\n name: \"Update story\",\n description: \"Update Story can be used to update Story properties.\",\n input: ShortcutUpdateStoryInput,\n output: ShortcutUpdateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACpL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACpI,UAAU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CAAC,SAAS,yCAAyC;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D;CACzG,eAAeA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C;CACpH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACjG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD;CAC1G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-story.cjs","names":["z","action"],"sources":["../../src/actions/update-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutUpdateStoryInput = z.object({\n name: z.string().describe(\"The title of the story.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Labels`\")).describe(\"An array of labels attached to the story.\").optional(),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to.\").optional(),\n move_to: z.enum([\"last\", \"first\"]).describe(\"One of \\\"first\\\" or \\\"last\\\". This can be used to move the given story to the first or last position in the workflow state.\").optional(),\n after_id: z.number().int().describe(\"The ID of the story we want to move this story after.\").optional(),\n archived: z.boolean().describe(\"True if the story is archived, otherwise false.\").optional(),\n deadline: z.string().describe(\"The due date of the story.\").optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated.\").optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs of files attached to the story.\").optional(),\n group_id: z.string().describe(\"The ID of the group to associate with this story\").optional(),\n before_id: z.number().int().describe(\"The ID of the story we want to move this story before.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n branch_ids: z.array(z.number().int()).describe(\"An array of IDs of Branches attached to the story.\").optional(),\n commit_ids: z.array(z.number().int()).describe(\"An array of IDs of Commits attached to the story.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs of the followers of this story.\").optional(),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to.\").optional(),\n custom_fields: z.array(z.object({\n value: z.string().describe(\"A literal value for the CustomField. Currently ignored.\").optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField.\"),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue.\"),\n}).passthrough().describe(\"Request schema for `CustomFields`\")).describe(\"A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.\").optional(),\n external_links: z.array(z.string()).describe(\"An array of External Links associated with this story.\").optional(),\n linked_file_ids: z.array(z.number().int()).describe(\"An array of IDs of linked files attached to the story.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the story.\").optional(),\n pull_request_ids: z.array(z.number().int()).describe(\"An array of IDs of Pull/Merge Requests attached to the story.\").optional(),\n story__public__id: z.number().int().describe(\"The unique identifier of this story.\"),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state to put the story in.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed.\").optional(),\n}).describe(\"Request schema for `UpdateStory`\");\nconst ShortcutUpdateStory_CommentSchema = z.object({\n text: z.string().describe(\"Comment text content\").nullable().optional(),\n author_id: z.string().describe(\"User ID of comment author\").nullable().optional(),\n created_at: z.string().describe(\"When comment was created\").nullable().optional(),\n member_mention_ids: z.array(z.string()).describe(\"User IDs mentioned in comment\").nullable().optional(),\n}).passthrough().describe(\"Comment object on a story\");\nconst ShortcutUpdateStory_CustomFieldSchema = z.object({\n value: z.string().describe(\"Field value\").nullable().optional(),\n field_id: z.string().describe(\"Custom field identifier\").nullable().optional(),\n value_id: z.string().describe(\"Value identifier for enum fields\").nullable().optional(),\n}).passthrough().describe(\"Custom field value for a story\");\nexport const ShortcutUpdateStoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the story.\").nullable(),\n name: z.string().describe(\"Title of the story.\").nullable(),\n files: z.array(z.unknown()).describe(\"Array of file attachments on the story.\"),\n tasks: z.array(z.unknown()).describe(\"Array of task objects (checklist items) within the story.\"),\n labels: z.array(z.unknown()).describe(\"Array of label objects applied to the story.\"),\n app_url: z.string().describe(\"Direct URL to view the story in the Shortcut application.\").nullable(),\n blocked: z.boolean().describe(\"Whether the story is currently blocked by dependencies.\").nullable(),\n blocker: z.boolean().describe(\"Whether the story is blocking other stories.\").nullable(),\n commits: z.array(z.unknown()).describe(\"Array of git commit objects linked to the story.\"),\n epic_id: z.number().int().describe(\"ID of the epic this story belongs to.\").nullable().optional(),\n started: z.boolean().describe(\"Whether work has started on the story.\").nullable(),\n archived: z.boolean().describe(\"Whether the story has been archived.\").nullable(),\n branches: z.array(z.unknown()).describe(\"Array of git branch objects associated with the story.\"),\n comments: z.array(ShortcutUpdateStory_CommentSchema).describe(\"Array of comment objects on the story.\"),\n deadline: z.string().describe(\"ISO 8601 timestamp for the story deadline.\").nullable().optional(),\n estimate: z.number().int().describe(\"Story point estimate for the story.\").nullable().optional(),\n group_id: z.string().describe(\"UUID of the team/group assigned to the story.\").nullable().optional(),\n moved_at: z.string().describe(\"ISO 8601 timestamp when the story was last moved between states.\").nullable().optional(),\n position: z.number().int().describe(\"Numeric position for ordering stories in lists.\").nullable(),\n completed: z.boolean().describe(\"Whether the story has been completed.\").nullable(),\n lead_time: z.number().int().describe(\"Total time in seconds from story creation to completion.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"Array of user IDs assigned as owners of the story.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the story was created.\").nullable(),\n cycle_time: z.number().int().describe(\"Time in seconds from story start to completion.\").nullable().optional(),\n project_id: z.number().int().describe(\"ID of the project this story belongs to.\").nullable(),\n started_at: z.string().describe(\"ISO 8601 timestamp when work started on the story.\").nullable().optional(),\n story_type: z.string().describe(\"Type of story: 'feature', 'bug', or 'chore'.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the story was last updated.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the story in markdown format.\").nullable(),\n entity_type: z.string().describe(\"Entity type identifier, always 'story'.\").nullable(),\n external_id: z.string().describe(\"External identifier for third-party integrations.\").nullable().optional(),\n story_links: z.array(z.unknown()).describe(\"Array of links to related stories.\"),\n completed_at: z.string().describe(\"ISO 8601 timestamp when the story was completed.\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"Array of user IDs following this story.\"),\n iteration_id: z.number().int().describe(\"ID of the iteration/sprint this story belongs to.\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"Array of externally linked files associated with the story.\"),\n custom_fields: z.array(ShortcutUpdateStory_CustomFieldSchema).describe(\"Array of custom field values for the story.\"),\n external_links: z.array(z.string()).describe(\"Array of external links associated with the story.\"),\n requested_by_id: z.string().describe(\"UUID of the user who requested the story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"Array of group UUIDs mentioned in the story description.\"),\n workflow_state_id: z.number().int().describe(\"ID of the current workflow state for the story.\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"Array of user UUIDs mentioned in the story description.\"),\n started_at_override: z.string().describe(\"Manual override timestamp for when work started.\").nullable().optional(),\n completed_at_override: z.string().describe(\"Manual override timestamp for story completion.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UpdateStory`\");\n\nexport const shortcutUpdateStory = action(\"SHORTCUT_UPDATE_STORY\", {\n slug: \"shortcut-update-story\",\n name: \"Update story\",\n description: \"Update Story can be used to update Story properties.\",\n input: ShortcutUpdateStoryInput,\n output: ShortcutUpdateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC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,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD;CAC1G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const ShortcutUpdateStoryInput: z.ZodObject<{
8
8
  color: z.ZodOptional<z.ZodString>;
9
9
  description: z.ZodOptional<z.ZodString>;
10
10
  external_id: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  epic_id: z.ZodOptional<z.ZodNumber>;
13
13
  move_to: z.ZodOptional<z.ZodEnum<{
14
14
  last: "last";
@@ -37,7 +37,7 @@ declare const ShortcutUpdateStoryInput: z.ZodObject<{
37
37
  value: z.ZodOptional<z.ZodString>;
38
38
  field_id: z.ZodString;
39
39
  value_id: z.ZodString;
40
- }, z.core.$strip>>>;
40
+ }, z.core.$loose>>>;
41
41
  external_links: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
42
  linked_file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
43
43
  requested_by_id: z.ZodOptional<z.ZodString>;
@@ -66,7 +66,7 @@ declare const ShortcutUpdateStoryOutput: z.ZodObject<{
66
66
  author_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
67
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
68
  member_mention_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
69
- }, z.core.$strip>>;
69
+ }, z.core.$loose>>;
70
70
  deadline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  estimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
72
  group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -93,7 +93,7 @@ declare const ShortcutUpdateStoryOutput: z.ZodObject<{
93
93
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
94
  field_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
95
  value_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
- }, z.core.$strip>>;
96
+ }, z.core.$loose>>;
97
97
  external_links: z.ZodArray<z.ZodString>;
98
98
  requested_by_id: z.ZodNullable<z.ZodString>;
99
99
  group_mention_ids: z.ZodArray<z.ZodString>;
@@ -101,11 +101,12 @@ declare const ShortcutUpdateStoryOutput: z.ZodObject<{
101
101
  member_mention_ids: z.ZodArray<z.ZodString>;
102
102
  started_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
103
  completed_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
- }, z.core.$strip>;
104
+ }, z.core.$loose>;
105
105
  declare const shortcutUpdateStory: import("@keystrokehq/action").WorkflowActionDefinition<{
106
106
  story__public__id: number;
107
107
  name?: string | undefined;
108
108
  labels?: {
109
+ [x: string]: unknown;
109
110
  name: string;
110
111
  color?: string | undefined;
111
112
  description?: string | undefined;
@@ -129,6 +130,7 @@ declare const shortcutUpdateStory: import("@keystrokehq/action").WorkflowActionD
129
130
  follower_ids?: string[] | undefined;
130
131
  iteration_id?: number | undefined;
131
132
  custom_fields?: {
133
+ [x: string]: unknown;
132
134
  field_id: string;
133
135
  value_id: string;
134
136
  value?: string | undefined;
@@ -8,7 +8,7 @@ declare const ShortcutUpdateStoryInput: z.ZodObject<{
8
8
  color: z.ZodOptional<z.ZodString>;
9
9
  description: z.ZodOptional<z.ZodString>;
10
10
  external_id: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  epic_id: z.ZodOptional<z.ZodNumber>;
13
13
  move_to: z.ZodOptional<z.ZodEnum<{
14
14
  last: "last";
@@ -37,7 +37,7 @@ declare const ShortcutUpdateStoryInput: z.ZodObject<{
37
37
  value: z.ZodOptional<z.ZodString>;
38
38
  field_id: z.ZodString;
39
39
  value_id: z.ZodString;
40
- }, z.core.$strip>>>;
40
+ }, z.core.$loose>>>;
41
41
  external_links: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
42
  linked_file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
43
43
  requested_by_id: z.ZodOptional<z.ZodString>;
@@ -66,7 +66,7 @@ declare const ShortcutUpdateStoryOutput: z.ZodObject<{
66
66
  author_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
67
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
68
  member_mention_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
69
- }, z.core.$strip>>;
69
+ }, z.core.$loose>>;
70
70
  deadline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  estimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
72
  group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -93,7 +93,7 @@ declare const ShortcutUpdateStoryOutput: z.ZodObject<{
93
93
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
94
  field_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
95
  value_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
- }, z.core.$strip>>;
96
+ }, z.core.$loose>>;
97
97
  external_links: z.ZodArray<z.ZodString>;
98
98
  requested_by_id: z.ZodNullable<z.ZodString>;
99
99
  group_mention_ids: z.ZodArray<z.ZodString>;
@@ -101,11 +101,12 @@ declare const ShortcutUpdateStoryOutput: z.ZodObject<{
101
101
  member_mention_ids: z.ZodArray<z.ZodString>;
102
102
  started_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
103
  completed_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
- }, z.core.$strip>;
104
+ }, z.core.$loose>;
105
105
  declare const shortcutUpdateStory: import("@keystrokehq/action").WorkflowActionDefinition<{
106
106
  story__public__id: number;
107
107
  name?: string | undefined;
108
108
  labels?: {
109
+ [x: string]: unknown;
109
110
  name: string;
110
111
  color?: string | undefined;
111
112
  description?: string | undefined;
@@ -129,6 +130,7 @@ declare const shortcutUpdateStory: import("@keystrokehq/action").WorkflowActionD
129
130
  follower_ids?: string[] | undefined;
130
131
  iteration_id?: number | undefined;
131
132
  custom_fields?: {
133
+ [x: string]: unknown;
132
134
  field_id: string;
133
135
  value_id: string;
134
136
  value?: string | undefined;
@@ -8,7 +8,7 @@ const ShortcutUpdateStoryInput = z.object({
8
8
  color: z.string().describe("The hex color to be displayed with the Label (for example, \"#ff0000\").").optional(),
9
9
  description: z.string().describe("The description of the new Label.").optional(),
10
10
  external_id: z.string().describe("This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.").optional()
11
- }).describe("Request schema for `Labels`")).describe("An array of labels attached to the story.").optional(),
11
+ }).passthrough().describe("Request schema for `Labels`")).describe("An array of labels attached to the story.").optional(),
12
12
  epic_id: z.number().int().describe("The ID of the epic the story belongs to.").optional(),
13
13
  move_to: z.enum(["last", "first"]).describe("One of \"first\" or \"last\". This can be used to move the given story to the first or last position in the workflow state.").optional(),
14
14
  after_id: z.number().int().describe("The ID of the story we want to move this story after.").optional(),
@@ -34,7 +34,7 @@ const ShortcutUpdateStoryInput = z.object({
34
34
  value: z.string().describe("A literal value for the CustomField. Currently ignored.").optional(),
35
35
  field_id: z.string().describe("The unique public ID for the CustomField."),
36
36
  value_id: z.string().describe("The unique public ID for the CustomFieldEnumValue.")
37
- }).describe("Request schema for `CustomFields`")).describe("A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.").optional(),
37
+ }).passthrough().describe("Request schema for `CustomFields`")).describe("A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.").optional(),
38
38
  external_links: z.array(z.string()).describe("An array of External Links associated with this story.").optional(),
39
39
  linked_file_ids: z.array(z.number().int()).describe("An array of IDs of linked files attached to the story.").optional(),
40
40
  requested_by_id: z.string().describe("The ID of the member that requested the story.").optional(),
@@ -49,12 +49,12 @@ const ShortcutUpdateStory_CommentSchema = z.object({
49
49
  author_id: z.string().describe("User ID of comment author").nullable().optional(),
50
50
  created_at: z.string().describe("When comment was created").nullable().optional(),
51
51
  member_mention_ids: z.array(z.string()).describe("User IDs mentioned in comment").nullable().optional()
52
- }).describe("Comment object on a story");
52
+ }).passthrough().describe("Comment object on a story");
53
53
  const ShortcutUpdateStory_CustomFieldSchema = z.object({
54
54
  value: z.string().describe("Field value").nullable().optional(),
55
55
  field_id: z.string().describe("Custom field identifier").nullable().optional(),
56
56
  value_id: z.string().describe("Value identifier for enum fields").nullable().optional()
57
- }).describe("Custom field value for a story");
57
+ }).passthrough().describe("Custom field value for a story");
58
58
  const shortcutUpdateStory = action("SHORTCUT_UPDATE_STORY", {
59
59
  slug: "shortcut-update-story",
60
60
  name: "Update story",
@@ -105,7 +105,7 @@ const shortcutUpdateStory = action("SHORTCUT_UPDATE_STORY", {
105
105
  member_mention_ids: z.array(z.string()).describe("Array of user UUIDs mentioned in the story description."),
106
106
  started_at_override: z.string().describe("Manual override timestamp for when work started.").nullable().optional(),
107
107
  completed_at_override: z.string().describe("Manual override timestamp for story completion.").nullable().optional()
108
- }).describe("Response schema for `UpdateStory`")
108
+ }).passthrough().describe("Response schema for `UpdateStory`")
109
109
  });
110
110
  //#endregion
111
111
  export { shortcutUpdateStory };
@@ -1 +1 @@
1
- {"version":3,"file":"update-story.mjs","names":[],"sources":["../../src/actions/update-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutUpdateStoryInput = z.object({\n name: z.string().describe(\"The title of the story.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Labels`\")).describe(\"An array of labels attached to the story.\").optional(),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to.\").optional(),\n move_to: z.enum([\"last\", \"first\"]).describe(\"One of \\\"first\\\" or \\\"last\\\". This can be used to move the given story to the first or last position in the workflow state.\").optional(),\n after_id: z.number().int().describe(\"The ID of the story we want to move this story after.\").optional(),\n archived: z.boolean().describe(\"True if the story is archived, otherwise false.\").optional(),\n deadline: z.string().describe(\"The due date of the story.\").optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated.\").optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs of files attached to the story.\").optional(),\n group_id: z.string().describe(\"The ID of the group to associate with this story\").optional(),\n before_id: z.number().int().describe(\"The ID of the story we want to move this story before.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n branch_ids: z.array(z.number().int()).describe(\"An array of IDs of Branches attached to the story.\").optional(),\n commit_ids: z.array(z.number().int()).describe(\"An array of IDs of Commits attached to the story.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs of the followers of this story.\").optional(),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to.\").optional(),\n custom_fields: z.array(z.object({\n value: z.string().describe(\"A literal value for the CustomField. Currently ignored.\").optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField.\"),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue.\"),\n}).describe(\"Request schema for `CustomFields`\")).describe(\"A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.\").optional(),\n external_links: z.array(z.string()).describe(\"An array of External Links associated with this story.\").optional(),\n linked_file_ids: z.array(z.number().int()).describe(\"An array of IDs of linked files attached to the story.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the story.\").optional(),\n pull_request_ids: z.array(z.number().int()).describe(\"An array of IDs of Pull/Merge Requests attached to the story.\").optional(),\n story__public__id: z.number().int().describe(\"The unique identifier of this story.\"),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state to put the story in.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed.\").optional(),\n}).describe(\"Request schema for `UpdateStory`\");\nconst ShortcutUpdateStory_CommentSchema = z.object({\n text: z.string().describe(\"Comment text content\").nullable().optional(),\n author_id: z.string().describe(\"User ID of comment author\").nullable().optional(),\n created_at: z.string().describe(\"When comment was created\").nullable().optional(),\n member_mention_ids: z.array(z.string()).describe(\"User IDs mentioned in comment\").nullable().optional(),\n}).describe(\"Comment object on a story\");\nconst ShortcutUpdateStory_CustomFieldSchema = z.object({\n value: z.string().describe(\"Field value\").nullable().optional(),\n field_id: z.string().describe(\"Custom field identifier\").nullable().optional(),\n value_id: z.string().describe(\"Value identifier for enum fields\").nullable().optional(),\n}).describe(\"Custom field value for a story\");\nexport const ShortcutUpdateStoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the story.\").nullable(),\n name: z.string().describe(\"Title of the story.\").nullable(),\n files: z.array(z.unknown()).describe(\"Array of file attachments on the story.\"),\n tasks: z.array(z.unknown()).describe(\"Array of task objects (checklist items) within the story.\"),\n labels: z.array(z.unknown()).describe(\"Array of label objects applied to the story.\"),\n app_url: z.string().describe(\"Direct URL to view the story in the Shortcut application.\").nullable(),\n blocked: z.boolean().describe(\"Whether the story is currently blocked by dependencies.\").nullable(),\n blocker: z.boolean().describe(\"Whether the story is blocking other stories.\").nullable(),\n commits: z.array(z.unknown()).describe(\"Array of git commit objects linked to the story.\"),\n epic_id: z.number().int().describe(\"ID of the epic this story belongs to.\").nullable().optional(),\n started: z.boolean().describe(\"Whether work has started on the story.\").nullable(),\n archived: z.boolean().describe(\"Whether the story has been archived.\").nullable(),\n branches: z.array(z.unknown()).describe(\"Array of git branch objects associated with the story.\"),\n comments: z.array(ShortcutUpdateStory_CommentSchema).describe(\"Array of comment objects on the story.\"),\n deadline: z.string().describe(\"ISO 8601 timestamp for the story deadline.\").nullable().optional(),\n estimate: z.number().int().describe(\"Story point estimate for the story.\").nullable().optional(),\n group_id: z.string().describe(\"UUID of the team/group assigned to the story.\").nullable().optional(),\n moved_at: z.string().describe(\"ISO 8601 timestamp when the story was last moved between states.\").nullable().optional(),\n position: z.number().int().describe(\"Numeric position for ordering stories in lists.\").nullable(),\n completed: z.boolean().describe(\"Whether the story has been completed.\").nullable(),\n lead_time: z.number().int().describe(\"Total time in seconds from story creation to completion.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"Array of user IDs assigned as owners of the story.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the story was created.\").nullable(),\n cycle_time: z.number().int().describe(\"Time in seconds from story start to completion.\").nullable().optional(),\n project_id: z.number().int().describe(\"ID of the project this story belongs to.\").nullable(),\n started_at: z.string().describe(\"ISO 8601 timestamp when work started on the story.\").nullable().optional(),\n story_type: z.string().describe(\"Type of story: 'feature', 'bug', or 'chore'.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the story was last updated.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the story in markdown format.\").nullable(),\n entity_type: z.string().describe(\"Entity type identifier, always 'story'.\").nullable(),\n external_id: z.string().describe(\"External identifier for third-party integrations.\").nullable().optional(),\n story_links: z.array(z.unknown()).describe(\"Array of links to related stories.\"),\n completed_at: z.string().describe(\"ISO 8601 timestamp when the story was completed.\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"Array of user IDs following this story.\"),\n iteration_id: z.number().int().describe(\"ID of the iteration/sprint this story belongs to.\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"Array of externally linked files associated with the story.\"),\n custom_fields: z.array(ShortcutUpdateStory_CustomFieldSchema).describe(\"Array of custom field values for the story.\"),\n external_links: z.array(z.string()).describe(\"Array of external links associated with the story.\"),\n requested_by_id: z.string().describe(\"UUID of the user who requested the story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"Array of group UUIDs mentioned in the story description.\"),\n workflow_state_id: z.number().int().describe(\"ID of the current workflow state for the story.\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"Array of user UUIDs mentioned in the story description.\"),\n started_at_override: z.string().describe(\"Manual override timestamp for when work started.\").nullable().optional(),\n completed_at_override: z.string().describe(\"Manual override timestamp for story completion.\").nullable().optional(),\n}).describe(\"Response schema for `UpdateStory`\");\n\nexport const shortcutUpdateStory = action(\"SHORTCUT_UPDATE_STORY\", {\n slug: \"shortcut-update-story\",\n name: \"Update story\",\n description: \"Update Story can be used to update Story properties.\",\n input: ShortcutUpdateStoryInput,\n output: ShortcutUpdateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO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AAoC;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D;EACzG,eAAe,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C;EACpH,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;EACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC3F,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;EAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD;EAC1G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-story.mjs","names":[],"sources":["../../src/actions/update-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutUpdateStoryInput = z.object({\n name: z.string().describe(\"The title of the story.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Labels`\")).describe(\"An array of labels attached to the story.\").optional(),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to.\").optional(),\n move_to: z.enum([\"last\", \"first\"]).describe(\"One of \\\"first\\\" or \\\"last\\\". This can be used to move the given story to the first or last position in the workflow state.\").optional(),\n after_id: z.number().int().describe(\"The ID of the story we want to move this story after.\").optional(),\n archived: z.boolean().describe(\"True if the story is archived, otherwise false.\").optional(),\n deadline: z.string().describe(\"The due date of the story.\").optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the story. Can also be null, which means unestimated.\").optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs of files attached to the story.\").optional(),\n group_id: z.string().describe(\"The ID of the group to associate with this story\").optional(),\n before_id: z.number().int().describe(\"The ID of the story we want to move this story before.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n branch_ids: z.array(z.number().int()).describe(\"An array of IDs of Branches attached to the story.\").optional(),\n commit_ids: z.array(z.number().int()).describe(\"An array of IDs of Commits attached to the story.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs of the followers of this story.\").optional(),\n iteration_id: z.number().int().describe(\"The ID of the iteration the story belongs to.\").optional(),\n custom_fields: z.array(z.object({\n value: z.string().describe(\"A literal value for the CustomField. Currently ignored.\").optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField.\"),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue.\"),\n}).passthrough().describe(\"Request schema for `CustomFields`\")).describe(\"A map specifying a CustomField ID and CustomFieldEnumValue ID that represents an assertion of some value for a CustomField.\").optional(),\n external_links: z.array(z.string()).describe(\"An array of External Links associated with this story.\").optional(),\n linked_file_ids: z.array(z.number().int()).describe(\"An array of IDs of linked files attached to the story.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the story.\").optional(),\n pull_request_ids: z.array(z.number().int()).describe(\"An array of IDs of Pull/Merge Requests attached to the story.\").optional(),\n story__public__id: z.number().int().describe(\"The unique identifier of this story.\"),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state to put the story in.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed.\").optional(),\n}).describe(\"Request schema for `UpdateStory`\");\nconst ShortcutUpdateStory_CommentSchema = z.object({\n text: z.string().describe(\"Comment text content\").nullable().optional(),\n author_id: z.string().describe(\"User ID of comment author\").nullable().optional(),\n created_at: z.string().describe(\"When comment was created\").nullable().optional(),\n member_mention_ids: z.array(z.string()).describe(\"User IDs mentioned in comment\").nullable().optional(),\n}).passthrough().describe(\"Comment object on a story\");\nconst ShortcutUpdateStory_CustomFieldSchema = z.object({\n value: z.string().describe(\"Field value\").nullable().optional(),\n field_id: z.string().describe(\"Custom field identifier\").nullable().optional(),\n value_id: z.string().describe(\"Value identifier for enum fields\").nullable().optional(),\n}).passthrough().describe(\"Custom field value for a story\");\nexport const ShortcutUpdateStoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the story.\").nullable(),\n name: z.string().describe(\"Title of the story.\").nullable(),\n files: z.array(z.unknown()).describe(\"Array of file attachments on the story.\"),\n tasks: z.array(z.unknown()).describe(\"Array of task objects (checklist items) within the story.\"),\n labels: z.array(z.unknown()).describe(\"Array of label objects applied to the story.\"),\n app_url: z.string().describe(\"Direct URL to view the story in the Shortcut application.\").nullable(),\n blocked: z.boolean().describe(\"Whether the story is currently blocked by dependencies.\").nullable(),\n blocker: z.boolean().describe(\"Whether the story is blocking other stories.\").nullable(),\n commits: z.array(z.unknown()).describe(\"Array of git commit objects linked to the story.\"),\n epic_id: z.number().int().describe(\"ID of the epic this story belongs to.\").nullable().optional(),\n started: z.boolean().describe(\"Whether work has started on the story.\").nullable(),\n archived: z.boolean().describe(\"Whether the story has been archived.\").nullable(),\n branches: z.array(z.unknown()).describe(\"Array of git branch objects associated with the story.\"),\n comments: z.array(ShortcutUpdateStory_CommentSchema).describe(\"Array of comment objects on the story.\"),\n deadline: z.string().describe(\"ISO 8601 timestamp for the story deadline.\").nullable().optional(),\n estimate: z.number().int().describe(\"Story point estimate for the story.\").nullable().optional(),\n group_id: z.string().describe(\"UUID of the team/group assigned to the story.\").nullable().optional(),\n moved_at: z.string().describe(\"ISO 8601 timestamp when the story was last moved between states.\").nullable().optional(),\n position: z.number().int().describe(\"Numeric position for ordering stories in lists.\").nullable(),\n completed: z.boolean().describe(\"Whether the story has been completed.\").nullable(),\n lead_time: z.number().int().describe(\"Total time in seconds from story creation to completion.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"Array of user IDs assigned as owners of the story.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the story was created.\").nullable(),\n cycle_time: z.number().int().describe(\"Time in seconds from story start to completion.\").nullable().optional(),\n project_id: z.number().int().describe(\"ID of the project this story belongs to.\").nullable(),\n started_at: z.string().describe(\"ISO 8601 timestamp when work started on the story.\").nullable().optional(),\n story_type: z.string().describe(\"Type of story: 'feature', 'bug', or 'chore'.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the story was last updated.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the story in markdown format.\").nullable(),\n entity_type: z.string().describe(\"Entity type identifier, always 'story'.\").nullable(),\n external_id: z.string().describe(\"External identifier for third-party integrations.\").nullable().optional(),\n story_links: z.array(z.unknown()).describe(\"Array of links to related stories.\"),\n completed_at: z.string().describe(\"ISO 8601 timestamp when the story was completed.\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"Array of user IDs following this story.\"),\n iteration_id: z.number().int().describe(\"ID of the iteration/sprint this story belongs to.\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"Array of externally linked files associated with the story.\"),\n custom_fields: z.array(ShortcutUpdateStory_CustomFieldSchema).describe(\"Array of custom field values for the story.\"),\n external_links: z.array(z.string()).describe(\"Array of external links associated with the story.\"),\n requested_by_id: z.string().describe(\"UUID of the user who requested the story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"Array of group UUIDs mentioned in the story description.\"),\n workflow_state_id: z.number().int().describe(\"ID of the current workflow state for the story.\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"Array of user UUIDs mentioned in the story description.\"),\n started_at_override: z.string().describe(\"Manual override timestamp for when work started.\").nullable().optional(),\n completed_at_override: z.string().describe(\"Manual override timestamp for story completion.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UpdateStory`\");\n\nexport const shortcutUpdateStory = action(\"SHORTCUT_UPDATE_STORY\", {\n slug: \"shortcut-update-story\",\n name: \"Update story\",\n description: \"Update Story can be used to update Story properties.\",\n input: ShortcutUpdateStoryInput,\n output: ShortcutUpdateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAA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AO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D;EACzG,eAAe,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C;EACpH,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;EACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC3F,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;EAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD;EAC1G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const ShortcutUpdateTask_CustomFieldValueSchema = zod.z.object({
14
14
  value: zod.z.string().describe("The value of the custom field.").nullable().optional(),
15
15
  field_id: zod.z.string().describe("The UUID of the custom field.").nullable().optional(),
16
16
  value_id: zod.z.string().describe("The ID of the custom field enum value.").nullable().optional()
17
- }).describe("Custom field value for a Story.");
17
+ }).passthrough().describe("Custom field value for a Story.");
18
18
  const ShortcutUpdateTaskOutput = zod.z.object({
19
19
  id: zod.z.number().int().describe("Unique identifier for the Story (int64).").nullable(),
20
20
  name: zod.z.string().describe("The name/title of the Story.").nullable(),
@@ -70,7 +70,7 @@ const ShortcutUpdateTaskOutput = zod.z.object({
70
70
  started_at_override: zod.z.string().describe("A manual override for the time/date when work on the Story started (ISO 8601 date-time format).").nullable().optional(),
71
71
  completed_at_override: zod.z.string().describe("A manual override for the time/date when the Story was completed (ISO 8601 date-time format).").nullable().optional(),
72
72
  previous_iteration_ids: zod.z.array(zod.z.number().int()).describe("An array of IDs for previous Iterations the Story was part of.").nullable().optional()
73
- }).describe("Response schema for `UpdateTask` - returns the updated Story object.");
73
+ }).passthrough().describe("Response schema for `UpdateTask` - returns the updated Story object.");
74
74
  const shortcutUpdateTask = require_action.action("SHORTCUT_UPDATE_TASK", {
75
75
  slug: "shortcut-update-task",
76
76
  name: "Update task",
@@ -1 +1 @@
1
- {"version":3,"file":"update-task.cjs","names":["z","action"],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutUpdateTaskInput = z.object({\n after_id: z.number().int().describe(\"Move task after this task ID.\").optional(),\n complete: z.boolean().describe(\"A true/false boolean indicating whether the task is complete.\").optional(),\n before_id: z.number().int().describe(\"Move task before this task ID.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n description: z.string().describe(\"The Task\\\"s description.\").optional(),\n task__public__id: z.number().int().describe(\"The unique identifier of the Task you wish to update.\"),\n story__public__id: z.number().int().describe(\"The unique identifier of the parent Story.\"),\n}).describe(\"Request schema for `UpdateTask`\");\nconst ShortcutUpdateTask_CustomFieldValueSchema = z.object({\n value: z.string().describe(\"The value of the custom field.\").nullable().optional(),\n field_id: z.string().describe(\"The UUID of the custom field.\").nullable().optional(),\n value_id: z.string().describe(\"The ID of the custom field enum value.\").nullable().optional(),\n}).describe(\"Custom field value for a Story.\");\nexport const ShortcutUpdateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the Story (int64).\").nullable(),\n name: z.string().describe(\"The name/title of the Story.\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of file objects attached to the Story.\"),\n stats: z.unknown().describe(\"Statistics and metrics for the Story.\").nullable().optional(),\n tasks: z.array(z.unknown()).describe(\"An array of tasks connected to the Story.\"),\n labels: z.array(z.unknown()).describe(\"An array of Labels attached to the Story.\"),\n app_url: z.string().describe(\"The application URL for viewing the Story in Shortcut.\").nullable(),\n blocked: z.boolean().describe(\"Whether the Story is currently blocked.\").nullable(),\n blocker: z.boolean().describe(\"Whether the Story is blocking other Stories.\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of Git commits associated with the Story.\"),\n epic_id: z.number().int().describe(\"The ID of the Epic the Story belongs to (int64).\").nullable().optional(),\n started: z.boolean().describe(\"Whether the Story has been started.\").nullable(),\n archived: z.boolean().describe(\"Whether the Story is archived.\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches associated with the Story.\"),\n comments: z.array(z.unknown()).describe(\"An array of comment objects on the Story.\"),\n deadline: z.string().describe(\"The due date of the Story (ISO 8601 date-time format).\").nullable().optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the Story. Can be null for unestimated Stories.\").nullable().optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs for files attached to the Story.\"),\n group_id: z.string().describe(\"The ID of the Group the Story is assigned to (UUID format).\").nullable().optional(),\n moved_at: z.string().describe(\"The timestamp when the Story was last moved to a different workflow state (ISO 8601 date-time format).\").nullable().optional(),\n position: z.number().int().describe(\"The position of the Story in relation to other Stories in the workflow state.\").nullable(),\n completed: z.boolean().describe(\"Whether the Story has been completed.\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"An array of label IDs attached to the Story.\"),\n lead_time: z.number().int().describe(\"The lead time for the Story in seconds.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the Members who own this Story.\"),\n created_at: z.string().describe(\"The timestamp when the Story was created (ISO 8601 date-time format).\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time for the Story in seconds.\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the Story belongs to (int64).\").nullable(),\n started_at: z.string().describe(\"The timestamp when work on the Story started (ISO 8601 date-time format).\").nullable().optional(),\n story_type: z.string().describe(\"The type of Story (feature, bug, or chore).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the Story was last updated (ISO 8601 date-time format).\").nullable().optional(),\n comment_ids: z.array(z.number().int()).describe(\"An array of IDs for comments on the Story.\"),\n description: z.string().describe(\"The description of the Story.\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource type.\").nullable(),\n external_id: z.string().describe(\"An external ID that can be used to reference the Story from external systems.\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Members mentioned in the Story.\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links showing relationships with other Stories.\"),\n workflow_id: z.number().int().describe(\"The ID of the workflow the Story belongs to (int64).\").nullable(),\n completed_at: z.string().describe(\"The timestamp when the Story was completed (ISO 8601 date-time format).\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members listed as Followers.\"),\n iteration_id: z.number().int().describe(\"The ID of the Iteration the Story belongs to (int64).\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the Story.\"),\n custom_fields: z.array(ShortcutUpdateTask_CustomFieldValueSchema).describe(\"An array of custom field values for the Story.\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of pull requests associated with the Story.\"),\n external_links: z.array(z.string()).describe(\"An array of external links connected to the Story.\").nullable().optional(),\n requested_by_id: z.string().describe(\"The UUID of the Member who requested the Story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Groups mentioned in the Story.\").nullable().optional(),\n story_template_id: z.string().describe(\"The UUID of the Story Template used to create the Story.\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the Story is currently in (int64).\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Members mentioned in the Story.\").nullable().optional(),\n num_tasks_completed: z.number().int().describe(\"The number of tasks that have been completed for the Story.\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date when work on the Story started (ISO 8601 date-time format).\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date when the Story was completed (ISO 8601 date-time format).\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"An array of IDs for previous Iterations the Story was part of.\").nullable().optional(),\n}).describe(\"Response schema for `UpdateTask` - returns the updated Story object.\");\n\nexport const shortcutUpdateTask = action(\"SHORTCUT_UPDATE_TASK\", {\n slug: \"shortcut-update-task\",\n name: \"Update task\",\n description: \"Update Task can be used to update Task properties.\",\n input: ShortcutUpdateTaskInput,\n output: ShortcutUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAC3F,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-task.cjs","names":["z","action"],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutUpdateTaskInput = z.object({\n after_id: z.number().int().describe(\"Move task after this task ID.\").optional(),\n complete: z.boolean().describe(\"A true/false boolean indicating whether the task is complete.\").optional(),\n before_id: z.number().int().describe(\"Move task before this task ID.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n description: z.string().describe(\"The Task\\\"s description.\").optional(),\n task__public__id: z.number().int().describe(\"The unique identifier of the Task you wish to update.\"),\n story__public__id: z.number().int().describe(\"The unique identifier of the parent Story.\"),\n}).describe(\"Request schema for `UpdateTask`\");\nconst ShortcutUpdateTask_CustomFieldValueSchema = z.object({\n value: z.string().describe(\"The value of the custom field.\").nullable().optional(),\n field_id: z.string().describe(\"The UUID of the custom field.\").nullable().optional(),\n value_id: z.string().describe(\"The ID of the custom field enum value.\").nullable().optional(),\n}).passthrough().describe(\"Custom field value for a Story.\");\nexport const ShortcutUpdateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the Story (int64).\").nullable(),\n name: z.string().describe(\"The name/title of the Story.\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of file objects attached to the Story.\"),\n stats: z.unknown().describe(\"Statistics and metrics for the Story.\").nullable().optional(),\n tasks: z.array(z.unknown()).describe(\"An array of tasks connected to the Story.\"),\n labels: z.array(z.unknown()).describe(\"An array of Labels attached to the Story.\"),\n app_url: z.string().describe(\"The application URL for viewing the Story in Shortcut.\").nullable(),\n blocked: z.boolean().describe(\"Whether the Story is currently blocked.\").nullable(),\n blocker: z.boolean().describe(\"Whether the Story is blocking other Stories.\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of Git commits associated with the Story.\"),\n epic_id: z.number().int().describe(\"The ID of the Epic the Story belongs to (int64).\").nullable().optional(),\n started: z.boolean().describe(\"Whether the Story has been started.\").nullable(),\n archived: z.boolean().describe(\"Whether the Story is archived.\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches associated with the Story.\"),\n comments: z.array(z.unknown()).describe(\"An array of comment objects on the Story.\"),\n deadline: z.string().describe(\"The due date of the Story (ISO 8601 date-time format).\").nullable().optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the Story. Can be null for unestimated Stories.\").nullable().optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs for files attached to the Story.\"),\n group_id: z.string().describe(\"The ID of the Group the Story is assigned to (UUID format).\").nullable().optional(),\n moved_at: z.string().describe(\"The timestamp when the Story was last moved to a different workflow state (ISO 8601 date-time format).\").nullable().optional(),\n position: z.number().int().describe(\"The position of the Story in relation to other Stories in the workflow state.\").nullable(),\n completed: z.boolean().describe(\"Whether the Story has been completed.\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"An array of label IDs attached to the Story.\"),\n lead_time: z.number().int().describe(\"The lead time for the Story in seconds.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the Members who own this Story.\"),\n created_at: z.string().describe(\"The timestamp when the Story was created (ISO 8601 date-time format).\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time for the Story in seconds.\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the Story belongs to (int64).\").nullable(),\n started_at: z.string().describe(\"The timestamp when work on the Story started (ISO 8601 date-time format).\").nullable().optional(),\n story_type: z.string().describe(\"The type of Story (feature, bug, or chore).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the Story was last updated (ISO 8601 date-time format).\").nullable().optional(),\n comment_ids: z.array(z.number().int()).describe(\"An array of IDs for comments on the Story.\"),\n description: z.string().describe(\"The description of the Story.\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource type.\").nullable(),\n external_id: z.string().describe(\"An external ID that can be used to reference the Story from external systems.\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Members mentioned in the Story.\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links showing relationships with other Stories.\"),\n workflow_id: z.number().int().describe(\"The ID of the workflow the Story belongs to (int64).\").nullable(),\n completed_at: z.string().describe(\"The timestamp when the Story was completed (ISO 8601 date-time format).\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members listed as Followers.\"),\n iteration_id: z.number().int().describe(\"The ID of the Iteration the Story belongs to (int64).\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the Story.\"),\n custom_fields: z.array(ShortcutUpdateTask_CustomFieldValueSchema).describe(\"An array of custom field values for the Story.\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of pull requests associated with the Story.\"),\n external_links: z.array(z.string()).describe(\"An array of external links connected to the Story.\").nullable().optional(),\n requested_by_id: z.string().describe(\"The UUID of the Member who requested the Story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Groups mentioned in the Story.\").nullable().optional(),\n story_template_id: z.string().describe(\"The UUID of the Story Template used to create the Story.\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the Story is currently in (int64).\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Members mentioned in the Story.\").nullable().optional(),\n num_tasks_completed: z.number().int().describe(\"The number of tasks that have been completed for the Story.\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date when work on the Story started (ISO 8601 date-time format).\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date when the Story was completed (ISO 8601 date-time format).\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"An array of IDs for previous Iterations the Story was part of.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UpdateTask` - returns the updated Story object.\");\n\nexport const shortcutUpdateTask = action(\"SHORTCUT_UPDATE_TASK\", {\n slug: \"shortcut-update-task\",\n name: \"Update task\",\n description: \"Update Task can be used to update Task properties.\",\n input: ShortcutUpdateTaskInput,\n output: ShortcutUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC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S;CAC5H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzH,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -57,7 +57,7 @@ declare const ShortcutUpdateTaskOutput: z.ZodObject<{
57
57
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  field_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  value_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>>>>;
60
+ }, z.core.$loose>>>>;
61
61
  pull_requests: z.ZodArray<z.ZodUnknown>;
62
62
  external_links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
63
63
  requested_by_id: z.ZodNullable<z.ZodString>;
@@ -69,7 +69,7 @@ declare const ShortcutUpdateTaskOutput: z.ZodObject<{
69
69
  started_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  completed_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  previous_iteration_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
72
- }, z.core.$strip>;
72
+ }, z.core.$loose>;
73
73
  declare const shortcutUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
74
74
  task__public__id: number;
75
75
  story__public__id: number;
@@ -57,7 +57,7 @@ declare const ShortcutUpdateTaskOutput: z.ZodObject<{
57
57
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  field_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  value_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>>>>;
60
+ }, z.core.$loose>>>>;
61
61
  pull_requests: z.ZodArray<z.ZodUnknown>;
62
62
  external_links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
63
63
  requested_by_id: z.ZodNullable<z.ZodString>;
@@ -69,7 +69,7 @@ declare const ShortcutUpdateTaskOutput: z.ZodObject<{
69
69
  started_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  completed_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  previous_iteration_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
72
- }, z.core.$strip>;
72
+ }, z.core.$loose>;
73
73
  declare const shortcutUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
74
74
  task__public__id: number;
75
75
  story__public__id: number;
@@ -14,7 +14,7 @@ const ShortcutUpdateTask_CustomFieldValueSchema = z.object({
14
14
  value: z.string().describe("The value of the custom field.").nullable().optional(),
15
15
  field_id: z.string().describe("The UUID of the custom field.").nullable().optional(),
16
16
  value_id: z.string().describe("The ID of the custom field enum value.").nullable().optional()
17
- }).describe("Custom field value for a Story.");
17
+ }).passthrough().describe("Custom field value for a Story.");
18
18
  const shortcutUpdateTask = action("SHORTCUT_UPDATE_TASK", {
19
19
  slug: "shortcut-update-task",
20
20
  name: "Update task",
@@ -75,7 +75,7 @@ const shortcutUpdateTask = action("SHORTCUT_UPDATE_TASK", {
75
75
  started_at_override: z.string().describe("A manual override for the time/date when work on the Story started (ISO 8601 date-time format).").nullable().optional(),
76
76
  completed_at_override: z.string().describe("A manual override for the time/date when the Story was completed (ISO 8601 date-time format).").nullable().optional(),
77
77
  previous_iteration_ids: z.array(z.number().int()).describe("An array of IDs for previous Iterations the Story was part of.").nullable().optional()
78
- }).describe("Response schema for `UpdateTask` - returns the updated Story object.")
78
+ }).passthrough().describe("Response schema for `UpdateTask` - returns the updated Story object.")
79
79
  });
80
80
  //#endregion
81
81
  export { shortcutUpdateTask };
@@ -1 +1 @@
1
- {"version":3,"file":"update-task.mjs","names":[],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutUpdateTaskInput = z.object({\n after_id: z.number().int().describe(\"Move task after this task ID.\").optional(),\n complete: z.boolean().describe(\"A true/false boolean indicating whether the task is complete.\").optional(),\n before_id: z.number().int().describe(\"Move task before this task ID.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n description: z.string().describe(\"The Task\\\"s description.\").optional(),\n task__public__id: z.number().int().describe(\"The unique identifier of the Task you wish to update.\"),\n story__public__id: z.number().int().describe(\"The unique identifier of the parent Story.\"),\n}).describe(\"Request schema for `UpdateTask`\");\nconst ShortcutUpdateTask_CustomFieldValueSchema = z.object({\n value: z.string().describe(\"The value of the custom field.\").nullable().optional(),\n field_id: z.string().describe(\"The UUID of the custom field.\").nullable().optional(),\n value_id: z.string().describe(\"The ID of the custom field enum value.\").nullable().optional(),\n}).describe(\"Custom field value for a Story.\");\nexport const ShortcutUpdateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the Story (int64).\").nullable(),\n name: z.string().describe(\"The name/title of the Story.\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of file objects attached to the Story.\"),\n stats: z.unknown().describe(\"Statistics and metrics for the Story.\").nullable().optional(),\n tasks: z.array(z.unknown()).describe(\"An array of tasks connected to the Story.\"),\n labels: z.array(z.unknown()).describe(\"An array of Labels attached to the Story.\"),\n app_url: z.string().describe(\"The application URL for viewing the Story in Shortcut.\").nullable(),\n blocked: z.boolean().describe(\"Whether the Story is currently blocked.\").nullable(),\n blocker: z.boolean().describe(\"Whether the Story is blocking other Stories.\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of Git commits associated with the Story.\"),\n epic_id: z.number().int().describe(\"The ID of the Epic the Story belongs to (int64).\").nullable().optional(),\n started: z.boolean().describe(\"Whether the Story has been started.\").nullable(),\n archived: z.boolean().describe(\"Whether the Story is archived.\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches associated with the Story.\"),\n comments: z.array(z.unknown()).describe(\"An array of comment objects on the Story.\"),\n deadline: z.string().describe(\"The due date of the Story (ISO 8601 date-time format).\").nullable().optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the Story. Can be null for unestimated Stories.\").nullable().optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs for files attached to the Story.\"),\n group_id: z.string().describe(\"The ID of the Group the Story is assigned to (UUID format).\").nullable().optional(),\n moved_at: z.string().describe(\"The timestamp when the Story was last moved to a different workflow state (ISO 8601 date-time format).\").nullable().optional(),\n position: z.number().int().describe(\"The position of the Story in relation to other Stories in the workflow state.\").nullable(),\n completed: z.boolean().describe(\"Whether the Story has been completed.\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"An array of label IDs attached to the Story.\"),\n lead_time: z.number().int().describe(\"The lead time for the Story in seconds.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the Members who own this Story.\"),\n created_at: z.string().describe(\"The timestamp when the Story was created (ISO 8601 date-time format).\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time for the Story in seconds.\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the Story belongs to (int64).\").nullable(),\n started_at: z.string().describe(\"The timestamp when work on the Story started (ISO 8601 date-time format).\").nullable().optional(),\n story_type: z.string().describe(\"The type of Story (feature, bug, or chore).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the Story was last updated (ISO 8601 date-time format).\").nullable().optional(),\n comment_ids: z.array(z.number().int()).describe(\"An array of IDs for comments on the Story.\"),\n description: z.string().describe(\"The description of the Story.\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource type.\").nullable(),\n external_id: z.string().describe(\"An external ID that can be used to reference the Story from external systems.\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Members mentioned in the Story.\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links showing relationships with other Stories.\"),\n workflow_id: z.number().int().describe(\"The ID of the workflow the Story belongs to (int64).\").nullable(),\n completed_at: z.string().describe(\"The timestamp when the Story was completed (ISO 8601 date-time format).\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members listed as Followers.\"),\n iteration_id: z.number().int().describe(\"The ID of the Iteration the Story belongs to (int64).\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the Story.\"),\n custom_fields: z.array(ShortcutUpdateTask_CustomFieldValueSchema).describe(\"An array of custom field values for the Story.\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of pull requests associated with the Story.\"),\n external_links: z.array(z.string()).describe(\"An array of external links connected to the Story.\").nullable().optional(),\n requested_by_id: z.string().describe(\"The UUID of the Member who requested the Story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Groups mentioned in the Story.\").nullable().optional(),\n story_template_id: z.string().describe(\"The UUID of the Story Template used to create the Story.\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the Story is currently in (int64).\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Members mentioned in the Story.\").nullable().optional(),\n num_tasks_completed: z.number().int().describe(\"The number of tasks that have been completed for the Story.\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date when work on the Story started (ISO 8601 date-time format).\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date when the Story was completed (ISO 8601 date-time format).\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"An array of IDs for previous Iterations the Story was part of.\").nullable().optional(),\n}).describe(\"Response schema for `UpdateTask` - returns the updated Story object.\");\n\nexport const shortcutUpdateTask = action(\"SHORTCUT_UPDATE_TASK\", {\n slug: \"shortcut-update-task\",\n name: \"Update task\",\n description: \"Update Task can be used to update Task properties.\",\n input: ShortcutUpdateTaskInput,\n output: ShortcutUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAC3F,CAAC,CAAC,CAAC,SAAS,iCA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-task.mjs","names":[],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutUpdateTaskInput = z.object({\n after_id: z.number().int().describe(\"Move task after this task ID.\").optional(),\n complete: z.boolean().describe(\"A true/false boolean indicating whether the task is complete.\").optional(),\n before_id: z.number().int().describe(\"Move task before this task ID.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n description: z.string().describe(\"The Task\\\"s description.\").optional(),\n task__public__id: z.number().int().describe(\"The unique identifier of the Task you wish to update.\"),\n story__public__id: z.number().int().describe(\"The unique identifier of the parent Story.\"),\n}).describe(\"Request schema for `UpdateTask`\");\nconst ShortcutUpdateTask_CustomFieldValueSchema = z.object({\n value: z.string().describe(\"The value of the custom field.\").nullable().optional(),\n field_id: z.string().describe(\"The UUID of the custom field.\").nullable().optional(),\n value_id: z.string().describe(\"The ID of the custom field enum value.\").nullable().optional(),\n}).passthrough().describe(\"Custom field value for a Story.\");\nexport const ShortcutUpdateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the Story (int64).\").nullable(),\n name: z.string().describe(\"The name/title of the Story.\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of file objects attached to the Story.\"),\n stats: z.unknown().describe(\"Statistics and metrics for the Story.\").nullable().optional(),\n tasks: z.array(z.unknown()).describe(\"An array of tasks connected to the Story.\"),\n labels: z.array(z.unknown()).describe(\"An array of Labels attached to the Story.\"),\n app_url: z.string().describe(\"The application URL for viewing the Story in Shortcut.\").nullable(),\n blocked: z.boolean().describe(\"Whether the Story is currently blocked.\").nullable(),\n blocker: z.boolean().describe(\"Whether the Story is blocking other Stories.\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of Git commits associated with the Story.\"),\n epic_id: z.number().int().describe(\"The ID of the Epic the Story belongs to (int64).\").nullable().optional(),\n started: z.boolean().describe(\"Whether the Story has been started.\").nullable(),\n archived: z.boolean().describe(\"Whether the Story is archived.\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches associated with the Story.\"),\n comments: z.array(z.unknown()).describe(\"An array of comment objects on the Story.\"),\n deadline: z.string().describe(\"The due date of the Story (ISO 8601 date-time format).\").nullable().optional(),\n estimate: z.number().int().describe(\"The numeric point estimate of the Story. Can be null for unestimated Stories.\").nullable().optional(),\n file_ids: z.array(z.number().int()).describe(\"An array of IDs for files attached to the Story.\"),\n group_id: z.string().describe(\"The ID of the Group the Story is assigned to (UUID format).\").nullable().optional(),\n moved_at: z.string().describe(\"The timestamp when the Story was last moved to a different workflow state (ISO 8601 date-time format).\").nullable().optional(),\n position: z.number().int().describe(\"The position of the Story in relation to other Stories in the workflow state.\").nullable(),\n completed: z.boolean().describe(\"Whether the Story has been completed.\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"An array of label IDs attached to the Story.\"),\n lead_time: z.number().int().describe(\"The lead time for the Story in seconds.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the Members who own this Story.\"),\n created_at: z.string().describe(\"The timestamp when the Story was created (ISO 8601 date-time format).\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time for the Story in seconds.\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the Story belongs to (int64).\").nullable(),\n started_at: z.string().describe(\"The timestamp when work on the Story started (ISO 8601 date-time format).\").nullable().optional(),\n story_type: z.string().describe(\"The type of Story (feature, bug, or chore).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the Story was last updated (ISO 8601 date-time format).\").nullable().optional(),\n comment_ids: z.array(z.number().int()).describe(\"An array of IDs for comments on the Story.\"),\n description: z.string().describe(\"The description of the Story.\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource type.\").nullable(),\n external_id: z.string().describe(\"An external ID that can be used to reference the Story from external systems.\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Members mentioned in the Story.\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links showing relationships with other Stories.\"),\n workflow_id: z.number().int().describe(\"The ID of the workflow the Story belongs to (int64).\").nullable(),\n completed_at: z.string().describe(\"The timestamp when the Story was completed (ISO 8601 date-time format).\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members listed as Followers.\"),\n iteration_id: z.number().int().describe(\"The ID of the Iteration the Story belongs to (int64).\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the Story.\"),\n custom_fields: z.array(ShortcutUpdateTask_CustomFieldValueSchema).describe(\"An array of custom field values for the Story.\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of pull requests associated with the Story.\"),\n external_links: z.array(z.string()).describe(\"An array of external links connected to the Story.\").nullable().optional(),\n requested_by_id: z.string().describe(\"The UUID of the Member who requested the Story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Groups mentioned in the Story.\").nullable().optional(),\n story_template_id: z.string().describe(\"The UUID of the Story Template used to create the Story.\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the Story is currently in (int64).\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of UUIDs for Members mentioned in the Story.\").nullable().optional(),\n num_tasks_completed: z.number().int().describe(\"The number of tasks that have been completed for the Story.\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date when work on the Story started (ISO 8601 date-time format).\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date when the Story was completed (ISO 8601 date-time format).\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"An array of IDs for previous Iterations the Story was part of.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UpdateTask` - returns the updated Story object.\");\n\nexport const shortcutUpdateTask = action(\"SHORTCUT_UPDATE_TASK\", {\n slug: \"shortcut-update-task\",\n name: \"Update task\",\n description: \"Update Task can be used to update Task properties.\",\n input: ShortcutUpdateTaskInput,\n output: ShortcutUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AAC3F,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AA0D3D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA9DsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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AO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACzH,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChK,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChK,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/shortcut",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"