@keystrokehq/shortcut 0.1.2 → 0.1.4

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 (647) hide show
  1. package/dist/actions/create-category.cjs +1 -1
  2. package/dist/actions/create-category.cjs.map +1 -1
  3. package/dist/actions/create-category.d.cts +1 -1
  4. package/dist/actions/create-category.d.mts +1 -1
  5. package/dist/actions/create-category.mjs +1 -1
  6. package/dist/actions/create-category.mjs.map +1 -1
  7. package/dist/actions/create-doc.cjs +1 -1
  8. package/dist/actions/create-doc.cjs.map +1 -1
  9. package/dist/actions/create-doc.d.cts +1 -1
  10. package/dist/actions/create-doc.d.mts +1 -1
  11. package/dist/actions/create-doc.mjs +1 -1
  12. package/dist/actions/create-doc.mjs.map +1 -1
  13. package/dist/actions/create-entity-template.cjs +12 -12
  14. package/dist/actions/create-entity-template.cjs.map +1 -1
  15. package/dist/actions/create-entity-template.d.cts +15 -12
  16. package/dist/actions/create-entity-template.d.mts +15 -12
  17. package/dist/actions/create-entity-template.mjs +12 -12
  18. package/dist/actions/create-entity-template.mjs.map +1 -1
  19. package/dist/actions/create-epic-comment-comment.cjs +1 -1
  20. package/dist/actions/create-epic-comment-comment.cjs.map +1 -1
  21. package/dist/actions/create-epic-comment-comment.d.cts +1 -1
  22. package/dist/actions/create-epic-comment-comment.d.mts +1 -1
  23. package/dist/actions/create-epic-comment-comment.mjs +1 -1
  24. package/dist/actions/create-epic-comment-comment.mjs.map +1 -1
  25. package/dist/actions/create-epic-comment.cjs +1 -1
  26. package/dist/actions/create-epic-comment.cjs.map +1 -1
  27. package/dist/actions/create-epic-comment.d.cts +1 -1
  28. package/dist/actions/create-epic-comment.d.mts +1 -1
  29. package/dist/actions/create-epic-comment.mjs +1 -1
  30. package/dist/actions/create-epic-comment.mjs.map +1 -1
  31. package/dist/actions/create-epic-health.cjs +1 -1
  32. package/dist/actions/create-epic-health.cjs.map +1 -1
  33. package/dist/actions/create-epic-health.d.cts +1 -1
  34. package/dist/actions/create-epic-health.d.mts +1 -1
  35. package/dist/actions/create-epic-health.mjs +1 -1
  36. package/dist/actions/create-epic-health.mjs.map +1 -1
  37. package/dist/actions/create-epic.cjs +7 -7
  38. package/dist/actions/create-epic.cjs.map +1 -1
  39. package/dist/actions/create-epic.d.cts +8 -7
  40. package/dist/actions/create-epic.d.mts +8 -7
  41. package/dist/actions/create-epic.mjs +7 -7
  42. package/dist/actions/create-epic.mjs.map +1 -1
  43. package/dist/actions/create-generic-integration.cjs +1 -1
  44. package/dist/actions/create-generic-integration.cjs.map +1 -1
  45. package/dist/actions/create-generic-integration.d.cts +1 -1
  46. package/dist/actions/create-generic-integration.d.mts +1 -1
  47. package/dist/actions/create-generic-integration.mjs +1 -1
  48. package/dist/actions/create-generic-integration.mjs.map +1 -1
  49. package/dist/actions/create-group.cjs +2 -2
  50. package/dist/actions/create-group.cjs.map +1 -1
  51. package/dist/actions/create-group.d.cts +2 -2
  52. package/dist/actions/create-group.d.mts +2 -2
  53. package/dist/actions/create-group.mjs +2 -2
  54. package/dist/actions/create-group.mjs.map +1 -1
  55. package/dist/actions/create-iteration.cjs +4 -4
  56. package/dist/actions/create-iteration.cjs.map +1 -1
  57. package/dist/actions/create-iteration.d.cts +5 -4
  58. package/dist/actions/create-iteration.d.mts +5 -4
  59. package/dist/actions/create-iteration.mjs +4 -4
  60. package/dist/actions/create-iteration.mjs.map +1 -1
  61. package/dist/actions/create-label.cjs +2 -2
  62. package/dist/actions/create-label.cjs.map +1 -1
  63. package/dist/actions/create-label.d.cts +2 -2
  64. package/dist/actions/create-label.d.mts +2 -2
  65. package/dist/actions/create-label.mjs +2 -2
  66. package/dist/actions/create-label.mjs.map +1 -1
  67. package/dist/actions/create-linked-file.cjs +1 -1
  68. package/dist/actions/create-linked-file.cjs.map +1 -1
  69. package/dist/actions/create-linked-file.d.cts +1 -1
  70. package/dist/actions/create-linked-file.d.mts +1 -1
  71. package/dist/actions/create-linked-file.mjs +1 -1
  72. package/dist/actions/create-linked-file.mjs.map +1 -1
  73. package/dist/actions/create-multiple-stories.cjs +7 -7
  74. package/dist/actions/create-multiple-stories.cjs.map +1 -1
  75. package/dist/actions/create-multiple-stories.d.cts +14 -7
  76. package/dist/actions/create-multiple-stories.d.mts +14 -7
  77. package/dist/actions/create-multiple-stories.mjs +7 -7
  78. package/dist/actions/create-multiple-stories.mjs.map +1 -1
  79. package/dist/actions/create-objective.cjs +6 -6
  80. package/dist/actions/create-objective.cjs.map +1 -1
  81. package/dist/actions/create-objective.d.cts +7 -6
  82. package/dist/actions/create-objective.d.mts +7 -6
  83. package/dist/actions/create-objective.mjs +6 -6
  84. package/dist/actions/create-objective.mjs.map +1 -1
  85. package/dist/actions/create-project.cjs +1 -1
  86. package/dist/actions/create-project.cjs.map +1 -1
  87. package/dist/actions/create-project.d.cts +1 -1
  88. package/dist/actions/create-project.d.mts +1 -1
  89. package/dist/actions/create-project.mjs +1 -1
  90. package/dist/actions/create-project.mjs.map +1 -1
  91. package/dist/actions/create-story-comment.cjs +1 -1
  92. package/dist/actions/create-story-comment.cjs.map +1 -1
  93. package/dist/actions/create-story-comment.d.cts +1 -1
  94. package/dist/actions/create-story-comment.d.mts +1 -1
  95. package/dist/actions/create-story-comment.mjs +1 -1
  96. package/dist/actions/create-story-comment.mjs.map +1 -1
  97. package/dist/actions/create-story-from-template.cjs +23 -23
  98. package/dist/actions/create-story-from-template.cjs.map +1 -1
  99. package/dist/actions/create-story-from-template.d.cts +33 -23
  100. package/dist/actions/create-story-from-template.d.mts +33 -23
  101. package/dist/actions/create-story-from-template.mjs +23 -23
  102. package/dist/actions/create-story-from-template.mjs.map +1 -1
  103. package/dist/actions/create-story-link.cjs +1 -1
  104. package/dist/actions/create-story-link.cjs.map +1 -1
  105. package/dist/actions/create-story-link.d.cts +1 -1
  106. package/dist/actions/create-story-link.d.mts +1 -1
  107. package/dist/actions/create-story-link.mjs +1 -1
  108. package/dist/actions/create-story-link.mjs.map +1 -1
  109. package/dist/actions/create-story.cjs +6 -6
  110. package/dist/actions/create-story.cjs.map +1 -1
  111. package/dist/actions/create-story.d.cts +12 -6
  112. package/dist/actions/create-story.d.mts +12 -6
  113. package/dist/actions/create-story.mjs +6 -6
  114. package/dist/actions/create-story.mjs.map +1 -1
  115. package/dist/actions/create-task.cjs +13 -13
  116. package/dist/actions/create-task.cjs.map +1 -1
  117. package/dist/actions/create-task.d.cts +13 -13
  118. package/dist/actions/create-task.d.mts +13 -13
  119. package/dist/actions/create-task.mjs +13 -13
  120. package/dist/actions/create-task.mjs.map +1 -1
  121. package/dist/actions/delete-category.cjs +1 -1
  122. package/dist/actions/delete-category.cjs.map +1 -1
  123. package/dist/actions/delete-category.d.cts +1 -1
  124. package/dist/actions/delete-category.d.cts.map +1 -1
  125. package/dist/actions/delete-category.d.mts +1 -1
  126. package/dist/actions/delete-category.d.mts.map +1 -1
  127. package/dist/actions/delete-category.mjs +1 -1
  128. package/dist/actions/delete-category.mjs.map +1 -1
  129. package/dist/actions/delete-custom-field.cjs +1 -1
  130. package/dist/actions/delete-custom-field.cjs.map +1 -1
  131. package/dist/actions/delete-custom-field.d.cts +1 -1
  132. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  133. package/dist/actions/delete-custom-field.d.mts +1 -1
  134. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  135. package/dist/actions/delete-custom-field.mjs +1 -1
  136. package/dist/actions/delete-custom-field.mjs.map +1 -1
  137. package/dist/actions/delete-entity-template.cjs +1 -1
  138. package/dist/actions/delete-entity-template.cjs.map +1 -1
  139. package/dist/actions/delete-entity-template.d.cts +1 -1
  140. package/dist/actions/delete-entity-template.d.cts.map +1 -1
  141. package/dist/actions/delete-entity-template.d.mts +1 -1
  142. package/dist/actions/delete-entity-template.d.mts.map +1 -1
  143. package/dist/actions/delete-entity-template.mjs +1 -1
  144. package/dist/actions/delete-entity-template.mjs.map +1 -1
  145. package/dist/actions/delete-epic-comment.cjs +1 -1
  146. package/dist/actions/delete-epic-comment.cjs.map +1 -1
  147. package/dist/actions/delete-epic-comment.d.cts +1 -1
  148. package/dist/actions/delete-epic-comment.d.cts.map +1 -1
  149. package/dist/actions/delete-epic-comment.d.mts +1 -1
  150. package/dist/actions/delete-epic-comment.d.mts.map +1 -1
  151. package/dist/actions/delete-epic-comment.mjs +1 -1
  152. package/dist/actions/delete-epic-comment.mjs.map +1 -1
  153. package/dist/actions/delete-file.cjs +1 -1
  154. package/dist/actions/delete-file.cjs.map +1 -1
  155. package/dist/actions/delete-file.d.cts +1 -1
  156. package/dist/actions/delete-file.d.cts.map +1 -1
  157. package/dist/actions/delete-file.d.mts +1 -1
  158. package/dist/actions/delete-file.d.mts.map +1 -1
  159. package/dist/actions/delete-file.mjs +1 -1
  160. package/dist/actions/delete-file.mjs.map +1 -1
  161. package/dist/actions/delete-generic-integration.cjs +1 -1
  162. package/dist/actions/delete-generic-integration.cjs.map +1 -1
  163. package/dist/actions/delete-generic-integration.d.cts +1 -1
  164. package/dist/actions/delete-generic-integration.d.cts.map +1 -1
  165. package/dist/actions/delete-generic-integration.d.mts +1 -1
  166. package/dist/actions/delete-generic-integration.d.mts.map +1 -1
  167. package/dist/actions/delete-generic-integration.mjs +1 -1
  168. package/dist/actions/delete-generic-integration.mjs.map +1 -1
  169. package/dist/actions/delete-iteration.cjs +1 -1
  170. package/dist/actions/delete-iteration.cjs.map +1 -1
  171. package/dist/actions/delete-iteration.d.cts +1 -1
  172. package/dist/actions/delete-iteration.d.cts.map +1 -1
  173. package/dist/actions/delete-iteration.d.mts +1 -1
  174. package/dist/actions/delete-iteration.d.mts.map +1 -1
  175. package/dist/actions/delete-iteration.mjs +1 -1
  176. package/dist/actions/delete-iteration.mjs.map +1 -1
  177. package/dist/actions/delete-label.cjs +1 -1
  178. package/dist/actions/delete-label.cjs.map +1 -1
  179. package/dist/actions/delete-label.d.cts +1 -1
  180. package/dist/actions/delete-label.d.cts.map +1 -1
  181. package/dist/actions/delete-label.d.mts +1 -1
  182. package/dist/actions/delete-label.d.mts.map +1 -1
  183. package/dist/actions/delete-label.mjs +1 -1
  184. package/dist/actions/delete-label.mjs.map +1 -1
  185. package/dist/actions/delete-linked-file.cjs +1 -1
  186. package/dist/actions/delete-linked-file.cjs.map +1 -1
  187. package/dist/actions/delete-linked-file.d.cts +1 -1
  188. package/dist/actions/delete-linked-file.d.cts.map +1 -1
  189. package/dist/actions/delete-linked-file.d.mts +1 -1
  190. package/dist/actions/delete-linked-file.d.mts.map +1 -1
  191. package/dist/actions/delete-linked-file.mjs +1 -1
  192. package/dist/actions/delete-linked-file.mjs.map +1 -1
  193. package/dist/actions/delete-multiple-stories.cjs +1 -1
  194. package/dist/actions/delete-multiple-stories.cjs.map +1 -1
  195. package/dist/actions/delete-multiple-stories.d.cts +1 -1
  196. package/dist/actions/delete-multiple-stories.d.cts.map +1 -1
  197. package/dist/actions/delete-multiple-stories.d.mts +1 -1
  198. package/dist/actions/delete-multiple-stories.d.mts.map +1 -1
  199. package/dist/actions/delete-multiple-stories.mjs +1 -1
  200. package/dist/actions/delete-multiple-stories.mjs.map +1 -1
  201. package/dist/actions/delete-objective.cjs +1 -1
  202. package/dist/actions/delete-objective.cjs.map +1 -1
  203. package/dist/actions/delete-objective.d.cts +1 -1
  204. package/dist/actions/delete-objective.d.cts.map +1 -1
  205. package/dist/actions/delete-objective.d.mts +1 -1
  206. package/dist/actions/delete-objective.d.mts.map +1 -1
  207. package/dist/actions/delete-objective.mjs +1 -1
  208. package/dist/actions/delete-objective.mjs.map +1 -1
  209. package/dist/actions/delete-project.cjs +1 -1
  210. package/dist/actions/delete-project.cjs.map +1 -1
  211. package/dist/actions/delete-project.d.cts +1 -1
  212. package/dist/actions/delete-project.d.cts.map +1 -1
  213. package/dist/actions/delete-project.d.mts +1 -1
  214. package/dist/actions/delete-project.d.mts.map +1 -1
  215. package/dist/actions/delete-project.mjs +1 -1
  216. package/dist/actions/delete-project.mjs.map +1 -1
  217. package/dist/actions/delete-story-comment.cjs +1 -1
  218. package/dist/actions/delete-story-comment.cjs.map +1 -1
  219. package/dist/actions/delete-story-comment.d.cts +1 -1
  220. package/dist/actions/delete-story-comment.d.cts.map +1 -1
  221. package/dist/actions/delete-story-comment.d.mts +1 -1
  222. package/dist/actions/delete-story-comment.d.mts.map +1 -1
  223. package/dist/actions/delete-story-comment.mjs +1 -1
  224. package/dist/actions/delete-story-comment.mjs.map +1 -1
  225. package/dist/actions/delete-story-link.cjs +1 -1
  226. package/dist/actions/delete-story-link.cjs.map +1 -1
  227. package/dist/actions/delete-story-link.d.cts +1 -1
  228. package/dist/actions/delete-story-link.d.cts.map +1 -1
  229. package/dist/actions/delete-story-link.d.mts +1 -1
  230. package/dist/actions/delete-story-link.d.mts.map +1 -1
  231. package/dist/actions/delete-story-link.mjs +1 -1
  232. package/dist/actions/delete-story-link.mjs.map +1 -1
  233. package/dist/actions/delete-story-reaction.cjs +1 -1
  234. package/dist/actions/delete-story-reaction.cjs.map +1 -1
  235. package/dist/actions/delete-story-reaction.d.cts +1 -1
  236. package/dist/actions/delete-story-reaction.d.cts.map +1 -1
  237. package/dist/actions/delete-story-reaction.d.mts +1 -1
  238. package/dist/actions/delete-story-reaction.d.mts.map +1 -1
  239. package/dist/actions/delete-story-reaction.mjs +1 -1
  240. package/dist/actions/delete-story-reaction.mjs.map +1 -1
  241. package/dist/actions/delete-story.cjs +1 -1
  242. package/dist/actions/delete-story.cjs.map +1 -1
  243. package/dist/actions/delete-story.d.cts +1 -1
  244. package/dist/actions/delete-story.d.cts.map +1 -1
  245. package/dist/actions/delete-story.d.mts +1 -1
  246. package/dist/actions/delete-story.d.mts.map +1 -1
  247. package/dist/actions/delete-story.mjs +1 -1
  248. package/dist/actions/delete-story.mjs.map +1 -1
  249. package/dist/actions/delete-task.cjs +1 -1
  250. package/dist/actions/delete-task.cjs.map +1 -1
  251. package/dist/actions/delete-task.d.cts +1 -1
  252. package/dist/actions/delete-task.d.cts.map +1 -1
  253. package/dist/actions/delete-task.d.mts +1 -1
  254. package/dist/actions/delete-task.d.mts.map +1 -1
  255. package/dist/actions/delete-task.mjs +1 -1
  256. package/dist/actions/delete-task.mjs.map +1 -1
  257. package/dist/actions/disable-iterations.cjs +1 -1
  258. package/dist/actions/disable-iterations.cjs.map +1 -1
  259. package/dist/actions/disable-iterations.d.cts +1 -1
  260. package/dist/actions/disable-iterations.d.cts.map +1 -1
  261. package/dist/actions/disable-iterations.d.mts +1 -1
  262. package/dist/actions/disable-iterations.d.mts.map +1 -1
  263. package/dist/actions/disable-iterations.mjs +1 -1
  264. package/dist/actions/disable-iterations.mjs.map +1 -1
  265. package/dist/actions/disable-story-templates.cjs +1 -1
  266. package/dist/actions/disable-story-templates.cjs.map +1 -1
  267. package/dist/actions/disable-story-templates.d.cts +1 -1
  268. package/dist/actions/disable-story-templates.d.cts.map +1 -1
  269. package/dist/actions/disable-story-templates.d.mts +1 -1
  270. package/dist/actions/disable-story-templates.d.mts.map +1 -1
  271. package/dist/actions/disable-story-templates.mjs +1 -1
  272. package/dist/actions/disable-story-templates.mjs.map +1 -1
  273. package/dist/actions/enable-iterations.cjs +1 -1
  274. package/dist/actions/enable-iterations.cjs.map +1 -1
  275. package/dist/actions/enable-iterations.d.cts +1 -1
  276. package/dist/actions/enable-iterations.d.cts.map +1 -1
  277. package/dist/actions/enable-iterations.d.mts +1 -1
  278. package/dist/actions/enable-iterations.d.mts.map +1 -1
  279. package/dist/actions/enable-iterations.mjs +1 -1
  280. package/dist/actions/enable-iterations.mjs.map +1 -1
  281. package/dist/actions/enable-story-templates.cjs +1 -1
  282. package/dist/actions/enable-story-templates.cjs.map +1 -1
  283. package/dist/actions/enable-story-templates.d.cts +1 -1
  284. package/dist/actions/enable-story-templates.d.cts.map +1 -1
  285. package/dist/actions/enable-story-templates.d.mts +1 -1
  286. package/dist/actions/enable-story-templates.d.mts.map +1 -1
  287. package/dist/actions/enable-story-templates.mjs +1 -1
  288. package/dist/actions/enable-story-templates.mjs.map +1 -1
  289. package/dist/actions/get-category.cjs +1 -1
  290. package/dist/actions/get-category.cjs.map +1 -1
  291. package/dist/actions/get-category.d.cts +1 -1
  292. package/dist/actions/get-category.d.mts +1 -1
  293. package/dist/actions/get-category.mjs +1 -1
  294. package/dist/actions/get-category.mjs.map +1 -1
  295. package/dist/actions/get-current-member-info.cjs +3 -3
  296. package/dist/actions/get-current-member-info.cjs.map +1 -1
  297. package/dist/actions/get-current-member-info.d.cts +3 -3
  298. package/dist/actions/get-current-member-info.d.mts +3 -3
  299. package/dist/actions/get-current-member-info.mjs +3 -3
  300. package/dist/actions/get-current-member-info.mjs.map +1 -1
  301. package/dist/actions/get-custom-field.cjs +2 -2
  302. package/dist/actions/get-custom-field.cjs.map +1 -1
  303. package/dist/actions/get-custom-field.d.cts +2 -2
  304. package/dist/actions/get-custom-field.d.mts +2 -2
  305. package/dist/actions/get-custom-field.mjs +2 -2
  306. package/dist/actions/get-custom-field.mjs.map +1 -1
  307. package/dist/actions/get-doc.cjs +1 -1
  308. package/dist/actions/get-doc.cjs.map +1 -1
  309. package/dist/actions/get-doc.d.cts +1 -1
  310. package/dist/actions/get-doc.d.mts +1 -1
  311. package/dist/actions/get-doc.mjs +1 -1
  312. package/dist/actions/get-doc.mjs.map +1 -1
  313. package/dist/actions/get-entity-template.cjs +9 -9
  314. package/dist/actions/get-entity-template.cjs.map +1 -1
  315. package/dist/actions/get-entity-template.d.cts +9 -9
  316. package/dist/actions/get-entity-template.d.mts +9 -9
  317. package/dist/actions/get-entity-template.mjs +9 -9
  318. package/dist/actions/get-entity-template.mjs.map +1 -1
  319. package/dist/actions/get-epic-comment.cjs +1 -1
  320. package/dist/actions/get-epic-comment.cjs.map +1 -1
  321. package/dist/actions/get-epic-comment.d.cts +1 -1
  322. package/dist/actions/get-epic-comment.d.mts +1 -1
  323. package/dist/actions/get-epic-comment.mjs +1 -1
  324. package/dist/actions/get-epic-comment.mjs.map +1 -1
  325. package/dist/actions/get-epic-health.cjs +1 -1
  326. package/dist/actions/get-epic-health.cjs.map +1 -1
  327. package/dist/actions/get-epic-health.d.cts +1 -1
  328. package/dist/actions/get-epic-health.d.mts +1 -1
  329. package/dist/actions/get-epic-health.mjs +1 -1
  330. package/dist/actions/get-epic-health.mjs.map +1 -1
  331. package/dist/actions/get-epic-workflow.cjs +2 -2
  332. package/dist/actions/get-epic-workflow.cjs.map +1 -1
  333. package/dist/actions/get-epic-workflow.d.cts +2 -2
  334. package/dist/actions/get-epic-workflow.d.mts +2 -2
  335. package/dist/actions/get-epic-workflow.mjs +2 -2
  336. package/dist/actions/get-epic-workflow.mjs.map +1 -1
  337. package/dist/actions/get-epic.cjs +6 -6
  338. package/dist/actions/get-epic.cjs.map +1 -1
  339. package/dist/actions/get-epic.d.cts +6 -6
  340. package/dist/actions/get-epic.d.mts +6 -6
  341. package/dist/actions/get-epic.mjs +6 -6
  342. package/dist/actions/get-epic.mjs.map +1 -1
  343. package/dist/actions/get-file.cjs +1 -1
  344. package/dist/actions/get-file.cjs.map +1 -1
  345. package/dist/actions/get-file.d.cts +1 -1
  346. package/dist/actions/get-file.d.mts +1 -1
  347. package/dist/actions/get-file.mjs +1 -1
  348. package/dist/actions/get-file.mjs.map +1 -1
  349. package/dist/actions/get-generic-integration.cjs +1 -1
  350. package/dist/actions/get-generic-integration.cjs.map +1 -1
  351. package/dist/actions/get-generic-integration.d.cts +1 -1
  352. package/dist/actions/get-generic-integration.d.mts +1 -1
  353. package/dist/actions/get-generic-integration.mjs +1 -1
  354. package/dist/actions/get-generic-integration.mjs.map +1 -1
  355. package/dist/actions/get-group.cjs +2 -2
  356. package/dist/actions/get-group.cjs.map +1 -1
  357. package/dist/actions/get-group.d.cts +2 -2
  358. package/dist/actions/get-group.d.mts +2 -2
  359. package/dist/actions/get-group.mjs +2 -2
  360. package/dist/actions/get-group.mjs.map +1 -1
  361. package/dist/actions/get-iteration.cjs +3 -3
  362. package/dist/actions/get-iteration.cjs.map +1 -1
  363. package/dist/actions/get-iteration.d.cts +4 -4
  364. package/dist/actions/get-iteration.d.mts +4 -4
  365. package/dist/actions/get-iteration.mjs +3 -3
  366. package/dist/actions/get-iteration.mjs.map +1 -1
  367. package/dist/actions/get-key-result.cjs +2 -2
  368. package/dist/actions/get-key-result.cjs.map +1 -1
  369. package/dist/actions/get-key-result.d.cts +4 -4
  370. package/dist/actions/get-key-result.d.mts +4 -4
  371. package/dist/actions/get-key-result.mjs +2 -2
  372. package/dist/actions/get-key-result.mjs.map +1 -1
  373. package/dist/actions/get-label.cjs +2 -2
  374. package/dist/actions/get-label.cjs.map +1 -1
  375. package/dist/actions/get-label.d.cts +2 -2
  376. package/dist/actions/get-label.d.mts +2 -2
  377. package/dist/actions/get-label.mjs +2 -2
  378. package/dist/actions/get-label.mjs.map +1 -1
  379. package/dist/actions/get-linked-file.cjs +1 -1
  380. package/dist/actions/get-linked-file.cjs.map +1 -1
  381. package/dist/actions/get-linked-file.d.cts +1 -1
  382. package/dist/actions/get-linked-file.d.mts +1 -1
  383. package/dist/actions/get-linked-file.mjs +1 -1
  384. package/dist/actions/get-linked-file.mjs.map +1 -1
  385. package/dist/actions/get-member.cjs +3 -3
  386. package/dist/actions/get-member.cjs.map +1 -1
  387. package/dist/actions/get-member.d.cts +3 -3
  388. package/dist/actions/get-member.d.mts +3 -3
  389. package/dist/actions/get-member.mjs +3 -3
  390. package/dist/actions/get-member.mjs.map +1 -1
  391. package/dist/actions/get-objective.cjs +3 -3
  392. package/dist/actions/get-objective.cjs.map +1 -1
  393. package/dist/actions/get-objective.d.cts +3 -3
  394. package/dist/actions/get-objective.d.mts +3 -3
  395. package/dist/actions/get-objective.mjs +3 -3
  396. package/dist/actions/get-objective.mjs.map +1 -1
  397. package/dist/actions/get-project.cjs +2 -2
  398. package/dist/actions/get-project.cjs.map +1 -1
  399. package/dist/actions/get-project.d.cts +2 -2
  400. package/dist/actions/get-project.d.mts +2 -2
  401. package/dist/actions/get-project.mjs +2 -2
  402. package/dist/actions/get-project.mjs.map +1 -1
  403. package/dist/actions/get-story-comment.cjs +1 -1
  404. package/dist/actions/get-story-comment.cjs.map +1 -1
  405. package/dist/actions/get-story-comment.d.cts +1 -1
  406. package/dist/actions/get-story-comment.d.mts +1 -1
  407. package/dist/actions/get-story-comment.mjs +1 -1
  408. package/dist/actions/get-story-comment.mjs.map +1 -1
  409. package/dist/actions/get-story-link.cjs +1 -1
  410. package/dist/actions/get-story-link.cjs.map +1 -1
  411. package/dist/actions/get-story-link.d.cts +1 -1
  412. package/dist/actions/get-story-link.d.mts +1 -1
  413. package/dist/actions/get-story-link.mjs +1 -1
  414. package/dist/actions/get-story-link.mjs.map +1 -1
  415. package/dist/actions/get-story.cjs +4 -4
  416. package/dist/actions/get-story.cjs.map +1 -1
  417. package/dist/actions/get-story.d.cts +4 -4
  418. package/dist/actions/get-story.d.mts +4 -4
  419. package/dist/actions/get-story.mjs +4 -4
  420. package/dist/actions/get-story.mjs.map +1 -1
  421. package/dist/actions/get-task.cjs +1 -1
  422. package/dist/actions/get-task.cjs.map +1 -1
  423. package/dist/actions/get-task.d.cts +1 -1
  424. package/dist/actions/get-task.d.mts +1 -1
  425. package/dist/actions/get-task.mjs +1 -1
  426. package/dist/actions/get-task.mjs.map +1 -1
  427. package/dist/actions/get-workflow.cjs +2 -2
  428. package/dist/actions/get-workflow.cjs.map +1 -1
  429. package/dist/actions/get-workflow.d.cts +2 -2
  430. package/dist/actions/get-workflow.d.mts +2 -2
  431. package/dist/actions/get-workflow.mjs +2 -2
  432. package/dist/actions/get-workflow.mjs.map +1 -1
  433. package/dist/actions/list-epics-paginated.cjs +3 -3
  434. package/dist/actions/list-epics-paginated.cjs.map +1 -1
  435. package/dist/actions/list-epics-paginated.d.cts +3 -3
  436. package/dist/actions/list-epics-paginated.d.mts +3 -3
  437. package/dist/actions/list-epics-paginated.mjs +3 -3
  438. package/dist/actions/list-epics-paginated.mjs.map +1 -1
  439. package/dist/actions/list-stories.cjs +11 -11
  440. package/dist/actions/list-stories.cjs.map +1 -1
  441. package/dist/actions/list-stories.d.cts +11 -11
  442. package/dist/actions/list-stories.d.mts +11 -11
  443. package/dist/actions/list-stories.mjs +11 -11
  444. package/dist/actions/list-stories.mjs.map +1 -1
  445. package/dist/actions/search-documents.cjs +2 -2
  446. package/dist/actions/search-documents.cjs.map +1 -1
  447. package/dist/actions/search-documents.d.cts +2 -2
  448. package/dist/actions/search-documents.d.mts +2 -2
  449. package/dist/actions/search-documents.mjs +2 -2
  450. package/dist/actions/search-documents.mjs.map +1 -1
  451. package/dist/actions/search-epics.cjs +2 -2
  452. package/dist/actions/search-epics.cjs.map +1 -1
  453. package/dist/actions/search-epics.d.cts +4 -4
  454. package/dist/actions/search-epics.d.mts +4 -4
  455. package/dist/actions/search-epics.mjs +2 -2
  456. package/dist/actions/search-epics.mjs.map +1 -1
  457. package/dist/actions/search-iterations.cjs +2 -2
  458. package/dist/actions/search-iterations.cjs.map +1 -1
  459. package/dist/actions/search-iterations.d.cts +4 -4
  460. package/dist/actions/search-iterations.d.mts +4 -4
  461. package/dist/actions/search-iterations.mjs +2 -2
  462. package/dist/actions/search-iterations.mjs.map +1 -1
  463. package/dist/actions/search-milestones.cjs +4 -4
  464. package/dist/actions/search-milestones.cjs.map +1 -1
  465. package/dist/actions/search-milestones.d.cts +6 -6
  466. package/dist/actions/search-milestones.d.mts +6 -6
  467. package/dist/actions/search-milestones.mjs +4 -4
  468. package/dist/actions/search-milestones.mjs.map +1 -1
  469. package/dist/actions/search-objectives.cjs +4 -4
  470. package/dist/actions/search-objectives.cjs.map +1 -1
  471. package/dist/actions/search-objectives.d.cts +6 -6
  472. package/dist/actions/search-objectives.d.mts +6 -6
  473. package/dist/actions/search-objectives.mjs +4 -4
  474. package/dist/actions/search-objectives.mjs.map +1 -1
  475. package/dist/actions/search-stories-old.cjs +5 -5
  476. package/dist/actions/search-stories-old.cjs.map +1 -1
  477. package/dist/actions/search-stories-old.d.cts +8 -8
  478. package/dist/actions/search-stories-old.d.mts +8 -8
  479. package/dist/actions/search-stories-old.mjs +5 -5
  480. package/dist/actions/search-stories-old.mjs.map +1 -1
  481. package/dist/actions/search-stories.cjs +14 -14
  482. package/dist/actions/search-stories.cjs.map +1 -1
  483. package/dist/actions/search-stories.d.cts +16 -16
  484. package/dist/actions/search-stories.d.mts +16 -16
  485. package/dist/actions/search-stories.mjs +14 -14
  486. package/dist/actions/search-stories.mjs.map +1 -1
  487. package/dist/actions/search.cjs +2 -2
  488. package/dist/actions/search.cjs.map +1 -1
  489. package/dist/actions/search.d.cts +4 -4
  490. package/dist/actions/search.d.mts +4 -4
  491. package/dist/actions/search.mjs +2 -2
  492. package/dist/actions/search.mjs.map +1 -1
  493. package/dist/actions/story-history.cjs +3 -3
  494. package/dist/actions/story-history.cjs.map +1 -1
  495. package/dist/actions/story-history.d.cts +3 -3
  496. package/dist/actions/story-history.d.mts +3 -3
  497. package/dist/actions/story-history.mjs +3 -3
  498. package/dist/actions/story-history.mjs.map +1 -1
  499. package/dist/actions/unlink-comment-thread-from-slack.cjs +1 -1
  500. package/dist/actions/unlink-comment-thread-from-slack.cjs.map +1 -1
  501. package/dist/actions/unlink-comment-thread-from-slack.d.cts +1 -1
  502. package/dist/actions/unlink-comment-thread-from-slack.d.cts.map +1 -1
  503. package/dist/actions/unlink-comment-thread-from-slack.d.mts +1 -1
  504. package/dist/actions/unlink-comment-thread-from-slack.d.mts.map +1 -1
  505. package/dist/actions/unlink-comment-thread-from-slack.mjs +1 -1
  506. package/dist/actions/unlink-comment-thread-from-slack.mjs.map +1 -1
  507. package/dist/actions/unlink-document-from-epic.cjs +1 -1
  508. package/dist/actions/unlink-document-from-epic.cjs.map +1 -1
  509. package/dist/actions/unlink-document-from-epic.d.cts +1 -1
  510. package/dist/actions/unlink-document-from-epic.d.cts.map +1 -1
  511. package/dist/actions/unlink-document-from-epic.d.mts +1 -1
  512. package/dist/actions/unlink-document-from-epic.d.mts.map +1 -1
  513. package/dist/actions/unlink-document-from-epic.mjs +1 -1
  514. package/dist/actions/unlink-document-from-epic.mjs.map +1 -1
  515. package/dist/actions/unlink-productboard-from-epic.cjs +5 -5
  516. package/dist/actions/unlink-productboard-from-epic.cjs.map +1 -1
  517. package/dist/actions/unlink-productboard-from-epic.d.cts +5 -5
  518. package/dist/actions/unlink-productboard-from-epic.d.mts +5 -5
  519. package/dist/actions/unlink-productboard-from-epic.mjs +5 -5
  520. package/dist/actions/unlink-productboard-from-epic.mjs.map +1 -1
  521. package/dist/actions/update-category.cjs +1 -1
  522. package/dist/actions/update-category.cjs.map +1 -1
  523. package/dist/actions/update-category.d.cts +1 -1
  524. package/dist/actions/update-category.d.mts +1 -1
  525. package/dist/actions/update-category.mjs +1 -1
  526. package/dist/actions/update-category.mjs.map +1 -1
  527. package/dist/actions/update-custom-field.cjs +3 -3
  528. package/dist/actions/update-custom-field.cjs.map +1 -1
  529. package/dist/actions/update-custom-field.d.cts +4 -3
  530. package/dist/actions/update-custom-field.d.mts +4 -3
  531. package/dist/actions/update-custom-field.mjs +3 -3
  532. package/dist/actions/update-custom-field.mjs.map +1 -1
  533. package/dist/actions/update-doc.cjs +1 -1
  534. package/dist/actions/update-doc.cjs.map +1 -1
  535. package/dist/actions/update-doc.d.cts +1 -1
  536. package/dist/actions/update-doc.d.mts +1 -1
  537. package/dist/actions/update-doc.mjs +1 -1
  538. package/dist/actions/update-doc.mjs.map +1 -1
  539. package/dist/actions/update-entity-template.cjs +11 -11
  540. package/dist/actions/update-entity-template.cjs.map +1 -1
  541. package/dist/actions/update-entity-template.d.cts +14 -11
  542. package/dist/actions/update-entity-template.d.mts +14 -11
  543. package/dist/actions/update-entity-template.mjs +11 -11
  544. package/dist/actions/update-entity-template.mjs.map +1 -1
  545. package/dist/actions/update-epic-comment.cjs +1 -1
  546. package/dist/actions/update-epic-comment.cjs.map +1 -1
  547. package/dist/actions/update-epic-comment.d.cts +1 -1
  548. package/dist/actions/update-epic-comment.d.mts +1 -1
  549. package/dist/actions/update-epic-comment.mjs +1 -1
  550. package/dist/actions/update-epic-comment.mjs.map +1 -1
  551. package/dist/actions/update-epic.cjs +7 -7
  552. package/dist/actions/update-epic.cjs.map +1 -1
  553. package/dist/actions/update-epic.d.cts +8 -7
  554. package/dist/actions/update-epic.d.mts +8 -7
  555. package/dist/actions/update-epic.mjs +7 -7
  556. package/dist/actions/update-epic.mjs.map +1 -1
  557. package/dist/actions/update-file.cjs +1 -1
  558. package/dist/actions/update-file.cjs.map +1 -1
  559. package/dist/actions/update-file.d.cts +1 -1
  560. package/dist/actions/update-file.d.mts +1 -1
  561. package/dist/actions/update-file.mjs +1 -1
  562. package/dist/actions/update-file.mjs.map +1 -1
  563. package/dist/actions/update-group.cjs +2 -2
  564. package/dist/actions/update-group.cjs.map +1 -1
  565. package/dist/actions/update-group.d.cts +2 -2
  566. package/dist/actions/update-group.d.mts +2 -2
  567. package/dist/actions/update-group.mjs +2 -2
  568. package/dist/actions/update-group.mjs.map +1 -1
  569. package/dist/actions/update-health.cjs +1 -1
  570. package/dist/actions/update-health.cjs.map +1 -1
  571. package/dist/actions/update-health.d.cts +1 -1
  572. package/dist/actions/update-health.d.mts +1 -1
  573. package/dist/actions/update-health.mjs +1 -1
  574. package/dist/actions/update-health.mjs.map +1 -1
  575. package/dist/actions/update-iteration.cjs +6 -6
  576. package/dist/actions/update-iteration.cjs.map +1 -1
  577. package/dist/actions/update-iteration.d.cts +7 -6
  578. package/dist/actions/update-iteration.d.mts +7 -6
  579. package/dist/actions/update-iteration.mjs +6 -6
  580. package/dist/actions/update-iteration.mjs.map +1 -1
  581. package/dist/actions/update-key-result.cjs +2 -2
  582. package/dist/actions/update-key-result.cjs.map +1 -1
  583. package/dist/actions/update-key-result.d.cts +4 -4
  584. package/dist/actions/update-key-result.d.mts +4 -4
  585. package/dist/actions/update-key-result.mjs +2 -2
  586. package/dist/actions/update-key-result.mjs.map +1 -1
  587. package/dist/actions/update-label.cjs +2 -2
  588. package/dist/actions/update-label.cjs.map +1 -1
  589. package/dist/actions/update-label.d.cts +2 -2
  590. package/dist/actions/update-label.d.mts +2 -2
  591. package/dist/actions/update-label.mjs +2 -2
  592. package/dist/actions/update-label.mjs.map +1 -1
  593. package/dist/actions/update-linked-file.cjs +1 -1
  594. package/dist/actions/update-linked-file.cjs.map +1 -1
  595. package/dist/actions/update-linked-file.d.cts +1 -1
  596. package/dist/actions/update-linked-file.d.mts +1 -1
  597. package/dist/actions/update-linked-file.mjs +1 -1
  598. package/dist/actions/update-linked-file.mjs.map +1 -1
  599. package/dist/actions/update-multiple-stories.cjs +4 -4
  600. package/dist/actions/update-multiple-stories.cjs.map +1 -1
  601. package/dist/actions/update-multiple-stories.d.cts +8 -4
  602. package/dist/actions/update-multiple-stories.d.mts +8 -4
  603. package/dist/actions/update-multiple-stories.mjs +4 -4
  604. package/dist/actions/update-multiple-stories.mjs.map +1 -1
  605. package/dist/actions/update-objective.cjs +4 -4
  606. package/dist/actions/update-objective.cjs.map +1 -1
  607. package/dist/actions/update-objective.d.cts +5 -4
  608. package/dist/actions/update-objective.d.mts +5 -4
  609. package/dist/actions/update-objective.mjs +4 -4
  610. package/dist/actions/update-objective.mjs.map +1 -1
  611. package/dist/actions/update-project.cjs +2 -2
  612. package/dist/actions/update-project.cjs.map +1 -1
  613. package/dist/actions/update-project.d.cts +2 -2
  614. package/dist/actions/update-project.d.mts +2 -2
  615. package/dist/actions/update-project.mjs +2 -2
  616. package/dist/actions/update-project.mjs.map +1 -1
  617. package/dist/actions/update-story-comment.cjs +1 -1
  618. package/dist/actions/update-story-comment.cjs.map +1 -1
  619. package/dist/actions/update-story-comment.d.cts +1 -1
  620. package/dist/actions/update-story-comment.d.mts +1 -1
  621. package/dist/actions/update-story-comment.mjs +1 -1
  622. package/dist/actions/update-story-comment.mjs.map +1 -1
  623. package/dist/actions/update-story-link.cjs +1 -1
  624. package/dist/actions/update-story-link.cjs.map +1 -1
  625. package/dist/actions/update-story-link.d.cts +1 -1
  626. package/dist/actions/update-story-link.d.mts +1 -1
  627. package/dist/actions/update-story-link.mjs +1 -1
  628. package/dist/actions/update-story-link.mjs.map +1 -1
  629. package/dist/actions/update-story.cjs +5 -5
  630. package/dist/actions/update-story.cjs.map +1 -1
  631. package/dist/actions/update-story.d.cts +7 -5
  632. package/dist/actions/update-story.d.mts +7 -5
  633. package/dist/actions/update-story.mjs +5 -5
  634. package/dist/actions/update-story.mjs.map +1 -1
  635. package/dist/actions/update-task.cjs +2 -2
  636. package/dist/actions/update-task.cjs.map +1 -1
  637. package/dist/actions/update-task.d.cts +2 -2
  638. package/dist/actions/update-task.d.mts +2 -2
  639. package/dist/actions/update-task.mjs +2 -2
  640. package/dist/actions/update-task.mjs.map +1 -1
  641. package/dist/catalog.cjs +1 -1
  642. package/dist/catalog.cjs.map +1 -1
  643. package/dist/catalog.d.cts +1 -1
  644. package/dist/catalog.d.mts +1 -1
  645. package/dist/catalog.mjs +1 -1
  646. package/dist/catalog.mjs.map +1 -1
  647. package/package.json +1 -1
