@keystrokehq/missive 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-analytics-report.cjs +2 -2
  4. package/dist/actions/create-analytics-report.cjs.map +1 -1
  5. package/dist/actions/create-analytics-report.d.cts +39 -3
  6. package/dist/actions/create-analytics-report.d.cts.map +1 -1
  7. package/dist/actions/create-analytics-report.d.mts +39 -3
  8. package/dist/actions/create-analytics-report.d.mts.map +1 -1
  9. package/dist/actions/create-analytics-report.mjs +2 -2
  10. package/dist/actions/create-analytics-report.mjs.map +1 -1
  11. package/dist/actions/create-contacts.cjs +10 -10
  12. package/dist/actions/create-contacts.cjs.map +1 -1
  13. package/dist/actions/create-contacts.d.cts +140 -3
  14. package/dist/actions/create-contacts.d.cts.map +1 -1
  15. package/dist/actions/create-contacts.d.mts +140 -3
  16. package/dist/actions/create-contacts.d.mts.map +1 -1
  17. package/dist/actions/create-contacts.mjs +10 -10
  18. package/dist/actions/create-contacts.mjs.map +1 -1
  19. package/dist/actions/create-draft.cjs +13 -13
  20. package/dist/actions/create-draft.cjs.map +1 -1
  21. package/dist/actions/create-draft.d.cts +143 -3
  22. package/dist/actions/create-draft.d.cts.map +1 -1
  23. package/dist/actions/create-draft.d.mts +143 -3
  24. package/dist/actions/create-draft.d.mts.map +1 -1
  25. package/dist/actions/create-draft.mjs +13 -13
  26. package/dist/actions/create-draft.mjs.map +1 -1
  27. package/dist/actions/create-post.cjs +1 -1
  28. package/dist/actions/create-post.cjs.map +1 -1
  29. package/dist/actions/create-post.d.cts +37 -3
  30. package/dist/actions/create-post.d.cts.map +1 -1
  31. package/dist/actions/create-post.d.mts +37 -3
  32. package/dist/actions/create-post.d.mts.map +1 -1
  33. package/dist/actions/create-post.mjs +1 -1
  34. package/dist/actions/create-post.mjs.map +1 -1
  35. package/dist/actions/create-response.cjs +6 -6
  36. package/dist/actions/create-response.cjs.map +1 -1
  37. package/dist/actions/create-response.d.cts +57 -3
  38. package/dist/actions/create-response.d.cts.map +1 -1
  39. package/dist/actions/create-response.d.mts +57 -3
  40. package/dist/actions/create-response.d.mts.map +1 -1
  41. package/dist/actions/create-response.mjs +6 -6
  42. package/dist/actions/create-response.mjs.map +1 -1
  43. package/dist/actions/create-shared-label.cjs +6 -6
  44. package/dist/actions/create-shared-label.cjs.map +1 -1
  45. package/dist/actions/create-shared-label.d.cts +29 -3
  46. package/dist/actions/create-shared-label.d.cts.map +1 -1
  47. package/dist/actions/create-shared-label.d.mts +29 -3
  48. package/dist/actions/create-shared-label.d.mts.map +1 -1
  49. package/dist/actions/create-shared-label.mjs +6 -6
  50. package/dist/actions/create-shared-label.mjs.map +1 -1
  51. package/dist/actions/create-task.cjs +3 -3
  52. package/dist/actions/create-task.cjs.map +1 -1
  53. package/dist/actions/create-task.d.cts +46 -3
  54. package/dist/actions/create-task.d.cts.map +1 -1
  55. package/dist/actions/create-task.d.mts +46 -3
  56. package/dist/actions/create-task.d.mts.map +1 -1
  57. package/dist/actions/create-task.mjs +3 -3
  58. package/dist/actions/create-task.mjs.map +1 -1
  59. package/dist/actions/create-team.cjs +4 -4
  60. package/dist/actions/create-team.cjs.map +1 -1
  61. package/dist/actions/create-team.d.cts +30 -3
  62. package/dist/actions/create-team.d.cts.map +1 -1
  63. package/dist/actions/create-team.d.mts +30 -3
  64. package/dist/actions/create-team.d.mts.map +1 -1
  65. package/dist/actions/create-team.mjs +4 -4
  66. package/dist/actions/create-team.mjs.map +1 -1
  67. package/dist/actions/create-webhook.cjs +2 -2
  68. package/dist/actions/create-webhook.cjs.map +1 -1
  69. package/dist/actions/create-webhook.d.cts +38 -3
  70. package/dist/actions/create-webhook.d.cts.map +1 -1
  71. package/dist/actions/create-webhook.d.mts +38 -3
  72. package/dist/actions/create-webhook.d.mts.map +1 -1
  73. package/dist/actions/create-webhook.mjs +2 -2
  74. package/dist/actions/create-webhook.mjs.map +1 -1
  75. package/dist/actions/delete-draft.cjs +1 -1
  76. package/dist/actions/delete-draft.cjs.map +1 -1
  77. package/dist/actions/delete-draft.d.cts +7 -3
  78. package/dist/actions/delete-draft.d.cts.map +1 -1
  79. package/dist/actions/delete-draft.d.mts +7 -3
  80. package/dist/actions/delete-draft.d.mts.map +1 -1
  81. package/dist/actions/delete-draft.mjs +1 -1
  82. package/dist/actions/delete-draft.mjs.map +1 -1
  83. package/dist/actions/delete-post.cjs +1 -1
  84. package/dist/actions/delete-post.cjs.map +1 -1
  85. package/dist/actions/delete-post.d.cts +7 -3
  86. package/dist/actions/delete-post.d.cts.map +1 -1
  87. package/dist/actions/delete-post.d.mts +7 -3
  88. package/dist/actions/delete-post.d.mts.map +1 -1
  89. package/dist/actions/delete-post.mjs +1 -1
  90. package/dist/actions/delete-post.mjs.map +1 -1
  91. package/dist/actions/delete-responses.cjs +1 -1
  92. package/dist/actions/delete-responses.cjs.map +1 -1
  93. package/dist/actions/delete-responses.d.cts +7 -3
  94. package/dist/actions/delete-responses.d.cts.map +1 -1
  95. package/dist/actions/delete-responses.d.mts +7 -3
  96. package/dist/actions/delete-responses.d.mts.map +1 -1
  97. package/dist/actions/delete-responses.mjs +1 -1
  98. package/dist/actions/delete-responses.mjs.map +1 -1
  99. package/dist/actions/delete-webhook.cjs +1 -1
  100. package/dist/actions/delete-webhook.cjs.map +1 -1
  101. package/dist/actions/delete-webhook.d.cts +7 -3
  102. package/dist/actions/delete-webhook.d.cts.map +1 -1
  103. package/dist/actions/delete-webhook.d.mts +7 -3
  104. package/dist/actions/delete-webhook.d.mts.map +1 -1
  105. package/dist/actions/delete-webhook.mjs +1 -1
  106. package/dist/actions/delete-webhook.mjs.map +1 -1
  107. package/dist/actions/get-analytics-report.cjs +3 -3
  108. package/dist/actions/get-analytics-report.cjs.map +1 -1
  109. package/dist/actions/get-analytics-report.d.cts +19 -3
  110. package/dist/actions/get-analytics-report.d.cts.map +1 -1
  111. package/dist/actions/get-analytics-report.d.mts +19 -3
  112. package/dist/actions/get-analytics-report.d.mts.map +1 -1
  113. package/dist/actions/get-analytics-report.mjs +3 -3
  114. package/dist/actions/get-analytics-report.mjs.map +1 -1
  115. package/dist/actions/get-contact.cjs +9 -9
  116. package/dist/actions/get-contact.cjs.map +1 -1
  117. package/dist/actions/get-contact.d.cts +52 -3
  118. package/dist/actions/get-contact.d.cts.map +1 -1
  119. package/dist/actions/get-contact.d.mts +52 -3
  120. package/dist/actions/get-contact.d.mts.map +1 -1
  121. package/dist/actions/get-contact.mjs +9 -9
  122. package/dist/actions/get-contact.mjs.map +1 -1
  123. package/dist/actions/get-conversation-messages.cjs +6 -6
  124. package/dist/actions/get-conversation-messages.cjs.map +1 -1
  125. package/dist/actions/get-conversation-messages.d.cts +51 -3
  126. package/dist/actions/get-conversation-messages.d.cts.map +1 -1
  127. package/dist/actions/get-conversation-messages.d.mts +51 -3
  128. package/dist/actions/get-conversation-messages.d.mts.map +1 -1
  129. package/dist/actions/get-conversation-messages.mjs +6 -6
  130. package/dist/actions/get-conversation-messages.mjs.map +1 -1
  131. package/dist/actions/get-conversation.cjs +23 -23
  132. package/dist/actions/get-conversation.cjs.map +1 -1
  133. package/dist/actions/get-conversation.d.cts +80 -3
  134. package/dist/actions/get-conversation.d.cts.map +1 -1
  135. package/dist/actions/get-conversation.d.mts +80 -3
  136. package/dist/actions/get-conversation.d.mts.map +1 -1
  137. package/dist/actions/get-conversation.mjs +23 -23
  138. package/dist/actions/get-conversation.mjs.map +1 -1
  139. package/dist/actions/get-message.cjs +7 -7
  140. package/dist/actions/get-message.cjs.map +1 -1
  141. package/dist/actions/get-message.d.cts +143 -3
  142. package/dist/actions/get-message.d.cts.map +1 -1
  143. package/dist/actions/get-message.d.mts +143 -3
  144. package/dist/actions/get-message.d.mts.map +1 -1
  145. package/dist/actions/get-message.mjs +7 -7
  146. package/dist/actions/get-message.mjs.map +1 -1
  147. package/dist/actions/get-response.cjs +11 -11
  148. package/dist/actions/get-response.cjs.map +1 -1
  149. package/dist/actions/get-response.d.cts +43 -3
  150. package/dist/actions/get-response.d.cts.map +1 -1
  151. package/dist/actions/get-response.d.mts +43 -3
  152. package/dist/actions/get-response.d.mts.map +1 -1
  153. package/dist/actions/get-response.mjs +11 -11
  154. package/dist/actions/get-response.mjs.map +1 -1
  155. package/dist/actions/get-task.cjs +10 -10
  156. package/dist/actions/get-task.cjs.map +1 -1
  157. package/dist/actions/get-task.d.cts +35 -3
  158. package/dist/actions/get-task.d.cts.map +1 -1
  159. package/dist/actions/get-task.d.mts +35 -3
  160. package/dist/actions/get-task.d.mts.map +1 -1
  161. package/dist/actions/get-task.mjs +10 -10
  162. package/dist/actions/get-task.mjs.map +1 -1
  163. package/dist/actions/list-contact-books.cjs +6 -6
  164. package/dist/actions/list-contact-books.cjs.map +1 -1
  165. package/dist/actions/list-contact-books.d.cts +20 -3
  166. package/dist/actions/list-contact-books.d.cts.map +1 -1
  167. package/dist/actions/list-contact-books.d.mts +20 -3
  168. package/dist/actions/list-contact-books.d.mts.map +1 -1
  169. package/dist/actions/list-contact-books.mjs +6 -6
  170. package/dist/actions/list-contact-books.mjs.map +1 -1
  171. package/dist/actions/list-contact-groups.cjs +4 -4
  172. package/dist/actions/list-contact-groups.cjs.map +1 -1
  173. package/dist/actions/list-contact-groups.d.cts +21 -3
  174. package/dist/actions/list-contact-groups.d.cts.map +1 -1
  175. package/dist/actions/list-contact-groups.d.mts +21 -3
  176. package/dist/actions/list-contact-groups.d.mts.map +1 -1
  177. package/dist/actions/list-contact-groups.mjs +4 -4
  178. package/dist/actions/list-contact-groups.mjs.map +1 -1
  179. package/dist/actions/list-contacts.cjs +6 -6
  180. package/dist/actions/list-contacts.cjs.map +1 -1
  181. package/dist/actions/list-contacts.d.cts +57 -3
  182. package/dist/actions/list-contacts.d.cts.map +1 -1
  183. package/dist/actions/list-contacts.d.mts +57 -3
  184. package/dist/actions/list-contacts.d.mts.map +1 -1
  185. package/dist/actions/list-contacts.mjs +6 -6
  186. package/dist/actions/list-contacts.mjs.map +1 -1
  187. package/dist/actions/list-conversation-comments.cjs +8 -8
  188. package/dist/actions/list-conversation-comments.cjs.map +1 -1
  189. package/dist/actions/list-conversation-comments.d.cts +59 -3
  190. package/dist/actions/list-conversation-comments.d.cts.map +1 -1
  191. package/dist/actions/list-conversation-comments.d.mts +59 -3
  192. package/dist/actions/list-conversation-comments.d.mts.map +1 -1
  193. package/dist/actions/list-conversation-comments.mjs +8 -8
  194. package/dist/actions/list-conversation-comments.mjs.map +1 -1
  195. package/dist/actions/list-conversation-drafts.cjs +7 -7
  196. package/dist/actions/list-conversation-drafts.cjs.map +1 -1
  197. package/dist/actions/list-conversation-drafts.d.cts +57 -3
  198. package/dist/actions/list-conversation-drafts.d.cts.map +1 -1
  199. package/dist/actions/list-conversation-drafts.d.mts +57 -3
  200. package/dist/actions/list-conversation-drafts.d.mts.map +1 -1
  201. package/dist/actions/list-conversation-drafts.mjs +7 -7
  202. package/dist/actions/list-conversation-drafts.mjs.map +1 -1
  203. package/dist/actions/list-conversation-posts.cjs +6 -6
  204. package/dist/actions/list-conversation-posts.cjs.map +1 -1
  205. package/dist/actions/list-conversation-posts.d.cts +30 -3
  206. package/dist/actions/list-conversation-posts.d.cts.map +1 -1
  207. package/dist/actions/list-conversation-posts.d.mts +30 -3
  208. package/dist/actions/list-conversation-posts.d.mts.map +1 -1
  209. package/dist/actions/list-conversation-posts.mjs +6 -6
  210. package/dist/actions/list-conversation-posts.mjs.map +1 -1
  211. package/dist/actions/list-conversations.cjs +21 -21
  212. package/dist/actions/list-conversations.cjs.map +1 -1
  213. package/dist/actions/list-conversations.d.cts +79 -3
  214. package/dist/actions/list-conversations.d.cts.map +1 -1
  215. package/dist/actions/list-conversations.d.mts +79 -3
  216. package/dist/actions/list-conversations.d.mts.map +1 -1
  217. package/dist/actions/list-conversations.mjs +21 -21
  218. package/dist/actions/list-conversations.mjs.map +1 -1
  219. package/dist/actions/list-messages.cjs +7 -7
  220. package/dist/actions/list-messages.cjs.map +1 -1
  221. package/dist/actions/list-messages.d.cts +64 -3
  222. package/dist/actions/list-messages.d.cts.map +1 -1
  223. package/dist/actions/list-messages.d.mts +64 -3
  224. package/dist/actions/list-messages.d.mts.map +1 -1
  225. package/dist/actions/list-messages.mjs +7 -7
  226. package/dist/actions/list-messages.mjs.map +1 -1
  227. package/dist/actions/list-organizations.cjs +4 -4
  228. package/dist/actions/list-organizations.cjs.map +1 -1
  229. package/dist/actions/list-organizations.d.cts +14 -3
  230. package/dist/actions/list-organizations.d.cts.map +1 -1
  231. package/dist/actions/list-organizations.d.mts +14 -3
  232. package/dist/actions/list-organizations.d.mts.map +1 -1
  233. package/dist/actions/list-organizations.mjs +4 -4
  234. package/dist/actions/list-organizations.mjs.map +1 -1
  235. package/dist/actions/list-responses.cjs +11 -11
  236. package/dist/actions/list-responses.cjs.map +1 -1
  237. package/dist/actions/list-responses.d.cts +46 -3
  238. package/dist/actions/list-responses.d.cts.map +1 -1
  239. package/dist/actions/list-responses.d.mts +46 -3
  240. package/dist/actions/list-responses.d.mts.map +1 -1
  241. package/dist/actions/list-responses.mjs +11 -11
  242. package/dist/actions/list-responses.mjs.map +1 -1
  243. package/dist/actions/list-shared-labels.cjs +4 -4
  244. package/dist/actions/list-shared-labels.cjs.map +1 -1
  245. package/dist/actions/list-shared-labels.d.cts +27 -3
  246. package/dist/actions/list-shared-labels.d.cts.map +1 -1
  247. package/dist/actions/list-shared-labels.d.mts +27 -3
  248. package/dist/actions/list-shared-labels.d.mts.map +1 -1
  249. package/dist/actions/list-shared-labels.mjs +4 -4
  250. package/dist/actions/list-shared-labels.mjs.map +1 -1
  251. package/dist/actions/list-tasks.cjs +11 -11
  252. package/dist/actions/list-tasks.cjs.map +1 -1
  253. package/dist/actions/list-tasks.d.cts +48 -3
  254. package/dist/actions/list-tasks.d.cts.map +1 -1
  255. package/dist/actions/list-tasks.d.mts +48 -3
  256. package/dist/actions/list-tasks.d.mts.map +1 -1
  257. package/dist/actions/list-tasks.mjs +11 -11
  258. package/dist/actions/list-tasks.mjs.map +1 -1
  259. package/dist/actions/list-teams.cjs +4 -4
  260. package/dist/actions/list-teams.cjs.map +1 -1
  261. package/dist/actions/list-teams.d.cts +19 -3
  262. package/dist/actions/list-teams.d.cts.map +1 -1
  263. package/dist/actions/list-teams.d.mts +19 -3
  264. package/dist/actions/list-teams.d.mts.map +1 -1
  265. package/dist/actions/list-teams.mjs +4 -4
  266. package/dist/actions/list-teams.mjs.map +1 -1
  267. package/dist/actions/list-users.cjs +6 -6
  268. package/dist/actions/list-users.cjs.map +1 -1
  269. package/dist/actions/list-users.d.cts +19 -3
  270. package/dist/actions/list-users.d.cts.map +1 -1
  271. package/dist/actions/list-users.d.mts +19 -3
  272. package/dist/actions/list-users.d.mts.map +1 -1
  273. package/dist/actions/list-users.mjs +6 -6
  274. package/dist/actions/list-users.mjs.map +1 -1
  275. package/dist/actions/merge-conversations.cjs +22 -22
  276. package/dist/actions/merge-conversations.cjs.map +1 -1
  277. package/dist/actions/merge-conversations.d.cts +85 -3
  278. package/dist/actions/merge-conversations.d.cts.map +1 -1
  279. package/dist/actions/merge-conversations.d.mts +85 -3
  280. package/dist/actions/merge-conversations.d.mts.map +1 -1
  281. package/dist/actions/merge-conversations.mjs +22 -22
  282. package/dist/actions/merge-conversations.mjs.map +1 -1
  283. package/dist/actions/update-contact.cjs +12 -12
  284. package/dist/actions/update-contact.cjs.map +1 -1
  285. package/dist/actions/update-contact.d.cts +138 -3
  286. package/dist/actions/update-contact.d.cts.map +1 -1
  287. package/dist/actions/update-contact.d.mts +138 -3
  288. package/dist/actions/update-contact.d.mts.map +1 -1
  289. package/dist/actions/update-contact.mjs +12 -12
  290. package/dist/actions/update-contact.mjs.map +1 -1
  291. package/dist/actions/update-response.cjs +10 -10
  292. package/dist/actions/update-response.cjs.map +1 -1
  293. package/dist/actions/update-response.d.cts +87 -3
  294. package/dist/actions/update-response.d.cts.map +1 -1
  295. package/dist/actions/update-response.d.mts +87 -3
  296. package/dist/actions/update-response.d.mts.map +1 -1
  297. package/dist/actions/update-response.mjs +10 -10
  298. package/dist/actions/update-response.mjs.map +1 -1
  299. package/dist/actions/update-shared-labels.cjs +6 -6
  300. package/dist/actions/update-shared-labels.cjs.map +1 -1
  301. package/dist/actions/update-shared-labels.d.cts +24 -3
  302. package/dist/actions/update-shared-labels.d.cts.map +1 -1
  303. package/dist/actions/update-shared-labels.d.mts +24 -3
  304. package/dist/actions/update-shared-labels.d.mts.map +1 -1
  305. package/dist/actions/update-shared-labels.mjs +6 -6
  306. package/dist/actions/update-shared-labels.mjs.map +1 -1
  307. package/dist/actions/update-task.cjs +7 -7
  308. package/dist/actions/update-task.cjs.map +1 -1
  309. package/dist/actions/update-task.d.cts +37 -3
  310. package/dist/actions/update-task.d.cts.map +1 -1
  311. package/dist/actions/update-task.d.mts +37 -3
  312. package/dist/actions/update-task.d.mts.map +1 -1
  313. package/dist/actions/update-task.mjs +7 -7
  314. package/dist/actions/update-task.mjs.map +1 -1
  315. package/dist/actions/update-team.cjs +5 -5
  316. package/dist/actions/update-team.cjs.map +1 -1
  317. package/dist/actions/update-team.d.cts +30 -3
  318. package/dist/actions/update-team.d.cts.map +1 -1
  319. package/dist/actions/update-team.d.mts +30 -3
  320. package/dist/actions/update-team.d.mts.map +1 -1
  321. package/dist/actions/update-team.mjs +5 -5
  322. package/dist/actions/update-team.mjs.map +1 -1
  323. package/dist/catalog.cjs +7 -1
  324. package/dist/catalog.cjs.map +1 -1
  325. package/dist/catalog.d.cts +8 -0
  326. package/dist/catalog.d.mts +8 -0
  327. package/dist/catalog.mjs +7 -1
  328. package/dist/catalog.mjs.map +1 -1
  329. package/package.json +2 -2
