@keystrokehq/missive 0.1.5 → 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 -25
  6. package/dist/actions/create-analytics-report.d.cts.map +1 -1
  7. package/dist/actions/create-analytics-report.d.mts +3 -25
  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 +3 -56
  14. package/dist/actions/create-contacts.d.cts.map +1 -1
  15. package/dist/actions/create-contacts.d.mts +3 -56
  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 -80
  22. package/dist/actions/create-draft.d.cts.map +1 -1
  23. package/dist/actions/create-draft.d.mts +3 -80
  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 -30
  30. package/dist/actions/create-post.d.cts.map +1 -1
  31. package/dist/actions/create-post.d.mts +3 -30
  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 -23
  38. package/dist/actions/create-response.d.cts.map +1 -1
  39. package/dist/actions/create-response.d.mts +3 -23
  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 -22
  46. package/dist/actions/create-shared-label.d.cts.map +1 -1
  47. package/dist/actions/create-shared-label.d.mts +3 -22
  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 -26
  54. package/dist/actions/create-task.d.cts.map +1 -1
  55. package/dist/actions/create-task.d.mts +3 -26
  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 -22
  62. package/dist/actions/create-team.d.cts.map +1 -1
  63. package/dist/actions/create-team.d.mts +3 -22
  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 -25
  70. package/dist/actions/create-webhook.d.cts.map +1 -1
  71. package/dist/actions/create-webhook.d.mts +3 -25
  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 -15
  78. package/dist/actions/delete-draft.d.cts.map +1 -1
  79. package/dist/actions/delete-draft.d.mts +3 -15
  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 -15
  86. package/dist/actions/delete-post.d.cts.map +1 -1
  87. package/dist/actions/delete-post.d.mts +3 -15
  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 -15
  94. package/dist/actions/delete-responses.d.cts.map +1 -1
  95. package/dist/actions/delete-responses.d.mts +3 -15
  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 -15
  102. package/dist/actions/delete-webhook.d.cts.map +1 -1
  103. package/dist/actions/delete-webhook.d.mts +3 -15
  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 -15
  110. package/dist/actions/get-analytics-report.d.cts.map +1 -1
  111. package/dist/actions/get-analytics-report.d.mts +3 -15
  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 -15
  118. package/dist/actions/get-contact.d.cts.map +1 -1
  119. package/dist/actions/get-contact.d.mts +3 -15
  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 -17
  126. package/dist/actions/get-conversation-messages.d.cts.map +1 -1
  127. package/dist/actions/get-conversation-messages.d.mts +3 -17
  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 -15
  134. package/dist/actions/get-conversation.d.cts.map +1 -1
  135. package/dist/actions/get-conversation.d.mts +3 -15
  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 -15
  142. package/dist/actions/get-message.d.cts.map +1 -1
  143. package/dist/actions/get-message.d.mts +3 -15
  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 -15
  150. package/dist/actions/get-response.d.cts.map +1 -1
  151. package/dist/actions/get-response.d.mts +3 -15
  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 -15
  158. package/dist/actions/get-task.d.cts.map +1 -1
  159. package/dist/actions/get-task.d.mts +3 -15
  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 -16
  166. package/dist/actions/list-contact-books.d.cts.map +1 -1
  167. package/dist/actions/list-contact-books.d.mts +3 -16
  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 -18
  174. package/dist/actions/list-contact-groups.d.cts.map +1 -1
  175. package/dist/actions/list-contact-groups.d.mts +3 -18
  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 +3 -21
  182. package/dist/actions/list-contacts.d.cts.map +1 -1
  183. package/dist/actions/list-contacts.d.mts +3 -21
  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 -17
  190. package/dist/actions/list-conversation-comments.d.cts.map +1 -1
  191. package/dist/actions/list-conversation-comments.d.mts +3 -17
  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 -17
  198. package/dist/actions/list-conversation-drafts.d.cts.map +1 -1
  199. package/dist/actions/list-conversation-drafts.d.mts +3 -17
  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 -17
  206. package/dist/actions/list-conversation-posts.d.cts.map +1 -1
  207. package/dist/actions/list-conversation-posts.d.mts +3 -17
  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 -32
  214. package/dist/actions/list-conversations.d.cts.map +1 -1
  215. package/dist/actions/list-conversations.d.mts +3 -32
  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 -15
  222. package/dist/actions/list-messages.d.cts.map +1 -1
  223. package/dist/actions/list-messages.d.mts +3 -15
  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 -16
  230. package/dist/actions/list-organizations.d.cts.map +1 -1
  231. package/dist/actions/list-organizations.d.mts +3 -16
  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 -16
  238. package/dist/actions/list-responses.d.cts.map +1 -1
  239. package/dist/actions/list-responses.d.mts +3 -16
  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 -17
  246. package/dist/actions/list-shared-labels.d.cts.map +1 -1
  247. package/dist/actions/list-shared-labels.d.mts +3 -17
  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 -19
  254. package/dist/actions/list-tasks.d.cts.map +1 -1
  255. package/dist/actions/list-tasks.d.mts +3 -19
  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 -16
  262. package/dist/actions/list-teams.d.cts.map +1 -1
  263. package/dist/actions/list-teams.d.mts +3 -16
  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 -16
  270. package/dist/actions/list-users.d.cts.map +1 -1
  271. package/dist/actions/list-users.d.mts +3 -16
  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 -16
  278. package/dist/actions/merge-conversations.d.cts.map +1 -1
  279. package/dist/actions/merge-conversations.d.mts +3 -16
  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 +3 -56
  286. package/dist/actions/update-contact.d.cts.map +1 -1
  287. package/dist/actions/update-contact.d.mts +3 -56
  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 -44
  294. package/dist/actions/update-response.d.cts.map +1 -1
  295. package/dist/actions/update-response.d.mts +3 -44
  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 -21
  302. package/dist/actions/update-shared-labels.d.cts.map +1 -1
  303. package/dist/actions/update-shared-labels.d.mts +3 -21
  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 -21
  310. package/dist/actions/update-task.d.cts.map +1 -1
  311. package/dist/actions/update-task.d.mts +3 -21
  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 -22
  318. package/dist/actions/update-team.d.cts.map +1 -1
  319. package/dist/actions/update-team.d.mts +3 -22
  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 +2 -2
  324. package/dist/app.cjs.map +1 -1
  325. package/dist/app.d.cts +4 -6
  326. package/dist/app.d.cts.map +1 -1
  327. package/dist/app.d.mts +4 -6
  328. package/dist/app.d.mts.map +1 -1
  329. package/dist/app.mjs +0 -1
  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.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,21 +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<"missive", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- bearer_token: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- bearer_token: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const missiveDeleteDraft: AppAction<typeof MissiveDeleteDraftInput, typeof MissiveDeleteDraftOutput, typeof missive.credential>;
