@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,9 +1,149 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-draft.d.ts
4
- declare const MissiveCreateDraftInput: z.ZodTypeAny;
5
- declare const MissiveCreateDraftOutput: z.ZodTypeAny;
6
- declare const missiveCreateDraft: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveCreateDraftInput: z.ZodObject<{
5
+ body: z.ZodString;
6
+ send: z.ZodOptional<z.ZodBoolean>;
7
+ team: z.ZodOptional<z.ZodString>;
8
+ close: z.ZodOptional<z.ZodBoolean>;
9
+ account: z.ZodOptional<z.ZodString>;
10
+ send_at: z.ZodOptional<z.ZodNumber>;
11
+ subject: z.ZodOptional<z.ZodString>;
12
+ add_users: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ cc_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ name: z.ZodOptional<z.ZodString>;
15
+ address: z.ZodString;
16
+ }, z.core.$loose>>>;
17
+ to_fields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ address: z.ZodString;
20
+ }, z.core.$loose>, z.ZodObject<{
21
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
22
+ whatsapp: "whatsapp";
23
+ signalwire: "signalwire";
24
+ twilio: "twilio";
25
+ twilio_whatsapp: "twilio_whatsapp";
26
+ }>>>;
27
+ phone_number: z.ZodString;
28
+ }, z.core.$loose>, z.ZodObject<{
29
+ id: z.ZodString;
30
+ name: z.ZodString;
31
+ username: z.ZodString;
32
+ }, z.core.$loose>]>>;
33
+ bcc_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
34
+ name: z.ZodOptional<z.ZodString>;
35
+ address: z.ZodString;
36
+ }, z.core.$loose>>>;
37
+ force_team: z.ZodOptional<z.ZodBoolean>;
38
+ from_field: z.ZodUnion<readonly [z.ZodObject<{
39
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ address: z.ZodString;
41
+ }, z.core.$loose>, z.ZodObject<{
42
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
43
+ whatsapp: "whatsapp";
44
+ signalwire: "signalwire";
45
+ twilio: "twilio";
46
+ twilio_whatsapp: "twilio_whatsapp";
47
+ }>>>;
48
+ phone_number: z.ZodString;
49
+ }, z.core.$loose>, z.ZodObject<{
50
+ id: z.ZodString;
51
+ name: z.ZodString;
52
+ username: z.ZodString;
53
+ }, z.core.$loose>]>;
54
+ references: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
+ filename: z.ZodString;
57
+ base64_data: z.ZodString;
58
+ }, z.core.$loose>>>;
59
+ add_to_inbox: z.ZodOptional<z.ZodBoolean>;
60
+ conversation: z.ZodOptional<z.ZodString>;
61
+ organization: z.ZodOptional<z.ZodString>;
62
+ add_assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
+ auto_followup: z.ZodOptional<z.ZodBoolean>;
64
+ add_shared_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
+ add_to_team_inbox: z.ZodOptional<z.ZodBoolean>;
66
+ conversation_color: z.ZodOptional<z.ZodString>;
67
+ conversation_subject: z.ZodOptional<z.ZodString>;
68
+ external_response_id: z.ZodOptional<z.ZodString>;
69
+ remove_shared_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ quote_previous_message: z.ZodOptional<z.ZodBoolean>;
71
+ external_response_variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
72
+ }, z.core.$strip>;
73
+ declare const MissiveCreateDraftOutput: z.ZodObject<{
74
+ drafts: z.ZodNullable<z.ZodObject<{
75
+ id: z.ZodNullable<z.ZodString>;
76
+ conversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ }, z.core.$loose>>;
78
+ }, z.core.$loose>;
79
+ declare const missiveCreateDraft: import("@keystrokehq/action").WorkflowActionDefinition<{
80
+ body: string;
81
+ to_fields: ({
82
+ [x: string]: unknown;
83
+ address: string;
84
+ name?: string | null | undefined;
85
+ } | {
86
+ [x: string]: unknown;
87
+ phone_number: string;
88
+ type?: "whatsapp" | "signalwire" | "twilio" | "twilio_whatsapp" | null | undefined;
89
+ } | {
90
+ [x: string]: unknown;
91
+ id: string;
92
+ name: string;
93
+ username: string;
94
+ })[];
95
+ from_field: {
96
+ [x: string]: unknown;
97
+ address: string;
98
+ name?: string | null | undefined;
99
+ } | {
100
+ [x: string]: unknown;
101
+ phone_number: string;
102
+ type?: "whatsapp" | "signalwire" | "twilio" | "twilio_whatsapp" | null | undefined;
103
+ } | {
104
+ [x: string]: unknown;
105
+ id: string;
106
+ name: string;
107
+ username: string;
108
+ };
109
+ send?: boolean | undefined;
110
+ team?: string | undefined;
111
+ close?: boolean | undefined;
112
+ account?: string | undefined;
113
+ send_at?: number | undefined;
114
+ subject?: string | undefined;
115
+ add_users?: string[] | undefined;
116
+ cc_fields?: {
117
+ [x: string]: unknown;
118
+ address: string;
119
+ name?: string | undefined;
120
+ }[] | undefined;
121
+ bcc_fields?: {
122
+ [x: string]: unknown;
123
+ address: string;
124
+ name?: string | undefined;
125
+ }[] | undefined;
126
+ force_team?: boolean | undefined;
127
+ references?: string[] | undefined;
128
+ attachments?: {
129
+ [x: string]: unknown;
130
+ filename: string;
131
+ base64_data: string;
132
+ }[] | undefined;
133
+ add_to_inbox?: boolean | undefined;
134
+ conversation?: string | undefined;
135
+ organization?: string | undefined;
136
+ add_assignees?: string[] | undefined;
137
+ auto_followup?: boolean | undefined;
138
+ add_shared_labels?: string[] | undefined;
139
+ add_to_team_inbox?: boolean | undefined;
140
+ conversation_color?: string | undefined;
141
+ conversation_subject?: string | undefined;
142
+ external_response_id?: string | undefined;
143
+ remove_shared_labels?: string[] | undefined;
144
+ quote_previous_message?: boolean | undefined;
145
+ external_response_variables?: Record<string, unknown> | undefined;
146
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
147
  //#endregion
8
148
  export { missiveCreateDraft };
9
149
  //# sourceMappingURL=create-draft.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-draft.d.mts","names":[],"sources":["../../src/actions/create-draft.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UA0D0D;AAAA,cAKrF,wBAAA,EAA0B,CAAA,CAAE,UAEqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-draft.d.mts","names":[],"sources":["../../src/actions/create-draft.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAM7B,MAAA;AAAA"}
@@ -13,12 +13,12 @@ const MissiveCreateDraftInput = z.object({
13
13
  cc_fields: z.array(z.object({
14
14
  name: z.string().describe("Display name associated with the email address").optional(),
15
15
  address: z.string().describe("Email address of the recipient or sender")
16
- }).describe("Email address field for drafts.")).describe("CC recipients for email drafts").optional(),
16
+ }).passthrough().describe("Email address field for drafts.")).describe("CC recipients for email drafts").optional(),
17
17
  to_fields: z.array(z.union([
18
18
  z.object({
19
19
  name: z.string().nullable().optional(),
20
20
  address: z.string().describe("Email address of the recipient or sender")
21
- }).describe("Email address field for drafts."),
21
+ }).passthrough().describe("Email address field for drafts."),
22
22
  z.object({
23
23
  type: z.enum([
24
24
  "signalwire",
@@ -27,23 +27,23 @@ const MissiveCreateDraftInput = z.object({
27
27
  "whatsapp"
28
28
  ]).nullable().optional(),
29
29
  phone_number: z.string().describe("Phone number in E.164 format (e.g., '+18005550199')")
30
- }).describe("Phone number field for SMS/WhatsApp drafts."),
30
+ }).passthrough().describe("Phone number field for SMS/WhatsApp drafts."),
31
31
  z.object({
32
32
  id: z.string().describe("Custom channel or live chat account ID"),
33
33
  name: z.string().describe("Display name for the custom channel or live chat participant"),
34
34
  username: z.string().describe("Username in the custom channel or live chat")
35
- }).describe("Custom channel or live chat field.")
35
+ }).passthrough().describe("Custom channel or live chat field.")
36
36
  ])).describe("List of recipients (one only for SMS/WhatsApp)"),