@@ -7,19 +7,19 @@ const MissiveUpdateSharedLabelsInput = z.object({
7
7
  id: z.string().describe("Shared label unique identifier to update"),
8
8
  name: z.string().describe("Updated name for the shared label"),
9
9
  color: z.string().describe("Updated color code for the label in hex format")
10
- }).describe("Shared label object with attributes to update.")).describe("Array of shared label objects with id and attributes to update")
10
+ }).passthrough().describe("Shared label object with attributes to update.")).describe("Array of shared label objects with id and attributes to update")
11
11
  }).describe("Request model for updating one or more shared labels.");
12
12
  const MissiveUpdateSharedLabels_SharedLabelResponseSchema = z.object({
13
- id: z.string().describe("Shared label unique identifier"),
14
- name: z.string().describe("Shared label name"),
15
- color: z.string().describe("Label color code in hex format")
16
- }).describe("Shared label response object.");
13
+ id: z.string().describe("Shared label unique identifier").nullable(),
14
+ name: z.string().describe("Shared label name").nullable(),
15
+ color: z.string().describe("Label color code in hex format").nullable()
16
+ }).passthrough().describe("Shared label response object.");
17
17
  const missiveUpdateSharedLabels = action("MISSIVE_UPDATE_SHARED_LABELS", {
18
18
  slug: "missive-update-shared-labels",
19
19
  name: "Update Shared Labels",
20
20
  description: "Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.",
21
21
  input: MissiveUpdateSharedLabelsInput,
22
- output: z.object({ shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe("Array of updated shared label objects") }).describe("Response model for updating shared labels.")
22
+ output: z.object({ shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe("Array of updated shared label objects") }).passthrough().describe("Response model for updating shared labels.")
23
23
  });
