@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":"create-story.cjs","names":["z","action"],"sources":["../../src/actions/create-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateStoryInput = z.object({\n name: z.string().describe(\"The name of the story.\"),\n tasks: z.array(z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Tasks`\")).describe(\"An array of tasks connected to 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 archived: z.boolean().describe(\"Controls the story\\\"s archived state.\").optional(),\n comments: z.array(z.object({\n text: z.string().describe(\"The comment text.\"),\n author_id: z.string().describe(\"The Member ID of the Comment\\\"s author. Defaults to the user identified by the API token.\").optional(),\n parent_id: z.number().int().describe(\"The ID of the Comment that this comment is threaded under.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the comment is created, but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the comment is last updated, but can be set to reflect another date.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Comments`\")).describe(\"An array of comments to add to the story.\").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 owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n sub_tasks: z.array(z.object({\n name: z.string().describe(\"The name of the SubTask.\"),\n}).describe(\"Request schema for `SubTasks`\")).describe(\"An array of sub tasks to create.\").optional(),\n created_at: z.string().describe(\"The time/date the Story was created.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n updated_at: z.string().describe(\"The time/date the Story was updated.\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story_links: z.array(z.object({\n verb: z.enum([\"blocks\", \"duplicates\", \"relates to\"]).describe(\"How the subject Story acts on the object Story. This can be \\\"blocks\\\", \\\"duplicates\\\", or \\\"relates to\\\".\"),\n object_id: z.number().int().describe(\"The unique ID of the Story defined as object.\").optional(),\n subject_id: z.number().int().describe(\"The unique ID of the Story defined as subject.\").optional(),\n}).describe(\"Request schema for `StoryLinks`\")).describe(\"An array of story links attached to 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 source_task_id: z.number().int().describe(\"Given this story was converted from a task in another story, this is the original task ID that was converted to 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 story_template_id: z.string().describe(\"The id of the story template used to create this story, if applicable. This is just an association; no content from the story template is inherited by the story simply by setting this field.\").optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story will be in. At least one of workflow_state_id or project_id is required.\").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 `CreateStory`\");\nconst ShortcutCreateStory_StoryCustomFieldSchema = z.object({\n value: z.string().describe(\"The value of the custom field\").nullable().optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField\").nullable(),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue\").nullable(),\n}).describe(\"CustomField value assertion for the story\");\nexport const ShortcutCreateStoryOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the Story\").nullable(),\n name: z.string().describe(\"The name of the story\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of files attached to the story\"),\n stats: z.unknown().describe(\"The stats object for Stories\"),\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 Shortcut application url for the Story\").nullable(),\n blocked: z.boolean().describe(\"A true/false boolean indicating if the Story is currently blocked\").nullable(),\n blocker: z.boolean().describe(\"A true/false boolean indicating if the Story is currently a blocker of another story\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of commits attached to the story\"),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to\").nullable().optional(),\n started: z.boolean().describe(\"A true/false boolean indicating if the Story has been started\").nullable(),\n archived: z.boolean().describe(\"True if the story has been archived or not\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches attached to the story\"),\n comments: z.array(z.unknown()).describe(\"An array of comments attached to 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 also be null, which means unestimated\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group associated with the story (UUID format)\").nullable().optional(),\n moved_at: z.string().describe(\"The time/date the Story was last changed workflow-state (ISO 8601 date-time format)\").nullable().optional(),\n position: z.number().int().describe(\"A number representing the position of the story in relation to every other story in the current project\").nullable(),\n completed: z.boolean().describe(\"A true/false boolean indicating if the Story has been completed\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story\").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 (in seconds) of this story when complete\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story\"),\n created_at: z.string().describe(\"The time/date the Story was created (ISO 8601 date-time format)\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time (in seconds) of this story when complete\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to\").nullable().optional(),\n started_at: z.string().describe(\"The time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n story_type: z.string().describe(\"The type of story (feature, bug, chore)\").nullable(),\n updated_at: z.string().describe(\"The time/date the Story was updated (ISO 8601 date-time format)\").nullable().optional(),\n description: z.string().describe(\"The description of the story\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource (typically 'story')\").nullable(),\n external_id: z.string().describe(\"Unique ID for imported stories from other tools\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated; use member_mention_ids instead\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links attached to the Story\"),\n synced_item: z.unknown().describe(\"The synced item for the story\").nullable().optional(),\n workflow_id: z.number().int().describe(\"The ID of the workflow the story belongs to\").nullable(),\n completed_at: z.string().describe(\"The time/date 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\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the story\"),\n custom_fields: z.array(ShortcutCreateStory_StoryCustomFieldSchema).describe(\"An array of CustomField value assertions for the story\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of Pull/Merge Requests attached to the story\"),\n external_links: z.array(z.string()).describe(\"An array of external links (strings) associated with a Story\"),\n parent_story_id: z.number().int().describe(\"The ID of the parent story to this story (making this story a sub-task)\").nullable().optional(),\n requested_by_id: z.string().describe(\"The ID of the Member that requested the story (UUID format)\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of Group IDs that have been mentioned in the Story description\"),\n story_template_id: z.string().describe(\"The ID of the story template used to create this story, or null if not created using a template (UUID format)\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story is currently in\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of Member IDs that have been mentioned in the Story description\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"The Story IDs of Sub-tasks attached to the Story\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"The IDs of the iteration the story belongs to\"),\n formatted_vcs_branch_name: z.string().describe(\"The formatted branch name for this story\").nullable().optional(),\n}).describe(\"Response schema for `CreateStory`\");\n\nexport const shortcutCreateStory = action(\"SHORTCUT_CREATE_STORY\", {\n slug: \"shortcut-create-story\",\n name: \"Create story\",\n description: \"Create Story is used to add a new story to your Shortcut Workspace. This endpoint requires that either **workflow_state_id** or **project_id** be provided, but will reject the request if both or neither are specified. The workflow_state_id has been marked as required and is the recommended field to specify because we are in the process of sunsetting Projects in Shortcut.\",\n input: ShortcutCreateStoryInput,\n output: ShortcutCreateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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1J,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC1G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,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":"create-story.cjs","names":["z","action"],"sources":["../../src/actions/create-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateStoryInput = z.object({\n name: z.string().describe(\"The name of the story.\"),\n tasks: z.array(z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Tasks`\")).describe(\"An array of tasks connected to 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 archived: z.boolean().describe(\"Controls the story\\\"s archived state.\").optional(),\n comments: z.array(z.object({\n text: z.string().describe(\"The comment text.\"),\n author_id: z.string().describe(\"The Member ID of the Comment\\\"s author. Defaults to the user identified by the API token.\").optional(),\n parent_id: z.number().int().describe(\"The ID of the Comment that this comment is threaded under.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the comment is created, but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the comment is last updated, but can be set to reflect another date.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Comments`\")).describe(\"An array of comments to add to the story.\").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 owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n sub_tasks: z.array(z.object({\n name: z.string().describe(\"The name of the SubTask.\"),\n}).passthrough().describe(\"Request schema for `SubTasks`\")).describe(\"An array of sub tasks to create.\").optional(),\n created_at: z.string().describe(\"The time/date the Story was created.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n updated_at: z.string().describe(\"The time/date the Story was updated.\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story_links: z.array(z.object({\n verb: z.enum([\"blocks\", \"duplicates\", \"relates to\"]).describe(\"How the subject Story acts on the object Story. This can be \\\"blocks\\\", \\\"duplicates\\\", or \\\"relates to\\\".\"),\n object_id: z.number().int().describe(\"The unique ID of the Story defined as object.\").optional(),\n subject_id: z.number().int().describe(\"The unique ID of the Story defined as subject.\").optional(),\n}).passthrough().describe(\"Request schema for `StoryLinks`\")).describe(\"An array of story links attached to 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 source_task_id: z.number().int().describe(\"Given this story was converted from a task in another story, this is the original task ID that was converted to 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 story_template_id: z.string().describe(\"The id of the story template used to create this story, if applicable. This is just an association; no content from the story template is inherited by the story simply by setting this field.\").optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story will be in. At least one of workflow_state_id or project_id is required.\").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 `CreateStory`\");\nconst ShortcutCreateStory_StoryCustomFieldSchema = z.object({\n value: z.string().describe(\"The value of the custom field\").nullable().optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField\").nullable(),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue\").nullable(),\n}).describe(\"CustomField value assertion for the story\");\nexport const ShortcutCreateStoryOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the Story\").nullable(),\n name: z.string().describe(\"The name of the story\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of files attached to the story\"),\n stats: z.unknown().describe(\"The stats object for Stories\"),\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 Shortcut application url for the Story\").nullable(),\n blocked: z.boolean().describe(\"A true/false boolean indicating if the Story is currently blocked\").nullable(),\n blocker: z.boolean().describe(\"A true/false boolean indicating if the Story is currently a blocker of another story\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of commits attached to the story\"),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to\").nullable().optional(),\n started: z.boolean().describe(\"A true/false boolean indicating if the Story has been started\").nullable(),\n archived: z.boolean().describe(\"True if the story has been archived or not\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches attached to the story\"),\n comments: z.array(z.unknown()).describe(\"An array of comments attached to 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 also be null, which means unestimated\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group associated with the story (UUID format)\").nullable().optional(),\n moved_at: z.string().describe(\"The time/date the Story was last changed workflow-state (ISO 8601 date-time format)\").nullable().optional(),\n position: z.number().int().describe(\"A number representing the position of the story in relation to every other story in the current project\").nullable(),\n completed: z.boolean().describe(\"A true/false boolean indicating if the Story has been completed\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story\").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 (in seconds) of this story when complete\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story\"),\n created_at: z.string().describe(\"The time/date the Story was created (ISO 8601 date-time format)\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time (in seconds) of this story when complete\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to\").nullable().optional(),\n started_at: z.string().describe(\"The time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n story_type: z.string().describe(\"The type of story (feature, bug, chore)\").nullable(),\n updated_at: z.string().describe(\"The time/date the Story was updated (ISO 8601 date-time format)\").nullable().optional(),\n description: z.string().describe(\"The description of the story\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource (typically 'story')\").nullable(),\n external_id: z.string().describe(\"Unique ID for imported stories from other tools\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated; use member_mention_ids instead\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links attached to the Story\"),\n synced_item: z.unknown().describe(\"The synced item for the story\").nullable().optional(),\n workflow_id: z.number().int().describe(\"The ID of the workflow the story belongs to\").nullable(),\n completed_at: z.string().describe(\"The time/date 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\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the story\"),\n custom_fields: z.array(ShortcutCreateStory_StoryCustomFieldSchema).describe(\"An array of CustomField value assertions for the story\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of Pull/Merge Requests attached to the story\"),\n external_links: z.array(z.string()).describe(\"An array of external links (strings) associated with a Story\"),\n parent_story_id: z.number().int().describe(\"The ID of the parent story to this story (making this story a sub-task)\").nullable().optional(),\n requested_by_id: z.string().describe(\"The ID of the Member that requested the story (UUID format)\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of Group IDs that have been mentioned in the Story description\"),\n story_template_id: z.string().describe(\"The ID of the story template used to create this story, or null if not created using a template (UUID format)\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story is currently in\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of Member IDs that have been mentioned in the Story description\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"The Story IDs of Sub-tasks attached to the Story\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"The IDs of the iteration the story belongs to\"),\n formatted_vcs_branch_name: z.string().describe(\"The formatted branch name for this story\").nullable().optional(),\n}).describe(\"Response schema for `CreateStory`\");\n\nexport const shortcutCreateStory = action(\"SHORTCUT_CREATE_STORY\", {\n slug: \"shortcut-create-story\",\n name: \"Create story\",\n description: \"Create Story is used to add a new story to your Shortcut Workspace. This endpoint requires that either **workflow_state_id** or **project_id** be provided, but will reject the request if both or neither are specified. The workflow_state_id has been marked as required and is the recommended field to specify because we are in the process of sunsetting Projects in Shortcut.\",\n input: ShortcutCreateStoryInput,\n output: ShortcutCreateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,w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AAS;CACtJ,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC1G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,13 +10,13 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
10
10
  updated_at: z.ZodOptional<z.ZodString>;
11
11
  description: z.ZodString;
12
12
  external_id: z.ZodOptional<z.ZodString>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
15
15
  name: z.ZodString;
16
16
  color: z.ZodOptional<z.ZodString>;
17
17
  description: z.ZodOptional<z.ZodString>;
18
18
  external_id: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  epic_id: z.ZodOptional<z.ZodNumber>;
21
21
  move_to: z.ZodOptional<z.ZodEnum<{
22
22
  last: "last";
@@ -30,7 +30,7 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
30
30
  created_at: z.ZodOptional<z.ZodString>;
31
31
  updated_at: z.ZodOptional<z.ZodString>;
32
32
  external_id: z.ZodOptional<z.ZodString>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  deadline: z.ZodOptional<z.ZodString>;
35
35
  estimate: z.ZodOptional<z.ZodNumber>;
36
36
  file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -38,7 +38,7 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
38
38
  owner_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
39
  sub_tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
40
40
  name: z.ZodString;
41
- }, z.core.$strip>>>;
41
+ }, z.core.$loose>>>;
42
42
  created_at: z.ZodOptional<z.ZodString>;
43
43
  project_id: z.ZodOptional<z.ZodNumber>;
44
44
  story_type: z.ZodOptional<z.ZodEnum<{
@@ -57,14 +57,14 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
57
57
  }>;
58
58
  object_id: z.ZodOptional<z.ZodNumber>;
59
59
  subject_id: z.ZodOptional<z.ZodNumber>;
60
- }, z.core.$strip>>>;
60
+ }, z.core.$loose>>>;
61
61
  follower_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
62
62
  iteration_id: z.ZodOptional<z.ZodNumber>;
63
63
  custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
64
64
  value: z.ZodOptional<z.ZodString>;
65
65
  field_id: z.ZodString;
66
66
  value_id: z.ZodString;
67
- }, z.core.$strip>>>;
67
+ }, z.core.$loose>>>;
68
68
  external_links: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
