@keystrokehq/rocketlane 0.1.0

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 (586) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-assignee-to-task.cjs +74 -0
  7. package/dist/actions/add-assignee-to-task.cjs.map +1 -0
  8. package/dist/actions/add-assignee-to-task.d.cts +9 -0
  9. package/dist/actions/add-assignee-to-task.d.cts.map +1 -0
  10. package/dist/actions/add-assignee-to-task.d.mts +9 -0
  11. package/dist/actions/add-assignee-to-task.d.mts.map +1 -0
  12. package/dist/actions/add-assignee-to-task.mjs +73 -0
  13. package/dist/actions/add-assignee-to-task.mjs.map +1 -0
  14. package/dist/actions/add-field-option.cjs +33 -0
  15. package/dist/actions/add-field-option.cjs.map +1 -0
  16. package/dist/actions/add-field-option.d.cts +9 -0
  17. package/dist/actions/add-field-option.d.cts.map +1 -0
  18. package/dist/actions/add-field-option.d.mts +9 -0
  19. package/dist/actions/add-field-option.d.mts.map +1 -0
  20. package/dist/actions/add-field-option.mjs +30 -0
  21. package/dist/actions/add-field-option.mjs.map +1 -0
  22. package/dist/actions/add-followers-to-task.cjs +25 -0
  23. package/dist/actions/add-followers-to-task.cjs.map +1 -0
  24. package/dist/actions/add-followers-to-task.d.cts +9 -0
  25. package/dist/actions/add-followers-to-task.d.cts.map +1 -0
  26. package/dist/actions/add-followers-to-task.d.mts +9 -0
  27. package/dist/actions/add-followers-to-task.d.mts.map +1 -0
  28. package/dist/actions/add-followers-to-task.mjs +22 -0
  29. package/dist/actions/add-followers-to-task.mjs.map +1 -0
  30. package/dist/actions/add-members-to-conversation.cjs +35 -0
  31. package/dist/actions/add-members-to-conversation.cjs.map +1 -0
  32. package/dist/actions/add-members-to-conversation.d.cts +9 -0
  33. package/dist/actions/add-members-to-conversation.d.cts.map +1 -0
  34. package/dist/actions/add-members-to-conversation.d.mts +9 -0
  35. package/dist/actions/add-members-to-conversation.d.mts.map +1 -0
  36. package/dist/actions/add-members-to-conversation.mjs +34 -0
  37. package/dist/actions/add-members-to-conversation.mjs.map +1 -0
  38. package/dist/actions/add-members.cjs +22 -0
  39. package/dist/actions/add-members.cjs.map +1 -0
  40. package/dist/actions/add-members.d.cts +9 -0
  41. package/dist/actions/add-members.d.cts.map +1 -0
  42. package/dist/actions/add-members.d.mts +9 -0
  43. package/dist/actions/add-members.d.mts.map +1 -0
  44. package/dist/actions/add-members.mjs +19 -0
  45. package/dist/actions/add-members.mjs.map +1 -0
  46. package/dist/actions/archive-project-by-id.cjs +16 -0
  47. package/dist/actions/archive-project-by-id.cjs.map +1 -0
  48. package/dist/actions/archive-project-by-id.d.cts +9 -0
  49. package/dist/actions/archive-project-by-id.d.cts.map +1 -0
  50. package/dist/actions/archive-project-by-id.d.mts +9 -0
  51. package/dist/actions/archive-project-by-id.d.mts.map +1 -0
  52. package/dist/actions/archive-project-by-id.mjs +13 -0
  53. package/dist/actions/archive-project-by-id.mjs.map +1 -0
  54. package/dist/actions/create-comment.cjs +53 -0
  55. package/dist/actions/create-comment.cjs.map +1 -0
  56. package/dist/actions/create-comment.d.cts +9 -0
  57. package/dist/actions/create-comment.d.cts.map +1 -0
  58. package/dist/actions/create-comment.d.mts +9 -0
  59. package/dist/actions/create-comment.d.mts.map +1 -0
  60. package/dist/actions/create-comment.mjs +52 -0
  61. package/dist/actions/create-comment.mjs.map +1 -0
  62. package/dist/actions/create-company.cjs +30 -0
  63. package/dist/actions/create-company.cjs.map +1 -0
  64. package/dist/actions/create-company.d.cts +9 -0
  65. package/dist/actions/create-company.d.cts.map +1 -0
  66. package/dist/actions/create-company.d.mts +9 -0
  67. package/dist/actions/create-company.d.mts.map +1 -0
  68. package/dist/actions/create-company.mjs +27 -0
  69. package/dist/actions/create-company.mjs.map +1 -0
  70. package/dist/actions/create-conversation.cjs +52 -0
  71. package/dist/actions/create-conversation.cjs.map +1 -0
  72. package/dist/actions/create-conversation.d.cts +9 -0
  73. package/dist/actions/create-conversation.d.cts.map +1 -0
  74. package/dist/actions/create-conversation.d.mts +9 -0
  75. package/dist/actions/create-conversation.d.mts.map +1 -0
  76. package/dist/actions/create-conversation.mjs +51 -0
  77. package/dist/actions/create-conversation.mjs.map +1 -0
  78. package/dist/actions/create-field.cjs +67 -0
  79. package/dist/actions/create-field.cjs.map +1 -0
  80. package/dist/actions/create-field.d.cts +9 -0
  81. package/dist/actions/create-field.d.cts.map +1 -0
  82. package/dist/actions/create-field.d.mts +9 -0
  83. package/dist/actions/create-field.d.mts.map +1 -0
  84. package/dist/actions/create-field.mjs +66 -0
  85. package/dist/actions/create-field.mjs.map +1 -0
  86. package/dist/actions/create-phase.cjs +30 -0
  87. package/dist/actions/create-phase.cjs.map +1 -0
  88. package/dist/actions/create-phase.d.cts +9 -0
  89. package/dist/actions/create-phase.d.cts.map +1 -0
  90. package/dist/actions/create-phase.d.mts +9 -0
  91. package/dist/actions/create-phase.d.mts.map +1 -0
  92. package/dist/actions/create-phase.mjs +27 -0
  93. package/dist/actions/create-phase.mjs.map +1 -0
  94. package/dist/actions/create-project.cjs +106 -0
  95. package/dist/actions/create-project.cjs.map +1 -0
  96. package/dist/actions/create-project.d.cts +9 -0
  97. package/dist/actions/create-project.d.cts.map +1 -0
  98. package/dist/actions/create-project.d.mts +9 -0
  99. package/dist/actions/create-project.d.mts.map +1 -0
  100. package/dist/actions/create-project.mjs +105 -0
  101. package/dist/actions/create-project.mjs.map +1 -0
  102. package/dist/actions/create-space-document.cjs +31 -0
  103. package/dist/actions/create-space-document.cjs.map +1 -0
  104. package/dist/actions/create-space-document.d.cts +9 -0
  105. package/dist/actions/create-space-document.d.cts.map +1 -0
  106. package/dist/actions/create-space-document.d.mts +9 -0
  107. package/dist/actions/create-space-document.d.mts.map +1 -0
  108. package/dist/actions/create-space-document.mjs +28 -0
  109. package/dist/actions/create-space-document.mjs.map +1 -0
  110. package/dist/actions/create-space.cjs +31 -0
  111. package/dist/actions/create-space.cjs.map +1 -0
  112. package/dist/actions/create-space.d.cts +9 -0
  113. package/dist/actions/create-space.d.cts.map +1 -0
  114. package/dist/actions/create-space.d.mts +9 -0
  115. package/dist/actions/create-space.d.mts.map +1 -0
  116. package/dist/actions/create-space.mjs +30 -0
  117. package/dist/actions/create-space.mjs.map +1 -0
  118. package/dist/actions/create-task.cjs +53 -0
  119. package/dist/actions/create-task.cjs.map +1 -0
  120. package/dist/actions/create-task.d.cts +9 -0
  121. package/dist/actions/create-task.d.cts.map +1 -0
  122. package/dist/actions/create-task.d.mts +9 -0
  123. package/dist/actions/create-task.d.mts.map +1 -0
  124. package/dist/actions/create-task.mjs +52 -0
  125. package/dist/actions/create-task.mjs.map +1 -0
  126. package/dist/actions/create-time-entry.cjs +37 -0
  127. package/dist/actions/create-time-entry.cjs.map +1 -0
  128. package/dist/actions/create-time-entry.d.cts +9 -0
  129. package/dist/actions/create-time-entry.d.cts.map +1 -0
  130. package/dist/actions/create-time-entry.d.mts +9 -0
  131. package/dist/actions/create-time-entry.d.mts.map +1 -0
  132. package/dist/actions/create-time-entry.mjs +34 -0
  133. package/dist/actions/create-time-entry.mjs.map +1 -0
  134. package/dist/actions/delete-comment-by-id.cjs +16 -0
  135. package/dist/actions/delete-comment-by-id.cjs.map +1 -0
  136. package/dist/actions/delete-comment-by-id.d.cts +9 -0
  137. package/dist/actions/delete-comment-by-id.d.cts.map +1 -0
  138. package/dist/actions/delete-comment-by-id.d.mts +9 -0
  139. package/dist/actions/delete-comment-by-id.d.mts.map +1 -0
  140. package/dist/actions/delete-comment-by-id.mjs +13 -0
  141. package/dist/actions/delete-comment-by-id.mjs.map +1 -0
  142. package/dist/actions/delete-conversation.cjs +16 -0
  143. package/dist/actions/delete-conversation.cjs.map +1 -0
  144. package/dist/actions/delete-conversation.d.cts +9 -0
  145. package/dist/actions/delete-conversation.d.cts.map +1 -0
  146. package/dist/actions/delete-conversation.d.mts +9 -0
  147. package/dist/actions/delete-conversation.d.mts.map +1 -0
  148. package/dist/actions/delete-conversation.mjs +13 -0
  149. package/dist/actions/delete-conversation.mjs.map +1 -0
  150. package/dist/actions/delete-field.cjs +16 -0
  151. package/dist/actions/delete-field.cjs.map +1 -0
  152. package/dist/actions/delete-field.d.cts +9 -0
  153. package/dist/actions/delete-field.d.cts.map +1 -0
  154. package/dist/actions/delete-field.d.mts +9 -0
  155. package/dist/actions/delete-field.d.mts.map +1 -0
  156. package/dist/actions/delete-field.mjs +13 -0
  157. package/dist/actions/delete-field.mjs.map +1 -0
  158. package/dist/actions/delete-phase.cjs +16 -0
  159. package/dist/actions/delete-phase.cjs.map +1 -0
  160. package/dist/actions/delete-phase.d.cts +9 -0
  161. package/dist/actions/delete-phase.d.cts.map +1 -0
  162. package/dist/actions/delete-phase.d.mts +9 -0
  163. package/dist/actions/delete-phase.d.mts.map +1 -0
  164. package/dist/actions/delete-phase.mjs +13 -0
  165. package/dist/actions/delete-phase.mjs.map +1 -0
  166. package/dist/actions/delete-project.cjs +16 -0
  167. package/dist/actions/delete-project.cjs.map +1 -0
  168. package/dist/actions/delete-project.d.cts +9 -0
  169. package/dist/actions/delete-project.d.cts.map +1 -0
  170. package/dist/actions/delete-project.d.mts +9 -0
  171. package/dist/actions/delete-project.d.mts.map +1 -0
  172. package/dist/actions/delete-project.mjs +13 -0
  173. package/dist/actions/delete-project.mjs.map +1 -0
  174. package/dist/actions/delete-space-document.cjs +16 -0
  175. package/dist/actions/delete-space-document.cjs.map +1 -0
  176. package/dist/actions/delete-space-document.d.cts +9 -0
  177. package/dist/actions/delete-space-document.d.cts.map +1 -0
  178. package/dist/actions/delete-space-document.d.mts +9 -0
  179. package/dist/actions/delete-space-document.d.mts.map +1 -0
  180. package/dist/actions/delete-space-document.mjs +13 -0
  181. package/dist/actions/delete-space-document.mjs.map +1 -0
  182. package/dist/actions/delete-space.cjs +16 -0
  183. package/dist/actions/delete-space.cjs.map +1 -0
  184. package/dist/actions/delete-space.d.cts +9 -0
  185. package/dist/actions/delete-space.d.cts.map +1 -0
  186. package/dist/actions/delete-space.d.mts +9 -0
  187. package/dist/actions/delete-space.d.mts.map +1 -0
  188. package/dist/actions/delete-space.mjs +13 -0
  189. package/dist/actions/delete-space.mjs.map +1 -0
  190. package/dist/actions/delete-task-by-id.cjs +16 -0
  191. package/dist/actions/delete-task-by-id.cjs.map +1 -0
  192. package/dist/actions/delete-task-by-id.d.cts +9 -0
  193. package/dist/actions/delete-task-by-id.d.cts.map +1 -0
  194. package/dist/actions/delete-task-by-id.d.mts +9 -0
  195. package/dist/actions/delete-task-by-id.d.mts.map +1 -0
  196. package/dist/actions/delete-task-by-id.mjs +13 -0
  197. package/dist/actions/delete-task-by-id.mjs.map +1 -0
  198. package/dist/actions/delete-time-entry-by-id.cjs +16 -0
  199. package/dist/actions/delete-time-entry-by-id.cjs.map +1 -0
  200. package/dist/actions/delete-time-entry-by-id.d.cts +9 -0
  201. package/dist/actions/delete-time-entry-by-id.d.cts.map +1 -0
  202. package/dist/actions/delete-time-entry-by-id.d.mts +9 -0
  203. package/dist/actions/delete-time-entry-by-id.d.mts.map +1 -0
  204. package/dist/actions/delete-time-entry-by-id.mjs +13 -0
  205. package/dist/actions/delete-time-entry-by-id.mjs.map +1 -0
  206. package/dist/actions/get-all-conversations.cjs +51 -0
  207. package/dist/actions/get-all-conversations.cjs.map +1 -0
  208. package/dist/actions/get-all-conversations.d.cts +9 -0
  209. package/dist/actions/get-all-conversations.d.cts.map +1 -0
  210. package/dist/actions/get-all-conversations.d.mts +9 -0
  211. package/dist/actions/get-all-conversations.d.mts.map +1 -0
  212. package/dist/actions/get-all-conversations.mjs +50 -0
  213. package/dist/actions/get-all-conversations.mjs.map +1 -0
  214. package/dist/actions/get-all-fields.cjs +33 -0
  215. package/dist/actions/get-all-fields.cjs.map +1 -0
  216. package/dist/actions/get-all-fields.d.cts +9 -0
  217. package/dist/actions/get-all-fields.d.cts.map +1 -0
  218. package/dist/actions/get-all-fields.d.mts +9 -0
  219. package/dist/actions/get-all-fields.d.mts.map +1 -0
  220. package/dist/actions/get-all-fields.mjs +32 -0
  221. package/dist/actions/get-all-fields.mjs.map +1 -0
  222. package/dist/actions/get-all-resource-allocations.cjs +31 -0
  223. package/dist/actions/get-all-resource-allocations.cjs.map +1 -0
  224. package/dist/actions/get-all-resource-allocations.d.cts +9 -0
  225. package/dist/actions/get-all-resource-allocations.d.cts.map +1 -0
  226. package/dist/actions/get-all-resource-allocations.d.mts +9 -0
  227. package/dist/actions/get-all-resource-allocations.d.mts.map +1 -0
  228. package/dist/actions/get-all-resource-allocations.mjs +30 -0
  229. package/dist/actions/get-all-resource-allocations.mjs.map +1 -0
  230. package/dist/actions/get-all-spaces.cjs +50 -0
  231. package/dist/actions/get-all-spaces.cjs.map +1 -0
  232. package/dist/actions/get-all-spaces.d.cts +9 -0
  233. package/dist/actions/get-all-spaces.d.cts.map +1 -0
  234. package/dist/actions/get-all-spaces.d.mts +9 -0
  235. package/dist/actions/get-all-spaces.d.mts.map +1 -0
  236. package/dist/actions/get-all-spaces.mjs +49 -0
  237. package/dist/actions/get-all-spaces.mjs.map +1 -0
  238. package/dist/actions/get-all-tasks.cjs +151 -0
  239. package/dist/actions/get-all-tasks.cjs.map +1 -0
  240. package/dist/actions/get-all-tasks.d.cts +9 -0
  241. package/dist/actions/get-all-tasks.d.cts.map +1 -0
  242. package/dist/actions/get-all-tasks.d.mts +9 -0
  243. package/dist/actions/get-all-tasks.d.mts.map +1 -0
  244. package/dist/actions/get-all-tasks.mjs +150 -0
  245. package/dist/actions/get-all-tasks.mjs.map +1 -0
  246. package/dist/actions/get-all-timeoffs.cjs +30 -0
  247. package/dist/actions/get-all-timeoffs.cjs.map +1 -0
  248. package/dist/actions/get-all-timeoffs.d.cts +9 -0
  249. package/dist/actions/get-all-timeoffs.d.cts.map +1 -0
  250. package/dist/actions/get-all-timeoffs.d.mts +9 -0
  251. package/dist/actions/get-all-timeoffs.d.mts.map +1 -0
  252. package/dist/actions/get-all-timeoffs.mjs +29 -0
  253. package/dist/actions/get-all-timeoffs.mjs.map +1 -0
  254. package/dist/actions/get-comments.cjs +59 -0
  255. package/dist/actions/get-comments.cjs.map +1 -0
  256. package/dist/actions/get-comments.d.cts +9 -0
  257. package/dist/actions/get-comments.d.cts.map +1 -0
  258. package/dist/actions/get-comments.d.mts +9 -0
  259. package/dist/actions/get-comments.d.mts.map +1 -0
  260. package/dist/actions/get-comments.mjs +58 -0
  261. package/dist/actions/get-comments.mjs.map +1 -0
  262. package/dist/actions/get-company.cjs +22 -0
  263. package/dist/actions/get-company.cjs.map +1 -0
  264. package/dist/actions/get-company.d.cts +9 -0
  265. package/dist/actions/get-company.d.cts.map +1 -0
  266. package/dist/actions/get-company.d.mts +9 -0
  267. package/dist/actions/get-company.d.mts.map +1 -0
  268. package/dist/actions/get-company.mjs +19 -0
  269. package/dist/actions/get-company.mjs.map +1 -0
  270. package/dist/actions/get-conversation.cjs +39 -0
  271. package/dist/actions/get-conversation.cjs.map +1 -0
  272. package/dist/actions/get-conversation.d.cts +9 -0
  273. package/dist/actions/get-conversation.d.cts.map +1 -0
  274. package/dist/actions/get-conversation.d.mts +9 -0
  275. package/dist/actions/get-conversation.d.mts.map +1 -0
  276. package/dist/actions/get-conversation.mjs +38 -0
  277. package/dist/actions/get-conversation.mjs.map +1 -0
  278. package/dist/actions/get-field-by-id.cjs +16 -0
  279. package/dist/actions/get-field-by-id.cjs.map +1 -0
  280. package/dist/actions/get-field-by-id.d.cts +9 -0
  281. package/dist/actions/get-field-by-id.d.cts.map +1 -0
  282. package/dist/actions/get-field-by-id.d.mts +9 -0
  283. package/dist/actions/get-field-by-id.d.mts.map +1 -0
  284. package/dist/actions/get-field-by-id.mjs +13 -0
  285. package/dist/actions/get-field-by-id.mjs.map +1 -0
  286. package/dist/actions/get-phase-by-id.cjs +20 -0
  287. package/dist/actions/get-phase-by-id.cjs.map +1 -0
  288. package/dist/actions/get-phase-by-id.d.cts +9 -0
  289. package/dist/actions/get-phase-by-id.d.cts.map +1 -0
  290. package/dist/actions/get-phase-by-id.d.mts +9 -0
  291. package/dist/actions/get-phase-by-id.d.mts.map +1 -0
  292. package/dist/actions/get-phase-by-id.mjs +17 -0
  293. package/dist/actions/get-phase-by-id.mjs.map +1 -0
  294. package/dist/actions/get-project-by-id.cjs +189 -0
  295. package/dist/actions/get-project-by-id.cjs.map +1 -0
  296. package/dist/actions/get-project-by-id.d.cts +9 -0
  297. package/dist/actions/get-project-by-id.d.cts.map +1 -0
  298. package/dist/actions/get-project-by-id.d.mts +9 -0
  299. package/dist/actions/get-project-by-id.d.mts.map +1 -0
  300. package/dist/actions/get-project-by-id.mjs +188 -0
  301. package/dist/actions/get-project-by-id.mjs.map +1 -0
  302. package/dist/actions/get-space.cjs +27 -0
  303. package/dist/actions/get-space.cjs.map +1 -0
  304. package/dist/actions/get-space.d.cts +9 -0
  305. package/dist/actions/get-space.d.cts.map +1 -0
  306. package/dist/actions/get-space.d.mts +9 -0
  307. package/dist/actions/get-space.d.mts.map +1 -0
  308. package/dist/actions/get-space.mjs +26 -0
  309. package/dist/actions/get-space.mjs.map +1 -0
  310. package/dist/actions/get-task-by-id.cjs +118 -0
  311. package/dist/actions/get-task-by-id.cjs.map +1 -0
  312. package/dist/actions/get-task-by-id.d.cts +9 -0
  313. package/dist/actions/get-task-by-id.d.cts.map +1 -0
  314. package/dist/actions/get-task-by-id.d.mts +9 -0
  315. package/dist/actions/get-task-by-id.d.mts.map +1 -0
  316. package/dist/actions/get-task-by-id.mjs +117 -0
  317. package/dist/actions/get-task-by-id.mjs.map +1 -0
  318. package/dist/actions/get-template-by-id.cjs +16 -0
  319. package/dist/actions/get-template-by-id.cjs.map +1 -0
  320. package/dist/actions/get-template-by-id.d.cts +9 -0
  321. package/dist/actions/get-template-by-id.d.cts.map +1 -0
  322. package/dist/actions/get-template-by-id.d.mts +9 -0
  323. package/dist/actions/get-template-by-id.d.mts.map +1 -0
  324. package/dist/actions/get-template-by-id.mjs +13 -0
  325. package/dist/actions/get-template-by-id.mjs.map +1 -0
  326. package/dist/actions/get-time-entries.cjs +49 -0
  327. package/dist/actions/get-time-entries.cjs.map +1 -0
  328. package/dist/actions/get-time-entries.d.cts +9 -0
  329. package/dist/actions/get-time-entries.d.cts.map +1 -0
  330. package/dist/actions/get-time-entries.d.mts +9 -0
  331. package/dist/actions/get-time-entries.d.mts.map +1 -0
  332. package/dist/actions/get-time-entries.mjs +48 -0
  333. package/dist/actions/get-time-entries.mjs.map +1 -0
  334. package/dist/actions/get-time-entry-by-id.cjs +56 -0
  335. package/dist/actions/get-time-entry-by-id.cjs.map +1 -0
  336. package/dist/actions/get-time-entry-by-id.d.cts +9 -0
  337. package/dist/actions/get-time-entry-by-id.d.cts.map +1 -0
  338. package/dist/actions/get-time-entry-by-id.d.mts +9 -0
  339. package/dist/actions/get-time-entry-by-id.d.mts.map +1 -0
  340. package/dist/actions/get-time-entry-by-id.mjs +55 -0
  341. package/dist/actions/get-time-entry-by-id.mjs.map +1 -0
  342. package/dist/actions/get-time-entry-categories.cjs +28 -0
  343. package/dist/actions/get-time-entry-categories.cjs.map +1 -0
  344. package/dist/actions/get-time-entry-categories.d.cts +9 -0
  345. package/dist/actions/get-time-entry-categories.d.cts.map +1 -0
  346. package/dist/actions/get-time-entry-categories.d.mts +9 -0
  347. package/dist/actions/get-time-entry-categories.d.mts.map +1 -0
  348. package/dist/actions/get-time-entry-categories.mjs +27 -0
  349. package/dist/actions/get-time-entry-categories.mjs.map +1 -0
  350. package/dist/actions/get-user-by-id.cjs +26 -0
  351. package/dist/actions/get-user-by-id.cjs.map +1 -0
  352. package/dist/actions/get-user-by-id.d.cts +9 -0
  353. package/dist/actions/get-user-by-id.d.cts.map +1 -0
  354. package/dist/actions/get-user-by-id.d.mts +9 -0
  355. package/dist/actions/get-user-by-id.d.mts.map +1 -0
  356. package/dist/actions/get-user-by-id.mjs +23 -0
  357. package/dist/actions/get-user-by-id.mjs.map +1 -0
  358. package/dist/actions/index.cjs +139 -0
  359. package/dist/actions/index.d.cts +70 -0
  360. package/dist/actions/index.d.mts +70 -0
  361. package/dist/actions/index.mjs +70 -0
  362. package/dist/actions/list-companies.cjs +22 -0
  363. package/dist/actions/list-companies.cjs.map +1 -0
  364. package/dist/actions/list-companies.d.cts +9 -0
  365. package/dist/actions/list-companies.d.cts.map +1 -0
  366. package/dist/actions/list-companies.d.mts +9 -0
  367. package/dist/actions/list-companies.d.mts.map +1 -0
  368. package/dist/actions/list-companies.mjs +21 -0
  369. package/dist/actions/list-companies.mjs.map +1 -0
  370. package/dist/actions/list-currencies.cjs +21 -0
  371. package/dist/actions/list-currencies.cjs.map +1 -0
  372. package/dist/actions/list-currencies.d.cts +9 -0
  373. package/dist/actions/list-currencies.d.cts.map +1 -0
  374. package/dist/actions/list-currencies.d.mts +9 -0
  375. package/dist/actions/list-currencies.d.mts.map +1 -0
  376. package/dist/actions/list-currencies.mjs +20 -0
  377. package/dist/actions/list-currencies.mjs.map +1 -0
  378. package/dist/actions/list-project-phases.cjs +103 -0
  379. package/dist/actions/list-project-phases.cjs.map +1 -0
  380. package/dist/actions/list-project-phases.d.cts +9 -0
  381. package/dist/actions/list-project-phases.d.cts.map +1 -0
  382. package/dist/actions/list-project-phases.d.mts +9 -0
  383. package/dist/actions/list-project-phases.d.mts.map +1 -0
  384. package/dist/actions/list-project-phases.mjs +102 -0
  385. package/dist/actions/list-project-phases.mjs.map +1 -0
  386. package/dist/actions/list-projects.cjs +78 -0
  387. package/dist/actions/list-projects.cjs.map +1 -0
  388. package/dist/actions/list-projects.d.cts +9 -0
  389. package/dist/actions/list-projects.d.cts.map +1 -0
  390. package/dist/actions/list-projects.d.mts +9 -0
  391. package/dist/actions/list-projects.d.mts.map +1 -0
  392. package/dist/actions/list-projects.mjs +77 -0
  393. package/dist/actions/list-projects.mjs.map +1 -0
  394. package/dist/actions/list-templates.cjs +39 -0
  395. package/dist/actions/list-templates.cjs.map +1 -0
  396. package/dist/actions/list-templates.d.cts +9 -0
  397. package/dist/actions/list-templates.d.cts.map +1 -0
  398. package/dist/actions/list-templates.d.mts +9 -0
  399. package/dist/actions/list-templates.d.mts.map +1 -0
  400. package/dist/actions/list-templates.mjs +38 -0
  401. package/dist/actions/list-templates.mjs.map +1 -0
  402. package/dist/actions/list-users.cjs +37 -0
  403. package/dist/actions/list-users.cjs.map +1 -0
  404. package/dist/actions/list-users.d.cts +9 -0
  405. package/dist/actions/list-users.d.cts.map +1 -0
  406. package/dist/actions/list-users.d.mts +9 -0
  407. package/dist/actions/list-users.d.mts.map +1 -0
  408. package/dist/actions/list-users.mjs +36 -0
  409. package/dist/actions/list-users.mjs.map +1 -0
  410. package/dist/actions/move-task-to-given-phase.cjs +44 -0
  411. package/dist/actions/move-task-to-given-phase.cjs.map +1 -0
  412. package/dist/actions/move-task-to-given-phase.d.cts +9 -0
  413. package/dist/actions/move-task-to-given-phase.d.cts.map +1 -0
  414. package/dist/actions/move-task-to-given-phase.d.mts +9 -0
  415. package/dist/actions/move-task-to-given-phase.d.mts.map +1 -0
  416. package/dist/actions/move-task-to-given-phase.mjs +43 -0
  417. package/dist/actions/move-task-to-given-phase.mjs.map +1 -0
  418. package/dist/actions/remove-assignees-from-task.cjs +23 -0
  419. package/dist/actions/remove-assignees-from-task.cjs.map +1 -0
  420. package/dist/actions/remove-assignees-from-task.d.cts +9 -0
  421. package/dist/actions/remove-assignees-from-task.d.cts.map +1 -0
  422. package/dist/actions/remove-assignees-from-task.d.mts +9 -0
  423. package/dist/actions/remove-assignees-from-task.d.mts.map +1 -0
  424. package/dist/actions/remove-assignees-from-task.mjs +20 -0
  425. package/dist/actions/remove-assignees-from-task.mjs.map +1 -0
  426. package/dist/actions/remove-dependencies-from-task.cjs +19 -0
  427. package/dist/actions/remove-dependencies-from-task.cjs.map +1 -0
  428. package/dist/actions/remove-dependencies-from-task.d.cts +9 -0
  429. package/dist/actions/remove-dependencies-from-task.d.cts.map +1 -0
  430. package/dist/actions/remove-dependencies-from-task.d.mts +9 -0
  431. package/dist/actions/remove-dependencies-from-task.d.mts.map +1 -0
  432. package/dist/actions/remove-dependencies-from-task.mjs +16 -0
  433. package/dist/actions/remove-dependencies-from-task.mjs.map +1 -0
  434. package/dist/actions/remove-followers-from-task.cjs +19 -0
  435. package/dist/actions/remove-followers-from-task.cjs.map +1 -0
  436. package/dist/actions/remove-followers-from-task.d.cts +9 -0
  437. package/dist/actions/remove-followers-from-task.d.cts.map +1 -0
  438. package/dist/actions/remove-followers-from-task.d.mts +9 -0
  439. package/dist/actions/remove-followers-from-task.d.mts.map +1 -0
  440. package/dist/actions/remove-followers-from-task.mjs +16 -0
  441. package/dist/actions/remove-followers-from-task.mjs.map +1 -0
  442. package/dist/actions/remove-members-from-conversation.cjs +33 -0
  443. package/dist/actions/remove-members-from-conversation.cjs.map +1 -0
  444. package/dist/actions/remove-members-from-conversation.d.cts +9 -0
  445. package/dist/actions/remove-members-from-conversation.d.cts.map +1 -0
  446. package/dist/actions/remove-members-from-conversation.d.mts +9 -0
  447. package/dist/actions/remove-members-from-conversation.d.mts.map +1 -0
  448. package/dist/actions/remove-members-from-conversation.mjs +32 -0
  449. package/dist/actions/remove-members-from-conversation.mjs.map +1 -0
  450. package/dist/actions/retrieve-subscription-details.cjs +41 -0
  451. package/dist/actions/retrieve-subscription-details.cjs.map +1 -0
  452. package/dist/actions/retrieve-subscription-details.d.cts +9 -0
  453. package/dist/actions/retrieve-subscription-details.d.cts.map +1 -0
  454. package/dist/actions/retrieve-subscription-details.d.mts +9 -0
  455. package/dist/actions/retrieve-subscription-details.d.mts.map +1 -0
  456. package/dist/actions/retrieve-subscription-details.mjs +40 -0
  457. package/dist/actions/retrieve-subscription-details.mjs.map +1 -0
  458. package/dist/actions/search-invoices.cjs +49 -0
  459. package/dist/actions/search-invoices.cjs.map +1 -0
  460. package/dist/actions/search-invoices.d.cts +9 -0
  461. package/dist/actions/search-invoices.d.cts.map +1 -0
  462. package/dist/actions/search-invoices.d.mts +9 -0
  463. package/dist/actions/search-invoices.d.mts.map +1 -0
  464. package/dist/actions/search-invoices.mjs +48 -0
  465. package/dist/actions/search-invoices.mjs.map +1 -0
  466. package/dist/actions/search-time-entries.cjs +99 -0
  467. package/dist/actions/search-time-entries.cjs.map +1 -0
  468. package/dist/actions/search-time-entries.d.cts +9 -0
  469. package/dist/actions/search-time-entries.d.cts.map +1 -0
  470. package/dist/actions/search-time-entries.d.mts +9 -0
  471. package/dist/actions/search-time-entries.d.mts.map +1 -0
  472. package/dist/actions/search-time-entries.mjs +98 -0
  473. package/dist/actions/search-time-entries.mjs.map +1 -0
  474. package/dist/actions/search-user-by-email.cjs +27 -0
  475. package/dist/actions/search-user-by-email.cjs.map +1 -0
  476. package/dist/actions/search-user-by-email.d.cts +9 -0
  477. package/dist/actions/search-user-by-email.d.cts.map +1 -0
  478. package/dist/actions/search-user-by-email.d.mts +9 -0
  479. package/dist/actions/search-user-by-email.d.mts.map +1 -0
  480. package/dist/actions/search-user-by-email.mjs +26 -0
  481. package/dist/actions/search-user-by-email.mjs.map +1 -0
  482. package/dist/actions/update-company.cjs +30 -0
  483. package/dist/actions/update-company.cjs.map +1 -0
  484. package/dist/actions/update-company.d.cts +9 -0
  485. package/dist/actions/update-company.d.cts.map +1 -0
  486. package/dist/actions/update-company.d.mts +9 -0
  487. package/dist/actions/update-company.d.mts.map +1 -0
  488. package/dist/actions/update-company.mjs +27 -0
  489. package/dist/actions/update-company.mjs.map +1 -0
  490. package/dist/actions/update-conversation.cjs +42 -0
  491. package/dist/actions/update-conversation.cjs.map +1 -0
  492. package/dist/actions/update-conversation.d.cts +9 -0
  493. package/dist/actions/update-conversation.d.cts.map +1 -0
  494. package/dist/actions/update-conversation.d.mts +9 -0
  495. package/dist/actions/update-conversation.d.mts.map +1 -0
  496. package/dist/actions/update-conversation.mjs +41 -0
  497. package/dist/actions/update-conversation.mjs.map +1 -0
  498. package/dist/actions/update-field-option.cjs +36 -0
  499. package/dist/actions/update-field-option.cjs.map +1 -0
  500. package/dist/actions/update-field-option.d.cts +9 -0
  501. package/dist/actions/update-field-option.d.cts.map +1 -0
  502. package/dist/actions/update-field-option.d.mts +9 -0
  503. package/dist/actions/update-field-option.d.mts.map +1 -0
  504. package/dist/actions/update-field-option.mjs +33 -0
  505. package/dist/actions/update-field-option.mjs.map +1 -0
  506. package/dist/actions/update-field.cjs +32 -0
  507. package/dist/actions/update-field.cjs.map +1 -0
  508. package/dist/actions/update-field.d.cts +9 -0
  509. package/dist/actions/update-field.d.cts.map +1 -0
  510. package/dist/actions/update-field.d.mts +9 -0
  511. package/dist/actions/update-field.d.mts.map +1 -0
  512. package/dist/actions/update-field.mjs +29 -0
  513. package/dist/actions/update-field.mjs.map +1 -0
  514. package/dist/actions/update-phase.cjs +37 -0
  515. package/dist/actions/update-phase.cjs.map +1 -0
  516. package/dist/actions/update-phase.d.cts +9 -0
  517. package/dist/actions/update-phase.d.cts.map +1 -0
  518. package/dist/actions/update-phase.d.mts +9 -0
  519. package/dist/actions/update-phase.d.mts.map +1 -0
  520. package/dist/actions/update-phase.mjs +36 -0
  521. package/dist/actions/update-phase.mjs.map +1 -0
  522. package/dist/actions/update-project-by-id.cjs +55 -0
  523. package/dist/actions/update-project-by-id.cjs.map +1 -0
  524. package/dist/actions/update-project-by-id.d.cts +9 -0
  525. package/dist/actions/update-project-by-id.d.cts.map +1 -0
  526. package/dist/actions/update-project-by-id.d.mts +9 -0
  527. package/dist/actions/update-project-by-id.d.mts.map +1 -0
  528. package/dist/actions/update-project-by-id.mjs +52 -0
  529. package/dist/actions/update-project-by-id.mjs.map +1 -0
  530. package/dist/actions/update-space-document.cjs +27 -0
  531. package/dist/actions/update-space-document.cjs.map +1 -0
  532. package/dist/actions/update-space-document.d.cts +9 -0
  533. package/dist/actions/update-space-document.d.cts.map +1 -0
  534. package/dist/actions/update-space-document.d.mts +9 -0
  535. package/dist/actions/update-space-document.d.mts.map +1 -0
  536. package/dist/actions/update-space-document.mjs +24 -0
  537. package/dist/actions/update-space-document.mjs.map +1 -0
  538. package/dist/actions/update-space.cjs +39 -0
  539. package/dist/actions/update-space.cjs.map +1 -0
  540. package/dist/actions/update-space.d.cts +9 -0
  541. package/dist/actions/update-space.d.cts.map +1 -0
  542. package/dist/actions/update-space.d.mts +9 -0
  543. package/dist/actions/update-space.d.mts.map +1 -0
  544. package/dist/actions/update-space.mjs +38 -0
  545. package/dist/actions/update-space.mjs.map +1 -0
  546. package/dist/actions/update-task-by-id.cjs +41 -0
  547. package/dist/actions/update-task-by-id.cjs.map +1 -0
  548. package/dist/actions/update-task-by-id.d.cts +9 -0
  549. package/dist/actions/update-task-by-id.d.cts.map +1 -0
  550. package/dist/actions/update-task-by-id.d.mts +9 -0
  551. package/dist/actions/update-task-by-id.d.mts.map +1 -0
  552. package/dist/actions/update-task-by-id.mjs +38 -0
  553. package/dist/actions/update-task-by-id.mjs.map +1 -0
  554. package/dist/actions/update-time-entry-by-id.cjs +23 -0
  555. package/dist/actions/update-time-entry-by-id.cjs.map +1 -0
  556. package/dist/actions/update-time-entry-by-id.d.cts +9 -0
  557. package/dist/actions/update-time-entry-by-id.d.cts.map +1 -0
  558. package/dist/actions/update-time-entry-by-id.d.mts +9 -0
  559. package/dist/actions/update-time-entry-by-id.d.mts.map +1 -0
  560. package/dist/actions/update-time-entry-by-id.mjs +20 -0
  561. package/dist/actions/update-time-entry-by-id.mjs.map +1 -0
  562. package/dist/app.cjs +9 -0
  563. package/dist/app.cjs.map +1 -0
  564. package/dist/app.d.cts +5 -0
  565. package/dist/app.d.cts.map +1 -0
  566. package/dist/app.d.mts +5 -0
  567. package/dist/app.d.mts.map +1 -0
  568. package/dist/app.mjs +10 -0
  569. package/dist/app.mjs.map +1 -0
  570. package/dist/catalog.cjs +15 -0
  571. package/dist/catalog.cjs.map +1 -0
  572. package/dist/catalog.d.cts +14 -0
  573. package/dist/catalog.d.cts.map +1 -0
  574. package/dist/catalog.d.mts +14 -0
  575. package/dist/catalog.d.mts.map +1 -0
  576. package/dist/catalog.mjs +15 -0
  577. package/dist/catalog.mjs.map +1 -0
  578. package/dist/execute.cjs +18 -0
  579. package/dist/execute.cjs.map +1 -0
  580. package/dist/execute.mjs +18 -0
  581. package/dist/execute.mjs.map +1 -0
  582. package/dist/index.cjs +144 -0
  583. package/dist/index.d.cts +72 -0
  584. package/dist/index.d.mts +72 -0
  585. package/dist/index.mjs +73 -0
  586. package/package.json +49 -0