24
24
  //#endregion
25
25
  export { missiveUpdateSharedLabels };
@@ -1 +1 @@
1
- {"version":3,"file":"update-shared-labels.mjs","names":[],"sources":["../../src/actions/update-shared-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateSharedLabelsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Shared label ID in the path. Can pass multiple comma-separated IDs to update multiple labels.\"),\n shared_labels: z.array(z.object({\n id: z.string().describe(\"Shared label unique identifier to update\"),\n name: z.string().describe(\"Updated name for the shared label\"),\n color: z.string().describe(\"Updated color code for the label in hex format\"),\n}).describe(\"Shared label object with attributes to update.\")).describe(\"Array of shared label objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more shared labels.\");\nconst MissiveUpdateSharedLabels_SharedLabelResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Shared label unique identifier\"),\n name: z.string().describe(\"Shared label name\"),\n color: z.string().describe(\"Label color code in hex format\"),\n}).describe(\"Shared label response object.\");\nexport const MissiveUpdateSharedLabelsOutput: z.ZodTypeAny = z.object({\n shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe(\"Array of updated shared label objects\"),\n}).describe(\"Response model for updating shared labels.\");\n\nexport const missiveUpdateSharedLabels = action(\"MISSIVE_UPDATE_SHARED_LABELS\", {\n slug: \"missive-update-shared-labels\",\n name: \"Update Shared Labels\",\n description: \"Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.\",\n input: MissiveUpdateSharedLabelsInput,\n output: MissiveUpdateSharedLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACvH,eAAe,EAAE,MAAM,EAAE,OAAO;EAChC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACxI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC7D,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAK3C,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,eAAe,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,uCAAuC,EAC9H,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-shared-labels.mjs","names":[],"sources":["../../src/actions/update-shared-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateSharedLabelsInput = z.object({\n id: z.string().describe(\"Shared label ID in the path. Can pass multiple comma-separated IDs to update multiple labels.\"),\n shared_labels: z.array(z.object({\n id: z.string().describe(\"Shared label unique identifier to update\"),\n name: z.string().describe(\"Updated name for the shared label\"),\n color: z.string().describe(\"Updated color code for the label in hex format\"),\n}).passthrough().describe(\"Shared label object with attributes to update.\")).describe(\"Array of shared label objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more shared labels.\");\nconst MissiveUpdateSharedLabels_SharedLabelResponseSchema = z.object({\n id: z.string().describe(\"Shared label unique identifier\").nullable(),\n name: z.string().describe(\"Shared label name\").nullable(),\n color: z.string().describe(\"Label color code in hex format\").nullable(),\n}).passthrough().describe(\"Shared label response object.\");\nexport const MissiveUpdateSharedLabelsOutput = z.object({\n shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe(\"Array of updated shared label objects\"),\n}).passthrough().describe(\"Response model for updating shared labels.\");\n\nexport const missiveUpdateSharedLabels = action(\"MISSIVE_UPDATE_SHARED_LABELS\", {\n slug: \"missive-update-shared-labels\",\n name: \"Update Shared Labels\",\n description: \"Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.\",\n input: MissiveUpdateSharedLabelsInput,\n output: MissiveUpdateSharedLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACvH,eAAe,EAAE,MAAM,EAAE,OAAO;EAChC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACtJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,uCAAuC,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -15,20 +15,20 @@ const MissiveUpdateTaskInput = zod.z.object({
15
15
  }).describe("Task attributes to update")
16
16
  }).describe("Request model for updating a task in Missive.");