69
  source_task_id: z.ZodOptional<z.ZodNumber>;
70
70
  linked_file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -139,6 +139,7 @@ declare const ShortcutCreateStoryOutput: z.ZodObject<{
139
139
  declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionDefinition<{
140
140
  name: string;
141
141
  tasks?: {
142
+ [x: string]: unknown;
142
143
  description: string;
143
144
  complete?: boolean | undefined;
144
145
  owner_ids?: string[] | undefined;
@@ -147,6 +148,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
147
148
  external_id?: string | undefined;
148
149
  }[] | undefined;
149
150
  labels?: {
151
+ [x: string]: unknown;
150
152
  name: string;
151
153
  color?: string | undefined;
152
154
  description?: string | undefined;
@@ -156,6 +158,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
156
158
  move_to?: "last" | "first" | undefined;
157
159
  archived?: boolean | undefined;
158
160
  comments?: {
161
+ [x: string]: unknown;
159
162
  text: string;
160
163
  author_id?: string | undefined;
161
164
  parent_id?: number | undefined;
@@ -169,6 +172,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
169
172
  group_id?: string | undefined;
170
173
  owner_ids?: string[] | undefined;
171
174
  sub_tasks?: {
175
+ [x: string]: unknown;
172
176
  name: string;
173
177
  }[] | undefined;
174
178
  created_at?: string | undefined;
@@ -178,6 +182,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
178
182
  description?: string | undefined;
179
183
  external_id?: string | undefined;
180
184
  story_links?: {
185
+ [x: string]: unknown;
181
186
  verb: "blocks" | "duplicates" | "relates to";
182
187
  object_id?: number | undefined;
183
188
  subject_id?: number | undefined;
@@ -185,6 +190,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
185
190
  follower_ids?: string[] | undefined;
186
191
  iteration_id?: number | undefined;
187
192
  custom_fields?: {
193
+ [x: string]: unknown;
188
194
  field_id: string;
189
195
  value_id: string;
190
196
  value?: string | undefined;
@@ -10,13 +10,13 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
10
10
  updated_at: z.ZodOptional<z.ZodString>;
11
11
  description: z.ZodString;
12
12
  external_id: z.ZodOptional<z.ZodString>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
15
15
  name: z.ZodString;
16
16
  color: z.ZodOptional<z.ZodString>;
17
17
  description: z.ZodOptional<z.ZodString>;
18
18
  external_id: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  epic_id: z.ZodOptional<z.ZodNumber>;
21
21
  move_to: z.ZodOptional<z.ZodEnum<{
22
22
  last: "last";
@@ -30,7 +30,7 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
30
30
  created_at: z.ZodOptional<z.ZodString>;
31
31
  updated_at: z.ZodOptional<z.ZodString>;
32
32
  external_id: z.ZodOptional<z.ZodString>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  deadline: z.ZodOptional<z.ZodString>;
35
35
  estimate: z.ZodOptional<z.ZodNumber>;
36
36
  file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -38,7 +38,7 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
38
38
  owner_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
39
  sub_tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
40
40
  name: z.ZodString;
41
- }, z.core.$strip>>>;
41
+ }, z.core.$loose>>>;
42
42
  created_at: z.ZodOptional<z.ZodString>;
43
43
  project_id: z.ZodOptional<z.ZodNumber>;
44
44
  story_type: z.ZodOptional<z.ZodEnum<{
@@ -57,14 +57,14 @@ declare const ShortcutCreateStoryInput: z.ZodObject<{
57
57
  }>;
58
58
  object_id: z.ZodOptional<z.ZodNumber>;
59
59
  subject_id: z.ZodOptional<z.ZodNumber>;
60
- }, z.core.$strip>>>;
60
+ }, z.core.$loose>>>;
61
61
  follower_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
62
62
  iteration_id: z.ZodOptional<z.ZodNumber>;
63
63
  custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
64
64
  value: z.ZodOptional<z.ZodString>;
65
65
  field_id: z.ZodString;
66
66
  value_id: z.ZodString;
67
- }, z.core.$strip>>>;
67
+ }, z.core.$loose>>>;
68
68
  external_links: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
69
  source_task_id: z.ZodOptional<z.ZodNumber>;
70
70
  linked_file_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -139,6 +139,7 @@ declare const ShortcutCreateStoryOutput: z.ZodObject<{
139
139
  declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionDefinition<{
140
140
  name: string;
141
141
  tasks?: {
142
+ [x: string]: unknown;
142
143
  description: string;
143
144
  complete?: boolean | undefined;
144
145
  owner_ids?: string[] | undefined;
@@ -147,6 +148,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
147
148
  external_id?: string | undefined;
148
149
  }[] | undefined;
149
150
  labels?: {
151
+ [x: string]: unknown;
150
152
  name: string;
151
153
  color?: string | undefined;
152
154
  description?: string | undefined;
@@ -156,6 +158,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
156
158
  move_to?: "last" | "first" | undefined;
157
159
  archived?: boolean | undefined;
158
160
  comments?: {
161
+ [x: string]: unknown;
159
162
  text: string;
160
163
  author_id?: string | undefined;
161
164
  parent_id?: number | undefined;
@@ -169,6 +172,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
169
172
  group_id?: string | undefined;
170
173
  owner_ids?: string[] | undefined;
171
174
  sub_tasks?: {
175
+ [x: string]: unknown;
172
176
  name: string;
173
177
  }[] | undefined;
174
178
  created_at?: string | undefined;
@@ -178,6 +182,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
178
182
  description?: string | undefined;
179
183
  external_id?: string | undefined;
180
184
  story_links?: {
185
+ [x: string]: unknown;
181
186
  verb: "blocks" | "duplicates" | "relates to";
182
187
  object_id?: number | undefined;
183
188
  subject_id?: number | undefined;
@@ -185,6 +190,7 @@ declare const shortcutCreateStory: import("@keystrokehq/action").WorkflowActionD
185
190
  follower_ids?: string[] | undefined;
186
191
  iteration_id?: number | undefined;
187
192
  custom_fields?: {
193
+ [x: string]: unknown;
188
194
  field_id: string;
189
195
  value_id: string;
190
196
  value?: string | undefined;
@@ -10,13 +10,13 @@ const ShortcutCreateStoryInput = z.object({
10
10
  updated_at: z.string().describe("Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.").optional(),
11
11
  description: z.string().describe("The Task description."),
12
12
  external_id: z.string().describe("This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.").optional()
13
- }).describe("Request schema for `Tasks`")).describe("An array of tasks connected to the story.").optional(),
13
+ }).passthrough().describe("Request schema for `Tasks`")).describe("An array of tasks connected to the story.").optional(),
14
14
  labels: z.array(z.object({
15
15
  name: z.string().describe("The name of the new Label."),
16
16
  color: z.string().describe("The hex color to be displayed with the Label (for example, \"#ff0000\").").optional(),
17
17
  description: z.string().describe("The description of the new Label.").optional(),
18
18
  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()
19
- }).describe("Request schema for `Labels`")).describe("An array of labels attached to the story.").optional(),
19
+ }).passthrough().describe("Request schema for `Labels`")).describe("An array of labels attached to the story.").optional(),
20
20
  epic_id: z.number().int().describe("The ID of the epic the story belongs to.").optional(),
21
21
  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(),
22
22
  archived: z.boolean().describe("Controls the story\"s archived state.").optional(),
@@ -27,13 +27,13 @@ const ShortcutCreateStoryInput = z.object({
27
27
  created_at: z.string().describe("Defaults to the time/date the comment is created, but can be set to reflect another date.").optional(),
28
28
  updated_at: z.string().describe("Defaults to the time/date the comment is last updated, but can be set to reflect another date.").optional(),
29
29
  external_id: z.string().describe("This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.").optional()
30
- }).describe("Request schema for `Comments`")).describe("An array of comments to add to the story.").optional(),
30
+ }).passthrough().describe("Request schema for `Comments`")).describe("An array of comments to add to the story.").optional(),
31
31
  deadline: z.string().describe("The due date of the story.").optional(),