37
37
  bcc_fields: z.array(z.object({
38
38
  name: z.string().describe("Display name associated with the email address").optional(),
39
39
  address: z.string().describe("Email address of the recipient or sender")
40
- }).describe("Email address field for drafts.")).describe("BCC recipients for email drafts").optional(),
40
+ }).passthrough().describe("Email address field for drafts.")).describe("BCC recipients for email drafts").optional(),
41
41
  force_team: z.boolean().describe("Force association to the specified team even if already linked").optional(),
42
42
  from_field: z.union([
43
43
  z.object({
44
44
  name: z.string().nullable().optional(),
45
45
  address: z.string().describe("Email address of the recipient or sender")
46
- }).describe("Email address field for drafts."),
46
+ }).passthrough().describe("Email address field for drafts."),
47
47
  z.object({
48
48
  type: z.enum([
49
49
  "signalwire",
@@ -52,18 +52,18 @@ const MissiveCreateDraftInput = z.object({
52
52
  "whatsapp"
53
53
  ]).nullable().optional(),
54
54
  phone_number: z.string().describe("Phone number in E.164 format (e.g., '+18005550199')")
55
- }).describe("Phone number field for SMS/WhatsApp drafts."),
55
+ }).passthrough().describe("Phone number field for SMS/WhatsApp drafts."),
56
56
  z.object({
57
57
  id: z.string().describe("Custom channel or live chat account ID"),
58
58
  name: z.string().describe("Display name for the custom channel or live chat participant"),
59
59
  username: z.string().describe("Username in the custom channel or live chat")
60
- }).describe("Custom channel or live chat field.")
60
+ }).passthrough().describe("Custom channel or live chat field.")
61
61
  ]),
62
62
  references: z.array(z.string()).describe("Message-ID references for threading into existing conversations").optional(),
63
63
  attachments: z.array(z.object({
64
64
  filename: z.string().describe("Filename of the attachment"),
65
65
  base64_data: z.string().describe("Base64-encoded contents of the file")
66
- }).describe("File attachment model.")).describe("List of file attachments (up to 25, total payload <=10MB)").optional(),
66
+ }).passthrough().describe("File attachment model.")).describe("List of file attachments (up to 25, total payload <=10MB)").optional(),
67
67
  add_to_inbox: z.boolean().describe("Move the draft's conversation to everyone's inbox").optional(),
68
68
  conversation: z.string().describe("Conversation ID to append the draft to").optional(),
69
69
  organization: z.string().describe("Organization ID to scope or link the conversation").optional(),
@@ -76,18 +76,18 @@ const MissiveCreateDraftInput = z.object({
76
76
  external_response_id: z.string().describe("WhatsApp template ID when initiating new WhatsApp conversation").optional(),
77
77
  remove_shared_labels: z.array(z.string()).describe("Shared label IDs to remove from the conversation").optional(),
78
78
  quote_previous_message: z.boolean().describe("Include quoted text of the last message in an existing conversation").optional(),
79
- external_response_variables: z.object({}).describe("Variables for WhatsApp template interpolation").optional()
79
+ external_response_variables: z.record(z.string(), z.unknown()).describe("Variables for WhatsApp template interpolation").optional()
80
80
  }).describe("Request model for creating a draft (email, SMS, WhatsApp, or Live Chat) in Missive.");
81
81
  const MissiveCreateDraft_DraftResponseSchema = z.object({
82
- id: z.string().describe("Unique identifier of the created draft"),
82
+ id: z.string().describe("Unique identifier of the created draft").nullable(),
83
83
  conversation: z.string().describe("Conversation ID the draft belongs to").nullable().optional()
84
- }).describe("Created draft model.");
84
+ }).passthrough().describe("Created draft model.");
85
85
  const missiveCreateDraft = action("MISSIVE_CREATE_DRAFT", {
86
86
  slug: "missive-create-draft",
87
87
  name: "Create Draft",
88
88
  description: "Tool to create a new draft in Missive. Use after preparing message details to save a draft (email, SMS, WhatsApp, or Live Chat) for later editing or scheduling.",
89
89
  input: MissiveCreateDraftInput,
90
- output: z.object({ drafts: MissiveCreateDraft_DraftResponseSchema.nullable() }).describe("Response model for creating a draft in Missive.")
90
+ output: z.object({ drafts: MissiveCreateDraft_DraftResponseSchema.nullable() }).passthrough().describe("Response model for creating a draft in Missive.")
91
91
  });
92
92
  //#endregion
93
93
  export { missiveCreateDraft };