17
17
  const MissiveUpdateTask_UserSchema = zod.z.object({
18
- id: zod.z.string().describe("User ID"),
19
- name: zod.z.string().describe("User name"),
20
- email: zod.z.string().describe("User email address")
21
- }).describe("User object for task assignees.");
18
+ id: zod.z.string().describe("User ID").nullable(),
19
+ name: zod.z.string().describe("User name").nullable(),
20
+ email: zod.z.string().describe("User email address").nullable()
21
+ }).passthrough().describe("User object for task assignees.");
22
22
  const MissiveUpdateTask_TaskSchema = zod.z.object({
23
- id: zod.z.string().describe("Task ID"),
23
+ id: zod.z.string().describe("Task ID").nullable(),
24
24
  state: zod.z.string().describe("Task state").nullable().optional(),
25
25
  due_at: zod.z.number().int().describe("Unix timestamp for due date").nullable().optional(),
26
26
  assignees: zod.z.array(MissiveUpdateTask_UserSchema).describe("Array of assigned users").nullable().optional(),
27
27
  closed_at: zod.z.number().int().describe("Unix timestamp when task was closed").nullable().optional(),
28
28
  started_at: zod.z.number().int().describe("Unix timestamp when task was started").nullable().optional(),
29
29
  description: zod.z.string().describe("Task description").nullable().optional()
30
- }).describe("Task object in the response.");
31
- const MissiveUpdateTaskOutput = zod.z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).describe("Response model for updating a task in Missive.");
30
+ }).passthrough().describe("Task object in the response.");
31
+ const MissiveUpdateTaskOutput = zod.z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).passthrough().describe("Response model for updating a task in Missive.");
32
32
  const missiveUpdateTask = require_action.action("MISSIVE_UPDATE_TASK", {
33
33
  slug: "missive-update-task",
34
34
  name: "Update Missive Task",
@@ -1 +1 @@
1
- {"version":3,"file":"update-task.cjs","names":["z","action"],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the task to update\"),\n tasks: z.object({\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\").optional(),\n due_at: z.number().int().describe(\"Unix timestamp for task due date\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs to assign to the task\").optional(),\n description: z.string().describe(\"Updated task description\").optional(),\n}).describe(\"Task attributes to update\"),\n}).describe(\"Request model for updating a task in Missive.\");\nconst MissiveUpdateTask_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID\"),\n name: z.string().describe(\"User name\"),\n email: z.string().describe(\"User email address\"),\n}).describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Task ID\"),\n state: z.string().describe(\"Task state\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(MissiveUpdateTask_UserSchema).describe(\"Array of assigned users\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n started_at: z.number().int().describe(\"Unix timestamp when task was started\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n}).describe(\"Task object in the response.\");\nexport const MissiveUpdateTaskOutput: z.ZodTypeAny = z.object({\n tasks: MissiveUpdateTask_TaskSchema.nullable(),\n}).describe(\"Response model for updating a task in Missive.\");\n\nexport const missiveUpdateTask = action(\"MISSIVE_UPDATE_TASK\", {\n slug: \"missive-update-task\",\n name: \"Update Missive Task\",\n description: \"Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.\",\n input: MissiveUpdateTaskInput,\n output: MissiveUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,OAAOA,IAAAA,EAAE,OAAO;EAChB,OAAOA,IAAAA,EAAE,KAAK;GAAC;GAAQ;GAAe;EAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,CAAC,CAAC,CAAC,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,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-task.cjs","names":["z","action"],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTaskInput = z.object({\n id: z.string().describe(\"The ID of the task to update\"),\n tasks: z.object({\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\").optional(),\n due_at: z.number().int().describe(\"Unix timestamp for task due date\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs to assign to the task\").optional(),\n description: z.string().describe(\"Updated task description\").optional(),\n}).describe(\"Task attributes to update\"),\n}).describe(\"Request model for updating a task in Missive.\");\nconst MissiveUpdateTask_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable(),\n email: z.string().describe(\"User email address\").nullable(),\n}).passthrough().describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema = z.object({\n id: z.string().describe(\"Task ID\").nullable(),\n state: z.string().describe(\"Task state\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(MissiveUpdateTask_UserSchema).describe(\"Array of assigned users\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n started_at: z.number().int().describe(\"Unix timestamp when task was started\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n}).passthrough().describe(\"Task object in the response.\");\nexport const MissiveUpdateTaskOutput = z.object({\n tasks: MissiveUpdateTask_TaskSchema.nullable(),\n}).passthrough().describe(\"Response model for updating a task in Missive.\");\n\nexport const missiveUpdateTask = action(\"MISSIVE_UPDATE_TASK\", {\n slug: \"missive-update-task\",\n name: \"Update Missive Task\",\n description: \"Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.\",\n input: MissiveUpdateTaskInput,\n output: MissiveUpdateTaskOutput,\n});\n"],"mappings":";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AAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAO,6BAA6B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-task.d.ts
4
- declare const MissiveUpdateTaskInput: z.ZodTypeAny;
5
- declare const MissiveUpdateTaskOutput: z.ZodTypeAny;
6
- declare const missiveUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveUpdateTaskInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ tasks: z.ZodObject<{
7
+ state: z.ZodOptional<z.ZodEnum<{
8
+ todo: "todo";
9
+ in_progress: "in_progress";
10
+ closed: "closed";
11
+ }>>;
12
+ due_at: z.ZodOptional<z.ZodNumber>;
13
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ description: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ declare const MissiveUpdateTaskOutput: z.ZodObject<{
18
+ tasks: z.ZodNullable<z.ZodObject<{
19
+ id: z.ZodNullable<z.ZodString>;
20
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ due_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ assignees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodString>;
24
+ name: z.ZodNullable<z.ZodString>;
25
+ email: z.ZodNullable<z.ZodString>;
26
+ }, z.core.$loose>>>>;
27
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>;
31
+ }, z.core.$loose>;
32
+ declare const missiveUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ id: string;
34
+ tasks: {
35
+ state?: "todo" | "in_progress" | "closed" | undefined;
36
+ due_at?: number | undefined;
37
+ assignees?: string[] | undefined;
38
+ description?: string | undefined;
39
+ };
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { missiveUpdateTask };
9
43
  //# sourceMappingURL=update-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-task.d.cts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAQqB;AAAA,cAe/C,uBAAA,EAAyB,CAAA,CAAE,UAEqB;AAAA,cAEhD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-task.d.cts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAuBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-task.d.ts
4
- declare const MissiveUpdateTaskInput: z.ZodTypeAny;
5
- declare const MissiveUpdateTaskOutput: z.ZodTypeAny;
6
- declare const missiveUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveUpdateTaskInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ tasks: z.ZodObject<{
7
+ state: z.ZodOptional<z.ZodEnum<{
8
+ todo: "todo";
9
+ in_progress: "in_progress";
10
+ closed: "closed";
11
+ }>>;
12
+ due_at: z.ZodOptional<z.ZodNumber>;
13
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ description: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ declare const MissiveUpdateTaskOutput: z.ZodObject<{
18
+ tasks: z.ZodNullable<z.ZodObject<{
19
+ id: z.ZodNullable<z.ZodString>;
20
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ due_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ assignees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodString>;
24
+ name: z.ZodNullable<z.ZodString>;
25
+ email: z.ZodNullable<z.ZodString>;
26
+ }, z.core.$loose>>>>;
27
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>;
31
+ }, z.core.$loose>;
32
+ declare const missiveUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ id: string;
34
+ tasks: {
35
+ state?: "todo" | "in_progress" | "closed" | undefined;
36
+ due_at?: number | undefined;
37
+ assignees?: string[] | undefined;
38
+ description?: string | undefined;
39
+ };
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { missiveUpdateTask };
9
43
  //# sourceMappingURL=update-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-task.d.mts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAQqB;AAAA,cAe/C,uBAAA,EAAyB,CAAA,CAAE,UAEqB;AAAA,cAEhD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-task.d.mts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAuBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -15,25 +15,25 @@ const MissiveUpdateTaskInput = z.object({
15
15
  }).describe("Task attributes to update")
16
16
  }).describe("Request model for updating a task in Missive.");
17
17
  const MissiveUpdateTask_UserSchema = z.object({
18
- id: z.string().describe("User ID"),
19
- name: z.string().describe("User name"),
20
- email: z.string().describe("User email address")
21
- }).describe("User object for task assignees.");
18
+ id: z.string().describe("User ID").nullable(),
19
+ name: z.string().describe("User name").nullable(),
20
+ email: z.string().describe("User email address").nullable()
21
+ }).passthrough().describe("User object for task assignees.");
22
22
  const MissiveUpdateTask_TaskSchema = z.object({
23
- id: z.string().describe("Task ID"),
23
+ id: z.string().describe("Task ID").nullable(),
24
24
  state: z.string().describe("Task state").nullable().optional(),
25
25
  due_at: z.number().int().describe("Unix timestamp for due date").nullable().optional(),
26
26
  assignees: z.array(MissiveUpdateTask_UserSchema).describe("Array of assigned users").nullable().optional(),
27
27
  closed_at: z.number().int().describe("Unix timestamp when task was closed").nullable().optional(),
28
28
  started_at: z.number().int().describe("Unix timestamp when task was started").nullable().optional(),
29
29
  description: z.string().describe("Task description").nullable().optional()
30
- }).describe("Task object in the response.");
30
+ }).passthrough().describe("Task object in the response.");
31
31
  const missiveUpdateTask = action("MISSIVE_UPDATE_TASK", {
32
32
  slug: "missive-update-task",
33
33
  name: "Update Missive Task",
34
34
  description: "Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.",
35
35
  input: MissiveUpdateTaskInput,
36
- output: z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).describe("Response model for updating a task in Missive.")
36
+ output: z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).passthrough().describe("Response model for updating a task in Missive.")
37
37
  });