32
32
  estimate: z.number().int().describe("The numeric point estimate of the story. Can also be null, which means unestimated.").optional(),
33
33
  file_ids: z.array(z.number().int()).describe("An array of IDs of files attached to the story.").optional(),
34
34
  group_id: z.string().describe("The id of the group to associate with this story.").optional(),
35
35
  owner_ids: z.array(z.string()).describe("An array of UUIDs of the owners of this story.").optional(),
36
- sub_tasks: z.array(z.object({ name: z.string().describe("The name of the SubTask.") }).describe("Request schema for `SubTasks`")).describe("An array of sub tasks to create.").optional(),
36
+ sub_tasks: z.array(z.object({ name: z.string().describe("The name of the SubTask.") }).passthrough().describe("Request schema for `SubTasks`")).describe("An array of sub tasks to create.").optional(),
37
37
  created_at: z.string().describe("The time/date the Story was created.").optional(),
38
38
  project_id: z.number().int().describe("The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.").optional(),
39
39
  story_type: z.enum([
@@ -52,14 +52,14 @@ const ShortcutCreateStoryInput = z.object({
52
52
  ]).describe("How the subject Story acts on the object Story. This can be \"blocks\", \"duplicates\", or \"relates to\"."),
53
53
  object_id: z.number().int().describe("The unique ID of the Story defined as object.").optional(),
54
54
  subject_id: z.number().int().describe("The unique ID of the Story defined as subject.").optional()
55
- }).describe("Request schema for `StoryLinks`")).describe("An array of story links attached to the story.").optional(),
55
+ }).passthrough().describe("Request schema for `StoryLinks`")).describe("An array of story links attached to the story.").optional(),
56
56
  follower_ids: z.array(z.string()).describe("An array of UUIDs of the followers of this story.").optional(),
