@keystrokehq/missive 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-analytics-report.cjs +35 -0
  7. package/dist/actions/create-analytics-report.cjs.map +1 -0
  8. package/dist/actions/create-analytics-report.d.cts +9 -0
  9. package/dist/actions/create-analytics-report.d.cts.map +1 -0
  10. package/dist/actions/create-analytics-report.d.mts +9 -0
  11. package/dist/actions/create-analytics-report.d.mts.map +1 -0
  12. package/dist/actions/create-analytics-report.mjs +34 -0
  13. package/dist/actions/create-analytics-report.mjs.map +1 -0
  14. package/dist/actions/create-contacts.cjs +107 -0
  15. package/dist/actions/create-contacts.cjs.map +1 -0
  16. package/dist/actions/create-contacts.d.cts +9 -0
  17. package/dist/actions/create-contacts.d.cts.map +1 -0
  18. package/dist/actions/create-contacts.d.mts +9 -0
  19. package/dist/actions/create-contacts.d.mts.map +1 -0
  20. package/dist/actions/create-contacts.mjs +106 -0
  21. package/dist/actions/create-contacts.mjs.map +1 -0
  22. package/dist/actions/create-draft.cjs +96 -0
  23. package/dist/actions/create-draft.cjs.map +1 -0
  24. package/dist/actions/create-draft.d.cts +9 -0
  25. package/dist/actions/create-draft.d.cts.map +1 -0
  26. package/dist/actions/create-draft.d.mts +9 -0
  27. package/dist/actions/create-draft.d.mts.map +1 -0
  28. package/dist/actions/create-draft.mjs +95 -0
  29. package/dist/actions/create-draft.mjs.map +1 -0
  30. package/dist/actions/create-post.cjs +33 -0
  31. package/dist/actions/create-post.cjs.map +1 -0
  32. package/dist/actions/create-post.d.cts +9 -0
  33. package/dist/actions/create-post.d.cts.map +1 -0
  34. package/dist/actions/create-post.d.mts +9 -0
  35. package/dist/actions/create-post.d.mts.map +1 -0
  36. package/dist/actions/create-post.mjs +30 -0
  37. package/dist/actions/create-post.mjs.map +1 -0
  38. package/dist/actions/create-response.cjs +53 -0
  39. package/dist/actions/create-response.cjs.map +1 -0
  40. package/dist/actions/create-response.d.cts +9 -0
  41. package/dist/actions/create-response.d.cts.map +1 -0
  42. package/dist/actions/create-response.d.mts +9 -0
  43. package/dist/actions/create-response.d.mts.map +1 -0
  44. package/dist/actions/create-response.mjs +52 -0
  45. package/dist/actions/create-response.mjs.map +1 -0
  46. package/dist/actions/create-shared-label.cjs +30 -0
  47. package/dist/actions/create-shared-label.cjs.map +1 -0
  48. package/dist/actions/create-shared-label.d.cts +9 -0
  49. package/dist/actions/create-shared-label.d.cts.map +1 -0
  50. package/dist/actions/create-shared-label.d.mts +9 -0
  51. package/dist/actions/create-shared-label.d.mts.map +1 -0
  52. package/dist/actions/create-shared-label.mjs +29 -0
  53. package/dist/actions/create-shared-label.mjs.map +1 -0
  54. package/dist/actions/create-task.cjs +45 -0
  55. package/dist/actions/create-task.cjs.map +1 -0
  56. package/dist/actions/create-task.d.cts +9 -0
  57. package/dist/actions/create-task.d.cts.map +1 -0
  58. package/dist/actions/create-task.d.mts +9 -0
  59. package/dist/actions/create-task.d.mts.map +1 -0
  60. package/dist/actions/create-task.mjs +44 -0
  61. package/dist/actions/create-task.mjs.map +1 -0
  62. package/dist/actions/create-team.cjs +31 -0
  63. package/dist/actions/create-team.cjs.map +1 -0
  64. package/dist/actions/create-team.d.cts +9 -0
  65. package/dist/actions/create-team.d.cts.map +1 -0
  66. package/dist/actions/create-team.d.mts +9 -0
  67. package/dist/actions/create-team.d.mts.map +1 -0
  68. package/dist/actions/create-team.mjs +30 -0
  69. package/dist/actions/create-team.mjs.map +1 -0
  70. package/dist/actions/create-webhook.cjs +36 -0
  71. package/dist/actions/create-webhook.cjs.map +1 -0
  72. package/dist/actions/create-webhook.d.cts +9 -0
  73. package/dist/actions/create-webhook.d.cts.map +1 -0
  74. package/dist/actions/create-webhook.d.mts +9 -0
  75. package/dist/actions/create-webhook.d.mts.map +1 -0
  76. package/dist/actions/create-webhook.mjs +35 -0
  77. package/dist/actions/create-webhook.mjs.map +1 -0
  78. package/dist/actions/delete-draft.cjs +16 -0
  79. package/dist/actions/delete-draft.cjs.map +1 -0
  80. package/dist/actions/delete-draft.d.cts +9 -0
  81. package/dist/actions/delete-draft.d.cts.map +1 -0
  82. package/dist/actions/delete-draft.d.mts +9 -0
  83. package/dist/actions/delete-draft.d.mts.map +1 -0
  84. package/dist/actions/delete-draft.mjs +13 -0
  85. package/dist/actions/delete-draft.mjs.map +1 -0
  86. package/dist/actions/delete-post.cjs +16 -0
  87. package/dist/actions/delete-post.cjs.map +1 -0
  88. package/dist/actions/delete-post.d.cts +9 -0
  89. package/dist/actions/delete-post.d.cts.map +1 -0
  90. package/dist/actions/delete-post.d.mts +9 -0
  91. package/dist/actions/delete-post.d.mts.map +1 -0
  92. package/dist/actions/delete-post.mjs +13 -0
  93. package/dist/actions/delete-post.mjs.map +1 -0
  94. package/dist/actions/delete-responses.cjs +16 -0
  95. package/dist/actions/delete-responses.cjs.map +1 -0
  96. package/dist/actions/delete-responses.d.cts +9 -0
  97. package/dist/actions/delete-responses.d.cts.map +1 -0
  98. package/dist/actions/delete-responses.d.mts +9 -0
  99. package/dist/actions/delete-responses.d.mts.map +1 -0
  100. package/dist/actions/delete-responses.mjs +13 -0
  101. package/dist/actions/delete-responses.mjs.map +1 -0
  102. package/dist/actions/delete-webhook.cjs +16 -0
  103. package/dist/actions/delete-webhook.cjs.map +1 -0
  104. package/dist/actions/delete-webhook.d.cts +9 -0
  105. package/dist/actions/delete-webhook.d.cts.map +1 -0
  106. package/dist/actions/delete-webhook.d.mts +9 -0
  107. package/dist/actions/delete-webhook.d.mts.map +1 -0
  108. package/dist/actions/delete-webhook.mjs +13 -0
  109. package/dist/actions/delete-webhook.mjs.map +1 -0
  110. package/dist/actions/get-analytics-report.cjs +27 -0
  111. package/dist/actions/get-analytics-report.cjs.map +1 -0
  112. package/dist/actions/get-analytics-report.d.cts +9 -0
  113. package/dist/actions/get-analytics-report.d.cts.map +1 -0
  114. package/dist/actions/get-analytics-report.d.mts +9 -0
  115. package/dist/actions/get-analytics-report.d.mts.map +1 -0
  116. package/dist/actions/get-analytics-report.mjs +26 -0
  117. package/dist/actions/get-analytics-report.mjs.map +1 -0
  118. package/dist/actions/get-contact.cjs +63 -0
  119. package/dist/actions/get-contact.cjs.map +1 -0
  120. package/dist/actions/get-contact.d.cts +9 -0
  121. package/dist/actions/get-contact.d.cts.map +1 -0
  122. package/dist/actions/get-contact.d.mts +9 -0
  123. package/dist/actions/get-contact.d.mts.map +1 -0
  124. package/dist/actions/get-contact.mjs +62 -0
  125. package/dist/actions/get-contact.mjs.map +1 -0
  126. package/dist/actions/get-conversation-messages.cjs +53 -0
  127. package/dist/actions/get-conversation-messages.cjs.map +1 -0
  128. package/dist/actions/get-conversation-messages.d.cts +9 -0
  129. package/dist/actions/get-conversation-messages.d.cts.map +1 -0
  130. package/dist/actions/get-conversation-messages.d.mts +9 -0
  131. package/dist/actions/get-conversation-messages.d.mts.map +1 -0
  132. package/dist/actions/get-conversation-messages.mjs +52 -0
  133. package/dist/actions/get-conversation-messages.mjs.map +1 -0
  134. package/dist/actions/get-conversation.cjs +81 -0
  135. package/dist/actions/get-conversation.cjs.map +1 -0
  136. package/dist/actions/get-conversation.d.cts +9 -0
  137. package/dist/actions/get-conversation.d.cts.map +1 -0
  138. package/dist/actions/get-conversation.d.mts +9 -0
  139. package/dist/actions/get-conversation.d.mts.map +1 -0
  140. package/dist/actions/get-conversation.mjs +80 -0
  141. package/dist/actions/get-conversation.mjs.map +1 -0
  142. package/dist/actions/get-message.cjs +79 -0
  143. package/dist/actions/get-message.cjs.map +1 -0
  144. package/dist/actions/get-message.d.cts +9 -0
  145. package/dist/actions/get-message.d.cts.map +1 -0
  146. package/dist/actions/get-message.d.mts +9 -0
  147. package/dist/actions/get-message.d.mts.map +1 -0
  148. package/dist/actions/get-message.mjs +78 -0
  149. package/dist/actions/get-message.mjs.map +1 -0
  150. package/dist/actions/get-response.cjs +47 -0
  151. package/dist/actions/get-response.cjs.map +1 -0
  152. package/dist/actions/get-response.d.cts +9 -0
  153. package/dist/actions/get-response.d.cts.map +1 -0
  154. package/dist/actions/get-response.d.mts +9 -0
  155. package/dist/actions/get-response.d.mts.map +1 -0
  156. package/dist/actions/get-response.mjs +46 -0
  157. package/dist/actions/get-response.mjs.map +1 -0
  158. package/dist/actions/get-task.cjs +46 -0
  159. package/dist/actions/get-task.cjs.map +1 -0
  160. package/dist/actions/get-task.d.cts +9 -0
  161. package/dist/actions/get-task.d.cts.map +1 -0
  162. package/dist/actions/get-task.d.mts +9 -0
  163. package/dist/actions/get-task.d.mts.map +1 -0
  164. package/dist/actions/get-task.mjs +45 -0
  165. package/dist/actions/get-task.mjs.map +1 -0
  166. package/dist/actions/index.cjs +81 -0
  167. package/dist/actions/index.d.cts +41 -0
  168. package/dist/actions/index.d.mts +41 -0
  169. package/dist/actions/index.mjs +41 -0
  170. package/dist/actions/list-contact-books.cjs +29 -0
  171. package/dist/actions/list-contact-books.cjs.map +1 -0
  172. package/dist/actions/list-contact-books.d.cts +9 -0
  173. package/dist/actions/list-contact-books.d.cts.map +1 -0
  174. package/dist/actions/list-contact-books.d.mts +9 -0
  175. package/dist/actions/list-contact-books.d.mts.map +1 -0
  176. package/dist/actions/list-contact-books.mjs +28 -0
  177. package/dist/actions/list-contact-books.mjs.map +1 -0
  178. package/dist/actions/list-contact-groups.cjs +25 -0
  179. package/dist/actions/list-contact-groups.cjs.map +1 -0
  180. package/dist/actions/list-contact-groups.d.cts +9 -0
  181. package/dist/actions/list-contact-groups.d.cts.map +1 -0
  182. package/dist/actions/list-contact-groups.d.mts +9 -0
  183. package/dist/actions/list-contact-groups.d.mts.map +1 -0
  184. package/dist/actions/list-contact-groups.mjs +24 -0
  185. package/dist/actions/list-contact-groups.mjs.map +1 -0
  186. package/dist/actions/list-contacts.cjs +60 -0
  187. package/dist/actions/list-contacts.cjs.map +1 -0
  188. package/dist/actions/list-contacts.d.cts +9 -0
  189. package/dist/actions/list-contacts.d.cts.map +1 -0
  190. package/dist/actions/list-contacts.d.mts +9 -0
  191. package/dist/actions/list-contacts.d.mts.map +1 -0
  192. package/dist/actions/list-contacts.mjs +59 -0
  193. package/dist/actions/list-contacts.mjs.map +1 -0
  194. package/dist/actions/list-conversation-comments.cjs +74 -0
  195. package/dist/actions/list-conversation-comments.cjs.map +1 -0
  196. package/dist/actions/list-conversation-comments.d.cts +9 -0
  197. package/dist/actions/list-conversation-comments.d.cts.map +1 -0
  198. package/dist/actions/list-conversation-comments.d.mts +9 -0
  199. package/dist/actions/list-conversation-comments.d.mts.map +1 -0
  200. package/dist/actions/list-conversation-comments.mjs +73 -0
  201. package/dist/actions/list-conversation-comments.mjs.map +1 -0
  202. package/dist/actions/list-conversation-drafts.cjs +60 -0
  203. package/dist/actions/list-conversation-drafts.cjs.map +1 -0
  204. package/dist/actions/list-conversation-drafts.d.cts +9 -0
  205. package/dist/actions/list-conversation-drafts.d.cts.map +1 -0
  206. package/dist/actions/list-conversation-drafts.d.mts +9 -0
  207. package/dist/actions/list-conversation-drafts.d.mts.map +1 -0
  208. package/dist/actions/list-conversation-drafts.mjs +59 -0
  209. package/dist/actions/list-conversation-drafts.mjs.map +1 -0
  210. package/dist/actions/list-conversation-posts.cjs +40 -0
  211. package/dist/actions/list-conversation-posts.cjs.map +1 -0
  212. package/dist/actions/list-conversation-posts.d.cts +9 -0
  213. package/dist/actions/list-conversation-posts.d.cts.map +1 -0
  214. package/dist/actions/list-conversation-posts.d.mts +9 -0
  215. package/dist/actions/list-conversation-posts.d.mts.map +1 -0
  216. package/dist/actions/list-conversation-posts.mjs +39 -0
  217. package/dist/actions/list-conversation-posts.mjs.map +1 -0
  218. package/dist/actions/list-conversations.cjs +72 -0
  219. package/dist/actions/list-conversations.cjs.map +1 -0
  220. package/dist/actions/list-conversations.d.cts +9 -0
  221. package/dist/actions/list-conversations.d.cts.map +1 -0
  222. package/dist/actions/list-conversations.d.mts +9 -0
  223. package/dist/actions/list-conversations.d.mts.map +1 -0
  224. package/dist/actions/list-conversations.mjs +71 -0
  225. package/dist/actions/list-conversations.mjs.map +1 -0
  226. package/dist/actions/list-messages.cjs +67 -0
  227. package/dist/actions/list-messages.cjs.map +1 -0
  228. package/dist/actions/list-messages.d.cts +9 -0
  229. package/dist/actions/list-messages.d.cts.map +1 -0
  230. package/dist/actions/list-messages.d.mts +9 -0
  231. package/dist/actions/list-messages.d.mts.map +1 -0
  232. package/dist/actions/list-messages.mjs +66 -0
  233. package/dist/actions/list-messages.mjs.map +1 -0
  234. package/dist/actions/list-organizations.cjs +23 -0
  235. package/dist/actions/list-organizations.cjs.map +1 -0
  236. package/dist/actions/list-organizations.d.cts +9 -0
  237. package/dist/actions/list-organizations.d.cts.map +1 -0
  238. package/dist/actions/list-organizations.d.mts +9 -0
  239. package/dist/actions/list-organizations.d.mts.map +1 -0
  240. package/dist/actions/list-organizations.mjs +22 -0
  241. package/dist/actions/list-organizations.mjs.map +1 -0
  242. package/dist/actions/list-responses.cjs +51 -0
  243. package/dist/actions/list-responses.cjs.map +1 -0
  244. package/dist/actions/list-responses.d.cts +9 -0
  245. package/dist/actions/list-responses.d.cts.map +1 -0
  246. package/dist/actions/list-responses.d.mts +9 -0
  247. package/dist/actions/list-responses.d.mts.map +1 -0
  248. package/dist/actions/list-responses.mjs +50 -0
  249. package/dist/actions/list-responses.mjs.map +1 -0
  250. package/dist/actions/list-shared-labels.cjs +35 -0
  251. package/dist/actions/list-shared-labels.cjs.map +1 -0
  252. package/dist/actions/list-shared-labels.d.cts +9 -0
  253. package/dist/actions/list-shared-labels.d.cts.map +1 -0
  254. package/dist/actions/list-shared-labels.d.mts +9 -0
  255. package/dist/actions/list-shared-labels.d.mts.map +1 -0
  256. package/dist/actions/list-shared-labels.mjs +34 -0
  257. package/dist/actions/list-shared-labels.mjs.map +1 -0
  258. package/dist/actions/list-tasks.cjs +57 -0
  259. package/dist/actions/list-tasks.cjs.map +1 -0
  260. package/dist/actions/list-tasks.d.cts +9 -0
  261. package/dist/actions/list-tasks.d.cts.map +1 -0
  262. package/dist/actions/list-tasks.d.mts +9 -0
  263. package/dist/actions/list-tasks.d.mts.map +1 -0
  264. package/dist/actions/list-tasks.mjs +56 -0
  265. package/dist/actions/list-tasks.mjs.map +1 -0
  266. package/dist/actions/list-teams.cjs +28 -0
  267. package/dist/actions/list-teams.cjs.map +1 -0
  268. package/dist/actions/list-teams.d.cts +9 -0
  269. package/dist/actions/list-teams.d.cts.map +1 -0
  270. package/dist/actions/list-teams.d.mts +9 -0
  271. package/dist/actions/list-teams.d.mts.map +1 -0
  272. package/dist/actions/list-teams.mjs +27 -0
  273. package/dist/actions/list-teams.mjs.map +1 -0
  274. package/dist/actions/list-users.cjs +28 -0
  275. package/dist/actions/list-users.cjs.map +1 -0
  276. package/dist/actions/list-users.d.cts +9 -0
  277. package/dist/actions/list-users.d.cts.map +1 -0
  278. package/dist/actions/list-users.d.mts +9 -0
  279. package/dist/actions/list-users.d.mts.map +1 -0
  280. package/dist/actions/list-users.mjs +27 -0
  281. package/dist/actions/list-users.mjs.map +1 -0
  282. package/dist/actions/merge-conversations.cjs +84 -0
  283. package/dist/actions/merge-conversations.cjs.map +1 -0
  284. package/dist/actions/merge-conversations.d.cts +9 -0
  285. package/dist/actions/merge-conversations.d.cts.map +1 -0
  286. package/dist/actions/merge-conversations.d.mts +9 -0
  287. package/dist/actions/merge-conversations.d.mts.map +1 -0
  288. package/dist/actions/merge-conversations.mjs +83 -0
  289. package/dist/actions/merge-conversations.mjs.map +1 -0
  290. package/dist/actions/update-contact.cjs +105 -0
  291. package/dist/actions/update-contact.cjs.map +1 -0
  292. package/dist/actions/update-contact.d.cts +9 -0
  293. package/dist/actions/update-contact.d.cts.map +1 -0
  294. package/dist/actions/update-contact.d.mts +9 -0
  295. package/dist/actions/update-contact.d.mts.map +1 -0
  296. package/dist/actions/update-contact.mjs +104 -0
  297. package/dist/actions/update-contact.mjs.map +1 -0
  298. package/dist/actions/update-response.cjs +64 -0
  299. package/dist/actions/update-response.cjs.map +1 -0
  300. package/dist/actions/update-response.d.cts +9 -0
  301. package/dist/actions/update-response.d.cts.map +1 -0
  302. package/dist/actions/update-response.d.mts +9 -0
  303. package/dist/actions/update-response.d.mts.map +1 -0
  304. package/dist/actions/update-response.mjs +63 -0
  305. package/dist/actions/update-response.mjs.map +1 -0
  306. package/dist/actions/update-shared-labels.cjs +28 -0
  307. package/dist/actions/update-shared-labels.cjs.map +1 -0
  308. package/dist/actions/update-shared-labels.d.cts +9 -0
  309. package/dist/actions/update-shared-labels.d.cts.map +1 -0
  310. package/dist/actions/update-shared-labels.d.mts +9 -0
  311. package/dist/actions/update-shared-labels.d.mts.map +1 -0
  312. package/dist/actions/update-shared-labels.mjs +27 -0
  313. package/dist/actions/update-shared-labels.mjs.map +1 -0
  314. package/dist/actions/update-task.cjs +42 -0
  315. package/dist/actions/update-task.cjs.map +1 -0
  316. package/dist/actions/update-task.d.cts +9 -0
  317. package/dist/actions/update-task.d.cts.map +1 -0
  318. package/dist/actions/update-task.d.mts +9 -0
  319. package/dist/actions/update-task.d.mts.map +1 -0
  320. package/dist/actions/update-task.mjs +41 -0
  321. package/dist/actions/update-task.mjs.map +1 -0
  322. package/dist/actions/update-team.cjs +33 -0
  323. package/dist/actions/update-team.cjs.map +1 -0
  324. package/dist/actions/update-team.d.cts +9 -0
  325. package/dist/actions/update-team.d.cts.map +1 -0
  326. package/dist/actions/update-team.d.mts +9 -0
  327. package/dist/actions/update-team.d.mts.map +1 -0
  328. package/dist/actions/update-team.mjs +32 -0
  329. package/dist/actions/update-team.mjs.map +1 -0
  330. package/dist/app.cjs +9 -0
  331. package/dist/app.cjs.map +1 -0
  332. package/dist/app.d.cts +5 -0
  333. package/dist/app.d.cts.map +1 -0
  334. package/dist/app.d.mts +5 -0
  335. package/dist/app.d.mts.map +1 -0
  336. package/dist/app.mjs +10 -0
  337. package/dist/app.mjs.map +1 -0
  338. package/dist/catalog.cjs +15 -0
  339. package/dist/catalog.cjs.map +1 -0
  340. package/dist/catalog.d.cts +14 -0
  341. package/dist/catalog.d.cts.map +1 -0
  342. package/dist/catalog.d.mts +14 -0
  343. package/dist/catalog.d.mts.map +1 -0
  344. package/dist/catalog.mjs +15 -0
  345. package/dist/catalog.mjs.map +1 -0
  346. package/dist/execute.cjs +18 -0
  347. package/dist/execute.cjs.map +1 -0
  348. package/dist/execute.mjs +18 -0
  349. package/dist/execute.mjs.map +1 -0
  350. package/dist/index.cjs +86 -0
  351. package/dist/index.d.cts +43 -0
  352. package/dist/index.d.mts +43 -0
  353. package/dist/index.mjs +44 -0
  354. package/package.json +49 -0
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const missiveDeleteResponses = action("MISSIVE_DELETE_RESPONSES", {
4
+ slug: "missive-delete-responses",
5
+ name: "Delete Saved Responses",
6
+ description: "Tool to delete one or more saved responses by ID. For organization responses, the API token must belong to an admin. Use after confirming the response ID(s); this operation cannot be undone.",
7
+ input: z.object({ id: z.string().describe("Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').") }).describe("Request model for deleting one or more saved responses."),
8
+ output: z.object({}).describe("Empty response for successful response deletion.")
9
+ });
10
+ //#endregion
11
+ export { missiveDeleteResponses };
12
+
13
+ //# sourceMappingURL=delete-responses.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-responses.mjs","names":[],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteResponsesInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').\"),\n}).describe(\"Request model for deleting one or more saved responses.\");\nexport const MissiveDeleteResponsesOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response for successful response deletion.\");\n\nexport const missiveDeleteResponses = action(\"MISSIVE_DELETE_RESPONSES\", {\n slug: \"missive-delete-responses\",\n name: \"Delete Saved Responses\",\n description: \"Tool to delete one or more saved responses by ID. For organization responses, the API token must belong to an admin. Use after confirming the response ID(s); this operation cannot be undone.\",\n input: MissiveDeleteResponsesInput,\n output: MissiveDeleteResponsesOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAPwD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAOtE;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-webhook.ts
4
+ const MissiveDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.string().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a webhook subscription by ID.");
5
+ const MissiveDeleteWebhookOutput = zod.z.object({}).describe("Empty response for successful webhook deletion.");
6
+ const missiveDeleteWebhook = require_action.action("MISSIVE_DELETE_WEBHOOK", {
7
+ slug: "missive-delete-webhook",
8
+ name: "Delete Webhook",
9
+ description: "Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.",
10
+ input: MissiveDeleteWebhookInput,
11
+ output: MissiveDeleteWebhookOutput
12
+ });
13
+ //#endregion
14
+ exports.missiveDeleteWebhook = missiveDeleteWebhook;
15
+
16
+ //# sourceMappingURL=delete-webhook.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE/H,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-webhook.d.ts
4
+ declare const MissiveDeleteWebhookInput: z.ZodTypeAny;
5
+ declare const MissiveDeleteWebhookOutput: z.ZodTypeAny;
6
+ declare const missiveDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { missiveDeleteWebhook };
9
+ //# sourceMappingURL=delete-webhook.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE6B;AAAA,cAC1D,0BAAA,EAA4B,CAAA,CAAE,UAAqF;AAAA,cAEnH,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-webhook.d.ts
4
+ declare const MissiveDeleteWebhookInput: z.ZodTypeAny;
5
+ declare const MissiveDeleteWebhookOutput: z.ZodTypeAny;
6
+ declare const missiveDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { missiveDeleteWebhook };
9
+ //# sourceMappingURL=delete-webhook.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE6B;AAAA,cAC1D,0BAAA,EAA4B,CAAA,CAAE,UAAqF;AAAA,cAEnH,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const missiveDeleteWebhook = action("MISSIVE_DELETE_WEBHOOK", {
4
+ slug: "missive-delete-webhook",
5
+ name: "Delete Webhook",
6
+ description: "Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.",
7
+ input: z.object({ webhook_id: z.string().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a webhook subscription by ID."),
8
+ output: z.object({}).describe("Empty response for successful webhook deletion.")
9
+ });
10
+ //#endregion
11
+ export { missiveDeleteWebhook };
12
+
13
+ //# sourceMappingURL=delete-webhook.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAOH;CACP,QAPsD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAOpE;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-analytics-report.ts
4
+ const MissiveGetAnalyticsReportInput = zod.z.object({ id: zod.z.string().describe("Report ID returned by Create Analytics Report request (UUID format)") }).describe("Request model for fetching an analytics report by ID.");
5
+ const MissiveGetAnalyticsReport_AnalyticsDataSchema = zod.z.object({
6
+ end: zod.z.number().int().describe("Report period end in Unix epoch seconds"),
7
+ start: zod.z.number().int().describe("Report period start in Unix epoch seconds"),
8
+ teams: zod.z.array(zod.z.string()).describe("Team IDs used to filter the report").nullable().optional(),
9
+ users: zod.z.array(zod.z.string()).describe("User IDs used to filter the report").nullable().optional(),
10
+ accounts: zod.z.array(zod.z.string()).describe("Account IDs used to filter the report").nullable().optional(),
11
+ time_zone: zod.z.string().describe("Time zone identifier (IANA) used for the report period").nullable().optional(),
12
+ organization: zod.z.string().describe("Organization ID for which the report was generated").nullable().optional(),
13
+ account_types: zod.z.array(zod.z.string()).describe("Account types used to filter the report").nullable().optional(),
14
+ shared_labels: zod.z.array(zod.z.string()).describe("Shared label IDs used to filter the report").nullable().optional()
15
+ }).passthrough().describe("Analytics report data structure containing report parameters and metrics.");
16
+ const MissiveGetAnalyticsReportOutput = zod.z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.");
17
+ const missiveGetAnalyticsReport = require_action.action("MISSIVE_GET_ANALYTICS_REPORT", {
18
+ slug: "missive-get-analytics-report",
19
+ name: "Get Analytics Report",
20
+ description: "Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.",
21
+ input: MissiveGetAnalyticsReportInput,
22
+ output: MissiveGetAnalyticsReportOutput
23
+ });
24
+ //#endregion
25
+ exports.missiveGetAnalyticsReport = missiveGetAnalyticsReport;
26
+
27
+ //# sourceMappingURL=get-analytics-report.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-analytics-report.cjs","names":["z","action"],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema: z.ZodTypeAny = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\"),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\"),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput: z.ZodTypeAny = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC5E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AACrG,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAElI,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-analytics-report.d.ts
4
+ declare const MissiveGetAnalyticsReportInput: z.ZodTypeAny;
5
+ declare const MissiveGetAnalyticsReportOutput: z.ZodTypeAny;
6
+ declare const missiveGetAnalyticsReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { missiveGetAnalyticsReport };
9
+ //# sourceMappingURL=get-analytics-report.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-analytics-report.d.cts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEqB;AAAA,cAYvD,+BAAA,EAAiC,CAAA,CAAE,UAEmF;AAAA,cAEtH,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-analytics-report.d.ts
4
+ declare const MissiveGetAnalyticsReportInput: z.ZodTypeAny;
5
+ declare const MissiveGetAnalyticsReportOutput: z.ZodTypeAny;
6
+ declare const missiveGetAnalyticsReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { missiveGetAnalyticsReport };
9
+ //# sourceMappingURL=get-analytics-report.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-analytics-report.d.mts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEqB;AAAA,cAYvD,+BAAA,EAAiC,CAAA,CAAE,UAEmF;AAAA,cAEtH,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-analytics-report.ts
4
+ const MissiveGetAnalyticsReportInput = z.object({ id: z.string().describe("Report ID returned by Create Analytics Report request (UUID format)") }).describe("Request model for fetching an analytics report by ID.");
5
+ const MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({
6
+ end: z.number().int().describe("Report period end in Unix epoch seconds"),
7
+ start: z.number().int().describe("Report period start in Unix epoch seconds"),
8
+ teams: z.array(z.string()).describe("Team IDs used to filter the report").nullable().optional(),
9
+ users: z.array(z.string()).describe("User IDs used to filter the report").nullable().optional(),
10
+ accounts: z.array(z.string()).describe("Account IDs used to filter the report").nullable().optional(),
11
+ time_zone: z.string().describe("Time zone identifier (IANA) used for the report period").nullable().optional(),
12
+ organization: z.string().describe("Organization ID for which the report was generated").nullable().optional(),
13
+ account_types: z.array(z.string()).describe("Account types used to filter the report").nullable().optional(),
14
+ shared_labels: z.array(z.string()).describe("Shared label IDs used to filter the report").nullable().optional()
15
+ }).passthrough().describe("Analytics report data structure containing report parameters and metrics.");
16
+ const missiveGetAnalyticsReport = action("MISSIVE_GET_ANALYTICS_REPORT", {
17
+ slug: "missive-get-analytics-report",
18
+ name: "Get Analytics Report",
19
+ description: "Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.",
20
+ input: MissiveGetAnalyticsReportInput,
21
+ output: z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.")
22
+ });
23
+ //#endregion
24
+ export { missiveGetAnalyticsReport };
25
+
26
+ //# sourceMappingURL=get-analytics-report.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-analytics-report.mjs","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema: z.ZodTypeAny = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\"),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\"),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput: z.ZodTypeAny = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAA8D,EAAE,OAAO;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC5E,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAKrG,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,sHAOF;AACV,CAAC"}
@@ -0,0 +1,63 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-contact.ts
4
+ const MissiveGetContactInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the contact to retrieve.") }).describe("Request model for fetching a specific contact.");
5
+ const MissiveGetContact_ContactInfoSchema = zod.z.object({
6
+ city: zod.z.string().describe("City for physical_address type").nullable().optional(),
7
+ kind: zod.z.string().describe("Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom"),
8
+ name: zod.z.string().describe("Name for facebook type").nullable().optional(),
9
+ label: zod.z.string().describe("Label for the info entry: home, work, personal, other, etc.").nullable().optional(),
10
+ value: zod.z.string().describe("Value for email, phone_number, twitter, url, or custom types").nullable().optional(),
11
+ po_box: zod.z.string().describe("PO box number for physical_address type").nullable().optional(),
12
+ region: zod.z.string().describe("State/province for physical_address type").nullable().optional(),
13
+ street: zod.z.string().describe("Street address for physical_address type").nullable().optional(),
14
+ country: zod.z.string().describe("Country for physical_address type").nullable().optional(),
15
+ postal_code: zod.z.string().describe("Postal code for physical_address type").nullable().optional(),
16
+ custom_label: zod.z.string().describe("Custom label when label is 'other'").nullable().optional(),
17
+ extended_address: zod.z.string().describe("Extended address for physical_address type").nullable().optional()
18
+ }).describe("Contact information entry (email, phone, social media, address, etc.).");
19
+ const MissiveGetContact_MembershipGroupSchema = zod.z.object({
20
+ id: zod.z.string().describe("Unique identifier of the group").nullable().optional(),
21
+ kind: zod.z.string().describe("Type of group: 'organization' or 'group'"),
22
+ name: zod.z.string().describe("Name of the group or organization")
23
+ }).describe("Group or organization reference in a membership.");
24
+ const MissiveGetContact_ContactMembershipSchema = zod.z.object({
25
+ group: MissiveGetContact_MembershipGroupSchema.nullable(),
26
+ title: zod.z.string().describe("Job title (organization only)").nullable().optional(),
27
+ location: zod.z.string().describe("Work location (organization only)").nullable().optional(),
28
+ department: zod.z.string().describe("Department name (organization only)").nullable().optional(),
29
+ description: zod.z.string().describe("Role description (organization only)").nullable().optional()
30
+ }).describe("Membership linking a contact to an organization or group.");
31
+ const MissiveGetContact_ContactSchema = zod.z.object({
32
+ id: zod.z.string().describe("Unique identifier for the contact"),
33
+ infos: zod.z.array(MissiveGetContact_ContactInfoSchema).describe("Contact information entries (emails, phones, social media, etc.)").nullable().optional(),
34
+ notes: zod.z.string().describe("Additional notes about contact").nullable().optional(),
35
+ gender: zod.z.string().describe("Contact's gender").nullable().optional(),
36
+ prefix: zod.z.string().describe("Name prefix (e.g., 'Mr.')").nullable().optional(),
37
+ suffix: zod.z.string().describe("Name suffix (e.g., 'Jr.')").nullable().optional(),
38
+ deleted: zod.z.boolean().describe("Whether contact has been deleted").nullable().optional(),
39
+ file_as: zod.z.string().describe("How contact is filed").nullable().optional(),
40
+ starred: zod.z.boolean().describe("Whether contact is starred").nullable().optional(),
41
+ nickname: zod.z.string().describe("Contact's nickname").nullable().optional(),
42
+ last_name: zod.z.string().describe("Contact's last name").nullable().optional(),
43
+ first_name: zod.z.string().describe("Contact's first name").nullable().optional(),
44
+ memberships: zod.z.array(MissiveGetContact_ContactMembershipSchema).describe("Organization and group associations").nullable().optional(),
45
+ middle_name: zod.z.string().describe("Contact's middle name").nullable().optional(),
46
+ modified_at: zod.z.number().int().describe("Unix timestamp of last modification").nullable().optional(),
47
+ contact_book: zod.z.string().describe("ID of the contact book containing this contact").nullable().optional(),
48
+ phonetic_last_name: zod.z.string().describe("Phonetic spelling of last name").nullable().optional(),
49
+ phonetic_first_name: zod.z.string().describe("Phonetic spelling of first name").nullable().optional(),
50
+ phonetic_middle_name: zod.z.string().describe("Phonetic spelling of middle name").nullable().optional()
51
+ }).describe("Complete contact object with all details.");
52
+ const MissiveGetContactOutput = zod.z.object({ contacts: zod.z.array(MissiveGetContact_ContactSchema).describe("List of contacts returned by the API (single contact in a list)") }).describe("Response model for fetching a contact.");
53
+ const missiveGetContact = require_action.action("MISSIVE_GET_CONTACT", {
54
+ slug: "missive-get-contact",
55
+ name: "Get Missive Contact",
56
+ description: "Tool to fetch a specific contact using the contact ID. Use when you need detailed contact information including names, contact info, and organizational memberships. Returns 404 for deleted contacts.",
57
+ input: MissiveGetContactInput,
58
+ output: MissiveGetContactOutput
59
+ });
60
+ //#endregion
61
+ exports.missiveGetContact = missiveGetContact;
62
+
63
+ //# sourceMappingURL=get-contact.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve.\"),\n}).describe(\"Request model for fetching a specific contact.\");\nconst MissiveGetContact_ContactInfoSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City for physical_address type\").nullable().optional(),\n kind: z.string().describe(\"Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom\"),\n name: z.string().describe(\"Name for facebook type\").nullable().optional(),\n label: z.string().describe(\"Label for the info entry: home, work, personal, other, etc.\").nullable().optional(),\n value: z.string().describe(\"Value for email, phone_number, twitter, url, or custom types\").nullable().optional(),\n po_box: z.string().describe(\"PO box number for physical_address type\").nullable().optional(),\n region: z.string().describe(\"State/province for physical_address type\").nullable().optional(),\n street: z.string().describe(\"Street address for physical_address type\").nullable().optional(),\n country: z.string().describe(\"Country for physical_address type\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for physical_address type\").nullable().optional(),\n custom_label: z.string().describe(\"Custom label when label is 'other'\").nullable().optional(),\n extended_address: z.string().describe(\"Extended address for physical_address type\").nullable().optional(),\n}).describe(\"Contact information entry (email, phone, social media, address, etc.).\");\nconst MissiveGetContact_MembershipGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable().optional(),\n kind: z.string().describe(\"Type of group: 'organization' or 'group'\"),\n name: z.string().describe(\"Name of the group or organization\"),\n}).describe(\"Group or organization reference in a membership.\");\nconst MissiveGetContact_ContactMembershipSchema: z.ZodTypeAny = z.object({\n group: MissiveGetContact_MembershipGroupSchema.nullable(),\n title: z.string().describe(\"Job title (organization only)\").nullable().optional(),\n location: z.string().describe(\"Work location (organization only)\").nullable().optional(),\n department: z.string().describe(\"Department name (organization only)\").nullable().optional(),\n description: z.string().describe(\"Role description (organization only)\").nullable().optional(),\n}).describe(\"Membership linking a contact to an organization or group.\");\nconst MissiveGetContact_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n infos: z.array(MissiveGetContact_ContactInfoSchema).describe(\"Contact information entries (emails, phones, social media, etc.)\").nullable().optional(),\n notes: z.string().describe(\"Additional notes about contact\").nullable().optional(),\n gender: z.string().describe(\"Contact's gender\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.')\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.')\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether contact has been deleted\").nullable().optional(),\n file_as: z.string().describe(\"How contact is filed\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is starred\").nullable().optional(),\n nickname: z.string().describe(\"Contact's nickname\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n memberships: z.array(MissiveGetContact_ContactMembershipSchema).describe(\"Organization and group associations\").nullable().optional(),\n middle_name: z.string().describe(\"Contact's middle name\").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 phonetic_last_name: z.string().describe(\"Phonetic spelling of last name\").nullable().optional(),\n phonetic_first_name: z.string().describe(\"Phonetic spelling of first name\").nullable().optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic spelling of middle name\").nullable().optional(),\n}).describe(\"Complete contact object with all details.\");\nexport const MissiveGetContactOutput: z.ZodTypeAny = z.object({\n contacts: z.array(MissiveGetContact_ContactSchema).describe(\"List of contacts returned by the API (single contact in a list)\"),\n}).describe(\"Response model for fetching a contact.\");\n\nexport const missiveGetContact = action(\"MISSIVE_GET_CONTACT\", {\n slug: \"missive-get-contact\",\n name: \"Get Missive Contact\",\n description: \"Tool to fetch a specific contact using the contact ID. Use when you need detailed contact information including names, contact info, and organizational memberships. Returns 404 for deleted contacts.\",\n input: MissiveGetContactInput,\n output: MissiveGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,iEAAiE,EAC/H,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-contact.d.ts
4
+ declare const MissiveGetContactInput: z.ZodTypeAny;
5
+ declare const MissiveGetContactOutput: z.ZodTypeAny;
6
+ declare const missiveGetContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { missiveGetContact };
9
+ //# sourceMappingURL=get-contact.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEsB;AAAA,cAgDhD,uBAAA,EAAyB,CAAA,CAAE,UAEa;AAAA,cAExC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-contact.d.ts
4
+ declare const MissiveGetContactInput: z.ZodTypeAny;
5
+ declare const MissiveGetContactOutput: z.ZodTypeAny;
6
+ declare const missiveGetContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { missiveGetContact };
9
+ //# sourceMappingURL=get-contact.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEsB;AAAA,cAgDhD,uBAAA,EAAyB,CAAA,CAAE,UAEa;AAAA,cAExC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,62 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-contact.ts
4
+ const MissiveGetContactInput = z.object({ id: z.string().describe("The unique identifier of the contact to retrieve.") }).describe("Request model for fetching a specific contact.");
5
+ const MissiveGetContact_ContactInfoSchema = z.object({
6
+ city: z.string().describe("City for physical_address type").nullable().optional(),
7
+ kind: z.string().describe("Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom"),
8
+ name: z.string().describe("Name for facebook type").nullable().optional(),
9
+ label: z.string().describe("Label for the info entry: home, work, personal, other, etc.").nullable().optional(),
10
+ value: z.string().describe("Value for email, phone_number, twitter, url, or custom types").nullable().optional(),
11
+ po_box: z.string().describe("PO box number for physical_address type").nullable().optional(),
12
+ region: z.string().describe("State/province for physical_address type").nullable().optional(),
13
+ street: z.string().describe("Street address for physical_address type").nullable().optional(),
14
+ country: z.string().describe("Country for physical_address type").nullable().optional(),
15
+ postal_code: z.string().describe("Postal code for physical_address type").nullable().optional(),
16
+ custom_label: z.string().describe("Custom label when label is 'other'").nullable().optional(),
17
+ extended_address: z.string().describe("Extended address for physical_address type").nullable().optional()
18
+ }).describe("Contact information entry (email, phone, social media, address, etc.).");
19
+ const MissiveGetContact_MembershipGroupSchema = z.object({
20
+ id: z.string().describe("Unique identifier of the group").nullable().optional(),
21
+ kind: z.string().describe("Type of group: 'organization' or 'group'"),
22
+ name: z.string().describe("Name of the group or organization")
23
+ }).describe("Group or organization reference in a membership.");
24
+ const MissiveGetContact_ContactMembershipSchema = z.object({
25
+ group: MissiveGetContact_MembershipGroupSchema.nullable(),
26
+ title: z.string().describe("Job title (organization only)").nullable().optional(),
27
+ location: z.string().describe("Work location (organization only)").nullable().optional(),
28
+ department: z.string().describe("Department name (organization only)").nullable().optional(),
29
+ description: z.string().describe("Role description (organization only)").nullable().optional()
30
+ }).describe("Membership linking a contact to an organization or group.");
31
+ const MissiveGetContact_ContactSchema = z.object({
32
+ id: z.string().describe("Unique identifier for the contact"),
33
+ infos: z.array(MissiveGetContact_ContactInfoSchema).describe("Contact information entries (emails, phones, social media, etc.)").nullable().optional(),
34
+ notes: z.string().describe("Additional notes about contact").nullable().optional(),
35
+ gender: z.string().describe("Contact's gender").nullable().optional(),
36
+ prefix: z.string().describe("Name prefix (e.g., 'Mr.')").nullable().optional(),
37
+ suffix: z.string().describe("Name suffix (e.g., 'Jr.')").nullable().optional(),
38
+ deleted: z.boolean().describe("Whether contact has been deleted").nullable().optional(),
39
+ file_as: z.string().describe("How contact is filed").nullable().optional(),
40
+ starred: z.boolean().describe("Whether contact is starred").nullable().optional(),
41
+ nickname: z.string().describe("Contact's nickname").nullable().optional(),
42
+ last_name: z.string().describe("Contact's last name").nullable().optional(),
43
+ first_name: z.string().describe("Contact's first name").nullable().optional(),
44
+ memberships: z.array(MissiveGetContact_ContactMembershipSchema).describe("Organization and group associations").nullable().optional(),
45
+ middle_name: z.string().describe("Contact's middle name").nullable().optional(),
46
+ modified_at: z.number().int().describe("Unix timestamp of last modification").nullable().optional(),
47
+ contact_book: z.string().describe("ID of the contact book containing this contact").nullable().optional(),
48
+ phonetic_last_name: z.string().describe("Phonetic spelling of last name").nullable().optional(),
49
+ phonetic_first_name: z.string().describe("Phonetic spelling of first name").nullable().optional(),
50
+ phonetic_middle_name: z.string().describe("Phonetic spelling of middle name").nullable().optional()
51
+ }).describe("Complete contact object with all details.");
52
+ const missiveGetContact = action("MISSIVE_GET_CONTACT", {
53
+ slug: "missive-get-contact",
54
+ name: "Get Missive Contact",
55
+ description: "Tool to fetch a specific contact using the contact ID. Use when you need detailed contact information including names, contact info, and organizational memberships. Returns 404 for deleted contacts.",
56
+ input: MissiveGetContactInput,
57
+ output: z.object({ contacts: z.array(MissiveGetContact_ContactSchema).describe("List of contacts returned by the API (single contact in a list)") }).describe("Response model for fetching a contact.")
58
+ });
59
+ //#endregion
60
+ export { missiveGetContact };
61
+
62
+ //# sourceMappingURL=get-contact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve.\"),\n}).describe(\"Request model for fetching a specific contact.\");\nconst MissiveGetContact_ContactInfoSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City for physical_address type\").nullable().optional(),\n kind: z.string().describe(\"Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom\"),\n name: z.string().describe(\"Name for facebook type\").nullable().optional(),\n label: z.string().describe(\"Label for the info entry: home, work, personal, other, etc.\").nullable().optional(),\n value: z.string().describe(\"Value for email, phone_number, twitter, url, or custom types\").nullable().optional(),\n po_box: z.string().describe(\"PO box number for physical_address type\").nullable().optional(),\n region: z.string().describe(\"State/province for physical_address type\").nullable().optional(),\n street: z.string().describe(\"Street address for physical_address type\").nullable().optional(),\n country: z.string().describe(\"Country for physical_address type\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for physical_address type\").nullable().optional(),\n custom_label: z.string().describe(\"Custom label when label is 'other'\").nullable().optional(),\n extended_address: z.string().describe(\"Extended address for physical_address type\").nullable().optional(),\n}).describe(\"Contact information entry (email, phone, social media, address, etc.).\");\nconst MissiveGetContact_MembershipGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable().optional(),\n kind: z.string().describe(\"Type of group: 'organization' or 'group'\"),\n name: z.string().describe(\"Name of the group or organization\"),\n}).describe(\"Group or organization reference in a membership.\");\nconst MissiveGetContact_ContactMembershipSchema: z.ZodTypeAny = z.object({\n group: MissiveGetContact_MembershipGroupSchema.nullable(),\n title: z.string().describe(\"Job title (organization only)\").nullable().optional(),\n location: z.string().describe(\"Work location (organization only)\").nullable().optional(),\n department: z.string().describe(\"Department name (organization only)\").nullable().optional(),\n description: z.string().describe(\"Role description (organization only)\").nullable().optional(),\n}).describe(\"Membership linking a contact to an organization or group.\");\nconst MissiveGetContact_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n infos: z.array(MissiveGetContact_ContactInfoSchema).describe(\"Contact information entries (emails, phones, social media, etc.)\").nullable().optional(),\n notes: z.string().describe(\"Additional notes about contact\").nullable().optional(),\n gender: z.string().describe(\"Contact's gender\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.')\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.')\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether contact has been deleted\").nullable().optional(),\n file_as: z.string().describe(\"How contact is filed\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is starred\").nullable().optional(),\n nickname: z.string().describe(\"Contact's nickname\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n memberships: z.array(MissiveGetContact_ContactMembershipSchema).describe(\"Organization and group associations\").nullable().optional(),\n middle_name: z.string().describe(\"Contact's middle name\").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 phonetic_last_name: z.string().describe(\"Phonetic spelling of last name\").nullable().optional(),\n phonetic_first_name: z.string().describe(\"Phonetic spelling of first name\").nullable().optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic spelling of middle name\").nullable().optional(),\n}).describe(\"Complete contact object with all details.\");\nexport const MissiveGetContactOutput: z.ZodTypeAny = z.object({\n contacts: z.array(MissiveGetContact_ContactSchema).describe(\"List of contacts returned by the API (single contact in a list)\"),\n}).describe(\"Response model for fetching a contact.\");\n\nexport const missiveGetContact = action(\"MISSIVE_GET_CONTACT\", {\n slug: \"missive-get-contact\",\n name: \"Get Missive Contact\",\n description: \"Tool to fetch a specific contact using the contact ID. Use when you need detailed contact information including names, contact info, and organizational memberships. Returns 404 for deleted contacts.\",\n input: MissiveGetContactInput,\n output: MissiveGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACzH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,UAAU,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,iEAAiE,EAC/H,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,53 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-conversation-messages.ts
4
+ const MissiveGetConversationMessagesInput = zod.z.object({
5
+ id: zod.z.string().describe("The conversation identifier"),
6
+ limit: zod.z.number().int().default(10).describe("Number of messages returned. Default: 10. Min: 2. Max: 10").optional(),
7
+ until: zod.z.number().int().describe("Timestamp value in Unix time used to paginate. Use the delivered_at of the oldest message from previous page").optional()
8
+ }).describe("Request model for listing messages in a conversation.");
9
+ const MissiveGetConversationMessages_ToFieldSchema = zod.z.object({
10
+ name: zod.z.string().describe("Recipient name").nullable().optional(),
11
+ address: zod.z.string().describe("Recipient email address").nullable().optional()
12
+ }).describe("Recipient information.");
13
+ const MissiveGetConversationMessages_FromFieldSchema = zod.z.object({
14
+ name: zod.z.string().describe("Sender name").nullable().optional(),
15
+ address: zod.z.string().describe("Sender email address").nullable().optional()
16
+ }).describe("Sender information.");
17
+ const MissiveGetConversationMessages_AttachmentInfoSchema = zod.z.object({
18
+ id: zod.z.string().describe("Attachment identifier").nullable().optional(),
19
+ size: zod.z.number().int().describe("Size in bytes").nullable().optional(),
20
+ filename: zod.z.string().describe("Name of the file").nullable().optional(),
21
+ content_type: zod.z.string().describe("MIME type of the attachment").nullable().optional()
22
+ }).describe("Attachment metadata.");
23
+ const MissiveGetConversationMessages_MessageSchema = zod.z.object({
24
+ id: zod.z.string().describe("Unique message identifier"),
25
+ type: zod.z.string().describe("Message type (e.g., 'email')").nullable().optional(),
26
+ draft: zod.z.boolean().describe("Whether message is a draft").nullable().optional(),
27
+ preview: zod.z.string().describe("Message preview text").nullable().optional(),
28
+ subject: zod.z.string().describe("Message subject line").nullable().optional(),
29
+ cc_fields: zod.z.array(MissiveGetConversationMessages_ToFieldSchema).describe("CC recipients").nullable().optional(),
30
+ to_fields: zod.z.array(MissiveGetConversationMessages_ToFieldSchema).describe("Recipients with name and address fields").nullable().optional(),
31
+ bcc_fields: zod.z.array(MissiveGetConversationMessages_ToFieldSchema).describe("BCC recipients").nullable().optional(),
32
+ created_at: zod.z.number().int().describe("Unix timestamp of creation").nullable().optional(),
33
+ from_field: MissiveGetConversationMessages_FromFieldSchema.nullable().optional(),
34
+ references: zod.z.array(zod.z.string()).describe("Email reference headers").nullable().optional(),
35
+ updated_at: zod.z.number().int().describe("Unix timestamp of last update").nullable().optional(),
36
+ attachments: zod.z.array(MissiveGetConversationMessages_AttachmentInfoSchema).describe("File attachments with metadata").nullable().optional(),
37
+ in_reply_to: zod.z.array(zod.z.string()).describe("References to parent messages").nullable().optional(),
38
+ delivered_at: zod.z.number().int().describe("Unix timestamp of delivery").nullable().optional(),
39
+ reply_to_fields: zod.z.array(MissiveGetConversationMessages_ToFieldSchema).describe("Reply-to addresses").nullable().optional(),
40
+ email_message_id: zod.z.string().describe("Email Message-ID header").nullable().optional()
41
+ }).describe("A Missive message object.");
42
+ const MissiveGetConversationMessagesOutput = zod.z.object({ messages: zod.z.array(MissiveGetConversationMessages_MessageSchema).describe("List of messages in the conversation") }).describe("Response model for listing conversation messages.");
43
+ const missiveGetConversationMessages = require_action.action("MISSIVE_GET_CONVERSATION_MESSAGES", {
44
+ slug: "missive-get-conversation-messages",
45
+ name: "List Conversation Messages",
46
+ description: "Tool to list messages belonging to a Missive conversation (newest first). Use when you need to retrieve message metadata including participants and attachments references for a specific conversation.",
47
+ input: MissiveGetConversationMessagesInput,
48
+ output: MissiveGetConversationMessagesOutput
49
+ });
50
+ //#endregion
51
+ exports.missiveGetConversationMessages = missiveGetConversationMessages;
52
+
53
+ //# sourceMappingURL=get-conversation-messages.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-conversation-messages.cjs","names":["z","action"],"sources":["../../src/actions/get-conversation-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetConversationMessagesInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().default(10).describe(\"Number of messages returned. Default: 10. Min: 2. Max: 10\").optional(),\n until: z.number().int().describe(\"Timestamp value in Unix time used to paginate. Use the delivered_at of the oldest message from previous page\").optional(),\n}).describe(\"Request model for listing messages in a conversation.\");\nconst MissiveGetConversationMessages_ToFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Recipient name\").nullable().optional(),\n address: z.string().describe(\"Recipient email address\").nullable().optional(),\n}).describe(\"Recipient information.\");\nconst MissiveGetConversationMessages_FromFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Sender name\").nullable().optional(),\n address: z.string().describe(\"Sender email address\").nullable().optional(),\n}).describe(\"Sender information.\");\nconst MissiveGetConversationMessages_AttachmentInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Attachment identifier\").nullable().optional(),\n size: z.number().int().describe(\"Size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the file\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment\").nullable().optional(),\n}).describe(\"Attachment metadata.\");\nconst MissiveGetConversationMessages_MessageSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique message identifier\"),\n type: z.string().describe(\"Message type (e.g., 'email')\").nullable().optional(),\n draft: z.boolean().describe(\"Whether message is a draft\").nullable().optional(),\n preview: z.string().describe(\"Message preview text\").nullable().optional(),\n subject: z.string().describe(\"Message subject line\").nullable().optional(),\n cc_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe(\"CC recipients\").nullable().optional(),\n to_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe(\"Recipients with name and address fields\").nullable().optional(),\n bcc_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe(\"BCC recipients\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable().optional(),\n from_field: MissiveGetConversationMessages_FromFieldSchema.nullable().optional(),\n references: z.array(z.string()).describe(\"Email reference headers\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp of last update\").nullable().optional(),\n attachments: z.array(MissiveGetConversationMessages_AttachmentInfoSchema).describe(\"File attachments with metadata\").nullable().optional(),\n in_reply_to: z.array(z.string()).describe(\"References to parent messages\").nullable().optional(),\n delivered_at: z.number().int().describe(\"Unix timestamp of delivery\").nullable().optional(),\n reply_to_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe(\"Reply-to addresses\").nullable().optional(),\n email_message_id: z.string().describe(\"Email Message-ID header\").nullable().optional(),\n}).describe(\"A Missive message object.\");\nexport const MissiveGetConversationMessagesOutput: z.ZodTypeAny = z.object({\n messages: z.array(MissiveGetConversationMessages_MessageSchema).describe(\"List of messages in the conversation\"),\n}).describe(\"Response model for listing conversation messages.\");\n\nexport const missiveGetConversationMessages = action(\"MISSIVE_GET_CONVERSATION_MESSAGES\", {\n slug: \"missive-get-conversation-messages\",\n name: \"List Conversation Messages\",\n description: \"Tool to list messages belonging to a Missive conversation (newest first). Use when you need to retrieve message metadata including participants and attachments references for a specific conversation.\",\n input: MissiveGetConversationMessagesInput,\n output: MissiveGetConversationMessagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACjC,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,U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AAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,UAAUA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,sCAAsC,EACjH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-conversation-messages.d.ts
4
+ declare const MissiveGetConversationMessagesInput: z.ZodTypeAny;
5
+ declare const MissiveGetConversationMessagesOutput: z.ZodTypeAny;
6
+ declare const missiveGetConversationMessages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { missiveGetConversationMessages };
9
+ //# sourceMappingURL=get-conversation-messages.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-conversation-messages.d.cts","names":[],"sources":["../../src/actions/get-conversation-messages.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIgB;AAAA,cAkCvD,oCAAA,EAAsC,CAAA,CAAE,UAEW;AAAA,cAEnD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-conversation-messages.d.ts
4
+ declare const MissiveGetConversationMessagesInput: z.ZodTypeAny;
5
+ declare const MissiveGetConversationMessagesOutput: z.ZodTypeAny;
6
+ declare const missiveGetConversationMessages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { missiveGetConversationMessages };
9
+ //# sourceMappingURL=get-conversation-messages.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-conversation-messages.d.mts","names":[],"sources":["../../src/actions/get-conversation-messages.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAIgB;AAAA,cAkCvD,oCAAA,EAAsC,CAAA,CAAE,UAEW;AAAA,cAEnD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,52 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-conversation-messages.ts
4
+ const MissiveGetConversationMessagesInput = z.object({
5
+ id: z.string().describe("The conversation identifier"),
6
+ limit: z.number().int().default(10).describe("Number of messages returned. Default: 10. Min: 2. Max: 10").optional(),
7
+ until: z.number().int().describe("Timestamp value in Unix time used to paginate. Use the delivered_at of the oldest message from previous page").optional()
8
+ }).describe("Request model for listing messages in a conversation.");
9
+ const MissiveGetConversationMessages_ToFieldSchema = z.object({
10
+ name: z.string().describe("Recipient name").nullable().optional(),
11
+ address: z.string().describe("Recipient email address").nullable().optional()
12
+ }).describe("Recipient information.");
13
+ const MissiveGetConversationMessages_FromFieldSchema = z.object({
14
+ name: z.string().describe("Sender name").nullable().optional(),
15
+ address: z.string().describe("Sender email address").nullable().optional()
16
+ }).describe("Sender information.");
17
+ const MissiveGetConversationMessages_AttachmentInfoSchema = z.object({
18
+ id: z.string().describe("Attachment identifier").nullable().optional(),
19
+ size: z.number().int().describe("Size in bytes").nullable().optional(),
20
+ filename: z.string().describe("Name of the file").nullable().optional(),
21
+ content_type: z.string().describe("MIME type of the attachment").nullable().optional()
22
+ }).describe("Attachment metadata.");
23
+ const MissiveGetConversationMessages_MessageSchema = z.object({
24
+ id: z.string().describe("Unique message identifier"),
25
+ type: z.string().describe("Message type (e.g., 'email')").nullable().optional(),
26
+ draft: z.boolean().describe("Whether message is a draft").nullable().optional(),
27
+ preview: z.string().describe("Message preview text").nullable().optional(),
28
+ subject: z.string().describe("Message subject line").nullable().optional(),
29
+ cc_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe("CC recipients").nullable().optional(),
30
+ to_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe("Recipients with name and address fields").nullable().optional(),
31
+ bcc_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe("BCC recipients").nullable().optional(),
32
+ created_at: z.number().int().describe("Unix timestamp of creation").nullable().optional(),
33
+ from_field: MissiveGetConversationMessages_FromFieldSchema.nullable().optional(),
34
+ references: z.array(z.string()).describe("Email reference headers").nullable().optional(),
35
+ updated_at: z.number().int().describe("Unix timestamp of last update").nullable().optional(),
36
+ attachments: z.array(MissiveGetConversationMessages_AttachmentInfoSchema).describe("File attachments with metadata").nullable().optional(),
37
+ in_reply_to: z.array(z.string()).describe("References to parent messages").nullable().optional(),
38
+ delivered_at: z.number().int().describe("Unix timestamp of delivery").nullable().optional(),
39
+ reply_to_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe("Reply-to addresses").nullable().optional(),
40
+ email_message_id: z.string().describe("Email Message-ID header").nullable().optional()
41
+ }).describe("A Missive message object.");
42
+ const missiveGetConversationMessages = action("MISSIVE_GET_CONVERSATION_MESSAGES", {
43
+ slug: "missive-get-conversation-messages",
44
+ name: "List Conversation Messages",
45
+ description: "Tool to list messages belonging to a Missive conversation (newest first). Use when you need to retrieve message metadata including participants and attachments references for a specific conversation.",
46
+ input: MissiveGetConversationMessagesInput,
47
+ output: z.object({ messages: z.array(MissiveGetConversationMessages_MessageSchema).describe("List of messages in the conversation") }).describe("Response model for listing conversation messages.")
48
+ });
49
+ //#endregion
50
+ export { missiveGetConversationMessages };
51
+
52
+ //# sourceMappingURL=get-conversation-messages.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-conversation-messages.mjs","names":[],"sources":["../../src/actions/get-conversation-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetConversationMessagesInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().default(10).describe(\"Number of messages returned. Default: 10. Min: 2. Max: 10\").optional(),\n until: z.number().int().describe(\"Timestamp value in Unix time used to paginate. Use the delivered_at of the oldest message from previous page\").optional(),\n}).describe(\"Request model for listing messages in a conversation.\");\nconst MissiveGetConversationMessages_ToFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Recipient name\").nullable().optional(),\n address: z.string().describe(\"Recipient email address\").nullable().optional(),\n}).describe(\"Recipient information.\");\nconst MissiveGetConversationMessages_FromFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Sender name\").nullable().optional(),\n address: z.string().describe(\"Sender email address\").nullable().optional(),\n}).describe(\"Sender information.\");\nconst MissiveGetConversationMessages_AttachmentInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Attachment identifier\").nullable().optional(),\n size: z.number().int().describe(\"Size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the file\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment\").nullable().optional(),\n}).describe(\"Attachment metadata.\");\nconst MissiveGetConversationMessages_MessageSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique message identifier\"),\n type: z.string().describe(\"Message type (e.g., 'email')\").nullable().optional(),\n draft: z.boolean().describe(\"Whether message is a draft\").nullable().optional(),\n preview: z.string().describe(\"Message preview text\").nullable().optional(),\n subject: z.string().describe(\"Message subject line\").nullable().optional(),\n cc_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe(\"CC recipients\").nullable().optional(),\n to_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe(\"Recipients with name and address fields\").nullable().optional(),\n bcc_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe(\"BCC recipients\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable().optional(),\n from_field: MissiveGetConversationMessages_FromFieldSchema.nullable().optional(),\n references: z.array(z.string()).describe(\"Email reference headers\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp of last update\").nullable().optional(),\n attachments: z.array(MissiveGetConversationMessages_AttachmentInfoSchema).describe(\"File attachments with metadata\").nullable().optional(),\n in_reply_to: z.array(z.string()).describe(\"References to parent messages\").nullable().optional(),\n delivered_at: z.number().int().describe(\"Unix timestamp of delivery\").nullable().optional(),\n reply_to_fields: z.array(MissiveGetConversationMessages_ToFieldSchema).describe(\"Reply-to addresses\").nullable().optional(),\n email_message_id: z.string().describe(\"Email Message-ID header\").nullable().optional(),\n}).describe(\"A Missive message object.\");\nexport const MissiveGetConversationMessagesOutput: z.ZodTypeAny = z.object({\n messages: z.array(MissiveGetConversationMessages_MessageSchema).describe(\"List of messages in the conversation\"),\n}).describe(\"Response model for listing conversation messages.\");\n\nexport const missiveGetConversationMessages = action(\"MISSIVE_GET_CONVERSATION_MESSAGES\", {\n slug: \"missive-get-conversation-messages\",\n name: \"List Conversation Messages\",\n description: \"Tool to list messages belonging to a Missive conversation (newest first). Use when you need to retrieve message metadata including participants and attachments references for a specific conversation.\",\n input: MissiveGetConversationMessagesInput,\n output: MissiveGetConversationMessagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACjC,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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