38
38
  //#endregion
39
39
  export { missiveUpdateTask };
@@ -1 +1 @@
1
- {"version":3,"file":"update-task.mjs","names":[],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the task to update\"),\n tasks: z.object({\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\").optional(),\n due_at: z.number().int().describe(\"Unix timestamp for task due date\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs to assign to the task\").optional(),\n description: z.string().describe(\"Updated task description\").optional(),\n}).describe(\"Task attributes to update\"),\n}).describe(\"Request model for updating a task in Missive.\");\nconst MissiveUpdateTask_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID\"),\n name: z.string().describe(\"User name\"),\n email: z.string().describe(\"User email address\"),\n}).describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Task ID\"),\n state: z.string().describe(\"Task state\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(MissiveUpdateTask_UserSchema).describe(\"Array of assigned users\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n started_at: z.number().int().describe(\"Unix timestamp when task was started\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n}).describe(\"Task object in the response.\");\nexport const MissiveUpdateTaskOutput: z.ZodTypeAny = z.object({\n tasks: MissiveUpdateTask_TaskSchema.nullable(),\n}).describe(\"Response model for updating a task in Missive.\");\n\nexport const missiveUpdateTask = action(\"MISSIVE_UPDATE_TASK\", {\n slug: \"missive-update-task\",\n name: \"Update Missive Task\",\n description: \"Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.\",\n input: MissiveUpdateTaskInput,\n output: MissiveUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,KAAK;GAAC;GAAQ;GAAe;EAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAC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{ action } from \"../action\";\n\nexport const MissiveUpdateTaskInput = z.object({\n id: z.string().describe(\"The ID of the task to update\"),\n tasks: z.object({\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\").optional(),\n due_at: z.number().int().describe(\"Unix timestamp for task due date\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs to assign to the task\").optional(),\n description: z.string().describe(\"Updated task description\").optional(),\n}).describe(\"Task attributes to update\"),\n}).describe(\"Request model for updating a task in Missive.\");\nconst MissiveUpdateTask_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable(),\n email: z.string().describe(\"User email address\").nullable(),\n}).passthrough().describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema = z.object({\n id: z.string().describe(\"Task ID\").nullable(),\n state: z.string().describe(\"Task state\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(MissiveUpdateTask_UserSchema).describe(\"Array of assigned users\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n started_at: z.number().int().describe(\"Unix timestamp when task was started\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n}).passthrough().describe(\"Task object in the response.\");\nexport const MissiveUpdateTaskOutput = z.object({\n tasks: MissiveUpdateTask_TaskSchema.nullable(),\n}).passthrough().describe(\"Response model for updating a task in Missive.\");\n\nexport const missiveUpdateTask = action(\"MISSIVE_UPDATE_TASK\", {\n slug: \"missive-update-task\",\n name: \"Update Missive Task\",\n description: \"Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.\",\n input: MissiveUpdateTaskInput,\n output: MissiveUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,OAAO,EAAE,OAAO;EAChB,OAAO,E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C,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,6BAA6B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -8,18 +8,18 @@ const MissiveUpdateTeamInput = zod.z.object({
8
8
  name: zod.z.string().describe("New name for the team").optional(),
9
9
  color: zod.z.string().describe("New team color (hex code or name)").optional(),
10
10
  initials: zod.z.string().describe("New team initials").optional()
11
- }).describe("Team update data model containing the team ID and fields to update.")).describe("Array of team objects with id and attributes to update")
11
+ }).passthrough().describe("Team update data model containing the team ID and fields to update.")).describe("Array of team objects with id and attributes to update")
12
12
  }).describe("Request model for updating one or more teams.");
