@keystrokehq/missive 0.1.4 → 0.1.6

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 (333) 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 +1 -0
  4. package/dist/actions/create-analytics-report.cjs.map +1 -1
  5. package/dist/actions/create-analytics-report.d.cts +3 -13
  6. package/dist/actions/create-analytics-report.d.cts.map +1 -1
  7. package/dist/actions/create-analytics-report.d.mts +3 -13
  8. package/dist/actions/create-analytics-report.d.mts.map +1 -1
  9. package/dist/actions/create-analytics-report.mjs +1 -0
  10. package/dist/actions/create-analytics-report.mjs.map +1 -1
  11. package/dist/actions/create-contacts.cjs +1 -0
  12. package/dist/actions/create-contacts.cjs.map +1 -1
  13. package/dist/actions/create-contacts.d.cts +4 -45
  14. package/dist/actions/create-contacts.d.cts.map +1 -1
  15. package/dist/actions/create-contacts.d.mts +4 -45
  16. package/dist/actions/create-contacts.d.mts.map +1 -1
  17. package/dist/actions/create-contacts.mjs +1 -0
  18. package/dist/actions/create-contacts.mjs.map +1 -1
  19. package/dist/actions/create-draft.cjs +1 -0
  20. package/dist/actions/create-draft.cjs.map +1 -1
  21. package/dist/actions/create-draft.d.cts +3 -68
  22. package/dist/actions/create-draft.d.cts.map +1 -1
  23. package/dist/actions/create-draft.d.mts +3 -68
  24. package/dist/actions/create-draft.d.mts.map +1 -1
  25. package/dist/actions/create-draft.mjs +1 -0
  26. package/dist/actions/create-draft.mjs.map +1 -1
  27. package/dist/actions/create-post.cjs +1 -0
  28. package/dist/actions/create-post.cjs.map +1 -1
  29. package/dist/actions/create-post.d.cts +3 -18
  30. package/dist/actions/create-post.d.cts.map +1 -1
  31. package/dist/actions/create-post.d.mts +3 -18
  32. package/dist/actions/create-post.d.mts.map +1 -1
  33. package/dist/actions/create-post.mjs +1 -0
  34. package/dist/actions/create-post.mjs.map +1 -1
  35. package/dist/actions/create-response.cjs +1 -0
  36. package/dist/actions/create-response.cjs.map +1 -1
  37. package/dist/actions/create-response.d.cts +3 -11
  38. package/dist/actions/create-response.d.cts.map +1 -1
  39. package/dist/actions/create-response.d.mts +3 -11
  40. package/dist/actions/create-response.d.mts.map +1 -1
  41. package/dist/actions/create-response.mjs +1 -0
  42. package/dist/actions/create-response.mjs.map +1 -1
  43. package/dist/actions/create-shared-label.cjs +1 -0
  44. package/dist/actions/create-shared-label.cjs.map +1 -1
  45. package/dist/actions/create-shared-label.d.cts +3 -10
  46. package/dist/actions/create-shared-label.d.cts.map +1 -1
  47. package/dist/actions/create-shared-label.d.mts +3 -10
  48. package/dist/actions/create-shared-label.d.mts.map +1 -1
  49. package/dist/actions/create-shared-label.mjs +1 -0
  50. package/dist/actions/create-shared-label.mjs.map +1 -1
  51. package/dist/actions/create-task.cjs +1 -0
  52. package/dist/actions/create-task.cjs.map +1 -1
  53. package/dist/actions/create-task.d.cts +3 -14
  54. package/dist/actions/create-task.d.cts.map +1 -1
  55. package/dist/actions/create-task.d.mts +3 -14
  56. package/dist/actions/create-task.d.mts.map +1 -1
  57. package/dist/actions/create-task.mjs +1 -0
  58. package/dist/actions/create-task.mjs.map +1 -1
  59. package/dist/actions/create-team.cjs +1 -0
  60. package/dist/actions/create-team.cjs.map +1 -1
  61. package/dist/actions/create-team.d.cts +3 -10
  62. package/dist/actions/create-team.d.cts.map +1 -1
  63. package/dist/actions/create-team.d.mts +3 -10
  64. package/dist/actions/create-team.d.mts.map +1 -1
  65. package/dist/actions/create-team.mjs +1 -0
  66. package/dist/actions/create-team.mjs.map +1 -1
  67. package/dist/actions/create-webhook.cjs +1 -0
  68. package/dist/actions/create-webhook.cjs.map +1 -1
  69. package/dist/actions/create-webhook.d.cts +3 -13
  70. package/dist/actions/create-webhook.d.cts.map +1 -1
  71. package/dist/actions/create-webhook.d.mts +3 -13
  72. package/dist/actions/create-webhook.d.mts.map +1 -1
  73. package/dist/actions/create-webhook.mjs +1 -0
  74. package/dist/actions/create-webhook.mjs.map +1 -1
  75. package/dist/actions/delete-draft.cjs +1 -0
  76. package/dist/actions/delete-draft.cjs.map +1 -1
  77. package/dist/actions/delete-draft.d.cts +3 -3
  78. package/dist/actions/delete-draft.d.cts.map +1 -1
  79. package/dist/actions/delete-draft.d.mts +3 -3
  80. package/dist/actions/delete-draft.d.mts.map +1 -1
  81. package/dist/actions/delete-draft.mjs +1 -0
  82. package/dist/actions/delete-draft.mjs.map +1 -1
  83. package/dist/actions/delete-post.cjs +1 -0
  84. package/dist/actions/delete-post.cjs.map +1 -1
  85. package/dist/actions/delete-post.d.cts +3 -3
  86. package/dist/actions/delete-post.d.cts.map +1 -1
  87. package/dist/actions/delete-post.d.mts +3 -3
  88. package/dist/actions/delete-post.d.mts.map +1 -1
  89. package/dist/actions/delete-post.mjs +1 -0
  90. package/dist/actions/delete-post.mjs.map +1 -1
  91. package/dist/actions/delete-responses.cjs +1 -0
  92. package/dist/actions/delete-responses.cjs.map +1 -1
  93. package/dist/actions/delete-responses.d.cts +3 -3
  94. package/dist/actions/delete-responses.d.cts.map +1 -1
  95. package/dist/actions/delete-responses.d.mts +3 -3
  96. package/dist/actions/delete-responses.d.mts.map +1 -1
  97. package/dist/actions/delete-responses.mjs +1 -0
  98. package/dist/actions/delete-responses.mjs.map +1 -1
  99. package/dist/actions/delete-webhook.cjs +1 -0
  100. package/dist/actions/delete-webhook.cjs.map +1 -1
  101. package/dist/actions/delete-webhook.d.cts +3 -3
  102. package/dist/actions/delete-webhook.d.cts.map +1 -1
  103. package/dist/actions/delete-webhook.d.mts +3 -3
  104. package/dist/actions/delete-webhook.d.mts.map +1 -1
  105. package/dist/actions/delete-webhook.mjs +1 -0
  106. package/dist/actions/delete-webhook.mjs.map +1 -1
  107. package/dist/actions/get-analytics-report.cjs +1 -0
  108. package/dist/actions/get-analytics-report.cjs.map +1 -1
  109. package/dist/actions/get-analytics-report.d.cts +3 -3
  110. package/dist/actions/get-analytics-report.d.cts.map +1 -1
  111. package/dist/actions/get-analytics-report.d.mts +3 -3
  112. package/dist/actions/get-analytics-report.d.mts.map +1 -1
  113. package/dist/actions/get-analytics-report.mjs +1 -0
  114. package/dist/actions/get-analytics-report.mjs.map +1 -1
  115. package/dist/actions/get-contact.cjs +1 -0
  116. package/dist/actions/get-contact.cjs.map +1 -1
  117. package/dist/actions/get-contact.d.cts +3 -3
  118. package/dist/actions/get-contact.d.cts.map +1 -1
  119. package/dist/actions/get-contact.d.mts +3 -3
  120. package/dist/actions/get-contact.d.mts.map +1 -1
  121. package/dist/actions/get-contact.mjs +1 -0
  122. package/dist/actions/get-contact.mjs.map +1 -1
  123. package/dist/actions/get-conversation-messages.cjs +1 -0
  124. package/dist/actions/get-conversation-messages.cjs.map +1 -1
  125. package/dist/actions/get-conversation-messages.d.cts +3 -5
  126. package/dist/actions/get-conversation-messages.d.cts.map +1 -1
  127. package/dist/actions/get-conversation-messages.d.mts +3 -5
  128. package/dist/actions/get-conversation-messages.d.mts.map +1 -1
  129. package/dist/actions/get-conversation-messages.mjs +1 -0
  130. package/dist/actions/get-conversation-messages.mjs.map +1 -1
  131. package/dist/actions/get-conversation.cjs +1 -0
  132. package/dist/actions/get-conversation.cjs.map +1 -1
  133. package/dist/actions/get-conversation.d.cts +3 -3
  134. package/dist/actions/get-conversation.d.cts.map +1 -1
  135. package/dist/actions/get-conversation.d.mts +3 -3
  136. package/dist/actions/get-conversation.d.mts.map +1 -1
  137. package/dist/actions/get-conversation.mjs +1 -0
  138. package/dist/actions/get-conversation.mjs.map +1 -1
  139. package/dist/actions/get-message.cjs +1 -0
  140. package/dist/actions/get-message.cjs.map +1 -1
  141. package/dist/actions/get-message.d.cts +3 -3
  142. package/dist/actions/get-message.d.cts.map +1 -1
  143. package/dist/actions/get-message.d.mts +3 -3
  144. package/dist/actions/get-message.d.mts.map +1 -1
  145. package/dist/actions/get-message.mjs +1 -0
  146. package/dist/actions/get-message.mjs.map +1 -1
  147. package/dist/actions/get-response.cjs +1 -0
  148. package/dist/actions/get-response.cjs.map +1 -1
  149. package/dist/actions/get-response.d.cts +3 -3
  150. package/dist/actions/get-response.d.cts.map +1 -1
  151. package/dist/actions/get-response.d.mts +3 -3
  152. package/dist/actions/get-response.d.mts.map +1 -1
  153. package/dist/actions/get-response.mjs +1 -0
  154. package/dist/actions/get-response.mjs.map +1 -1
  155. package/dist/actions/get-task.cjs +1 -0
  156. package/dist/actions/get-task.cjs.map +1 -1
  157. package/dist/actions/get-task.d.cts +3 -3
  158. package/dist/actions/get-task.d.cts.map +1 -1
  159. package/dist/actions/get-task.d.mts +3 -3
  160. package/dist/actions/get-task.d.mts.map +1 -1
  161. package/dist/actions/get-task.mjs +1 -0
  162. package/dist/actions/get-task.mjs.map +1 -1
  163. package/dist/actions/list-contact-books.cjs +1 -0
  164. package/dist/actions/list-contact-books.cjs.map +1 -1
  165. package/dist/actions/list-contact-books.d.cts +3 -4
  166. package/dist/actions/list-contact-books.d.cts.map +1 -1
  167. package/dist/actions/list-contact-books.d.mts +3 -4
  168. package/dist/actions/list-contact-books.d.mts.map +1 -1
  169. package/dist/actions/list-contact-books.mjs +1 -0
  170. package/dist/actions/list-contact-books.mjs.map +1 -1
  171. package/dist/actions/list-contact-groups.cjs +1 -0
  172. package/dist/actions/list-contact-groups.cjs.map +1 -1
  173. package/dist/actions/list-contact-groups.d.cts +3 -6
  174. package/dist/actions/list-contact-groups.d.cts.map +1 -1
  175. package/dist/actions/list-contact-groups.d.mts +3 -6
  176. package/dist/actions/list-contact-groups.d.mts.map +1 -1
  177. package/dist/actions/list-contact-groups.mjs +1 -0
  178. package/dist/actions/list-contact-groups.mjs.map +1 -1
  179. package/dist/actions/list-contacts.cjs +1 -0
  180. package/dist/actions/list-contacts.cjs.map +1 -1
  181. package/dist/actions/list-contacts.d.cts +4 -10
  182. package/dist/actions/list-contacts.d.cts.map +1 -1
  183. package/dist/actions/list-contacts.d.mts +4 -10
  184. package/dist/actions/list-contacts.d.mts.map +1 -1
  185. package/dist/actions/list-contacts.mjs +1 -0
  186. package/dist/actions/list-contacts.mjs.map +1 -1
  187. package/dist/actions/list-conversation-comments.cjs +1 -0
  188. package/dist/actions/list-conversation-comments.cjs.map +1 -1
  189. package/dist/actions/list-conversation-comments.d.cts +3 -5
  190. package/dist/actions/list-conversation-comments.d.cts.map +1 -1
  191. package/dist/actions/list-conversation-comments.d.mts +3 -5
  192. package/dist/actions/list-conversation-comments.d.mts.map +1 -1
  193. package/dist/actions/list-conversation-comments.mjs +1 -0
  194. package/dist/actions/list-conversation-comments.mjs.map +1 -1
  195. package/dist/actions/list-conversation-drafts.cjs +1 -0
  196. package/dist/actions/list-conversation-drafts.cjs.map +1 -1
  197. package/dist/actions/list-conversation-drafts.d.cts +3 -5
  198. package/dist/actions/list-conversation-drafts.d.cts.map +1 -1
  199. package/dist/actions/list-conversation-drafts.d.mts +3 -5
  200. package/dist/actions/list-conversation-drafts.d.mts.map +1 -1
  201. package/dist/actions/list-conversation-drafts.mjs +1 -0
  202. package/dist/actions/list-conversation-drafts.mjs.map +1 -1
  203. package/dist/actions/list-conversation-posts.cjs +1 -0
  204. package/dist/actions/list-conversation-posts.cjs.map +1 -1
  205. package/dist/actions/list-conversation-posts.d.cts +3 -5
  206. package/dist/actions/list-conversation-posts.d.cts.map +1 -1
  207. package/dist/actions/list-conversation-posts.d.mts +3 -5
  208. package/dist/actions/list-conversation-posts.d.mts.map +1 -1
  209. package/dist/actions/list-conversation-posts.mjs +1 -0
  210. package/dist/actions/list-conversation-posts.mjs.map +1 -1
  211. package/dist/actions/list-conversations.cjs +1 -0
  212. package/dist/actions/list-conversations.cjs.map +1 -1
  213. package/dist/actions/list-conversations.d.cts +3 -20
  214. package/dist/actions/list-conversations.d.cts.map +1 -1
  215. package/dist/actions/list-conversations.d.mts +3 -20
  216. package/dist/actions/list-conversations.d.mts.map +1 -1
  217. package/dist/actions/list-conversations.mjs +1 -0
  218. package/dist/actions/list-conversations.mjs.map +1 -1
  219. package/dist/actions/list-messages.cjs +1 -0
  220. package/dist/actions/list-messages.cjs.map +1 -1
  221. package/dist/actions/list-messages.d.cts +3 -3
  222. package/dist/actions/list-messages.d.cts.map +1 -1
  223. package/dist/actions/list-messages.d.mts +3 -3
  224. package/dist/actions/list-messages.d.mts.map +1 -1
  225. package/dist/actions/list-messages.mjs +1 -0
  226. package/dist/actions/list-messages.mjs.map +1 -1
  227. package/dist/actions/list-organizations.cjs +1 -0
  228. package/dist/actions/list-organizations.cjs.map +1 -1
  229. package/dist/actions/list-organizations.d.cts +3 -4
  230. package/dist/actions/list-organizations.d.cts.map +1 -1
  231. package/dist/actions/list-organizations.d.mts +3 -4
  232. package/dist/actions/list-organizations.d.mts.map +1 -1
  233. package/dist/actions/list-organizations.mjs +1 -0
  234. package/dist/actions/list-organizations.mjs.map +1 -1
  235. package/dist/actions/list-responses.cjs +1 -0
  236. package/dist/actions/list-responses.cjs.map +1 -1
  237. package/dist/actions/list-responses.d.cts +3 -4
  238. package/dist/actions/list-responses.d.cts.map +1 -1
  239. package/dist/actions/list-responses.d.mts +3 -4
  240. package/dist/actions/list-responses.d.mts.map +1 -1
  241. package/dist/actions/list-responses.mjs +1 -0
  242. package/dist/actions/list-responses.mjs.map +1 -1
  243. package/dist/actions/list-shared-labels.cjs +1 -0
  244. package/dist/actions/list-shared-labels.cjs.map +1 -1
  245. package/dist/actions/list-shared-labels.d.cts +3 -5
  246. package/dist/actions/list-shared-labels.d.cts.map +1 -1
  247. package/dist/actions/list-shared-labels.d.mts +3 -5
  248. package/dist/actions/list-shared-labels.d.mts.map +1 -1
  249. package/dist/actions/list-shared-labels.mjs +1 -0
  250. package/dist/actions/list-shared-labels.mjs.map +1 -1
  251. package/dist/actions/list-tasks.cjs +1 -0
  252. package/dist/actions/list-tasks.cjs.map +1 -1
  253. package/dist/actions/list-tasks.d.cts +3 -7
  254. package/dist/actions/list-tasks.d.cts.map +1 -1
  255. package/dist/actions/list-tasks.d.mts +3 -7
  256. package/dist/actions/list-tasks.d.mts.map +1 -1
  257. package/dist/actions/list-tasks.mjs +1 -0
  258. package/dist/actions/list-tasks.mjs.map +1 -1
  259. package/dist/actions/list-teams.cjs +1 -0
  260. package/dist/actions/list-teams.cjs.map +1 -1
  261. package/dist/actions/list-teams.d.cts +3 -4
  262. package/dist/actions/list-teams.d.cts.map +1 -1
  263. package/dist/actions/list-teams.d.mts +3 -4
  264. package/dist/actions/list-teams.d.mts.map +1 -1
  265. package/dist/actions/list-teams.mjs +1 -0
  266. package/dist/actions/list-teams.mjs.map +1 -1
  267. package/dist/actions/list-users.cjs +1 -0
  268. package/dist/actions/list-users.cjs.map +1 -1
  269. package/dist/actions/list-users.d.cts +3 -4
  270. package/dist/actions/list-users.d.cts.map +1 -1
  271. package/dist/actions/list-users.d.mts +3 -4
  272. package/dist/actions/list-users.d.mts.map +1 -1
  273. package/dist/actions/list-users.mjs +1 -0
  274. package/dist/actions/list-users.mjs.map +1 -1
  275. package/dist/actions/merge-conversations.cjs +1 -0
  276. package/dist/actions/merge-conversations.cjs.map +1 -1
  277. package/dist/actions/merge-conversations.d.cts +3 -4
  278. package/dist/actions/merge-conversations.d.cts.map +1 -1
  279. package/dist/actions/merge-conversations.d.mts +3 -4
  280. package/dist/actions/merge-conversations.d.mts.map +1 -1
  281. package/dist/actions/merge-conversations.mjs +1 -0
  282. package/dist/actions/merge-conversations.mjs.map +1 -1
  283. package/dist/actions/update-contact.cjs +1 -0
  284. package/dist/actions/update-contact.cjs.map +1 -1
  285. package/dist/actions/update-contact.d.cts +4 -45
  286. package/dist/actions/update-contact.d.cts.map +1 -1
  287. package/dist/actions/update-contact.d.mts +4 -45
  288. package/dist/actions/update-contact.d.mts.map +1 -1
  289. package/dist/actions/update-contact.mjs +1 -0
  290. package/dist/actions/update-contact.mjs.map +1 -1
  291. package/dist/actions/update-response.cjs +1 -0
  292. package/dist/actions/update-response.cjs.map +1 -1
  293. package/dist/actions/update-response.d.cts +3 -32
  294. package/dist/actions/update-response.d.cts.map +1 -1
  295. package/dist/actions/update-response.d.mts +3 -32
  296. package/dist/actions/update-response.d.mts.map +1 -1
  297. package/dist/actions/update-response.mjs +1 -0
  298. package/dist/actions/update-response.mjs.map +1 -1
  299. package/dist/actions/update-shared-labels.cjs +1 -0
  300. package/dist/actions/update-shared-labels.cjs.map +1 -1
  301. package/dist/actions/update-shared-labels.d.cts +3 -9
  302. package/dist/actions/update-shared-labels.d.cts.map +1 -1
  303. package/dist/actions/update-shared-labels.d.mts +3 -9
  304. package/dist/actions/update-shared-labels.d.mts.map +1 -1
  305. package/dist/actions/update-shared-labels.mjs +1 -0
  306. package/dist/actions/update-shared-labels.mjs.map +1 -1
  307. package/dist/actions/update-task.cjs +1 -0
  308. package/dist/actions/update-task.cjs.map +1 -1
  309. package/dist/actions/update-task.d.cts +3 -9
  310. package/dist/actions/update-task.d.cts.map +1 -1
  311. package/dist/actions/update-task.d.mts +3 -9
  312. package/dist/actions/update-task.d.mts.map +1 -1
  313. package/dist/actions/update-task.mjs +1 -0
  314. package/dist/actions/update-task.mjs.map +1 -1
  315. package/dist/actions/update-team.cjs +1 -0
  316. package/dist/actions/update-team.cjs.map +1 -1
  317. package/dist/actions/update-team.d.cts +3 -10
  318. package/dist/actions/update-team.d.cts.map +1 -1
  319. package/dist/actions/update-team.d.mts +3 -10
  320. package/dist/actions/update-team.d.mts.map +1 -1
  321. package/dist/actions/update-team.mjs +1 -0
  322. package/dist/actions/update-team.mjs.map +1 -1
  323. package/dist/app.cjs +5 -2
  324. package/dist/app.cjs.map +1 -1
  325. package/dist/app.d.cts +7 -1
  326. package/dist/app.d.cts.map +1 -1
  327. package/dist/app.d.mts +7 -1
  328. package/dist/app.d.mts.map +1 -1
  329. package/dist/app.mjs +3 -2
  330. package/dist/app.mjs.map +1 -1
  331. package/dist/index.d.cts +1 -1
  332. package/dist/index.d.mts +1 -1
  333. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-task.d.ts