57
57
  iteration_id: z.number().int().describe("The ID of the iteration the story belongs to.").optional(),
58
58
  custom_fields: z.array(z.object({
59
59
  value: z.string().describe("A literal value for the CustomField. Currently ignored.").optional(),
60
60
  field_id: z.string().describe("The unique public ID for the CustomField."),
61
61
  value_id: z.string().describe("The unique public ID for the CustomFieldEnumValue.")
62
- }).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(),
62
+ }).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(),
63
63
  external_links: z.array(z.string()).describe("An array of External Links associated with this story.").optional(),
64
64
  source_task_id: z.number().int().describe("Given this story was converted from a task in another story, this is the original task ID that was converted to this story.").optional(),
65
65
  linked_file_ids: z.array(z.number().int()).describe("An array of IDs of linked files attached to the story.").optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"create-story.mjs","names":[],"sources":["../../src/actions/create-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateStoryInput = z.object({\n name: z.string().describe(\"The name of the story.\"),\n tasks: z.array(z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Tasks`\")).describe(\"An array of tasks connected to 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 archived: z.boolean().describe(\"Controls the story\\\"s archived state.\").optional(),\n comments: z.array(z.object({\n text: z.string().describe(\"The comment text.\"),\n author_id: z.string().describe(\"The Member ID of the Comment\\\"s author. Defaults to the user identified by the API token.\").optional(),\n parent_id: z.number().int().describe(\"The ID of the Comment that this comment is threaded under.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the comment is created, but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the comment is last updated, but can be set to reflect another date.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `Comments`\")).describe(\"An array of comments to add to the story.\").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 owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n sub_tasks: z.array(z.object({\n name: z.string().describe(\"The name of the SubTask.\"),\n}).describe(\"Request schema for `SubTasks`\")).describe(\"An array of sub tasks to create.\").optional(),\n created_at: z.string().describe(\"The time/date the Story was created.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n updated_at: z.string().describe(\"The time/date the Story was updated.\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story_links: z.array(z.object({\n verb: z.enum([\"blocks\", \"duplicates\", \"relates to\"]).describe(\"How the subject Story acts on the object Story. This can be \\\"blocks\\\", \\\"duplicates\\\", or \\\"relates to\\\".\"),\n object_id: z.number().int().describe(\"The unique ID of the Story defined as object.\").optional(),\n subject_id: z.number().int().describe(\"The unique ID of the Story defined as subject.\").optional(),\n}).describe(\"Request schema for `StoryLinks`\")).describe(\"An array of story links attached to 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 source_task_id: z.number().int().describe(\"Given this story was converted from a task in another story, this is the original task ID that was converted to 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 story_template_id: z.string().describe(\"The id of the story template used to create this story, if applicable. This is just an association; no content from the story template is inherited by the story simply by setting this field.\").optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story will be in. At least one of workflow_state_id or project_id is required.\").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 `CreateStory`\");\nconst ShortcutCreateStory_StoryCustomFieldSchema = z.object({\n value: z.string().describe(\"The value of the custom field\").nullable().optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField\").nullable(),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue\").nullable(),\n}).describe(\"CustomField value assertion for the story\");\nexport const ShortcutCreateStoryOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the Story\").nullable(),\n name: z.string().describe(\"The name of the story\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of files attached to the story\"),\n stats: z.unknown().describe(\"The stats object for Stories\"),\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 Shortcut application url for the Story\").nullable(),\n blocked: z.boolean().describe(\"A true/false boolean indicating if the Story is currently blocked\").nullable(),\n blocker: z.boolean().describe(\"A true/false boolean indicating if the Story is currently a blocker of another story\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of commits attached to the story\"),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to\").nullable().optional(),\n started: z.boolean().describe(\"A true/false boolean indicating if the Story has been started\").nullable(),\n archived: z.boolean().describe(\"True if the story has been archived or not\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches attached to the story\"),\n comments: z.array(z.unknown()).describe(\"An array of comments attached to 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 also be null, which means unestimated\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group associated with the story (UUID format)\").nullable().optional(),\n moved_at: z.string().describe(\"The time/date the Story was last changed workflow-state (ISO 8601 date-time format)\").nullable().optional(),\n position: z.number().int().describe(\"A number representing the position of the story in relation to every other story in the current project\").nullable(),\n completed: z.boolean().describe(\"A true/false boolean indicating if the Story has been completed\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story\").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 (in seconds) of this story when complete\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story\"),\n created_at: z.string().describe(\"The time/date the Story was created (ISO 8601 date-time format)\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time (in seconds) of this story when complete\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to\").nullable().optional(),\n started_at: z.string().describe(\"The time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n story_type: z.string().describe(\"The type of story (feature, bug, chore)\").nullable(),\n updated_at: z.string().describe(\"The time/date the Story was updated (ISO 8601 date-time format)\").nullable().optional(),\n description: z.string().describe(\"The description of the story\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource (typically 'story')\").nullable(),\n external_id: z.string().describe(\"Unique ID for imported stories from other tools\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated; use member_mention_ids instead\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links attached to the Story\"),\n synced_item: z.unknown().describe(\"The synced item for the story\").nullable().optional(),\n workflow_id: z.number().int().describe(\"The ID of the workflow the story belongs to\").nullable(),\n completed_at: z.string().describe(\"The time/date 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\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the story\"),\n custom_fields: z.array(ShortcutCreateStory_StoryCustomFieldSchema).describe(\"An array of CustomField value assertions for the story\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of Pull/Merge Requests attached to the story\"),\n external_links: z.array(z.string()).describe(\"An array of external links (strings) associated with a Story\"),\n parent_story_id: z.number().int().describe(\"The ID of the parent story to this story (making this story a sub-task)\").nullable().optional(),\n requested_by_id: z.string().describe(\"The ID of the Member that requested the story (UUID format)\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of Group IDs that have been mentioned in the Story description\"),\n story_template_id: z.string().describe(\"The ID of the story template used to create this story, or null if not created using a template (UUID format)\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story is currently in\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of Member IDs that have been mentioned in the Story description\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"The Story IDs of Sub-tasks attached to the Story\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"The IDs of the iteration the story belongs to\"),\n formatted_vcs_branch_name: z.string().describe(\"The formatted branch name for this story\").nullable().optional(),\n}).describe(\"Response schema for `CreateStory`\");\n\nexport const shortcutCreateStory = action(\"SHORTCUT_CREATE_STORY\", {\n slug: \"shortcut-create-story\",\n name: \"Create story\",\n description: \"Create Story is used to add a new story to your Shortcut Workspace. This endpoint requires that either **workflow_state_id** or **project_id** be provided, but will reject the request if both or neither are specified. The workflow_state_id has been marked as required and is the recommended field to specify because we are in the process of sunsetting Projects in Shortcut.\",\n input: ShortcutCreateStoryInput,\n output: ShortcutCreateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC1M,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxG,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,O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C"}