23
11
  //#endregion
24
12
  export { missiveDeleteDraft };
25
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,21 +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<"missive", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- bearer_token: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- bearer_token: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const missiveDeletePost: AppAction<typeof MissiveDeletePostInput, typeof MissiveDeletePostOutput, typeof missive.credential>;
23
11
  //#endregion
24
12
  export { missiveDeletePost };
25
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,21 +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<"missive", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- bearer_token: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- bearer_token: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const missiveDeletePost: AppAction<typeof MissiveDeletePostInput, typeof MissiveDeletePostOutput, typeof missive.credential>;
23
11
  //#endregion
24
12
  export { missiveDeletePost };
25
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,21 +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<"missive", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- bearer_token: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- bearer_token: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const missiveDeleteResponses: AppAction<typeof MissiveDeleteResponsesInput, typeof MissiveDeleteResponsesOutput, typeof missive.credential>;
23
11
  //#endregion
24
12
  export { missiveDeleteResponses };
25
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,21 +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<"missive", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- bearer_token: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- bearer_token: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const missiveDeleteResponses: AppAction<typeof MissiveDeleteResponsesInput, typeof MissiveDeleteResponsesOutput, typeof missive.credential>;
23
11
  //#endregion
24
12
  export { missiveDeleteResponses };
25
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
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAEtI,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook: AppAction<\n typeof MissiveDeleteWebhookInput,\n typeof MissiveDeleteWebhookOutput,\n typeof missive.credential\n> = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAEtI,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/delete-webhook.d.ts
@@ -5,21 +7,7 @@ declare const MissiveDeleteWebhookInput: z.ZodObject<{
5
7
  webhook_id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const MissiveDeleteWebhookOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const missiveDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- webhook_id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- bearer_token: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- bearer_token: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const missiveDeleteWebhook: AppAction<typeof MissiveDeleteWebhookInput, typeof MissiveDeleteWebhookOutput, typeof missive.credential>;
23
11
  //#endregion
24
12
  export { missiveDeleteWebhook };
25
13
  //# sourceMappingURL=delete-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,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/delete-webhook.d.ts
@@ -5,21 +7,7 @@ declare const MissiveDeleteWebhookInput: z.ZodObject<{
5
7
  webhook_id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const MissiveDeleteWebhookOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const missiveDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- webhook_id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- bearer_token: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- bearer_token: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const missiveDeleteWebhook: AppAction<typeof MissiveDeleteWebhookInput, typeof MissiveDeleteWebhookOutput, typeof missive.credential>;
23
11
  //#endregion
24
12
  export { missiveDeleteWebhook };
25
13
  //# sourceMappingURL=delete-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,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
  const missiveDeleteWebhook = action("MISSIVE_DELETE_WEBHOOK", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAOH;CACP,QAPwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAO3E;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-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 MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook: AppAction<\n typeof MissiveDeleteWebhookInput,\n typeof MissiveDeleteWebhookOutput,\n typeof missive.credential\n> = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;;AAWA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAWH;CACP,QAXwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAW3E;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/get-analytics-report.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-analytics-report.cjs","names":["z","action"],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC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"],"sources":["../../src/actions/get-analytics-report.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 MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport: AppAction<\n typeof MissiveGetAnalyticsReportInput,\n typeof MissiveGetAnalyticsReportOutput,\n typeof missive.credential\n> = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveG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C,YAAY,CAAC,CAAC,SAAS,2EAA2E;AACrG,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAEhJ,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/get-analytics-report.d.ts
@@ -17,21 +19,7 @@ declare const MissiveGetAnalyticsReportOutput: z.ZodObject<{
17
19
  shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const missiveGetAnalyticsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- bearer_token: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- bearer_token: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const missiveGetAnalyticsReport: AppAction<typeof MissiveGetAnalyticsReportInput, typeof MissiveGetAnalyticsReportOutput, typeof missive.credential>;
35
23
  //#endregion
36
24
  export { missiveGetAnalyticsReport };
37
25
  //# sourceMappingURL=get-analytics-report.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-analytics-report.d.cts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-analytics-report.d.cts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/get-analytics-report.d.ts
@@ -17,21 +19,7 @@ declare const MissiveGetAnalyticsReportOutput: z.ZodObject<{
17
19
  shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const missiveGetAnalyticsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- bearer_token: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- bearer_token: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const missiveGetAnalyticsReport: AppAction<typeof MissiveGetAnalyticsReportInput, typeof MissiveGetAnalyticsReportOutput, typeof missive.credential>;
35
23
  //#endregion
36
24
  export { missiveGetAnalyticsReport };
37
25
  //# sourceMappingURL=get-analytics-report.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-analytics-report.d.mts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-analytics-report.d.mts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/get-analytics-report.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-analytics-report.mjs","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAKrG,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-analytics-report.mjs","names":[],"sources":["../../src/actions/get-analytics-report.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 MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport: AppAction<\n typeof MissiveGetAnalyticsReportInput,\n typeof MissiveGetAnalyticsReportOutput,\n typeof missive.credential\n> = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAKrG,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAWhB;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/get-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve.\"),\n}).describe(\"Request model for fetching a specific contact.\");\nconst MissiveGetContact_ContactInfoSchema = z.object({\n city: z.string().describe(\"City for physical_address type\").nullable().optional(),\n kind: z.string().describe(\"Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom\").nullable(),\n name: z.string().describe(\"Name for facebook type\").nullable().optional(),\n label: z.string().describe(\"Label for the info entry: home, work, personal, other, etc.\").nullable().optional(),\n value: z.string().describe(\"Value for email, phone_number, twitter, url, or custom types\").nullable().optional(),\n po_box: z.string().describe(\"PO box number for physical_address type\").nullable().optional(),\n region: z.string().describe(\"State/province for physical_address type\").nullable().optional(),\n street: z.string().describe(\"Street address for physical_address type\").nullable().optional(),\n country: z.string().describe(\"Country for physical_address type\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for physical_address type\").nullable().optional(),\n custom_label: z.string().describe(\"Custom label when label is 'other'\").nullable().optional(),\n extended_address: z.string().describe(\"Extended address for physical_address type\").nullable().optional(),\n}).passthrough().describe(\"Contact information entry (email, phone, social media, address, etc.).\");\nconst MissiveGetContact_MembershipGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable().optional(),\n kind: z.string().describe(\"Type of group: 'organization' or 'group'\").nullable(),\n name: z.string().describe(\"Name of the group or organization\").nullable(),\n}).passthrough().describe(\"Group or organization reference in a membership.\");\nconst MissiveGetContact_ContactMembershipSchema = z.object({\n group: MissiveGetContact_MembershipGroupSchema.nullable(),\n title: z.string().describe(\"Job title (organization only)\").nullable().optional(),\n location: z.string().describe(\"Work location (organization only)\").nullable().optional(),\n department: z.string().describe(\"Department name (organization only)\").nullable().optional(),\n description: z.string().describe(\"Role description (organization only)\").nullable().optional(),\n}).passthrough().describe(\"Membership linking a contact to an organization or group.\");\nconst MissiveGetContact_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n infos: z.array(MissiveGetContact_ContactInfoSchema).describe(\"Contact information entries (emails, phones, social media, etc.)\").nullable().optional(),\n notes: z.string().describe(\"Additional notes about contact\").nullable().optional(),\n gender: z.string().describe(\"Contact's gender\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.')\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.')\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether contact has been deleted\").nullable().optional(),\n file_as: z.string().describe(\"How contact is filed\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is starred\").nullable().optional(),\n nickname: z.string().describe(\"Contact's nickname\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n memberships: z.array(MissiveGetContact_ContactMembershipSchema).describe(\"Organization and group associations\").nullable().optional(),\n middle_name: z.string().describe(\"Contact's middle name\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact\").nullable().optional(),\n phonetic_last_name: z.string().describe(\"Phonetic spelling of last name\").nullable().optional(),\n phonetic_first_name: z.string().describe(\"Phonetic spelling of first name\").nullable().optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic spelling of middle name\").nullable().optional(),\n}).passthrough().describe(\"Complete contact object with all details.\");\nexport const MissiveGetContactOutput = z.object({\n contacts: z.array(MissiveGetContact_ContactSchema).describe(\"List of contacts returned by the API (single contact in a list)\"),\n}).passthrough().describe(\"Response model for fetching a contact.\");\n\nexport const missiveGetContact = action(\"MISSIVE_GET_CONTACT\", {\n slug: \"missive-get-contact\",\n name: \"Get Missive Contact\",\n description: \"Tool to fetch a specific contact using the contact ID. Use when you need detailed contact information including names, contact info, and organizational memberships. Returns 404 for deleted contacts.\",\n input: MissiveGetContactInput,\n output: MissiveGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,iEAAiE,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.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 MissiveGetContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve.\"),\n}).describe(\"Request model for fetching a specific contact.\");\nconst MissiveGetContact_ContactInfoSchema = z.object({\n city: z.string().describe(\"City for physical_address type\").nullable().optional(),\n kind: z.string().describe(\"Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom\").nullable(),\n name: z.string().describe(\"Name for facebook type\").nullable().optional(),\n label: z.string().describe(\"Label for the info entry: home, work, personal, other, etc.\").nullable().optional(),\n value: z.string().describe(\"Value for email, phone_number, twitter, url, or custom types\").nullable().optional(),\n po_box: z.string().describe(\"PO box number for physical_address type\").nullable().optional(),\n region: z.string().describe(\"State/province for physical_address type\").nullable().optional(),\n street: z.string().describe(\"Street address for physical_address type\").nullable().optional(),\n country: z.string().describe(\"Country for physical_address type\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for physical_address type\").nullable().optional(),\n custom_label: z.string().describe(\"Custom label when label is 'other'\").nullable().optional(),\n extended_address: z.string().describe(\"Extended address for physical_address type\").nullable().optional(),\n}).passthrough().describe(\"Contact information entry (email, phone, social media, address, etc.).\");\nconst MissiveGetContact_MembershipGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable().optional(),\n kind: z.string().describe(\"Type of group: 'organization' or 'group'\").nullable(),\n name: z.string().describe(\"Name of the group or organization\").nullable(),\n}).passthrough().describe(\"Group or organization reference in a membership.\");\nconst MissiveGetContact_ContactMembershipSchema = z.object({\n group: MissiveGetContact_MembershipGroupSchema.nullable(),\n title: z.string().describe(\"Job title (organization only)\").nullable().optional(),\n location: z.string().describe(\"Work location (organization only)\").nullable().optional(),\n department: z.string().describe(\"Department name (organization only)\").nullable().optional(),\n description: z.string().describe(\"Role description (organization only)\").nullable().optional(),\n}).passthrough().describe(\"Membership linking a contact to an organization or group.\");\nconst MissiveGetContact_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n infos: z.array(MissiveGetContact_ContactInfoSchema).describe(\"Contact information entries (emails, phones, social media, etc.)\").nullable().optional(),\n notes: z.string().describe(\"Additional notes about contact\").nullable().optional(),\n gender: z.string().describe(\"Contact's gender\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.')\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.')\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether contact has been deleted\").nullable().optional(),\n file_as: z.string().describe(\"How contact is filed\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is starred\").nullable().optional(),\n nickname: z.string().describe(\"Contact's nickname\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n memberships: z.array(MissiveGetContact_ContactMembershipSchema).describe(\"Organization and group associations\").nullable().optional(),\n middle_name: z.string().describe(\"Contact's middle name\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact\").nullable().optional(),\n phonetic_last_name: z.string().describe(\"Phonetic spelling of last name\").nullable().optional(),\n phonetic_first_name: z.string().describe(\"Phonetic spelling of first name\").nullable().optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic spelling of middle name\").nullable().optional(),\n}).passthrough().describe(\"Complete contact object with all details.\");\nexport const MissiveGetContactOutput = z.object({\n contacts: z.array(MissiveGetContact_ContactSchema).describe(\"List of contacts returned by the API (single contact in a list)\"),\n}).passthrough().describe(\"Response model for fetching a contact.\");\n\nexport const missiveGetContact: AppAction<\n typeof MissiveGetContactInput,\n typeof MissiveGetContactOutput,\n typeof missive.credential\n> = action(\"MISSIVE_GET_CONTACT\", {\n slug: \"missive-get-contact\",\n name: \"Get Missive Contact\",\n description: \"Tool to fetch a specific contact using the contact ID. Use when you need detailed contact information including names, contact info, and organizational memberships. Returns 404 for deleted contacts.\",\n input: MissiveGetContactInput,\n output: MissiveGetContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8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,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,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/get-contact.d.ts
@@ -50,21 +52,7 @@ declare const MissiveGetContactOutput: z.ZodObject<{
50
52
  phonetic_middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
53
  }, z.core.$loose>>;
52
54
  }, z.core.$loose>;
53
- declare const missiveGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- id: string;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- bearer_token: z.ZodString;
61
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
62
- connectionId: z.ZodString;
63
- entityId: z.ZodString;
64
- instanceId: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- bearer_token: z.ZodString;
67
- }, z.core.$strip>>]>;
55
+ declare const missiveGetContact: AppAction<typeof MissiveGetContactInput, typeof MissiveGetContactOutput, typeof missive.credential>;
68
56
  //#endregion
69
57
  export { missiveGetContact };
70
58
  //# sourceMappingURL=get-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAkDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAkDtB,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/get-contact.d.ts
@@ -50,21 +52,7 @@ declare const MissiveGetContactOutput: z.ZodObject<{
50
52
  phonetic_middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
53
  }, z.core.$loose>>;
52
54
  }, z.core.$loose>;
53
- declare const missiveGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- id: string;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- bearer_token: z.ZodString;
61
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
62
- connectionId: z.ZodString;
63
- entityId: z.ZodString;
64
- instanceId: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- bearer_token: z.ZodString;
67
- }, z.core.$strip>>]>;
55
+ declare const missiveGetContact: AppAction<typeof MissiveGetContactInput, typeof MissiveGetContactOutput, typeof missive.credential>;
68
56
  //#endregion
69
57
  export { missiveGetContact };
70
58
  //# sourceMappingURL=get-contact.d.mts.map