13
13
  const MissiveUpdateTeam_TeamSchema = zod.z.object({
14
- id: zod.z.string().describe("Unique identifier for the team"),
15
- name: zod.z.string().describe("Name of the team"),
14
+ id: zod.z.string().describe("Unique identifier for the team").nullable(),
15
+ name: zod.z.string().describe("Name of the team").nullable(),
16
16
  color: zod.z.string().describe("Team color (hex code or name)").nullable().optional(),
17
17
  initials: zod.z.string().describe("Team initials").nullable().optional(),
18
18
  created_at: zod.z.string().describe("Timestamp when team was created (ISO 8601)").nullable().optional(),
19
19
  updated_at: zod.z.string().describe("Timestamp when team was last updated (ISO 8601)").nullable().optional(),
20
20
  organization: zod.z.string().describe("Organization ID the team belongs to").nullable().optional()
21
- }).describe("A Missive team object returned in the response.");
22
- const MissiveUpdateTeamOutput = zod.z.object({ teams: zod.z.array(MissiveUpdateTeam_TeamSchema).describe("List of updated team objects with their new values") }).describe("Response model for updating teams.");
21
+ }).passthrough().describe("A Missive team object returned in the response.");
22
+ const MissiveUpdateTeamOutput = zod.z.object({ teams: zod.z.array(MissiveUpdateTeam_TeamSchema).describe("List of updated team objects with their new values") }).passthrough().describe("Response model for updating teams.");
23
23
  const missiveUpdateTeam = require_action.action("MISSIVE_UPDATE_TEAM", {
24
24
  slug: "missive-update-team",
25
25
  name: "Update Missive Team",
@@ -1 +1 @@
1
- {"version":3,"file":"update-team.cjs","names":["z","action"],"sources":["../../src/actions/update-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTeamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team ID or comma-separated list of team IDs to update\"),\n teams: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the team to update\"),\n name: z.string().describe(\"New name for the team\").optional(),\n color: z.string().describe(\"New team color (hex code or name)\").optional(),\n initials: z.string().describe(\"New team initials\").optional(),\n}).describe(\"Team update data model containing the team ID and fields to update.\")).describe(\"Array of team objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more teams.\");\nconst MissiveUpdateTeam_TeamSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the team\"),\n name: z.string().describe(\"Name of the team\"),\n color: z.string().describe(\"Team color (hex code or name)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).describe(\"A Missive team object returned in the response.\");\nexport const MissiveUpdateTeamOutput: z.ZodTypeAny = z.object({\n teams: z.array(MissiveUpdateTeam_TeamSchema).describe(\"List of updated team objects with their new values\"),\n}).describe(\"Response model for updating teams.\");\n\nexport const missiveUpdateTeam = action(\"MISSIVE_UPDATE_TEAM\", {\n slug: \"missive-update-team\",\n name: \"Update Missive Team\",\n description: \"Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin.\",\n input: MissiveUpdateTeamInput,\n output: MissiveUpdateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACrJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oDAAoD,EAC5G,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-team.cjs","names":["z","action"],"sources":["../../src/actions/update-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTeamInput = z.object({\n id: z.string().describe(\"Team ID or comma-separated list of team IDs to update\"),\n teams: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the team to update\"),\n name: z.string().describe(\"New name for the team\").optional(),\n color: z.string().describe(\"New team color (hex code or name)\").optional(),\n initials: z.string().describe(\"New team initials\").optional(),\n}).passthrough().describe(\"Team update data model containing the team ID and fields to update.\")).describe(\"Array of team objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more teams.\");\nconst MissiveUpdateTeam_TeamSchema = z.object({\n id: z.string().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n color: z.string().describe(\"Team color (hex code or name)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).passthrough().describe(\"A Missive team object returned in the response.\");\nexport const MissiveUpdateTeamOutput = z.object({\n teams: z.array(MissiveUpdateTeam_TeamSchema).describe(\"List of updated team objects with their new values\"),\n}).passthrough().describe(\"Response model for updating teams.\");\n\nexport const missiveUpdateTeam = action(\"MISSIVE_UPDATE_TEAM\", {\n slug: \"missive-update-team\",\n name: \"Update Missive Team\",\n description: \"Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin.\",\n input: MissiveUpdateTeamInput,\n output: MissiveUpdateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACnK,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oDAAoD,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-team.d.ts
4
- declare const MissiveUpdateTeamInput: z.ZodTypeAny;
5
- declare const MissiveUpdateTeamOutput: z.ZodTypeAny;
6
- declare const missiveUpdateTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveUpdateTeamInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ teams: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ color: z.ZodOptional<z.ZodString>;
10
+ initials: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$strip>;
13
+ declare const MissiveUpdateTeamOutput: z.ZodObject<{
14
+ teams: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodString>;
16
+ name: z.ZodNullable<z.ZodString>;
17
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ initials: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const missiveUpdateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ id: string;
26
+ teams: {
27
+ [x: string]: unknown;
28
+ id: string;
29
+ name?: string | undefined;
30
+ color?: string | undefined;
31
+ initials?: string | undefined;
32
+ }[];
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { missiveUpdateTeam };
9
36
  //# sourceMappingURL=update-team.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-team.d.cts","names":[],"sources":["../../src/actions/update-team.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAQqB;AAAA,cAU/C,uBAAA,EAAyB,CAAA,CAAE,UAES;AAAA,cAEpC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-team.d.cts","names":[],"sources":["../../src/actions/update-team.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-team.d.ts
4
- declare const MissiveUpdateTeamInput: z.ZodTypeAny;
5
- declare const MissiveUpdateTeamOutput: z.ZodTypeAny;
6
- declare const missiveUpdateTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveUpdateTeamInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ teams: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ color: z.ZodOptional<z.ZodString>;
10
+ initials: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$strip>;
13
+ declare const MissiveUpdateTeamOutput: z.ZodObject<{
14
+ teams: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodString>;
16
+ name: z.ZodNullable<z.ZodString>;
17
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ initials: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const missiveUpdateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ id: string;
26
+ teams: {
27
+ [x: string]: unknown;
28
+ id: string;
29
+ name?: string | undefined;
30
+ color?: string | undefined;
31
+ initials?: string | undefined;
32
+ }[];
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { missiveUpdateTeam };
9
36
  //# sourceMappingURL=update-team.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-team.d.mts","names":[],"sources":["../../src/actions/update-team.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAQqB;AAAA,cAU/C,uBAAA,EAAyB,CAAA,CAAE,UAES;AAAA,cAEpC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-team.d.mts","names":[],"sources":["../../src/actions/update-team.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -8,23 +8,23 @@ const MissiveUpdateTeamInput = z.object({
8
8
  name: z.string().describe("New name for the team").optional(),
9
9
  color: z.string().describe("New team color (hex code or name)").optional(),
10
10
  initials: z.string().describe("New team initials").optional()
11
- }).describe("Team update data model containing the team ID and fields to update.")).describe("Array of team objects with id and attributes to update")
11
+ }).passthrough().describe("Team update data model containing the team ID and fields to update.")).describe("Array of team objects with id and attributes to update")
12
12
  }).describe("Request model for updating one or more teams.");