@@ -1 +1 @@
1
- {"version":3,"file":"create-draft.mjs","names":[],"sources":["../../src/actions/create-draft.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateDraftInput: z.ZodTypeAny = z.object({\n body: z.string().describe(\"HTML or text body of the draft. Use '<br>' for paragraphs.\"),\n send: z.boolean().describe(\"Send the draft immediately upon creation\").optional(),\n team: z.string().describe(\"Team ID to link the draft's conversation\").optional(),\n close: z.boolean().describe(\"Close the conversation after draft creation\").optional(),\n account: z.string().describe(\"Account ID for custom channels or live chat\").optional(),\n send_at: z.number().int().describe(\"Unix timestamp to schedule sending (cannot combine with send)\").optional(),\n subject: z.string().describe(\"Subject for email drafts\").optional(),\n add_users: z.array(z.string()).describe(\"List of user IDs to grant access to the conversation (requires organization)\").optional(),\n cc_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient or sender\"),\n}).describe(\"Email address field for drafts.\")).describe(\"CC recipients for email drafts\").optional(),\n to_fields: z.array(z.union([z.object({\n name: z.string().nullable().optional(),\n address: z.string().describe(\"Email address of the recipient or sender\"),\n}).describe(\"Email address field for drafts.\"), z.object({\n type: z.enum([\"signalwire\", \"twilio\", \"twilio_whatsapp\", \"whatsapp\"]).nullable().optional(),\n phone_number: z.string().describe(\"Phone number in E.164 format (e.g., '+18005550199')\"),\n}).describe(\"Phone number field for SMS/WhatsApp drafts.\"), z.object({\n id: z.string().describe(\"Custom channel or live chat account ID\"),\n name: z.string().describe(\"Display name for the custom channel or live chat participant\"),\n username: z.string().describe(\"Username in the custom channel or live chat\"),\n}).describe(\"Custom channel or live chat field.\")])).describe(\"List of recipients (one only for SMS/WhatsApp)\"),\n bcc_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient or sender\"),\n}).describe(\"Email address field for drafts.\")).describe(\"BCC recipients for email drafts\").optional(),\n force_team: z.boolean().describe(\"Force association to the specified team even if already linked\").optional(),\n from_field: z.union([z.object({\n name: z.string().nullable().optional(),\n address: z.string().describe(\"Email address of the recipient or sender\"),\n}).describe(\"Email address field for drafts.\"), z.object({\n type: z.enum([\"signalwire\", \"twilio\", \"twilio_whatsapp\", \"whatsapp\"]).nullable().optional(),\n phone_number: z.string().describe(\"Phone number in E.164 format (e.g., '+18005550199')\"),\n}).describe(\"Phone number field for SMS/WhatsApp drafts.\"), z.object({\n id: z.string().describe(\"Custom channel or live chat account ID\"),\n name: z.string().describe(\"Display name for the custom channel or live chat participant\"),\n username: z.string().describe(\"Username in the custom channel or live chat\"),\n}).describe(\"Custom channel or live chat field.\")]),\n references: z.array(z.string()).describe(\"Message-ID references for threading into existing conversations\").optional(),\n attachments: z.array(z.object({\n filename: z.string().describe(\"Filename of the attachment\"),\n base64_data: z.string().describe(\"Base64-encoded contents of the file\"),\n}).describe(\"File attachment model.\")).describe(\"List of file attachments (up to 25, total payload <=10MB)\").optional(),\n add_to_inbox: z.boolean().describe(\"Move the draft's conversation to everyone's inbox\").optional(),\n conversation: z.string().describe(\"Conversation ID to append the draft to\").optional(),\n organization: z.string().describe(\"Organization ID to scope or link the conversation\").optional(),\n add_assignees: z.array(z.string()).describe(\"List of user IDs to assign to the conversation (requires organization)\").optional(),\n auto_followup: z.boolean().describe(\"Auto-cancel scheduled draft if a reply arrives (requires send_at)\").optional(),\n add_shared_labels: z.array(z.string()).describe(\"Shared label IDs to add to the conversation\").optional(),\n add_to_team_inbox: z.boolean().describe(\"Move the draft's conversation to team inbox (requires team)\").optional(),\n conversation_color: z.string().describe(\"HEX color code or 'good'/'warning'/'danger' for the conversation\").optional(),\n conversation_subject: z.string().describe(\"Subject for new conversation when using references\").optional(),\n external_response_id: z.string().describe(\"WhatsApp template ID when initiating new WhatsApp conversation\").optional(),\n remove_shared_labels: z.array(z.string()).describe(\"Shared label IDs to remove from the conversation\").optional(),\n quote_previous_message: z.boolean().describe(\"Include quoted text of the last message in an existing conversation\").optional(),\n external_response_variables: z.object({}).describe(\"Variables for WhatsApp template interpolation\").optional(),\n}).describe(\"Request model for creating a draft (email, SMS, WhatsApp, or Live Chat) in Missive.\");\nconst MissiveCreateDraft_DraftResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created draft\"),\n conversation: z.string().describe(\"Conversation ID the draft belongs to\").nullable().optional(),\n}).describe(\"Created draft model.\");\nexport const MissiveCreateDraftOutput: z.ZodTypeAny = z.object({\n drafts: MissiveCreateDraft_DraftResponseSchema.nullable(),\n}).describe(\"Response model for creating a draft in Missive.\");\n\nexport const missiveCreateDraft = action(\"MISSIVE_CREATE_DRAFT\", {\n slug: \"missive-create-draft\",\n name: \"Create Draft\",\n description: \"Tool to create a new draft in Missive. Use after preparing message details to save a draft (email, SMS, WhatsApp, or Live Chat) for later editing or scheduling.\",\n input: MissiveCreateDraftInput,\n output: MissiveCreateDraftOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACjI,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,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E,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACrH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACrH,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChH,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7H,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAKlC,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,QAAQ,uCAAuC,SAAS,EAC1D,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-draft.mjs","names":[],"sources":["../../src/actions/create-draft.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateDraftInput = z.object({\n body: z.string().describe(\"HTML or text body of the draft. Use '<br>' for paragraphs.\"),\n send: z.boolean().describe(\"Send the draft immediately upon creation\").optional(),\n team: z.string().describe(\"Team ID to link the draft's conversation\").optional(),\n close: z.boolean().describe(\"Close the conversation after draft creation\").optional(),\n account: z.string().describe(\"Account ID for custom channels or live chat\").optional(),\n send_at: z.number().int().describe(\"Unix timestamp to schedule sending (cannot combine with send)\").optional(),\n subject: z.string().describe(\"Subject for email drafts\").optional(),\n add_users: z.array(z.string()).describe(\"List of user IDs to grant access to the conversation (requires organization)\").optional(),\n cc_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient or sender\"),\n}).passthrough().describe(\"Email address field for drafts.\")).describe(\"CC recipients for email drafts\").optional(),\n to_fields: z.array(z.union([z.object({\n name: z.string().nullable().optional(),\n address: z.string().describe(\"Email address of the recipient or sender\"),\n}).passthrough().describe(\"Email address field for drafts.\"), z.object({\n type: z.enum([\"signalwire\", \"twilio\", \"twilio_whatsapp\", \"whatsapp\"]).nullable().optional(),\n phone_number: z.string().describe(\"Phone number in E.164 format (e.g., '+18005550199')\"),\n}).passthrough().describe(\"Phone number field for SMS/WhatsApp drafts.\"), z.object({\n id: z.string().describe(\"Custom channel or live chat account ID\"),\n name: z.string().describe(\"Display name for the custom channel or live chat participant\"),\n username: z.string().describe(\"Username in the custom channel or live chat\"),\n}).passthrough().describe(\"Custom channel or live chat field.\")])).describe(\"List of recipients (one only for SMS/WhatsApp)\"),\n bcc_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient or sender\"),\n}).passthrough().describe(\"Email address field for drafts.\")).describe(\"BCC recipients for email drafts\").optional(),\n force_team: z.boolean().describe(\"Force association to the specified team even if already linked\").optional(),\n from_field: z.union([z.object({\n name: z.string().nullable().optional(),\n address: z.string().describe(\"Email address of the recipient or sender\"),\n}).passthrough().describe(\"Email address field for drafts.\"), z.object({\n type: z.enum([\"signalwire\", \"twilio\", \"twilio_whatsapp\", \"whatsapp\"]).nullable().optional(),\n phone_number: z.string().describe(\"Phone number in E.164 format (e.g., '+18005550199')\"),\n}).passthrough().describe(\"Phone number field for SMS/WhatsApp drafts.\"), z.object({\n id: z.string().describe(\"Custom channel or live chat account ID\"),\n name: z.string().describe(\"Display name for the custom channel or live chat participant\"),\n username: z.string().describe(\"Username in the custom channel or live chat\"),\n}).passthrough().describe(\"Custom channel or live chat field.\")]),\n references: z.array(z.string()).describe(\"Message-ID references for threading into existing conversations\").optional(),\n attachments: z.array(z.object({\n filename: z.string().describe(\"Filename of the attachment\"),\n base64_data: z.string().describe(\"Base64-encoded contents of the file\"),\n}).passthrough().describe(\"File attachment model.\")).describe(\"List of file attachments (up to 25, total payload <=10MB)\").optional(),\n add_to_inbox: z.boolean().describe(\"Move the draft's conversation to everyone's inbox\").optional(),\n conversation: z.string().describe(\"Conversation ID to append the draft to\").optional(),\n organization: z.string().describe(\"Organization ID to scope or link the conversation\").optional(),\n add_assignees: z.array(z.string()).describe(\"List of user IDs to assign to the conversation (requires organization)\").optional(),\n auto_followup: z.boolean().describe(\"Auto-cancel scheduled draft if a reply arrives (requires send_at)\").optional(),\n add_shared_labels: z.array(z.string()).describe(\"Shared label IDs to add to the conversation\").optional(),\n add_to_team_inbox: z.boolean().describe(\"Move the draft's conversation to team inbox (requires team)\").optional(),\n conversation_color: z.string().describe(\"HEX color code or 'good'/'warning'/'danger' for the conversation\").optional(),\n conversation_subject: z.string().describe(\"Subject for new conversation when using references\").optional(),\n external_response_id: z.string().describe(\"WhatsApp template ID when initiating new WhatsApp conversation\").optional(),\n remove_shared_labels: z.array(z.string()).describe(\"Shared label IDs to remove from the conversation\").optional(),\n quote_previous_message: z.boolean().describe(\"Include quoted text of the last message in an existing conversation\").optional(),\n external_response_variables: z.record(z.string(), z.unknown()).describe(\"Variables for WhatsApp template interpolation\").optional(),\n}).describe(\"Request model for creating a draft (email, SMS, WhatsApp, or Live Chat) in Missive.\");\nconst MissiveCreateDraft_DraftResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created draft\").nullable(),\n conversation: z.string().describe(\"Conversation ID the draft belongs to\").nullable().optional(),\n}).passthrough().describe(\"Created draft model.\");\nexport const MissiveCreateDraftOutput = z.object({\n drafts: MissiveCreateDraft_DraftResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a draft in Missive.\");\n\nexport const missiveCreateDraft = action(\"MISSIVE_CREATE_DRAFT\", {\n slug: \"missive-create-draft\",\n name: \"Create Draft\",\n description: \"Tool to create a new draft in Missive. Use after preparing message details to save a draft (email, SMS, WhatsApp, or Live Chat) for later editing or scheduling.\",\n input: MissiveCreateDraftInput,\n output: MissiveCreateDraftOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACjI,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iC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("Shared label IDs to add to the conversation").optional(),
20
20
  remove_shared_labels: zod.z.array(zod.z.string()).describe("Shared label IDs to remove from the conversation").optional()
21
21
  }).describe("Request model for creating a post in a Missive conversation.\nPosts are recommended for managing conversations from integrations and automations.");
22
- const MissiveCreatePostOutput = zod.z.object({}).describe("Response model for creating a post in Missive.\nThe API returns an empty response on success (201 Created).");
22
+ const MissiveCreatePostOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response model for creating a post in Missive.\nThe API returns an empty response on success (201 Created).");
23
23
  const missiveCreatePost = require_action.action("MISSIVE_CREATE_POST", {
24
24
  slug: "missive-create-post",
25
25
  name: "Create Missive Post",
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreatePostInput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Plain text content of the post\").optional(),\n close: z.boolean().describe(\"Close the conversation after creating the post\").optional(),\n reopen: z.boolean().describe(\"Reopen the conversation if it was previously closed\").optional(),\n snooze: z.number().int().describe(\"Unix timestamp to snooze the conversation until\").optional(),\n markdown: z.string().describe(\"Markdown-formatted content of the post\").optional(),\n add_to_inbox: z.boolean().describe(\"Move the conversation to inbox\").optional(),\n conversation: z.string().describe(\"Conversation ID to create the post in\"),\n notification: z.object({\n body: z.string().describe(\"Notification body content shown to users\"),\n title: z.string().describe(\"Notification title displayed to users\"),\n}).describe(\"Notification settings with title and body (both required)\"),\n organization: z.string().describe(\"Organization ID - required when using add_assignees parameter\").optional(),\n add_assignees: z.array(z.string()).describe(\"User IDs to assign to the conversation\").optional(),\n remove_assignees: z.array(z.string()).describe(\"User IDs to unassign from the conversation\").optional(),\n add_shared_labels: z.array(z.string()).describe(\"Shared label IDs to add to the conversation\").optional(),\n remove_shared_labels: z.array(z.string()).describe(\"Shared label IDs to remove from the conversation\").optional(),\n}).describe(\"Request model for creating a post in a Missive conversation.\\nPosts are recommended for managing conversations from integrations and automations.\");\nexport const MissiveCreatePostOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for creating a post in Missive.\\nThe API returns an empty response on success (201 Created).\");\n\nexport const missiveCreatePost = action(\"MISSIVE_CREATE_POST\", {\n slug: \"missive-create-post\",\n name: \"Create Missive Post\",\n description: \"Tool to create a post in a Missive conversation. Posts can add comments, close conversations, assign users, apply labels, and trigger other actions. Recommended approach for managing conversations from integrations and automations.\",\n input: MissiveCreatePostInput,\n output: MissiveCreatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACzE,cAAcA,IAAAA,EAAE,OAAO;EACvB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,CAAC,CAAC,CAAC,SAAS,2DAA2D;CACrE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,mJAAmJ;AAC/J,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G;AAExL,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-post.cjs","names":["z","action"],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreatePostInput = z.object({\n text: z.string().describe(\"Plain text content of the post\").optional(),\n close: z.boolean().describe(\"Close the conversation after creating the post\").optional(),\n reopen: z.boolean().describe(\"Reopen the conversation if it was previously closed\").optional(),\n snooze: z.number().int().describe(\"Unix timestamp to snooze the conversation until\").optional(),\n markdown: z.string().describe(\"Markdown-formatted content of the post\").optional(),\n add_to_inbox: z.boolean().describe(\"Move the conversation to inbox\").optional(),\n conversation: z.string().describe(\"Conversation ID to create the post in\"),\n notification: z.object({\n body: z.string().describe(\"Notification body content shown to users\"),\n title: z.string().describe(\"Notification title displayed to users\"),\n}).describe(\"Notification settings with title and body (both required)\"),\n organization: z.string().describe(\"Organization ID - required when using add_assignees parameter\").optional(),\n add_assignees: z.array(z.string()).describe(\"User IDs to assign to the conversation\").optional(),\n remove_assignees: z.array(z.string()).describe(\"User IDs to unassign from the conversation\").optional(),\n add_shared_labels: z.array(z.string()).describe(\"Shared label IDs to add to the conversation\").optional(),\n remove_shared_labels: z.array(z.string()).describe(\"Shared label IDs to remove from the conversation\").optional(),\n}).describe(\"Request model for creating a post in a Missive conversation.\\nPosts are recommended for managing conversations from integrations and automations.\");\nexport const MissiveCreatePostOutput = z.record(z.string(), z.unknown()).describe(\"Response model for creating a post in Missive.\\nThe API returns an empty response on success (201 Created).\");\n\nexport const missiveCreatePost = action(\"MISSIVE_CREATE_POST\", {\n slug: \"missive-create-post\",\n name: \"Create Missive Post\",\n description: \"Tool to create a post in a Missive conversation. Posts can add comments, close conversations, assign users, apply labels, and trigger other actions. Recommended approach for managing conversations from integrations and automations.\",\n input: MissiveCreatePostInput,\n output: MissiveCreatePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACzE,cAAcA,IAAAA,EAAE,OAAO;EACvB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,CAAC,CAAC,CAAC,SAAS,2DAA2D;CACrE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,mJAAmJ;AAC/J,MAAa,0BAA0BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G;AAE/L,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-post.d.ts
4
- declare const MissiveCreatePostInput: z.ZodTypeAny;
5
- declare const MissiveCreatePostOutput: z.ZodTypeAny;
6
- declare const missiveCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveCreatePostInput: z.ZodObject<{
5
+ text: z.ZodOptional<z.ZodString>;
6
+ close: z.ZodOptional<z.ZodBoolean>;
7
+ reopen: z.ZodOptional<z.ZodBoolean>;
8
+ snooze: z.ZodOptional<z.ZodNumber>;
9
+ markdown: z.ZodOptional<z.ZodString>;
10
+ add_to_inbox: z.ZodOptional<z.ZodBoolean>;
11
+ conversation: z.ZodString;
12
+ notification: z.ZodObject<{
13
+ body: z.ZodString;
14
+ title: z.ZodString;
15
+ }, z.core.$strip>;
16
+ organization: z.ZodOptional<z.ZodString>;
17
+ add_assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
+ remove_assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ add_shared_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
+ remove_shared_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ declare const MissiveCreatePostOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
23
+ declare const missiveCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ conversation: string;
25
+ notification: {
26
+ body: string;
27
+ title: string;
28
+ };
29
+ text?: string | undefined;
30
+ close?: boolean | undefined;
31
+ reopen?: boolean | undefined;
32
+ snooze?: number | undefined;
33
+ markdown?: string | undefined;
34
+ add_to_inbox?: boolean | undefined;
35
+ organization?: string | undefined;
36
+ add_assignees?: string[] | undefined;
37
+ remove_assignees?: string[] | undefined;
38
+ add_shared_labels?: string[] | undefined;
39
+ remove_shared_labels?: string[] | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { missiveCreatePost };
9
43
  //# sourceMappingURL=create-post.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.d.cts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAiByH;AAAA,cACnJ,uBAAA,EAAyB,CAAA,CAAE,UAAiJ;AAAA,cAE5K,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-post.d.cts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-post.d.ts
4
- declare const MissiveCreatePostInput: z.ZodTypeAny;
5
- declare const MissiveCreatePostOutput: z.ZodTypeAny;
6
- declare const missiveCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveCreatePostInput: z.ZodObject<{
5
+ text: z.ZodOptional<z.ZodString>;
6
+ close: z.ZodOptional<z.ZodBoolean>;
7
+ reopen: z.ZodOptional<z.ZodBoolean>;
8
+ snooze: z.ZodOptional<z.ZodNumber>;
9
+ markdown: z.ZodOptional<z.ZodString>;
10
+ add_to_inbox: z.ZodOptional<z.ZodBoolean>;
11
+ conversation: z.ZodString;
12
+ notification: z.ZodObject<{
13
+ body: z.ZodString;
14
+ title: z.ZodString;
15
+ }, z.core.$strip>;
16
+ organization: z.ZodOptional<z.ZodString>;
17
+ add_assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
+ remove_assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ add_shared_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
+ remove_shared_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ declare const MissiveCreatePostOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
23
+ declare const missiveCreatePost: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ conversation: string;
25
+ notification: {
26
+ body: string;
27
+ title: string;
28
+ };
29
+ text?: string | undefined;
30
+ close?: boolean | undefined;
31
+ reopen?: boolean | undefined;
32
+ snooze?: number | undefined;
33
+ markdown?: string | undefined;
34
+ add_to_inbox?: boolean | undefined;
35
+ organization?: string | undefined;
36
+ add_assignees?: string[] | undefined;
37
+ remove_assignees?: string[] | undefined;
38
+ add_shared_labels?: string[] | undefined;
39
+ remove_shared_labels?: string[] | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { missiveCreatePost };
9
43
  //# sourceMappingURL=create-post.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.d.mts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAiByH;AAAA,cACnJ,uBAAA,EAAyB,CAAA,CAAE,UAAiJ;AAAA,cAE5K,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-post.d.mts","names":[],"sources":["../../src/actions/create-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
@@ -22,7 +22,7 @@ const missiveCreatePost = action("MISSIVE_CREATE_POST", {
22
22
  add_shared_labels: z.array(z.string()).describe("Shared label IDs to add to the conversation").optional(),
23
23
  remove_shared_labels: z.array(z.string()).describe("Shared label IDs to remove from the conversation").optional()
24
24
  }).describe("Request model for creating a post in a Missive conversation.\nPosts are recommended for managing conversations from integrations and automations."),
25
- output: z.object({}).describe("Response model for creating a post in Missive.\nThe API returns an empty response on success (201 Created).")
25
+ output: z.record(z.string(), z.unknown()).describe("Response model for creating a post in Missive.\nThe API returns an empty response on success (201 Created).")
26
26
  });
27
27
  //#endregion
28
28
  export { missiveCreatePost };
@@ -1 +1 @@
1
- {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreatePostInput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Plain text content of the post\").optional(),\n close: z.boolean().describe(\"Close the conversation after creating the post\").optional(),\n reopen: z.boolean().describe(\"Reopen the conversation if it was previously closed\").optional(),\n snooze: z.number().int().describe(\"Unix timestamp to snooze the conversation until\").optional(),\n markdown: z.string().describe(\"Markdown-formatted content of the post\").optional(),\n add_to_inbox: z.boolean().describe(\"Move the conversation to inbox\").optional(),\n conversation: z.string().describe(\"Conversation ID to create the post in\"),\n notification: z.object({\n body: z.string().describe(\"Notification body content shown to users\"),\n title: z.string().describe(\"Notification title displayed to users\"),\n}).describe(\"Notification settings with title and body (both required)\"),\n organization: z.string().describe(\"Organization ID - required when using add_assignees parameter\").optional(),\n add_assignees: z.array(z.string()).describe(\"User IDs to assign to the conversation\").optional(),\n remove_assignees: z.array(z.string()).describe(\"User IDs to unassign from the conversation\").optional(),\n add_shared_labels: z.array(z.string()).describe(\"Shared label IDs to add to the conversation\").optional(),\n remove_shared_labels: z.array(z.string()).describe(\"Shared label IDs to remove from the conversation\").optional(),\n}).describe(\"Request model for creating a post in a Missive conversation.\\nPosts are recommended for managing conversations from integrations and automations.\");\nexport const MissiveCreatePostOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for creating a post in Missive.\\nThe API returns an empty response on success (201 Created).\");\n\nexport const missiveCreatePost = action(\"MISSIVE_CREATE_POST\", {\n slug: \"missive-create-post\",\n name: \"Create Missive Post\",\n description: \"Tool to create a post in a Missive conversation. Posts can add comments, close conversations, assign users, apply labels, and trigger other actions. Recommended approach for managing conversations from integrations and automations.\",\n input: MissiveCreatePostInput,\n output: MissiveCreatePostOutput,\n});\n"],"mappings":";;AAwBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACzE,cAAc,EAAE,OAAO;GACvB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACpE,CAAC,CAAC,CAAC,SAAS,2DAA2D;EACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC5G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/F,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtG,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,mJAOH;CACP,QAPmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAOjE;AACV,CAAC"}
1
+ {"version":3,"file":"create-post.mjs","names":[],"sources":["../../src/actions/create-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreatePostInput = z.object({\n text: z.string().describe(\"Plain text content of the post\").optional(),\n close: z.boolean().describe(\"Close the conversation after creating the post\").optional(),\n reopen: z.boolean().describe(\"Reopen the conversation if it was previously closed\").optional(),\n snooze: z.number().int().describe(\"Unix timestamp to snooze the conversation until\").optional(),\n markdown: z.string().describe(\"Markdown-formatted content of the post\").optional(),\n add_to_inbox: z.boolean().describe(\"Move the conversation to inbox\").optional(),\n conversation: z.string().describe(\"Conversation ID to create the post in\"),\n notification: z.object({\n body: z.string().describe(\"Notification body content shown to users\"),\n title: z.string().describe(\"Notification title displayed to users\"),\n}).describe(\"Notification settings with title and body (both required)\"),\n organization: z.string().describe(\"Organization ID - required when using add_assignees parameter\").optional(),\n add_assignees: z.array(z.string()).describe(\"User IDs to assign to the conversation\").optional(),\n remove_assignees: z.array(z.string()).describe(\"User IDs to unassign from the conversation\").optional(),\n add_shared_labels: z.array(z.string()).describe(\"Shared label IDs to add to the conversation\").optional(),\n remove_shared_labels: z.array(z.string()).describe(\"Shared label IDs to remove from the conversation\").optional(),\n}).describe(\"Request model for creating a post in a Missive conversation.\\nPosts are recommended for managing conversations from integrations and automations.\");\nexport const MissiveCreatePostOutput = z.record(z.string(), z.unknown()).describe(\"Response model for creating a post in Missive.\\nThe API returns an empty response on success (201 Created).\");\n\nexport const missiveCreatePost = action(\"MISSIVE_CREATE_POST\", {\n slug: \"missive-create-post\",\n name: \"Create Missive Post\",\n description: \"Tool to create a post in a Missive conversation. Posts can add comments, close conversations, assign users, apply labels, and trigger other actions. Recommended approach for managing conversations from integ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AC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,mJAOH;CACP,QAPqC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAOxE;AACV,CAAC"}
@@ -8,11 +8,11 @@ const MissiveCreateResponseInput = zod.z.object({ responses: zod.z.array(zod.z.o
8
8
  subject: zod.z.string().describe("Subject line for the response (max 500 characters)").optional(),
9
9
  organization: zod.z.string().describe("Organization ID to create an organization-level shared response. Either organization or user must be provided.").optional(),
10
10
  share_with_team: zod.z.string().describe("Team ID to restrict sharing of this response").optional()
11
- }).describe("Individual canned response to create.")).describe("Array of response objects to create") }).describe("Request model for creating one or more canned responses in Missive.");
11
+ }).passthrough().describe("Individual canned response to create.")).describe("Array of response objects to create") }).describe("Request model for creating one or more canned responses in Missive.");
12
12
  const MissiveCreateResponse_EmailRecipientSchema = zod.z.object({
13
13
  name: zod.z.string().describe("Display name").nullable().optional(),
14
14
  address: zod.z.string().describe("Email address").nullable().optional()
15
- }).describe("Email recipient field.");
15
+ }).passthrough().describe("Email recipient field.");
16
16
  const MissiveCreateResponse_AttachmentInfoSchema = zod.z.object({
17
17
  id: zod.z.string().describe("Attachment unique identifier").nullable().optional(),
18
18
  url: zod.z.string().describe("URL to access the attachment").nullable().optional(),
@@ -21,9 +21,9 @@ const MissiveCreateResponse_AttachmentInfoSchema = zod.z.object({
21
21
  sub_type: zod.z.string().describe("MIME sub type").nullable().optional(),
22
22
  extension: zod.z.string().describe("File extension").nullable().optional(),
23
23
  media_type: zod.z.string().describe("MIME media type").nullable().optional()
24
- }).describe("Attachment information.");
24
+ }).passthrough().describe("Attachment information.");
25
25
  const MissiveCreateResponse_CreatedResponseSchema = zod.z.object({
26
- id: zod.z.string().describe("Unique identifier for the response"),
26
+ id: zod.z.string().describe("Unique identifier for the response").nullable(),
27
27
  body: zod.z.string().describe("HTML content of the response").nullable().optional(),
28
28
  user: zod.z.string().describe("User ID if personal response").nullable().optional(),
29
29
  title: zod.z.string().describe("Response title").nullable().optional(),
@@ -38,8 +38,8 @@ const MissiveCreateResponse_CreatedResponseSchema = zod.z.object({
38
38
  shared_labels: zod.z.array(zod.z.string()).describe("Shared label IDs applied to response").nullable().optional(),
39
39
  external_source: zod.z.string().describe("Source system identifier").nullable().optional(),
40
40
  share_with_team: zod.z.string().describe("Team ID if shared with specific team").nullable().optional()
41
- }).describe("Created canned response details.");
42
- const MissiveCreateResponseOutput = zod.z.object({ responses: zod.z.array(MissiveCreateResponse_CreatedResponseSchema).describe("Array of created response objects") }).describe("Response model for creating canned responses.");
41
+ }).passthrough().describe("Created canned response details.");
42
+ const MissiveCreateResponseOutput = zod.z.object({ responses: zod.z.array(MissiveCreateResponse_CreatedResponseSchema).describe("Array of created response objects") }).passthrough().describe("Response model for creating canned responses.");
43
43
  const missiveCreateResponse = require_action.action("MISSIVE_CREATE_RESPONSE", {
44
44
  slug: "missive-create-response",
45
45
  name: "Create Canned Response",
@@ -1 +1 @@
1
- {"version":3,"file":"create-response.cjs","names":["z","action"],"sources":["../../src/actions/create-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateResponseInput: z.ZodTypeAny = z.object({\n responses: z.array(z.object({\n body: z.string().describe(\"Body content of the response (HTML supported)\").optional(),\n name: z.string().describe(\"Name of the canned response (used as title)\"),\n user: z.string().describe(\"User ID to create a personal response. Either organization or user must be provided.\").optional(),\n subject: z.string().describe(\"Subject line for the response (max 500 characters)\").optional(),\n organization: z.string().describe(\"Organization ID to create an organization-level shared response. Either organization or user must be provided.\").optional(),\n share_with_team: z.string().describe(\"Team ID to restrict sharing of this response\").optional(),\n}).describe(\"Individual canned response to create.\")).describe(\"Array of response objects to create\"),\n}).describe(\"Request model for creating one or more canned responses in Missive.\");\nconst MissiveCreateResponse_EmailRecipientSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Display name\").nullable().optional(),\n address: z.string().describe(\"Email address\").nullable().optional(),\n}).describe(\"Email recipient field.\");\nconst MissiveCreateResponse_AttachmentInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Attachment unique identifier\").nullable().optional(),\n url: z.string().describe(\"URL to access the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Filename of the attachment\").nullable().optional(),\n sub_type: z.string().describe(\"MIME sub type\").nullable().optional(),\n extension: z.string().describe(\"File extension\").nullable().optional(),\n media_type: z.string().describe(\"MIME media type\").nullable().optional(),\n}).describe(\"Attachment information.\");\nconst MissiveCreateResponse_CreatedResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the response\"),\n body: z.string().describe(\"HTML content of the response\").nullable().optional(),\n user: z.string().describe(\"User ID if personal response\").nullable().optional(),\n title: z.string().describe(\"Response title\").nullable().optional(),\n subject: z.string().describe(\"Subject line\").nullable().optional(),\n cc_fields: z.array(MissiveCreateResponse_EmailRecipientSchema).describe(\"CC recipients\").nullable().optional(),\n to_fields: z.array(MissiveCreateResponse_EmailRecipientSchema).describe(\"To recipients\").nullable().optional(),\n bcc_fields: z.array(MissiveCreateResponse_EmailRecipientSchema).describe(\"BCC recipients\").nullable().optional(),\n attachments: z.array(MissiveCreateResponse_AttachmentInfoSchema).describe(\"File attachments\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for system syncing\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification\").nullable().optional(),\n organization: z.string().describe(\"Organization ID if org-level response\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs applied to response\").nullable().optional(),\n external_source: z.string().describe(\"Source system identifier\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID if shared with specific team\").nullable().optional(),\n}).describe(\"Created canned response details.\");\nexport const MissiveCreateResponseOutput: z.ZodTypeAny = z.object({\n responses: z.array(MissiveCreateResponse_CreatedResponseSchema).describe(\"Array of created response objects\"),\n}).describe(\"Response model for creating canned responses.\");\n\nexport const missiveCreateResponse = action(\"MISSIVE_CREATE_RESPONSE\", {\n slug: \"missive-create-response\",\n name: \"Create Canned Response\",\n description: \"Tool to create one or more canned responses (templates) in Missive. Use when you need to save reusable message templates for the organization or user.\",\n input: MissiveCreateResponseInput,\n output: MissiveCreateResponseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC5B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC7J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,qCAAqC,EACpG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SA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}
1
+ {"version":3,"file":"create-response.cjs","names":["z","action"],"sources":["../../src/actions/create-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateResponseInput = z.object({\n responses: z.array(z.object({\n body: z.string().describe(\"Body content of the response (HTML supported)\").optional(),\n name: z.string().describe(\"Name of the canned response (used as title)\"),\n user: z.string().describe(\"User ID to create a personal response. Either organization or user must be provided.\").optional(),\n subject: z.string().describe(\"Subject line for the response (max 500 characters)\").optional(),\n organization: z.string().describe(\"Organization ID to create an organization-level shared response. Either organization or user must be provided.\").optional(),\n share_with_team: z.string().describe(\"Team ID to restrict sharing of this response\").optional(),\n}).passthrough().describe(\"Individual canned response to create.\")).describe(\"Array of response objects to create\"),\n}).describe(\"Request model for creating one or more canned responses in Missive.\");\nconst MissiveCreateResponse_EmailRecipientSchema = z.object({\n name: z.string().describe(\"Display name\").nullable().optional(),\n address: z.string().describe(\"Email address\").nullable().optional(),\n}).passthrough().describe(\"Email recipient field.\");\nconst MissiveCreateResponse_AttachmentInfoSchema = z.object({\n id: z.string().describe(\"Attachment unique identifier\").nullable().optional(),\n url: z.string().describe(\"URL to access the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Filename of the attachment\").nullable().optional(),\n sub_type: z.string().describe(\"MIME sub type\").nullable().optional(),\n extension: z.string().describe(\"File extension\").nullable().optional(),\n media_type: z.string().describe(\"MIME media type\").nullable().optional(),\n}).passthrough().describe(\"Attachment information.\");\nconst MissiveCreateResponse_CreatedResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the response\").nullable(),\n body: z.string().describe(\"HTML content of the response\").nullable().optional(),\n user: z.string().describe(\"User ID if personal response\").nullable().optional(),\n title: z.string().describe(\"Response title\").nullable().optional(),\n subject: z.string().describe(\"Subject line\").nullable().optional(),\n cc_fields: z.array(MissiveCreateResponse_EmailRecipientSchema).describe(\"CC recipients\").nullable().optional(),\n to_fields: z.array(MissiveCreateResponse_EmailRecipientSchema).describe(\"To recipients\").nullable().optional(),\n bcc_fields: z.array(MissiveCreateResponse_EmailRecipientSchema).describe(\"BCC recipients\").nullable().optional(),\n attachments: z.array(MissiveCreateResponse_AttachmentInfoSchema).describe(\"File attachments\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for system syncing\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification\").nullable().optional(),\n organization: z.string().describe(\"Organization ID if org-level response\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs applied to response\").nullable().optional(),\n external_source: z.string().describe(\"Source system identifier\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID if shared with specific team\").nullable().optional(),\n}).passthrough().describe(\"Created canned response details.\");\nexport const MissiveCreateResponseOutput = z.object({\n responses: z.array(MissiveCreateResponse_CreatedResponseSchema).describe(\"Array of created response objects\"),\n}).passthrough().describe(\"Response model for creating canned responses.\");\n\nexport const missiveCreateResponse = action(\"MISSIVE_CREATE_RESPONSE\", {\n slug: \"missive-create-response\",\n name: \"Create Canned Response\",\n description: \"Tool to create one or more canned responses (templates) in Missive. Use when you need to save reusable message templates for the organization or user.\",\n input: MissiveCreateResponseInput,\n output: MissiveCreateResponseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC5B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,g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,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,mCAAmC,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,63 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-response.d.ts
4
- declare const MissiveCreateResponseInput: z.ZodTypeAny;
5
- declare const MissiveCreateResponseOutput: z.ZodTypeAny;
6
- declare const missiveCreateResponse: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MissiveCreateResponseInput: z.ZodObject<{
5
+ responses: z.ZodArray<z.ZodObject<{
6
+ body: z.ZodOptional<z.ZodString>;
7
+ name: z.ZodString;
8
+ user: z.ZodOptional<z.ZodString>;
9
+ subject: z.ZodOptional<z.ZodString>;
10
+ organization: z.ZodOptional<z.ZodString>;
11
+ share_with_team: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$strip>;
14
+ declare const MissiveCreateResponseOutput: z.ZodObject<{
15
+ responses: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ cc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
22
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>>>;
25
+ to_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
26
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ }, z.core.$loose>>>>;
29
+ bcc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ }, z.core.$loose>>>>;
33
+ attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
34
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ sub_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ media_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$loose>>>>;
42
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ modified_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
46
+ external_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ share_with_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ }, z.core.$loose>>;
49
+ }, z.core.$loose>;
50
+ declare const missiveCreateResponse: import("@keystrokehq/action").WorkflowActionDefinition<{
51
+ responses: {
52
+ [x: string]: unknown;
53
+ name: string;
54
+ body?: string | undefined;
55
+ user?: string | undefined;
56
+ subject?: string | undefined;
57
+ organization?: string | undefined;
58
+ share_with_team?: string | undefined;
59
+ }[];
60
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
61
  //#endregion
8
62
  export { missiveCreateResponse };
9
63
  //# sourceMappingURL=create-response.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-response.d.cts","names":[],"sources":["../../src/actions/create-response.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UASuC;AAAA,cA+BrE,2BAAA,EAA6B,CAAA,CAAE,UAEgB;AAAA,cAE/C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-response.d.cts","names":[],"sources":["../../src/actions/create-response.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}