@@ -0,0 +1,105 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-project.ts
4
+ const RocketlaneCreateProjectInput = z.object({
5
+ owner: z.object({
6
+ userId: z.number().int().describe("The unique identifier of the project owner user.").optional(),
7
+ emailId: z.string().describe("Email address of the project owner. This user must exist in the Rocketlane workspace."),
8
+ lastName: z.string().describe("Last name of the project owner.").optional(),
9
+ firstName: z.string().describe("First name of the project owner.").optional()
10
+ }).describe("Project owner information. The emailId is required."),
11
+ fields: z.array(z.object({
12
+ fieldId: z.number().int().describe("The unique identifier of the custom field."),
13
+ fieldValue: z.union([
14
+ z.string(),
15
+ z.number().int(),
16
+ z.array(z.union([
17
+ z.string(),
18
+ z.number().int(),
19
+ z.boolean(),
20
+ z.number()
21
+ ]))
22
+ ])
23
+ }).describe("Custom field for the project.")).describe("Custom fields for the project.").optional(),
24
+ dueDate: z.string().describe("The due date of the project in YYYY-MM-DD format.").optional(),
25
+ sources: z.array(z.object({
26
+ startDate: z.string().describe("Start date for the project when created from template, in YYYY-MM-DD format.").optional(),
27
+ templateId: z.number().int().describe("The unique identifier of the template to use for creating the project.")
28
+ }).describe("Source information for creating the project from a template.")).describe("Array of source information to create the project from a template.").optional(),
29
+ customer: z.object({
30
+ companyId: z.number().int().describe("The unique identifier of an existing company. Use this to link the project to an existing company.").optional(),
31
+ companyName: z.string().describe("The name of the customer company. If companyId is not provided, a new company will be created with this name.").optional(),
32
+ autoCreateCompany: z.boolean().describe("When set to true, automatically creates a company if it doesn't exist. Defaults to false.").optional()
33
+ }).describe("Customer information for the project. Must provide either companyId or companyName."),
34
+ startDate: z.string().describe("The start date of the project in YYYY-MM-DD format.").optional(),
35
+ financials: z.object({ contractType: z.string().describe("The type of contract for the project.").optional() }).describe("Financial information for the project.").optional(),
36
+ projectFee: z.number().int().describe("The total fee charged for the project.").optional(),
37
+ visibility: z.string().describe("Visibility setting for the project. Options: EVERYONE, MEMBERS.").optional(),
38
+ projectName: z.string().describe("The name of the project to be created."),
39
+ budgetedHours: z.number().describe("Total hours budgeted for the project execution.").optional(),
40
+ autoAllocation: z.boolean().describe("Whether auto allocation is enabled for the project.").optional(),
41
+ externalReferenceId: z.string().describe("External reference identifier for linking with external systems.").optional(),
42
+ annualizedRecurringRevenue: z.number().int().describe("The annual recurring revenue associated with the project.").optional()
43
+ }).describe("Request model for creating a project.");
44
+ const RocketlaneCreateProject_ProjectOwnerResponseSchema = z.object({
45
+ userId: z.number().int().describe("Owner's user ID").nullable().optional(),
46
+ emailId: z.string().describe("Owner's email address").nullable().optional(),
47
+ lastName: z.string().describe("Owner's last name").nullable().optional(),
48
+ firstName: z.string().describe("Owner's first name").nullable().optional()
49
+ }).describe("Response model for project owner.");
50
+ const RocketlaneCreateProject_ProjectFieldResponseSchema = z.object({
51
+ fieldId: z.number().int().describe("Field ID").nullable().optional(),
52
+ fieldLabel: z.string().describe("Field label").nullable().optional(),
53
+ fieldValue: z.union([
54
+ z.string(),
55
+ z.number().int(),
56
+ z.array(z.union([
57
+ z.string(),
58
+ z.number().int(),
59
+ z.boolean(),
60
+ z.number()
61
+ ]))
62
+ ]).nullable().optional()
63
+ }).describe("Response model for project custom field.");
64
+ const RocketlaneCreateProject_ProjectStatusResponseSchema = z.object({
65
+ label: z.string().describe("Status label").nullable().optional(),
66
+ value: z.number().int().describe("Status value").nullable().optional()
67
+ }).describe("Response model for project status.");
68
+ const RocketlaneCreateProject_ProjectCustomerResponseSchema = z.object({
69
+ companyId: z.number().int().describe("Company ID").nullable().optional(),
70
+ companyUrl: z.string().describe("Company URL").nullable().optional(),
71
+ companyName: z.string().describe("Company name").nullable().optional()
72
+ }).describe("Response model for project customer.");
73
+ const rocketlaneCreateProject = action("ROCKETLANE_CREATE_PROJECT", {
74
+ slug: "rocketlane-create-project",
75
+ name: "Create Project",
76
+ description: "Tool to create a new project in Rocketlane. Use when you need to set up a new project with details like name, customer, owner, dates, and custom fields.",
77
+ input: RocketlaneCreateProjectInput,
78
+ output: z.object({
79
+ owner: RocketlaneCreateProject_ProjectOwnerResponseSchema.nullable().optional(),
80
+ fields: z.array(RocketlaneCreateProject_ProjectFieldResponseSchema).describe("Custom fields").nullable().optional(),
81
+ status: RocketlaneCreateProject_ProjectStatusResponseSchema.nullable().optional(),
82
+ dueDate: z.string().describe("Project due date in YYYY-MM-DD format").nullable().optional(),
83
+ archived: z.boolean().describe("Whether the project is archived").nullable().optional(),
84
+ customer: RocketlaneCreateProject_ProjectCustomerResponseSchema.nullable().optional(),
85
+ createdAt: z.number().int().describe("Project creation timestamp in epoch milliseconds").nullable().optional(),
86
+ projectId: z.number().int().describe("The project's unique identifier").nullable().optional(),
87
+ startDate: z.string().describe("Project start date in YYYY-MM-DD format").nullable().optional(),
88
+ updatedAt: z.number().int().describe("Project last update timestamp in epoch milliseconds").nullable().optional(),
89
+ projectFee: z.number().int().describe("Project fee").nullable().optional(),
90
+ visibility: z.string().describe("Project visibility setting").nullable().optional(),
91
+ projectName: z.string().describe("The name of the project").nullable().optional(),
92
+ trackedHours: z.number().int().describe("Tracked hours").nullable().optional(),
93
+ budgetedHours: z.number().describe("Budgeted hours").nullable().optional(),
94
+ dueDateActual: z.string().describe("Actual due date of the project").nullable().optional(),
95
+ allocatedHours: z.number().int().describe("Allocated hours").nullable().optional(),
96
+ startDateActual: z.string().describe("Actual start date of the project").nullable().optional(),
97
+ progressPercentage: z.number().int().describe("Project progress percentage").nullable().optional(),
98
+ externalReferenceId: z.string().describe("External reference ID").nullable().optional(),
99
+ annualizedRecurringRevenue: z.number().int().describe("Annual recurring revenue").nullable().optional()
100
+ }).describe("Response model for project creation.")
101
+ });
102
+ //#endregion
103
+ export { rocketlaneCreateProject };
104
+
105
+ //# sourceMappingURL=create-project.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project.mjs","names":[],"sources":["../../src/actions/create-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketlaneCreateProjectInput: z.ZodTypeAny = z.object({\n owner: z.object({\n userId: z.number().int().describe(\"The unique identifier of the project owner user.\").optional(),\n emailId: z.string().describe(\"Email address of the project owner. This user must exist in the Rocketlane workspace.\"),\n lastName: z.string().describe(\"Last name of the project owner.\").optional(),\n firstName: z.string().describe(\"First name of the project owner.\").optional(),\n}).describe(\"Project owner information. The emailId is required.\"),\n fields: z.array(z.object({\n fieldId: z.number().int().describe(\"The unique identifier of the custom field.\"),\n fieldValue: z.union([z.string(), z.number().int(), z.array(z.union([z.string(), z.number().int(), z.boolean(), z.number()]))]),\n}).describe(\"Custom field for the project.\")).describe(\"Custom fields for the project.\").optional(),\n dueDate: z.string().describe(\"The due date of the project in YYYY-MM-DD format.\").optional(),\n sources: z.array(z.object({\n startDate: z.string().describe(\"Start date for the project when created from template, in YYYY-MM-DD format.\").optional(),\n templateId: z.number().int().describe(\"The unique identifier of the template to use for creating the project.\"),\n}).describe(\"Source information for creating the project from a template.\")).describe(\"Array of source information to create the project from a template.\").optional(),\n customer: z.object({\n companyId: z.number().int().describe(\"The unique identifier of an existing company. Use this to link the project to an existing company.\").optional(),\n companyName: z.string().describe(\"The name of the customer company. If companyId is not provided, a new company will be created with this name.\").optional(),\n autoCreateCompany: z.boolean().describe(\"When set to true, automatically creates a company if it doesn't exist. Defaults to false.\").optional(),\n}).describe(\"Customer information for the project. Must provide either companyId or companyName.\"),\n startDate: z.string().describe(\"The start date of the project in YYYY-MM-DD format.\").optional(),\n financials: z.object({\n contractType: z.string().describe(\"The type of contract for the project.\").optional(),\n}).describe(\"Financial information for the project.\").optional(),\n projectFee: z.number().int().describe(\"The total fee charged for the project.\").optional(),\n visibility: z.string().describe(\"Visibility setting for the project. Options: EVERYONE, MEMBERS.\").optional(),\n projectName: z.string().describe(\"The name of the project to be created.\"),\n budgetedHours: z.number().describe(\"Total hours budgeted for the project execution.\").optional(),\n autoAllocation: z.boolean().describe(\"Whether auto allocation is enabled for the project.\").optional(),\n externalReferenceId: z.string().describe(\"External reference identifier for linking with external systems.\").optional(),\n annualizedRecurringRevenue: z.number().int().describe(\"The annual recurring revenue associated with the project.\").optional(),\n}).describe(\"Request model for creating a project.\");\nconst RocketlaneCreateProject_ProjectOwnerResponseSchema: z.ZodTypeAny = z.object({\n userId: z.number().int().describe(\"Owner's user ID\").nullable().optional(),\n emailId: z.string().describe(\"Owner's email address\").nullable().optional(),\n lastName: z.string().describe(\"Owner's last name\").nullable().optional(),\n firstName: z.string().describe(\"Owner's first name\").nullable().optional(),\n}).describe(\"Response model for project owner.\");\nconst RocketlaneCreateProject_ProjectFieldResponseSchema: z.ZodTypeAny = z.object({\n fieldId: z.number().int().describe(\"Field ID\").nullable().optional(),\n fieldLabel: z.string().describe(\"Field label\").nullable().optional(),\n fieldValue: z.union([z.string(), z.number().int(), z.array(z.union([z.string(), z.number().int(), z.boolean(), z.number()]))]).nullable().optional(),\n}).describe(\"Response model for project custom field.\");\nconst RocketlaneCreateProject_ProjectStatusResponseSchema: z.ZodTypeAny = z.object({\n label: z.string().describe(\"Status label\").nullable().optional(),\n value: z.number().int().describe(\"Status value\").nullable().optional(),\n}).describe(\"Response model for project status.\");\nconst RocketlaneCreateProject_ProjectCustomerResponseSchema: z.ZodTypeAny = z.object({\n companyId: z.number().int().describe(\"Company ID\").nullable().optional(),\n companyUrl: z.string().describe(\"Company URL\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n}).describe(\"Response model for project customer.\");\nexport const RocketlaneCreateProjectOutput: z.ZodTypeAny = z.object({\n owner: RocketlaneCreateProject_ProjectOwnerResponseSchema.nullable().optional(),\n fields: z.array(RocketlaneCreateProject_ProjectFieldResponseSchema).describe(\"Custom fields\").nullable().optional(),\n status: RocketlaneCreateProject_ProjectStatusResponseSchema.nullable().optional(),\n dueDate: z.string().describe(\"Project due date in YYYY-MM-DD format\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the project is archived\").nullable().optional(),\n customer: RocketlaneCreateProject_ProjectCustomerResponseSchema.nullable().optional(),\n createdAt: z.number().int().describe(\"Project creation timestamp in epoch milliseconds\").nullable().optional(),\n projectId: z.number().int().describe(\"The project's unique identifier\").nullable().optional(),\n startDate: z.string().describe(\"Project start date in YYYY-MM-DD format\").nullable().optional(),\n updatedAt: z.number().int().describe(\"Project last update timestamp in epoch milliseconds\").nullable().optional(),\n projectFee: z.number().int().describe(\"Project fee\").nullable().optional(),\n visibility: z.string().describe(\"Project visibility setting\").nullable().optional(),\n projectName: z.string().describe(\"The name of the project\").nullable().optional(),\n trackedHours: z.number().int().describe(\"Tracked hours\").nullable().optional(),\n budgetedHours: z.number().describe(\"Budgeted hours\").nullable().optional(),\n dueDateActual: z.string().describe(\"Actual due date of the project\").nullable().optional(),\n allocatedHours: z.number().int().describe(\"Allocated hours\").nullable().optional(),\n startDateActual: z.string().describe(\"Actual start date of the project\").nullable().optional(),\n progressPercentage: z.number().int().describe(\"Project progress percentage\").nullable().optional(),\n externalReferenceId: z.string().describe(\"External reference ID\").nullable().optional(),\n annualizedRecurringRevenue: z.number().int().describe(\"Annual recurring revenue\").nullable().optional(),\n}).describe(\"Response model for project creation.\");\n\nexport const rocketlaneCreateProject = action(\"ROCKETLANE_CREATE_PROJECT\", {\n slug: \"rocketlane-create-project\",\n name: \"Create Project\",\n description: \"Tool to create a new project in Rocketlane. Use when you need to set up a new project with details like name, customer, owner, dates, and custom fields.\",\n input: RocketlaneCreateProjectInput,\n output: RocketlaneCreateProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO;E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,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-space-document.ts
4
+ const RocketlaneCreateSpaceDocumentInput = zod.z.object({
5
+ url: zod.z.string().describe("URL for embedded documents. Required when spaceDocumentType is EMBEDDED_DOCUMENT").optional(),
6
+ space: zod.z.object({ spaceId: zod.z.number().int().describe("ID of the space where the document will be created") }).describe("Space object containing the ID of the space where the document will be created"),
7
+ source: zod.z.object({ templateId: zod.z.number().int().describe("ID of the template to use for document creation").optional() }).describe("Source object containing template references.").optional(),
8
+ spaceDocumentName: zod.z.string().describe("Name of the space document. Defaults to 'Untitled' if not provided").optional(),
9
+ spaceDocumentType: zod.z.enum(["ROCKETLANE_DOCUMENT", "EMBEDDED_DOCUMENT"]).describe("Type of space document. Use ROCKETLANE_DOCUMENT for native Rocketlane documents or EMBEDDED_DOCUMENT for embedded URLs")
10
+ }).describe("Request model for creating a space document.");
11
+ const RocketlaneCreateSpaceDocumentOutput = zod.z.object({
12
+ url: zod.z.string().describe("URL of the embedded document").nullable().optional(),
13
+ space: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Space object containing spaceId").nullable().optional(),
14
+ source: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Source object with template information").nullable().optional(),
15
+ createdAt: zod.z.number().int().describe("Creation timestamp in milliseconds").nullable().optional(),
16
+ updatedAt: zod.z.number().int().describe("Last update timestamp in milliseconds").nullable().optional(),
17
+ spaceDocumentId: zod.z.number().int().describe("The unique identifier of the created space document"),
18
+ spaceDocumentName: zod.z.string().describe("Name of the space document").nullable().optional(),
19
+ spaceDocumentType: zod.z.string().describe("Type of space document").nullable().optional()
20
+ }).describe("Response model for creating a space document.");
21
+ const rocketlaneCreateSpaceDocument = require_action.action("ROCKETLANE_CREATE_SPACE_DOCUMENT", {
22
+ slug: "rocketlane-create-space-document",
23
+ name: "Create Space Document",
24
+ description: "Tool to create a new space document in Rocketlane. Use when you need to add documents to a project space, either as native Rocketlane documents or embedded links from external sources.",
25
+ input: RocketlaneCreateSpaceDocumentInput,
26
+ output: RocketlaneCreateSpaceDocumentOutput
27
+ });
28
+ //#endregion
29
+ exports.rocketlaneCreateSpaceDocument = rocketlaneCreateSpaceDocument;
30
+
31
+ //# sourceMappingURL=create-space-document.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space-document.cjs","names":["z","action"],"sources":["../../src/actions/create-space-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketlaneCreateSpaceDocumentInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for embedded documents. Required when spaceDocumentType is EMBEDDED_DOCUMENT\").optional(),\n space: z.object({\n spaceId: z.number().int().describe(\"ID of the space where the document will be created\"),\n}).describe(\"Space object containing the ID of the space where the document will be created\"),\n source: z.object({\n templateId: z.number().int().describe(\"ID of the template to use for document creation\").optional(),\n}).describe(\"Source object containing template references.\").optional(),\n spaceDocumentName: z.string().describe(\"Name of the space document. Defaults to 'Untitled' if not provided\").optional(),\n spaceDocumentType: z.enum([\"ROCKETLANE_DOCUMENT\", \"EMBEDDED_DOCUMENT\"]).describe(\"Type of space document. Use ROCKETLANE_DOCUMENT for native Rocketlane documents or EMBEDDED_DOCUMENT for embedded URLs\"),\n}).describe(\"Request model for creating a space document.\");\nexport const RocketlaneCreateSpaceDocumentOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the embedded document\").nullable().optional(),\n space: z.record(z.string(), z.unknown()).describe(\"Space object containing spaceId\").nullable().optional(),\n source: z.record(z.string(), z.unknown()).describe(\"Source object with template information\").nullable().optional(),\n createdAt: z.number().int().describe(\"Creation timestamp in milliseconds\").nullable().optional(),\n updatedAt: z.number().int().describe(\"Last update timestamp in milliseconds\").nullable().optional(),\n spaceDocumentId: z.number().int().describe(\"The unique identifier of the created space document\"),\n spaceDocumentName: z.string().describe(\"Name of the space document\").nullable().optional(),\n spaceDocumentType: z.string().describe(\"Type of space document\").nullable().optional(),\n}).describe(\"Response model for creating a space document.\");\n\nexport const rocketlaneCreateSpaceDocument = action(\"ROCKETLANE_CREATE_SPACE_DOCUMENT\", {\n slug: \"rocketlane-create-space-document\",\n name: \"Create Space Document\",\n description: \"Tool to create a new space document in Rocketlane. Use when you need to add documents to a project space, either as native Rocketlane documents or embedded links from external sources.\",\n input: RocketlaneCreateSpaceDocumentInput,\n output: RocketlaneCreateSpaceDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE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,CAAC,CAAC,SAAS,qDAAqD;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-space-document.d.ts
4
+ declare const RocketlaneCreateSpaceDocumentInput: z.ZodTypeAny;
5
+ declare const RocketlaneCreateSpaceDocumentOutput: z.ZodTypeAny;
6
+ declare const rocketlaneCreateSpaceDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rocketlaneCreateSpaceDocument };
9
+ //# sourceMappingURL=create-space-document.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space-document.d.cts","names":[],"sources":["../../src/actions/create-space-document.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAUQ;AAAA,cAC9C,mCAAA,EAAqC,CAAA,CAAE,UASQ;AAAA,cAE/C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-space-document.d.ts
4
+ declare const RocketlaneCreateSpaceDocumentInput: z.ZodTypeAny;
5
+ declare const RocketlaneCreateSpaceDocumentOutput: z.ZodTypeAny;
6
+ declare const rocketlaneCreateSpaceDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rocketlaneCreateSpaceDocument };
9
+ //# sourceMappingURL=create-space-document.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space-document.d.mts","names":[],"sources":["../../src/actions/create-space-document.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAUQ;AAAA,cAC9C,mCAAA,EAAqC,CAAA,CAAE,UASQ;AAAA,cAE/C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const rocketlaneCreateSpaceDocument = action("ROCKETLANE_CREATE_SPACE_DOCUMENT", {
4
+ slug: "rocketlane-create-space-document",
5
+ name: "Create Space Document",
6
+ description: "Tool to create a new space document in Rocketlane. Use when you need to add documents to a project space, either as native Rocketlane documents or embedded links from external sources.",
7
+ input: z.object({
8
+ url: z.string().describe("URL for embedded documents. Required when spaceDocumentType is EMBEDDED_DOCUMENT").optional(),
9
+ space: z.object({ spaceId: z.number().int().describe("ID of the space where the document will be created") }).describe("Space object containing the ID of the space where the document will be created"),
10
+ source: z.object({ templateId: z.number().int().describe("ID of the template to use for document creation").optional() }).describe("Source object containing template references.").optional(),
11
+ spaceDocumentName: z.string().describe("Name of the space document. Defaults to 'Untitled' if not provided").optional(),
12
+ spaceDocumentType: z.enum(["ROCKETLANE_DOCUMENT", "EMBEDDED_DOCUMENT"]).describe("Type of space document. Use ROCKETLANE_DOCUMENT for native Rocketlane documents or EMBEDDED_DOCUMENT for embedded URLs")
13
+ }).describe("Request model for creating a space document."),
14
+ output: z.object({
15
+ url: z.string().describe("URL of the embedded document").nullable().optional(),
16
+ space: z.record(z.string(), z.unknown()).describe("Space object containing spaceId").nullable().optional(),
17
+ source: z.record(z.string(), z.unknown()).describe("Source object with template information").nullable().optional(),
18
+ createdAt: z.number().int().describe("Creation timestamp in milliseconds").nullable().optional(),
19
+ updatedAt: z.number().int().describe("Last update timestamp in milliseconds").nullable().optional(),
20
+ spaceDocumentId: z.number().int().describe("The unique identifier of the created space document"),
21
+ spaceDocumentName: z.string().describe("Name of the space document").nullable().optional(),
22
+ spaceDocumentType: z.string().describe("Type of space document").nullable().optional()
23
+ }).describe("Response model for creating a space document.")
24
+ });
25
+ //#endregion
26
+ export { rocketlaneCreateSpaceDocument };
27
+
28
+ //# sourceMappingURL=create-space-document.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space-document.mjs","names":[],"sources":["../../src/actions/create-space-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketlaneCreateSpaceDocumentInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for embedded documents. Required when spaceDocumentType is EMBEDDED_DOCUMENT\").optional(),\n space: z.object({\n spaceId: z.number().int().describe(\"ID of the space where the document will be created\"),\n}).describe(\"Space object containing the ID of the space where the document will be created\"),\n source: z.object({\n templateId: z.number().int().describe(\"ID of the template to use for document creation\").optional(),\n}).describe(\"Source object containing template references.\").optional(),\n spaceDocumentName: z.string().describe(\"Name of the space document. Defaults to 'Untitled' if not provided\").optional(),\n spaceDocumentType: z.enum([\"ROCKETLANE_DOCUMENT\", \"EMBEDDED_DOCUMENT\"]).describe(\"Type of space document. Use ROCKETLANE_DOCUMENT for native Rocketlane documents or EMBEDDED_DOCUMENT for embedded URLs\"),\n}).describe(\"Request model for creating a space document.\");\nexport const RocketlaneCreateSpaceDocumentOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the embedded document\").nullable().optional(),\n space: z.record(z.string(), z.unknown()).describe(\"Space object containing spaceId\").nullable().optional(),\n source: z.record(z.string(), z.unknown()).describe(\"Source object with template information\").nullable().optional(),\n createdAt: z.number().int().describe(\"Creation timestamp in milliseconds\").nullable().optional(),\n updatedAt: z.number().int().describe(\"Last update timestamp in milliseconds\").nullable().optional(),\n spaceDocumentId: z.number().int().describe(\"The unique identifier of the created space document\"),\n spaceDocumentName: z.string().describe(\"Name of the space document\").nullable().optional(),\n spaceDocumentType: z.string().describe(\"Type of space document\").nullable().optional(),\n}).describe(\"Response model for creating a space document.\");\n\nexport const rocketlaneCreateSpaceDocument = action(\"ROCKETLANE_CREATE_SPACE_DOCUMENT\", {\n slug: \"rocketlane-create-space-document\",\n name: \"Create Space Document\",\n description: \"Tool to create a new space document in Rocketlane. Use when you need to add documents to a project space, either as native Rocketlane documents or embedded links from external sources.\",\n input: RocketlaneCreateSpaceDocumentInput,\n output: RocketlaneCreateSpaceDocumentOutput,\n});\n"],"mappings":";;AA0BA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B8D,EAAE,OAAO;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACtH,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACzF,CAAC,CAAC,CAAC,SAAS,gFAAgF;EAC1F,QAAQ,EAAE,OAAO,EACjB,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACpE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACtH,mBAAmB,EAAE,KAAK,CAAC,uBAAuB,mBAAmB,CAAC,CAAC,CAAC,SAAS,wHAAwH;CAC3M,CAAC,CAAC,CAAC,SAAS,8CAgBH;CACP,QAhB+D,EAAE,OAAO;EACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-space.ts
4
+ const RocketlaneCreateSpaceInput = zod.z.object({
5
+ private: zod.z.boolean().default(false).describe("Whether the space should be private or shared. When true, only invited members can access the space. Defaults to false (shared).").optional(),
6
+ project: zod.z.object({ projectId: zod.z.number().int().describe("The unique identifier of the project to associate with the space") }).describe("Project object containing the projectId to associate with the space"),
7
+ spaceName: zod.z.string().describe("The name of the space to be created")
8
+ }).describe("Request model for creating a space.");
9
+ const RocketlaneCreateSpace_ProjectResponseSchema = zod.z.object({
10
+ projectId: zod.z.number().int().describe("The project ID").nullable().optional(),
11
+ projectName: zod.z.string().describe("The project name").nullable().optional()
12
+ }).describe("Project information in the response.");
13
+ const RocketlaneCreateSpaceOutput = zod.z.object({
14
+ private: zod.z.boolean().describe("Privacy setting of the space").nullable().optional(),
15
+ project: RocketlaneCreateSpace_ProjectResponseSchema.nullable().optional(),
16
+ spaceId: zod.z.number().int().describe("Unique identifier for the created space"),
17
+ createdAt: zod.z.number().int().describe("Creation timestamp in epoch milliseconds").nullable().optional(),
18
+ spaceName: zod.z.string().describe("Name of the space"),
19
+ updatedAt: zod.z.number().int().describe("Last update timestamp in epoch milliseconds").nullable().optional()
20
+ }).describe("Response model for space creation.");
21
+ const rocketlaneCreateSpace = require_action.action("ROCKETLANE_CREATE_SPACE", {
22
+ slug: "rocketlane-create-space",
23
+ name: "Create Space",
24
+ description: "Creates a new space for a given project in Rocketlane. Use when you need to create a collaborative workspace within a project with specific privacy settings.",
25
+ input: RocketlaneCreateSpaceInput,
26
+ output: RocketlaneCreateSpaceOutput
27
+ });
28
+ //#endregion
29
+ exports.rocketlaneCreateSpace = rocketlaneCreateSpace;
30
+
31
+ //# sourceMappingURL=create-space.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space.cjs","names":["z","action"],"sources":["../../src/actions/create-space.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketlaneCreateSpaceInput: z.ZodTypeAny = z.object({\n private: z.boolean().default(false).describe(\"Whether the space should be private or shared. When true, only invited members can access the space. Defaults to false (shared).\").optional(),\n project: z.object({\n projectId: z.number().int().describe(\"The unique identifier of the project to associate with the space\"),\n}).describe(\"Project object containing the projectId to associate with the space\"),\n spaceName: z.string().describe(\"The name of the space to be created\"),\n}).describe(\"Request model for creating a space.\");\nconst RocketlaneCreateSpace_ProjectResponseSchema: z.ZodTypeAny = z.object({\n projectId: z.number().int().describe(\"The project ID\").nullable().optional(),\n projectName: z.string().describe(\"The project name\").nullable().optional(),\n}).describe(\"Project information in the response.\");\nexport const RocketlaneCreateSpaceOutput: z.ZodTypeAny = z.object({\n private: z.boolean().describe(\"Privacy setting of the space\").nullable().optional(),\n project: RocketlaneCreateSpace_ProjectResponseSchema.nullable().optional(),\n spaceId: z.number().int().describe(\"Unique identifier for the created space\"),\n createdAt: z.number().int().describe(\"Creation timestamp in epoch milliseconds\").nullable().optional(),\n spaceName: z.string().describe(\"Name of the space\"),\n updatedAt: z.number().int().describe(\"Last update timestamp in epoch milliseconds\").nullable().optional(),\n}).describe(\"Response model for space creation.\");\n\nexport const rocketlaneCreateSpace = action(\"ROCKETLANE_CREATE_SPACE\", {\n slug: \"rocketlane-create-space\",\n name: \"Create Space\",\n description: \"Creates a new space for a given project in Rocketlane. Use when you need to create a collaborative workspace within a project with specific privacy settings.\",\n input: RocketlaneCreateSpaceInput,\n output: RocketlaneCreateSpaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC1L,SAASA,IAAAA,EAAE,OAAO,EAClB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EACzG,CAAC,CAAC,CAAC,SAAS,qEAAqE;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACtE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-space.d.ts
4
+ declare const RocketlaneCreateSpaceInput: z.ZodTypeAny;
5
+ declare const RocketlaneCreateSpaceOutput: z.ZodTypeAny;
6
+ declare const rocketlaneCreateSpace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rocketlaneCreateSpace };
9
+ //# sourceMappingURL=create-space.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space.d.cts","names":[],"sources":["../../src/actions/create-space.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAMO;AAAA,cAKrC,2BAAA,EAA6B,CAAA,CAAE,UAOK;AAAA,cAEpC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-space.d.ts
4
+ declare const RocketlaneCreateSpaceInput: z.ZodTypeAny;
5
+ declare const RocketlaneCreateSpaceOutput: z.ZodTypeAny;
6
+ declare const rocketlaneCreateSpace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rocketlaneCreateSpace };
9
+ //# sourceMappingURL=create-space.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space.d.mts","names":[],"sources":["../../src/actions/create-space.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAMO;AAAA,cAKrC,2BAAA,EAA6B,CAAA,CAAE,UAOK;AAAA,cAEpC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-space.ts
4
+ const RocketlaneCreateSpaceInput = z.object({
5
+ private: z.boolean().default(false).describe("Whether the space should be private or shared. When true, only invited members can access the space. Defaults to false (shared).").optional(),
6
+ project: z.object({ projectId: z.number().int().describe("The unique identifier of the project to associate with the space") }).describe("Project object containing the projectId to associate with the space"),
7
+ spaceName: z.string().describe("The name of the space to be created")
8
+ }).describe("Request model for creating a space.");
9
+ const RocketlaneCreateSpace_ProjectResponseSchema = z.object({
10
+ projectId: z.number().int().describe("The project ID").nullable().optional(),
11
+ projectName: z.string().describe("The project name").nullable().optional()
12
+ }).describe("Project information in the response.");
13
+ const rocketlaneCreateSpace = action("ROCKETLANE_CREATE_SPACE", {
14
+ slug: "rocketlane-create-space",
15
+ name: "Create Space",
16
+ description: "Creates a new space for a given project in Rocketlane. Use when you need to create a collaborative workspace within a project with specific privacy settings.",
17
+ input: RocketlaneCreateSpaceInput,
18
+ output: z.object({
19
+ private: z.boolean().describe("Privacy setting of the space").nullable().optional(),
20
+ project: RocketlaneCreateSpace_ProjectResponseSchema.nullable().optional(),
21
+ spaceId: z.number().int().describe("Unique identifier for the created space"),
22
+ createdAt: z.number().int().describe("Creation timestamp in epoch milliseconds").nullable().optional(),
23
+ spaceName: z.string().describe("Name of the space"),
24
+ updatedAt: z.number().int().describe("Last update timestamp in epoch milliseconds").nullable().optional()
25
+ }).describe("Response model for space creation.")
26
+ });
27
+ //#endregion
28
+ export { rocketlaneCreateSpace };
29
+
30
+ //# sourceMappingURL=create-space.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space.mjs","names":[],"sources":["../../src/actions/create-space.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketlaneCreateSpaceInput: z.ZodTypeAny = z.object({\n private: z.boolean().default(false).describe(\"Whether the space should be private or shared. When true, only invited members can access the space. Defaults to false (shared).\").optional(),\n project: z.object({\n projectId: z.number().int().describe(\"The unique identifier of the project to associate with the space\"),\n}).describe(\"Project object containing the projectId to associate with the space\"),\n spaceName: z.string().describe(\"The name of the space to be created\"),\n}).describe(\"Request model for creating a space.\");\nconst RocketlaneCreateSpace_ProjectResponseSchema: z.ZodTypeAny = z.object({\n projectId: z.number().int().describe(\"The project ID\").nullable().optional(),\n projectName: z.string().describe(\"The project name\").nullable().optional(),\n}).describe(\"Project information in the response.\");\nexport const RocketlaneCreateSpaceOutput: z.ZodTypeAny = z.object({\n private: z.boolean().describe(\"Privacy setting of the space\").nullable().optional(),\n project: RocketlaneCreateSpace_ProjectResponseSchema.nullable().optional(),\n spaceId: z.number().int().describe(\"Unique identifier for the created space\"),\n createdAt: z.number().int().describe(\"Creation timestamp in epoch milliseconds\").nullable().optional(),\n spaceName: z.string().describe(\"Name of the space\"),\n updatedAt: z.number().int().describe(\"Last update timestamp in epoch milliseconds\").nullable().optional(),\n}).describe(\"Response model for space creation.\");\n\nexport const rocketlaneCreateSpace = action(\"ROCKETLANE_CREATE_SPACE\", {\n slug: \"rocketlane-create-space\",\n name: \"Create Space\",\n description: \"Creates a new space for a given project in Rocketlane. Use when you need to create a collaborative workspace within a project with specific privacy settings.\",\n input: RocketlaneCreateSpaceInput,\n output: RocketlaneCreateSpaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC1L,SAAS,EAAE,OAAO,EAClB,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EACzG,CAAC,CAAC,CAAC,SAAS,qEAAqE;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACtE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA4D,EAAE,OAAO;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAUlD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduD,EAAE,OAAO;EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
@@ -0,0 +1,53 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-task.ts
4
+ const RocketlaneCreateTaskInput = zod.z.object({
5
+ type: zod.z.enum(["MILESTONE", "TASK"]).default("TASK").describe("Task type (MILESTONE or TASK). Defaults to TASK.").optional(),
6
+ phase: zod.z.object({ id: zod.z.string().describe("ID of the phase.") }).describe("The phase associated with the task.").optional(),
7
+ atRisk: zod.z.boolean().describe("Indicates if the task is at risk.").optional(),
8
+ fields: zod.z.array(zod.z.object({
9
+ fieldId: zod.z.string().describe("ID of the custom field."),
10
+ fieldValue: zod.z.union([
11
+ zod.z.string(),
12
+ zod.z.number().int(),
13
+ zod.z.array(zod.z.string())
14
+ ])
15
+ })).describe("Custom fields for the task.").optional(),
16
+ parent: zod.z.object({ id: zod.z.string().describe("ID of the parent task. Used to create subtasks.") }).describe("Parent task.").optional(),
17
+ status: zod.z.object({ id: zod.z.string().describe("ID of the status.") }).describe("The status of the task.").optional(),
18
+ dueDate: zod.z.string().describe("Task due date in YYYY-MM-DD format.").optional(),
19
+ private: zod.z.boolean().describe("Indicates if the task is private.").optional(),
20
+ project: zod.z.object({ id: zod.z.string().describe("ID of the project.") }).describe("The project associated with the task."),
21
+ progress: zod.z.number().int().describe("Task progress (0-100).").optional(),
22
+ taskName: zod.z.string().describe("The name of the task."),
23
+ followers: zod.z.object({ members: zod.z.array(zod.z.object({
24
+ id: zod.z.string().describe("ID of the member."),
25
+ type: zod.z.enum(["member", "placeholder"]).describe("Type of the follower.")
26
+ })).describe("List of followers.").optional() }).describe("Task followers (members or placeholders).").optional(),
27
+ startDate: zod.z.string().describe("Task start date in YYYY-MM-DD format.").optional(),
28
+ effortInMinutes: zod.z.number().int().describe("Expected time in minutes to complete the task.").optional(),
29
+ taskDescription: zod.z.string().describe("HTML formatted description of the task.").optional(),
30
+ taskPrivateNote: zod.z.string().describe("HTML formatted private note for team members.").optional(),
31
+ externalReferenceId: zod.z.string().describe("Unique identifier for linking with external systems.").optional()
32
+ });
33
+ const RocketlaneCreateTask_ErrorDetailSchema = zod.z.object({
34
+ field: zod.z.string().describe("Field that caused the error.").nullable().optional(),
35
+ errorCode: zod.z.string().describe("Error code.").nullable().optional(),
36
+ errorMessage: zod.z.string().describe("Error message.").nullable().optional()
37
+ });
38
+ const RocketlaneCreateTaskOutput = zod.z.object({
39
+ errors: zod.z.array(RocketlaneCreateTask_ErrorDetailSchema).describe("List of errors if the request failed.").nullable().optional(),
40
+ taskId: zod.z.number().int().describe("ID of the created task.").nullable().optional(),
41
+ taskName: zod.z.string().describe("Name of the task.").nullable().optional()
42
+ });
43
+ const rocketlaneCreateTask = require_action.action("ROCKETLANE_CREATE_TASK", {
44
+ slug: "rocketlane-create-task",
45
+ name: "Create Task",
46
+ description: "Creates a new task.",
47
+ input: RocketlaneCreateTaskInput,
48
+ output: RocketlaneCreateTaskOutput
49
+ });
50
+ //#endregion
51
+ exports.rocketlaneCreateTask = rocketlaneCreateTask;
52
+
53
+ //# sourceMappingURL=create-task.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-task.cjs","names":["z","action"],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketlaneCreateTaskInput: z.ZodTypeAny = z.object({\n type: z.enum([\"MILESTONE\", \"TASK\"]).default(\"TASK\").describe(\"Task type (MILESTONE or TASK). Defaults to TASK.\").optional(),\n phase: z.object({\n id: z.string().describe(\"ID of the phase.\"),\n}).describe(\"The phase associated with the task.\").optional(),\n atRisk: z.boolean().describe(\"Indicates if the task is at risk.\").optional(),\n fields: z.array(z.object({\n fieldId: z.string().describe(\"ID of the custom field.\"),\n fieldValue: z.union([z.string(), z.number().int(), z.array(z.string())]),\n})).describe(\"Custom fields for the task.\").optional(),\n parent: z.object({\n id: z.string().describe(\"ID of the parent task. Used to create subtasks.\"),\n}).describe(\"Parent task.\").optional(),\n status: z.object({\n id: z.string().describe(\"ID of the status.\"),\n}).describe(\"The status of the task.\").optional(),\n dueDate: z.string().describe(\"Task due date in YYYY-MM-DD format.\").optional(),\n private: z.boolean().describe(\"Indicates if the task is private.\").optional(),\n project: z.object({\n id: z.string().describe(\"ID of the project.\"),\n}).describe(\"The project associated with the task.\"),\n progress: z.number().int().describe(\"Task progress (0-100).\").optional(),\n taskName: z.string().describe(\"The name of the task.\"),\n followers: z.object({\n members: z.array(z.object({\n id: z.string().describe(\"ID of the member.\"),\n type: z.enum([\"member\", \"placeholder\"]).describe(\"Type of the follower.\"),\n})).describe(\"List of followers.\").optional(),\n}).describe(\"Task followers (members or placeholders).\").optional(),\n startDate: z.string().describe(\"Task start date in YYYY-MM-DD format.\").optional(),\n effortInMinutes: z.number().int().describe(\"Expected time in minutes to complete the task.\").optional(),\n taskDescription: z.string().describe(\"HTML formatted description of the task.\").optional(),\n taskPrivateNote: z.string().describe(\"HTML formatted private note for team members.\").optional(),\n externalReferenceId: z.string().describe(\"Unique identifier for linking with external systems.\").optional(),\n});\nconst RocketlaneCreateTask_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"Field that caused the error.\").nullable().optional(),\n errorCode: z.string().describe(\"Error code.\").nullable().optional(),\n errorMessage: z.string().describe(\"Error message.\").nullable().optional(),\n});\nexport const RocketlaneCreateTaskOutput: z.ZodTypeAny = z.object({\n errors: z.array(RocketlaneCreateTask_ErrorDetailSchema).describe(\"List of errors if the request failed.\").nullable().optional(),\n taskId: z.number().int().describe(\"ID of the created task.\").nullable().optional(),\n taskName: z.string().describe(\"Name of the task.\").nullable().optional(),\n});\n\nexport const rocketlaneCreateTask = action(\"ROCKETLANE_CREATE_TASK\", {\n slug: \"rocketlane-create-task\",\n name: \"Create Task\",\n description: \"Creates a new task.\",\n input: RocketlaneCreateTaskInput,\n output: RocketlaneCreateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,KAAK,CAAC,aAAa,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,EAC5C,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACtD,YAAYA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC;EAAC,CAAC;CACzE,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnC,QAAQA,IAAAA,EAAE,OAAO,EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,EAC7C,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9C,SAASA,IAAAA,EAAE,OAAO,C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AOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-task.d.ts
4
+ declare const RocketlaneCreateTaskInput: z.ZodTypeAny;
5
+ declare const RocketlaneCreateTaskOutput: z.ZodTypeAny;
6
+ declare const rocketlaneCreateTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rocketlaneCreateTask };
9
+ //# sourceMappingURL=create-task.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-task.d.cts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAkCxC;AAAA,cAMW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-task.d.ts
4
+ declare const RocketlaneCreateTaskInput: z.ZodTypeAny;
5
+ declare const RocketlaneCreateTaskOutput: z.ZodTypeAny;
6
+ declare const rocketlaneCreateTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rocketlaneCreateTask };
9
+ //# sourceMappingURL=create-task.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-task.d.mts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAkCxC;AAAA,cAMW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,52 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-task.ts
4
+ const RocketlaneCreateTaskInput = z.object({
5
+ type: z.enum(["MILESTONE", "TASK"]).default("TASK").describe("Task type (MILESTONE or TASK). Defaults to TASK.").optional(),
6
+ phase: z.object({ id: z.string().describe("ID of the phase.") }).describe("The phase associated with the task.").optional(),
7
+ atRisk: z.boolean().describe("Indicates if the task is at risk.").optional(),
8
+ fields: z.array(z.object({
9
+ fieldId: z.string().describe("ID of the custom field."),
10
+ fieldValue: z.union([
11
+ z.string(),
12
+ z.number().int(),
13
+ z.array(z.string())
14
+ ])
15
+ })).describe("Custom fields for the task.").optional(),
16
+ parent: z.object({ id: z.string().describe("ID of the parent task. Used to create subtasks.") }).describe("Parent task.").optional(),
17
+ status: z.object({ id: z.string().describe("ID of the status.") }).describe("The status of the task.").optional(),
18
+ dueDate: z.string().describe("Task due date in YYYY-MM-DD format.").optional(),
19
+ private: z.boolean().describe("Indicates if the task is private.").optional(),
20
+ project: z.object({ id: z.string().describe("ID of the project.") }).describe("The project associated with the task."),
21
+ progress: z.number().int().describe("Task progress (0-100).").optional(),
22
+ taskName: z.string().describe("The name of the task."),
23
+ followers: z.object({ members: z.array(z.object({
24
+ id: z.string().describe("ID of the member."),
25
+ type: z.enum(["member", "placeholder"]).describe("Type of the follower.")
26
+ })).describe("List of followers.").optional() }).describe("Task followers (members or placeholders).").optional(),
27
+ startDate: z.string().describe("Task start date in YYYY-MM-DD format.").optional(),
28
+ effortInMinutes: z.number().int().describe("Expected time in minutes to complete the task.").optional(),
29
+ taskDescription: z.string().describe("HTML formatted description of the task.").optional(),
30
+ taskPrivateNote: z.string().describe("HTML formatted private note for team members.").optional(),
31
+ externalReferenceId: z.string().describe("Unique identifier for linking with external systems.").optional()
32
+ });
33
+ const RocketlaneCreateTask_ErrorDetailSchema = z.object({
34
+ field: z.string().describe("Field that caused the error.").nullable().optional(),
35
+ errorCode: z.string().describe("Error code.").nullable().optional(),
36
+ errorMessage: z.string().describe("Error message.").nullable().optional()
37
+ });
38
+ const rocketlaneCreateTask = action("ROCKETLANE_CREATE_TASK", {
39
+ slug: "rocketlane-create-task",
40
+ name: "Create Task",
41
+ description: "Creates a new task.",
42
+ input: RocketlaneCreateTaskInput,
43
+ output: z.object({
44
+ errors: z.array(RocketlaneCreateTask_ErrorDetailSchema).describe("List of errors if the request failed.").nullable().optional(),
45
+ taskId: z.number().int().describe("ID of the created task.").nullable().optional(),
46
+ taskName: z.string().describe("Name of the task.").nullable().optional()
47
+ })
48
+ });
49
+ //#endregion
50
+ export { rocketlaneCreateTask };
51
+
52
+ //# sourceMappingURL=create-task.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-task.mjs","names":[],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketlaneCreateTaskInput: z.ZodTypeAny = z.object({\n type: z.enum([\"MILESTONE\", \"TASK\"]).default(\"TASK\").describe(\"Task type (MILESTONE or TASK). Defaults to TASK.\").optional(),\n phase: z.object({\n id: z.string().describe(\"ID of the phase.\"),\n}).describe(\"The phase associated with the task.\").optional(),\n atRisk: z.boolean().describe(\"Indicates if the task is at risk.\").optional(),\n fields: z.array(z.object({\n fieldId: z.string().describe(\"ID of the custom field.\"),\n fieldValue: z.union([z.string(), z.number().int(), z.array(z.string())]),\n})).describe(\"Custom fields for the task.\").optional(),\n parent: z.object({\n id: z.string().describe(\"ID of the parent task. Used to create subtasks.\"),\n}).describe(\"Parent task.\").optional(),\n status: z.object({\n id: z.string().describe(\"ID of the status.\"),\n}).describe(\"The status of the task.\").optional(),\n dueDate: z.string().describe(\"Task due date in YYYY-MM-DD format.\").optional(),\n private: z.boolean().describe(\"Indicates if the task is private.\").optional(),\n project: z.object({\n id: z.string().describe(\"ID of the project.\"),\n}).describe(\"The project associated with the task.\"),\n progress: z.number().int().describe(\"Task progress (0-100).\").optional(),\n taskName: z.string().describe(\"The name of the task.\"),\n followers: z.object({\n members: z.array(z.object({\n id: z.string().describe(\"ID of the member.\"),\n type: z.enum([\"member\", \"placeholder\"]).describe(\"Type of the follower.\"),\n})).describe(\"List of followers.\").optional(),\n}).describe(\"Task followers (members or placeholders).\").optional(),\n startDate: z.string().describe(\"Task start date in YYYY-MM-DD format.\").optional(),\n effortInMinutes: z.number().int().describe(\"Expected time in minutes to complete the task.\").optional(),\n taskDescription: z.string().describe(\"HTML formatted description of the task.\").optional(),\n taskPrivateNote: z.string().describe(\"HTML formatted private note for team members.\").optional(),\n externalReferenceId: z.string().describe(\"Unique identifier for linking with external systems.\").optional(),\n});\nconst RocketlaneCreateTask_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"Field that caused the error.\").nullable().optional(),\n errorCode: z.string().describe(\"Error code.\").nullable().optional(),\n errorMessage: z.string().describe(\"Error message.\").nullable().optional(),\n});\nexport const RocketlaneCreateTaskOutput: z.ZodTypeAny = z.object({\n errors: z.array(RocketlaneCreateTask_ErrorDetailSchema).describe(\"List of errors if the request failed.\").nullable().optional(),\n taskId: z.number().int().describe(\"ID of the created task.\").nullable().optional(),\n taskName: z.string().describe(\"Name of the task.\").nullable().optional(),\n});\n\nexport const rocketlaneCreateTask = action(\"ROCKETLANE_CREATE_TASK\", {\n slug: \"rocketlane-create-task\",\n name: \"Create Task\",\n description: \"Creates a new task.\",\n input: RocketlaneCreateTaskInput,\n output: RocketlaneCreateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,KAAK,CAAC,aAAa,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,EAC5C,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACtD,YAAY,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,MAAM,EAAE,OAAO,CAAC;EAAC,CAAC;CACzE,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnC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uD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC;AAOD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,CAOU;AACV,CAAC"}
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-time-entry.ts
4
+ const RocketlaneCreateTimeEntryInput = zod.z.object({
5
+ date: zod.z.string().describe("The date for which the time entry is being logged (format: YYYY-MM-DD)"),
6
+ notes: zod.z.string().describe("Additional notes or description for the time entry").optional(),
7
+ source: zod.z.enum(["manual", "imported"]).default("manual").describe("The source of the time entry (manual or imported)").optional(),
8
+ minutes: zod.z.number().int().describe("The amount of time spent, expressed in minutes"),
9
+ task_id: zod.z.string().describe("The ID of the task associated with the time entry").optional(),
10
+ billable: zod.z.boolean().describe("Whether the time entry is billable").optional(),
11
+ project_id: zod.z.string().describe("The ID of the project associated with the time entry").optional(),
12
+ activity_name: zod.z.string().default("General Work").describe("Name of the activity for the time entry").optional()
13
+ }).describe("Request model for creating a time entry.");
14
+ const RocketlaneCreateTimeEntryOutput = zod.z.object({
15
+ date: zod.z.string().describe("The date of the time entry"),
16
+ notes: zod.z.string().describe("Description of the time entry").nullable().optional(),
17
+ taskId: zod.z.string().describe("ID of the associated task").nullable().optional(),
18
+ minutes: zod.z.number().int().describe("Duration in minutes"),
19
+ user_id: zod.z.number().int().describe("ID of the user who created the entry"),
20
+ billable: zod.z.boolean().default(false).describe("Whether the time entry is billable").nullable().optional(),
21
+ createdAt: zod.z.number().int().describe("Creation timestamp"),
22
+ projectId: zod.z.string().describe("ID of the associated project").nullable().optional(),
23
+ updatedAt: zod.z.number().int().describe("Last update timestamp"),
24
+ timeEntryId: zod.z.number().int().describe("The unique identifier of the created time entry"),
25
+ activityName: zod.z.string().describe("Name of the activity")
26
+ }).describe("Response model for creating a time entry.");
27
+ const rocketlaneCreateTimeEntry = require_action.action("ROCKETLANE_CREATE_TIME_ENTRY", {
28
+ slug: "rocketlane-create-time-entry",
29
+ name: "Create Time Entry",
30
+ description: "Tool to create a new time entry in Rocketlane. This endpoint allows users to log time spent on tasks or projects. It complements the existing ROCKETLANE_GET_TIME_ENTRIES action and enables complete time tracking functionality within the Rocketlane integration.",
31
+ input: RocketlaneCreateTimeEntryInput,
32
+ output: RocketlaneCreateTimeEntryOutput
33
+ });
34
+ //#endregion
35
+ exports.rocketlaneCreateTimeEntry = rocketlaneCreateTimeEntry;
36
+
37
+ //# sourceMappingURL=create-time-entry.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-time-entry.cjs","names":["z","action"],"sources":["../../src/actions/create-time-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketlaneCreateTimeEntryInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"The date for which the time entry is being logged (format: YYYY-MM-DD)\"),\n notes: z.string().describe(\"Additional notes or description for the time entry\").optional(),\n source: z.enum([\"manual\", \"imported\"]).default(\"manual\").describe(\"The source of the time entry (manual or imported)\").optional(),\n minutes: z.number().int().describe(\"The amount of time spent, expressed in minutes\"),\n task_id: z.string().describe(\"The ID of the task associated with the time entry\").optional(),\n billable: z.boolean().describe(\"Whether the time entry is billable\").optional(),\n project_id: z.string().describe(\"The ID of the project associated with the time entry\").optional(),\n activity_name: z.string().default(\"General Work\").describe(\"Name of the activity for the time entry\").optional(),\n}).describe(\"Request model for creating a time entry.\");\nexport const RocketlaneCreateTimeEntryOutput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"The date of the time entry\"),\n notes: z.string().describe(\"Description of the time entry\").nullable().optional(),\n taskId: z.string().describe(\"ID of the associated task\").nullable().optional(),\n minutes: z.number().int().describe(\"Duration in minutes\"),\n user_id: z.number().int().describe(\"ID of the user who created the entry\"),\n billable: z.boolean().default(false).describe(\"Whether the time entry is billable\").nullable().optional(),\n createdAt: z.number().int().describe(\"Creation timestamp\"),\n projectId: z.string().describe(\"ID of the associated project\").nullable().optional(),\n updatedAt: z.number().int().describe(\"Last update timestamp\"),\n timeEntryId: z.number().int().describe(\"The unique identifier of the created time entry\"),\n activityName: z.string().describe(\"Name of the activity\"),\n}).describe(\"Response model for creating a time entry.\");\n\nexport const rocketlaneCreateTimeEntry = action(\"ROCKETLANE_CREATE_TIME_ENTRY\", {\n slug: \"rocketlane-create-time-entry\",\n name: \"Create Time Entry\",\n description: \"Tool to create a new time entry in Rocketlane. This endpoint allows users to log time spent on tasks or projects. It complements the existing ROCKETLANE_GET_TIME_ENTRIES action and enables complete time tracking functionality within the Rocketlane integration.\",\n input: RocketlaneCreateTimeEntryInput,\n output: RocketlaneCreateTimeEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,KAAK,CAAC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8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AAC1D,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-time-entry.d.ts
4
+ declare const RocketlaneCreateTimeEntryInput: z.ZodTypeAny;
5
+ declare const RocketlaneCreateTimeEntryOutput: z.ZodTypeAny;
6
+ declare const rocketlaneCreateTimeEntry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rocketlaneCreateTimeEntry };
9
+ //# sourceMappingURL=create-time-entry.d.cts.map