@keystrokehq/shortcut 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1101) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-category.cjs +1 -0
  4. package/dist/actions/create-category.cjs.map +1 -1
  5. package/dist/actions/create-category.d.cts +3 -5
  6. package/dist/actions/create-category.d.cts.map +1 -1
  7. package/dist/actions/create-category.d.mts +3 -5
  8. package/dist/actions/create-category.d.mts.map +1 -1
  9. package/dist/actions/create-category.mjs +1 -0
  10. package/dist/actions/create-category.mjs.map +1 -1
  11. package/dist/actions/create-doc.cjs +1 -0
  12. package/dist/actions/create-doc.cjs.map +1 -1
  13. package/dist/actions/create-doc.d.cts +3 -5
  14. package/dist/actions/create-doc.d.cts.map +1 -1
  15. package/dist/actions/create-doc.d.mts +3 -5
  16. package/dist/actions/create-doc.d.mts.map +1 -1
  17. package/dist/actions/create-doc.mjs +1 -0
  18. package/dist/actions/create-doc.mjs.map +1 -1
  19. package/dist/actions/create-entity-template.cjs +1 -0
  20. package/dist/actions/create-entity-template.cjs.map +1 -1
  21. package/dist/actions/create-entity-template.d.cts +3 -39
  22. package/dist/actions/create-entity-template.d.cts.map +1 -1
  23. package/dist/actions/create-entity-template.d.mts +3 -39
  24. package/dist/actions/create-entity-template.d.mts.map +1 -1
  25. package/dist/actions/create-entity-template.mjs +1 -0
  26. package/dist/actions/create-entity-template.mjs.map +1 -1
  27. package/dist/actions/create-epic-comment-comment.cjs +1 -0
  28. package/dist/actions/create-epic-comment-comment.cjs.map +1 -1
  29. package/dist/actions/create-epic-comment-comment.d.cts +3 -9
  30. package/dist/actions/create-epic-comment-comment.d.cts.map +1 -1
  31. package/dist/actions/create-epic-comment-comment.d.mts +3 -9
  32. package/dist/actions/create-epic-comment-comment.d.mts.map +1 -1
  33. package/dist/actions/create-epic-comment-comment.mjs +1 -0
  34. package/dist/actions/create-epic-comment-comment.mjs.map +1 -1
  35. package/dist/actions/create-epic-comment.cjs +1 -0
  36. package/dist/actions/create-epic-comment.cjs.map +1 -1
  37. package/dist/actions/create-epic-comment.d.cts +3 -8
  38. package/dist/actions/create-epic-comment.d.cts.map +1 -1
  39. package/dist/actions/create-epic-comment.d.mts +3 -8
  40. package/dist/actions/create-epic-comment.d.mts.map +1 -1
  41. package/dist/actions/create-epic-comment.mjs +1 -0
  42. package/dist/actions/create-epic-comment.mjs.map +1 -1
  43. package/dist/actions/create-epic-health.cjs +1 -0
  44. package/dist/actions/create-epic-health.cjs.map +1 -1
  45. package/dist/actions/create-epic-health.d.cts +3 -5
  46. package/dist/actions/create-epic-health.d.cts.map +1 -1
  47. package/dist/actions/create-epic-health.d.mts +3 -5
  48. package/dist/actions/create-epic-health.d.mts.map +1 -1
  49. package/dist/actions/create-epic-health.mjs +1 -0
  50. package/dist/actions/create-epic-health.mjs.map +1 -1
  51. package/dist/actions/create-epic.cjs +1 -0
  52. package/dist/actions/create-epic.cjs.map +1 -1
  53. package/dist/actions/create-epic.d.cts +3 -27
  54. package/dist/actions/create-epic.d.cts.map +1 -1
  55. package/dist/actions/create-epic.d.mts +3 -27
  56. package/dist/actions/create-epic.d.mts.map +1 -1
  57. package/dist/actions/create-epic.mjs +1 -0
  58. package/dist/actions/create-epic.mjs.map +1 -1
  59. package/dist/actions/create-generic-integration.cjs +1 -0
  60. package/dist/actions/create-generic-integration.cjs.map +1 -1
  61. package/dist/actions/create-generic-integration.d.cts +3 -4
  62. package/dist/actions/create-generic-integration.d.cts.map +1 -1
  63. package/dist/actions/create-generic-integration.d.mts +3 -4
  64. package/dist/actions/create-generic-integration.d.mts.map +1 -1
  65. package/dist/actions/create-generic-integration.mjs +1 -0
  66. package/dist/actions/create-generic-integration.mjs.map +1 -1
  67. package/dist/actions/create-group.cjs +1 -0
  68. package/dist/actions/create-group.cjs.map +1 -1
  69. package/dist/actions/create-group.d.cts +3 -10
  70. package/dist/actions/create-group.d.cts.map +1 -1
  71. package/dist/actions/create-group.d.mts +3 -10
  72. package/dist/actions/create-group.d.mts.map +1 -1
  73. package/dist/actions/create-group.mjs +1 -0
  74. package/dist/actions/create-group.mjs.map +1 -1
  75. package/dist/actions/create-iteration.cjs +1 -0
  76. package/dist/actions/create-iteration.cjs.map +1 -1
  77. package/dist/actions/create-iteration.d.cts +3 -15
  78. package/dist/actions/create-iteration.d.cts.map +1 -1
  79. package/dist/actions/create-iteration.d.mts +3 -15
  80. package/dist/actions/create-iteration.d.mts.map +1 -1
  81. package/dist/actions/create-iteration.mjs +1 -0
  82. package/dist/actions/create-iteration.mjs.map +1 -1
  83. package/dist/actions/create-label.cjs +1 -0
  84. package/dist/actions/create-label.cjs.map +1 -1
  85. package/dist/actions/create-label.d.cts +3 -6
  86. package/dist/actions/create-label.d.cts.map +1 -1
  87. package/dist/actions/create-label.d.mts +3 -6
  88. package/dist/actions/create-label.d.mts.map +1 -1
  89. package/dist/actions/create-label.mjs +1 -0
  90. package/dist/actions/create-label.mjs.map +1 -1
  91. package/dist/actions/create-linked-file.cjs +1 -0
  92. package/dist/actions/create-linked-file.cjs.map +1 -1
  93. package/dist/actions/create-linked-file.d.cts +3 -11
  94. package/dist/actions/create-linked-file.d.cts.map +1 -1
  95. package/dist/actions/create-linked-file.d.mts +3 -11
  96. package/dist/actions/create-linked-file.d.mts.map +1 -1
  97. package/dist/actions/create-linked-file.mjs +1 -0
  98. package/dist/actions/create-linked-file.mjs.map +1 -1
  99. package/dist/actions/create-multiple-stories.cjs +1 -0
  100. package/dist/actions/create-multiple-stories.cjs.map +1 -1
  101. package/dist/actions/create-multiple-stories.d.cts +3 -71
  102. package/dist/actions/create-multiple-stories.d.cts.map +1 -1
  103. package/dist/actions/create-multiple-stories.d.mts +3 -71
  104. package/dist/actions/create-multiple-stories.d.mts.map +1 -1
  105. package/dist/actions/create-multiple-stories.mjs +1 -0
  106. package/dist/actions/create-multiple-stories.mjs.map +1 -1
  107. package/dist/actions/create-objective.cjs +1 -0
  108. package/dist/actions/create-objective.cjs.map +1 -1
  109. package/dist/actions/create-objective.d.cts +3 -13
  110. package/dist/actions/create-objective.d.cts.map +1 -1
  111. package/dist/actions/create-objective.d.mts +3 -13
  112. package/dist/actions/create-objective.d.mts.map +1 -1
  113. package/dist/actions/create-objective.mjs +1 -0
  114. package/dist/actions/create-objective.mjs.map +1 -1
  115. package/dist/actions/create-project.cjs +1 -0
  116. package/dist/actions/create-project.cjs.map +1 -1
  117. package/dist/actions/create-project.d.cts +3 -13
  118. package/dist/actions/create-project.d.cts.map +1 -1
  119. package/dist/actions/create-project.d.mts +3 -13
  120. package/dist/actions/create-project.d.mts.map +1 -1
  121. package/dist/actions/create-project.mjs +1 -0
  122. package/dist/actions/create-project.mjs.map +1 -1
  123. package/dist/actions/create-story-comment.cjs +1 -0
  124. package/dist/actions/create-story-comment.cjs.map +1 -1
  125. package/dist/actions/create-story-comment.d.cts +3 -9
  126. package/dist/actions/create-story-comment.d.cts.map +1 -1
  127. package/dist/actions/create-story-comment.d.mts +3 -9
  128. package/dist/actions/create-story-comment.d.mts.map +1 -1
  129. package/dist/actions/create-story-comment.mjs +1 -0
  130. package/dist/actions/create-story-comment.mjs.map +1 -1
  131. package/dist/actions/create-story-from-template.cjs +1 -0
  132. package/dist/actions/create-story-from-template.cjs.map +1 -1
  133. package/dist/actions/create-story-from-template.d.cts +3 -99
  134. package/dist/actions/create-story-from-template.d.cts.map +1 -1
  135. package/dist/actions/create-story-from-template.d.mts +3 -99
  136. package/dist/actions/create-story-from-template.d.mts.map +1 -1
  137. package/dist/actions/create-story-from-template.mjs +1 -0
  138. package/dist/actions/create-story-from-template.mjs.map +1 -1
  139. package/dist/actions/create-story-link.cjs +1 -0
  140. package/dist/actions/create-story-link.cjs.map +1 -1
  141. package/dist/actions/create-story-link.d.cts +3 -5
  142. package/dist/actions/create-story-link.d.cts.map +1 -1
  143. package/dist/actions/create-story-link.d.mts +3 -5
  144. package/dist/actions/create-story-link.d.mts.map +1 -1
  145. package/dist/actions/create-story-link.mjs +1 -0
  146. package/dist/actions/create-story-link.mjs.map +1 -1
  147. package/dist/actions/create-story-reaction.cjs +1 -0
  148. package/dist/actions/create-story-reaction.cjs.map +1 -1
  149. package/dist/actions/create-story-reaction.d.cts +3 -5
  150. package/dist/actions/create-story-reaction.d.cts.map +1 -1
  151. package/dist/actions/create-story-reaction.d.mts +3 -5
  152. package/dist/actions/create-story-reaction.d.mts.map +1 -1
  153. package/dist/actions/create-story-reaction.mjs +1 -0
  154. package/dist/actions/create-story-reaction.mjs.map +1 -1
  155. package/dist/actions/create-story.cjs +1 -0
  156. package/dist/actions/create-story.cjs.map +1 -1
  157. package/dist/actions/create-story.d.cts +3 -68
  158. package/dist/actions/create-story.d.cts.map +1 -1
  159. package/dist/actions/create-story.d.mts +3 -68
  160. package/dist/actions/create-story.d.mts.map +1 -1
  161. package/dist/actions/create-story.mjs +1 -0
  162. package/dist/actions/create-story.mjs.map +1 -1
  163. package/dist/actions/create-task.cjs +1 -0
  164. package/dist/actions/create-task.cjs.map +1 -1
  165. package/dist/actions/create-task.d.cts +3 -9
  166. package/dist/actions/create-task.d.cts.map +1 -1
  167. package/dist/actions/create-task.d.mts +3 -9
  168. package/dist/actions/create-task.d.mts.map +1 -1
  169. package/dist/actions/create-task.mjs +1 -0
  170. package/dist/actions/create-task.mjs.map +1 -1
  171. package/dist/actions/delete-category.cjs +1 -0
  172. package/dist/actions/delete-category.cjs.map +1 -1
  173. package/dist/actions/delete-category.d.cts +3 -3
  174. package/dist/actions/delete-category.d.cts.map +1 -1
  175. package/dist/actions/delete-category.d.mts +3 -3
  176. package/dist/actions/delete-category.d.mts.map +1 -1
  177. package/dist/actions/delete-category.mjs +1 -0
  178. package/dist/actions/delete-category.mjs.map +1 -1
  179. package/dist/actions/delete-custom-field.cjs +1 -0
  180. package/dist/actions/delete-custom-field.cjs.map +1 -1
  181. package/dist/actions/delete-custom-field.d.cts +3 -3
  182. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  183. package/dist/actions/delete-custom-field.d.mts +3 -3
  184. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  185. package/dist/actions/delete-custom-field.mjs +1 -0
  186. package/dist/actions/delete-custom-field.mjs.map +1 -1
  187. package/dist/actions/delete-doc.cjs +1 -0
  188. package/dist/actions/delete-doc.cjs.map +1 -1
  189. package/dist/actions/delete-doc.d.cts +3 -3
  190. package/dist/actions/delete-doc.d.cts.map +1 -1
  191. package/dist/actions/delete-doc.d.mts +3 -3
  192. package/dist/actions/delete-doc.d.mts.map +1 -1
  193. package/dist/actions/delete-doc.mjs +1 -0
  194. package/dist/actions/delete-doc.mjs.map +1 -1
  195. package/dist/actions/delete-entity-template.cjs +1 -0
  196. package/dist/actions/delete-entity-template.cjs.map +1 -1
  197. package/dist/actions/delete-entity-template.d.cts +3 -3
  198. package/dist/actions/delete-entity-template.d.cts.map +1 -1
  199. package/dist/actions/delete-entity-template.d.mts +3 -3
  200. package/dist/actions/delete-entity-template.d.mts.map +1 -1
  201. package/dist/actions/delete-entity-template.mjs +1 -0
  202. package/dist/actions/delete-entity-template.mjs.map +1 -1
  203. package/dist/actions/delete-epic-comment.cjs +1 -0
  204. package/dist/actions/delete-epic-comment.cjs.map +1 -1
  205. package/dist/actions/delete-epic-comment.d.cts +3 -4
  206. package/dist/actions/delete-epic-comment.d.cts.map +1 -1
  207. package/dist/actions/delete-epic-comment.d.mts +3 -4
  208. package/dist/actions/delete-epic-comment.d.mts.map +1 -1
  209. package/dist/actions/delete-epic-comment.mjs +1 -0
  210. package/dist/actions/delete-epic-comment.mjs.map +1 -1
  211. package/dist/actions/delete-epic.cjs +1 -0
  212. package/dist/actions/delete-epic.cjs.map +1 -1
  213. package/dist/actions/delete-epic.d.cts +3 -3
  214. package/dist/actions/delete-epic.d.cts.map +1 -1
  215. package/dist/actions/delete-epic.d.mts +3 -3
  216. package/dist/actions/delete-epic.d.mts.map +1 -1
  217. package/dist/actions/delete-epic.mjs +1 -0
  218. package/dist/actions/delete-epic.mjs.map +1 -1
  219. package/dist/actions/delete-file.cjs +1 -0
  220. package/dist/actions/delete-file.cjs.map +1 -1
  221. package/dist/actions/delete-file.d.cts +3 -3
  222. package/dist/actions/delete-file.d.cts.map +1 -1
  223. package/dist/actions/delete-file.d.mts +3 -3
  224. package/dist/actions/delete-file.d.mts.map +1 -1
  225. package/dist/actions/delete-file.mjs +1 -0
  226. package/dist/actions/delete-file.mjs.map +1 -1
  227. package/dist/actions/delete-generic-integration.cjs +1 -0
  228. package/dist/actions/delete-generic-integration.cjs.map +1 -1
  229. package/dist/actions/delete-generic-integration.d.cts +3 -3
  230. package/dist/actions/delete-generic-integration.d.cts.map +1 -1
  231. package/dist/actions/delete-generic-integration.d.mts +3 -3
  232. package/dist/actions/delete-generic-integration.d.mts.map +1 -1
  233. package/dist/actions/delete-generic-integration.mjs +1 -0
  234. package/dist/actions/delete-generic-integration.mjs.map +1 -1
  235. package/dist/actions/delete-iteration.cjs +1 -0
  236. package/dist/actions/delete-iteration.cjs.map +1 -1
  237. package/dist/actions/delete-iteration.d.cts +3 -3
  238. package/dist/actions/delete-iteration.d.cts.map +1 -1
  239. package/dist/actions/delete-iteration.d.mts +3 -3
  240. package/dist/actions/delete-iteration.d.mts.map +1 -1
  241. package/dist/actions/delete-iteration.mjs +1 -0
  242. package/dist/actions/delete-iteration.mjs.map +1 -1
  243. package/dist/actions/delete-label.cjs +1 -0
  244. package/dist/actions/delete-label.cjs.map +1 -1
  245. package/dist/actions/delete-label.d.cts +3 -3
  246. package/dist/actions/delete-label.d.cts.map +1 -1
  247. package/dist/actions/delete-label.d.mts +3 -3
  248. package/dist/actions/delete-label.d.mts.map +1 -1
  249. package/dist/actions/delete-label.mjs +1 -0
  250. package/dist/actions/delete-label.mjs.map +1 -1
  251. package/dist/actions/delete-linked-file.cjs +1 -0
  252. package/dist/actions/delete-linked-file.cjs.map +1 -1
  253. package/dist/actions/delete-linked-file.d.cts +3 -3
  254. package/dist/actions/delete-linked-file.d.cts.map +1 -1
  255. package/dist/actions/delete-linked-file.d.mts +3 -3
  256. package/dist/actions/delete-linked-file.d.mts.map +1 -1
  257. package/dist/actions/delete-linked-file.mjs +1 -0
  258. package/dist/actions/delete-linked-file.mjs.map +1 -1
  259. package/dist/actions/delete-multiple-stories.cjs +1 -0
  260. package/dist/actions/delete-multiple-stories.cjs.map +1 -1
  261. package/dist/actions/delete-multiple-stories.d.cts +3 -3
  262. package/dist/actions/delete-multiple-stories.d.cts.map +1 -1
  263. package/dist/actions/delete-multiple-stories.d.mts +3 -3
  264. package/dist/actions/delete-multiple-stories.d.mts.map +1 -1
  265. package/dist/actions/delete-multiple-stories.mjs +1 -0
  266. package/dist/actions/delete-multiple-stories.mjs.map +1 -1
  267. package/dist/actions/delete-objective.cjs +1 -0
  268. package/dist/actions/delete-objective.cjs.map +1 -1
  269. package/dist/actions/delete-objective.d.cts +3 -3
  270. package/dist/actions/delete-objective.d.cts.map +1 -1
  271. package/dist/actions/delete-objective.d.mts +3 -3
  272. package/dist/actions/delete-objective.d.mts.map +1 -1
  273. package/dist/actions/delete-objective.mjs +1 -0
  274. package/dist/actions/delete-objective.mjs.map +1 -1
  275. package/dist/actions/delete-project.cjs +1 -0
  276. package/dist/actions/delete-project.cjs.map +1 -1
  277. package/dist/actions/delete-project.d.cts +3 -3
  278. package/dist/actions/delete-project.d.cts.map +1 -1
  279. package/dist/actions/delete-project.d.mts +3 -3
  280. package/dist/actions/delete-project.d.mts.map +1 -1
  281. package/dist/actions/delete-project.mjs +1 -0
  282. package/dist/actions/delete-project.mjs.map +1 -1
  283. package/dist/actions/delete-story-comment.cjs +1 -0
  284. package/dist/actions/delete-story-comment.cjs.map +1 -1
  285. package/dist/actions/delete-story-comment.d.cts +3 -4
  286. package/dist/actions/delete-story-comment.d.cts.map +1 -1
  287. package/dist/actions/delete-story-comment.d.mts +3 -4
  288. package/dist/actions/delete-story-comment.d.mts.map +1 -1
  289. package/dist/actions/delete-story-comment.mjs +1 -0
  290. package/dist/actions/delete-story-comment.mjs.map +1 -1
  291. package/dist/actions/delete-story-link.cjs +1 -0
  292. package/dist/actions/delete-story-link.cjs.map +1 -1
  293. package/dist/actions/delete-story-link.d.cts +3 -3
  294. package/dist/actions/delete-story-link.d.cts.map +1 -1
  295. package/dist/actions/delete-story-link.d.mts +3 -3
  296. package/dist/actions/delete-story-link.d.mts.map +1 -1
  297. package/dist/actions/delete-story-link.mjs +1 -0
  298. package/dist/actions/delete-story-link.mjs.map +1 -1
  299. package/dist/actions/delete-story-reaction.cjs +1 -0
  300. package/dist/actions/delete-story-reaction.cjs.map +1 -1
  301. package/dist/actions/delete-story-reaction.d.cts +3 -5
  302. package/dist/actions/delete-story-reaction.d.cts.map +1 -1
  303. package/dist/actions/delete-story-reaction.d.mts +3 -5
  304. package/dist/actions/delete-story-reaction.d.mts.map +1 -1
  305. package/dist/actions/delete-story-reaction.mjs +1 -0
  306. package/dist/actions/delete-story-reaction.mjs.map +1 -1
  307. package/dist/actions/delete-story.cjs +1 -0
  308. package/dist/actions/delete-story.cjs.map +1 -1
  309. package/dist/actions/delete-story.d.cts +3 -3
  310. package/dist/actions/delete-story.d.cts.map +1 -1
  311. package/dist/actions/delete-story.d.mts +3 -3
  312. package/dist/actions/delete-story.d.mts.map +1 -1
  313. package/dist/actions/delete-story.mjs +1 -0
  314. package/dist/actions/delete-story.mjs.map +1 -1
  315. package/dist/actions/delete-task.cjs +1 -0
  316. package/dist/actions/delete-task.cjs.map +1 -1
  317. package/dist/actions/delete-task.d.cts +3 -4
  318. package/dist/actions/delete-task.d.cts.map +1 -1
  319. package/dist/actions/delete-task.d.mts +3 -4
  320. package/dist/actions/delete-task.d.mts.map +1 -1
  321. package/dist/actions/delete-task.mjs +1 -0
  322. package/dist/actions/delete-task.mjs.map +1 -1
  323. package/dist/actions/disable-iterations.cjs +1 -0
  324. package/dist/actions/disable-iterations.cjs.map +1 -1
  325. package/dist/actions/disable-iterations.d.cts +3 -1
  326. package/dist/actions/disable-iterations.d.cts.map +1 -1
  327. package/dist/actions/disable-iterations.d.mts +3 -1
  328. package/dist/actions/disable-iterations.d.mts.map +1 -1
  329. package/dist/actions/disable-iterations.mjs +1 -0
  330. package/dist/actions/disable-iterations.mjs.map +1 -1
  331. package/dist/actions/disable-story-templates.cjs +1 -0
  332. package/dist/actions/disable-story-templates.cjs.map +1 -1
  333. package/dist/actions/disable-story-templates.d.cts +3 -1
  334. package/dist/actions/disable-story-templates.d.cts.map +1 -1
  335. package/dist/actions/disable-story-templates.d.mts +3 -1
  336. package/dist/actions/disable-story-templates.d.mts.map +1 -1
  337. package/dist/actions/disable-story-templates.mjs +1 -0
  338. package/dist/actions/disable-story-templates.mjs.map +1 -1
  339. package/dist/actions/enable-iterations.cjs +1 -0
  340. package/dist/actions/enable-iterations.cjs.map +1 -1
  341. package/dist/actions/enable-iterations.d.cts +3 -1
  342. package/dist/actions/enable-iterations.d.cts.map +1 -1
  343. package/dist/actions/enable-iterations.d.mts +3 -1
  344. package/dist/actions/enable-iterations.d.mts.map +1 -1
  345. package/dist/actions/enable-iterations.mjs +1 -0
  346. package/dist/actions/enable-iterations.mjs.map +1 -1
  347. package/dist/actions/enable-story-templates.cjs +1 -0
  348. package/dist/actions/enable-story-templates.cjs.map +1 -1
  349. package/dist/actions/enable-story-templates.d.cts +3 -1
  350. package/dist/actions/enable-story-templates.d.cts.map +1 -1
  351. package/dist/actions/enable-story-templates.d.mts +3 -1
  352. package/dist/actions/enable-story-templates.d.mts.map +1 -1
  353. package/dist/actions/enable-story-templates.mjs +1 -0
  354. package/dist/actions/enable-story-templates.mjs.map +1 -1
  355. package/dist/actions/get-category.cjs +1 -0
  356. package/dist/actions/get-category.cjs.map +1 -1
  357. package/dist/actions/get-category.d.cts +3 -3
  358. package/dist/actions/get-category.d.cts.map +1 -1
  359. package/dist/actions/get-category.d.mts +3 -3
  360. package/dist/actions/get-category.d.mts.map +1 -1
  361. package/dist/actions/get-category.mjs +1 -0
  362. package/dist/actions/get-category.mjs.map +1 -1
  363. package/dist/actions/get-current-member-info.cjs +1 -0
  364. package/dist/actions/get-current-member-info.cjs.map +1 -1
  365. package/dist/actions/get-current-member-info.d.cts +3 -1
  366. package/dist/actions/get-current-member-info.d.cts.map +1 -1
  367. package/dist/actions/get-current-member-info.d.mts +3 -1
  368. package/dist/actions/get-current-member-info.d.mts.map +1 -1
  369. package/dist/actions/get-current-member-info.mjs +1 -0
  370. package/dist/actions/get-current-member-info.mjs.map +1 -1
  371. package/dist/actions/get-custom-field.cjs +1 -0
  372. package/dist/actions/get-custom-field.cjs.map +1 -1
  373. package/dist/actions/get-custom-field.d.cts +3 -3
  374. package/dist/actions/get-custom-field.d.cts.map +1 -1
  375. package/dist/actions/get-custom-field.d.mts +3 -3
  376. package/dist/actions/get-custom-field.d.mts.map +1 -1
  377. package/dist/actions/get-custom-field.mjs +1 -0
  378. package/dist/actions/get-custom-field.mjs.map +1 -1
  379. package/dist/actions/get-doc.cjs +1 -0
  380. package/dist/actions/get-doc.cjs.map +1 -1
  381. package/dist/actions/get-doc.d.cts +3 -4
  382. package/dist/actions/get-doc.d.cts.map +1 -1
  383. package/dist/actions/get-doc.d.mts +3 -4
  384. package/dist/actions/get-doc.d.mts.map +1 -1
  385. package/dist/actions/get-doc.mjs +1 -0
  386. package/dist/actions/get-doc.mjs.map +1 -1
  387. package/dist/actions/get-entity-template.cjs +1 -0
  388. package/dist/actions/get-entity-template.cjs.map +1 -1
  389. package/dist/actions/get-entity-template.d.cts +3 -3
  390. package/dist/actions/get-entity-template.d.cts.map +1 -1
  391. package/dist/actions/get-entity-template.d.mts +3 -3
  392. package/dist/actions/get-entity-template.d.mts.map +1 -1
  393. package/dist/actions/get-entity-template.mjs +1 -0
  394. package/dist/actions/get-entity-template.mjs.map +1 -1
  395. package/dist/actions/get-epic-comment.cjs +1 -0
  396. package/dist/actions/get-epic-comment.cjs.map +1 -1
  397. package/dist/actions/get-epic-comment.d.cts +3 -4
  398. package/dist/actions/get-epic-comment.d.cts.map +1 -1
  399. package/dist/actions/get-epic-comment.d.mts +3 -4
  400. package/dist/actions/get-epic-comment.d.mts.map +1 -1
  401. package/dist/actions/get-epic-comment.mjs +1 -0
  402. package/dist/actions/get-epic-comment.mjs.map +1 -1
  403. package/dist/actions/get-epic-health.cjs +1 -0
  404. package/dist/actions/get-epic-health.cjs.map +1 -1
  405. package/dist/actions/get-epic-health.d.cts +3 -3
  406. package/dist/actions/get-epic-health.d.cts.map +1 -1
  407. package/dist/actions/get-epic-health.d.mts +3 -3
  408. package/dist/actions/get-epic-health.d.mts.map +1 -1
  409. package/dist/actions/get-epic-health.mjs +1 -0
  410. package/dist/actions/get-epic-health.mjs.map +1 -1
  411. package/dist/actions/get-epic-workflow.cjs +1 -0
  412. package/dist/actions/get-epic-workflow.cjs.map +1 -1
  413. package/dist/actions/get-epic-workflow.d.cts +3 -1
  414. package/dist/actions/get-epic-workflow.d.cts.map +1 -1
  415. package/dist/actions/get-epic-workflow.d.mts +3 -1
  416. package/dist/actions/get-epic-workflow.d.mts.map +1 -1
  417. package/dist/actions/get-epic-workflow.mjs +1 -0
  418. package/dist/actions/get-epic-workflow.mjs.map +1 -1
  419. package/dist/actions/get-epic.cjs +1 -0
  420. package/dist/actions/get-epic.cjs.map +1 -1
  421. package/dist/actions/get-epic.d.cts +3 -3
  422. package/dist/actions/get-epic.d.cts.map +1 -1
  423. package/dist/actions/get-epic.d.mts +3 -3
  424. package/dist/actions/get-epic.d.mts.map +1 -1
  425. package/dist/actions/get-epic.mjs +1 -0
  426. package/dist/actions/get-epic.mjs.map +1 -1
  427. package/dist/actions/get-external-link-stories.cjs +1 -0
  428. package/dist/actions/get-external-link-stories.cjs.map +1 -1
  429. package/dist/actions/get-external-link-stories.d.cts +3 -3
  430. package/dist/actions/get-external-link-stories.d.cts.map +1 -1
  431. package/dist/actions/get-external-link-stories.d.mts +3 -3
  432. package/dist/actions/get-external-link-stories.d.mts.map +1 -1
  433. package/dist/actions/get-external-link-stories.mjs +1 -0
  434. package/dist/actions/get-external-link-stories.mjs.map +1 -1
  435. package/dist/actions/get-file.cjs +1 -0
  436. package/dist/actions/get-file.cjs.map +1 -1
  437. package/dist/actions/get-file.d.cts +3 -3
  438. package/dist/actions/get-file.d.cts.map +1 -1
  439. package/dist/actions/get-file.d.mts +3 -3
  440. package/dist/actions/get-file.d.mts.map +1 -1
  441. package/dist/actions/get-file.mjs +1 -0
  442. package/dist/actions/get-file.mjs.map +1 -1
  443. package/dist/actions/get-generic-integration.cjs +1 -0
  444. package/dist/actions/get-generic-integration.cjs.map +1 -1
  445. package/dist/actions/get-generic-integration.d.cts +3 -3
  446. package/dist/actions/get-generic-integration.d.cts.map +1 -1
  447. package/dist/actions/get-generic-integration.d.mts +3 -3
  448. package/dist/actions/get-generic-integration.d.mts.map +1 -1
  449. package/dist/actions/get-generic-integration.mjs +1 -0
  450. package/dist/actions/get-generic-integration.mjs.map +1 -1
  451. package/dist/actions/get-group.cjs +1 -0
  452. package/dist/actions/get-group.cjs.map +1 -1
  453. package/dist/actions/get-group.d.cts +3 -3
  454. package/dist/actions/get-group.d.cts.map +1 -1
  455. package/dist/actions/get-group.d.mts +3 -3
  456. package/dist/actions/get-group.d.mts.map +1 -1
  457. package/dist/actions/get-group.mjs +1 -0
  458. package/dist/actions/get-group.mjs.map +1 -1
  459. package/dist/actions/get-iteration.cjs +1 -0
  460. package/dist/actions/get-iteration.cjs.map +1 -1
  461. package/dist/actions/get-iteration.d.cts +3 -3
  462. package/dist/actions/get-iteration.d.cts.map +1 -1
  463. package/dist/actions/get-iteration.d.mts +3 -3
  464. package/dist/actions/get-iteration.d.mts.map +1 -1
  465. package/dist/actions/get-iteration.mjs +1 -0
  466. package/dist/actions/get-iteration.mjs.map +1 -1
  467. package/dist/actions/get-key-result.cjs +1 -0
  468. package/dist/actions/get-key-result.cjs.map +1 -1
  469. package/dist/actions/get-key-result.d.cts +3 -3
  470. package/dist/actions/get-key-result.d.cts.map +1 -1
  471. package/dist/actions/get-key-result.d.mts +3 -3
  472. package/dist/actions/get-key-result.d.mts.map +1 -1
  473. package/dist/actions/get-key-result.mjs +1 -0
  474. package/dist/actions/get-key-result.mjs.map +1 -1
  475. package/dist/actions/get-label.cjs +1 -0
  476. package/dist/actions/get-label.cjs.map +1 -1
  477. package/dist/actions/get-label.d.cts +3 -3
  478. package/dist/actions/get-label.d.cts.map +1 -1
  479. package/dist/actions/get-label.d.mts +3 -3
  480. package/dist/actions/get-label.d.mts.map +1 -1
  481. package/dist/actions/get-label.mjs +1 -0
  482. package/dist/actions/get-label.mjs.map +1 -1
  483. package/dist/actions/get-linked-file.cjs +1 -0
  484. package/dist/actions/get-linked-file.cjs.map +1 -1
  485. package/dist/actions/get-linked-file.d.cts +3 -3
  486. package/dist/actions/get-linked-file.d.cts.map +1 -1
  487. package/dist/actions/get-linked-file.d.mts +3 -3
  488. package/dist/actions/get-linked-file.d.mts.map +1 -1
  489. package/dist/actions/get-linked-file.mjs +1 -0
  490. package/dist/actions/get-linked-file.mjs.map +1 -1
  491. package/dist/actions/get-member.cjs +1 -0
  492. package/dist/actions/get-member.cjs.map +1 -1
  493. package/dist/actions/get-member.d.cts +3 -4
  494. package/dist/actions/get-member.d.cts.map +1 -1
  495. package/dist/actions/get-member.d.mts +3 -4
  496. package/dist/actions/get-member.d.mts.map +1 -1
  497. package/dist/actions/get-member.mjs +1 -0
  498. package/dist/actions/get-member.mjs.map +1 -1
  499. package/dist/actions/get-objective.cjs +1 -0
  500. package/dist/actions/get-objective.cjs.map +1 -1
  501. package/dist/actions/get-objective.d.cts +3 -3
  502. package/dist/actions/get-objective.d.cts.map +1 -1
  503. package/dist/actions/get-objective.d.mts +3 -3
  504. package/dist/actions/get-objective.d.mts.map +1 -1
  505. package/dist/actions/get-objective.mjs +1 -0
  506. package/dist/actions/get-objective.mjs.map +1 -1
  507. package/dist/actions/get-project.cjs +1 -0
  508. package/dist/actions/get-project.cjs.map +1 -1
  509. package/dist/actions/get-project.d.cts +3 -3
  510. package/dist/actions/get-project.d.cts.map +1 -1
  511. package/dist/actions/get-project.d.mts +3 -3
  512. package/dist/actions/get-project.d.mts.map +1 -1
  513. package/dist/actions/get-project.mjs +1 -0
  514. package/dist/actions/get-project.mjs.map +1 -1
  515. package/dist/actions/get-repository.cjs +1 -0
  516. package/dist/actions/get-repository.cjs.map +1 -1
  517. package/dist/actions/get-repository.d.cts +3 -3
  518. package/dist/actions/get-repository.d.cts.map +1 -1
  519. package/dist/actions/get-repository.d.mts +3 -3
  520. package/dist/actions/get-repository.d.mts.map +1 -1
  521. package/dist/actions/get-repository.mjs +1 -0
  522. package/dist/actions/get-repository.mjs.map +1 -1
  523. package/dist/actions/get-story-comment.cjs +1 -0
  524. package/dist/actions/get-story-comment.cjs.map +1 -1
  525. package/dist/actions/get-story-comment.d.cts +3 -4
  526. package/dist/actions/get-story-comment.d.cts.map +1 -1
  527. package/dist/actions/get-story-comment.d.mts +3 -4
  528. package/dist/actions/get-story-comment.d.mts.map +1 -1
  529. package/dist/actions/get-story-comment.mjs +1 -0
  530. package/dist/actions/get-story-comment.mjs.map +1 -1
  531. package/dist/actions/get-story-link.cjs +1 -0
  532. package/dist/actions/get-story-link.cjs.map +1 -1
  533. package/dist/actions/get-story-link.d.cts +3 -3
  534. package/dist/actions/get-story-link.d.cts.map +1 -1
  535. package/dist/actions/get-story-link.d.mts +3 -3
  536. package/dist/actions/get-story-link.d.mts.map +1 -1
  537. package/dist/actions/get-story-link.mjs +1 -0
  538. package/dist/actions/get-story-link.mjs.map +1 -1
  539. package/dist/actions/get-story.cjs +1 -0
  540. package/dist/actions/get-story.cjs.map +1 -1
  541. package/dist/actions/get-story.d.cts +3 -3
  542. package/dist/actions/get-story.d.cts.map +1 -1
  543. package/dist/actions/get-story.d.mts +3 -3
  544. package/dist/actions/get-story.d.mts.map +1 -1
  545. package/dist/actions/get-story.mjs +1 -0
  546. package/dist/actions/get-story.mjs.map +1 -1
  547. package/dist/actions/get-task.cjs +1 -0
  548. package/dist/actions/get-task.cjs.map +1 -1
  549. package/dist/actions/get-task.d.cts +3 -4
  550. package/dist/actions/get-task.d.cts.map +1 -1
  551. package/dist/actions/get-task.d.mts +3 -4
  552. package/dist/actions/get-task.d.mts.map +1 -1
  553. package/dist/actions/get-task.mjs +1 -0
  554. package/dist/actions/get-task.mjs.map +1 -1
  555. package/dist/actions/get-workflow.cjs +1 -0
  556. package/dist/actions/get-workflow.cjs.map +1 -1
  557. package/dist/actions/get-workflow.d.cts +3 -3
  558. package/dist/actions/get-workflow.d.cts.map +1 -1
  559. package/dist/actions/get-workflow.d.mts +3 -3
  560. package/dist/actions/get-workflow.d.mts.map +1 -1
  561. package/dist/actions/get-workflow.mjs +1 -0
  562. package/dist/actions/get-workflow.mjs.map +1 -1
  563. package/dist/actions/link-document-to-epic.cjs +1 -0
  564. package/dist/actions/link-document-to-epic.cjs.map +1 -1
  565. package/dist/actions/link-document-to-epic.d.cts +3 -4
  566. package/dist/actions/link-document-to-epic.d.cts.map +1 -1
  567. package/dist/actions/link-document-to-epic.d.mts +3 -4
  568. package/dist/actions/link-document-to-epic.d.mts.map +1 -1
  569. package/dist/actions/link-document-to-epic.mjs +1 -0
  570. package/dist/actions/link-document-to-epic.mjs.map +1 -1
  571. package/dist/actions/list-categories.cjs +1 -0
  572. package/dist/actions/list-categories.cjs.map +1 -1
  573. package/dist/actions/list-categories.d.cts +3 -1
  574. package/dist/actions/list-categories.d.cts.map +1 -1
  575. package/dist/actions/list-categories.d.mts +3 -1
  576. package/dist/actions/list-categories.d.mts.map +1 -1
  577. package/dist/actions/list-categories.mjs +1 -0
  578. package/dist/actions/list-categories.mjs.map +1 -1
  579. package/dist/actions/list-category-milestones.cjs +1 -0
  580. package/dist/actions/list-category-milestones.cjs.map +1 -1
  581. package/dist/actions/list-category-milestones.d.cts +3 -3
  582. package/dist/actions/list-category-milestones.d.cts.map +1 -1
  583. package/dist/actions/list-category-milestones.d.mts +3 -3
  584. package/dist/actions/list-category-milestones.d.mts.map +1 -1
  585. package/dist/actions/list-category-milestones.mjs +1 -0
  586. package/dist/actions/list-category-milestones.mjs.map +1 -1
  587. package/dist/actions/list-category-objectives.cjs +1 -0
  588. package/dist/actions/list-category-objectives.cjs.map +1 -1
  589. package/dist/actions/list-category-objectives.d.cts +3 -3
  590. package/dist/actions/list-category-objectives.d.cts.map +1 -1
  591. package/dist/actions/list-category-objectives.d.mts +3 -3
  592. package/dist/actions/list-category-objectives.d.mts.map +1 -1
  593. package/dist/actions/list-category-objectives.mjs +1 -0
  594. package/dist/actions/list-category-objectives.mjs.map +1 -1
  595. package/dist/actions/list-custom-fields.cjs +1 -0
  596. package/dist/actions/list-custom-fields.cjs.map +1 -1
  597. package/dist/actions/list-custom-fields.d.cts +3 -1
  598. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  599. package/dist/actions/list-custom-fields.d.mts +3 -1
  600. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  601. package/dist/actions/list-custom-fields.mjs +1 -0
  602. package/dist/actions/list-custom-fields.mjs.map +1 -1
  603. package/dist/actions/list-docs.cjs +1 -0
  604. package/dist/actions/list-docs.cjs.map +1 -1
  605. package/dist/actions/list-docs.d.cts +3 -1
  606. package/dist/actions/list-docs.d.cts.map +1 -1
  607. package/dist/actions/list-docs.d.mts +3 -1
  608. package/dist/actions/list-docs.d.mts.map +1 -1
  609. package/dist/actions/list-docs.mjs +1 -0
  610. package/dist/actions/list-docs.mjs.map +1 -1
  611. package/dist/actions/list-document-epics.cjs +1 -0
  612. package/dist/actions/list-document-epics.cjs.map +1 -1
  613. package/dist/actions/list-document-epics.d.cts +3 -3
  614. package/dist/actions/list-document-epics.d.cts.map +1 -1
  615. package/dist/actions/list-document-epics.d.mts +3 -3
  616. package/dist/actions/list-document-epics.d.mts.map +1 -1
  617. package/dist/actions/list-document-epics.mjs +1 -0
  618. package/dist/actions/list-document-epics.mjs.map +1 -1
  619. package/dist/actions/list-entity-templates.cjs +1 -0
  620. package/dist/actions/list-entity-templates.cjs.map +1 -1
  621. package/dist/actions/list-entity-templates.d.cts +3 -1
  622. package/dist/actions/list-entity-templates.d.cts.map +1 -1
  623. package/dist/actions/list-entity-templates.d.mts +3 -1
  624. package/dist/actions/list-entity-templates.d.mts.map +1 -1
  625. package/dist/actions/list-entity-templates.mjs +1 -0
  626. package/dist/actions/list-entity-templates.mjs.map +1 -1
  627. package/dist/actions/list-epic-comments.cjs +1 -0
  628. package/dist/actions/list-epic-comments.cjs.map +1 -1
  629. package/dist/actions/list-epic-comments.d.cts +3 -3
  630. package/dist/actions/list-epic-comments.d.cts.map +1 -1
  631. package/dist/actions/list-epic-comments.d.mts +3 -3
  632. package/dist/actions/list-epic-comments.d.mts.map +1 -1
  633. package/dist/actions/list-epic-comments.mjs +1 -0
  634. package/dist/actions/list-epic-comments.mjs.map +1 -1
  635. package/dist/actions/list-epic-documents.cjs +1 -0
  636. package/dist/actions/list-epic-documents.cjs.map +1 -1
  637. package/dist/actions/list-epic-documents.d.cts +3 -3
  638. package/dist/actions/list-epic-documents.d.cts.map +1 -1
  639. package/dist/actions/list-epic-documents.d.mts +3 -3
  640. package/dist/actions/list-epic-documents.d.mts.map +1 -1
  641. package/dist/actions/list-epic-documents.mjs +1 -0
  642. package/dist/actions/list-epic-documents.mjs.map +1 -1
  643. package/dist/actions/list-epic-healths.cjs +1 -0
  644. package/dist/actions/list-epic-healths.cjs.map +1 -1
  645. package/dist/actions/list-epic-healths.d.cts +3 -3
  646. package/dist/actions/list-epic-healths.d.cts.map +1 -1
  647. package/dist/actions/list-epic-healths.d.mts +3 -3
  648. package/dist/actions/list-epic-healths.d.mts.map +1 -1
  649. package/dist/actions/list-epic-healths.mjs +1 -0
  650. package/dist/actions/list-epic-healths.mjs.map +1 -1
  651. package/dist/actions/list-epic-stories.cjs +1 -0
  652. package/dist/actions/list-epic-stories.cjs.map +1 -1
  653. package/dist/actions/list-epic-stories.d.cts +3 -4
  654. package/dist/actions/list-epic-stories.d.cts.map +1 -1
  655. package/dist/actions/list-epic-stories.d.mts +3 -4
  656. package/dist/actions/list-epic-stories.d.mts.map +1 -1
  657. package/dist/actions/list-epic-stories.mjs +1 -0
  658. package/dist/actions/list-epic-stories.mjs.map +1 -1
  659. package/dist/actions/list-epics-paginated.cjs +1 -0
  660. package/dist/actions/list-epics-paginated.cjs.map +1 -1
  661. package/dist/actions/list-epics-paginated.d.cts +3 -5
  662. package/dist/actions/list-epics-paginated.d.cts.map +1 -1
  663. package/dist/actions/list-epics-paginated.d.mts +3 -5
  664. package/dist/actions/list-epics-paginated.d.mts.map +1 -1
  665. package/dist/actions/list-epics-paginated.mjs +1 -0
  666. package/dist/actions/list-epics-paginated.mjs.map +1 -1
  667. package/dist/actions/list-epics.cjs +1 -0
  668. package/dist/actions/list-epics.cjs.map +1 -1
  669. package/dist/actions/list-epics.d.cts +3 -3
  670. package/dist/actions/list-epics.d.cts.map +1 -1
  671. package/dist/actions/list-epics.d.mts +3 -3
  672. package/dist/actions/list-epics.d.mts.map +1 -1
  673. package/dist/actions/list-epics.mjs +1 -0
  674. package/dist/actions/list-epics.mjs.map +1 -1
  675. package/dist/actions/list-files.cjs +1 -0
  676. package/dist/actions/list-files.cjs.map +1 -1
  677. package/dist/actions/list-files.d.cts +3 -1
  678. package/dist/actions/list-files.d.cts.map +1 -1
  679. package/dist/actions/list-files.d.mts +3 -1
  680. package/dist/actions/list-files.d.mts.map +1 -1
  681. package/dist/actions/list-files.mjs +1 -0
  682. package/dist/actions/list-files.mjs.map +1 -1
  683. package/dist/actions/list-group-stories.cjs +1 -0
  684. package/dist/actions/list-group-stories.cjs.map +1 -1
  685. package/dist/actions/list-group-stories.d.cts +3 -5
  686. package/dist/actions/list-group-stories.d.cts.map +1 -1
  687. package/dist/actions/list-group-stories.d.mts +3 -5
  688. package/dist/actions/list-group-stories.d.mts.map +1 -1
  689. package/dist/actions/list-group-stories.mjs +1 -0
  690. package/dist/actions/list-group-stories.mjs.map +1 -1
  691. package/dist/actions/list-groups.cjs +1 -0
  692. package/dist/actions/list-groups.cjs.map +1 -1
  693. package/dist/actions/list-groups.d.cts +3 -1
  694. package/dist/actions/list-groups.d.cts.map +1 -1
  695. package/dist/actions/list-groups.d.mts +3 -1
  696. package/dist/actions/list-groups.d.mts.map +1 -1
  697. package/dist/actions/list-groups.mjs +1 -0
  698. package/dist/actions/list-groups.mjs.map +1 -1
  699. package/dist/actions/list-iteration-stories.cjs +1 -0
  700. package/dist/actions/list-iteration-stories.cjs.map +1 -1
  701. package/dist/actions/list-iteration-stories.d.cts +3 -4
  702. package/dist/actions/list-iteration-stories.d.cts.map +1 -1
  703. package/dist/actions/list-iteration-stories.d.mts +3 -4
  704. package/dist/actions/list-iteration-stories.d.mts.map +1 -1
  705. package/dist/actions/list-iteration-stories.mjs +1 -0
  706. package/dist/actions/list-iteration-stories.mjs.map +1 -1
  707. package/dist/actions/list-iterations.cjs +1 -0
  708. package/dist/actions/list-iterations.cjs.map +1 -1
  709. package/dist/actions/list-iterations.d.cts +3 -1
  710. package/dist/actions/list-iterations.d.cts.map +1 -1
  711. package/dist/actions/list-iterations.d.mts +3 -1
  712. package/dist/actions/list-iterations.d.mts.map +1 -1
  713. package/dist/actions/list-iterations.mjs +1 -0
  714. package/dist/actions/list-iterations.mjs.map +1 -1
  715. package/dist/actions/list-label-epics.cjs +1 -0
  716. package/dist/actions/list-label-epics.cjs.map +1 -1
  717. package/dist/actions/list-label-epics.d.cts +3 -3
  718. package/dist/actions/list-label-epics.d.cts.map +1 -1
  719. package/dist/actions/list-label-epics.d.mts +3 -3
  720. package/dist/actions/list-label-epics.d.mts.map +1 -1
  721. package/dist/actions/list-label-epics.mjs +1 -0
  722. package/dist/actions/list-label-epics.mjs.map +1 -1
  723. package/dist/actions/list-label-stories.cjs +1 -0
  724. package/dist/actions/list-label-stories.cjs.map +1 -1
  725. package/dist/actions/list-label-stories.d.cts +3 -4
  726. package/dist/actions/list-label-stories.d.cts.map +1 -1
  727. package/dist/actions/list-label-stories.d.mts +3 -4
  728. package/dist/actions/list-label-stories.d.mts.map +1 -1
  729. package/dist/actions/list-label-stories.mjs +1 -0
  730. package/dist/actions/list-label-stories.mjs.map +1 -1
  731. package/dist/actions/list-labels.cjs +1 -0
  732. package/dist/actions/list-labels.cjs.map +1 -1
  733. package/dist/actions/list-labels.d.cts +3 -3
  734. package/dist/actions/list-labels.d.cts.map +1 -1
  735. package/dist/actions/list-labels.d.mts +3 -3
  736. package/dist/actions/list-labels.d.mts.map +1 -1
  737. package/dist/actions/list-labels.mjs +1 -0
  738. package/dist/actions/list-labels.mjs.map +1 -1
  739. package/dist/actions/list-linked-files.cjs +1 -0
  740. package/dist/actions/list-linked-files.cjs.map +1 -1
  741. package/dist/actions/list-linked-files.d.cts +3 -1
  742. package/dist/actions/list-linked-files.d.cts.map +1 -1
  743. package/dist/actions/list-linked-files.d.mts +3 -1
  744. package/dist/actions/list-linked-files.d.mts.map +1 -1
  745. package/dist/actions/list-linked-files.mjs +1 -0
  746. package/dist/actions/list-linked-files.mjs.map +1 -1
  747. package/dist/actions/list-members-slim.cjs +1 -0
  748. package/dist/actions/list-members-slim.cjs.map +1 -1
  749. package/dist/actions/list-members-slim.d.cts +3 -1
  750. package/dist/actions/list-members-slim.d.cts.map +1 -1
  751. package/dist/actions/list-members-slim.d.mts +3 -1
  752. package/dist/actions/list-members-slim.d.mts.map +1 -1
  753. package/dist/actions/list-members-slim.mjs +1 -0
  754. package/dist/actions/list-members-slim.mjs.map +1 -1
  755. package/dist/actions/list-members.cjs +1 -0
  756. package/dist/actions/list-members.cjs.map +1 -1
  757. package/dist/actions/list-members.d.cts +3 -3
  758. package/dist/actions/list-members.d.cts.map +1 -1
  759. package/dist/actions/list-members.d.mts +3 -3
  760. package/dist/actions/list-members.d.mts.map +1 -1
  761. package/dist/actions/list-members.mjs +1 -0
  762. package/dist/actions/list-members.mjs.map +1 -1
  763. package/dist/actions/list-objective-epics.cjs +1 -0
  764. package/dist/actions/list-objective-epics.cjs.map +1 -1
  765. package/dist/actions/list-objective-epics.d.cts +3 -3
  766. package/dist/actions/list-objective-epics.d.cts.map +1 -1
  767. package/dist/actions/list-objective-epics.d.mts +3 -3
  768. package/dist/actions/list-objective-epics.d.mts.map +1 -1
  769. package/dist/actions/list-objective-epics.mjs +1 -0
  770. package/dist/actions/list-objective-epics.mjs.map +1 -1
  771. package/dist/actions/list-objectives.cjs +1 -0
  772. package/dist/actions/list-objectives.cjs.map +1 -1
  773. package/dist/actions/list-objectives.d.cts +3 -1
  774. package/dist/actions/list-objectives.d.cts.map +1 -1
  775. package/dist/actions/list-objectives.d.mts +3 -1
  776. package/dist/actions/list-objectives.d.mts.map +1 -1
  777. package/dist/actions/list-objectives.mjs +1 -0
  778. package/dist/actions/list-objectives.mjs.map +1 -1
  779. package/dist/actions/list-projects.cjs +1 -0
  780. package/dist/actions/list-projects.cjs.map +1 -1
  781. package/dist/actions/list-projects.d.cts +3 -1
  782. package/dist/actions/list-projects.d.cts.map +1 -1
  783. package/dist/actions/list-projects.d.mts +3 -1
  784. package/dist/actions/list-projects.d.mts.map +1 -1
  785. package/dist/actions/list-projects.mjs +1 -0
  786. package/dist/actions/list-projects.mjs.map +1 -1
  787. package/dist/actions/list-repositories.cjs +1 -0
  788. package/dist/actions/list-repositories.cjs.map +1 -1
  789. package/dist/actions/list-repositories.d.cts +3 -1
  790. package/dist/actions/list-repositories.d.cts.map +1 -1
  791. package/dist/actions/list-repositories.d.mts +3 -1
  792. package/dist/actions/list-repositories.d.mts.map +1 -1
  793. package/dist/actions/list-repositories.mjs +1 -0
  794. package/dist/actions/list-repositories.mjs.map +1 -1
  795. package/dist/actions/list-stories.cjs +1 -0
  796. package/dist/actions/list-stories.cjs.map +1 -1
  797. package/dist/actions/list-stories.d.cts +3 -4
  798. package/dist/actions/list-stories.d.cts.map +1 -1
  799. package/dist/actions/list-stories.d.mts +3 -4
  800. package/dist/actions/list-stories.d.mts.map +1 -1
  801. package/dist/actions/list-stories.mjs +1 -0
  802. package/dist/actions/list-stories.mjs.map +1 -1
  803. package/dist/actions/list-story-comment.cjs +1 -0
  804. package/dist/actions/list-story-comment.cjs.map +1 -1
  805. package/dist/actions/list-story-comment.d.cts +3 -3
  806. package/dist/actions/list-story-comment.d.cts.map +1 -1
  807. package/dist/actions/list-story-comment.d.mts +3 -3
  808. package/dist/actions/list-story-comment.d.mts.map +1 -1
  809. package/dist/actions/list-story-comment.mjs +1 -0
  810. package/dist/actions/list-story-comment.mjs.map +1 -1
  811. package/dist/actions/list-story-sub-tasks.cjs +1 -0
  812. package/dist/actions/list-story-sub-tasks.cjs.map +1 -1
  813. package/dist/actions/list-story-sub-tasks.d.cts +3 -3
  814. package/dist/actions/list-story-sub-tasks.d.cts.map +1 -1
  815. package/dist/actions/list-story-sub-tasks.d.mts +3 -3
  816. package/dist/actions/list-story-sub-tasks.d.mts.map +1 -1
  817. package/dist/actions/list-story-sub-tasks.mjs +1 -0
  818. package/dist/actions/list-story-sub-tasks.mjs.map +1 -1
  819. package/dist/actions/list-workflows.cjs +1 -0
  820. package/dist/actions/list-workflows.cjs.map +1 -1
  821. package/dist/actions/list-workflows.d.cts +3 -1
  822. package/dist/actions/list-workflows.d.cts.map +1 -1
  823. package/dist/actions/list-workflows.d.mts +3 -1
  824. package/dist/actions/list-workflows.d.mts.map +1 -1
  825. package/dist/actions/list-workflows.mjs +1 -0
  826. package/dist/actions/list-workflows.mjs.map +1 -1
  827. package/dist/actions/search-documents.cjs +1 -0
  828. package/dist/actions/search-documents.cjs.map +1 -1
  829. package/dist/actions/search-documents.d.cts +3 -8
  830. package/dist/actions/search-documents.d.cts.map +1 -1
  831. package/dist/actions/search-documents.d.mts +3 -8
  832. package/dist/actions/search-documents.d.mts.map +1 -1
  833. package/dist/actions/search-documents.mjs +1 -0
  834. package/dist/actions/search-documents.mjs.map +1 -1
  835. package/dist/actions/search-epics.cjs +1 -0
  836. package/dist/actions/search-epics.cjs.map +1 -1
  837. package/dist/actions/search-epics.d.cts +3 -7
  838. package/dist/actions/search-epics.d.cts.map +1 -1
  839. package/dist/actions/search-epics.d.mts +3 -7
  840. package/dist/actions/search-epics.d.mts.map +1 -1
  841. package/dist/actions/search-epics.mjs +1 -0
  842. package/dist/actions/search-epics.mjs.map +1 -1
  843. package/dist/actions/search-iterations.cjs +1 -0
  844. package/dist/actions/search-iterations.cjs.map +1 -1
  845. package/dist/actions/search-iterations.d.cts +3 -7
  846. package/dist/actions/search-iterations.d.cts.map +1 -1
  847. package/dist/actions/search-iterations.d.mts +3 -7
  848. package/dist/actions/search-iterations.d.mts.map +1 -1
  849. package/dist/actions/search-iterations.mjs +1 -0
  850. package/dist/actions/search-iterations.mjs.map +1 -1
  851. package/dist/actions/search-milestones.cjs +1 -0
  852. package/dist/actions/search-milestones.cjs.map +1 -1
  853. package/dist/actions/search-milestones.d.cts +3 -7
  854. package/dist/actions/search-milestones.d.cts.map +1 -1
  855. package/dist/actions/search-milestones.d.mts +3 -7
  856. package/dist/actions/search-milestones.d.mts.map +1 -1
  857. package/dist/actions/search-milestones.mjs +1 -0
  858. package/dist/actions/search-milestones.mjs.map +1 -1
  859. package/dist/actions/search-objectives.cjs +1 -0
  860. package/dist/actions/search-objectives.cjs.map +1 -1
  861. package/dist/actions/search-objectives.d.cts +3 -7
  862. package/dist/actions/search-objectives.d.cts.map +1 -1
  863. package/dist/actions/search-objectives.d.mts +3 -7
  864. package/dist/actions/search-objectives.d.mts.map +1 -1
  865. package/dist/actions/search-objectives.mjs +1 -0
  866. package/dist/actions/search-objectives.mjs.map +1 -1
  867. package/dist/actions/search-stories-old.cjs +1 -0
  868. package/dist/actions/search-stories-old.cjs.map +1 -1
  869. package/dist/actions/search-stories-old.d.cts +3 -30
  870. package/dist/actions/search-stories-old.d.cts.map +1 -1
  871. package/dist/actions/search-stories-old.d.mts +3 -30
  872. package/dist/actions/search-stories-old.d.mts.map +1 -1
  873. package/dist/actions/search-stories-old.mjs +1 -0
  874. package/dist/actions/search-stories-old.mjs.map +1 -1
  875. package/dist/actions/search-stories.cjs +1 -0
  876. package/dist/actions/search-stories.cjs.map +1 -1
  877. package/dist/actions/search-stories.d.cts +3 -7
  878. package/dist/actions/search-stories.d.cts.map +1 -1
  879. package/dist/actions/search-stories.d.mts +3 -7
  880. package/dist/actions/search-stories.d.mts.map +1 -1
  881. package/dist/actions/search-stories.mjs +1 -0
  882. package/dist/actions/search-stories.mjs.map +1 -1
  883. package/dist/actions/search.cjs +1 -0
  884. package/dist/actions/search.cjs.map +1 -1
  885. package/dist/actions/search.d.cts +3 -7
  886. package/dist/actions/search.d.cts.map +1 -1
  887. package/dist/actions/search.d.mts +3 -7
  888. package/dist/actions/search.d.mts.map +1 -1
  889. package/dist/actions/search.mjs +1 -0
  890. package/dist/actions/search.mjs.map +1 -1
  891. package/dist/actions/story-history.cjs +1 -0
  892. package/dist/actions/story-history.cjs.map +1 -1
  893. package/dist/actions/story-history.d.cts +3 -3
  894. package/dist/actions/story-history.d.cts.map +1 -1
  895. package/dist/actions/story-history.d.mts +3 -3
  896. package/dist/actions/story-history.d.mts.map +1 -1
  897. package/dist/actions/story-history.mjs +1 -0
  898. package/dist/actions/story-history.mjs.map +1 -1
  899. package/dist/actions/unlink-comment-thread-from-slack.cjs +1 -0
  900. package/dist/actions/unlink-comment-thread-from-slack.cjs.map +1 -1
  901. package/dist/actions/unlink-comment-thread-from-slack.d.cts +3 -4
  902. package/dist/actions/unlink-comment-thread-from-slack.d.cts.map +1 -1
  903. package/dist/actions/unlink-comment-thread-from-slack.d.mts +3 -4
  904. package/dist/actions/unlink-comment-thread-from-slack.d.mts.map +1 -1
  905. package/dist/actions/unlink-comment-thread-from-slack.mjs +1 -0
  906. package/dist/actions/unlink-comment-thread-from-slack.mjs.map +1 -1
  907. package/dist/actions/unlink-document-from-epic.cjs +1 -0
  908. package/dist/actions/unlink-document-from-epic.cjs.map +1 -1
  909. package/dist/actions/unlink-document-from-epic.d.cts +3 -4
  910. package/dist/actions/unlink-document-from-epic.d.cts.map +1 -1
  911. package/dist/actions/unlink-document-from-epic.d.mts +3 -4
  912. package/dist/actions/unlink-document-from-epic.d.mts.map +1 -1
  913. package/dist/actions/unlink-document-from-epic.mjs +1 -0
  914. package/dist/actions/unlink-document-from-epic.mjs.map +1 -1
  915. package/dist/actions/unlink-productboard-from-epic.cjs +1 -0
  916. package/dist/actions/unlink-productboard-from-epic.cjs.map +1 -1
  917. package/dist/actions/unlink-productboard-from-epic.d.cts +3 -3
  918. package/dist/actions/unlink-productboard-from-epic.d.cts.map +1 -1
  919. package/dist/actions/unlink-productboard-from-epic.d.mts +3 -3
  920. package/dist/actions/unlink-productboard-from-epic.d.mts.map +1 -1
  921. package/dist/actions/unlink-productboard-from-epic.mjs +1 -0
  922. package/dist/actions/unlink-productboard-from-epic.mjs.map +1 -1
  923. package/dist/actions/update-category.cjs +1 -0
  924. package/dist/actions/update-category.cjs.map +1 -1
  925. package/dist/actions/update-category.d.cts +3 -6
  926. package/dist/actions/update-category.d.cts.map +1 -1
  927. package/dist/actions/update-category.d.mts +3 -6
  928. package/dist/actions/update-category.d.mts.map +1 -1
  929. package/dist/actions/update-category.mjs +1 -0
  930. package/dist/actions/update-category.mjs.map +1 -1
  931. package/dist/actions/update-custom-field.cjs +1 -0
  932. package/dist/actions/update-custom-field.cjs.map +1 -1
  933. package/dist/actions/update-custom-field.d.cts +3 -16
  934. package/dist/actions/update-custom-field.d.cts.map +1 -1
  935. package/dist/actions/update-custom-field.d.mts +3 -16
  936. package/dist/actions/update-custom-field.d.mts.map +1 -1
  937. package/dist/actions/update-custom-field.mjs +1 -0
  938. package/dist/actions/update-custom-field.mjs.map +1 -1
  939. package/dist/actions/update-doc.cjs +1 -0
  940. package/dist/actions/update-doc.cjs.map +1 -1
  941. package/dist/actions/update-doc.d.cts +3 -6
  942. package/dist/actions/update-doc.d.cts.map +1 -1
  943. package/dist/actions/update-doc.d.mts +3 -6
  944. package/dist/actions/update-doc.d.mts.map +1 -1
  945. package/dist/actions/update-doc.mjs +1 -0
  946. package/dist/actions/update-doc.mjs.map +1 -1
  947. package/dist/actions/update-entity-template.cjs +1 -0
  948. package/dist/actions/update-entity-template.cjs.map +1 -1
  949. package/dist/actions/update-entity-template.d.cts +3 -39
  950. package/dist/actions/update-entity-template.d.cts.map +1 -1
  951. package/dist/actions/update-entity-template.d.mts +3 -39
  952. package/dist/actions/update-entity-template.d.mts.map +1 -1
  953. package/dist/actions/update-entity-template.mjs +1 -0
  954. package/dist/actions/update-entity-template.mjs.map +1 -1
  955. package/dist/actions/update-epic-comment.cjs +1 -0
  956. package/dist/actions/update-epic-comment.cjs.map +1 -1
  957. package/dist/actions/update-epic-comment.d.cts +3 -5
  958. package/dist/actions/update-epic-comment.d.cts.map +1 -1
  959. package/dist/actions/update-epic-comment.d.mts +3 -5
  960. package/dist/actions/update-epic-comment.d.mts.map +1 -1
  961. package/dist/actions/update-epic-comment.mjs +1 -0
  962. package/dist/actions/update-epic-comment.mjs.map +1 -1
  963. package/dist/actions/update-epic.cjs +1 -0
  964. package/dist/actions/update-epic.cjs.map +1 -1
  965. package/dist/actions/update-epic.d.cts +3 -29
  966. package/dist/actions/update-epic.d.cts.map +1 -1
  967. package/dist/actions/update-epic.d.mts +3 -29
  968. package/dist/actions/update-epic.d.mts.map +1 -1
  969. package/dist/actions/update-epic.mjs +1 -0
  970. package/dist/actions/update-epic.mjs.map +1 -1
  971. package/dist/actions/update-file.cjs +1 -0
  972. package/dist/actions/update-file.cjs.map +1 -1
  973. package/dist/actions/update-file.d.cts +3 -9
  974. package/dist/actions/update-file.d.cts.map +1 -1
  975. package/dist/actions/update-file.d.mts +3 -9
  976. package/dist/actions/update-file.d.mts.map +1 -1
  977. package/dist/actions/update-file.mjs +1 -0
  978. package/dist/actions/update-file.mjs.map +1 -1
  979. package/dist/actions/update-group.cjs +1 -0
  980. package/dist/actions/update-group.cjs.map +1 -1
  981. package/dist/actions/update-group.d.cts +3 -13
  982. package/dist/actions/update-group.d.cts.map +1 -1
  983. package/dist/actions/update-group.d.mts +3 -13
  984. package/dist/actions/update-group.d.mts.map +1 -1
  985. package/dist/actions/update-group.mjs +1 -0
  986. package/dist/actions/update-group.mjs.map +1 -1
  987. package/dist/actions/update-health.cjs +1 -0
  988. package/dist/actions/update-health.cjs.map +1 -1
  989. package/dist/actions/update-health.d.cts +3 -5
  990. package/dist/actions/update-health.d.cts.map +1 -1
  991. package/dist/actions/update-health.d.mts +3 -5
  992. package/dist/actions/update-health.d.mts.map +1 -1
  993. package/dist/actions/update-health.mjs +1 -0
  994. package/dist/actions/update-health.mjs.map +1 -1
  995. package/dist/actions/update-iteration.cjs +1 -0
  996. package/dist/actions/update-iteration.cjs.map +1 -1
  997. package/dist/actions/update-iteration.d.cts +3 -16
  998. package/dist/actions/update-iteration.d.cts.map +1 -1
  999. package/dist/actions/update-iteration.d.mts +3 -16
  1000. package/dist/actions/update-iteration.d.mts.map +1 -1
  1001. package/dist/actions/update-iteration.mjs +1 -0
  1002. package/dist/actions/update-iteration.mjs.map +1 -1
  1003. package/dist/actions/update-key-result.cjs +1 -0
  1004. package/dist/actions/update-key-result.cjs.map +1 -1
  1005. package/dist/actions/update-key-result.d.cts +3 -10
  1006. package/dist/actions/update-key-result.d.cts.map +1 -1
  1007. package/dist/actions/update-key-result.d.mts +3 -10
  1008. package/dist/actions/update-key-result.d.mts.map +1 -1
  1009. package/dist/actions/update-key-result.mjs +1 -0
  1010. package/dist/actions/update-key-result.mjs.map +1 -1
  1011. package/dist/actions/update-label.cjs +1 -0
  1012. package/dist/actions/update-label.cjs.map +1 -1
  1013. package/dist/actions/update-label.d.cts +3 -7
  1014. package/dist/actions/update-label.d.cts.map +1 -1
  1015. package/dist/actions/update-label.d.mts +3 -7
  1016. package/dist/actions/update-label.d.mts.map +1 -1
  1017. package/dist/actions/update-label.mjs +1 -0
  1018. package/dist/actions/update-label.mjs.map +1 -1
  1019. package/dist/actions/update-linked-file.cjs +1 -0
  1020. package/dist/actions/update-linked-file.cjs.map +1 -1
  1021. package/dist/actions/update-linked-file.d.cts +3 -11
  1022. package/dist/actions/update-linked-file.d.cts.map +1 -1
  1023. package/dist/actions/update-linked-file.d.mts +3 -11
  1024. package/dist/actions/update-linked-file.d.mts.map +1 -1
  1025. package/dist/actions/update-linked-file.mjs +1 -0
  1026. package/dist/actions/update-linked-file.mjs.map +1 -1
  1027. package/dist/actions/update-multiple-stories.cjs +1 -0
  1028. package/dist/actions/update-multiple-stories.cjs.map +1 -1
  1029. package/dist/actions/update-multiple-stories.d.cts +3 -47
  1030. package/dist/actions/update-multiple-stories.d.cts.map +1 -1
  1031. package/dist/actions/update-multiple-stories.d.mts +3 -47
  1032. package/dist/actions/update-multiple-stories.d.mts.map +1 -1
  1033. package/dist/actions/update-multiple-stories.mjs +1 -0
  1034. package/dist/actions/update-multiple-stories.mjs.map +1 -1
  1035. package/dist/actions/update-objective.cjs +1 -0
  1036. package/dist/actions/update-objective.cjs.map +1 -1
  1037. package/dist/actions/update-objective.d.cts +3 -17
  1038. package/dist/actions/update-objective.d.cts.map +1 -1
  1039. package/dist/actions/update-objective.d.mts +3 -17
  1040. package/dist/actions/update-objective.d.mts.map +1 -1
  1041. package/dist/actions/update-objective.mjs +1 -0
  1042. package/dist/actions/update-objective.mjs.map +1 -1
  1043. package/dist/actions/update-project.cjs +1 -0
  1044. package/dist/actions/update-project.cjs.map +1 -1
  1045. package/dist/actions/update-project.d.cts +3 -12
  1046. package/dist/actions/update-project.d.cts.map +1 -1
  1047. package/dist/actions/update-project.d.mts +3 -12
  1048. package/dist/actions/update-project.d.mts.map +1 -1
  1049. package/dist/actions/update-project.mjs +1 -0
  1050. package/dist/actions/update-project.mjs.map +1 -1
  1051. package/dist/actions/update-story-comment.cjs +1 -0
  1052. package/dist/actions/update-story-comment.cjs.map +1 -1
  1053. package/dist/actions/update-story-comment.d.cts +3 -5
  1054. package/dist/actions/update-story-comment.d.cts.map +1 -1
  1055. package/dist/actions/update-story-comment.d.mts +3 -5
  1056. package/dist/actions/update-story-comment.d.mts.map +1 -1
  1057. package/dist/actions/update-story-comment.mjs +1 -0
  1058. package/dist/actions/update-story-comment.mjs.map +1 -1
  1059. package/dist/actions/update-story-link.cjs +1 -0
  1060. package/dist/actions/update-story-link.cjs.map +1 -1
  1061. package/dist/actions/update-story-link.d.cts +3 -6
  1062. package/dist/actions/update-story-link.d.cts.map +1 -1
  1063. package/dist/actions/update-story-link.d.mts +3 -6
  1064. package/dist/actions/update-story-link.d.mts.map +1 -1
  1065. package/dist/actions/update-story-link.mjs +1 -0
  1066. package/dist/actions/update-story-link.mjs.map +1 -1
  1067. package/dist/actions/update-story.cjs +1 -0
  1068. package/dist/actions/update-story.cjs.map +1 -1
  1069. package/dist/actions/update-story.d.cts +3 -41
  1070. package/dist/actions/update-story.d.cts.map +1 -1
  1071. package/dist/actions/update-story.d.mts +3 -41
  1072. package/dist/actions/update-story.d.mts.map +1 -1
  1073. package/dist/actions/update-story.mjs +1 -0
  1074. package/dist/actions/update-story.mjs.map +1 -1
  1075. package/dist/actions/update-task.cjs +1 -0
  1076. package/dist/actions/update-task.cjs.map +1 -1
  1077. package/dist/actions/update-task.d.cts +3 -9
  1078. package/dist/actions/update-task.d.cts.map +1 -1
  1079. package/dist/actions/update-task.d.mts +3 -9
  1080. package/dist/actions/update-task.d.mts.map +1 -1
  1081. package/dist/actions/update-task.mjs +1 -0
  1082. package/dist/actions/update-task.mjs.map +1 -1
  1083. package/dist/actions/upload-files.cjs +1 -0
  1084. package/dist/actions/upload-files.cjs.map +1 -1
  1085. package/dist/actions/upload-files.d.cts +3 -19
  1086. package/dist/actions/upload-files.d.cts.map +1 -1
  1087. package/dist/actions/upload-files.d.mts +3 -19
  1088. package/dist/actions/upload-files.d.mts.map +1 -1
  1089. package/dist/actions/upload-files.mjs +1 -0
  1090. package/dist/actions/upload-files.mjs.map +1 -1
  1091. package/dist/app.cjs +5 -2
  1092. package/dist/app.cjs.map +1 -1
  1093. package/dist/app.d.cts +7 -1
  1094. package/dist/app.d.cts.map +1 -1
  1095. package/dist/app.d.mts +7 -1
  1096. package/dist/app.d.mts.map +1 -1
  1097. package/dist/app.mjs +3 -2
  1098. package/dist/app.mjs.map +1 -1
  1099. package/dist/index.d.cts +1 -1
  1100. package/dist/index.d.mts +1 -1
  1101. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-epic.mjs","names":[],"sources":["../../src/actions/create-epic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateEpicInput = z.object({\n name: z.string().describe(\"The Epic\\\"s name.\"),\n state: z.enum([\"in progress\", \"to do\", \"done\"]).describe(\"`Deprecated` The Epic\\\"s state (to do, in progress, or done); will be ignored when `epic_state_id` is set.\").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 Epic.\").optional(),\n deadline: z.string().describe(\"The Epic\\\"s deadline.\").optional(),\n group_id: z.string().describe(\"`Deprecated` The ID of the group to associate with the epic. Use `group_ids`.\").optional(),\n group_ids: z.array(z.string()).describe(\"An array of UUIDS for Groups to which this Epic is related.\").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 Epic.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date it is created but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date it is created but can be set to reflect another date.\").optional(),\n description: z.string().describe(\"The Epic\\\"s description.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Epic has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members you want to add as Followers on this new Epic.\").optional(),\n milestone_id: z.number().int().describe(\"`Deprecated` The ID of the Milestone this Epic is related to. Use `objective_ids`.\").optional(),\n epic_state_id: z.number().int().describe(\"The ID of the Epic State.\").optional(),\n objective_ids: z.array(z.number().int()).describe(\"An array of IDs for Objectives to which this Epic is related.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the epic.\").optional(),\n planned_start_date: z.string().describe(\"The Epic\\\"s planned start date.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Epic was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Epic was completed.\").optional(),\n}).describe(\"Request schema for `CreateEpic`\");\nconst ShortcutCreateEpic_EpicStatsSchema = z.object({\n numPoints: z.number().int().describe(\"Total number of story points in the epic.\").nullable(),\n numPointsDone: z.number().int().describe(\"Story points that are completed.\").nullable(),\n numStoriesDone: z.number().int().describe(\"Number of stories completed.\").nullable(),\n lastStoryUpdate: z.string().describe(\"Timestamp of the last story update in the epic (ISO 8601 format).\").nullable().optional(),\n numStoriesTotal: z.number().int().describe(\"Total number of stories in the epic.\").nullable(),\n numPointsBacklog: z.number().int().describe(\"Story points in backlog state.\").nullable(),\n numPointsStarted: z.number().int().describe(\"Story points currently in progress.\").nullable(),\n numStoriesBacklog: z.number().int().describe(\"Number of stories in backlog state.\").nullable(),\n numStoriesStarted: z.number().int().describe(\"Number of stories currently in progress.\").nullable(),\n numPointsUnstarted: z.number().int().describe(\"Story points not yet started.\").nullable(),\n numRelatedDocuments: z.number().int().describe(\"Number of documents related to the epic.\").nullable(),\n numStoriesUnstarted: z.number().int().describe(\"Number of stories not yet started.\").nullable(),\n numStoriesUnestimated: z.number().int().describe(\"Number of stories without point estimates.\").nullable(),\n}).passthrough().describe(\"Statistical data about the epic.\");\nconst ShortcutCreateEpic_EpicHealthSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the health status.\").nullable(),\n text: z.string().describe(\"Additional text description of the health status.\").nullable().optional(),\n epicId: z.number().int().describe(\"ID of the epic this health status belongs to.\").nullable(),\n status: z.string().describe(\"Health status value (e.g., 'At Risk', 'On Track').\").nullable(),\n authorId: z.string().describe(\"UUID of the member who created the health status.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the health status was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the health status was last updated (ISO 8601 format).\").nullable(),\n entityType: z.string().describe(\"Type identifier for the health status entity.\").nullable(),\n objectiveId: z.number().int().describe(\"ID of the related objective.\").nullable().optional(),\n}).passthrough().describe(\"Current health status of the epic.\");\nconst ShortcutCreateEpic_LabelResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the label.\").nullable(),\n name: z.string().describe(\"Name of the label.\").nullable(),\n color: z.string().describe(\"Hex color code for the label (e.g., '#ff0000').\").nullable(),\n appUrl: z.string().describe(\"URL to access the label in Shortcut.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the label is archived.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the label was created (ISO 8601 format).\").nullable().optional(),\n entityType: z.string().describe(\"Type identifier for the label entity.\").nullable(),\n externalId: z.string().describe(\"External system reference identifier for the label.\").nullable().optional(),\n description: z.string().describe(\"Description of the label.\").nullable().optional(),\n}).passthrough().describe(\"Label associated with the epic.\");\nconst ShortcutCreateEpic_ThreadedCommentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the comment.\").nullable(),\n text: z.string().describe(\"Content of the comment (max 100,000 characters).\").nullable(),\n appUrl: z.string().describe(\"Web URL to access the comment.\").nullable(),\n deleted: z.boolean().describe(\"Whether the comment has been deleted.\").nullable(),\n authorId: z.string().describe(\"UUID of the member who created the comment.\").nullable(),\n comments: z.array(z.unknown()).describe(\"Nested array of reply comments (recursive ThreadedComment structure).\"),\n createdAt: z.string().describe(\"Timestamp when the comment was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the comment was last modified (ISO 8601 format).\").nullable(),\n entityType: z.string().describe(\"Type identifier for the comment entity.\").nullable(),\n externalId: z.string().describe(\"External system reference identifier (max 128 characters).\").nullable().optional(),\n mentionIds: z.array(z.string()).describe(\"Array of UUIDs for all entities mentioned in the comment.\"),\n groupMentionIds: z.array(z.string()).describe(\"Array of UUIDs for groups mentioned in the comment.\"),\n memberMentionIds: z.array(z.string()).describe(\"Array of UUIDs for team members mentioned in the comment.\"),\n}).passthrough().describe(\"Comment on the epic with support for nested replies.\");\nconst ShortcutCreateEpic_AssociatedGroupSchema = z.object({\n groupId: z.string().describe(\"UUID of the associated group.\").nullable(),\n associatedStoriesCount: z.number().int().describe(\"Number of stories linked to this group.\").nullable(),\n}).passthrough().describe(\"Group associated with the epic and its story count.\");\nexport const ShortcutCreateEpicOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the epic.\").nullable(),\n name: z.string().describe(\"Name or title of the epic (max 256 characters).\").nullable(),\n state: z.string().describe(\"Deprecated state field; one of 'to do', 'in progress', 'done'.\").nullable().optional(),\n stats: ShortcutCreateEpic_EpicStatsSchema.nullable(),\n appUrl: z.string().describe(\"Direct web URL to access the epic in Shortcut.\").nullable(),\n health: ShortcutCreateEpic_EpicHealthSchema.nullable().optional(),\n labels: z.array(ShortcutCreateEpic_LabelResponseSchema).describe(\"Array of full Label objects associated with the epic.\"),\n groupId: z.string().describe(\"UUID of the primary group associated with the epic.\").nullable().optional(),\n started: z.boolean().describe(\"Whether the epic has started.\").nullable(),\n archived: z.boolean().describe(\"Whether the epic is archived.\").nullable(),\n comments: z.array(ShortcutCreateEpic_ThreadedCommentSchema).describe(\"Array of threaded comments on the epic.\"),\n deadline: z.string().describe(\"Target completion date for the epic (ISO 8601 format).\").nullable().optional(),\n groupIds: z.array(z.string()).describe(\"Array of UUIDs representing groups associated with the epic.\").nullable().optional(),\n labelIds: z.array(z.number().int()).describe(\"Array of label IDs associated with the epic.\"),\n ownerIds: z.array(z.string()).describe(\"Array of UUIDs representing team members assigned as epic owners.\"),\n position: z.number().int().describe(\"Display order position of the epic.\").nullable(),\n completed: z.boolean().describe(\"Whether the epic is completed.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the epic was created (ISO 8601 format).\").nullable(),\n startedAt: z.string().describe(\"Timestamp when the epic was started (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the epic was last updated (ISO 8601 format).\").nullable(),\n entityType: z.string().describe(\"Type identifier for the resource, always 'epic'.\").nullable(),\n externalId: z.string().describe(\"External system reference identifier (max 128 characters).\").nullable().optional(),\n mentionIds: z.array(z.string()).describe(\"Array of UUIDs for all entities mentioned in the epic.\").nullable().optional(),\n projectIds: z.array(z.number().int()).describe(\"Array of project IDs associated with the epic.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp when the epic was completed (ISO 8601 format).\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the epic (max 100,000 characters).\").nullable().optional(),\n epicStateId: z.number().int().describe(\"References the workflow state of the epic.\").nullable().optional(),\n followerIds: z.array(z.string()).describe(\"Array of UUIDs representing team members following the epic.\"),\n milestoneId: z.number().int().describe(\"Deprecated; associated milestone identifier. Use objective_ids instead.\").nullable().optional(),\n objectiveIds: z.array(z.number().int()).describe(\"Array of objective IDs related to the epic.\").nullable().optional(),\n requestedById: z.string().describe(\"UUID of the member who requested the epic.\").nullable().optional(),\n productboardId: z.string().describe(\"Productboard integration identifier.\").nullable().optional(),\n groupMentionIds: z.array(z.string()).describe(\"Array of UUIDs for groups mentioned in the epic.\").nullable().optional(),\n productboardUrl: z.string().describe(\"URL reference to Productboard item.\").nullable().optional(),\n associatedGroups: z.array(ShortcutCreateEpic_AssociatedGroupSchema).describe(\"Array of groups associated with the epic and their story counts.\"),\n memberMentionIds: z.array(z.string()).describe(\"Array of UUIDs for team members mentioned in the epic.\").nullable().optional(),\n plannedStartDate: z.string().describe(\"Intended start date for the epic (ISO 8601 format).\").nullable().optional(),\n productboardName: z.string().describe(\"Name of the Productboard item.\").nullable().optional(),\n startedAtOverride: z.string().describe(\"Manual override timestamp for when the epic started (ISO 8601 format).\").nullable().optional(),\n completedAtOverride: z.string().describe(\"Manual override timestamp for when the epic was completed (ISO 8601 format).\").nullable().optional(),\n productboardPluginId: z.string().describe(\"Productboard plugin identifier.\").nullable().optional(),\n storiesWithoutProjects: z.number().int().describe(\"Count of stories in the epic that are not assigned to any project.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateEpic`\");\n\nexport const shortcutCreateEpic = action(\"SHORTCUT_CREATE_EPIC\", {\n slug: \"shortcut-create-epic\",\n name: \"Create epic\",\n description: \"Create Epic allows you to create a new Epic in Shortcut.\",\n input: ShortcutCreateEpicInput,\n output: ShortcutCreateEpicOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,KAAK;EAAC;EAAe;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAChL,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACxH,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CA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AAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-epic.mjs","names":[],"sources":["../../src/actions/create-epic.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortcut } from \"../app\";\n\nexport const ShortcutCreateEpicInput = z.object({\n name: z.string().describe(\"The Epic\\\"s name.\"),\n state: z.enum([\"in progress\", \"to do\", \"done\"]).describe(\"`Deprecated` The Epic\\\"s state (to do, in progress, or done); will be ignored when `epic_state_id` is set.\").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 Epic.\").optional(),\n deadline: z.string().describe(\"The Epic\\\"s deadline.\").optional(),\n group_id: z.string().describe(\"`Deprecated` The ID of the group to associate with the epic. Use `group_ids`.\").optional(),\n group_ids: z.array(z.string()).describe(\"An array of UUIDS for Groups to which this Epic is related.\").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 Epic.\").optional(),\n created_at: z.string().describe(\"Defaults to the time/date it is created but can be set to reflect another date.\").optional(),\n updated_at: z.string().describe(\"Defaults to the time/date it is created but can be set to reflect another date.\").optional(),\n description: z.string().describe(\"The Epic\\\"s description.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Epic has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members you want to add as Followers on this new Epic.\").optional(),\n milestone_id: z.number().int().describe(\"`Deprecated` The ID of the Milestone this Epic is related to. Use `objective_ids`.\").optional(),\n epic_state_id: z.number().int().describe(\"The ID of the Epic State.\").optional(),\n objective_ids: z.array(z.number().int()).describe(\"An array of IDs for Objectives to which this Epic is related.\").optional(),\n requested_by_id: z.string().describe(\"The ID of the member that requested the epic.\").optional(),\n planned_start_date: z.string().describe(\"The Epic\\\"s planned start date.\").optional(),\n started_at_override: z.string().describe(\"A manual override for the time/date the Epic was started.\").optional(),\n completed_at_override: z.string().describe(\"A manual override for the time/date the Epic was completed.\").optional(),\n}).describe(\"Request schema for `CreateEpic`\");\nconst ShortcutCreateEpic_EpicStatsSchema = z.object({\n numPoints: z.number().int().describe(\"Total number of story points in the epic.\").nullable(),\n numPointsDone: z.number().int().describe(\"Story points that are completed.\").nullable(),\n numStoriesDone: z.number().int().describe(\"Number of stories completed.\").nullable(),\n lastStoryUpdate: z.string().describe(\"Timestamp of the last story update in the epic (ISO 8601 format).\").nullable().optional(),\n numStoriesTotal: z.number().int().describe(\"Total number of stories in the epic.\").nullable(),\n numPointsBacklog: z.number().int().describe(\"Story points in backlog state.\").nullable(),\n numPointsStarted: z.number().int().describe(\"Story points currently in progress.\").nullable(),\n numStoriesBacklog: z.number().int().describe(\"Number of stories in backlog state.\").nullable(),\n numStoriesStarted: z.number().int().describe(\"Number of stories currently in progress.\").nullable(),\n numPointsUnstarted: z.number().int().describe(\"Story points not yet started.\").nullable(),\n numRelatedDocuments: z.number().int().describe(\"Number of documents related to the epic.\").nullable(),\n numStoriesUnstarted: z.number().int().describe(\"Number of stories not yet started.\").nullable(),\n numStoriesUnestimated: z.number().int().describe(\"Number of stories without point estimates.\").nullable(),\n}).passthrough().describe(\"Statistical data about the epic.\");\nconst ShortcutCreateEpic_EpicHealthSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the health status.\").nullable(),\n text: z.string().describe(\"Additional text description of the health status.\").nullable().optional(),\n epicId: z.number().int().describe(\"ID of the epic this health status belongs to.\").nullable(),\n status: z.string().describe(\"Health status value (e.g., 'At Risk', 'On Track').\").nullable(),\n authorId: z.string().describe(\"UUID of the member who created the health status.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the health status was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the health status was last updated (ISO 8601 format).\").nullable(),\n entityType: z.string().describe(\"Type identifier for the health status entity.\").nullable(),\n objectiveId: z.number().int().describe(\"ID of the related objective.\").nullable().optional(),\n}).passthrough().describe(\"Current health status of the epic.\");\nconst ShortcutCreateEpic_LabelResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the label.\").nullable(),\n name: z.string().describe(\"Name of the label.\").nullable(),\n color: z.string().describe(\"Hex color code for the label (e.g., '#ff0000').\").nullable(),\n appUrl: z.string().describe(\"URL to access the label in Shortcut.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the label is archived.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the label was created (ISO 8601 format).\").nullable().optional(),\n entityType: z.string().describe(\"Type identifier for the label entity.\").nullable(),\n externalId: z.string().describe(\"External system reference identifier for the label.\").nullable().optional(),\n description: z.string().describe(\"Description of the label.\").nullable().optional(),\n}).passthrough().describe(\"Label associated with the epic.\");\nconst ShortcutCreateEpic_ThreadedCommentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the comment.\").nullable(),\n text: z.string().describe(\"Content of the comment (max 100,000 characters).\").nullable(),\n appUrl: z.string().describe(\"Web URL to access the comment.\").nullable(),\n deleted: z.boolean().describe(\"Whether the comment has been deleted.\").nullable(),\n authorId: z.string().describe(\"UUID of the member who created the comment.\").nullable(),\n comments: z.array(z.unknown()).describe(\"Nested array of reply comments (recursive ThreadedComment structure).\"),\n createdAt: z.string().describe(\"Timestamp when the comment was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the comment was last modified (ISO 8601 format).\").nullable(),\n entityType: z.string().describe(\"Type identifier for the comment entity.\").nullable(),\n externalId: z.string().describe(\"External system reference identifier (max 128 characters).\").nullable().optional(),\n mentionIds: z.array(z.string()).describe(\"Array of UUIDs for all entities mentioned in the comment.\"),\n groupMentionIds: z.array(z.string()).describe(\"Array of UUIDs for groups mentioned in the comment.\"),\n memberMentionIds: z.array(z.string()).describe(\"Array of UUIDs for team members mentioned in the comment.\"),\n}).passthrough().describe(\"Comment on the epic with support for nested replies.\");\nconst ShortcutCreateEpic_AssociatedGroupSchema = z.object({\n groupId: z.string().describe(\"UUID of the associated group.\").nullable(),\n associatedStoriesCount: z.number().int().describe(\"Number of stories linked to this group.\").nullable(),\n}).passthrough().describe(\"Group associated with the epic and its story count.\");\nexport const ShortcutCreateEpicOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the epic.\").nullable(),\n name: z.string().describe(\"Name or title of the epic (max 256 characters).\").nullable(),\n state: z.string().describe(\"Deprecated state field; one of 'to do', 'in progress', 'done'.\").nullable().optional(),\n stats: ShortcutCreateEpic_EpicStatsSchema.nullable(),\n appUrl: z.string().describe(\"Direct web URL to access the epic in Shortcut.\").nullable(),\n health: ShortcutCreateEpic_EpicHealthSchema.nullable().optional(),\n labels: z.array(ShortcutCreateEpic_LabelResponseSchema).describe(\"Array of full Label objects associated with the epic.\"),\n groupId: z.string().describe(\"UUID of the primary group associated with the epic.\").nullable().optional(),\n started: z.boolean().describe(\"Whether the epic has started.\").nullable(),\n archived: z.boolean().describe(\"Whether the epic is archived.\").nullable(),\n comments: z.array(ShortcutCreateEpic_ThreadedCommentSchema).describe(\"Array of threaded comments on the epic.\"),\n deadline: z.string().describe(\"Target completion date for the epic (ISO 8601 format).\").nullable().optional(),\n groupIds: z.array(z.string()).describe(\"Array of UUIDs representing groups associated with the epic.\").nullable().optional(),\n labelIds: z.array(z.number().int()).describe(\"Array of label IDs associated with the epic.\"),\n ownerIds: z.array(z.string()).describe(\"Array of UUIDs representing team members assigned as epic owners.\"),\n position: z.number().int().describe(\"Display order position of the epic.\").nullable(),\n completed: z.boolean().describe(\"Whether the epic is completed.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the epic was created (ISO 8601 format).\").nullable(),\n startedAt: z.string().describe(\"Timestamp when the epic was started (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the epic was last updated (ISO 8601 format).\").nullable(),\n entityType: z.string().describe(\"Type identifier for the resource, always 'epic'.\").nullable(),\n externalId: z.string().describe(\"External system reference identifier (max 128 characters).\").nullable().optional(),\n mentionIds: z.array(z.string()).describe(\"Array of UUIDs for all entities mentioned in the epic.\").nullable().optional(),\n projectIds: z.array(z.number().int()).describe(\"Array of project IDs associated with the epic.\").nullable().optional(),\n completedAt: z.string().describe(\"Timestamp when the epic was completed (ISO 8601 format).\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the epic (max 100,000 characters).\").nullable().optional(),\n epicStateId: z.number().int().describe(\"References the workflow state of the epic.\").nullable().optional(),\n followerIds: z.array(z.string()).describe(\"Array of UUIDs representing team members following the epic.\"),\n milestoneId: z.number().int().describe(\"Deprecated; associated milestone identifier. Use objective_ids instead.\").nullable().optional(),\n objectiveIds: z.array(z.number().int()).describe(\"Array of objective IDs related to the epic.\").nullable().optional(),\n requestedById: z.string().describe(\"UUID of the member who requested the epic.\").nullable().optional(),\n productboardId: z.string().describe(\"Productboard integration identifier.\").nullable().optional(),\n groupMentionIds: z.array(z.string()).describe(\"Array of UUIDs for groups mentioned in the epic.\").nullable().optional(),\n productboardUrl: z.string().describe(\"URL reference to Productboard item.\").nullable().optional(),\n associatedGroups: z.array(ShortcutCreateEpic_AssociatedGroupSchema).describe(\"Array of groups associated with the epic and their story counts.\"),\n memberMentionIds: z.array(z.string()).describe(\"Array of UUIDs for team members mentioned in the epic.\").nullable().optional(),\n plannedStartDate: z.string().describe(\"Intended start date for the epic (ISO 8601 format).\").nullable().optional(),\n productboardName: z.string().describe(\"Name of the Productboard item.\").nullable().optional(),\n startedAtOverride: z.string().describe(\"Manual override timestamp for when the epic started (ISO 8601 format).\").nullable().optional(),\n completedAtOverride: z.string().describe(\"Manual override timestamp for when the epic was completed (ISO 8601 format).\").nullable().optional(),\n productboardPluginId: z.string().describe(\"Productboard plugin identifier.\").nullable().optional(),\n storiesWithoutProjects: z.number().int().describe(\"Count of stories in the epic that are not assigned to any project.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateEpic`\");\n\nexport const shortcutCreateEpic: AppAction<\n typeof ShortcutCreateEpicInput,\n typeof ShortcutCreateEpicOutput,\n typeof shortcut.credential\n> = action(\"SHORTCUT_CREATE_EPIC\", {\n slug: \"shortcut-create-epic\",\n name: \"Create epic\",\n description: \"Create Epic allows you to create a new Epic in Shortcut.\",\n input: ShortcutCreateEpicInput,\n output: ShortcutCreateEpicOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,KAAK;EAAC;EAAe;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAChL,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,CAAC,CAAC,SA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,SAAS,CAAC,CAAC,SAAS;EAC5F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-generic-integration.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-generic-integration.cjs","names":["z","action"],"sources":["../../src/actions/create-generic-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateGenericIntegrationInput = z.object({\n secret: z.string().describe(\"Optional secret token for webhook signature verification (min 1, max 128 characters).\").optional(),\n webhook_url: z.string().describe(\"The webhook URL for the integration. Must be a valid HTTP or HTTPS URL (max 2048 characters).\"),\n}).describe(\"Request schema for `CreateGenericIntegration`\");\nexport const ShortcutCreateGenericIntegrationOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the integration.\").nullable(),\n type: z.string().describe(\"The type of integration, always 'generic' for webhook integrations.\").nullable(),\n disabled: z.boolean().describe(\"Whether the integration is disabled.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the integration was created.\").nullable(),\n creator_id: z.string().describe(\"The UUID of the user who created the integration.\").nullable(),\n has_secret: z.boolean().describe(\"Whether a secret token was configured for this integration.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the integration was last updated.\").nullable(),\n entity_type: z.string().describe(\"The type of entity, always 'integration'.\").nullable(),\n webhook_url: z.string().describe(\"The webhook URL where events will be sent.\").nullable(),\n}).passthrough().describe(\"Response schema for `CreateGenericIntegration`\\n\\nThe POST /api/v3/integrations/webhook endpoint returns HTTP 201 Created on successful\\ncreation with the created integration details in the response body.\");\n\nexport const shortcutCreateGenericIntegration = action(\"SHORTCUT_CREATE_GENERIC_INTEGRATION\", {\n slug: \"shortcut-create-generic-integration\",\n name: \"Create generic integration\",\n description: \"Tool to create a generic webhook integration in Shortcut. Use when you need to set up a webhook endpoint to receive Shortcut events.\",\n input: ShortcutCreateGenericIntegrationInput,\n output: ShortcutCreateGenericIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;AAClI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8MAA8M;AAExO,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-generic-integration.cjs","names":["z","action"],"sources":["../../src/actions/create-generic-integration.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortcut } from \"../app\";\n\nexport const ShortcutCreateGenericIntegrationInput = z.object({\n secret: z.string().describe(\"Optional secret token for webhook signature verification (min 1, max 128 characters).\").optional(),\n webhook_url: z.string().describe(\"The webhook URL for the integration. Must be a valid HTTP or HTTPS URL (max 2048 characters).\"),\n}).describe(\"Request schema for `CreateGenericIntegration`\");\nexport const ShortcutCreateGenericIntegrationOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the integration.\").nullable(),\n type: z.string().describe(\"The type of integration, always 'generic' for webhook integrations.\").nullable(),\n disabled: z.boolean().describe(\"Whether the integration is disabled.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the integration was created.\").nullable(),\n creator_id: z.string().describe(\"The UUID of the user who created the integration.\").nullable(),\n has_secret: z.boolean().describe(\"Whether a secret token was configured for this integration.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the integration was last updated.\").nullable(),\n entity_type: z.string().describe(\"The type of entity, always 'integration'.\").nullable(),\n webhook_url: z.string().describe(\"The webhook URL where events will be sent.\").nullable(),\n}).passthrough().describe(\"Response schema for `CreateGenericIntegration`\\n\\nThe POST /api/v3/integrations/webhook endpoint returns HTTP 201 Created on successful\\ncreation with the created integration details in the response body.\");\n\nexport const shortcutCreateGenericIntegration: AppAction<\n typeof ShortcutCreateGenericIntegrationInput,\n typeof ShortcutCreateGenericIntegrationOutput,\n typeof shortcut.credential\n> = action(\"SHORTCUT_CREATE_GENERIC_INTEGRATION\", {\n slug: \"shortcut-create-generic-integration\",\n name: \"Create generic integration\",\n description: \"Tool to create a generic webhook integration in Shortcut. Use when you need to set up a webhook endpoint to receive Shortcut events.\",\n input: ShortcutCreateGenericIntegrationInput,\n output: ShortcutCreateGenericIntegrationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;AAClI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8MAA8M;AAExO,MAAa,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shortcut } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-generic-integration.d.ts
@@ -16,10 +18,7 @@ declare const ShortcutCreateGenericIntegrationOutput: z.ZodObject<{
16
18
  entity_type: z.ZodNullable<z.ZodString>;
17
19
  webhook_url: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const shortcutCreateGenericIntegration: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- webhook_url: string;
21
- secret?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const shortcutCreateGenericIntegration: AppAction<typeof ShortcutCreateGenericIntegrationInput, typeof ShortcutCreateGenericIntegrationOutput, typeof shortcut.credential>;
23
22
  //#endregion
24
23
  export { shortcutCreateGenericIntegration };
25
24
  //# sourceMappingURL=create-generic-integration.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-generic-integration.d.cts","names":[],"sources":["../../src/actions/create-generic-integration.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"create-generic-integration.d.cts","names":[],"sources":["../../src/actions/create-generic-integration.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shortcut } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-generic-integration.d.ts
@@ -16,10 +18,7 @@ declare const ShortcutCreateGenericIntegrationOutput: z.ZodObject<{
16
18
  entity_type: z.ZodNullable<z.ZodString>;
17
19
  webhook_url: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const shortcutCreateGenericIntegration: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- webhook_url: string;
21
- secret?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const shortcutCreateGenericIntegration: AppAction<typeof ShortcutCreateGenericIntegrationInput, typeof ShortcutCreateGenericIntegrationOutput, typeof shortcut.credential>;
23
22
  //#endregion
24
23
  export { shortcutCreateGenericIntegration };
25
24
  //# sourceMappingURL=create-generic-integration.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-generic-integration.d.mts","names":[],"sources":["../../src/actions/create-generic-integration.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"create-generic-integration.d.mts","names":[],"sources":["../../src/actions/create-generic-integration.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const shortcutCreateGenericIntegration = action("SHORTCUT_CREATE_GENERIC_INTEGRATION", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-generic-integration.mjs","names":[],"sources":["../../src/actions/create-generic-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateGenericIntegrationInput = z.object({\n secret: z.string().describe(\"Optional secret token for webhook signature verification (min 1, max 128 characters).\").optional(),\n webhook_url: z.string().describe(\"The webhook URL for the integration. Must be a valid HTTP or HTTPS URL (max 2048 characters).\"),\n}).describe(\"Request schema for `CreateGenericIntegration`\");\nexport const ShortcutCreateGenericIntegrationOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the integration.\").nullable(),\n type: z.string().describe(\"The type of integration, always 'generic' for webhook integrations.\").nullable(),\n disabled: z.boolean().describe(\"Whether the integration is disabled.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the integration was created.\").nullable(),\n creator_id: z.string().describe(\"The UUID of the user who created the integration.\").nullable(),\n has_secret: z.boolean().describe(\"Whether a secret token was configured for this integration.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the integration was last updated.\").nullable(),\n entity_type: z.string().describe(\"The type of entity, always 'integration'.\").nullable(),\n webhook_url: z.string().describe(\"The webhook URL where events will be sent.\").nullable(),\n}).passthrough().describe(\"Response schema for `CreateGenericIntegration`\\n\\nThe POST /api/v3/integrations/webhook endpoint returns HTTP 201 Created on successful\\ncreation with the created integration details in the response body.\");\n\nexport const shortcutCreateGenericIntegration = action(\"SHORTCUT_CREATE_GENERIC_INTEGRATION\", {\n slug: \"shortcut-create-generic-integration\",\n name: \"Create generic integration\",\n description: \"Tool to create a generic webhook integration in Shortcut. Use when you need to set up a webhook endpoint to receive Shortcut events.\",\n input: ShortcutCreateGenericIntegrationInput,\n output: ShortcutCreateGenericIntegrationOutput,\n});\n"],"mappings":";;AAoBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAClI,CAAC,CAAC,CAAC,SAAS,+CAiBH;CACP,QAjBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8MAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-generic-integration.mjs","names":[],"sources":["../../src/actions/create-generic-integration.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortcut } from \"../app\";\n\nexport const ShortcutCreateGenericIntegrationInput = z.object({\n secret: z.string().describe(\"Optional secret token for webhook signature verification (min 1, max 128 characters).\").optional(),\n webhook_url: z.string().describe(\"The webhook URL for the integration. Must be a valid HTTP or HTTPS URL (max 2048 characters).\"),\n}).describe(\"Request schema for `CreateGenericIntegration`\");\nexport const ShortcutCreateGenericIntegrationOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the integration.\").nullable(),\n type: z.string().describe(\"The type of integration, always 'generic' for webhook integrations.\").nullable(),\n disabled: z.boolean().describe(\"Whether the integration is disabled.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the integration was created.\").nullable(),\n creator_id: z.string().describe(\"The UUID of the user who created the integration.\").nullable(),\n has_secret: z.boolean().describe(\"Whether a secret token was configured for this integration.\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the integration was last updated.\").nullable(),\n entity_type: z.string().describe(\"The type of entity, always 'integration'.\").nullable(),\n webhook_url: z.string().describe(\"The webhook URL where events will be sent.\").nullable(),\n}).passthrough().describe(\"Response schema for `CreateGenericIntegration`\\n\\nThe POST /api/v3/integrations/webhook endpoint returns HTTP 201 Created on successful\\ncreation with the created integration details in the response body.\");\n\nexport const shortcutCreateGenericIntegration: AppAction<\n typeof ShortcutCreateGenericIntegrationInput,\n typeof ShortcutCreateGenericIntegrationOutput,\n typeof shortcut.credential\n> = action(\"SHORTCUT_CREATE_GENERIC_INTEGRATION\", {\n slug: \"shortcut-create-generic-integration\",\n name: \"Create generic integration\",\n description: \"Tool to create a generic webhook integration in Shortcut. Use when you need to set up a webhook endpoint to receive Shortcut events.\",\n input: ShortcutCreateGenericIntegrationInput,\n output: ShortcutCreateGenericIntegrationOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAClI,CAAC,CAAC,CAAC,SAAS,+CAqBH;CACP,QArBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8MAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateGroupInput = z.object({\n name: z.string().describe(\"The name of this Group.\"),\n color: z.string().describe(\"The color you wish to use for the Group in the system.\").optional(),\n color_key: z.enum([\"blue\", \"purple\", \"midnight-blue\", \"orange\", \"yellow-green\", \"brass\", \"gray\", \"fuchsia\", \"yellow\", \"pink\", \"sky-blue\", \"green\", \"red\", \"black\", \"slate\", \"turquoise\"]).describe(\"The color key you wish to use for the Group in the system.\").optional(),\n member_ids: z.array(z.string()).describe(\"The Member ids to add to this Group.\").optional(),\n description: z.string().describe(\"The description of the Group.\").optional(),\n mention_name: z.string().describe(\"The mention name of this Group.\"),\n workflow_ids: z.array(z.number().int()).describe(\"The Workflow ids to add to the Group. Required by the API.\"),\n display_icon_id: z.string().describe(\"The Icon id for the avatar of this Group.\").optional(),\n}).describe(\"Request schema for `CreateGroup`\");\nconst ShortcutCreateGroup_DisplayIconSchema = z.object({\n id: z.string().describe(\"UUID identifier of the icon.\").nullable(),\n url: z.string().describe(\"URL to the icon resource.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the icon was created, in ISO 8601 format.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the icon was last updated, in ISO 8601 format.\").nullable(),\n entity_type: z.string().describe(\"Entity type of the icon object.\").nullable(),\n}).passthrough().describe(\"Display icon metadata for a group\");\nexport const ShortcutCreateGroupOutput = z.object({\n id: z.string().describe(\"UUID identifier of the group.\").nullable(),\n name: z.string().describe(\"The name of the group.\").nullable(),\n color: z.string().describe(\"The color value assigned to the group.\").nullable().optional(),\n app_url: z.string().describe(\"The URL to access the group in the Shortcut application.\").nullable(),\n archived: z.boolean().describe(\"Indicates whether the group is archived.\").nullable(),\n color_key: z.string().describe(\"The color key identifier for the group (e.g., 'black').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the group was created, in ISO 8601 format.\").nullable(),\n member_ids: z.array(z.string()).describe(\"Array of UUIDs representing the members that belong to this group.\"),\n updated_at: z.string().describe(\"Timestamp when the group was last updated, in ISO 8601 format.\").nullable(),\n description: z.string().describe(\"Description of the group.\").nullable().optional(),\n entity_type: z.string().describe(\"String indicating the type of entity, typically 'group'.\").nullable(),\n num_stories: z.number().int().describe(\"Total count of stories associated with this group.\").nullable(),\n display_icon: ShortcutCreateGroup_DisplayIconSchema.nullable().optional(),\n mention_name: z.string().describe(\"The mention name used to reference the group (e.g., in comments or descriptions).\").nullable(),\n workflow_ids: z.array(z.number().int()).describe(\"Array of workflow IDs contained in the group.\"),\n num_epics_started: z.number().int().describe(\"Count of epics that this group has started.\").nullable(),\n default_workflow_id: z.number().int().describe(\"Numeric identifier for the default workflow associated with the group.\").nullable().optional(),\n num_stories_backlog: z.number().int().describe(\"Count of stories in the backlog for this group.\").nullable(),\n num_stories_started: z.number().int().describe(\"Count of stories that this group has started.\").nullable(),\n}).passthrough().describe(\"Response schema for `CreateGroup`\");\n\nexport const shortcutCreateGroup = action(\"SHORTCUT_CREATE_GROUP\", {\n slug: \"shortcut-create-group\",\n name: \"Create group\",\n description: \"Creates a new group in the Shortcut system with customizable properties. This endpoint allows you to set up a group with a unique mention name, display name, optional description, and various customization options. Use this when you need to establish a new team, department, or any other collective within your Shortcut workspace. The created group can include members, associated workflows, and visual customizations like color and icon. This endpoint is particularly useful for organizing your Shortcut workspace structure, facilitating team collaboration, and streamlining workflow management. Note that while member and workflow associations can be set during creation, they can also be modified later using separate endpoints.\",\n input: ShortcutCreateGroupInput,\n output: ShortcutCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAiB;EAAU;EAAgB;EAAS;EAAQ;EAAW;EAAU;EAAQ;EAAY;EAAS;EAAO;EAAS;EAAS;CAAW,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1Q,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OA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AC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortcut } from \"../app\";\n\nexport const ShortcutCreateGroupInput = z.object({\n name: z.string().describe(\"The name of this Group.\"),\n color: z.string().describe(\"The color you wish to use for the Group in the system.\").optional(),\n color_key: z.enum([\"blue\", \"purple\", \"midnight-blue\", \"orange\", \"yellow-green\", \"brass\", \"gray\", \"fuchsia\", \"yellow\", \"pink\", \"sky-blue\", \"green\", \"red\", \"black\", \"slate\", \"turquoise\"]).describe(\"The color key you wish to use for the Group in the system.\").optional(),\n member_ids: z.array(z.string()).describe(\"The Member ids to add to this Group.\").optional(),\n description: z.string().describe(\"The description of the Group.\").optional(),\n mention_name: z.string().describe(\"The mention name of this Group.\"),\n workflow_ids: z.array(z.number().int()).describe(\"The Workflow ids to add to the Group. Required by the API.\"),\n display_icon_id: z.string().describe(\"The Icon id for the avatar of this Group.\").optional(),\n}).describe(\"Request schema for `CreateGroup`\");\nconst ShortcutCreateGroup_DisplayIconSchema = z.object({\n id: z.string().describe(\"UUID identifier of the icon.\").nullable(),\n url: z.string().describe(\"URL to the icon resource.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the icon was created, in ISO 8601 format.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the icon was last updated, in ISO 8601 format.\").nullable(),\n entity_type: z.string().describe(\"Entity type of the icon object.\").nullable(),\n}).passthrough().describe(\"Display icon metadata for a group\");\nexport const ShortcutCreateGroupOutput = z.object({\n id: z.string().describe(\"UUID identifier of the group.\").nullable(),\n name: z.string().describe(\"The name of the group.\").nullable(),\n color: z.string().describe(\"The color value assigned to the group.\").nullable().optional(),\n app_url: z.string().describe(\"The URL to access the group in the Shortcut application.\").nullable(),\n archived: z.boolean().describe(\"Indicates whether the group is archived.\").nullable(),\n color_key: z.string().describe(\"The color key identifier for the group (e.g., 'black').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the group was created, in ISO 8601 format.\").nullable(),\n member_ids: z.array(z.string()).describe(\"Array of UUIDs representing the members that belong to this group.\"),\n updated_at: z.string().describe(\"Timestamp when the group was last updated, in ISO 8601 format.\").nullable(),\n description: z.string().describe(\"Description of the group.\").nullable().optional(),\n entity_type: z.string().describe(\"String indicating the type of entity, typically 'group'.\").nullable(),\n num_stories: z.number().int().describe(\"Total count of stories associated with this group.\").nullable(),\n display_icon: ShortcutCreateGroup_DisplayIconSchema.nullable().optional(),\n mention_name: z.string().describe(\"The mention name used to reference the group (e.g., in comments or descriptions).\").nullable(),\n workflow_ids: z.array(z.number().int()).describe(\"Array of workflow IDs contained in the group.\"),\n num_epics_started: z.number().int().describe(\"Count of epics that this group has started.\").nullable(),\n default_workflow_id: z.number().int().describe(\"Numeric identifier for the default workflow associated with the group.\").nullable().optional(),\n num_stories_backlog: z.number().int().describe(\"Count of stories in the backlog for this group.\").nullable(),\n num_stories_started: z.number().int().describe(\"Count of stories that this group has started.\").nullable(),\n}).passthrough().describe(\"Response schema for `CreateGroup`\");\n\nexport const shortcutCreateGroup: AppAction<\n typeof ShortcutCreateGroupInput,\n typeof ShortcutCreateGroupOutput,\n typeof shortcut.credential\n> = action(\"SHORTCUT_CREATE_GROUP\", {\n slug: \"shortcut-create-group\",\n name: \"Create group\",\n description: \"Creates a new group in the Shortcut system with customizable properties. This endpoint allows you to set up a group with a unique mention name, display name, optional description, and various customization options. Use this when you need to establish a new team, department, or any other collective within your Shortcut workspace. The created group can include members, associated workflows, and visual customizations like color and icon. This endpoint is particularly useful for organizing your Shortcut workspace structure, facilitating team collaboration, and streamlining workflow management. Note that while member and workflow associations can be set during creation, they can also be modified later using separate endpoints.\",\n input: ShortcutCreateGroupInput,\n output: ShortcutCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAiB;EAAU;EAAgB;EAAS;EAAQ;EAAW;EAAU;EAAQ;EAAY;EAAS;EAAO;EAAS;EAAS;CAAW,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1Q,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACnE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4DAA4D;CAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CA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AI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,cAAc,sCAAsC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shortcut } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-group.d.ts
@@ -55,16 +57,7 @@ declare const ShortcutCreateGroupOutput: z.ZodObject<{
55
57
  num_stories_backlog: z.ZodNullable<z.ZodNumber>;
56
58
  num_stories_started: z.ZodNullable<z.ZodNumber>;
57
59
  }, z.core.$loose>;
58
- declare const shortcutCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
59
- name: string;
60
- mention_name: string;
61
- workflow_ids: number[];
62
- color?: string | undefined;
63
- color_key?: "blue" | "purple" | "midnight-blue" | "orange" | "yellow-green" | "brass" | "gray" | "fuchsia" | "yellow" | "pink" | "sky-blue" | "green" | "red" | "black" | "slate" | "turquoise" | undefined;
64
- member_ids?: string[] | undefined;
65
- description?: string | undefined;
66
- display_icon_id?: string | undefined;
67
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
60
+ declare const shortcutCreateGroup: AppAction<typeof ShortcutCreateGroupInput, typeof ShortcutCreateGroupOutput, typeof shortcut.credential>;
68
61
  //#endregion
69
62
  export { shortcutCreateGroup };
70
63
  //# sourceMappingURL=create-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shortcut } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-group.d.ts
@@ -55,16 +57,7 @@ declare const ShortcutCreateGroupOutput: z.ZodObject<{
55
57
  num_stories_backlog: z.ZodNullable<z.ZodNumber>;
56
58
  num_stories_started: z.ZodNullable<z.ZodNumber>;
57
59
  }, z.core.$loose>;
58
- declare const shortcutCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
59
- name: string;
60
- mention_name: string;
61
- workflow_ids: number[];
62
- color?: string | undefined;
63
- color_key?: "blue" | "purple" | "midnight-blue" | "orange" | "yellow-green" | "brass" | "gray" | "fuchsia" | "yellow" | "pink" | "sky-blue" | "green" | "red" | "black" | "slate" | "turquoise" | undefined;
64
- member_ids?: string[] | undefined;
65
- description?: string | undefined;
66
- display_icon_id?: string | undefined;
67
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
60
+ declare const shortcutCreateGroup: AppAction<typeof ShortcutCreateGroupInput, typeof ShortcutCreateGroupOutput, typeof shortcut.credential>;
68
61
  //#endregion
69
62
  export { shortcutCreateGroup };
70
63
  //# sourceMappingURL=create-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateGroupInput = z.object({\n name: z.string().describe(\"The name of this Group.\"),\n color: z.string().describe(\"The color you wish to use for the Group in the system.\").optional(),\n color_key: z.enum([\"blue\", \"purple\", \"midnight-blue\", \"orange\", \"yellow-green\", \"brass\", \"gray\", \"fuchsia\", \"yellow\", \"pink\", \"sky-blue\", \"green\", \"red\", \"black\", \"slate\", \"turquoise\"]).describe(\"The color key you wish to use for the Group in the system.\").optional(),\n member_ids: z.array(z.string()).describe(\"The Member ids to add to this Group.\").optional(),\n description: z.string().describe(\"The description of the Group.\").optional(),\n mention_name: z.string().describe(\"The mention name of this Group.\"),\n workflow_ids: z.array(z.number().int()).describe(\"The Workflow ids to add to the Group. Required by the API.\"),\n display_icon_id: z.string().describe(\"The Icon id for the avatar of this Group.\").optional(),\n}).describe(\"Request schema for `CreateGroup`\");\nconst ShortcutCreateGroup_DisplayIconSchema = z.object({\n id: z.string().describe(\"UUID identifier of the icon.\").nullable(),\n url: z.string().describe(\"URL to the icon resource.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the icon was created, in ISO 8601 format.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the icon was last updated, in ISO 8601 format.\").nullable(),\n entity_type: z.string().describe(\"Entity type of the icon object.\").nullable(),\n}).passthrough().describe(\"Display icon metadata for a group\");\nexport const ShortcutCreateGroupOutput = z.object({\n id: z.string().describe(\"UUID identifier of the group.\").nullable(),\n name: z.string().describe(\"The name of the group.\").nullable(),\n color: z.string().describe(\"The color value assigned to the group.\").nullable().optional(),\n app_url: z.string().describe(\"The URL to access the group in the Shortcut application.\").nullable(),\n archived: z.boolean().describe(\"Indicates whether the group is archived.\").nullable(),\n color_key: z.string().describe(\"The color key identifier for the group (e.g., 'black').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the group was created, in ISO 8601 format.\").nullable(),\n member_ids: z.array(z.string()).describe(\"Array of UUIDs representing the members that belong to this group.\"),\n updated_at: z.string().describe(\"Timestamp when the group was last updated, in ISO 8601 format.\").nullable(),\n description: z.string().describe(\"Description of the group.\").nullable().optional(),\n entity_type: z.string().describe(\"String indicating the type of entity, typically 'group'.\").nullable(),\n num_stories: z.number().int().describe(\"Total count of stories associated with this group.\").nullable(),\n display_icon: ShortcutCreateGroup_DisplayIconSchema.nullable().optional(),\n mention_name: z.string().describe(\"The mention name used to reference the group (e.g., in comments or descriptions).\").nullable(),\n workflow_ids: z.array(z.number().int()).describe(\"Array of workflow IDs contained in the group.\"),\n num_epics_started: z.number().int().describe(\"Count of epics that this group has started.\").nullable(),\n default_workflow_id: z.number().int().describe(\"Numeric identifier for the default workflow associated with the group.\").nullable().optional(),\n num_stories_backlog: z.number().int().describe(\"Count of stories in the backlog for this group.\").nullable(),\n num_stories_started: z.number().int().describe(\"Count of stories that this group has started.\").nullable(),\n}).passthrough().describe(\"Response schema for `CreateGroup`\");\n\nexport const shortcutCreateGroup = action(\"SHORTCUT_CREATE_GROUP\", {\n slug: \"shortcut-create-group\",\n name: \"Create group\",\n description: \"Creates a new group in the Shortcut system with customizable properties. This endpoint allows you to set up a group with a unique mention name, display name, optional description, and various customization options. Use this when you need to establish a new team, department, or any other collective within your Shortcut workspace. The created group can include members, associated workflows, and visual customizations like color and icon. This endpoint is particularly useful for organizing your Shortcut workspace structure, facilitating team collaboration, and streamlining workflow management. Note that while member and workflow associations can be set during creation, they can also be modified later using separate endpoints.\",\n input: ShortcutCreateGroupInput,\n output: ShortcutCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,KAAK;EAAC;EAAQ;EAAU;EA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,CAAC,SAAS;EAC3G,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortcut } from \"../app\";\n\nexport const ShortcutCreateGroupInput = z.object({\n name: z.string().describe(\"The name of this Group.\"),\n color: z.string().describe(\"The color you wish to use for the Group in the system.\").optional(),\n color_key: z.enum([\"blue\", \"purple\", \"midnight-blue\", \"orange\", \"yellow-green\", \"brass\", \"gray\", \"fuchsia\", \"yellow\", \"pink\", \"sky-blue\", \"green\", \"red\", \"black\", \"slate\", \"turquoise\"]).describe(\"The color key you wish to use for the Group in the system.\").optional(),\n member_ids: z.array(z.string()).describe(\"The Member ids to add to this Group.\").optional(),\n description: z.string().describe(\"The description of the Group.\").optional(),\n mention_name: z.string().describe(\"The mention name of this Group.\"),\n workflow_ids: z.array(z.number().int()).describe(\"The Workflow ids to add to the Group. Required by the API.\"),\n display_icon_id: z.string().describe(\"The Icon id for the avatar of this Group.\").optional(),\n}).describe(\"Request schema for `CreateGroup`\");\nconst ShortcutCreateGroup_DisplayIconSchema = z.object({\n id: z.string().describe(\"UUID identifier of the icon.\").nullable(),\n url: z.string().describe(\"URL to the icon resource.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the icon was created, in ISO 8601 format.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the icon was last updated, in ISO 8601 format.\").nullable(),\n entity_type: z.string().describe(\"Entity type of the icon object.\").nullable(),\n}).passthrough().describe(\"Display icon metadata for a group\");\nexport const ShortcutCreateGroupOutput = z.object({\n id: z.string().describe(\"UUID identifier of the group.\").nullable(),\n name: z.string().describe(\"The name of the group.\").nullable(),\n color: z.string().describe(\"The color value assigned to the group.\").nullable().optional(),\n app_url: z.string().describe(\"The URL to access the group in the Shortcut application.\").nullable(),\n archived: z.boolean().describe(\"Indicates whether the group is archived.\").nullable(),\n color_key: z.string().describe(\"The color key identifier for the group (e.g., 'black').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the group was created, in ISO 8601 format.\").nullable(),\n member_ids: z.array(z.string()).describe(\"Array of UUIDs representing the members that belong to this group.\"),\n updated_at: z.string().describe(\"Timestamp when the group was last updated, in ISO 8601 format.\").nullable(),\n description: z.string().describe(\"Description of the group.\").nullable().optional(),\n entity_type: z.string().describe(\"String indicating the type of entity, typically 'group'.\").nullable(),\n num_stories: z.number().int().describe(\"Total count of stories associated with this group.\").nullable(),\n display_icon: ShortcutCreateGroup_DisplayIconSchema.nullable().optional(),\n mention_name: z.string().describe(\"The mention name used to reference the group (e.g., in comments or descriptions).\").nullable(),\n workflow_ids: z.array(z.number().int()).describe(\"Array of workflow IDs contained in the group.\"),\n num_epics_started: z.number().int().describe(\"Count of epics that this group has started.\").nullable(),\n default_workflow_id: z.number().int().describe(\"Numeric identifier for the default workflow associated with the group.\").nullable().optional(),\n num_stories_backlog: z.number().int().describe(\"Count of stories in the backlog for this group.\").nullable(),\n num_stories_started: z.number().int().describe(\"Count of stories that this group has started.\").nullable(),\n}).passthrough().describe(\"Response schema for `CreateGroup`\");\n\nexport const shortcutCreateGroup: AppAction<\n typeof ShortcutCreateGroupInput,\n typeof ShortcutCreateGroupOutput,\n typeof shortcut.credential\n> = action(\"SHORTCUT_CREATE_GROUP\", {\n slug: \"shortcut-create-group\",\n name: \"Create group\",\n description: \"Creates a new group in the Shortcut system with customizable properties. This endpoint allows you to set up a group with a unique mention name, display name, optional description, and various customization options. Use this when you need to establish a new team, department, or any other collective within your Shortcut workspace. The created group can include members, associated workflows, and visual customizations like color and icon. This endpoint is particularly useful for organizing your Shortcut workspace structure, facilitating team collaboration, and streamlining workflow management. Note that while member and workflow associations can be set during creation, they can also be modified later using separate endpoints.\",\n input: ShortcutCreateGroupInput,\n output: ShortcutCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAiB;EAAU;EAAgB;EAAS;EAAQ;EAAW;EAAU;EAAQ;EAAY;EAAS;EAAO;EAAS;EAAS;CAAW,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1Q,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACnE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4DAA4D;CAC7G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAA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,SAAS,+CAA+C;EAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrG,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3G,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-iteration.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-iteration.cjs","names":["z","action"],"sources":["../../src/actions/create-iteration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateIterationInput = z.object({\n name: z.string().describe(\"The name of this Iteration.\"),\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 Iteration.\").optional(),\n end_date: z.string().describe(\"The date this Iteration ends, e.g. 2019-07-01.\"),\n group_ids: z.array(z.string()).describe(\"An array of UUIDs for any Groups you want to add as Followers. Currently, only one Group association is presented in our web UI.\").optional(),\n start_date: z.string().describe(\"The date this Iteration begins, e.g. 2019-07-01.\"),\n description: z.string().describe(\"The description of the Iteration.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members you want to add as Followers.\").optional(),\n}).describe(\"Request schema for `CreateIteration`\");\nconst ShortcutCreateIteration_IterationStatsSchema = z.object({\n num_points: z.number().int().describe(\"The total number of story points in this iteration.\").nullable(),\n num_points_done: z.number().int().describe(\"The number of story points completed in this iteration.\").nullable(),\n num_stories_done: z.number().int().describe(\"The number of stories completed in this iteration.\").nullable(),\n average_lead_time: z.number().int().describe(\"The average lead time (in seconds) for stories in this iteration.\").nullable().optional(),\n average_cycle_time: z.number().int().describe(\"The average cycle time (in seconds) for stories in this iteration.\").nullable().optional(),\n num_points_backlog: z.number().int().describe(\"The number of story points in the backlog for this iteration.\").nullable().optional(),\n num_points_started: z.number().int().describe(\"The number of story points started in this iteration.\").nullable(),\n num_stories_backlog: z.number().int().describe(\"The number of stories in the backlog for this iteration.\").nullable().optional(),\n num_stories_started: z.number().int().describe(\"The number of stories started in this iteration.\").nullable(),\n num_points_unstarted: z.number().int().describe(\"The number of story points not yet started in this iteration.\").nullable(),\n num_related_documents: z.number().int().describe(\"The number of documents related to this iteration.\").nullable().optional(),\n num_stories_unstarted: z.number().int().describe(\"The number of stories not yet started in this iteration.\").nullable(),\n num_stories_unestimated: z.number().int().describe(\"The number of stories without point estimates in this iteration.\").nullable(),\n}).passthrough().describe(\"Statistics about the stories in an iteration.\");\nconst ShortcutCreateIteration_LabelSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the label.\").nullable().optional(),\n name: z.string().describe(\"The name of the label.\").nullable().optional(),\n external_id: z.string().describe(\"A custom external ID for integrating with external systems.\").nullable().optional(),\n}).passthrough().describe(\"Label object associated with an iteration.\");\nexport const ShortcutCreateIterationOutput = z.object({\n id: z.number().int().describe(\"The unique identifier for the iteration.\").nullable(),\n name: z.string().describe(\"The name of the iteration.\").nullable(),\n stats: ShortcutCreateIteration_IterationStatsSchema.nullable(),\n labels: z.array(ShortcutCreateIteration_LabelSchema).describe(\"An array of label objects associated with this iteration.\"),\n status: z.string().describe(\"The status of the iteration. Can be 'unstarted', 'started', or 'done'. Updates automatically based on start and end dates.\").nullable(),\n app_url: z.string().describe(\"The URL to access this iteration in the Shortcut web application.\").nullable(),\n started: z.boolean().describe(\"Indicates whether the iteration has been started.\").nullable().optional(),\n end_date: z.string().describe(\"The end date of the iteration in YYYY-MM-DD format.\").nullable(),\n completed: z.boolean().describe(\"Indicates whether the iteration has been completed.\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"An array of UUIDs for groups (teams) associated with this iteration.\"),\n label_ids: z.array(z.number().int()).describe(\"An array of label IDs associated with this iteration.\"),\n created_at: z.string().describe(\"The timestamp when this iteration was created in ISO 8601 format.\").nullable(),\n start_date: z.string().describe(\"The start date of the iteration in YYYY-MM-DD format.\").nullable(),\n started_at: z.string().describe(\"The timestamp when this iteration was started in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when this iteration was last updated in ISO 8601 format.\").nullable(),\n description: z.string().describe(\"The description of the iteration displayed at the top of the Iteration Detail Page.\").nullable().optional(),\n entity_type: z.string().describe(\"A string description of this resource, always 'iteration'.\").nullable(),\n external_id: z.string().describe(\"A custom external ID for integrating with external systems.\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"An array of member IDs mentioned in the iteration.\"),\n completed_at: z.string().describe(\"The timestamp when this iteration was completed in ISO 8601 format.\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for members who are following this iteration.\"),\n group_mention_ids: z.array(z.string()).describe(\"An array of group UUIDs mentioned in the iteration description.\"),\n member_mention_ids: z.array(z.string()).describe(\"An array of member UUIDs mentioned in the iteration description.\"),\n started_at_override: z.string().describe(\"A manual override for the started_at timestamp in ISO 8601 format.\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the completed_at timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateIteration`\");\n\nexport const shortcutCreateIteration = action(\"SHORTCUT_CREATE_ITERATION\", {\n slug: \"shortcut-create-iteration\",\n name: \"Create iteration\",\n description: \"The CreateIteration endpoint allows you to create a new Iteration in Shortcut, which represents a time-boxed period for completing a set of stories or tasks. This endpoint is crucial for teams using Agile methodologies, enabling them to plan and track progress over specific time periods. Use this endpoint when setting up sprint cycles, planning releases, or organizing work into manageable timeframes. The endpoint requires essential information such as the Iteration's name and date range, while also offering options to add followers, associate groups, and attach labels for better organization and tracking. It's important to note that while multiple groups can be added via the API, the current web UI only displays one Group association. This endpoint should not be used for modifying existing Iterations; instead, use the dedicated update endpoint for such changes.\",\n input: ShortcutCreateIterationInput,\n output: ShortcutCreateIterationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACrL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC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AS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE;CAC5G,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE;CACjH,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACnH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-iteration.cjs","names":["z","action"],"sources":["../../src/actions/create-iteration.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortcut } from \"../app\";\n\nexport const ShortcutCreateIterationInput = z.object({\n name: z.string().describe(\"The name of this Iteration.\"),\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 Iteration.\").optional(),\n end_date: z.string().describe(\"The date this Iteration ends, e.g. 2019-07-01.\"),\n group_ids: z.array(z.string()).describe(\"An array of UUIDs for any Groups you want to add as Followers. Currently, only one Group association is presented in our web UI.\").optional(),\n start_date: z.string().describe(\"The date this Iteration begins, e.g. 2019-07-01.\"),\n description: z.string().describe(\"The description of the Iteration.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members you want to add as Followers.\").optional(),\n}).describe(\"Request schema for `CreateIteration`\");\nconst ShortcutCreateIteration_IterationStatsSchema = z.object({\n num_points: z.number().int().describe(\"The total number of story points in this iteration.\").nullable(),\n num_points_done: z.number().int().describe(\"The number of story points completed in this iteration.\").nullable(),\n num_stories_done: z.number().int().describe(\"The number of stories completed in this iteration.\").nullable(),\n average_lead_time: z.number().int().describe(\"The average lead time (in seconds) for stories in this iteration.\").nullable().optional(),\n average_cycle_time: z.number().int().describe(\"The average cycle time (in seconds) for stories in this iteration.\").nullable().optional(),\n num_points_backlog: z.number().int().describe(\"The number of story points in the backlog for this iteration.\").nullable().optional(),\n num_points_started: z.number().int().describe(\"The number of story points started in this iteration.\").nullable(),\n num_stories_backlog: z.number().int().describe(\"The number of stories in the backlog for this iteration.\").nullable().optional(),\n num_stories_started: z.number().int().describe(\"The number of stories started in this iteration.\").nullable(),\n num_points_unstarted: z.number().int().describe(\"The number of story points not yet started in this iteration.\").nullable(),\n num_related_documents: z.number().int().describe(\"The number of documents related to this iteration.\").nullable().optional(),\n num_stories_unstarted: z.number().int().describe(\"The number of stories not yet started in this iteration.\").nullable(),\n num_stories_unestimated: z.number().int().describe(\"The number of stories without point estimates in this iteration.\").nullable(),\n}).passthrough().describe(\"Statistics about the stories in an iteration.\");\nconst ShortcutCreateIteration_LabelSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the label.\").nullable().optional(),\n name: z.string().describe(\"The name of the label.\").nullable().optional(),\n external_id: z.string().describe(\"A custom external ID for integrating with external systems.\").nullable().optional(),\n}).passthrough().describe(\"Label object associated with an iteration.\");\nexport const ShortcutCreateIterationOutput = z.object({\n id: z.number().int().describe(\"The unique identifier for the iteration.\").nullable(),\n name: z.string().describe(\"The name of the iteration.\").nullable(),\n stats: ShortcutCreateIteration_IterationStatsSchema.nullable(),\n labels: z.array(ShortcutCreateIteration_LabelSchema).describe(\"An array of label objects associated with this iteration.\"),\n status: z.string().describe(\"The status of the iteration. Can be 'unstarted', 'started', or 'done'. Updates automatically based on start and end dates.\").nullable(),\n app_url: z.string().describe(\"The URL to access this iteration in the Shortcut web application.\").nullable(),\n started: z.boolean().describe(\"Indicates whether the iteration has been started.\").nullable().optional(),\n end_date: z.string().describe(\"The end date of the iteration in YYYY-MM-DD format.\").nullable(),\n completed: z.boolean().describe(\"Indicates whether the iteration has been completed.\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"An array of UUIDs for groups (teams) associated with this iteration.\"),\n label_ids: z.array(z.number().int()).describe(\"An array of label IDs associated with this iteration.\"),\n created_at: z.string().describe(\"The timestamp when this iteration was created in ISO 8601 format.\").nullable(),\n start_date: z.string().describe(\"The start date of the iteration in YYYY-MM-DD format.\").nullable(),\n started_at: z.string().describe(\"The timestamp when this iteration was started in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when this iteration was last updated in ISO 8601 format.\").nullable(),\n description: z.string().describe(\"The description of the iteration displayed at the top of the Iteration Detail Page.\").nullable().optional(),\n entity_type: z.string().describe(\"A string description of this resource, always 'iteration'.\").nullable(),\n external_id: z.string().describe(\"A custom external ID for integrating with external systems.\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"An array of member IDs mentioned in the iteration.\"),\n completed_at: z.string().describe(\"The timestamp when this iteration was completed in ISO 8601 format.\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for members who are following this iteration.\"),\n group_mention_ids: z.array(z.string()).describe(\"An array of group UUIDs mentioned in the iteration description.\"),\n member_mention_ids: z.array(z.string()).describe(\"An array of member UUIDs mentioned in the iteration description.\"),\n started_at_override: z.string().describe(\"A manual override for the started_at timestamp in ISO 8601 format.\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the completed_at timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateIteration`\");\n\nexport const shortcutCreateIteration: AppAction<\n typeof ShortcutCreateIterationInput,\n typeof ShortcutCreateIterationOutput,\n typeof shortcut.credential\n> = action(\"SHORTCUT_CREATE_ITERATION\", {\n slug: \"shortcut-create-iteration\",\n name: \"Create iteration\",\n description: \"The CreateIteration endpoint allows you to create a new Iteration in Shortcut, which represents a time-boxed period for completing a set of stories or tasks. This endpoint is crucial for teams using Agile methodologies, enabling them to plan and track progress over specific time periods. Use this endpoint when setting up sprint cycles, planning releases, or organizing work into manageable timeframes. The endpoint requires essential information such as the Iteration's name and date range, while also offering options to add followers, associate groups, and attach labels for better organization and tracking. It's important to note that while multiple groups can be added via the API, the current web UI only displays one Group association. This endpoint should not be used for modifying existing Iterations; instead, use the dedicated update endpoint for such changes.\",\n input: ShortcutCreateIterationInput,\n output: ShortcutCreateIterationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,C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xG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE;CAC5G,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE;CACjH,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACnH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shortcut } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-iteration.d.ts
@@ -60,21 +62,7 @@ declare const ShortcutCreateIterationOutput: z.ZodObject<{
60
62
  started_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
63
  completed_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
64
  }, z.core.$loose>;
63
- declare const shortcutCreateIteration: import("@keystrokehq/action").WorkflowActionDefinition<{
64
- name: string;
65
- end_date: string;
66
- start_date: string;
67
- labels?: {
68
- [x: string]: unknown;
69
- name: string;
70
- color?: string | undefined;
71
- description?: string | undefined;
72
- external_id?: string | undefined;
73
- }[] | undefined;
74
- group_ids?: string[] | undefined;
75
- description?: string | undefined;
76
- follower_ids?: string[] | undefined;
77
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
65
+ declare const shortcutCreateIteration: AppAction<typeof ShortcutCreateIterationInput, typeof ShortcutCreateIterationOutput, typeof shortcut.credential>;
78
66
  //#endregion
79
67
  export { shortcutCreateIteration };
80
68
  //# sourceMappingURL=create-iteration.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-iteration.d.cts","names":[],"sources":["../../src/actions/create-iteration.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAkC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4B7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"create-iteration.d.cts","names":[],"sources":["../../src/actions/create-iteration.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAkC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4B7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shortcut } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-iteration.d.ts
@@ -60,21 +62,7 @@ declare const ShortcutCreateIterationOutput: z.ZodObject<{
60
62
  started_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
63
  completed_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
64
  }, z.core.$loose>;
63
- declare const shortcutCreateIteration: import("@keystrokehq/action").WorkflowActionDefinition<{
64
- name: string;
65
- end_date: string;
66
- start_date: string;
67
- labels?: {
68
- [x: string]: unknown;
69
- name: string;
70
- color?: string | undefined;
71
- description?: string | undefined;
72
- external_id?: string | undefined;
73
- }[] | undefined;
74
- group_ids?: string[] | undefined;
75
- description?: string | undefined;
76
- follower_ids?: string[] | undefined;
77
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
65
+ declare const shortcutCreateIteration: AppAction<typeof ShortcutCreateIterationInput, typeof ShortcutCreateIterationOutput, typeof shortcut.credential>;
78
66
  //#endregion
79
67
  export { shortcutCreateIteration };
80
68
  //# sourceMappingURL=create-iteration.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-iteration.d.mts","names":[],"sources":["../../src/actions/create-iteration.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAkC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4B7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"create-iteration.d.mts","names":[],"sources":["../../src/actions/create-iteration.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAkC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4B7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-iteration.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-iteration.mjs","names":[],"sources":["../../src/actions/create-iteration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateIterationInput = z.object({\n name: z.string().describe(\"The name of this Iteration.\"),\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 Iteration.\").optional(),\n end_date: z.string().describe(\"The date this Iteration ends, e.g. 2019-07-01.\"),\n group_ids: z.array(z.string()).describe(\"An array of UUIDs for any Groups you want to add as Followers. Currently, only one Group association is presented in our web UI.\").optional(),\n start_date: z.string().describe(\"The date this Iteration begins, e.g. 2019-07-01.\"),\n description: z.string().describe(\"The description of the Iteration.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members you want to add as Followers.\").optional(),\n}).describe(\"Request schema for `CreateIteration`\");\nconst ShortcutCreateIteration_IterationStatsSchema = z.object({\n num_points: z.number().int().describe(\"The total number of story points in this iteration.\").nullable(),\n num_points_done: z.number().int().describe(\"The number of story points completed in this iteration.\").nullable(),\n num_stories_done: z.number().int().describe(\"The number of stories completed in this iteration.\").nullable(),\n average_lead_time: z.number().int().describe(\"The average lead time (in seconds) for stories in this iteration.\").nullable().optional(),\n average_cycle_time: z.number().int().describe(\"The average cycle time (in seconds) for stories in this iteration.\").nullable().optional(),\n num_points_backlog: z.number().int().describe(\"The number of story points in the backlog for this iteration.\").nullable().optional(),\n num_points_started: z.number().int().describe(\"The number of story points started in this iteration.\").nullable(),\n num_stories_backlog: z.number().int().describe(\"The number of stories in the backlog for this iteration.\").nullable().optional(),\n num_stories_started: z.number().int().describe(\"The number of stories started in this iteration.\").nullable(),\n num_points_unstarted: z.number().int().describe(\"The number of story points not yet started in this iteration.\").nullable(),\n num_related_documents: z.number().int().describe(\"The number of documents related to this iteration.\").nullable().optional(),\n num_stories_unstarted: z.number().int().describe(\"The number of stories not yet started in this iteration.\").nullable(),\n num_stories_unestimated: z.number().int().describe(\"The number of stories without point estimates in this iteration.\").nullable(),\n}).passthrough().describe(\"Statistics about the stories in an iteration.\");\nconst ShortcutCreateIteration_LabelSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the label.\").nullable().optional(),\n name: z.string().describe(\"The name of the label.\").nullable().optional(),\n external_id: z.string().describe(\"A custom external ID for integrating with external systems.\").nullable().optional(),\n}).passthrough().describe(\"Label object associated with an iteration.\");\nexport const ShortcutCreateIterationOutput = z.object({\n id: z.number().int().describe(\"The unique identifier for the iteration.\").nullable(),\n name: z.string().describe(\"The name of the iteration.\").nullable(),\n stats: ShortcutCreateIteration_IterationStatsSchema.nullable(),\n labels: z.array(ShortcutCreateIteration_LabelSchema).describe(\"An array of label objects associated with this iteration.\"),\n status: z.string().describe(\"The status of the iteration. Can be 'unstarted', 'started', or 'done'. Updates automatically based on start and end dates.\").nullable(),\n app_url: z.string().describe(\"The URL to access this iteration in the Shortcut web application.\").nullable(),\n started: z.boolean().describe(\"Indicates whether the iteration has been started.\").nullable().optional(),\n end_date: z.string().describe(\"The end date of the iteration in YYYY-MM-DD format.\").nullable(),\n completed: z.boolean().describe(\"Indicates whether the iteration has been completed.\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"An array of UUIDs for groups (teams) associated with this iteration.\"),\n label_ids: z.array(z.number().int()).describe(\"An array of label IDs associated with this iteration.\"),\n created_at: z.string().describe(\"The timestamp when this iteration was created in ISO 8601 format.\").nullable(),\n start_date: z.string().describe(\"The start date of the iteration in YYYY-MM-DD format.\").nullable(),\n started_at: z.string().describe(\"The timestamp when this iteration was started in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when this iteration was last updated in ISO 8601 format.\").nullable(),\n description: z.string().describe(\"The description of the iteration displayed at the top of the Iteration Detail Page.\").nullable().optional(),\n entity_type: z.string().describe(\"A string description of this resource, always 'iteration'.\").nullable(),\n external_id: z.string().describe(\"A custom external ID for integrating with external systems.\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"An array of member IDs mentioned in the iteration.\"),\n completed_at: z.string().describe(\"The timestamp when this iteration was completed in ISO 8601 format.\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for members who are following this iteration.\"),\n group_mention_ids: z.array(z.string()).describe(\"An array of group UUIDs mentioned in the iteration description.\"),\n member_mention_ids: z.array(z.string()).describe(\"An array of member UUIDs mentioned in the iteration description.\"),\n started_at_override: z.string().describe(\"A manual override for the started_at timestamp in ISO 8601 format.\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the completed_at timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateIteration`\");\n\nexport const shortcutCreateIteration = action(\"SHORTCUT_CREATE_ITERATION\", {\n slug: \"shortcut-create-iteration\",\n name: \"Create iteration\",\n description: \"The CreateIteration endpoint allows you to create a new Iteration in Shortcut, which represents a time-boxed period for completing a set of stories or tasks. This endpoint is crucial for teams using Agile methodologies, enabling them to plan and track progress over specific time periods. Use this endpoint when setting up sprint cycles, planning releases, or organizing work into manageable timeframes. The endpoint requires essential information such as the Iteration's name and date range, while also offering options to add followers, associate groups, and attach labels for better organization and tracking. It's important to note that while multiple groups can be added via the API, the current web UI only displays one Group association. This endpoint should not be used for modifying existing Iterations; instead, use the dedicated update endpoint for such changes.\",\n input: ShortcutCreateIterationInput,\n output: ShortcutCreateIterationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQ,EAAE,MAAM,E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AS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE;EAC5G,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE;EACjH,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACnH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-iteration.mjs","names":[],"sources":["../../src/actions/create-iteration.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortcut } from \"../app\";\n\nexport const ShortcutCreateIterationInput = z.object({\n name: z.string().describe(\"The name of this Iteration.\"),\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 Iteration.\").optional(),\n end_date: z.string().describe(\"The date this Iteration ends, e.g. 2019-07-01.\"),\n group_ids: z.array(z.string()).describe(\"An array of UUIDs for any Groups you want to add as Followers. Currently, only one Group association is presented in our web UI.\").optional(),\n start_date: z.string().describe(\"The date this Iteration begins, e.g. 2019-07-01.\"),\n description: z.string().describe(\"The description of the Iteration.\").optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for any Members you want to add as Followers.\").optional(),\n}).describe(\"Request schema for `CreateIteration`\");\nconst ShortcutCreateIteration_IterationStatsSchema = z.object({\n num_points: z.number().int().describe(\"The total number of story points in this iteration.\").nullable(),\n num_points_done: z.number().int().describe(\"The number of story points completed in this iteration.\").nullable(),\n num_stories_done: z.number().int().describe(\"The number of stories completed in this iteration.\").nullable(),\n average_lead_time: z.number().int().describe(\"The average lead time (in seconds) for stories in this iteration.\").nullable().optional(),\n average_cycle_time: z.number().int().describe(\"The average cycle time (in seconds) for stories in this iteration.\").nullable().optional(),\n num_points_backlog: z.number().int().describe(\"The number of story points in the backlog for this iteration.\").nullable().optional(),\n num_points_started: z.number().int().describe(\"The number of story points started in this iteration.\").nullable(),\n num_stories_backlog: z.number().int().describe(\"The number of stories in the backlog for this iteration.\").nullable().optional(),\n num_stories_started: z.number().int().describe(\"The number of stories started in this iteration.\").nullable(),\n num_points_unstarted: z.number().int().describe(\"The number of story points not yet started in this iteration.\").nullable(),\n num_related_documents: z.number().int().describe(\"The number of documents related to this iteration.\").nullable().optional(),\n num_stories_unstarted: z.number().int().describe(\"The number of stories not yet started in this iteration.\").nullable(),\n num_stories_unestimated: z.number().int().describe(\"The number of stories without point estimates in this iteration.\").nullable(),\n}).passthrough().describe(\"Statistics about the stories in an iteration.\");\nconst ShortcutCreateIteration_LabelSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the label.\").nullable().optional(),\n name: z.string().describe(\"The name of the label.\").nullable().optional(),\n external_id: z.string().describe(\"A custom external ID for integrating with external systems.\").nullable().optional(),\n}).passthrough().describe(\"Label object associated with an iteration.\");\nexport const ShortcutCreateIterationOutput = z.object({\n id: z.number().int().describe(\"The unique identifier for the iteration.\").nullable(),\n name: z.string().describe(\"The name of the iteration.\").nullable(),\n stats: ShortcutCreateIteration_IterationStatsSchema.nullable(),\n labels: z.array(ShortcutCreateIteration_LabelSchema).describe(\"An array of label objects associated with this iteration.\"),\n status: z.string().describe(\"The status of the iteration. Can be 'unstarted', 'started', or 'done'. Updates automatically based on start and end dates.\").nullable(),\n app_url: z.string().describe(\"The URL to access this iteration in the Shortcut web application.\").nullable(),\n started: z.boolean().describe(\"Indicates whether the iteration has been started.\").nullable().optional(),\n end_date: z.string().describe(\"The end date of the iteration in YYYY-MM-DD format.\").nullable(),\n completed: z.boolean().describe(\"Indicates whether the iteration has been completed.\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"An array of UUIDs for groups (teams) associated with this iteration.\"),\n label_ids: z.array(z.number().int()).describe(\"An array of label IDs associated with this iteration.\"),\n created_at: z.string().describe(\"The timestamp when this iteration was created in ISO 8601 format.\").nullable(),\n start_date: z.string().describe(\"The start date of the iteration in YYYY-MM-DD format.\").nullable(),\n started_at: z.string().describe(\"The timestamp when this iteration was started in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when this iteration was last updated in ISO 8601 format.\").nullable(),\n description: z.string().describe(\"The description of the iteration displayed at the top of the Iteration Detail Page.\").nullable().optional(),\n entity_type: z.string().describe(\"A string description of this resource, always 'iteration'.\").nullable(),\n external_id: z.string().describe(\"A custom external ID for integrating with external systems.\").nullable().optional(),\n mention_ids: z.array(z.string()).describe(\"An array of member IDs mentioned in the iteration.\"),\n completed_at: z.string().describe(\"The timestamp when this iteration was completed in ISO 8601 format.\").nullable().optional(),\n follower_ids: z.array(z.string()).describe(\"An array of UUIDs for members who are following this iteration.\"),\n group_mention_ids: z.array(z.string()).describe(\"An array of group UUIDs mentioned in the iteration description.\"),\n member_mention_ids: z.array(z.string()).describe(\"An array of member UUIDs mentioned in the iteration description.\"),\n started_at_override: z.string().describe(\"A manual override for the started_at timestamp in ISO 8601 format.\").nullable().optional(),\n completed_at_override: z.string().describe(\"A manual override for the completed_at timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateIteration`\");\n\nexport const shortcutCreateIteration: AppAction<\n typeof ShortcutCreateIterationInput,\n typeof ShortcutCreateIterationOutput,\n typeof shortcut.credential\n> = action(\"SHORTCUT_CREATE_ITERATION\", {\n slug: \"shortcut-create-iteration\",\n name: \"Create iteration\",\n description: \"The CreateIteration endpoint allows you to create a new Iteration in Shortcut, which represents a time-boxed period for completing a set of stories or tasks. This endpoint is crucial for teams using Agile methodologies, enabling them to plan and track progress over specific time periods. Use this endpoint when setting up sprint cycles, planning releases, or organizing work into manageable timeframes. The endpoint requires essential information such as the Iteration's name and date range, while also offering options to add followers, associate groups, and attach labels for better organization and tracking. It's important to note that while multiple groups can be added via the API, the current web UI only displays one Group association. This endpoint should not be used for modifying existing Iterations; instead, use the dedicated update endpoint for such changes.\",\n input: ShortcutCreateIterationInput,\n output: ShortcutCreateIterationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,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