13
13
  const MissiveUpdateTeam_TeamSchema = z.object({
14
- id: z.string().describe("Unique identifier for the team"),
15
- name: z.string().describe("Name of the team"),
14
+ id: z.string().describe("Unique identifier for the team").nullable(),
15
+ name: z.string().describe("Name of the team").nullable(),
16
16
  color: z.string().describe("Team color (hex code or name)").nullable().optional(),
17
17
  initials: z.string().describe("Team initials").nullable().optional(),
18
18
  created_at: z.string().describe("Timestamp when team was created (ISO 8601)").nullable().optional(),
19
19
  updated_at: z.string().describe("Timestamp when team was last updated (ISO 8601)").nullable().optional(),
20
20
  organization: z.string().describe("Organization ID the team belongs to").nullable().optional()
21
- }).describe("A Missive team object returned in the response.");
21
+ }).passthrough().describe("A Missive team object returned in the response.");
22
22
  const missiveUpdateTeam = action("MISSIVE_UPDATE_TEAM", {
23
23
  slug: "missive-update-team",
24
24
  name: "Update Missive Team",
25
25
  description: "Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin.",
26
26
  input: MissiveUpdateTeamInput,
27
- output: z.object({ teams: z.array(MissiveUpdateTeam_TeamSchema).describe("List of updated team objects with their new values") }).describe("Response model for updating teams.")
27
+ output: z.object({ teams: z.array(MissiveUpdateTeam_TeamSchema).describe("List of updated team objects with their new values") }).passthrough().describe("Response model for updating teams.")
28
28
  });
