@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
@@ -1 +1 @@
1
- {"version":3,"file":"get-task.cjs","names":["z","action"],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Task ID\"),\n}).describe(\"Request model for fetching a single task by ID.\");\nconst MissiveGetTask_TaskTeamSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team identifier\"),\n name: z.string().describe(\"Team name\"),\n organization: z.string().describe(\"Organization identifier\").nullable().optional(),\n}).describe(\"Task team information.\");\nconst MissiveGetTask_TaskStateSchema: z.ZodTypeAny = z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\");\nconst MissiveGetTask_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 avatar_url: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n}).describe(\"User object for task assignees.\");\nconst MissiveGetTask_TaskSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique task identifier\"),\n team: MissiveGetTask_TaskTeamSchema.nullable().optional(),\n state: MissiveGetTask_TaskStateSchema.nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp when task is due\").nullable().optional(),\n assignees: z.array(MissiveGetTask_UserSchema).describe(\"List of users assigned to the task\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when task was created\").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 conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).describe(\"Complete task object with full details.\");\nexport const MissiveGetTaskOutput: z.ZodTypeAny = z.object({\n tasks: MissiveGetTask_TaskSchema.nullable(),\n}).describe(\"Response model for fetching a single task.\");\n\nexport const missiveGetTask = action(\"MISSIVE_GET_TASK\", {\n slug: \"missive-get-task\",\n name: \"Get Missive Task\",\n description: \"Tool to get a single task by ID with full details including assignees, team, and conversation info. Use when you need to retrieve complete information about a specific task.\",\n input: MissiveGetTaskInput,\n output: MissiveGetTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,EACnC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAM,iCAA+CA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAe;AAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB;AAC5H,MAAM,4BAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS;CACjC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,4BAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACxD,OAAO,+BAA+B,SAAS,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,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,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;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAO,0BAA0B,SAAS,EAC5C,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-task.cjs","names":["z","action"],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetTaskInput = z.object({\n id: z.string().describe(\"Task ID\"),\n}).describe(\"Request model for fetching a single task by ID.\");\nconst MissiveGetTask_TaskTeamSchema = z.object({\n id: z.string().describe(\"Team identifier\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n organization: z.string().describe(\"Organization identifier\").nullable().optional(),\n}).passthrough().describe(\"Task team information.\");\nconst MissiveGetTask_TaskStateSchema = z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\");\nconst MissiveGetTask_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 avatar_url: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n}).passthrough().describe(\"User object for task assignees.\");\nconst MissiveGetTask_TaskSchema = z.object({\n id: z.string().describe(\"Unique task identifier\").nullable(),\n team: MissiveGetTask_TaskTeamSchema.nullable().optional(),\n state: MissiveGetTask_TaskStateSchema.nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp when task is due\").nullable().optional(),\n assignees: z.array(MissiveGetTask_UserSchema).describe(\"List of users assigned to the task\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when task was created\").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 conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).passthrough().describe(\"Complete task object with full details.\");\nexport const MissiveGetTaskOutput = z.object({\n tasks: MissiveGetTask_TaskSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a single task.\");\n\nexport const missiveGetTask = action(\"MISSIVE_GET_TASK\", {\n slug: \"missive-get-task\",\n name: \"Get Missive Task\",\n description: \"Tool to get a single task by ID with full details including assignees, team, and conversation info. Use when you need to retrieve complete information about a specific task.\",\n input: MissiveGetTaskInput,\n output: MissiveGetTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,EACnC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,iCAAiCA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAe;AAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB;AAC9G,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAA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AAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-task.d.ts
4
- declare const MissiveGetTaskInput: z.ZodTypeAny;
5
- declare const MissiveGetTaskOutput: z.ZodTypeAny;
6
- declare const missiveGetTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveGetTaskInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MissiveGetTaskOutput: z.ZodObject<{
8
+ tasks: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ team: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>;
15
+ state: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
16
+ todo: "todo";
17
+ in_progress: "in_progress";
18
+ closed: "closed";
19
+ }>>>;
20
+ title: 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
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>>>;
28
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ conversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>;
36
+ declare const missiveGetTask: import("@keystrokehq/action").WorkflowActionDefinition<{
37
+ id: string;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { missiveGetTask };
9
41
  //# sourceMappingURL=get-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-task.d.cts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAE0B;AAAA,cA2BjD,oBAAA,EAAsB,CAAA,CAAE,UAEoB;AAAA,cAE5C,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-task.d.cts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cA6BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-task.d.ts
4
- declare const MissiveGetTaskInput: z.ZodTypeAny;
5
- declare const MissiveGetTaskOutput: z.ZodTypeAny;
6
- declare const missiveGetTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveGetTaskInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MissiveGetTaskOutput: z.ZodObject<{
8
+ tasks: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ team: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>;
15
+ state: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
16
+ todo: "todo";
17
+ in_progress: "in_progress";
18
+ closed: "closed";
19
+ }>>>;
20
+ title: 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
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>>>;
28
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ conversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>;
36
+ declare const missiveGetTask: import("@keystrokehq/action").WorkflowActionDefinition<{
37
+ id: string;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { missiveGetTask };
9
41
  //# sourceMappingURL=get-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-task.d.mts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAE0B;AAAA,cA2BjD,oBAAA,EAAsB,CAAA,CAAE,UAEoB;AAAA,cAE5C,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-task.d.mts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cA6BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -3,23 +3,23 @@ import { z } from "zod";
3
3
  //#region src/actions/get-task.ts
4
4
  const MissiveGetTaskInput = z.object({ id: z.string().describe("Task ID") }).describe("Request model for fetching a single task by ID.");
5
5
  const MissiveGetTask_TaskTeamSchema = z.object({
6
- id: z.string().describe("Team identifier"),
7
- name: z.string().describe("Team name"),
6
+ id: z.string().describe("Team identifier").nullable(),
7
+ name: z.string().describe("Team name").nullable(),
8
8
  organization: z.string().describe("Organization identifier").nullable().optional()
9
- }).describe("Task team information.");
9
+ }).passthrough().describe("Task team information.");
10
10
  const MissiveGetTask_TaskStateSchema = z.enum([
11
11
  "todo",
12
12
  "in_progress",
13
13
  "closed"
14
14
  ]).describe("Task state values.");
15
15
  const MissiveGetTask_UserSchema = z.object({
16
- id: z.string().describe("User ID"),
17
- name: z.string().describe("User name"),
18
- email: z.string().describe("User email address"),
16
+ id: z.string().describe("User ID").nullable(),
17
+ name: z.string().describe("User name").nullable(),
18
+ email: z.string().describe("User email address").nullable(),
19
19
  avatar_url: z.string().describe("URL to user's avatar image").nullable().optional()
20
- }).describe("User object for task assignees.");
20
+ }).passthrough().describe("User object for task assignees.");
21
21
  const MissiveGetTask_TaskSchema = z.object({
22
- id: z.string().describe("Unique task identifier"),
22
+ id: z.string().describe("Unique task identifier").nullable(),
23
23
  team: MissiveGetTask_TaskTeamSchema.nullable().optional(),
24
24
  state: MissiveGetTask_TaskStateSchema.nullable().optional(),
25
25
  title: z.string().describe("Task title").nullable().optional(),
@@ -31,13 +31,13 @@ const MissiveGetTask_TaskSchema = z.object({
31
31
  description: z.string().describe("Task description").nullable().optional(),
32
32
  conversation: z.string().describe("Conversation ID if this is a subtask").nullable().optional(),
33
33
  organization: z.string().describe("Organization ID the task belongs to").nullable().optional()
34
- }).describe("Complete task object with full details.");
34
+ }).passthrough().describe("Complete task object with full details.");
35
35
  const missiveGetTask = action("MISSIVE_GET_TASK", {
36
36
  slug: "missive-get-task",
37
37
  name: "Get Missive Task",
38
38
  description: "Tool to get a single task by ID with full details including assignees, team, and conversation info. Use when you need to retrieve complete information about a specific task.",
39
39
  input: MissiveGetTaskInput,
40
- output: z.object({ tasks: MissiveGetTask_TaskSchema.nullable() }).describe("Response model for fetching a single task.")
40
+ output: z.object({ tasks: MissiveGetTask_TaskSchema.nullable() }).passthrough().describe("Response model for fetching a single task.")
41
41
  });
42
42
  //#endregion
43
43
  export { missiveGetTask };
@@ -1 +1 @@
1
- {"version":3,"file":"get-task.mjs","names":[],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Task ID\"),\n}).describe(\"Request model for fetching a single task by ID.\");\nconst MissiveGetTask_TaskTeamSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team identifier\"),\n name: z.string().describe(\"Team name\"),\n organization: z.string().describe(\"Organization identifier\").nullable().optional(),\n}).describe(\"Task team information.\");\nconst MissiveGetTask_TaskStateSchema: z.ZodTypeAny = z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\");\nconst MissiveGetTask_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 avatar_url: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n}).describe(\"User object for task assignees.\");\nconst MissiveGetTask_TaskSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique task identifier\"),\n team: MissiveGetTask_TaskTeamSchema.nullable().optional(),\n state: MissiveGetTask_TaskStateSchema.nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp when task is due\").nullable().optional(),\n assignees: z.array(MissiveGetTask_UserSchema).describe(\"List of users assigned to the task\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when task was created\").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 conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).describe(\"Complete task object with full details.\");\nexport const MissiveGetTaskOutput: z.ZodTypeAny = z.object({\n tasks: MissiveGetTask_TaskSchema.nullable(),\n}).describe(\"Response model for fetching a single task.\");\n\nexport const missiveGetTask = action(\"MISSIVE_GET_TASK\", {\n slug: \"missive-get-task\",\n name: \"Get Missive Task\",\n description: \"Tool to get a single task by ID with full details including assignees, team, and conversation info. Use when you need to retrieve complete information about a specific task.\",\n input: MissiveGetTaskInput,\n output: MissiveGetTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO,EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,EACnC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAA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kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,OAAO,0BAA0B,SAAS,EAC5C,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-task.mjs","names":[],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetTaskInput = z.object({\n id: z.string().describe(\"Task ID\"),\n}).describe(\"Request model for fetching a single task by ID.\");\nconst MissiveGetTask_TaskTeamSchema = z.object({\n id: z.string().describe(\"Team identifier\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n organization: z.string().describe(\"Organization identifier\").nullable().optional(),\n}).passthrough().describe(\"Task team information.\");\nconst MissiveGetTask_TaskStateSchema = z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\");\nconst MissiveGetTask_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 avatar_url: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n}).passthrough().describe(\"User object for task assignees.\");\nconst MissiveGetTask_TaskSchema = z.object({\n id: z.string().describe(\"Unique task identifier\").nullable(),\n team: MissiveGetTask_TaskTeamSchema.nullable().optional(),\n state: MissiveGetTask_TaskStateSchema.nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp when task is due\").nullable().optional(),\n assignees: z.array(MissiveGetTask_UserSchema).describe(\"List of users assigned to the task\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when task was created\").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 conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).passthrough().describe(\"Complete task object with full details.\");\nexport const MissiveGetTaskOutput = z.object({\n tasks: MissiveGetTask_TaskSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a single task.\");\n\nexport const missiveGetTask = action(\"MISSIVE_GET_TASK\", {\n slug: \"missive-get-task\",\n name: \"Get Missive Task\",\n description: \"Tool to get a single task by ID with full details including assignees, team, and conversation info. Use when you need to retrieve complete information about a specific task.\",\n input: MissiveGetTaskInput,\n output: MissiveGetTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,EACnC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,iCAAiC,EAAE,KAAK;CAAC;CAAQ;CAAe;AAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB;AAC9G,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CA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AAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,OAAO,0BAA0B,SAAS,EAC5C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -6,16 +6,16 @@ const MissiveListContactBooksInput = zod.z.object({
6
6
  offset: zod.z.number().int().default(0).describe("Offset for pagination. Default: 0.").optional()
7
7
  }).describe("Request model for listing contact books.");
8
8
  const MissiveListContactBooks_ContactBookSchema = zod.z.object({
9
- id: zod.z.string().describe("Unique identifier for the contact book."),
10
- name: zod.z.string().describe("Contact book display name."),
11
- user: zod.z.string().describe("ID of the user who owns the contact book."),
9
+ id: zod.z.string().describe("Unique identifier for the contact book.").nullable(),
10
+ name: zod.z.string().describe("Contact book display name.").nullable(),
11
+ user: zod.z.string().describe("ID of the user who owns the contact book.").nullable(),
12
12
  description: zod.z.string().describe("Optional descriptive text.").nullable().optional(),
13
13
  organization: zod.z.string().describe("Associated organization ID.").nullable().optional(),
14
14
  share_with_team: zod.z.string().describe("Team ID if shared with specific team.").nullable().optional(),
15
15
  share_with_users: zod.z.array(zod.z.string()).describe("List of user IDs with access to this contact book."),
16
- share_with_organization: zod.z.boolean().describe("Indicates if shared with entire organization.")
17
- }).describe("A Missive contact book object.");
18
- const MissiveListContactBooksOutput = zod.z.object({ contact_books: zod.z.array(MissiveListContactBooks_ContactBookSchema).describe("Array of contact book objects accessible to the authenticated user.") }).describe("Response model for listing contact books.");
16
+ share_with_organization: zod.z.boolean().describe("Indicates if shared with entire organization.").nullable()
17
+ }).passthrough().describe("A Missive contact book object.");
18
+ const MissiveListContactBooksOutput = zod.z.object({ contact_books: zod.z.array(MissiveListContactBooks_ContactBookSchema).describe("Array of contact book objects accessible to the authenticated user.") }).passthrough().describe("Response model for listing contact books.");
19
19
  const missiveListContactBooks = require_action.action("MISSIVE_LIST_CONTACT_BOOKS", {
20
20
  slug: "missive-list-contact-books",
21
21
  name: "List Missive Contact Books",
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-books.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-books.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactBooksInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(50).describe(\"Number of contact books to return. Min: 1. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"Offset for pagination. Default: 0.\").optional(),\n}).describe(\"Request model for listing contact books.\");\nconst MissiveListContactBooks_ContactBookSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact book.\"),\n name: z.string().describe(\"Contact book display name.\"),\n user: z.string().describe(\"ID of the user who owns the contact book.\"),\n description: z.string().describe(\"Optional descriptive text.\").nullable().optional(),\n organization: z.string().describe(\"Associated organization ID.\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID if shared with specific team.\").nullable().optional(),\n share_with_users: z.array(z.string()).describe(\"List of user IDs with access to this contact book.\"),\n share_with_organization: z.boolean().describe(\"Indicates if shared with entire organization.\"),\n}).describe(\"A Missive contact book object.\");\nexport const MissiveListContactBooksOutput: z.ZodTypeAny = z.object({\n contact_books: z.array(MissiveListContactBooks_ContactBookSchema).describe(\"Array of contact book objects accessible to the authenticated user.\"),\n}).describe(\"Response model for listing contact books.\");\n\nexport const missiveListContactBooks = action(\"MISSIVE_LIST_CONTACT_BOOKS\", {\n slug: \"missive-list-contact-books\",\n name: \"List Missive Contact Books\",\n description: \"Tool to list contact books the authenticated user has access to. Use when you need contact book IDs for creating contacts programmatically.\",\n input: MissiveListCont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A0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-books.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-books.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactBooksInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contact books to return. Min: 1. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"Offset for pagination. Default: 0.\").optional(),\n}).describe(\"Request model for listing contact books.\");\nconst MissiveListContactBooks_ContactBookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact book.\").nullable(),\n name: z.string().describe(\"Contact book display name.\").nullable(),\n user: z.string().describe(\"ID of the user who owns the contact book.\").nullable(),\n description: z.string().describe(\"Optional descriptive text.\").nullable().optional(),\n organization: z.string().describe(\"Associated organization ID.\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID if shared with specific team.\").nullable().optional(),\n share_with_users: z.array(z.string()).describe(\"List of user IDs with access to this contact book.\"),\n share_with_organization: z.boolean().describe(\"Indicates if shared with entire organization.\").nullable(),\n}).passthrough().describe(\"A Missive contact book object.\");\nexport const MissiveListContactBooksOutput = z.object({\n contact_books: z.array(MissiveListContactBooks_ContactBookSchema).describe(\"Array of contact book objects accessible to the authenticated user.\"),\n}).passthrough().describe(\"Response model for listing contact books.\");\n\nexport const missiveListContactBooks = action(\"MISSIVE_LIST_CONTACT_BOOKS\", {\n slug: \"missive-list-contact-books\",\n name: \"List Missive Contact Books\",\n description: \"Tool to list contact books the authenticated user has access to. Use when you need contact book IDs for creating contacts programmatically.\",\n input: MissiveListContactBooksInput,\n output: MissiveListContactBooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CA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Aa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contact-books.d.ts
4
- declare const MissiveListContactBooksInput: z.ZodTypeAny;
5
- declare const MissiveListContactBooksOutput: z.ZodTypeAny;
6
- declare const missiveListContactBooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveListContactBooksInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ }, z.core.$strip>;
8
+ declare const MissiveListContactBooksOutput: z.ZodObject<{
9
+ contact_books: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ user: z.ZodNullable<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ share_with_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ share_with_users: z.ZodArray<z.ZodString>;
17
+ share_with_organization: z.ZodNullable<z.ZodBoolean>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>;
20
+ declare const missiveListContactBooks: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ limit?: number | undefined;
22
+ offset?: number | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { missiveListContactBooks };
9
26
  //# sourceMappingURL=list-contact-books.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-books.d.cts","names":[],"sources":["../../src/actions/list-contact-books.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGU;AAAA,cAW1C,6BAAA,EAA+B,CAAA,CAAE,UAEU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contact-books.d.cts","names":[],"sources":["../../src/actions/list-contact-books.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contact-books.d.ts
4
- declare const MissiveListContactBooksInput: z.ZodTypeAny;
5
- declare const MissiveListContactBooksOutput: z.ZodTypeAny;
6
- declare const missiveListContactBooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveListContactBooksInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ }, z.core.$strip>;
8
+ declare const MissiveListContactBooksOutput: z.ZodObject<{
9
+ contact_books: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ user: z.ZodNullable<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ share_with_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ share_with_users: z.ZodArray<z.ZodString>;
17
+ share_with_organization: z.ZodNullable<z.ZodBoolean>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>;
20
+ declare const missiveListContactBooks: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ limit?: number | undefined;
22
+ offset?: number | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { missiveListContactBooks };
9
26
  //# sourceMappingURL=list-contact-books.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-books.d.mts","names":[],"sources":["../../src/actions/list-contact-books.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGU;AAAA,cAW1C,6BAAA,EAA+B,CAAA,CAAE,UAEU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contact-books.d.mts","names":[],"sources":["../../src/actions/list-contact-books.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -6,21 +6,21 @@ const MissiveListContactBooksInput = z.object({
6
6
  offset: z.number().int().default(0).describe("Offset for pagination. Default: 0.").optional()
7
7
  }).describe("Request model for listing contact books.");
8
8
  const MissiveListContactBooks_ContactBookSchema = z.object({
9
- id: z.string().describe("Unique identifier for the contact book."),
10
- name: z.string().describe("Contact book display name."),
11
- user: z.string().describe("ID of the user who owns the contact book."),
9
+ id: z.string().describe("Unique identifier for the contact book.").nullable(),
10
+ name: z.string().describe("Contact book display name.").nullable(),
11
+ user: z.string().describe("ID of the user who owns the contact book.").nullable(),
12
12
  description: z.string().describe("Optional descriptive text.").nullable().optional(),
13
13
  organization: z.string().describe("Associated organization ID.").nullable().optional(),
14
14
  share_with_team: z.string().describe("Team ID if shared with specific team.").nullable().optional(),
15
15
  share_with_users: z.array(z.string()).describe("List of user IDs with access to this contact book."),
16
- share_with_organization: z.boolean().describe("Indicates if shared with entire organization.")
17
- }).describe("A Missive contact book object.");
16
+ share_with_organization: z.boolean().describe("Indicates if shared with entire organization.").nullable()
17
+ }).passthrough().describe("A Missive contact book object.");
18
18
  const missiveListContactBooks = action("MISSIVE_LIST_CONTACT_BOOKS", {
19
19
  slug: "missive-list-contact-books",
20
20
  name: "List Missive Contact Books",
21
21
  description: "Tool to list contact books the authenticated user has access to. Use when you need contact book IDs for creating contacts programmatically.",
22
22
  input: MissiveListContactBooksInput,
23
- output: z.object({ contact_books: z.array(MissiveListContactBooks_ContactBookSchema).describe("Array of contact book objects accessible to the authenticated user.") }).describe("Response model for listing contact books.")
23
+ output: z.object({ contact_books: z.array(MissiveListContactBooks_ContactBookSchema).describe("Array of contact book objects accessible to the authenticated user.") }).passthrough().describe("Response model for listing contact books.")
24
24
  });
25
25
  //#endregion
26
26
  export { missiveListContactBooks };
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-books.mjs","names":[],"sources":["../../src/actions/list-contact-books.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactBooksInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(50).describe(\"Number of contact books to return. Min: 1. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"Offset for pagination. Default: 0.\").optional(),\n}).describe(\"Request model for listing contact books.\");\nconst MissiveListContactBooks_ContactBookSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact book.\"),\n name: z.string().describe(\"Contact book display name.\"),\n user: z.string().describe(\"ID of the user who owns the contact book.\"),\n description: z.string().describe(\"Optional descriptive text.\").nullable().optional(),\n organization: z.string().describe(\"Associated organization ID.\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID if shared with specific team.\").nullable().optional(),\n share_with_users: z.array(z.string()).describe(\"List of user IDs with access to this contact book.\"),\n share_with_organization: z.boolean().describe(\"Indicates if shared with entire organization.\"),\n}).describe(\"A Missive contact book object.\");\nexport const MissiveListContactBooksOutput: z.ZodTypeAny = z.object({\n contact_books: z.array(MissiveListContactBooks_ContactBookSchema).describe(\"Array of contact book objects accessible to the authenticated user.\"),\n}).describe(\"Response model for listing contact books.\");\n\nexport const missiveListContactBooks = action(\"MISSIVE_LIST_CONTACT_BOOKS\", {\n slug: \"missive-list-contact-books\",\n name: \"List Missive Contact Books\",\n description: \"Tool to list contact books the authenticated user has access to. Use when you need contact book IDs for creating contacts programmatically.\",\n input: MissiveListContactBooksInput,\n output: MissiveListContactBooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACnG,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;AAC/F,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAK5C,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,eAAe,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qEAAqE,EAClJ,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-books.mjs","names":[],"sources":["../../src/actions/list-contact-books.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactBooksInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contact books to return. Min: 1. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"Offset for pagination. Default: 0.\").optional(),\n}).describe(\"Request model for listing contact books.\");\nconst MissiveListContactBooks_ContactBookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact book.\").nullable(),\n name: z.string().describe(\"Contact book display name.\").nullable(),\n user: z.string().describe(\"ID of the user who owns the contact book.\").nullable(),\n description: z.string().describe(\"Optional descriptive text.\").nullable().optional(),\n organization: z.string().describe(\"Associated organization ID.\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID if shared with specific team.\").nullable().optional(),\n share_with_users: z.array(z.string()).describe(\"List of user IDs with access to this contact book.\"),\n share_with_organization: z.boolean().describe(\"Indicates if shared with entire organization.\").nullable(),\n}).passthrough().describe(\"A Missive contact book object.\");\nexport const MissiveListContactBooksOutput = z.object({\n contact_books: z.array(MissiveListContactBooks_ContactBookSchema).describe(\"Array of contact book objects accessible to the authenticated user.\"),\n}).passthrough().describe(\"Response model for listing contact books.\");\n\nexport const missiveListContactBooks = action(\"MISSIVE_LIST_CONTACT_BOOKS\", {\n slug: \"missive-list-contact-books\",\n name: \"List Missive Contact Books\",\n description: \"Tool to list contact books the authenticated user has access to. Use when you need contact book IDs for creating contacts programmatically.\",\n input: MissiveListContactBooksInput,\n output: MissiveListContactBooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BA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8,10 @@ const MissiveListContactGroupsInput = zod.z.object({
8
8
  contact_book: zod.z.string().describe("Contact book ID to list groups from.")
9
9
  }).describe("Request model for listing contact groups.");
10
10
  const MissiveListContactGroups_ContactGroupSchema = zod.z.object({
11
- id: zod.z.string().describe("Unique identifier for the contact group."),
12
- name: zod.z.string().describe("Name of the group or organization.")
13
- }).describe("A contact group or organization object.");
14
- const MissiveListContactGroupsOutput = zod.z.object({ contact_groups: zod.z.array(MissiveListContactGroups_ContactGroupSchema).describe("Array of contact group or organization objects.") }).describe("Response model for listing contact groups.");
11
+ id: zod.z.string().describe("Unique identifier for the contact group.").nullable(),
12
+ name: zod.z.string().describe("Name of the group or organization.").nullable()
13
+ }).passthrough().describe("A contact group or organization object.");
14
+ const MissiveListContactGroupsOutput = zod.z.object({ contact_groups: zod.z.array(MissiveListContactGroups_ContactGroupSchema).describe("Array of contact group or organization objects.") }).passthrough().describe("Response model for listing contact groups.");
15
15
  const missiveListContactGroups = require_action.action("MISSIVE_LIST_CONTACT_GROUPS", {
16
16
  slug: "missive-list-contact-groups",
17
17
  name: "List Missive Contact Groups",
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactGroupsInput: z.ZodTypeAny = z.object({\n kind: z.enum([\"group\", \"organization\"]).describe(\"Type of contact group to list: group for contact labels or organization for business entities.\"),\n limit: z.number().int().describe(\"Number of contact groups to return. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to fetch subsequent pages of results.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list groups from.\"),\n}).describe(\"Request model for listing contact groups.\");\nconst MissiveListContactGroups_ContactGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact group.\"),\n name: z.string().describe(\"Name of the group or organization.\"),\n}).describe(\"A contact group or organization object.\");\nexport const MissiveListContactGroupsOutput: z.ZodTypeAny = z.object({\n contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe(\"Array of contact group or organization objects.\"),\n}).describe(\"Response model for listing contact groups.\");\n\nexport const missiveListContactGroups = action(\"MISSIVE_LIST_CONTACT_GROUPS\", {\n slug: \"missive-list-contact-groups\",\n name: \"List Missive Contact Groups\",\n description: \"Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.\",\n input: MissiveListContactGroupsInput,\n output: MissiveListContactGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,SAAS,gGAAgG;CACjJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,gBAAgBA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,EACjI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactGroupsInput = z.object({\n kind: z.enum([\"group\", \"organization\"]).describe(\"Type of contact group to list: group for contact labels or organization for business entities.\"),\n limit: z.number().int().describe(\"Number of contact groups to return. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to fetch subsequent pages of results.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list groups from.\"),\n}).describe(\"Request model for listing contact groups.\");\nconst MissiveListContactGroups_ContactGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact group.\").nullable(),\n name: z.string().describe(\"Name of the group or organization.\").nullable(),\n}).passthrough().describe(\"A contact group or organization object.\");\nexport const MissiveListContactGroupsOutput = z.object({\n contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe(\"Array of contact group or organization objects.\"),\n}).passthrough().describe(\"Response model for listing contact groups.\");\n\nexport const missiveListContactGroups = action(\"MISSIVE_LIST_CONTACT_GROUPS\", {\n slug: \"missive-list-contact-groups\",\n name: \"List Missive Contact Groups\",\n description: \"Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.\",\n input: MissiveListContactGroupsInput,\n output: MissiveListContactGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,SAAS,gGAAgG;CACjJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,gBAAgBA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contact-groups.d.ts
4
- declare const MissiveListContactGroupsInput: z.ZodTypeAny;
5
- declare const MissiveListContactGroupsOutput: z.ZodTypeAny;
6
- declare const missiveListContactGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveListContactGroupsInput: z.ZodObject<{
5
+ kind: z.ZodEnum<{
6
+ organization: "organization";
7
+ group: "group";
8
+ }>;
9
+ limit: z.ZodOptional<z.ZodNumber>;
10
+ offset: z.ZodOptional<z.ZodNumber>;
11
+ contact_book: z.ZodString;
12
+ }, z.core.$strip>;
13
+ declare const MissiveListContactGroupsOutput: z.ZodObject<{
14
+ contact_groups: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodString>;
16
+ name: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
+ declare const missiveListContactGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ kind: "organization" | "group";
21
+ contact_book: string;
22
+ limit?: number | undefined;
23
+ offset?: number | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { missiveListContactGroups };
9
27
  //# sourceMappingURL=list-contact-groups.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-groups.d.cts","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAKU;AAAA,cAK3C,8BAAA,EAAgC,CAAA,CAAE,UAEU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contact-groups.d.cts","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contact-groups.d.ts
4
- declare const MissiveListContactGroupsInput: z.ZodTypeAny;
5
- declare const MissiveListContactGroupsOutput: z.ZodTypeAny;
6
- declare const missiveListContactGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveListContactGroupsInput: z.ZodObject<{
5
+ kind: z.ZodEnum<{
6
+ organization: "organization";
7
+ group: "group";
8
+ }>;
9
+ limit: z.ZodOptional<z.ZodNumber>;
10
+ offset: z.ZodOptional<z.ZodNumber>;
11
+ contact_book: z.ZodString;
12
+ }, z.core.$strip>;
13
+ declare const MissiveListContactGroupsOutput: z.ZodObject<{
14
+ contact_groups: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodString>;
16
+ name: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
+ declare const missiveListContactGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ kind: "organization" | "group";
21
+ contact_book: string;
22
+ limit?: number | undefined;
23
+ offset?: number | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { missiveListContactGroups };
9
27
  //# sourceMappingURL=list-contact-groups.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-groups.d.mts","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAKU;AAAA,cAK3C,8BAAA,EAAgC,CAAA,CAAE,UAEU;AAAA,cAE5C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contact-groups.d.mts","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -8,15 +8,15 @@ const MissiveListContactGroupsInput = z.object({
8
8
  contact_book: z.string().describe("Contact book ID to list groups from.")
9
9
  }).describe("Request model for listing contact groups.");
10
10
  const MissiveListContactGroups_ContactGroupSchema = z.object({
11
- id: z.string().describe("Unique identifier for the contact group."),
12
- name: z.string().describe("Name of the group or organization.")
13
- }).describe("A contact group or organization object.");
11
+ id: z.string().describe("Unique identifier for the contact group.").nullable(),
12
+ name: z.string().describe("Name of the group or organization.").nullable()
13
+ }).passthrough().describe("A contact group or organization object.");
14
14
  const missiveListContactGroups = action("MISSIVE_LIST_CONTACT_GROUPS", {
15
15
  slug: "missive-list-contact-groups",
16
16
  name: "List Missive Contact Groups",
17
17
  description: "Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.",
18
18
  input: MissiveListContactGroupsInput,
19
- output: z.object({ contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe("Array of contact group or organization objects.") }).describe("Response model for listing contact groups.")
19
+ output: z.object({ contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe("Array of contact group or organization objects.") }).passthrough().describe("Response model for listing contact groups.")
20
20
  });
21
21
  //#endregion
22
22
  export { missiveListContactGroups };
@@ -1 +1 @@
1
- {"version":3,"file":"list-contact-groups.mjs","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactGroupsInput: z.ZodTypeAny = z.object({\n kind: z.enum([\"group\", \"organization\"]).describe(\"Type of contact group to list: group for contact labels or organization for business entities.\"),\n limit: z.number().int().describe(\"Number of contact groups to return. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to fetch subsequent pages of results.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list groups from.\"),\n}).describe(\"Request model for listing contact groups.\");\nconst MissiveListContactGroups_ContactGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact group.\"),\n name: z.string().describe(\"Name of the group or organization.\"),\n}).describe(\"A contact group or organization object.\");\nexport const MissiveListContactGroupsOutput: z.ZodTypeAny = z.object({\n contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe(\"Array of contact group or organization objects.\"),\n}).describe(\"Response model for listing contact groups.\");\n\nexport const missiveListContactGroups = action(\"MISSIVE_LIST_CONTACT_GROUPS\", {\n slug: \"missive-list-contact-groups\",\n name: \"List Missive Contact Groups\",\n description: \"Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.\",\n input: MissiveListContactGroupsInput,\n output: MissiveListContactGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,KAAK,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,SAAS,gGAAgG;CACjJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,EACjI,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-contact-groups.mjs","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactGroupsInput = z.object({\n kind: z.enum([\"group\", \"organization\"]).describe(\"Type of contact group to list: group for contact labels or organization for business entities.\"),\n limit: z.number().int().describe(\"Number of contact groups to return. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to fetch subsequent pages of results.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list groups from.\"),\n}).describe(\"Request model for listing contact groups.\");\nconst MissiveListContactGroups_ContactGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact group.\").nullable(),\n name: z.string().describe(\"Name of the group or organization.\").nullable(),\n}).passthrough().describe(\"A contact group or organization object.\");\nexport const MissiveListContactGroupsOutput = z.object({\n contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe(\"Array of contact group or organization objects.\"),\n}).passthrough().describe(\"Response model for listing contact groups.\");\n\nexport const missiveListContactGroups = action(\"MISSIVE_LIST_CONTACT_GROUPS\", {\n slug: \"missive-list-contact-groups\",\n name: \"List Missive Contact Groups\",\n description: \"Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.\",\n input: MissiveListContactGroupsInput,\n output: MissiveListContactGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,KAAK,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,SAAS,gGAAgG;CACjJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,gBAAgB,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -23,20 +23,20 @@ const MissiveListContacts_ContactInfoSchema = zod.z.object({
23
23
  kind: MissiveListContacts_InfoKindSchema.nullable().optional(),
24
24
  label: zod.z.string().describe("Label for the info (e.g., 'home', 'work', 'mobile').").nullable().optional(),
25
25
  value: zod.z.string().describe("The actual data value.").nullable().optional()
26
- }).describe("Contact information object (email, phone, social media, etc.).");
26
+ }).passthrough().describe("Contact information object (email, phone, social media, etc.).");
27
27
  const MissiveListContacts_GroupKindSchema = zod.z.enum(["group", "organization"]).describe("Type of group or organization.");
28
28
  const MissiveListContacts_GroupSchema = zod.z.object({
29
29
  id: zod.z.string().describe("Group or organization unique identifier.").nullable().optional(),
30
30
  kind: MissiveListContacts_GroupKindSchema.nullable().optional(),
31
31
  name: zod.z.string().describe("Name of the group or organization.").nullable().optional()
32
- }).describe("Group or organization details.");
32
+ }).passthrough().describe("Group or organization details.");
33
33
  const MissiveListContacts_MembershipSchema = zod.z.object({
34
34
  group: MissiveListContacts_GroupSchema.nullable().optional(),
35
35
  title: zod.z.string().describe("Person's title in the organization (e.g., 'CEO').").nullable().optional(),
36
36
  location: zod.z.string().describe("Geographic location.").nullable().optional()
37
- }).describe("Contact membership in a group or organization.");
37
+ }).passthrough().describe("Contact membership in a group or organization.");
38
38
  const MissiveListContacts_ContactSchema = zod.z.object({
39
- id: zod.z.string().describe("Unique contact identifier."),
39
+ id: zod.z.string().describe("Unique contact identifier.").nullable(),
40
40
  infos: zod.z.array(MissiveListContacts_ContactInfoSchema).describe("Contact information objects (emails, phones, social media, etc.).").nullable().optional(),
41
41
  deleted: zod.z.boolean().describe("Deletion status.").nullable().optional(),
42
42
  starred: zod.z.boolean().describe("Whether contact is marked as favorite.").nullable().optional(),
@@ -45,8 +45,8 @@ const MissiveListContacts_ContactSchema = zod.z.object({
45
45
  memberships: zod.z.array(MissiveListContacts_MembershipSchema).describe("Organizational or group associations.").nullable().optional(),
46
46
  modified_at: zod.z.number().int().describe("Unix timestamp of last modification.").nullable().optional(),
47
47
  contact_book: zod.z.string().describe("ID of the contact book containing this contact.").nullable().optional()
48
- }).describe("A Missive contact object.");
49
- const MissiveListContactsOutput = zod.z.object({ contacts: zod.z.array(MissiveListContacts_ContactSchema).describe("Array of contact objects from the specified contact book.") }).describe("Response model for listing contacts.");
48
+ }).passthrough().describe("A Missive contact object.");
49
+ const MissiveListContactsOutput = zod.z.object({ contacts: zod.z.array(MissiveListContacts_ContactSchema).describe("Array of contact objects from the specified contact book.") }).passthrough().describe("Response model for listing contacts.");
50
50
  const missiveListContacts = require_action.action("MISSIVE_LIST_CONTACTS", {
51
51
  slug: "missive-list-contacts",
52
52
  name: "List Missive Contacts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(50).describe(\"Number of contacts returned. Default 50, Max 200.\").optional(),\n order: z.enum([\"last_name\", \"last_modified\"]).describe(\"Order by field for listing contacts.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to skip N contacts.\").optional(),\n search: z.string().describe(\"Search term to filter contacts by name, email, or other fields.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list contacts from. Required.\"),\n modified_since: z.number().int().describe(\"Unix timestamp to filter contacts modified since this time.\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted contacts when using modified_since. Only works with modified_since parameter.\").optional(),\n}).describe(\"Request model for listing contacts from a contact book.\");\nconst MissiveListContacts_InfoKindSchema: z.ZodTypeAny = z.enum([\"email\", \"twitter\", \"phone_number\", \"facebook\", \"physical_address\", \"url\", \"custom\"]).describe(\"Type of contact information.\");\nconst MissiveListContacts_ContactInfoSchema: z.ZodTypeAny = z.object({\n kind: MissiveListContacts_InfoKindSchema.nullable().optional(),\n label: z.string().describe(\"Label for the info (e.g., 'home', 'work', 'mobile').\").nullable().optional(),\n value: z.string().describe(\"The actual data value.\").nullable().optional(),\n}).describe(\"Contact information object (email, phone, social media, etc.).\");\nconst MissiveListContacts_GroupKindSchema: z.ZodTypeAny = z.enum([\"group\", \"organization\"]).describe(\"Type of group or organization.\");\nconst MissiveListContacts_GroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Group or organization unique identifier.\").nullable().optional(),\n kind: MissiveListContacts_GroupKindSchema.nullable().optional(),\n name: z.string().describe(\"Name of the group or organization.\").nullable().optional(),\n}).describe(\"Group or organization details.\");\nconst MissiveListContacts_MembershipSchema: z.ZodTypeAny = z.object({\n group: MissiveListContacts_GroupSchema.nullable().optional(),\n title: z.string().describe(\"Person's title in the organization (e.g., 'CEO').\").nullable().optional(),\n location: z.string().describe(\"Geographic location.\").nullable().optional(),\n}).describe(\"Contact membership in a group or organization.\");\nconst MissiveListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique contact identifier.\"),\n infos: z.array(MissiveListContacts_ContactInfoSchema).describe(\"Contact information objects (emails, phones, social media, etc.).\").nullable().optional(),\n deleted: z.boolean().describe(\"Deletion status.\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is marked as favorite.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n memberships: z.array(MissiveListContacts_MembershipSchema).describe(\"Organizational or group associations.\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification.\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact.\").nullable().optional(),\n}).describe(\"A Missive contact object.\");\nexport const MissiveListContactsOutput: z.ZodTypeAny = z.object({\n contacts: z.array(MissiveListContacts_ContactSchema).describe(\"Array of contact objects from the specified contact book.\"),\n}).describe(\"Response model for listing contacts.\");\n\nexport const missiveListContacts = action(\"MISSIVE_LIST_CONTACTS\", {\n slug: \"missive-list-contacts\",\n name: \"List Missive Contacts\",\n description: \"Tool to list contacts from a contact book. Use when syncing Missive contacts to another service or finding contacts based on search terms. Supports pagination via offset and filtering by modification date.\",\n input: MissiveListContactsInput,\n output: MissiveListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,OAAOA,IAAAA,EAAE,KAAK,CAAC,aAAa,eAAe,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qCAAmDA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAW;CAAgB;CAAY;CAAoB;CAAO;AAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC9L,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAM,mCAAmC,SAAS,CAAC,CAAC,S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C,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,2DAA2D,EAC3H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactsInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contacts returned. Default 50, Max 200.\").optional(),\n order: z.enum([\"last_name\", \"last_modified\"]).describe(\"Order by field for listing contacts.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to skip N contacts.\").optional(),\n search: z.string().describe(\"Search term to filter contacts by name, email, or other fields.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list contacts from. Required.\"),\n modified_since: z.number().int().describe(\"Unix timestamp to filter contacts modified since this time.\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted contacts when using modified_since. Only works with modified_since parameter.\").optional(),\n}).describe(\"Request model for listing contacts from a contact book.\");\nconst MissiveListContacts_InfoKindSchema = z.enum([\"email\", \"twitter\", \"phone_number\", \"facebook\", \"physical_address\", \"url\", \"custom\"]).describe(\"Type of contact information.\");\nconst MissiveListContacts_ContactInfoSchema = z.object({\n kind: MissiveListContacts_InfoKindSchema.nullable().optional(),\n label: z.string().describe(\"Label for the info (e.g., 'home', 'work', 'mobile').\").nullable().optional(),\n value: z.string().describe(\"The actual data value.\").nullable().optional(),\n}).passthrough().describe(\"Contact information object (email, phone, social media, etc.).\");\nconst MissiveListContacts_GroupKindSchema = z.enum([\"group\", \"organization\"]).describe(\"Type of group or organization.\");\nconst MissiveListContacts_GroupSchema = z.object({\n id: z.string().describe(\"Group or organization unique identifier.\").nullable().optional(),\n kind: MissiveListContacts_GroupKindSchema.nullable().optional(),\n name: z.string().describe(\"Name of the group or organization.\").nullable().optional(),\n}).passthrough().describe(\"Group or organization details.\");\nconst MissiveListContacts_MembershipSchema = z.object({\n group: MissiveListContacts_GroupSchema.nullable().optional(),\n title: z.string().describe(\"Person's title in the organization (e.g., 'CEO').\").nullable().optional(),\n location: z.string().describe(\"Geographic location.\").nullable().optional(),\n}).passthrough().describe(\"Contact membership in a group or organization.\");\nconst MissiveListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n infos: z.array(MissiveListContacts_ContactInfoSchema).describe(\"Contact information objects (emails, phones, social media, etc.).\").nullable().optional(),\n deleted: z.boolean().describe(\"Deletion status.\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is marked as favorite.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n memberships: z.array(MissiveListContacts_MembershipSchema).describe(\"Organizational or group associations.\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification.\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact.\").nullable().optional(),\n}).passthrough().describe(\"A Missive contact object.\");\nexport const MissiveListContactsOutput = z.object({\n contacts: z.array(MissiveListContacts_ContactSchema).describe(\"Array of contact objects from the specified contact book.\"),\n}).passthrough().describe(\"Response model for listing contacts.\");\n\nexport const missiveListContacts = action(\"MISSIVE_LIST_CONTACTS\", {\n slug: \"missive-list-contacts\",\n name: \"List Missive Contacts\",\n description: \"Tool to list contacts from a contact book. Use when syncing Missive contacts to another service or finding contacts based on search terms. Supports pagination via offset and filtering by modification date.\",\n input: MissiveListContactsInput,\n output: MissiveListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,OAAOA,IAAAA,EAAE,KAAK,CAAC,aAAa,eAAe,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;A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