1
+ {"version":3,"file":"create-story.mjs","names":[],"sources":["../../src/actions/create-story.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateStoryInput = z.object({\n name: z.string().describe(\"The name of the story.\"),\n tasks: z.array(z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Tasks`\")).describe(\"An array of tasks connected to 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 archived: z.boolean().describe(\"Controls the story\\\"s archived state.\").optional(),\n comments: z.array(z.object({\n text: z.string().describe(\"The comment text.\"),\n author_id: z.string().describe(\"The Member ID of the Comment\\\"s author. Defaults to the user identified by the API token.\").optional(),\n parent_id: z.number().int().describe(\"The ID of the Comment that this comment is threaded under.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the comment is created, but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the comment is last updated, but can be set to reflect another date.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the comment has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).passthrough().describe(\"Request schema for `Comments`\")).describe(\"An array of comments to add to the story.\").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 owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story.\").optional(),\n sub_tasks: z.array(z.object({\n name: z.string().describe(\"The name of the SubTask.\"),\n}).passthrough().describe(\"Request schema for `SubTasks`\")).describe(\"An array of sub tasks to create.\").optional(),\n created_at: z.string().describe(\"The time/date the Story was created.\").optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to. At least one of project_id or workflow_state_id is required.\").optional(),\n story_type: z.enum([\"feature\", \"chore\", \"bug\"]).describe(\"The type of story (feature, bug, chore).\").optional(),\n updated_at: z.string().describe(\"The time/date the Story was updated.\").optional(),\n description: z.string().describe(\"The description of the story.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story_links: z.array(z.object({\n verb: z.enum([\"blocks\", \"duplicates\", \"relates to\"]).describe(\"How the subject Story acts on the object Story. This can be \\\"blocks\\\", \\\"duplicates\\\", or \\\"relates to\\\".\"),\n object_id: z.number().int().describe(\"The unique ID of the Story defined as object.\").optional(),\n subject_id: z.number().int().describe(\"The unique ID of the Story defined as subject.\").optional(),\n}).passthrough().describe(\"Request schema for `StoryLinks`\")).describe(\"An array of story links attached to 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 source_task_id: z.number().int().describe(\"Given this story was converted from a task in another story, this is the original task ID that was converted to 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 story_template_id: z.string().describe(\"The id of the story template used to create this story, if applicable. This is just an association; no content from the story template is inherited by the story simply by setting this field.\").optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story will be in. At least one of workflow_state_id or project_id is required.\").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 `CreateStory`\");\nconst ShortcutCreateStory_StoryCustomFieldSchema = z.object({\n value: z.string().describe(\"The value of the custom field\").nullable().optional(),\n field_id: z.string().describe(\"The unique public ID for the CustomField\").nullable(),\n value_id: z.string().describe(\"The unique public ID for the CustomFieldEnumValue\").nullable(),\n}).describe(\"CustomField value assertion for the story\");\nexport const ShortcutCreateStoryOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the Story\").nullable(),\n name: z.string().describe(\"The name of the story\").nullable(),\n files: z.array(z.unknown()).describe(\"An array of files attached to the story\"),\n stats: z.unknown().describe(\"The stats object for Stories\"),\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 Shortcut application url for the Story\").nullable(),\n blocked: z.boolean().describe(\"A true/false boolean indicating if the Story is currently blocked\").nullable(),\n blocker: z.boolean().describe(\"A true/false boolean indicating if the Story is currently a blocker of another story\").nullable(),\n commits: z.array(z.unknown()).describe(\"An array of commits attached to the story\"),\n epic_id: z.number().int().describe(\"The ID of the epic the story belongs to\").nullable().optional(),\n started: z.boolean().describe(\"A true/false boolean indicating if the Story has been started\").nullable(),\n archived: z.boolean().describe(\"True if the story has been archived or not\").nullable(),\n branches: z.array(z.unknown()).describe(\"An array of Git branches attached to the story\"),\n comments: z.array(z.unknown()).describe(\"An array of comments attached to 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 also be null, which means unestimated\").nullable().optional(),\n group_id: z.string().describe(\"The ID of the group associated with the story (UUID format)\").nullable().optional(),\n moved_at: z.string().describe(\"The time/date the Story was last changed workflow-state (ISO 8601 date-time format)\").nullable().optional(),\n position: z.number().int().describe(\"A number representing the position of the story in relation to every other story in the current project\").nullable(),\n completed: z.boolean().describe(\"A true/false boolean indicating if the Story has been completed\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story\").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 (in seconds) of this story when complete\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs of the owners of this story\"),\n created_at: z.string().describe(\"The time/date the Story was created (ISO 8601 date-time format)\").nullable(),\n cycle_time: z.number().int().describe(\"The cycle time (in seconds) of this story when complete\").nullable().optional(),\n project_id: z.number().int().describe(\"The ID of the project the story belongs to\").nullable().optional(),\n started_at: z.string().describe(\"The time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n story_type: z.string().describe(\"The type of story (feature, bug, chore)\").nullable(),\n updated_at: z.string().describe(\"The time/date the Story was updated (ISO 8601 date-time format)\").nullable().optional(),\n description: z.string().describe(\"The description of the story\").nullable(),\n entity_type: z.string().describe(\"A string description of this resource (typically 'story')\").nullable(),\n external_id: z.string().describe(\"Unique ID for imported stories from other tools\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated; use member_mention_ids instead\"),\n story_links: z.array(z.unknown()).describe(\"An array of story links attached to the Story\"),\n synced_item: z.unknown().describe(\"The synced item for the story\").nullable().optional(),\n workflow_id: z.number().int().describe(\"The ID of the workflow the story belongs to\").nullable(),\n completed_at: z.string().describe(\"The time/date 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\").nullable().optional(),\n linked_files: z.array(z.unknown()).describe(\"An array of linked files attached to the story\"),\n custom_fields: z.array(ShortcutCreateStory_StoryCustomFieldSchema).describe(\"An array of CustomField value assertions for the story\").nullable().optional(),\n pull_requests: z.array(z.unknown()).describe(\"An array of Pull/Merge Requests attached to the story\"),\n external_links: z.array(z.string()).describe(\"An array of external links (strings) associated with a Story\"),\n parent_story_id: z.number().int().describe(\"The ID of the parent story to this story (making this story a sub-task)\").nullable().optional(),\n requested_by_id: z.string().describe(\"The ID of the Member that requested the story (UUID format)\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"An array of Group IDs that have been mentioned in the Story description\"),\n story_template_id: z.string().describe(\"The ID of the story template used to create this story, or null if not created using a template (UUID format)\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"The ID of the workflow state the story is currently in\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"An array of Member IDs that have been mentioned in the Story description\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"The Story IDs of Sub-tasks attached to the Story\").nullable().optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Story was started (ISO 8601 date-time format)\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Story was completed (ISO 8601 date-time format)\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"The IDs of the iteration the story belongs to\"),\n formatted_vcs_branch_name: z.string().describe(\"The formatted branch name for this story\").nullable().optional(),\n}).describe(\"Response schema for `CreateStory`\");\n\nexport const shortcutCreateStory = action(\"SHORTCUT_CREATE_STORY\", {\n slug: \"shortcut-create-story\",\n name: \"Create story\",\n description: \"Create Story is used to add a new story to your Shortcut Workspace. This endpoint requires that either **workflow_state_id** or **project_id** be provided, but will reject the request if both or neither are specified. The workflow_state_id has been marked as required and is the recommended field to specify because we are in the process of sunsetting Projects in Shortcut.\",\n input: ShortcutCreateStoryInput,\n output: ShortcutCreateStoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtH,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,OA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CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -10,18 +10,18 @@ const ShortcutCreateTaskInput = zod.z.object({
10
10
  external_id: zod.z.string().describe("This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.").optional(),
11
11
  story__public__id: zod.z.number().int().describe("The ID of the Story that the Task will be in.")
12
12
  }).describe("Request schema for `CreateTask`");