29
29
  //#endregion
30
30
  export { missiveUpdateTeam };
@@ -1 +1 @@
1
- {"version":3,"file":"update-team.mjs","names":[],"sources":["../../src/actions/update-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTeamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team ID or comma-separated list of team IDs to update\"),\n teams: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the team to update\"),\n name: z.string().describe(\"New name for the team\").optional(),\n color: z.string().describe(\"New team color (hex code or name)\").optional(),\n initials: z.string().describe(\"New team initials\").optional(),\n}).describe(\"Team update data model containing the team ID and fields to update.\")).describe(\"Array of team objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more teams.\");\nconst MissiveUpdateTeam_TeamSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the team\"),\n name: z.string().describe(\"Name of the team\"),\n color: z.string().describe(\"Team color (hex code or name)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).describe(\"A Missive team object returned in the response.\");\nexport const MissiveUpdateTeamOutput: z.ZodTypeAny = z.object({\n teams: z.array(MissiveUpdateTeam_TeamSchema).describe(\"List of updated team objects with their new values\"),\n}).describe(\"Response model for updating teams.\");\n\nexport const missiveUpdateTeam = action(\"MISSIVE_UPDATE_TEAM\", {\n slug: \"missive-update-team\",\n name: \"Update Missive Team\",\n description: \"Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin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Aa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oDAAoD,EAC5G,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-team.mjs","names":[],"sources":["../../src/actions/update-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTeamInput = z.object({\n id: z.string().describe(\"Team ID or comma-separated list of team IDs to update\"),\n teams: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the team to update\"),\n name: z.string().describe(\"New name for the team\").optional(),\n color: z.string().describe(\"New team color (hex code or name)\").optional(),\n initials: z.string().describe(\"New team initials\").optional(),\n}).passthrough().describe(\"Team update data model containing the team ID and fields to update.\")).describe(\"Array of team objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more teams.\");\nconst MissiveUpdateTeam_TeamSchema = z.object({\n id: z.string().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n color: z.string().describe(\"Team color (hex code or name)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).passthrough().describe(\"A Missive team object returned in the response.\");\nexport const MissiveUpdateTeamOutput = z.object({\n teams: z.array(MissiveUpdateTeam_TeamSchema).describe(\"List of updated team objects with their new values\"),\n}).passthrough().describe(\"Response model for updating teams.\");\n\nexport const missiveUpdateTeam = action(\"MISSIVE_UPDATE_TEAM\", {\n slug: \"missive-update-team\",\n name: \"Update Missive Team\",\n description: \"Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin.\",\n input: MissiveUpdateTeamInput,\n output: MissiveUpdateTeamOutput,\n});\n"],"m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AM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oDAAoD,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const missiveCatalog = {
7
7
  "category": "Email",
8
8
  "logo": "https://logos.composio.dev/api/missive",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_token": {
12
+ "label": "API Token",
13
+ "secret": true,
14
+ "description": "Your personal Missive API token. Create one in Missive under Settings → API → 'Create a new token' (your org must be on the Productive plan)."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.missiveCatalog = missiveCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const missiveCatalog = {\n \"slug\": \"missive\",\n \"name\": \"Missive\",\n \"description\": \"Missive is a collaborative email and chat application designed to streamline team communication and task management.\",\n \"category\": \"Email\",\n \"logo\": \"https://logos.composio.dev/api/missive\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const missiveCatalog = {\n \"slug\": \"missive\",\n \"name\": \"Missive\",\n \"description\": \"Missive is a collaborative email and chat application designed to streamline team communication and task management.\",\n \"category\": \"Email\",\n \"logo\": \"https://logos.composio.dev/api/missive\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_token\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Your personal Missive API token. Create one in Missive under Settings → API → 'Create a new token' (your org must be on the Productive plan).\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,aAAa;EACX,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const missiveCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/missive";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_token: {
13
+ readonly label: "API Token";
14
+ readonly secret: true;
15
+ readonly description: "Your personal Missive API token. Create one in Missive under Settings → API → 'Create a new token' (your org must be on the Productive plan).";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { missiveCatalog };
@@ -8,6 +8,14 @@ declare const missiveCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/missive";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_token: {
13
+ readonly label: "API Token";
14
+ readonly secret: true;
15
+ readonly description: "Your personal Missive API token. Create one in Missive under Settings → API → 'Create a new token' (your org must be on the Productive plan).";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { missiveCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const missiveCatalog = {
7
7
  "category": "Email",
8
8
  "logo": "https://logos.composio.dev/api/missive",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_token": {
12
+ "label": "API Token",
13
+ "secret": true,
14
+ "description": "Your personal Missive API token. Create one in Missive under Settings → API → 'Create a new token' (your org must be on the Productive plan)."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { missiveCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const missiveCatalog = {\n \"slug\": \"missive\",\n \"name\": \"Missive\",\n \"description\": \"Missive is a collaborative email and chat application designed to streamline team communication and task management.\",\n \"category\": \"Email\",\n \"logo\": \"https://logos.composio.dev/api/missive\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const missiveCatalog = {\n \"slug\": \"missive\",\n \"name\": \"Missive\",\n \"description\": \"Missive is a collaborative email and chat application designed to streamline team communication and task management.\",\n \"category\": \"Email\",\n \"logo\": \"https://logos.composio.dev/api/missive\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_token\": {\n \"label\": \"API Token\",\n \"secret\": true,\n \"description\": \"Your personal Missive API token. Create one in Missive under Settings → API → 'Create a new token' (your org must be on the Productive plan).\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,aAAa;EACX,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/missive",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {