@keystrokehq/missive 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-analytics-report.cjs +2 -2
- package/dist/actions/create-analytics-report.cjs.map +1 -1
- package/dist/actions/create-analytics-report.d.cts +39 -3
- package/dist/actions/create-analytics-report.d.cts.map +1 -1
- package/dist/actions/create-analytics-report.d.mts +39 -3
- package/dist/actions/create-analytics-report.d.mts.map +1 -1
- package/dist/actions/create-analytics-report.mjs +2 -2
- package/dist/actions/create-analytics-report.mjs.map +1 -1
- package/dist/actions/create-contacts.cjs +10 -10
- package/dist/actions/create-contacts.cjs.map +1 -1
- package/dist/actions/create-contacts.d.cts +140 -3
- package/dist/actions/create-contacts.d.cts.map +1 -1
- package/dist/actions/create-contacts.d.mts +140 -3
- package/dist/actions/create-contacts.d.mts.map +1 -1
- package/dist/actions/create-contacts.mjs +10 -10
- package/dist/actions/create-contacts.mjs.map +1 -1
- package/dist/actions/create-draft.cjs +13 -13
- package/dist/actions/create-draft.cjs.map +1 -1
- package/dist/actions/create-draft.d.cts +143 -3
- package/dist/actions/create-draft.d.cts.map +1 -1
- package/dist/actions/create-draft.d.mts +143 -3
- package/dist/actions/create-draft.d.mts.map +1 -1
- package/dist/actions/create-draft.mjs +13 -13
- package/dist/actions/create-draft.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -1
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +37 -3
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +37 -3
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +1 -1
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-response.cjs +6 -6
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +57 -3
- package/dist/actions/create-response.d.cts.map +1 -1
- package/dist/actions/create-response.d.mts +57 -3
- package/dist/actions/create-response.d.mts.map +1 -1
- package/dist/actions/create-response.mjs +6 -6
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-shared-label.cjs +6 -6
- package/dist/actions/create-shared-label.cjs.map +1 -1
- package/dist/actions/create-shared-label.d.cts +29 -3
- package/dist/actions/create-shared-label.d.cts.map +1 -1
- package/dist/actions/create-shared-label.d.mts +29 -3
- package/dist/actions/create-shared-label.d.mts.map +1 -1
- package/dist/actions/create-shared-label.mjs +6 -6
- package/dist/actions/create-shared-label.mjs.map +1 -1
- package/dist/actions/create-task.cjs +3 -3
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +46 -3
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +46 -3
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +3 -3
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-team.cjs +4 -4
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +30 -3
- package/dist/actions/create-team.d.cts.map +1 -1
- package/dist/actions/create-team.d.mts +30 -3
- package/dist/actions/create-team.d.mts.map +1 -1
- package/dist/actions/create-team.mjs +4 -4
- package/dist/actions/create-team.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +2 -2
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +38 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +38 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +2 -2
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-draft.cjs +1 -1
- package/dist/actions/delete-draft.cjs.map +1 -1
- package/dist/actions/delete-draft.d.cts +7 -3
- package/dist/actions/delete-draft.d.cts.map +1 -1
- package/dist/actions/delete-draft.d.mts +7 -3
- package/dist/actions/delete-draft.d.mts.map +1 -1
- package/dist/actions/delete-draft.mjs +1 -1
- package/dist/actions/delete-draft.mjs.map +1 -1
- package/dist/actions/delete-post.cjs +1 -1
- package/dist/actions/delete-post.cjs.map +1 -1
- package/dist/actions/delete-post.d.cts +7 -3
- package/dist/actions/delete-post.d.cts.map +1 -1
- package/dist/actions/delete-post.d.mts +7 -3
- package/dist/actions/delete-post.d.mts.map +1 -1
- package/dist/actions/delete-post.mjs +1 -1
- package/dist/actions/delete-post.mjs.map +1 -1
- package/dist/actions/delete-responses.cjs +1 -1
- package/dist/actions/delete-responses.cjs.map +1 -1
- package/dist/actions/delete-responses.d.cts +7 -3
- package/dist/actions/delete-responses.d.cts.map +1 -1
- package/dist/actions/delete-responses.d.mts +7 -3
- package/dist/actions/delete-responses.d.mts.map +1 -1
- package/dist/actions/delete-responses.mjs +1 -1
- package/dist/actions/delete-responses.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +7 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +7 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-analytics-report.cjs +3 -3
- package/dist/actions/get-analytics-report.cjs.map +1 -1
- package/dist/actions/get-analytics-report.d.cts +19 -3
- package/dist/actions/get-analytics-report.d.cts.map +1 -1
- package/dist/actions/get-analytics-report.d.mts +19 -3
- package/dist/actions/get-analytics-report.d.mts.map +1 -1
- package/dist/actions/get-analytics-report.mjs +3 -3
- package/dist/actions/get-analytics-report.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +9 -9
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +52 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +52 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +9 -9
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-conversation-messages.cjs +6 -6
- package/dist/actions/get-conversation-messages.cjs.map +1 -1
- package/dist/actions/get-conversation-messages.d.cts +51 -3
- package/dist/actions/get-conversation-messages.d.cts.map +1 -1
- package/dist/actions/get-conversation-messages.d.mts +51 -3
- package/dist/actions/get-conversation-messages.d.mts.map +1 -1
- package/dist/actions/get-conversation-messages.mjs +6 -6
- package/dist/actions/get-conversation-messages.mjs.map +1 -1
- package/dist/actions/get-conversation.cjs +23 -23
- package/dist/actions/get-conversation.cjs.map +1 -1
- package/dist/actions/get-conversation.d.cts +80 -3
- package/dist/actions/get-conversation.d.cts.map +1 -1
- package/dist/actions/get-conversation.d.mts +80 -3
- package/dist/actions/get-conversation.d.mts.map +1 -1
- package/dist/actions/get-conversation.mjs +23 -23
- package/dist/actions/get-conversation.mjs.map +1 -1
- package/dist/actions/get-message.cjs +7 -7
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +143 -3
- package/dist/actions/get-message.d.cts.map +1 -1
- package/dist/actions/get-message.d.mts +143 -3
- package/dist/actions/get-message.d.mts.map +1 -1
- package/dist/actions/get-message.mjs +7 -7
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +11 -11
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +43 -3
- package/dist/actions/get-response.d.cts.map +1 -1
- package/dist/actions/get-response.d.mts +43 -3
- package/dist/actions/get-response.d.mts.map +1 -1
- package/dist/actions/get-response.mjs +11 -11
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-task.cjs +10 -10
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +35 -3
- package/dist/actions/get-task.d.cts.map +1 -1
- package/dist/actions/get-task.d.mts +35 -3
- package/dist/actions/get-task.d.mts.map +1 -1
- package/dist/actions/get-task.mjs +10 -10
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/list-contact-books.cjs +6 -6
- package/dist/actions/list-contact-books.cjs.map +1 -1
- package/dist/actions/list-contact-books.d.cts +20 -3
- package/dist/actions/list-contact-books.d.cts.map +1 -1
- package/dist/actions/list-contact-books.d.mts +20 -3
- package/dist/actions/list-contact-books.d.mts.map +1 -1
- package/dist/actions/list-contact-books.mjs +6 -6
- package/dist/actions/list-contact-books.mjs.map +1 -1
- package/dist/actions/list-contact-groups.cjs +4 -4
- package/dist/actions/list-contact-groups.cjs.map +1 -1
- package/dist/actions/list-contact-groups.d.cts +21 -3
- package/dist/actions/list-contact-groups.d.cts.map +1 -1
- package/dist/actions/list-contact-groups.d.mts +21 -3
- package/dist/actions/list-contact-groups.d.mts.map +1 -1
- package/dist/actions/list-contact-groups.mjs +4 -4
- package/dist/actions/list-contact-groups.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +6 -6
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +57 -3
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +57 -3
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +6 -6
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-conversation-comments.cjs +8 -8
- package/dist/actions/list-conversation-comments.cjs.map +1 -1
- package/dist/actions/list-conversation-comments.d.cts +59 -3
- package/dist/actions/list-conversation-comments.d.cts.map +1 -1
- package/dist/actions/list-conversation-comments.d.mts +59 -3
- package/dist/actions/list-conversation-comments.d.mts.map +1 -1
- package/dist/actions/list-conversation-comments.mjs +8 -8
- package/dist/actions/list-conversation-comments.mjs.map +1 -1
- package/dist/actions/list-conversation-drafts.cjs +7 -7
- package/dist/actions/list-conversation-drafts.cjs.map +1 -1
- package/dist/actions/list-conversation-drafts.d.cts +57 -3
- package/dist/actions/list-conversation-drafts.d.cts.map +1 -1
- package/dist/actions/list-conversation-drafts.d.mts +57 -3
- package/dist/actions/list-conversation-drafts.d.mts.map +1 -1
- package/dist/actions/list-conversation-drafts.mjs +7 -7
- package/dist/actions/list-conversation-drafts.mjs.map +1 -1
- package/dist/actions/list-conversation-posts.cjs +6 -6
- package/dist/actions/list-conversation-posts.cjs.map +1 -1
- package/dist/actions/list-conversation-posts.d.cts +30 -3
- package/dist/actions/list-conversation-posts.d.cts.map +1 -1
- package/dist/actions/list-conversation-posts.d.mts +30 -3
- package/dist/actions/list-conversation-posts.d.mts.map +1 -1
- package/dist/actions/list-conversation-posts.mjs +6 -6
- package/dist/actions/list-conversation-posts.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +21 -21
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +79 -3
- package/dist/actions/list-conversations.d.cts.map +1 -1
- package/dist/actions/list-conversations.d.mts +79 -3
- package/dist/actions/list-conversations.d.mts.map +1 -1
- package/dist/actions/list-conversations.mjs +21 -21
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +7 -7
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +64 -3
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +64 -3
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +7 -7
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +4 -4
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +14 -3
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +14 -3
- package/dist/actions/list-organizations.d.mts.map +1 -1
- package/dist/actions/list-organizations.mjs +4 -4
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-responses.cjs +11 -11
- package/dist/actions/list-responses.cjs.map +1 -1
- package/dist/actions/list-responses.d.cts +46 -3
- package/dist/actions/list-responses.d.cts.map +1 -1
- package/dist/actions/list-responses.d.mts +46 -3
- package/dist/actions/list-responses.d.mts.map +1 -1
- package/dist/actions/list-responses.mjs +11 -11
- package/dist/actions/list-responses.mjs.map +1 -1
- package/dist/actions/list-shared-labels.cjs +4 -4
- package/dist/actions/list-shared-labels.cjs.map +1 -1
- package/dist/actions/list-shared-labels.d.cts +27 -3
- package/dist/actions/list-shared-labels.d.cts.map +1 -1
- package/dist/actions/list-shared-labels.d.mts +27 -3
- package/dist/actions/list-shared-labels.d.mts.map +1 -1
- package/dist/actions/list-shared-labels.mjs +4 -4
- package/dist/actions/list-shared-labels.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +11 -11
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +48 -3
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +48 -3
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +11 -11
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +4 -4
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +19 -3
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +19 -3
- package/dist/actions/list-teams.d.mts.map +1 -1
- package/dist/actions/list-teams.mjs +4 -4
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/list-users.cjs +6 -6
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +19 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +19 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +6 -6
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/merge-conversations.cjs +22 -22
- package/dist/actions/merge-conversations.cjs.map +1 -1
- package/dist/actions/merge-conversations.d.cts +85 -3
- package/dist/actions/merge-conversations.d.cts.map +1 -1
- package/dist/actions/merge-conversations.d.mts +85 -3
- package/dist/actions/merge-conversations.d.mts.map +1 -1
- package/dist/actions/merge-conversations.mjs +22 -22
- package/dist/actions/merge-conversations.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +12 -12
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +138 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +138 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +12 -12
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-response.cjs +10 -10
- package/dist/actions/update-response.cjs.map +1 -1
- package/dist/actions/update-response.d.cts +87 -3
- package/dist/actions/update-response.d.cts.map +1 -1
- package/dist/actions/update-response.d.mts +87 -3
- package/dist/actions/update-response.d.mts.map +1 -1
- package/dist/actions/update-response.mjs +10 -10
- package/dist/actions/update-response.mjs.map +1 -1
- package/dist/actions/update-shared-labels.cjs +6 -6
- package/dist/actions/update-shared-labels.cjs.map +1 -1
- package/dist/actions/update-shared-labels.d.cts +24 -3
- package/dist/actions/update-shared-labels.d.cts.map +1 -1
- package/dist/actions/update-shared-labels.d.mts +24 -3
- package/dist/actions/update-shared-labels.d.mts.map +1 -1
- package/dist/actions/update-shared-labels.mjs +6 -6
- package/dist/actions/update-shared-labels.mjs.map +1 -1
- package/dist/actions/update-task.cjs +7 -7
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +37 -3
- package/dist/actions/update-task.d.cts.map +1 -1
- package/dist/actions/update-task.d.mts +37 -3
- package/dist/actions/update-task.d.mts.map +1 -1
- package/dist/actions/update-task.mjs +7 -7
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-team.cjs +5 -5
- package/dist/actions/update-team.cjs.map +1 -1
- package/dist/actions/update-team.d.cts +30 -3
- package/dist/actions/update-team.d.cts.map +1 -1
- package/dist/actions/update-team.d.mts +30 -3
- package/dist/actions/update-team.d.mts.map +1 -1
- package/dist/actions/update-team.mjs +5 -5
- package/dist/actions/update-team.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -11,23 +11,23 @@ const MissiveListConversationDrafts_DraftAuthorSchema = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("User display name").nullable().optional(),
|
|
12
12
|
email: zod.z.string().describe("User email address").nullable().optional(),
|
|
13
13
|
avatar_url: zod.z.string().describe("URL to user avatar image").nullable().optional()
|
|
14
|
-
}).describe("Draft author information.");
|
|
14
|
+
}).passthrough().describe("Draft author information.");
|
|
15
15
|
const MissiveListConversationDrafts_ToFieldSchema = zod.z.object({
|
|
16
16
|
name: zod.z.string().describe("Recipient name").nullable().optional(),
|
|
17
17
|
address: zod.z.string().describe("Recipient email address").nullable().optional()
|
|
18
|
-
}).describe("Recipient information.");
|
|
18
|
+
}).passthrough().describe("Recipient information.");
|
|
19
19
|
const MissiveListConversationDrafts_FromFieldSchema = zod.z.object({
|
|
20
20
|
name: zod.z.string().describe("Sender name").nullable().optional(),
|
|
21
21
|
address: zod.z.string().describe("Sender email address").nullable().optional()
|
|
22
|
-
}).describe("Sender information.");
|
|
22
|
+
}).passthrough().describe("Sender information.");
|
|
23
23
|
const MissiveListConversationDrafts_AttachmentInfoSchema = zod.z.object({
|
|
24
24
|
id: zod.z.string().describe("Attachment identifier").nullable().optional(),
|
|
25
25
|
size: zod.z.number().int().describe("Size in bytes").nullable().optional(),
|
|
26
26
|
filename: zod.z.string().describe("Name of the file").nullable().optional(),
|
|
27
27
|
content_type: zod.z.string().describe("MIME type of the attachment").nullable().optional()
|
|
28
|
-
}).describe("Attachment metadata.");
|
|
28
|
+
}).passthrough().describe("Attachment metadata.");
|
|
29
29
|
const MissiveListConversationDrafts_DraftSchema = zod.z.object({
|
|
30
|
-
id: zod.z.string().describe("Unique draft identifier"),
|
|
30
|
+
id: zod.z.string().describe("Unique draft identifier").nullable(),
|
|
31
31
|
type: zod.z.string().describe("Message type (e.g., 'email')").nullable().optional(),
|
|
32
32
|
draft: zod.z.boolean().describe("Whether message is a draft (always true)").nullable().optional(),
|
|
33
33
|
author: MissiveListConversationDrafts_DraftAuthorSchema.nullable().optional(),
|
|
@@ -45,8 +45,8 @@ const MissiveListConversationDrafts_DraftSchema = zod.z.object({
|
|
|
45
45
|
delivered_at: zod.z.number().int().describe("Unix timestamp of delivery (null for unsent drafts)").nullable().optional(),
|
|
46
46
|
reply_to_fields: zod.z.array(MissiveListConversationDrafts_ToFieldSchema).describe("Reply-to addresses").nullable().optional(),
|
|
47
47
|
email_message_id: zod.z.string().describe("Email Message-ID header").nullable().optional()
|
|
48
|
-
}).describe("A Missive draft message object.");
|
|
49
|
-
const MissiveListConversationDraftsOutput = zod.z.object({ drafts: zod.z.array(MissiveListConversationDrafts_DraftSchema).describe("List of draft messages in the conversation ordered from newest to oldest") }).describe("Response model for listing conversation drafts.");
|
|
48
|
+
}).passthrough().describe("A Missive draft message object.");
|
|
49
|
+
const MissiveListConversationDraftsOutput = zod.z.object({ drafts: zod.z.array(MissiveListConversationDrafts_DraftSchema).describe("List of draft messages in the conversation ordered from newest to oldest") }).passthrough().describe("Response model for listing conversation drafts.");
|
|
50
50
|
const missiveListConversationDrafts = require_action.action("MISSIVE_LIST_CONVERSATION_DRAFTS", {
|
|
51
51
|
slug: "missive-list-conversation-drafts",
|
|
52
52
|
name: "List Conversation Drafts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-drafts.cjs","names":["z","action"],"sources":["../../src/actions/list-conversation-drafts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationDraftsInput
|
|
1
|
+
{"version":3,"file":"list-conversation-drafts.cjs","names":["z","action"],"sources":["../../src/actions/list-conversation-drafts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationDraftsInput = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().default(10).describe(\"Number of drafts returned. Default: 10. Max: 10\").optional(),\n until: z.number().int().describe(\"Unix timestamp for pagination. Use delivered_at of the oldest draft from previous page\").optional(),\n}).describe(\"Request model for listing drafts in a conversation.\");\nconst MissiveListConversationDrafts_DraftAuthorSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n name: z.string().describe(\"User display name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to user avatar image\").nullable().optional(),\n}).passthrough().describe(\"Draft author information.\");\nconst MissiveListConversationDrafts_ToFieldSchema = z.object({\n name: z.string().describe(\"Recipient name\").nullable().optional(),\n address: z.string().describe(\"Recipient email address\").nullable().optional(),\n}).passthrough().describe(\"Recipient information.\");\nconst MissiveListConversationDrafts_FromFieldSchema = z.object({\n name: z.string().describe(\"Sender name\").nullable().optional(),\n address: z.string().describe(\"Sender email address\").nullable().optional(),\n}).passthrough().describe(\"Sender information.\");\nconst MissiveListConversationDrafts_AttachmentInfoSchema = z.object({\n id: z.string().describe(\"Attachment identifier\").nullable().optional(),\n size: z.number().int().describe(\"Size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the file\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment\").nullable().optional(),\n}).passthrough().describe(\"Attachment metadata.\");\nconst MissiveListConversationDrafts_DraftSchema = z.object({\n id: z.string().describe(\"Unique draft identifier\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'email')\").nullable().optional(),\n draft: z.boolean().describe(\"Whether message is a draft (always true)\").nullable().optional(),\n author: MissiveListConversationDrafts_DraftAuthorSchema.nullable().optional(),\n preview: z.string().describe(\"Draft preview text\").nullable().optional(),\n subject: z.string().describe(\"Draft subject line\").nullable().optional(),\n cc_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe(\"CC recipients\").nullable().optional(),\n to_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe(\"Recipients with name and address fields\").nullable().optional(),\n bcc_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe(\"BCC recipients\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable().optional(),\n from_field: MissiveListConversationDrafts_FromFieldSchema.nullable().optional(),\n references: z.array(z.string()).describe(\"Email reference headers\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp of last update\").nullable().optional(),\n attachments: z.array(MissiveListConversationDrafts_AttachmentInfoSchema).describe(\"File attachments with metadata\").nullable().optional(),\n in_reply_to: z.array(z.string()).describe(\"References to parent messages\").nullable().optional(),\n delivered_at: z.number().int().describe(\"Unix timestamp of delivery (null for unsent drafts)\").nullable().optional(),\n reply_to_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe(\"Reply-to addresses\").nullable().optional(),\n email_message_id: z.string().describe(\"Email Message-ID header\").nullable().optional(),\n}).passthrough().describe(\"A Missive draft message object.\");\nexport const MissiveListConversationDraftsOutput = z.object({\n drafts: z.array(MissiveListConversationDrafts_DraftSchema).describe(\"List of draft messages in the conversation ordered from newest to oldest\"),\n}).passthrough().describe(\"Response model for listing conversation drafts.\");\n\nexport const missiveListConversationDrafts = action(\"MISSIVE_LIST_CONVERSATION_DRAFTS\", {\n slug: \"missive-list-conversation-drafts\",\n name: \"List Conversation Drafts\",\n description: \"Tool to list draft messages in a Missive conversation (newest first). Use when you need to retrieve unsent drafts for a specific conversation including author and recipient details.\",\n input: MissiveListConversationDraftsInput,\n output: MissiveListConversationDraftsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAA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CAAyC,CAAC,CAAC,SAAS,0EAA0E,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,63 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-conversation-drafts.d.ts
|
|
4
|
-
declare const MissiveListConversationDraftsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveListConversationDraftsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MissiveListConversationDraftsOutput: z.ZodObject<{
|
|
10
|
+
drafts: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
draft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
cc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
to_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
bcc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
31
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
from_field: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
references: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
40
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
42
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
}, z.core.$loose>>>>;
|
|
47
|
+
in_reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
48
|
+
delivered_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
|
+
reply_to_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
50
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
}, z.core.$loose>>>>;
|
|
53
|
+
email_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
}, z.core.$loose>>;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
|
+
declare const missiveListConversationDrafts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
|
+
id: string;
|
|
58
|
+
limit?: number | undefined;
|
|
59
|
+
until?: number | undefined;
|
|
60
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
61
|
//#endregion
|
|
8
62
|
export { missiveListConversationDrafts };
|
|
9
63
|
//# sourceMappingURL=list-conversation-drafts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-drafts.d.cts","names":[],"sources":["../../src/actions/list-conversation-drafts.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-conversation-drafts.d.cts","names":[],"sources":["../../src/actions/list-conversation-drafts.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cA6ClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,63 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-conversation-drafts.d.ts
|
|
4
|
-
declare const MissiveListConversationDraftsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveListConversationDraftsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MissiveListConversationDraftsOutput: z.ZodObject<{
|
|
10
|
+
drafts: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
draft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
cc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
to_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
bcc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
31
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
from_field: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
references: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
40
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
42
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
}, z.core.$loose>>>>;
|
|
47
|
+
in_reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
48
|
+
delivered_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
|
+
reply_to_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
50
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
}, z.core.$loose>>>>;
|
|
53
|
+
email_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
}, z.core.$loose>>;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
|
+
declare const missiveListConversationDrafts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
|
+
id: string;
|
|
58
|
+
limit?: number | undefined;
|
|
59
|
+
until?: number | undefined;
|
|
60
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
61
|
//#endregion
|
|
8
62
|
export { missiveListConversationDrafts };
|
|
9
63
|
//# sourceMappingURL=list-conversation-drafts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-drafts.d.mts","names":[],"sources":["../../src/actions/list-conversation-drafts.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-conversation-drafts.d.mts","names":[],"sources":["../../src/actions/list-conversation-drafts.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cA6ClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -11,23 +11,23 @@ const MissiveListConversationDrafts_DraftAuthorSchema = z.object({
|
|
|
11
11
|
name: z.string().describe("User display name").nullable().optional(),
|
|
12
12
|
email: z.string().describe("User email address").nullable().optional(),
|
|
13
13
|
avatar_url: z.string().describe("URL to user avatar image").nullable().optional()
|
|
14
|
-
}).describe("Draft author information.");
|
|
14
|
+
}).passthrough().describe("Draft author information.");
|
|
15
15
|
const MissiveListConversationDrafts_ToFieldSchema = z.object({
|
|
16
16
|
name: z.string().describe("Recipient name").nullable().optional(),
|
|
17
17
|
address: z.string().describe("Recipient email address").nullable().optional()
|
|
18
|
-
}).describe("Recipient information.");
|
|
18
|
+
}).passthrough().describe("Recipient information.");
|
|
19
19
|
const MissiveListConversationDrafts_FromFieldSchema = z.object({
|
|
20
20
|
name: z.string().describe("Sender name").nullable().optional(),
|
|
21
21
|
address: z.string().describe("Sender email address").nullable().optional()
|
|
22
|
-
}).describe("Sender information.");
|
|
22
|
+
}).passthrough().describe("Sender information.");
|
|
23
23
|
const MissiveListConversationDrafts_AttachmentInfoSchema = z.object({
|
|
24
24
|
id: z.string().describe("Attachment identifier").nullable().optional(),
|
|
25
25
|
size: z.number().int().describe("Size in bytes").nullable().optional(),
|
|
26
26
|
filename: z.string().describe("Name of the file").nullable().optional(),
|
|
27
27
|
content_type: z.string().describe("MIME type of the attachment").nullable().optional()
|
|
28
|
-
}).describe("Attachment metadata.");
|
|
28
|
+
}).passthrough().describe("Attachment metadata.");
|
|
29
29
|
const MissiveListConversationDrafts_DraftSchema = z.object({
|
|
30
|
-
id: z.string().describe("Unique draft identifier"),
|
|
30
|
+
id: z.string().describe("Unique draft identifier").nullable(),
|
|
31
31
|
type: z.string().describe("Message type (e.g., 'email')").nullable().optional(),
|
|
32
32
|
draft: z.boolean().describe("Whether message is a draft (always true)").nullable().optional(),
|
|
33
33
|
author: MissiveListConversationDrafts_DraftAuthorSchema.nullable().optional(),
|
|
@@ -45,13 +45,13 @@ const MissiveListConversationDrafts_DraftSchema = z.object({
|
|
|
45
45
|
delivered_at: z.number().int().describe("Unix timestamp of delivery (null for unsent drafts)").nullable().optional(),
|
|
46
46
|
reply_to_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe("Reply-to addresses").nullable().optional(),
|
|
47
47
|
email_message_id: z.string().describe("Email Message-ID header").nullable().optional()
|
|
48
|
-
}).describe("A Missive draft message object.");
|
|
48
|
+
}).passthrough().describe("A Missive draft message object.");
|
|
49
49
|
const missiveListConversationDrafts = action("MISSIVE_LIST_CONVERSATION_DRAFTS", {
|
|
50
50
|
slug: "missive-list-conversation-drafts",
|
|
51
51
|
name: "List Conversation Drafts",
|
|
52
52
|
description: "Tool to list draft messages in a Missive conversation (newest first). Use when you need to retrieve unsent drafts for a specific conversation including author and recipient details.",
|
|
53
53
|
input: MissiveListConversationDraftsInput,
|
|
54
|
-
output: z.object({ drafts: z.array(MissiveListConversationDrafts_DraftSchema).describe("List of draft messages in the conversation ordered from newest to oldest") }).describe("Response model for listing conversation drafts.")
|
|
54
|
+
output: z.object({ drafts: z.array(MissiveListConversationDrafts_DraftSchema).describe("List of draft messages in the conversation ordered from newest to oldest") }).passthrough().describe("Response model for listing conversation drafts.")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { missiveListConversationDrafts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-drafts.mjs","names":[],"sources":["../../src/actions/list-conversation-drafts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationDraftsInput
|
|
1
|
+
{"version":3,"file":"list-conversation-drafts.mjs","names":[],"sources":["../../src/actions/list-conversation-drafts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationDraftsInput = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().default(10).describe(\"Number of drafts returned. Default: 10. Max: 10\").optional(),\n until: z.number().int().describe(\"Unix timestamp for pagination. Use delivered_at of the oldest draft from previous page\").optional(),\n}).describe(\"Request model for listing drafts in a conversation.\");\nconst MissiveListConversationDrafts_DraftAuthorSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n name: z.string().describe(\"User display name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to user avatar image\").nullable().optional(),\n}).passthrough().describe(\"Draft author information.\");\nconst MissiveListConversationDrafts_ToFieldSchema = z.object({\n name: z.string().describe(\"Recipient name\").nullable().optional(),\n address: z.string().describe(\"Recipient email address\").nullable().optional(),\n}).passthrough().describe(\"Recipient information.\");\nconst MissiveListConversationDrafts_FromFieldSchema = z.object({\n name: z.string().describe(\"Sender name\").nullable().optional(),\n address: z.string().describe(\"Sender email address\").nullable().optional(),\n}).passthrough().describe(\"Sender information.\");\nconst MissiveListConversationDrafts_AttachmentInfoSchema = z.object({\n id: z.string().describe(\"Attachment identifier\").nullable().optional(),\n size: z.number().int().describe(\"Size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the file\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment\").nullable().optional(),\n}).passthrough().describe(\"Attachment metadata.\");\nconst MissiveListConversationDrafts_DraftSchema = z.object({\n id: z.string().describe(\"Unique draft identifier\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'email')\").nullable().optional(),\n draft: z.boolean().describe(\"Whether message is a draft (always true)\").nullable().optional(),\n author: MissiveListConversationDrafts_DraftAuthorSchema.nullable().optional(),\n preview: z.string().describe(\"Draft preview text\").nullable().optional(),\n subject: z.string().describe(\"Draft subject line\").nullable().optional(),\n cc_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe(\"CC recipients\").nullable().optional(),\n to_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe(\"Recipients with name and address fields\").nullable().optional(),\n bcc_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe(\"BCC recipients\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable().optional(),\n from_field: MissiveListConversationDrafts_FromFieldSchema.nullable().optional(),\n references: z.array(z.string()).describe(\"Email reference headers\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp of last update\").nullable().optional(),\n attachments: z.array(MissiveListConversationDrafts_AttachmentInfoSchema).describe(\"File attachments with metadata\").nullable().optional(),\n in_reply_to: z.array(z.string()).describe(\"References to parent messages\").nullable().optional(),\n delivered_at: z.number().int().describe(\"Unix timestamp of delivery (null for unsent drafts)\").nullable().optional(),\n reply_to_fields: z.array(MissiveListConversationDrafts_ToFieldSchema).describe(\"Reply-to addresses\").nullable().optional(),\n email_message_id: z.string().describe(\"Email Message-ID header\").nullable().optional(),\n}).passthrough().describe(\"A Missive draft message object.\");\nexport const MissiveListConversationDraftsOutput = z.object({\n drafts: z.array(MissiveListConversationDrafts_DraftSchema).describe(\"List of draft messages in the conversation ordered from newest to oldest\"),\n}).passthrough().describe(\"Response model for listing conversation drafts.\");\n\nexport const missiveListConversationDrafts = action(\"MISSIVE_LIST_CONVERSATION_DRAFTS\", {\n slug: \"missive-list-conversation-drafts\",\n name: \"List Conversation Drafts\",\n description: \"Tool to list draft messages in a Missive conversation (newest first). Use when you need to retrieve unsent drafts for a specific conversation including author and recipient details.\",\n input: MissiveListConversationDraftsInput,\n output: MissiveListConversationDraftsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,S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MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,QAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,0EAA0E,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -13,20 +13,20 @@ const MissiveListConversationPosts_PostAttachmentSchema = zod.z.object({
|
|
|
13
13
|
author_icon: zod.z.string().describe("Avatar identifier").nullable().optional(),
|
|
14
14
|
author_link: zod.z.string().describe("URL or email reference").nullable().optional(),
|
|
15
15
|
author_name: zod.z.string().describe("Name of the content creator").nullable().optional()
|
|
16
|
-
}).describe("Attachment object within a post.");
|
|
16
|
+
}).passthrough().describe("Attachment object within a post.");
|
|
17
17
|
const MissiveListConversationPosts_PostNotificationSchema = zod.z.object({
|
|
18
18
|
body: zod.z.string().describe("Notification message text").nullable().optional(),
|
|
19
19
|
title: zod.z.string().describe("Notification headline").nullable().optional()
|
|
20
|
-
}).describe("Notification information for a post.");
|
|
20
|
+
}).passthrough().describe("Notification information for a post.");
|
|
21
21
|
const MissiveListConversationPosts_PostSchema = zod.z.object({
|
|
22
|
-
id: zod.z.string().describe("Unique identifier for the post"),
|
|
22
|
+
id: zod.z.string().describe("Unique identifier for the post").nullable(),
|
|
23
23
|
username: zod.z.string().describe("Display name of the post creator").nullable().optional(),
|
|
24
|
-
created_at: zod.z.number().int().describe("Unix timestamp when the post was created"),
|
|
24
|
+
created_at: zod.z.number().int().describe("Unix timestamp when the post was created").nullable(),
|
|
25
25
|
attachments: zod.z.array(MissiveListConversationPosts_PostAttachmentSchema).describe("Array of attachment objects").nullable().optional(),
|
|
26
26
|
notification: MissiveListConversationPosts_PostNotificationSchema.nullable().optional(),
|
|
27
27
|
username_icon: zod.z.string().describe("URL to the creator's avatar image").nullable().optional()
|
|
28
|
-
}).describe("A Missive post object.");
|
|
29
|
-
const MissiveListConversationPostsOutput = zod.z.object({ posts: zod.z.array(MissiveListConversationPosts_PostSchema).describe("Array of post objects ordered from newest to oldest") }).describe("Response model for listing conversation posts.");
|
|
28
|
+
}).passthrough().describe("A Missive post object.");
|
|
29
|
+
const MissiveListConversationPostsOutput = zod.z.object({ posts: zod.z.array(MissiveListConversationPosts_PostSchema).describe("Array of post objects ordered from newest to oldest") }).passthrough().describe("Response model for listing conversation posts.");
|
|
30
30
|
const missiveListConversationPosts = require_action.action("MISSIVE_LIST_CONVERSATION_POSTS", {
|
|
31
31
|
slug: "missive-list-conversation-posts",
|
|
32
32
|
name: "List Conversation Posts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-posts.cjs","names":["z","action"],"sources":["../../src/actions/list-conversation-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationPostsInput
|
|
1
|
+
{"version":3,"file":"list-conversation-posts.cjs","names":["z","action"],"sources":["../../src/actions/list-conversation-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationPostsInput = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().describe(\"Number of posts returned\").optional(),\n until: z.number().int().describe(\"Unix timestamp for pagination. Use created_at from the oldest post of previous page\").optional(),\n}).describe(\"Request model for listing posts in a conversation.\");\nconst MissiveListConversationPosts_PostAttachmentSchema = z.object({\n text: z.string().describe(\"Main attachment content\").nullable().optional(),\n color: z.string().describe(\"Hex color code for visual styling\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for the attachment\").nullable().optional(),\n author_icon: z.string().describe(\"Avatar identifier\").nullable().optional(),\n author_link: z.string().describe(\"URL or email reference\").nullable().optional(),\n author_name: z.string().describe(\"Name of the content creator\").nullable().optional(),\n}).passthrough().describe(\"Attachment object within a post.\");\nconst MissiveListConversationPosts_PostNotificationSchema = z.object({\n body: z.string().describe(\"Notification message text\").nullable().optional(),\n title: z.string().describe(\"Notification headline\").nullable().optional(),\n}).passthrough().describe(\"Notification information for a post.\");\nconst MissiveListConversationPosts_PostSchema = z.object({\n id: z.string().describe(\"Unique identifier for the post\").nullable(),\n username: z.string().describe(\"Display name of the post creator\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the post was created\").nullable(),\n attachments: z.array(MissiveListConversationPosts_PostAttachmentSchema).describe(\"Array of attachment objects\").nullable().optional(),\n notification: MissiveListConversationPosts_PostNotificationSchema.nullable().optional(),\n username_icon: z.string().describe(\"URL to the creator's avatar image\").nullable().optional(),\n}).passthrough().describe(\"A Missive post object.\");\nexport const MissiveListConversationPostsOutput = z.object({\n posts: z.array(MissiveListConversationPosts_PostSchema).describe(\"Array of post objects ordered from newest to oldest\"),\n}).passthrough().describe(\"Response model for listing conversation posts.\");\n\nexport const missiveListConversationPosts = action(\"MISSIVE_LIST_CONVERSATION_POSTS\", {\n slug: \"missive-list-conversation-posts\",\n name: \"List Conversation Posts\",\n description: \"Tool to list posts in a Missive conversation ordered by newest first. Use when you need to view automation traces or post history for a specific conversation. Posts are the recommended approach for automations as they leave a visible trace.\",\n input: MissiveListConversationPostsInput,\n output: MissiveListConversationPostsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAA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,cAAc,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qDAAqD,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-conversation-posts.d.ts
|
|
4
|
-
declare const MissiveListConversationPostsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveListConversationPostsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MissiveListConversationPostsOutput: z.ZodObject<{
|
|
10
|
+
posts: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
author_icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
author_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
author_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>>>;
|
|
22
|
+
notification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
|
+
username_icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const missiveListConversationPosts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
id: string;
|
|
31
|
+
limit?: number | undefined;
|
|
32
|
+
until?: number | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { missiveListConversationPosts };
|
|
9
36
|
//# sourceMappingURL=list-conversation-posts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-posts.d.cts","names":[],"sources":["../../src/actions/list-conversation-posts.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"list-conversation-posts.d.cts","names":[],"sources":["../../src/actions/list-conversation-posts.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAyBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-conversation-posts.d.ts
|
|
4
|
-
declare const MissiveListConversationPostsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveListConversationPostsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MissiveListConversationPostsOutput: z.ZodObject<{
|
|
10
|
+
posts: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
author_icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
author_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
author_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>>>;
|
|
22
|
+
notification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
|
+
username_icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const missiveListConversationPosts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
id: string;
|
|
31
|
+
limit?: number | undefined;
|
|
32
|
+
until?: number | undefined;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { missiveListConversationPosts };
|
|
9
36
|
//# sourceMappingURL=list-conversation-posts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-posts.d.mts","names":[],"sources":["../../src/actions/list-conversation-posts.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"list-conversation-posts.d.mts","names":[],"sources":["../../src/actions/list-conversation-posts.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAyBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -13,25 +13,25 @@ const MissiveListConversationPosts_PostAttachmentSchema = z.object({
|
|
|
13
13
|
author_icon: z.string().describe("Avatar identifier").nullable().optional(),
|
|
14
14
|
author_link: z.string().describe("URL or email reference").nullable().optional(),
|
|
15
15
|
author_name: z.string().describe("Name of the content creator").nullable().optional()
|
|
16
|
-
}).describe("Attachment object within a post.");
|
|
16
|
+
}).passthrough().describe("Attachment object within a post.");
|
|
17
17
|
const MissiveListConversationPosts_PostNotificationSchema = z.object({
|
|
18
18
|
body: z.string().describe("Notification message text").nullable().optional(),
|
|
19
19
|
title: z.string().describe("Notification headline").nullable().optional()
|
|
20
|
-
}).describe("Notification information for a post.");
|
|
20
|
+
}).passthrough().describe("Notification information for a post.");
|
|
21
21
|
const MissiveListConversationPosts_PostSchema = z.object({
|
|
22
|
-
id: z.string().describe("Unique identifier for the post"),
|
|
22
|
+
id: z.string().describe("Unique identifier for the post").nullable(),
|
|
23
23
|
username: z.string().describe("Display name of the post creator").nullable().optional(),
|
|
24
|
-
created_at: z.number().int().describe("Unix timestamp when the post was created"),
|
|
24
|
+
created_at: z.number().int().describe("Unix timestamp when the post was created").nullable(),
|
|
25
25
|
attachments: z.array(MissiveListConversationPosts_PostAttachmentSchema).describe("Array of attachment objects").nullable().optional(),
|
|
26
26
|
notification: MissiveListConversationPosts_PostNotificationSchema.nullable().optional(),
|
|
27
27
|
username_icon: z.string().describe("URL to the creator's avatar image").nullable().optional()
|
|
28
|
-
}).describe("A Missive post object.");
|
|
28
|
+
}).passthrough().describe("A Missive post object.");
|
|
29
29
|
const missiveListConversationPosts = action("MISSIVE_LIST_CONVERSATION_POSTS", {
|
|
30
30
|
slug: "missive-list-conversation-posts",
|
|
31
31
|
name: "List Conversation Posts",
|
|
32
32
|
description: "Tool to list posts in a Missive conversation ordered by newest first. Use when you need to view automation traces or post history for a specific conversation. Posts are the recommended approach for automations as they leave a visible trace.",
|
|
33
33
|
input: MissiveListConversationPostsInput,
|
|
34
|
-
output: z.object({ posts: z.array(MissiveListConversationPosts_PostSchema).describe("Array of post objects ordered from newest to oldest") }).describe("Response model for listing conversation posts.")
|
|
34
|
+
output: z.object({ posts: z.array(MissiveListConversationPosts_PostSchema).describe("Array of post objects ordered from newest to oldest") }).passthrough().describe("Response model for listing conversation posts.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { missiveListConversationPosts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-posts.mjs","names":[],"sources":["../../src/actions/list-conversation-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationPostsInput
|
|
1
|
+
{"version":3,"file":"list-conversation-posts.mjs","names":[],"sources":["../../src/actions/list-conversation-posts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationPostsInput = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().describe(\"Number of posts returned\").optional(),\n until: z.number().int().describe(\"Unix timestamp for pagination. Use created_at from the oldest post of previous page\").optional(),\n}).describe(\"Request model for listing posts in a conversation.\");\nconst MissiveListConversationPosts_PostAttachmentSchema = z.object({\n text: z.string().describe(\"Main attachment content\").nullable().optional(),\n color: z.string().describe(\"Hex color code for visual styling\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for the attachment\").nullable().optional(),\n author_icon: z.string().describe(\"Avatar identifier\").nullable().optional(),\n author_link: z.string().describe(\"URL or email reference\").nullable().optional(),\n author_name: z.string().describe(\"Name of the content creator\").nullable().optional(),\n}).passthrough().describe(\"Attachment object within a post.\");\nconst MissiveListConversationPosts_PostNotificationSchema = z.object({\n body: z.string().describe(\"Notification message text\").nullable().optional(),\n title: z.string().describe(\"Notification headline\").nullable().optional(),\n}).passthrough().describe(\"Notification information for a post.\");\nconst MissiveListConversationPosts_PostSchema = z.object({\n id: z.string().describe(\"Unique identifier for the post\").nullable(),\n username: z.string().describe(\"Display name of the post creator\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the post was created\").nullable(),\n attachments: z.array(MissiveListConversationPosts_PostAttachmentSchema).describe(\"Array of attachment objects\").nullable().optional(),\n notification: MissiveListConversationPosts_PostNotificationSchema.nullable().optional(),\n username_icon: z.string().describe(\"URL to the creator's avatar image\").nullable().optional(),\n}).passthrough().describe(\"A Missive post object.\");\nexport const MissiveListConversationPostsOutput = z.object({\n posts: z.array(MissiveListConversationPosts_PostSchema).describe(\"Array of post objects ordered from newest to oldest\"),\n}).passthrough().describe(\"Response model for listing conversation posts.\");\n\nexport const missiveListConversationPosts = action(\"MISSIVE_LIST_CONVERSATION_POSTS\", {\n slug: \"missive-list-conversation-posts\",\n name: \"List Conversation Posts\",\n description: \"Tool to list posts in a Missive conversation ordered by newest first. Use when you need to view automation traces or post history for a specific conversation. Posts are the recommended approach for automations as they leave a visible trace.\",\n input: MissiveListConversationPostsInput,\n output: MissiveListConversationPostsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC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ACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,cAAc,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAKlD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qDAAqD,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -22,43 +22,43 @@ const MissiveListConversationsInput = zod.z.object({
|
|
|
22
22
|
shared_label: zod.z.string().describe("Shared label ID to list conversations in that label.").optional()
|
|
23
23
|
}).describe("Request model for listing conversations.\nAt least one filter must be specified: mailbox flag, shared_label, or team parameter.");
|
|
24
24
|
const MissiveListConversations_TeamSchema = zod.z.object({
|
|
25
|
-
id: zod.z.string().describe("Team unique identifier."),
|
|
26
|
-
name: zod.z.string().describe("Team name."),
|
|
25
|
+
id: zod.z.string().describe("Team unique identifier.").nullable(),
|
|
26
|
+
name: zod.z.string().describe("Team name.").nullable(),
|
|
27
27
|
organization: zod.z.string().describe("Organization ID.").nullable().optional()
|
|
28
|
-
}).describe("Team details.");
|
|
28
|
+
}).passthrough().describe("Team details.");
|
|
29
29
|
const MissiveListConversations_AssigneeSchema = zod.z.object({
|
|
30
|
-
id: zod.z.string().describe("User unique identifier."),
|
|
31
|
-
name: zod.z.string().describe("User display name."),
|
|
30
|
+
id: zod.z.string().describe("User unique identifier.").nullable(),
|
|
31
|
+
name: zod.z.string().describe("User display name.").nullable(),
|
|
32
32
|
email: zod.z.string().describe("User email address.").nullable().optional()
|
|
33
|
-
}).describe("User assigned to a conversation.");
|
|
33
|
+
}).passthrough().describe("User assigned to a conversation.");
|
|
34
34
|
const MissiveListConversations_OrganizationSchema = zod.z.object({
|
|
35
|
-
id: zod.z.string().describe("Organization unique identifier."),
|
|
36
|
-
name: zod.z.string().describe("Organization name.")
|
|
37
|
-
}).describe("Organization details.");
|
|
35
|
+
id: zod.z.string().describe("Organization unique identifier.").nullable(),
|
|
36
|
+
name: zod.z.string().describe("Organization name.").nullable()
|
|
37
|
+
}).passthrough().describe("Organization details.");
|
|
38
38
|
const MissiveListConversations_SharedLabelSchema = zod.z.object({
|
|
39
|
-
id: zod.z.string().describe("Shared label unique identifier."),
|
|
40
|
-
name: zod.z.string().describe("Shared label name."),
|
|
39
|
+
id: zod.z.string().describe("Shared label unique identifier.").nullable(),
|
|
40
|
+
name: zod.z.string().describe("Shared label name.").nullable(),
|
|
41
41
|
color: zod.z.string().describe("Label color code.").nullable().optional()
|
|
42
|
-
}).describe("Shared label applied to a conversation.");
|
|
42
|
+
}).passthrough().describe("Shared label applied to a conversation.");
|
|
43
43
|
const MissiveListConversations_ConversationSchema = zod.z.object({
|
|
44
|
-
id: zod.z.string().describe("Unique conversation identifier."),
|
|
44
|
+
id: zod.z.string().describe("Unique conversation identifier.").nullable(),
|
|
45
45
|
team: MissiveListConversations_TeamSchema.nullable().optional(),
|
|
46
46
|
color: zod.z.string().describe("Conversation color coding.").nullable().optional(),
|
|
47
47
|
users: zod.z.array(MissiveListConversations_AssigneeSchema).describe("Users with access to conversation.").nullable().optional(),
|
|
48
|
-
app_url: zod.z.string().describe("Application URL."),
|
|
48
|
+
app_url: zod.z.string().describe("Application URL.").nullable(),
|
|
49
49
|
subject: zod.z.string().describe("Conversation subject.").nullable().optional(),
|
|
50
|
-
web_url: zod.z.string().describe("Web interface URL."),
|
|
50
|
+
web_url: zod.z.string().describe("Web interface URL.").nullable(),
|
|
51
51
|
assignees: zod.z.array(MissiveListConversations_AssigneeSchema).describe("Users assigned to conversation.").nullable().optional(),
|
|
52
|
-
created_at: zod.z.number().int().describe("Conversation creation Unix timestamp."),
|
|
52
|
+
created_at: zod.z.number().int().describe("Conversation creation Unix timestamp.").nullable(),
|
|
53
53
|
tasks_count: zod.z.number().int().describe("Number of associated tasks.").nullable().optional(),
|
|
54
|
-
drafts_count: zod.z.number().int().describe("Number of draft messages."),
|
|
54
|
+
drafts_count: zod.z.number().int().describe("Number of draft messages.").nullable(),
|
|
55
55
|
organization: MissiveListConversations_OrganizationSchema.nullable().optional(),
|
|
56
56
|
shared_labels: zod.z.array(MissiveListConversations_SharedLabelSchema).describe("Applied shared labels.").nullable().optional(),
|
|
57
|
-
messages_count: zod.z.number().int().describe("Total message count."),
|
|
58
|
-
last_activity_at: zod.z.number().int().describe("Most recent activity Unix timestamp - used for pagination with until parameter."),
|
|
57
|
+
messages_count: zod.z.number().int().describe("Total message count.").nullable(),
|
|
58
|
+
last_activity_at: zod.z.number().int().describe("Most recent activity Unix timestamp - used for pagination with until parameter.").nullable(),
|
|
59
59
|
latest_message_subject: zod.z.string().describe("Most recent message subject.").nullable().optional()
|
|
60
|
-
}).describe("A Missive conversation object.");
|
|
61
|
-
const MissiveListConversationsOutput = zod.z.object({ conversations: zod.z.array(MissiveListConversations_ConversationSchema).describe("Array of conversation objects ordered from newest to oldest activity.") }).describe("Response model for listing conversations.");
|
|
60
|
+
}).passthrough().describe("A Missive conversation object.");
|
|
61
|
+
const MissiveListConversationsOutput = zod.z.object({ conversations: zod.z.array(MissiveListConversations_ConversationSchema).describe("Array of conversation objects ordered from newest to oldest activity.") }).passthrough().describe("Response model for listing conversations.");
|
|
62
62
|
const missiveListConversations = require_action.action("MISSIVE_LIST_CONVERSATIONS", {
|
|
63
63
|
slug: "missive-list-conversations",
|
|
64
64
|
name: "List Missive Conversations",
|