13
- const ShortcutCreateTask_UploadedFileSchema = zod.z.object({}).describe("File attached to a story.");
14
- const ShortcutCreateTask_StoryStatsSchema = zod.z.object({}).describe("Statistics for a story.");
15
- const ShortcutCreateTask_TaskSchema = zod.z.object({}).describe("Task within a story.");
16
- const ShortcutCreateTask_LabelSlimSchema = zod.z.object({}).describe("Label attached to a story.");
17
- const ShortcutCreateTask_CommitSchema = zod.z.object({}).describe("Commit attached to a story.");
18
- const ShortcutCreateTask_BranchSchema = zod.z.object({}).describe("Git branch attached to a story.");
19
- const ShortcutCreateTask_StoryCommentSchema = zod.z.object({}).describe("Comment attached to a story.");
20
- const ShortcutCreateTask_TypedStoryLinkSchema = zod.z.object({}).describe("Story link connecting stories.");
21
- const ShortcutCreateTask_SyncedItemSchema = zod.z.object({}).describe("Synced item data from external integrations.");
22
- const ShortcutCreateTask_LinkedFileSchema = zod.z.object({}).describe("Linked file.");
23
- const ShortcutCreateTask_StoryCustomFieldSchema = zod.z.object({}).describe("Custom field value assertion for a story.");
24
- const ShortcutCreateTask_PullRequestSchema = zod.z.object({}).describe("Pull/merge request attached to a story.");
13
+ const ShortcutCreateTask_UploadedFileSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("File attached to a story.");
14
+ const ShortcutCreateTask_StoryStatsSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Statistics for a story.");
15
+ const ShortcutCreateTask_TaskSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Task within a story.");
16
+ const ShortcutCreateTask_LabelSlimSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Label attached to a story.");
17
+ const ShortcutCreateTask_CommitSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Commit attached to a story.");
18
+ const ShortcutCreateTask_BranchSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Git branch attached to a story.");
19
+ const ShortcutCreateTask_StoryCommentSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Comment attached to a story.");
20
+ const ShortcutCreateTask_TypedStoryLinkSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Story link connecting stories.");
21
+ const ShortcutCreateTask_SyncedItemSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Synced item data from external integrations.");
22
+ const ShortcutCreateTask_LinkedFileSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Linked file.");
23
+ const ShortcutCreateTask_StoryCustomFieldSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field value assertion for a story.");
24
+ const ShortcutCreateTask_PullRequestSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pull/merge request attached to a story.");
25
25
  const ShortcutCreateTaskOutput = zod.z.object({
26
26
  id: zod.z.number().int().describe("Unique story identifier.").nullable(),
27
27
  name: zod.z.string().describe("Story name.").nullable(),
@@ -79,7 +79,7 @@ const ShortcutCreateTaskOutput = zod.z.object({
79
79
  completed_at_override: zod.z.string().describe("Manual override for completion timestamp (ISO 8601 date-time format, nullable).").nullable().optional(),
80
80
  previous_iteration_ids: zod.z.array(zod.z.number().int()).describe("Array of previous iteration identifiers."),
81
81
  formatted_vcs_branch_name: zod.z.string().describe("Formatted version control system branch name (nullable).").nullable().optional()
82
- }).describe("Response schema for `CreateTask` - returns a Story object with the created task.");
82
+ }).passthrough().describe("Response schema for `CreateTask` - returns a Story object with the created task.");
83
83
  const shortcutCreateTask = require_action.action("SHORTCUT_CREATE_TASK", {
84
84
  slug: "shortcut-create-task",
85
85
  name: "Create task",
@@ -1 +1 @@
1
- {"version":3,"file":"create-task.cjs","names":["z","action"],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateTaskInput = z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story__public__id: z.number().int().describe(\"The ID of the Story that the Task will be in.\"),\n}).describe(\"Request schema for `CreateTask`\");\nconst ShortcutCreateTask_UploadedFileSchema = z.object({}).describe(\"File attached to a story.\");\nconst ShortcutCreateTask_StoryStatsSchema = z.object({}).describe(\"Statistics for a story.\");\nconst ShortcutCreateTask_TaskSchema = z.object({}).describe(\"Task within a story.\");\nconst ShortcutCreateTask_LabelSlimSchema = z.object({}).describe(\"Label attached to a story.\");\nconst ShortcutCreateTask_CommitSchema = z.object({}).describe(\"Commit attached to a story.\");\nconst ShortcutCreateTask_BranchSchema = z.object({}).describe(\"Git branch attached to a story.\");\nconst ShortcutCreateTask_StoryCommentSchema = z.object({}).describe(\"Comment attached to a story.\");\nconst ShortcutCreateTask_TypedStoryLinkSchema = z.object({}).describe(\"Story link connecting stories.\");\nconst ShortcutCreateTask_SyncedItemSchema = z.object({}).describe(\"Synced item data from external integrations.\");\nconst ShortcutCreateTask_LinkedFileSchema = z.object({}).describe(\"Linked file.\");\nconst ShortcutCreateTask_StoryCustomFieldSchema = z.object({}).describe(\"Custom field value assertion for a story.\");\nconst ShortcutCreateTask_PullRequestSchema = z.object({}).describe(\"Pull/merge request attached to a story.\");\nexport const ShortcutCreateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique story identifier.\").nullable(),\n name: z.string().describe(\"Story name.\").nullable(),\n files: z.array(ShortcutCreateTask_UploadedFileSchema).describe(\"Files attached to the story.\"),\n stats: ShortcutCreateTask_StoryStatsSchema.nullable(),\n tasks: z.array(ShortcutCreateTask_TaskSchema).describe(\"Connected tasks within the story.\").nullable().optional(),\n labels: z.array(ShortcutCreateTask_LabelSlimSchema).describe(\"Attached labels.\"),\n app_url: z.string().describe(\"The Shortcut application URL for the Story.\").nullable(),\n blocked: z.boolean().describe(\"Indicates if the story is currently blocked.\").nullable(),\n blocker: z.boolean().describe(\"Indicates if the story blocks another story.\").nullable(),\n commits: z.array(ShortcutCreateTask_CommitSchema).describe(\"Commits attached to the story.\"),\n epic_id: z.number().int().describe(\"Associated epic identifier (nullable).\").nullable().optional(),\n started: z.boolean().describe(\"Whether the story has started.\").nullable(),\n archived: z.boolean().describe(\"Whether the story has been archived.\").nullable(),\n branches: z.array(ShortcutCreateTask_BranchSchema).describe(\"Git branches attached to the story.\"),\n comments: z.array(ShortcutCreateTask_StoryCommentSchema).describe(\"Comments attached to the story.\"),\n deadline: z.string().describe(\"Due date for the story (ISO 8601 date-time format, nullable).\").nullable().optional(),\n estimate: z.number().int().describe(\"Point estimate for the story (null indicates unestimated).\").nullable().optional(),\n group_id: z.string().describe(\"Associated group identifier UUID (nullable).\").nullable().optional(),\n moved_at: z.string().describe(\"Timestamp of last workflow state change (ISO 8601 date-time format, nullable).\").nullable().optional(),\n position: z.number().int().describe(\"Position relative to other stories in the workflow.\").nullable(),\n completed: z.boolean().describe(\"Whether the story has been completed.\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story.\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"Array of attached label identifiers.\"),\n lead_time: z.number().int().describe(\"Lead time in seconds.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"Array of owner UUIDs.\"),\n created_at: z.string().describe(\"Timestamp when the story was created (ISO 8601 date-time format).\").nullable(),\n cycle_time: z.number().int().describe(\"Completion cycle time in seconds.\").nullable().optional(),\n project_id: z.number().int().describe(\"Associated project identifier (nullable).\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the story was started (ISO 8601 date-time format, nullable).\").nullable().optional(),\n story_type: z.string().describe(\"Type of story: feature, bug, or chore.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of last update (ISO 8601 date-time format, nullable).\").nullable().optional(),\n description: z.string().describe(\"Story description text.\").nullable(),\n entity_type: z.string().describe(\"Resource type description.\").nullable(),\n external_id: z.string().describe(\"External system identifier (nullable).\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated - use member_mention_ids instead.\"),\n story_links: z.array(ShortcutCreateTask_TypedStoryLinkSchema).describe(\"Story links connecting this story to other stories.\"),\n synced_item: ShortcutCreateTask_SyncedItemSchema.nullable().optional(),\n workflow_id: z.number().int().describe(\"Workflow identifier.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when the story was completed (ISO 8601 date-time format, nullable).\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"Array of member follower UUIDs.\"),\n iteration_id: z.number().int().describe(\"Current iteration identifier (nullable).\").nullable().optional(),\n linked_files: z.array(ShortcutCreateTask_LinkedFileSchema).describe(\"Linked files.\").nullable().optional(),\n custom_fields: z.array(ShortcutCreateTask_StoryCustomFieldSchema).describe(\"Custom field value assertions for the story.\").nullable().optional(),\n pull_requests: z.array(ShortcutCreateTask_PullRequestSchema).describe(\"Attached pull/merge requests.\"),\n external_links: z.array(z.string()).describe(\"Associated external links.\"),\n parent_story_id: z.number().int().describe(\"Parent story identifier for sub-tasks (nullable).\").nullable().optional(),\n requested_by_id: z.string().describe(\"UUID of the member who requested the story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"Groups mentioned in the story description.\"),\n story_template_id: z.string().describe(\"UUID of the template used to create the story (nullable).\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"Current workflow state identifier.\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"Members mentioned in the story description.\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"Array of sub-task story identifiers.\").nullable().optional(),\n started_at_override: z.string().describe(\"Manual override for start timestamp (ISO 8601 date-time format, nullable).\").nullable().optional(),\n completed_at_override: z.string().describe(\"Manual override for completion timestamp (ISO 8601 date-time format, nullable).\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"Array of previous iteration identifiers.\"),\n formatted_vcs_branch_name: z.string().describe(\"Formatted version control system branch name (nullable).\").nullable().optional(),\n}).describe(\"Response schema for `CreateTask` - returns a Story object with the created task.\");\n\nexport const shortcutCreateTask = action(\"SHORTCUT_CREATE_TASK\", {\n slug: \"shortcut-create-task\",\n name: \"Create task\",\n description: \"Create Task is used to create a new task in a Story.\",\n input: ShortcutCreateTaskInput,\n output: ShortcutCreateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACxM,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AAC9F,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,wCAAwCA,IAAA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],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateTaskInput = z.object({\n complete: z.boolean().describe(\"True/false boolean indicating whether the Task is completed. Defaults to false.\").optional(),\n owner_ids: z.array(z.string()).describe(\"An array of UUIDs for any members you want to add as Owners on this new Task.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date the Task is created but can be set to reflect another creation time/date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date the Task is created in Shortcut but can be set to reflect another time/date.\").optional(),\n description: z.string().describe(\"The Task description.\"),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n story__public__id: z.number().int().describe(\"The ID of the Story that the Task will be in.\"),\n}).describe(\"Request schema for `CreateTask`\");\nconst ShortcutCreateTask_UploadedFileSchema = z.record(z.string(), z.unknown()).describe(\"File attached to a story.\");\nconst ShortcutCreateTask_StoryStatsSchema = z.record(z.string(), z.unknown()).describe(\"Statistics for a story.\");\nconst ShortcutCreateTask_TaskSchema = z.record(z.string(), z.unknown()).describe(\"Task within a story.\");\nconst ShortcutCreateTask_LabelSlimSchema = z.record(z.string(), z.unknown()).describe(\"Label attached to a story.\");\nconst ShortcutCreateTask_CommitSchema = z.record(z.string(), z.unknown()).describe(\"Commit attached to a story.\");\nconst ShortcutCreateTask_BranchSchema = z.record(z.string(), z.unknown()).describe(\"Git branch attached to a story.\");\nconst ShortcutCreateTask_StoryCommentSchema = z.record(z.string(), z.unknown()).describe(\"Comment attached to a story.\");\nconst ShortcutCreateTask_TypedStoryLinkSchema = z.record(z.string(), z.unknown()).describe(\"Story link connecting stories.\");\nconst ShortcutCreateTask_SyncedItemSchema = z.record(z.string(), z.unknown()).describe(\"Synced item data from external integrations.\");\nconst ShortcutCreateTask_LinkedFileSchema = z.record(z.string(), z.unknown()).describe(\"Linked file.\");\nconst ShortcutCreateTask_StoryCustomFieldSchema = z.record(z.string(), z.unknown()).describe(\"Custom field value assertion for a story.\");\nconst ShortcutCreateTask_PullRequestSchema = z.record(z.string(), z.unknown()).describe(\"Pull/merge request attached to a story.\");\nexport const ShortcutCreateTaskOutput = z.object({\n id: z.number().int().describe(\"Unique story identifier.\").nullable(),\n name: z.string().describe(\"Story name.\").nullable(),\n files: z.array(ShortcutCreateTask_UploadedFileSchema).describe(\"Files attached to the story.\"),\n stats: ShortcutCreateTask_StoryStatsSchema.nullable(),\n tasks: z.array(ShortcutCreateTask_TaskSchema).describe(\"Connected tasks within the story.\").nullable().optional(),\n labels: z.array(ShortcutCreateTask_LabelSlimSchema).describe(\"Attached labels.\"),\n app_url: z.string().describe(\"The Shortcut application URL for the Story.\").nullable(),\n blocked: z.boolean().describe(\"Indicates if the story is currently blocked.\").nullable(),\n blocker: z.boolean().describe(\"Indicates if the story blocks another story.\").nullable(),\n commits: z.array(ShortcutCreateTask_CommitSchema).describe(\"Commits attached to the story.\"),\n epic_id: z.number().int().describe(\"Associated epic identifier (nullable).\").nullable().optional(),\n started: z.boolean().describe(\"Whether the story has started.\").nullable(),\n archived: z.boolean().describe(\"Whether the story has been archived.\").nullable(),\n branches: z.array(ShortcutCreateTask_BranchSchema).describe(\"Git branches attached to the story.\"),\n comments: z.array(ShortcutCreateTask_StoryCommentSchema).describe(\"Comments attached to the story.\"),\n deadline: z.string().describe(\"Due date for the story (ISO 8601 date-time format, nullable).\").nullable().optional(),\n estimate: z.number().int().describe(\"Point estimate for the story (null indicates unestimated).\").nullable().optional(),\n group_id: z.string().describe(\"Associated group identifier UUID (nullable).\").nullable().optional(),\n moved_at: z.string().describe(\"Timestamp of last workflow state change (ISO 8601 date-time format, nullable).\").nullable().optional(),\n position: z.number().int().describe(\"Position relative to other stories in the workflow.\").nullable(),\n completed: z.boolean().describe(\"Whether the story has been completed.\").nullable(),\n global_id: z.string().describe(\"Global identifier for the story.\").nullable(),\n label_ids: z.array(z.number().int()).describe(\"Array of attached label identifiers.\"),\n lead_time: z.number().int().describe(\"Lead time in seconds.\").nullable().optional(),\n owner_ids: z.array(z.string()).describe(\"Array of owner UUIDs.\"),\n created_at: z.string().describe(\"Timestamp when the story was created (ISO 8601 date-time format).\").nullable(),\n cycle_time: z.number().int().describe(\"Completion cycle time in seconds.\").nullable().optional(),\n project_id: z.number().int().describe(\"Associated project identifier (nullable).\").nullable().optional(),\n started_at: z.string().describe(\"Timestamp when the story was started (ISO 8601 date-time format, nullable).\").nullable().optional(),\n story_type: z.string().describe(\"Type of story: feature, bug, or chore.\").nullable(),\n updated_at: z.string().describe(\"Timestamp of last update (ISO 8601 date-time format, nullable).\").nullable().optional(),\n description: z.string().describe(\"Story description text.\").nullable(),\n entity_type: z.string().describe(\"Resource type description.\").nullable(),\n external_id: z.string().describe(\"External system identifier (nullable).\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"Deprecated - use member_mention_ids instead.\"),\n story_links: z.array(ShortcutCreateTask_TypedStoryLinkSchema).describe(\"Story links connecting this story to other stories.\"),\n synced_item: ShortcutCreateTask_SyncedItemSchema.nullable().optional(),\n workflow_id: z.number().int().describe(\"Workflow identifier.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when the story was completed (ISO 8601 date-time format, nullable).\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"Array of member follower UUIDs.\"),\n iteration_id: z.number().int().describe(\"Current iteration identifier (nullable).\").nullable().optional(),\n linked_files: z.array(ShortcutCreateTask_LinkedFileSchema).describe(\"Linked files.\").nullable().optional(),\n custom_fields: z.array(ShortcutCreateTask_StoryCustomFieldSchema).describe(\"Custom field value assertions for the story.\").nullable().optional(),\n pull_requests: z.array(ShortcutCreateTask_PullRequestSchema).describe(\"Attached pull/merge requests.\"),\n external_links: z.array(z.string()).describe(\"Associated external links.\"),\n parent_story_id: z.number().int().describe(\"Parent story identifier for sub-tasks (nullable).\").nullable().optional(),\n requested_by_id: z.string().describe(\"UUID of the member who requested the story.\").nullable(),\n group_mention_ids: z.array(z.string()).describe(\"Groups mentioned in the story description.\"),\n story_template_id: z.string().describe(\"UUID of the template used to create the story (nullable).\").nullable().optional(),\n workflow_state_id: z.number().int().describe(\"Current workflow state identifier.\").nullable(),\n member_mention_ids: z.array(z.string()).describe(\"Members mentioned in the story description.\"),\n sub_task_story_ids: z.array(z.number().int()).describe(\"Array of sub-task story identifiers.\").nullable().optional(),\n started_at_override: z.string().describe(\"Manual override for start timestamp (ISO 8601 date-time format, nullable).\").nullable().optional(),\n completed_at_override: z.string().describe(\"Manual override for completion timestamp (ISO 8601 date-time format, nullable).\").nullable().optional(),\n previous_iteration_ids: z.array(z.number().int()).describe(\"Array of previous iteration identifiers.\"),\n formatted_vcs_branch_name: z.string().describe(\"Formatted version control system branch name (nullable).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateTask` - returns a Story object with the created task.\");\n\nexport const shortcutCreateTask = action(\"SHORTCUT_CREATE_TASK\", {\n slug: \"shortcut-create-task\",\n name: \"Create task\",\n description: \"Create Task is used to create a new task in a Story.\",\n input: ShortcutCreateTaskInput,\n output: ShortcutCreateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACxM,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,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