@@ -33,20 +35,7 @@ declare const MissiveCreateTaskOutput: z.ZodObject<{
33
35
  organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>;
36
- declare const missiveCreateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- title: string;
38
- organization: string;
39
- team?: string | undefined;
40
- state?: "todo" | "in_progress" | "closed" | undefined;
41
- due_at?: number | undefined;
42
- subject?: string | undefined;
43
- subtask?: boolean | undefined;
44
- add_users?: string[] | undefined;
45
- assignees?: string[] | undefined;
46
- references?: string[] | undefined;
47
- description?: string | undefined;
48
- conversation?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const missiveCreateTask: AppAction<typeof MissiveCreateTaskInput, typeof MissiveCreateTaskOutput, typeof missive.credential>;
50
39
  //#endregion
51
40
  export { missiveCreateTask };
52
41
  //# sourceMappingURL=create-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-task.d.cts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA0BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"create-task.d.cts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA0BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-task.d.ts
@@ -33,20 +35,7 @@ declare const MissiveCreateTaskOutput: z.ZodObject<{
33
35
  organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>;
36
- declare const missiveCreateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- title: string;
38
- organization: string;
39
- team?: string | undefined;
40
- state?: "todo" | "in_progress" | "closed" | undefined;
41
- due_at?: number | undefined;
42
- subject?: string | undefined;
43
- subtask?: boolean | undefined;
44
- add_users?: string[] | undefined;
45
- assignees?: string[] | undefined;
46
- references?: string[] | undefined;
47
- description?: string | undefined;
48
- conversation?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const missiveCreateTask: AppAction<typeof MissiveCreateTaskInput, typeof MissiveCreateTaskOutput, typeof missive.credential>;
50
39
  //#endregion
51
40
  export { missiveCreateTask };
52
41
  //# sourceMappingURL=create-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-task.d.mts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA0BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"create-task.d.mts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA0BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-task.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-task.mjs","names":[],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateTaskInput = z.object({\n team: z.string().describe(\"Team ID (required for standalone tasks unless assignees specified)\").optional(),\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state enum.\").optional(),\n title: z.string().describe(\"Task title (max 1000 chars)\"),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").optional(),\n subject: z.string().describe(\"Subject for new conversation when using references\").optional(),\n subtask: z.boolean().describe(\"Whether this is a subtask within a conversation\").optional(),\n add_users: z.array(z.string()).describe(\"User IDs to add to parent conversation for subtasks\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs (required for standalone tasks unless team specified)\").optional(),\n references: z.array(z.string()).describe(\"Message references (like email Message-IDs) to find/create parent conversation\").optional(),\n description: z.string().describe(\"Task description (max 10000 chars)\").optional(),\n conversation: z.string().describe(\"Conversation ID for subtasks\").optional(),\n organization: z.string().describe(\"Organization ID where the task will be created\"),\n}).describe(\"Request model for creating a task in Missive.\");\nconst MissiveCreateTask_TaskResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created task\").nullable(),\n team: z.string().describe(\"Team ID\").nullable().optional(),\n state: z.string().describe(\"Task state\").nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the task was created\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).passthrough().describe(\"Created task object.\");\nexport const MissiveCreateTaskOutput = z.object({\n tasks: MissiveCreateTask_TaskResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a task in Missive.\");\n\nexport const missiveCreateTask = action(\"MISSIVE_CREATE_TASK\", {\n slug: \"missive-create-task\",\n name: \"Create Missive Task\",\n description: \"Tool to create a task in Missive. Use when you need to create standalone tasks, conversation-linked subtasks, or team tasks. You can find or create parent conversations using message references (like email Message-IDs).\",\n input: MissiveCreateTaskInput,\n output: MissiveCreateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,KAAK;EAAC;EAAQ;EAAe;CAAQ,CAAC,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5H,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAKhD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-task.mjs","names":[],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveCreateTaskInput = z.object({\n team: z.string().describe(\"Team ID (required for standalone tasks unless assignees specified)\").optional(),\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state enum.\").optional(),\n title: z.string().describe(\"Task title (max 1000 chars)\"),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").optional(),\n subject: z.string().describe(\"Subject for new conversation when using references\").optional(),\n subtask: z.boolean().describe(\"Whether this is a subtask within a conversation\").optional(),\n add_users: z.array(z.string()).describe(\"User IDs to add to parent conversation for subtasks\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs (required for standalone tasks unless team specified)\").optional(),\n references: z.array(z.string()).describe(\"Message references (like email Message-IDs) to find/create parent conversation\").optional(),\n description: z.string().describe(\"Task description (max 10000 chars)\").optional(),\n conversation: z.string().describe(\"Conversation ID for subtasks\").optional(),\n organization: z.string().describe(\"Organization ID where the task will be created\"),\n}).describe(\"Request model for creating a task in Missive.\");\nconst MissiveCreateTask_TaskResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created task\").nullable(),\n team: z.string().describe(\"Team ID\").nullable().optional(),\n state: z.string().describe(\"Task state\").nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the task was created\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).passthrough().describe(\"Created task object.\");\nexport const MissiveCreateTaskOutput = z.object({\n tasks: MissiveCreateTask_TaskResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a task in Missive.\");\n\nexport const missiveCreateTask: AppAction<\n typeof MissiveCreateTaskInput,\n typeof MissiveCreateTaskOutput,\n typeof missive.credential\n> = action(\"MISSIVE_CREATE_TASK\", {\n slug: \"missive-create-task\",\n name: \"Create Missive Task\",\n description: \"Tool to create a task in Missive. Use when you need to create standalone tasks, conversation-linked subtasks, or team tasks. You can find or create parent conversations using message references (like email Message-IDs).\",\n input: MissiveCreateTaskInput,\n output: MissiveCreateTaskOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,KAAK;EAAC;EAAQ;EAAe;CAAQ,CAAC,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5H,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAKhD,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-team.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-team.cjs","names":["z","action"],"sources":["../../src/actions/create-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateTeamInput = z.object({\n teams: z.array(z.object({\n name: z.string().describe(\"Name of the team to create\"),\n aliases: z.array(z.string()).describe(\"Array of email aliases for the team\").optional(),\n observers: z.array(z.string()).describe(\"Array of user IDs for team observers\").optional(),\n organization: z.string().describe(\"Organization ID where the team will be created\"),\n active_members: z.array(z.string()).describe(\"Array of user IDs for active team members (at least one required)\"),\n}).passthrough().describe(\"Team object model for creating a new team.\")).describe(\"Array of team objects to create (typically one team per request)\"),\n}).describe(\"Request model for creating a new team in Missive.\");\nconst MissiveCreateTeam_CreatedTeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n color: z.string().describe(\"Team color (hex code)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created team.\");\nexport const MissiveCreateTeamOutput = z.object({\n teams: z.array(MissiveCreateTeam_CreatedTeamSchema).describe(\"List of created team objects\"),\n}).passthrough().describe(\"Response model for creating teams.\");\n\nexport const missiveCreateTeam = action(\"MISSIVE_CREATE_TEAM\", {\n slug: \"missive-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in an organization. Use when you need to set up a new team with active members and optional observers. The API token must belong to an organization admin.\",\n input: MissiveCreateTeamInput,\n output: MissiveCreateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-team.cjs","names":["z","action"],"sources":["../../src/actions/create-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveCreateTeamInput = z.object({\n teams: z.array(z.object({\n name: z.string().describe(\"Name of the team to create\"),\n aliases: z.array(z.string()).describe(\"Array of email aliases for the team\").optional(),\n observers: z.array(z.string()).describe(\"Array of user IDs for team observers\").optional(),\n organization: z.string().describe(\"Organization ID where the team will be created\"),\n active_members: z.array(z.string()).describe(\"Array of user IDs for active team members (at least one required)\"),\n}).passthrough().describe(\"Team object model for creating a new team.\")).describe(\"Array of team objects to create (typically one team per request)\"),\n}).describe(\"Request model for creating a new team in Missive.\");\nconst MissiveCreateTeam_CreatedTeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n color: z.string().describe(\"Team color (hex code)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created team.\");\nexport const MissiveCreateTeamOutput = z.object({\n teams: z.array(MissiveCreateTeam_CreatedTeamSchema).describe(\"List of created team objects\"),\n}).passthrough().describe(\"Response model for creating teams.\");\n\nexport const missiveCreateTeam: AppAction<\n typeof MissiveCreateTeamInput,\n typeof MissiveCreateTeamOutput,\n typeof missive.credential\n> = action(\"MISSIVE_CREATE_TEAM\", {\n slug: \"missive-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in an organization. Use when you need to set up a new team with active members and optional observers. The API token must belong to an organization admin.\",\n input: MissiveCreateTeamInput,\n output: MissiveCreateTeamOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-team.d.ts
@@ -21,16 +23,7 @@ declare const MissiveCreateTeamOutput: z.ZodObject<{
21
23
  organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const missiveCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- teams: {
26
- [x: string]: unknown;
27
- name: string;
28
- organization: string;
29
- active_members: string[];
30
- aliases?: string[] | undefined;
31
- observers?: string[] | undefined;
32
- }[];
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const missiveCreateTeam: AppAction<typeof MissiveCreateTeamInput, typeof MissiveCreateTeamOutput, typeof missive.credential>;
34
27
  //#endregion
35
28
  export { missiveCreateTeam };
36
29
  //# sourceMappingURL=create-team.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-team.d.cts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"create-team.d.cts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-team.d.ts
@@ -21,16 +23,7 @@ declare const MissiveCreateTeamOutput: z.ZodObject<{
21
23
  organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const missiveCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- teams: {
26
- [x: string]: unknown;
27
- name: string;
28
- organization: string;
29
- active_members: string[];
30
- aliases?: string[] | undefined;
31
- observers?: string[] | undefined;
32
- }[];
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const missiveCreateTeam: AppAction<typeof MissiveCreateTeamInput, typeof MissiveCreateTeamOutput, typeof missive.credential>;
34
27
  //#endregion
35
28
  export { missiveCreateTeam };
36
29
  //# sourceMappingURL=create-team.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-team.d.mts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"create-team.d.mts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-team.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-team.mjs","names":[],"sources":["../../src/actions/create-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateTeamInput = z.object({\n teams: z.array(z.object({\n name: z.string().describe(\"Name of the team to create\"),\n aliases: z.array(z.string()).describe(\"Array of email aliases for the team\").optional(),\n observers: z.array(z.string()).describe(\"Array of user IDs for team observers\").optional(),\n organization: z.string().describe(\"Organization ID where the team will be created\"),\n active_members: z.array(z.string()).describe(\"Array of user IDs for active team members (at least one required)\"),\n}).passthrough().describe(\"Team object model for creating a new team.\")).describe(\"Array of team objects to create (typically one team per request)\"),\n}).describe(\"Request model for creating a new team in Missive.\");\nconst MissiveCreateTeam_CreatedTeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n color: z.string().describe(\"Team color (hex code)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created team.\");\nexport const MissiveCreateTeamOutput = z.object({\n teams: z.array(MissiveCreateTeam_CreatedTeamSchema).describe(\"List of created team objects\"),\n}).passthrough().describe(\"Response model for creating teams.\");\n\nexport const missiveCreateTeam = action(\"MISSIVE_CREATE_TEAM\", {\n slug: \"missive-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in an organization. Use when you need to set up a new team with active members and optional observers. The API token must belong to an organization admin.\",\n input: MissiveCreateTeamInput,\n output: MissiveCreateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,EAAE,OAAO;CACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-team.mjs","names":[],"sources":["../../src/actions/create-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveCreateTeamInput = z.object({\n teams: z.array(z.object({\n name: z.string().describe(\"Name of the team to create\"),\n aliases: z.array(z.string()).describe(\"Array of email aliases for the team\").optional(),\n observers: z.array(z.string()).describe(\"Array of user IDs for team observers\").optional(),\n organization: z.string().describe(\"Organization ID where the team will be created\"),\n active_members: z.array(z.string()).describe(\"Array of user IDs for active team members (at least one required)\"),\n}).passthrough().describe(\"Team object model for creating a new team.\")).describe(\"Array of team objects to create (typically one team per request)\"),\n}).describe(\"Request model for creating a new team in Missive.\");\nconst MissiveCreateTeam_CreatedTeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n color: z.string().describe(\"Team color (hex code)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created team.\");\nexport const MissiveCreateTeamOutput = z.object({\n teams: z.array(MissiveCreateTeam_CreatedTeamSchema).describe(\"List of created team objects\"),\n}).passthrough().describe(\"Response model for creating teams.\");\n\nexport const missiveCreateTeam: AppAction<\n typeof MissiveCreateTeamInput,\n typeof MissiveCreateTeamOutput,\n typeof missive.credential\n> = action(\"MISSIVE_CREATE_TEAM\", {\n slug: \"missive-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in an organization. Use when you need to set up a new team with active members and optional observers. The API token must belong to an organization admin.\",\n input: MissiveCreateTeamInput,\n output: MissiveCreateTeamOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,EAAE,OAAO;CACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL to receive event notifications.\"),\n type: z.enum([\"incoming_email\", \"incoming_sms_message\", \"incoming_facebook_message\", \"incoming_whatsapp_message\", \"incoming_twilio_chat_message\", \"new_comment\"]).describe(\"Event type to subscribe to.\"),\n author: z.string().describe(\"(new_comment only) Only trigger for comments by this user ID.\").optional(),\n from_eq: z.string().describe(\"(incoming_email only) Only trigger for messages from this exact address.\").optional(),\n is_task: z.boolean().describe(\"(new_comment only) Only trigger for comments on tasks.\").optional(),\n mention: z.string().describe(\"(new_comment only) Only trigger when this user ID is mentioned.\").optional(),\n organization: z.string().describe(\"Organization ID to scope the subscription. Omit for personal webhooks.\").optional(),\n content_contains: z.string().describe(\"Only trigger when content contains this substring.\").optional(),\n subject_contains: z.string().describe(\"(incoming_email only) Only trigger when email subject contains this text.\").optional(),\n content_ends_with: z.string().describe(\"Only trigger when content ends with this substring.\").optional(),\n content_starts_with: z.string().describe(\"Only trigger when content starts with this substring.\").optional(),\n}).describe(\"Request body for creating a new Missive webhook subscription.\");\nconst MissiveCreateWebhook_WebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier of the webhook subscription.\").nullable(),\n}).passthrough().describe(\"A Missive webhook subscription object.\");\nexport const MissiveCreateWebhookOutput = z.object({\n hooks: MissiveCreateWebhook_WebhookSchema.nullable(),\n}).passthrough().describe(\"Response model for a newly created Missive webhook subscription.\");\n\nexport const missiveCreateWebhook = action(\"MISSIVE_CREATE_WEBHOOK\", {\n slug: \"missive-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook subscription. Use after choosing event type and target URL.\",\n input: MissiveCreateWebhookInput,\n output: MissiveCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAwB;EAA6B;EAA6B;EAAgC;CAAa,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACxM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC5H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAO,mCAAmC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL to receive event notifications.\"),\n type: z.enum([\"incoming_email\", \"incoming_sms_message\", \"incoming_facebook_message\", \"incoming_whatsapp_message\", \"incoming_twilio_chat_message\", \"new_comment\"]).describe(\"Event type to subscribe to.\"),\n author: z.string().describe(\"(new_comment only) Only trigger for comments by this user ID.\").optional(),\n from_eq: z.string().describe(\"(incoming_email only) Only trigger for messages from this exact address.\").optional(),\n is_task: z.boolean().describe(\"(new_comment only) Only trigger for comments on tasks.\").optional(),\n mention: z.string().describe(\"(new_comment only) Only trigger when this user ID is mentioned.\").optional(),\n organization: z.string().describe(\"Organization ID to scope the subscription. Omit for personal webhooks.\").optional(),\n content_contains: z.string().describe(\"Only trigger when content contains this substring.\").optional(),\n subject_contains: z.string().describe(\"(incoming_email only) Only trigger when email subject contains this text.\").optional(),\n content_ends_with: z.string().describe(\"Only trigger when content ends with this substring.\").optional(),\n content_starts_with: z.string().describe(\"Only trigger when content starts with this substring.\").optional(),\n}).describe(\"Request body for creating a new Missive webhook subscription.\");\nconst MissiveCreateWebhook_WebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier of the webhook subscription.\").nullable(),\n}).passthrough().describe(\"A Missive webhook subscription object.\");\nexport const MissiveCreateWebhookOutput = z.object({\n hooks: MissiveCreateWebhook_WebhookSchema.nullable(),\n}).passthrough().describe(\"Response model for a newly created Missive webhook subscription.\");\n\nexport const missiveCreateWebhook: AppAction<\n typeof MissiveCreateWebhookInput,\n typeof MissiveCreateWebhookOutput,\n typeof missive.credential\n> = action(\"MISSIVE_CREATE_WEBHOOK\", {\n slug: \"missive-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook subscription. Use after choosing event type and target URL.\",\n input: MissiveCreateWebhookInput,\n output: MissiveCreateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAwB;EAA6B;EAA6B;EAAgC;CAAa,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACxM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC5H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAO,mCAAmC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -26,19 +28,7 @@ declare const MissiveCreateWebhookOutput: z.ZodObject<{
26
28
  id: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>>;
28
30
  }, z.core.$loose>;
29
- declare const missiveCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- url: string;
31
- type: "incoming_email" | "incoming_sms_message" | "incoming_facebook_message" | "incoming_whatsapp_message" | "incoming_twilio_chat_message" | "new_comment";
32
- author?: string | undefined;
33
- from_eq?: string | undefined;
34
- is_task?: boolean | undefined;
35
- mention?: string | undefined;
36
- organization?: string | undefined;
37
- content_contains?: string | undefined;
38
- subject_contains?: string | undefined;
39
- content_ends_with?: string | undefined;
40
- content_starts_with?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const missiveCreateWebhook: AppAction<typeof MissiveCreateWebhookInput, typeof MissiveCreateWebhookOutput, typeof missive.credential>;
42
32
  //#endregion
43
33
  export { missiveCreateWebhook };
44
34
  //# sourceMappingURL=create-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -26,19 +28,7 @@ declare const MissiveCreateWebhookOutput: z.ZodObject<{
26
28
  id: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>>;
28
30
  }, z.core.$loose>;
29
- declare const missiveCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- url: string;
31
- type: "incoming_email" | "incoming_sms_message" | "incoming_facebook_message" | "incoming_whatsapp_message" | "incoming_twilio_chat_message" | "new_comment";
32
- author?: string | undefined;
33
- from_eq?: string | undefined;
34
- is_task?: boolean | undefined;
35
- mention?: string | undefined;
36
- organization?: string | undefined;
37
- content_contains?: string | undefined;
38
- subject_contains?: string | undefined;
39
- content_ends_with?: string | undefined;
40
- content_starts_with?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const missiveCreateWebhook: AppAction<typeof MissiveCreateWebhookInput, typeof MissiveCreateWebhookOutput, typeof missive.credential>;
42
32
  //#endregion
43
33
  export { missiveCreateWebhook };
44
34
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL to receive event notifications.\"),\n type: z.enum([\"incoming_email\", \"incoming_sms_message\", \"incoming_facebook_message\", \"incoming_whatsapp_message\", \"incoming_twilio_chat_message\", \"new_comment\"]).describe(\"Event type to subscribe to.\"),\n author: z.string().describe(\"(new_comment only) Only trigger for comments by this user ID.\").optional(),\n from_eq: z.string().describe(\"(incoming_email only) Only trigger for messages from this exact address.\").optional(),\n is_task: z.boolean().describe(\"(new_comment only) Only trigger for comments on tasks.\").optional(),\n mention: z.string().describe(\"(new_comment only) Only trigger when this user ID is mentioned.\").optional(),\n organization: z.string().describe(\"Organization ID to scope the subscription. Omit for personal webhooks.\").optional(),\n content_contains: z.string().describe(\"Only trigger when content contains this substring.\").optional(),\n subject_contains: z.string().describe(\"(incoming_email only) Only trigger when email subject contains this text.\").optional(),\n content_ends_with: z.string().describe(\"Only trigger when content ends with this substring.\").optional(),\n content_starts_with: z.string().describe(\"Only trigger when content starts with this substring.\").optional(),\n}).describe(\"Request body for creating a new Missive webhook subscription.\");\nconst MissiveCreateWebhook_WebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier of the webhook subscription.\").nullable(),\n}).passthrough().describe(\"A Missive webhook subscription object.\");\nexport const MissiveCreateWebhookOutput = z.object({\n hooks: MissiveCreateWebhook_WebhookSchema.nullable(),\n}).passthrough().describe(\"Response model for a newly created Missive webhook subscription.\");\n\nexport const missiveCreateWebhook = action(\"MISSIVE_CREATE_WEBHOOK\", {\n slug: \"missive-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook subscription. Use after choosing event type and target URL.\",\n input: MissiveCreateWebhookInput,\n output: MissiveCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,MAAM,EAAE,KAAK;EAAC;EAAkB;EAAwB;EAA6B;EAA6B;EAAgC;CAAa,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACxM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC5H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,OAAO,mCAAmC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL to receive event notifications.\"),\n type: z.enum([\"incoming_email\", \"incoming_sms_message\", \"incoming_facebook_message\", \"incoming_whatsapp_message\", \"incoming_twilio_chat_message\", \"new_comment\"]).describe(\"Event type to subscribe to.\"),\n author: z.string().describe(\"(new_comment only) Only trigger for comments by this user ID.\").optional(),\n from_eq: z.string().describe(\"(incoming_email only) Only trigger for messages from this exact address.\").optional(),\n is_task: z.boolean().describe(\"(new_comment only) Only trigger for comments on tasks.\").optional(),\n mention: z.string().describe(\"(new_comment only) Only trigger when this user ID is mentioned.\").optional(),\n organization: z.string().describe(\"Organization ID to scope the subscription. Omit for personal webhooks.\").optional(),\n content_contains: z.string().describe(\"Only trigger when content contains this substring.\").optional(),\n subject_contains: z.string().describe(\"(incoming_email only) Only trigger when email subject contains this text.\").optional(),\n content_ends_with: z.string().describe(\"Only trigger when content ends with this substring.\").optional(),\n content_starts_with: z.string().describe(\"Only trigger when content starts with this substring.\").optional(),\n}).describe(\"Request body for creating a new Missive webhook subscription.\");\nconst MissiveCreateWebhook_WebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier of the webhook subscription.\").nullable(),\n}).passthrough().describe(\"A Missive webhook subscription object.\");\nexport const MissiveCreateWebhookOutput = z.object({\n hooks: MissiveCreateWebhook_WebhookSchema.nullable(),\n}).passthrough().describe(\"Response model for a newly created Missive webhook subscription.\");\n\nexport const missiveCreateWebhook: AppAction<\n typeof MissiveCreateWebhookInput,\n typeof MissiveCreateWebhookOutput,\n typeof missive.credential\n> = action(\"MISSIVE_CREATE_WEBHOOK\", {\n slug: \"missive-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook subscription. Use after choosing event type and target URL.\",\n input: MissiveCreateWebhookInput,\n output: MissiveCreateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,MAAM,EAAE,KAAK;EAAC;EAAkB;EAAwB;EAA6B;EAA6B;EAAgC;CAAa,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACxM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC5H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,OAAO,mCAAmC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-draft.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-draft.cjs","names":["z","action"],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteDraftInput = z.object({\n id: z.string().describe(\"Unique identifier of the draft to delete.\"),\n}).describe(\"Request model for deleting a draft from a conversation.\");\nexport const MissiveDeleteDraftOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful draft deletion.\");\n\nexport const missiveDeleteDraft = action(\"MISSIVE_DELETE_DRAFT\", {\n slug: \"missive-delete-draft\",\n name: \"Delete Draft\",\n description: \"Tool to delete a draft from a conversation by draft ID. Use after confirming the draft ID; this operation cannot be undone.\",\n input: MissiveDeleteDraftInput,\n output: MissiveDeleteDraftOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACrE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAElI,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-draft.cjs","names":["z","action"],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveDeleteDraftInput = z.object({\n id: z.string().describe(\"Unique identifier of the draft to delete.\"),\n}).describe(\"Request model for deleting a draft from a conversation.\");\nexport const MissiveDeleteDraftOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful draft deletion.\");\n\nexport const missiveDeleteDraft: AppAction<\n typeof MissiveDeleteDraftInput,\n typeof MissiveDeleteDraftOutput,\n typeof missive.credential\n> = action(\"MISSIVE_DELETE_DRAFT\", {\n slug: \"missive-delete-draft\",\n name: \"Delete Draft\",\n description: \"Tool to delete a draft from a conversation by draft ID. Use after confirming the draft ID; this operation cannot be undone.\",\n input: MissiveDeleteDraftInput,\n output: MissiveDeleteDraftOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACrE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAElI,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-draft.d.ts
@@ -5,9 +7,7 @@ declare const MissiveDeleteDraftInput: z.ZodObject<{
5
7
  id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const MissiveDeleteDraftOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const missiveDeleteDraft: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const missiveDeleteDraft: AppAction<typeof MissiveDeleteDraftInput, typeof MissiveDeleteDraftOutput, typeof missive.credential>;
11
11
  //#endregion
12
12
  export { missiveDeleteDraft };
13
13
  //# sourceMappingURL=delete-draft.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-draft.d.cts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-draft.d.cts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-draft.d.ts
@@ -5,9 +7,7 @@ declare const MissiveDeleteDraftInput: z.ZodObject<{
5
7
  id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const MissiveDeleteDraftOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const missiveDeleteDraft: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const missiveDeleteDraft: AppAction<typeof MissiveDeleteDraftInput, typeof MissiveDeleteDraftOutput, typeof missive.credential>;
11
11
  //#endregion
12
12
  export { missiveDeleteDraft };
13
13
  //# sourceMappingURL=delete-draft.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-draft.d.mts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-draft.d.mts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const missiveDeleteDraft = action("MISSIVE_DELETE_DRAFT", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-draft.mjs","names":[],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteDraftInput = z.object({\n id: z.string().describe(\"Unique identifier of the draft to delete.\"),\n}).describe(\"Request model for deleting a draft from a conversation.\");\nexport const MissiveDeleteDraftOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful draft deletion.\");\n\nexport const missiveDeleteDraft = action(\"MISSIVE_DELETE_DRAFT\", {\n slug: \"missive-delete-draft\",\n name: \"Delete Draft\",\n description: \"Tool to delete a draft from a conversation by draft ID. Use after confirming the draft ID; this operation cannot be undone.\",\n input: MissiveDeleteDraftInput,\n output: MissiveDeleteDraftOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACrE,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAOzE;AACV,CAAC"}
1
+ {"version":3,"file":"delete-draft.mjs","names":[],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveDeleteDraftInput = z.object({\n id: z.string().describe(\"Unique identifier of the draft to delete.\"),\n}).describe(\"Request model for deleting a draft from a conversation.\");\nexport const MissiveDeleteDraftOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful draft deletion.\");\n\nexport const missiveDeleteDraft: AppAction<\n typeof MissiveDeleteDraftInput,\n typeof MissiveDeleteDraftOutput,\n typeof missive.credential\n> = action(\"MISSIVE_DELETE_DRAFT\", {\n slug: \"missive-delete-draft\",\n name: \"Delete Draft\",\n description: \"Tool to delete a draft from a conversation by draft ID. Use after confirming the draft ID; this operation cannot be undone.\",\n input: MissiveDeleteDraftInput,\n output: MissiveDeleteDraftOutput,\n});\n"],"mappings":";;;AAWA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACrE,CAAC,CAAC,CAAC,SAAS,yDAWH;CACP,QAXsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAWzE;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-post.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-post.cjs","names":["z","action"],"sources":["../../src/actions/delete-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeletePostInput = z.object({\n id: z.string().describe(\"Unique identifier of the post to delete\"),\n}).describe(\"Request model for deleting a post from a conversation.\");\nexport const MissiveDeletePostOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful post deletion.\");\n\nexport const missiveDeletePost = action(\"MISSIVE_DELETE_POST\", {\n slug: \"missive-delete-post\",\n name: \"Delete Post\",\n description: \"Tool to delete a post from a conversation by post ID. Use when you need to remove a specific post; this operation cannot be undone.\",\n input: MissiveDeletePostInput,\n output: MissiveDeletePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACnE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAEhI,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-post.cjs","names":["z","action"],"sources":["../../src/actions/delete-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveDeletePostInput = z.object({\n id: z.string().describe(\"Unique identifier of the post to delete\"),\n}).describe(\"Request model for deleting a post from a conversation.\");\nexport const MissiveDeletePostOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful post deletion.\");\n\nexport const missiveDeletePost: AppAction<\n typeof MissiveDeletePostInput,\n typeof MissiveDeletePostOutput,\n typeof missive.credential\n> = action(\"MISSIVE_DELETE_POST\", {\n slug: \"missive-delete-post\",\n name: \"Delete Post\",\n description: \"Tool to delete a post from a conversation by post ID. Use when you need to remove a specific post; this operation cannot be undone.\",\n input: MissiveDeletePostInput,\n output: MissiveDeletePostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACnE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAEhI,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-post.d.ts
@@ -5,9 +7,7 @@ declare const MissiveDeletePostInput: z.ZodObject<{
5
7
  id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const MissiveDeletePostOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const missiveDeletePost: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const missiveDeletePost: AppAction<typeof MissiveDeletePostInput, typeof MissiveDeletePostOutput, typeof missive.credential>;
11
11
  //#endregion
12
12
  export { missiveDeletePost };
13
13
  //# sourceMappingURL=delete-post.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-post.d.cts","names":[],"sources":["../../src/actions/delete-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"delete-post.d.cts","names":[],"sources":["../../src/actions/delete-post.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-post.d.ts
@@ -5,9 +7,7 @@ declare const MissiveDeletePostInput: z.ZodObject<{
5
7
  id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const MissiveDeletePostOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const missiveDeletePost: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const missiveDeletePost: AppAction<typeof MissiveDeletePostInput, typeof MissiveDeletePostOutput, typeof missive.credential>;
11
11
  //#endregion
12
12
  export { missiveDeletePost };
13
13
  //# sourceMappingURL=delete-post.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-post.d.mts","names":[],"sources":["../../src/actions/delete-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"delete-post.d.mts","names":[],"sources":["../../src/actions/delete-post.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const missiveDeletePost = action("MISSIVE_DELETE_POST", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-post.mjs","names":[],"sources":["../../src/actions/delete-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeletePostInput = z.object({\n id: z.string().describe(\"Unique identifier of the post to delete\"),\n}).describe(\"Request model for deleting a post from a conversation.\");\nexport const MissiveDeletePostOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful post deletion.\");\n\nexport const missiveDeletePost = action(\"MISSIVE_DELETE_POST\", {\n slug: \"missive-delete-post\",\n name: \"Delete Post\",\n description: \"Tool to delete a post from a conversation by post ID. Use when you need to remove a specific post; this operation cannot be undone.\",\n input: MissiveDeletePostInput,\n output: MissiveDeletePostOutput,\n});\n"],"mappings":";;AASA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAToC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACnE,CAAC,CAAC,CAAC,SAAS,wDAOH;CACP,QAPqC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAOxE;AACV,CAAC"}
1
+ {"version":3,"file":"delete-post.mjs","names":[],"sources":["../../src/actions/delete-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveDeletePostInput = z.object({\n id: z.string().describe(\"Unique identifier of the post to delete\"),\n}).describe(\"Request model for deleting a post from a conversation.\");\nexport const MissiveDeletePostOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful post deletion.\");\n\nexport const missiveDeletePost: AppAction<\n typeof MissiveDeletePostInput,\n typeof MissiveDeletePostOutput,\n typeof missive.credential\n> = action(\"MISSIVE_DELETE_POST\", {\n slug: \"missive-delete-post\",\n name: \"Delete Post\",\n description: \"Tool to delete a post from a conversation by post ID. Use when you need to remove a specific post; this operation cannot be undone.\",\n input: MissiveDeletePostInput,\n output: MissiveDeletePostOutput,\n});\n"],"mappings":";;;AAWA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACnE,CAAC,CAAC,CAAC,SAAS,wDAWH;CACP,QAXqC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAWxE;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-responses.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-responses.cjs","names":["z","action"],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteResponsesInput = 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.record(z.string(), z.unknown()).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":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAEzI,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-responses.cjs","names":["z","action"],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveDeleteResponsesInput = 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.record(z.string(), z.unknown()).describe(\"Empty response for successful response deletion.\");\n\nexport const missiveDeleteResponses: AppAction<\n typeof MissiveDeleteResponsesInput,\n typeof MissiveDeleteResponsesOutput,\n typeof missive.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAEzI,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-responses.d.ts
@@ -5,9 +7,7 @@ declare const MissiveDeleteResponsesInput: z.ZodObject<{
5
7
  id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const MissiveDeleteResponsesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const missiveDeleteResponses: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const missiveDeleteResponses: AppAction<typeof MissiveDeleteResponsesInput, typeof MissiveDeleteResponsesOutput, typeof missive.credential>;
11
11
  //#endregion
12
12
  export { missiveDeleteResponses };
13
13
  //# sourceMappingURL=delete-responses.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-responses.d.cts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-responses.d.cts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { missive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-responses.d.ts
@@ -5,9 +7,7 @@ declare const MissiveDeleteResponsesInput: z.ZodObject<{
5
7
  id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const MissiveDeleteResponsesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const missiveDeleteResponses: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const missiveDeleteResponses: AppAction<typeof MissiveDeleteResponsesInput, typeof MissiveDeleteResponsesOutput, typeof missive.credential>;
11
11
  //#endregion
12
12
  export { missiveDeleteResponses };
13
13
  //# sourceMappingURL=delete-responses.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-responses.d.mts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-responses.d.mts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const missiveDeleteResponses = action("MISSIVE_DELETE_RESPONSES", {
@@ -1 +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.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.record(z.string(), z.unknown()).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,OATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAO7E;AACV,CAAC"}
1
+ {"version":3,"file":"delete-responses.mjs","names":[],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveDeleteResponsesInput = 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.record(z.string(), z.unknown()).describe(\"Empty response for successful response deletion.\");\n\nexport const missiveDeleteResponses: AppAction<\n typeof MissiveDeleteResponsesInput,\n typeof MissiveDeleteResponsesOutput,\n typeof missive.credential\n> = 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":";;;AAWA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,yDAWH;CACP,QAX0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAW7E;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-webhook.ts