@@ -34,7 +34,7 @@ const ShortcutCreateGroup_DisplayIconSchema = z.object({
34
34
  created_at: z.string().describe("Timestamp when the icon was created, in ISO 8601 format.").nullable(),
35
35
  updated_at: z.string().describe("Timestamp when the icon was last updated, in ISO 8601 format.").nullable(),
36
36
  entity_type: z.string().describe("Entity type of the icon object.").nullable()
37
- }).describe("Display icon metadata for a group");
37
+ }).passthrough().describe("Display icon metadata for a group");
38
38
  const shortcutCreateGroup = action("SHORTCUT_CREATE_GROUP", {
39
39
  slug: "shortcut-create-group",
40
40
  name: "Create group",
@@ -60,7 +60,7 @@ const shortcutCreateGroup = action("SHORTCUT_CREATE_GROUP", {
60
60
  default_workflow_id: z.number().int().describe("Numeric identifier for the default workflow associated with the group.").nullable().optional(),
61
61
  num_stories_backlog: z.number().int().describe("Count of stories in the backlog for this group.").nullable(),
62
62
  num_stories_started: z.number().int().describe("Count of stories that this group has started.").nullable()
63
- }).describe("Response schema for `CreateGroup`")
63
+ }).passthrough().describe("Response schema for `CreateGroup`")
64
64
  });
65
65
  //#endregion
66
66
  export { shortcutCreateGroup };
@@ -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}).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}).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;EAAiB;EAAU;EAAgB;EAAS;EAAQ;EAA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IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
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,CAA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AAC,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,mCAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const ShortcutCreateIterationInput = zod.z.object({
8
8
  color: zod.z.string().describe("The hex color to be displayed with the Label (for example, \"#ff0000\").").optional(),
9
9
  description: zod.z.string().describe("The description of the new Label.").optional(),
10
10
  external_id: zod.z.string().describe("This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.").optional()
11
- }).describe("Request schema for `Labels`")).describe("An array of Labels attached to the Iteration.").optional(),
11
+ }).passthrough().describe("Request schema for `Labels`")).describe("An array of Labels attached to the Iteration.").optional(),
12
12
  end_date: zod.z.string().describe("The date this Iteration ends, e.g. 2019-07-01."),
13
13
  group_ids: zod.z.array(zod.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(),
14
14
  start_date: zod.z.string().describe("The date this Iteration begins, e.g. 2019-07-01."),
@@ -29,12 +29,12 @@ const ShortcutCreateIteration_IterationStatsSchema = zod.z.object({
29
29
  num_related_documents: zod.z.number().int().describe("The number of documents related to this iteration.").nullable().optional(),
30
30
  num_stories_unstarted: zod.z.number().int().describe("The number of stories not yet started in this iteration.").nullable(),
31
31
  num_stories_unestimated: zod.z.number().int().describe("The number of stories without point estimates in this iteration.").nullable()
32
- }).describe("Statistics about the stories in an iteration.");
32
+ }).passthrough().describe("Statistics about the stories in an iteration.");
33
33
  const ShortcutCreateIteration_LabelSchema = zod.z.object({
34
34
  id: zod.z.number().int().describe("The unique identifier of the label.").nullable().optional(),
35
35
  name: zod.z.string().describe("The name of the label.").nullable().optional(),
36
36
  external_id: zod.z.string().describe("A custom external ID for integrating with external systems.").nullable().optional()
37
- }).describe("Label object associated with an iteration.");
37
+ }).passthrough().describe("Label object associated with an iteration.");
38
38
  const ShortcutCreateIterationOutput = zod.z.object({
39
39
  id: zod.z.number().int().describe("The unique identifier for the iteration.").nullable(),
40
40
  name: zod.z.string().describe("The name of the iteration.").nullable(),
@@ -61,7 +61,7 @@ const ShortcutCreateIterationOutput = zod.z.object({
61
61
  member_mention_ids: zod.z.array(zod.z.string()).describe("An array of member UUIDs mentioned in the iteration description."),
62
62
  started_at_override: zod.z.string().describe("A manual override for the started_at timestamp in ISO 8601 format.").nullable().optional(),
63
63
  completed_at_override: zod.z.string().describe("A manual override for the completed_at timestamp in ISO 8601 format.").nullable().optional()
64
- }).describe("Response schema for `CreateIteration`");
64
+ }).passthrough().describe("Response schema for `CreateIteration`");
65
65
  const shortcutCreateIteration = require_action.action("SHORTCUT_CREATE_ITERATION", {
66
66
  slug: "shortcut-create-iteration",
67
67
  name: "Create iteration",
@@ -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}).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}).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}).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}).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,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC7G,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,CAA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C,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,SAAS,uCAAuC;AAEnD,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 { 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,k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9F,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,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const ShortcutCreateIterationInput: z.ZodObject<{
8
8
  color: z.ZodOptional<z.ZodString>;
9
9
  description: z.ZodOptional<z.ZodString>;
10
10
  external_id: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  end_date: z.ZodString;
13
13
  group_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
14
  start_date: z.ZodString;
@@ -32,12 +32,12 @@ declare const ShortcutCreateIterationOutput: z.ZodObject<{
32
32
  num_related_documents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  num_stories_unstarted: z.ZodNullable<z.ZodNumber>;
34
34
  num_stories_unestimated: z.ZodNullable<z.ZodNumber>;
35
- }, z.core.$strip>>;
35
+ }, z.core.$loose>>;
36
36
  labels: z.ZodArray<z.ZodObject<{
37
37
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  status: z.ZodNullable<z.ZodString>;
42
42
  app_url: z.ZodNullable<z.ZodString>;
43
43
  started: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -59,12 +59,13 @@ declare const ShortcutCreateIterationOutput: z.ZodObject<{
59
59
  member_mention_ids: z.ZodArray<z.ZodString>;
60
60
  started_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  completed_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- }, z.core.$strip>;
62
+ }, z.core.$loose>;
63
63
  declare const shortcutCreateIteration: import("@keystrokehq/action").WorkflowActionDefinition<{
64
64
  name: string;
65
65
  end_date: string;
66
66
  start_date: string;
67
67
  labels?: {
68
+ [x: string]: unknown;
68
69
  name: string;
69
70
  color?: string | undefined;
70
71
  description?: string | undefined;
@@ -8,7 +8,7 @@ declare const ShortcutCreateIterationInput: z.ZodObject<{
8
8
  color: z.ZodOptional<z.ZodString>;
9
9
  description: z.ZodOptional<z.ZodString>;
10
10
  external_id: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  end_date: z.ZodString;
13
13
  group_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
14
  start_date: z.ZodString;
@@ -32,12 +32,12 @@ declare const ShortcutCreateIterationOutput: z.ZodObject<{
32
32
  num_related_documents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  num_stories_unstarted: z.ZodNullable<z.ZodNumber>;
34
34
  num_stories_unestimated: z.ZodNullable<z.ZodNumber>;
35
- }, z.core.$strip>>;
35
+ }, z.core.$loose>>;
36
36
  labels: z.ZodArray<z.ZodObject<{
37
37
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  status: z.ZodNullable<z.ZodString>;
42
42
  app_url: z.ZodNullable<z.ZodString>;
43
43
  started: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -59,12 +59,13 @@ declare const ShortcutCreateIterationOutput: z.ZodObject<{
59
59
  member_mention_ids: z.ZodArray<z.ZodString>;
60
60
  started_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  completed_at_override: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- }, z.core.$strip>;
62
+ }, z.core.$loose>;
63
63
  declare const shortcutCreateIteration: import("@keystrokehq/action").WorkflowActionDefinition<{
64
64
  name: string;
65
65
  end_date: string;
66
66
  start_date: string;
67
67
  labels?: {
68
+ [x: string]: unknown;
68
69
  name: string;
69
70
  color?: string | undefined;
70
71
  description?: string | undefined;
@@ -8,7 +8,7 @@ const ShortcutCreateIterationInput = z.object({
8
8
  color: z.string().describe("The hex color to be displayed with the Label (for example, \"#ff0000\").").optional(),
9
9
  description: z.string().describe("The description of the new Label.").optional(),
10
10
  external_id: z.string().describe("This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.").optional()
11
- }).describe("Request schema for `Labels`")).describe("An array of Labels attached to the Iteration.").optional(),
11
+ }).passthrough().describe("Request schema for `Labels`")).describe("An array of Labels attached to the Iteration.").optional(),
12
12
  end_date: z.string().describe("The date this Iteration ends, e.g. 2019-07-01."),
13
13
  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(),
14
14
  start_date: z.string().describe("The date this Iteration begins, e.g. 2019-07-01."),
@@ -29,12 +29,12 @@ const ShortcutCreateIteration_IterationStatsSchema = z.object({
29
29
  num_related_documents: z.number().int().describe("The number of documents related to this iteration.").nullable().optional(),
30
30
  num_stories_unstarted: z.number().int().describe("The number of stories not yet started in this iteration.").nullable(),
31
31
  num_stories_unestimated: z.number().int().describe("The number of stories without point estimates in this iteration.").nullable()
32
- }).describe("Statistics about the stories in an iteration.");
32
+ }).passthrough().describe("Statistics about the stories in an iteration.");
33
33
  const ShortcutCreateIteration_LabelSchema = z.object({
34
34
  id: z.number().int().describe("The unique identifier of the label.").nullable().optional(),
35
35
  name: z.string().describe("The name of the label.").nullable().optional(),
36
36
  external_id: z.string().describe("A custom external ID for integrating with external systems.").nullable().optional()
37
- }).describe("Label object associated with an iteration.");
37
+ }).passthrough().describe("Label object associated with an iteration.");
38
38
  const shortcutCreateIteration = action("SHORTCUT_CREATE_ITERATION", {
39
39
  slug: "shortcut-create-iteration",
40
40
  name: "Create iteration",
@@ -66,7 +66,7 @@ const shortcutCreateIteration = action("SHORTCUT_CREATE_ITERATION", {
66
66
  member_mention_ids: z.array(z.string()).describe("An array of member UUIDs mentioned in the iteration description."),
67
67
  started_at_override: z.string().describe("A manual override for the started_at timestamp in ISO 8601 format.").nullable().optional(),
68
68
  completed_at_override: z.string().describe("A manual override for the completed_at timestamp in ISO 8601 format.").nullable().optional()
69
- }).describe("Response schema for `CreateIteration`")
69
+ }).passthrough().describe("Response schema for `CreateIteration`")
70
70
  });
71
71
  //#endregion
72
72
  export { shortcutCreateIteration };
@@ -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}).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}).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}).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}).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,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,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,WAA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C,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,SAAS,uCAOF;AACV,CAAC"}
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,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,+CAA+C,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACrL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CA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,SAAS;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,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"}
@@ -25,7 +25,7 @@ const ShortcutCreateLabel_LabelStatsSchema = zod.z.object({
25
25
  num_points_in_progress: zod.z.number().int().describe("The total number of in-progress points with this Label.").nullable().optional(),
26
26
  num_stories_in_progress: zod.z.number().int().describe("The total number of in-progress Stories with this Label.").nullable().optional(),
27
27
  num_stories_unestimated: zod.z.number().int().describe("The total number of Stories with no point estimate with this Label.").nullable().optional()
28
- }).describe("Statistics about the Label.");
28
+ }).passthrough().describe("Statistics about the Label.");
29
29
  const ShortcutCreateLabelOutput = zod.z.object({
30
30
  id: zod.z.number().int().describe("A unique identifier for the Label.").nullable(),
31
31
  name: zod.z.string().describe("The name of the Label.").nullable(),
@@ -39,7 +39,7 @@ const ShortcutCreateLabelOutput = zod.z.object({
39
39
  description: zod.z.string().describe("A description of the Label.").nullable().optional(),
40
40
  entity_type: zod.z.string().describe("A string description of this resource, typically 'label'.").nullable(),
41
41
  external_id: zod.z.string().describe("An external identifier that can be used to reference the Label in external systems.").nullable().optional()
42
- }).describe("Response schema for `CreateLabel`");
42
+ }).passthrough().describe("Response schema for `CreateLabel`");
43
43
  const shortcutCreateLabel = require_action.action("SHORTCUT_CREATE_LABEL", {
44
44
  slug: "shortcut-create-label",
45
45
  name: "Create label",
@@ -1 +1 @@
1
- {"version":3,"file":"create-label.cjs","names":["z","action"],"sources":["../../src/actions/create-label.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateLabelInput = z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `CreateLabel`\");\nconst ShortcutCreateLabel_LabelStatsSchema = z.object({\n num_epics: z.number().int().describe(\"The total number of Epics with this Label.\").nullable().optional(),\n num_epics_total: z.number().int().describe(\"The total number of Epics associated with this Label.\").nullable().optional(),\n num_points_total: z.number().int().describe(\"The total number of points with this Label.\").nullable().optional(),\n num_stories_total: z.number().int().describe(\"The total number of Stories with this Label.\").nullable().optional(),\n num_points_backlog: z.number().int().describe(\"The total number of backlog points with this Label.\").nullable().optional(),\n num_epics_completed: z.number().int().describe(\"The number of completed epics associated with this Label.\").nullable().optional(),\n num_epics_unstarted: z.number().int().describe(\"The number of unstarted epics associated with this label.\").nullable().optional(),\n num_stories_backlog: z.number().int().describe(\"The total number of stories backlog Stories with this Label.\").nullable().optional(),\n num_points_completed: z.number().int().describe(\"The total number of completed points with this Label.\").nullable().optional(),\n num_points_unstarted: z.number().int().describe(\"The total number of unstarted points with this Label.\").nullable().optional(),\n num_epics_in_progress: z.number().int().describe(\"The number of in progress epics associated with this label.\").nullable().optional(),\n num_related_documents: z.number().int().describe(\"The total number of Documents associated this Label.\").nullable().optional(),\n num_stories_completed: z.number().int().describe(\"The total number of completed Stories with this Label.\").nullable().optional(),\n num_stories_unstarted: z.number().int().describe(\"The total number of stories unstarted Stories with this Label.\").nullable().optional(),\n num_points_in_progress: z.number().int().describe(\"The total number of in-progress points with this Label.\").nullable().optional(),\n num_stories_in_progress: z.number().int().describe(\"The total number of in-progress Stories with this Label.\").nullable().optional(),\n num_stories_unestimated: z.number().int().describe(\"The total number of Stories with no point estimate with this Label.\").nullable().optional(),\n}).describe(\"Statistics about the Label.\");\nexport const ShortcutCreateLabelOutput = z.object({\n id: z.number().int().describe(\"A unique identifier for the Label.\").nullable(),\n name: z.string().describe(\"The name of the Label.\").nullable(),\n color: z.string().describe(\"The hex color code to be displayed with the Label (e.g., '#6515dd').\").nullable().optional(),\n stats: ShortcutCreateLabel_LabelStatsSchema.nullable().optional(),\n app_url: z.string().describe(\"The URL to access the Label in the Shortcut web application.\").nullable(),\n archived: z.boolean().describe(\"Indicates whether the Label has been archived.\").nullable(),\n global_id: z.string().describe(\"A globally unique identifier for the Label.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the Label was created, in ISO 8601 format (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the Label was last updated, in ISO 8601 format (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n description: z.string().describe(\"A description of the Label.\").nullable().optional(),\n entity_type: z.string().describe(\"A string description of this resource, typically 'label'.\").nullable(),\n external_id: z.string().describe(\"An external identifier that can be used to reference the Label in external systems.\").nullable().optional(),\n}).describe(\"Response schema for `CreateLabel`\");\n\nexport const shortcutCreateLabel = action(\"SHORTCUT_CREATE_LABEL\", {\n slug: \"shortcut-create-label\",\n name: \"Create label\",\n description: \"Create Label allows you to create a new Label in Shortcut.\",\n input: ShortcutCreateLabelInput,\n output: ShortcutCreateLabelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,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S;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-label.cjs","names":["z","action"],"sources":["../../src/actions/create-label.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateLabelInput = z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `CreateLabel`\");\nconst ShortcutCreateLabel_LabelStatsSchema = z.object({\n num_epics: z.number().int().describe(\"The total number of Epics with this Label.\").nullable().optional(),\n num_epics_total: z.number().int().describe(\"The total number of Epics associated with this Label.\").nullable().optional(),\n num_points_total: z.number().int().describe(\"The total number of points with this Label.\").nullable().optional(),\n num_stories_total: z.number().int().describe(\"The total number of Stories with this Label.\").nullable().optional(),\n num_points_backlog: z.number().int().describe(\"The total number of backlog points with this Label.\").nullable().optional(),\n num_epics_completed: z.number().int().describe(\"The number of completed epics associated with this Label.\").nullable().optional(),\n num_epics_unstarted: z.number().int().describe(\"The number of unstarted epics associated with this label.\").nullable().optional(),\n num_stories_backlog: z.number().int().describe(\"The total number of stories backlog Stories with this Label.\").nullable().optional(),\n num_points_completed: z.number().int().describe(\"The total number of completed points with this Label.\").nullable().optional(),\n num_points_unstarted: z.number().int().describe(\"The total number of unstarted points with this Label.\").nullable().optional(),\n num_epics_in_progress: z.number().int().describe(\"The number of in progress epics associated with this label.\").nullable().optional(),\n num_related_documents: z.number().int().describe(\"The total number of Documents associated this Label.\").nullable().optional(),\n num_stories_completed: z.number().int().describe(\"The total number of completed Stories with this Label.\").nullable().optional(),\n num_stories_unstarted: z.number().int().describe(\"The total number of stories unstarted Stories with this Label.\").nullable().optional(),\n num_points_in_progress: z.number().int().describe(\"The total number of in-progress points with this Label.\").nullable().optional(),\n num_stories_in_progress: z.number().int().describe(\"The total number of in-progress Stories with this Label.\").nullable().optional(),\n num_stories_unestimated: z.number().int().describe(\"The total number of Stories with no point estimate with this Label.\").nullable().optional(),\n}).passthrough().describe(\"Statistics about the Label.\");\nexport const ShortcutCreateLabelOutput = z.object({\n id: z.number().int().describe(\"A unique identifier for the Label.\").nullable(),\n name: z.string().describe(\"The name of the Label.\").nullable(),\n color: z.string().describe(\"The hex color code to be displayed with the Label (e.g., '#6515dd').\").nullable().optional(),\n stats: ShortcutCreateLabel_LabelStatsSchema.nullable().optional(),\n app_url: z.string().describe(\"The URL to access the Label in the Shortcut web application.\").nullable(),\n archived: z.boolean().describe(\"Indicates whether the Label has been archived.\").nullable(),\n global_id: z.string().describe(\"A globally unique identifier for the Label.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the Label was created, in ISO 8601 format (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the Label was last updated, in ISO 8601 format (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n description: z.string().describe(\"A description of the Label.\").nullable().optional(),\n entity_type: z.string().describe(\"A string description of this resource, typically 'label'.\").nullable(),\n external_id: z.string().describe(\"An external identifier that can be used to reference the Label in external systems.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateLabel`\");\n\nexport const shortcutCreateLabel = action(\"SHORTCUT_CREATE_LABEL\", {\n slug: \"shortcut-create-label\",\n name: \"Create label\",\n description: \"Create Label allows you to create a new Label in Shortcut.\",\n input: ShortcutCreateLabelInput,\n output: ShortcutCreateLabelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2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ullable<z.ZodNumber>>;
30
30
  num_stories_in_progress: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  num_stories_unestimated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  app_url: z.ZodNullable<z.ZodString>;
34
34
  archived: z.ZodNullable<z.ZodBoolean>;
35
35
  global_id: z.ZodNullable<z.ZodString>;
@@ -38,7 +38,7 @@ declare const ShortcutCreateLabelOutput: z.ZodObject<{
38
38
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  entity_type: z.ZodNullable<z.ZodString>;
40
40
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>;
41
+ }, z.core.$loose>;
42
42
  declare const shortcutCreateLabel: import("@keystrokehq/action").WorkflowActionDefinition<{
43
43
  name: string;
44
44
  color?: string | undefined;
@@ -29,7 +29,7 @@ declare const ShortcutCreateLabelOutput: z.ZodObject<{
29
29
  num_points_in_progress: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  num_stories_in_progress: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  num_stories_unestimated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  app_url: z.ZodNullable<z.ZodString>;
34
34
  archived: z.ZodNullable<z.ZodBoolean>;
35
35
  global_id: z.ZodNullable<z.ZodString>;
@@ -38,7 +38,7 @@ declare const ShortcutCreateLabelOutput: z.ZodObject<{
38
38
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  entity_type: z.ZodNullable<z.ZodString>;
40
40
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>;
41
+ }, z.core.$loose>;
42
42
  declare const shortcutCreateLabel: import("@keystrokehq/action").WorkflowActionDefinition<{
43
43
  name: string;
44
44
  color?: string | undefined;
@@ -25,7 +25,7 @@ const ShortcutCreateLabel_LabelStatsSchema = z.object({
25
25
  num_points_in_progress: z.number().int().describe("The total number of in-progress points with this Label.").nullable().optional(),
26
26
  num_stories_in_progress: z.number().int().describe("The total number of in-progress Stories with this Label.").nullable().optional(),
27
27
  num_stories_unestimated: z.number().int().describe("The total number of Stories with no point estimate with this Label.").nullable().optional()
28
- }).describe("Statistics about the Label.");
28
+ }).passthrough().describe("Statistics about the Label.");
29
29
  const shortcutCreateLabel = action("SHORTCUT_CREATE_LABEL", {
30
30
  slug: "shortcut-create-label",
31
31
  name: "Create label",
@@ -44,7 +44,7 @@ const shortcutCreateLabel = action("SHORTCUT_CREATE_LABEL", {
44
44
  description: z.string().describe("A description of the Label.").nullable().optional(),
45
45
  entity_type: z.string().describe("A string description of this resource, typically 'label'.").nullable(),
46
46
  external_id: z.string().describe("An external identifier that can be used to reference the Label in external systems.").nullable().optional()
47
- }).describe("Response schema for `CreateLabel`")
47
+ }).passthrough().describe("Response schema for `CreateLabel`")
48
48
  });
49
49
  //#endregion
50
50
  export { shortcutCreateLabel };
@@ -1 +1 @@
1
- {"version":3,"file":"create-label.mjs","names":[],"sources":["../../src/actions/create-label.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateLabelInput = z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `CreateLabel`\");\nconst ShortcutCreateLabel_LabelStatsSchema = z.object({\n num_epics: z.number().int().describe(\"The total number of Epics with this Label.\").nullable().optional(),\n num_epics_total: z.number().int().describe(\"The total number of Epics associated with this Label.\").nullable().optional(),\n num_points_total: z.number().int().describe(\"The total number of points with this Label.\").nullable().optional(),\n num_stories_total: z.number().int().describe(\"The total number of Stories with this Label.\").nullable().optional(),\n num_points_backlog: z.number().int().describe(\"The total number of backlog points with this Label.\").nullable().optional(),\n num_epics_completed: z.number().int().describe(\"The number of completed epics associated with this Label.\").nullable().optional(),\n num_epics_unstarted: z.number().int().describe(\"The number of unstarted epics associated with this label.\").nullable().optional(),\n num_stories_backlog: z.number().int().describe(\"The total number of stories backlog Stories with this Label.\").nullable().optional(),\n num_points_completed: z.number().int().describe(\"The total number of completed points with this Label.\").nullable().optional(),\n num_points_unstarted: z.number().int().describe(\"The total number of unstarted points with this Label.\").nullable().optional(),\n num_epics_in_progress: z.number().int().describe(\"The number of in progress epics associated with this label.\").nullable().optional(),\n num_related_documents: z.number().int().describe(\"The total number of Documents associated this Label.\").nullable().optional(),\n num_stories_completed: z.number().int().describe(\"The total number of completed Stories with this Label.\").nullable().optional(),\n num_stories_unstarted: z.number().int().describe(\"The total number of stories unstarted Stories with this Label.\").nullable().optional(),\n num_points_in_progress: z.number().int().describe(\"The total number of in-progress points with this Label.\").nullable().optional(),\n num_stories_in_progress: z.number().int().describe(\"The total number of in-progress Stories with this Label.\").nullable().optional(),\n num_stories_unestimated: z.number().int().describe(\"The total number of Stories with no point estimate with this Label.\").nullable().optional(),\n}).describe(\"Statistics about the Label.\");\nexport const ShortcutCreateLabelOutput = z.object({\n id: z.number().int().describe(\"A unique identifier for the Label.\").nullable(),\n name: z.string().describe(\"The name of the Label.\").nullable(),\n color: z.string().describe(\"The hex color code to be displayed with the Label (e.g., '#6515dd').\").nullable().optional(),\n stats: ShortcutCreateLabel_LabelStatsSchema.nullable().optional(),\n app_url: z.string().describe(\"The URL to access the Label in the Shortcut web application.\").nullable(),\n archived: z.boolean().describe(\"Indicates whether the Label has been archived.\").nullable(),\n global_id: z.string().describe(\"A globally unique identifier for the Label.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the Label was created, in ISO 8601 format (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the Label was last updated, in ISO 8601 format (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n description: z.string().describe(\"A description of the Label.\").nullable().optional(),\n entity_type: z.string().describe(\"A string description of this resource, typically 'label'.\").nullable(),\n external_id: z.string().describe(\"An external identifier that can be used to reference the Label in external systems.\").nullable().optional(),\n}).describe(\"Response schema for `CreateLabel`\");\n\nexport const shortcutCreateLabel = action(\"SHORTCUT_CREATE_LABEL\", {\n slug: \"shortcut-create-label\",\n name: \"Create label\",\n description: \"Create Label allows you to create a new Label in Shortcut.\",\n input: ShortcutCreateLabelInput,\n output: ShortcutCreateLabelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,uCAAuC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,C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/create-label.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateLabelInput = z.object({\n name: z.string().describe(\"The name of the new Label.\"),\n color: z.string().describe(\"The hex color to be displayed with the Label (for example, \\\"#ff0000\\\").\").optional(),\n description: z.string().describe(\"The description of the new Label.\").optional(),\n external_id: z.string().describe(\"This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.\").optional(),\n}).describe(\"Request schema for `CreateLabel`\");\nconst ShortcutCreateLabel_LabelStatsSchema = z.object({\n num_epics: z.number().int().describe(\"The total number of Epics with this Label.\").nullable().optional(),\n num_epics_total: z.number().int().describe(\"The total number of Epics associated with this Label.\").nullable().optional(),\n num_points_total: z.number().int().describe(\"The total number of points with this Label.\").nullable().optional(),\n num_stories_total: z.number().int().describe(\"The total number of Stories with this Label.\").nullable().optional(),\n num_points_backlog: z.number().int().describe(\"The total number of backlog points with this Label.\").nullable().optional(),\n num_epics_completed: z.number().int().describe(\"The number of completed epics associated with this Label.\").nullable().optional(),\n num_epics_unstarted: z.number().int().describe(\"The number of unstarted epics associated with this label.\").nullable().optional(),\n num_stories_backlog: z.number().int().describe(\"The total number of stories backlog Stories with this Label.\").nullable().optional(),\n num_points_completed: z.number().int().describe(\"The total number of completed points with this Label.\").nullable().optional(),\n num_points_unstarted: z.number().int().describe(\"The total number of unstarted points with this Label.\").nullable().optional(),\n num_epics_in_progress: z.number().int().describe(\"The number of in progress epics associated with this label.\").nullable().optional(),\n num_related_documents: z.number().int().describe(\"The total number of Documents associated this Label.\").nullable().optional(),\n num_stories_completed: z.number().int().describe(\"The total number of completed Stories with this Label.\").nullable().optional(),\n num_stories_unstarted: z.number().int().describe(\"The total number of stories unstarted Stories with this Label.\").nullable().optional(),\n num_points_in_progress: z.number().int().describe(\"The total number of in-progress points with this Label.\").nullable().optional(),\n num_stories_in_progress: z.number().int().describe(\"The total number of in-progress Stories with this Label.\").nullable().optional(),\n num_stories_unestimated: z.number().int().describe(\"The total number of Stories with no point estimate with this Label.\").nullable().optional(),\n}).passthrough().describe(\"Statistics about the Label.\");\nexport const ShortcutCreateLabelOutput = z.object({\n id: z.number().int().describe(\"A unique identifier for the Label.\").nullable(),\n name: z.string().describe(\"The name of the Label.\").nullable(),\n color: z.string().describe(\"The hex color code to be displayed with the Label (e.g., '#6515dd').\").nullable().optional(),\n stats: ShortcutCreateLabel_LabelStatsSchema.nullable().optional(),\n app_url: z.string().describe(\"The URL to access the Label in the Shortcut web application.\").nullable(),\n archived: z.boolean().describe(\"Indicates whether the Label has been archived.\").nullable(),\n global_id: z.string().describe(\"A globally unique identifier for the Label.\").nullable(),\n created_at: z.string().describe(\"The timestamp when the Label was created, in ISO 8601 format (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the Label was last updated, in ISO 8601 format (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n description: z.string().describe(\"A description of the Label.\").nullable().optional(),\n entity_type: z.string().describe(\"A string description of this resource, typically 'label'.\").nullable(),\n external_id: z.string().describe(\"An external identifier that can be used to reference the Label in external systems.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CreateLabel`\");\n\nexport const shortcutCreateLabel = action(\"SHORTCUT_CREATE_LABEL\", {\n slug: \"shortcut-create-label\",\n name: \"Create label\",\n description: \"Create Label allows you to create a new Label in Shortcut.\",\n input: ShortcutCreateLabelInput,\n output: ShortcutCreateLabelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAA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;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC9I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
@@ -35,7 +35,7 @@ const ShortcutCreateLinkedFileOutput = zod.z.object({
35
35
  thumbnail_url: zod.z.string().describe("URL pointing to the file's thumbnail image.").nullable().optional(),
36
36
  group_mention_ids: zod.z.array(zod.z.string()).describe("Array of group UUIDs mentioned in the linked file."),
37
37
  member_mention_ids: zod.z.array(zod.z.string()).describe("Array of member UUIDs mentioned in the linked file.")
38
- }).describe("Response schema for `CreateLinkedFile`");
38
+ }).passthrough().describe("Response schema for `CreateLinkedFile`");
39
39
  const shortcutCreateLinkedFile = require_action.action("SHORTCUT_CREATE_LINKED_FILE", {
40
40
  slug: "shortcut-create-linked-file",
41
41
  name: "Create linked file",
@@ -1 +1 @@
1
- {"version":3,"file":"create-linked-file.cjs","names":["z","action"],"sources":["../../src/actions/create-linked-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateLinkedFileInput = z.object({\n url: z.string().describe(\"The URL of linked file.\"),\n name: z.string().describe(\"The name of the file.\"),\n size: z.number().int().describe(\"The filesize, if the integration provided it.\").optional(),\n type: z.enum([\"google\", \"url\", \"dropbox\", \"box\", \"onedrive\"]).describe(\"The integration type of the file (e.g. google, dropbox, box).\"),\n story_id: z.number().int().describe(\"The ID of the linked story.\").optional(),\n description: z.string().describe(\"The description of the file.\").optional(),\n uploader_id: z.string().describe(\"The UUID of the member that uploaded the file.\").optional(),\n content_type: z.string().describe(\"The content type of the image (e.g. txt/plain).\").optional(),\n thumbnail_url: z.string().describe(\"The URL of the thumbnail, if the integration provided it.\").optional(),\n}).describe(\"Request schema for `CreateLinkedFile`\");\nexport const ShortcutCreateLinkedFileOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the linked file.\").nullable(),\n url: z.string().describe(\"The URL link to the external file source (Dropbox/Google Drive/Box).\").nullable(),\n name: z.string().describe(\"The name of the linked file.\").nullable(),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n type: z.string().describe(\"The type of linked file (e.g., 'dropbox', 'google', 'box').\").nullable(),\n story_ids: z.array(z.number().int()).describe(\"Array of story IDs that this linked file is attached to.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the linked file was created (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the linked file was last updated.\").nullable(),\n description: z.string().describe(\"A text description of the linked file.\").nullable().optional(),\n entity_type: z.string().describe(\"The entity type, typically 'linked-file'.\").nullable(),\n mention_ids: z.array(z.string()).describe(\"Array of all mention UUIDs (members and groups) in the linked file.\"),\n uploader_id: z.string().describe(\"UUID of the user who uploaded the linked file.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the file.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"URL pointing to the file's thumbnail image.\").nullable().optional(),\n group_mention_ids: z.array(z.string()).describe(\"Array of group UUIDs mentioned in the linked file.\"),\n member_mention_ids: z.array(z.string()).describe(\"Array of member UUIDs mentioned in the linked file.\"),\n}).describe(\"Response schema for `CreateLinkedFile`\");\n\nexport const shortcutCreateLinkedFile = action(\"SHORTCUT_CREATE_LINKED_FILE\", {\n slug: \"shortcut-create-linked-file\",\n name: \"Create linked file\",\n description: \"Create Linked File allows you to create a new Linked File in Shortcut.\",\n input: ShortcutCreateLinkedFileInput,\n output: ShortcutCreateLinkedFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAO;EAAW;EAAO;CAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACtI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA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AM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-linked-file.cjs","names":["z","action"],"sources":["../../src/actions/create-linked-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateLinkedFileInput = z.object({\n url: z.string().describe(\"The URL of linked file.\"),\n name: z.string().describe(\"The name of the file.\"),\n size: z.number().int().describe(\"The filesize, if the integration provided it.\").optional(),\n type: z.enum([\"google\", \"url\", \"dropbox\", \"box\", \"onedrive\"]).describe(\"The integration type of the file (e.g. google, dropbox, box).\"),\n story_id: z.number().int().describe(\"The ID of the linked story.\").optional(),\n description: z.string().describe(\"The description of the file.\").optional(),\n uploader_id: z.string().describe(\"The UUID of the member that uploaded the file.\").optional(),\n content_type: z.string().describe(\"The content type of the image (e.g. txt/plain).\").optional(),\n thumbnail_url: z.string().describe(\"The URL of the thumbnail, if the integration provided it.\").optional(),\n}).describe(\"Request schema for `CreateLinkedFile`\");\nexport const ShortcutCreateLinkedFileOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the linked file.\").nullable(),\n url: z.string().describe(\"The URL link to the external file source (Dropbox/Google Drive/Box).\").nullable(),\n name: z.string().describe(\"The name of the linked file.\").nullable(),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n type: z.string().describe(\"The type of linked file (e.g., 'dropbox', 'google', 'box').\").nullable(),\n story_ids: z.array(z.number().int()).describe(\"Array of story IDs that this linked file is attached to.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the linked file was created (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the linked file was last updated.\").nullable(),\n description: z.string().describe(\"A text description of the linked file.\").nullable().optional(),\n entity_type: z.string().describe(\"The entity type, typically 'linked-file'.\").nullable(),\n mention_ids: z.array(z.string()).describe(\"Array of all mention UUIDs (members and groups) in the linked file.\"),\n uploader_id: z.string().describe(\"UUID of the user who uploaded the linked file.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the file.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"URL pointing to the file's thumbnail image.\").nullable().optional(),\n group_mention_ids: z.array(z.string()).describe(\"Array of group UUIDs mentioned in the linked file.\"),\n member_mention_ids: z.array(z.string()).describe(\"Array of member UUIDs mentioned in the linked file.\"),\n}).passthrough().describe(\"Response schema for `CreateLinkedFile`\");\n\nexport const shortcutCreateLinkedFile = action(\"SHORTCUT_CREATE_LINKED_FILE\", {\n slug: \"shortcut-create-linked-file\",\n name: \"Create linked file\",\n description: \"Create Linked File allows you to create a new Linked File in Shortcut.\",\n input: ShortcutCreateLinkedFileInput,\n output: ShortcutCreateLinkedFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAO;EAAW;EAAO;CAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACtI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,C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eA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACpG,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -35,7 +35,7 @@ declare const ShortcutCreateLinkedFileOutput: z.ZodObject<{
35
35
  thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  group_mention_ids: z.ZodArray<z.ZodString>;
37
37
  member_mention_ids: z.ZodArray<z.ZodString>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const shortcutCreateLinkedFile: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  url: string;
41
41
  name: string;
@@ -35,7 +35,7 @@ declare const ShortcutCreateLinkedFileOutput: z.ZodObject<{
35
35
  thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  group_mention_ids: z.ZodArray<z.ZodString>;
37
37
  member_mention_ids: z.ZodArray<z.ZodString>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const shortcutCreateLinkedFile: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  url: string;
41
41
  name: string;
@@ -38,7 +38,7 @@ const shortcutCreateLinkedFile = action("SHORTCUT_CREATE_LINKED_FILE", {
38
38
  thumbnail_url: z.string().describe("URL pointing to the file's thumbnail image.").nullable().optional(),
39
39
  group_mention_ids: z.array(z.string()).describe("Array of group UUIDs mentioned in the linked file."),
40
40
  member_mention_ids: z.array(z.string()).describe("Array of member UUIDs mentioned in the linked file.")
41
- }).describe("Response schema for `CreateLinkedFile`")
41
+ }).passthrough().describe("Response schema for `CreateLinkedFile`")
42
42
  });
43
43
  //#endregion
44
44
  export { shortcutCreateLinkedFile };
@@ -1 +1 @@
1
- {"version":3,"file":"create-linked-file.mjs","names":[],"sources":["../../src/actions/create-linked-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateLinkedFileInput = z.object({\n url: z.string().describe(\"The URL of linked file.\"),\n name: z.string().describe(\"The name of the file.\"),\n size: z.number().int().describe(\"The filesize, if the integration provided it.\").optional(),\n type: z.enum([\"google\", \"url\", \"dropbox\", \"box\", \"onedrive\"]).describe(\"The integration type of the file (e.g. google, dropbox, box).\"),\n story_id: z.number().int().describe(\"The ID of the linked story.\").optional(),\n description: z.string().describe(\"The description of the file.\").optional(),\n uploader_id: z.string().describe(\"The UUID of the member that uploaded the file.\").optional(),\n content_type: z.string().describe(\"The content type of the image (e.g. txt/plain).\").optional(),\n thumbnail_url: z.string().describe(\"The URL of the thumbnail, if the integration provided it.\").optional(),\n}).describe(\"Request schema for `CreateLinkedFile`\");\nexport const ShortcutCreateLinkedFileOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the linked file.\").nullable(),\n url: z.string().describe(\"The URL link to the external file source (Dropbox/Google Drive/Box).\").nullable(),\n name: z.string().describe(\"The name of the linked file.\").nullable(),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n type: z.string().describe(\"The type of linked file (e.g., 'dropbox', 'google', 'box').\").nullable(),\n story_ids: z.array(z.number().int()).describe(\"Array of story IDs that this linked file is attached to.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the linked file was created (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the linked file was last updated.\").nullable(),\n description: z.string().describe(\"A text description of the linked file.\").nullable().optional(),\n entity_type: z.string().describe(\"The entity type, typically 'linked-file'.\").nullable(),\n mention_ids: z.array(z.string()).describe(\"Array of all mention UUIDs (members and groups) in the linked file.\"),\n uploader_id: z.string().describe(\"UUID of the user who uploaded the linked file.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the file.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"URL pointing to the file's thumbnail image.\").nullable().optional(),\n group_mention_ids: z.array(z.string()).describe(\"Array of group UUIDs mentioned in the linked file.\"),\n member_mention_ids: z.array(z.string()).describe(\"Array of member UUIDs mentioned in the linked file.\"),\n}).describe(\"Response schema for `CreateLinkedFile`\");\n\nexport const shortcutCreateLinkedFile = action(\"SHORTCUT_CREATE_LINKED_FILE\", {\n slug: \"shortcut-create-linked-file\",\n name: \"Create linked file\",\n description: \"Create Linked File allows you to create a new Linked File in Shortcut.\",\n input: ShortcutCreateLinkedFileInput,\n output: ShortcutCreateLinkedFileOutput,\n});\n"],"mappings":";;AAkCA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlC2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,KAAK;GAAC;GAAU;GAAO;GAAW;GAAO;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;EACtI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC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;EACtG,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;EACpG,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD;CACxG,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-linked-file.mjs","names":[],"sources":["../../src/actions/create-linked-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortcutCreateLinkedFileInput = z.object({\n url: z.string().describe(\"The URL of linked file.\"),\n name: z.string().describe(\"The name of the file.\"),\n size: z.number().int().describe(\"The filesize, if the integration provided it.\").optional(),\n type: z.enum([\"google\", \"url\", \"dropbox\", \"box\", \"onedrive\"]).describe(\"The integration type of the file (e.g. google, dropbox, box).\"),\n story_id: z.number().int().describe(\"The ID of the linked story.\").optional(),\n description: z.string().describe(\"The description of the file.\").optional(),\n uploader_id: z.string().describe(\"The UUID of the member that uploaded the file.\").optional(),\n content_type: z.string().describe(\"The content type of the image (e.g. txt/plain).\").optional(),\n thumbnail_url: z.string().describe(\"The URL of the thumbnail, if the integration provided it.\").optional(),\n}).describe(\"Request schema for `CreateLinkedFile`\");\nexport const ShortcutCreateLinkedFileOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the linked file.\").nullable(),\n url: z.string().describe(\"The URL link to the external file source (Dropbox/Google Drive/Box).\").nullable(),\n name: z.string().describe(\"The name of the linked file.\").nullable(),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n type: z.string().describe(\"The type of linked file (e.g., 'dropbox', 'google', 'box').\").nullable(),\n story_ids: z.array(z.number().int()).describe(\"Array of story IDs that this linked file is attached to.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the linked file was created (e.g., '2016-12-31T12:30:00Z').\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the linked file was last updated.\").nullable(),\n description: z.string().describe(\"A text description of the linked file.\").nullable().optional(),\n entity_type: z.string().describe(\"The entity type, typically 'linked-file'.\").nullable(),\n mention_ids: z.array(z.string()).describe(\"Array of all mention UUIDs (members and groups) in the linked file.\"),\n uploader_id: z.string().describe(\"UUID of the user who uploaded the linked file.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the file.\").nullable().optional(),\n thumbnail_url: z.string().describe(\"URL pointing to the file's thumbnail image.\").nullable().optional(),\n group_mention_ids: z.array(z.string()).describe(\"Array of group UUIDs mentioned in the linked file.\"),\n member_mention_ids: z.array(z.string()).describe(\"Array of member UUIDs mentioned in the linked file.\"),\n}).passthrough().describe(\"Response schema for `CreateLinkedFile`\");\n\nexport const shortcutCreateLinkedFile = action(\"SHORTCUT_CREATE_LINKED_FILE\", {\n slug: \"shortcut-create-linked-file\",\n name: \"Create linked file\",\n description: \"Create Linked File allows you to create a new Linked File in Shortcut.\",\n input: ShortcutCreateLinkedFileInput,\n output: ShortcutCreateLinkedFileOutput,\n});\n"],"mappings":";;AAkCA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlC2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,KAAK;GAAC;GAAU;GAAO;GAAW;GAAO;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;EACtI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAA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