@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateContactInput: z.ZodTypeAny = z.object({\n contacts: z.array(z.object({\n id: z.string().describe(\"Contact ID (required for identifying which contact to update)\"),\n infos: z.array(z.object({\n city: z.string().describe(\"City (for physical_address kind)\").optional(),\n kind: z.enum([\"email\", \"phone_number\", \"twitter\", \"facebook\", \"physical_address\", \"url\", \"custom\"]).describe(\"Type of contact information\"),\n label: z.string().describe(\"Label for the contact info (e.g., 'home', 'work', 'mobile', 'personal', 'other')\").optional(),\n value: z.string().describe(\"Contact information value (email address, phone number, URL, etc.)\").optional(),\n po_box: z.string().describe(\"PO Box number (for physical_address kind)\").optional(),\n region: z.string().describe(\"State or region (for physical_address kind)\").optional(),\n street: z.string().describe(\"Street address (for physical_address kind)\").optional(),\n country: z.string().describe(\"Country (for physical_address kind)\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code (for physical_address kind)\").optional(),\n custom_label: z.string().describe(\"Custom label text when label is 'other'\").optional(),\n extended_address: z.string().describe(\"Extended address line (for physical_address kind)\").optional(),\n}).describe(\"Contact information entry (email, phone, address, social media, URL, or custom).\")).describe(\"Array of contact information entries (emails, phones, addresses, etc.). CRITICAL: Must include ALL items you want to keep - missing items will be deleted.\").optional(),\n notes: z.string().describe(\"Notes about the contact\").optional(),\n gender: z.string().describe(\"Gender\").optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.', 'Ms.', 'Dr.')\").optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.', 'Sr.', 'III')\").optional(),\n file_as: z.string().describe(\"Display name override for how the contact should be filed/sorted\").optional(),\n starred: z.boolean().describe(\"Whether the contact is starred/favorited\").optional(),\n nickname: z.string().describe(\"Nickname\").optional(),\n last_name: z.string().describe(\"Last name\").optional(),\n first_name: z.string().describe(\"First name\").optional(),\n memberships: z.array(z.object({\n group: z.object({\n kind: z.enum([\"organization\", \"group\"]).describe(\"Type of group\"),\n name: z.string().describe(\"Name of the organization or group\"),\n}).describe(\"Organization or group this membership belongs to\"),\n title: z.string().describe(\"Job title\").optional(),\n location: z.string().describe(\"Office location\").optional(),\n department: z.string().describe(\"Department name\").optional(),\n description: z.string().describe(\"Additional description or notes\").optional(),\n}).describe(\"Contact membership in an organization or group.\")).describe(\"Array of organization/group memberships. CRITICAL: Must include ALL items you want to keep - missing items will be deleted.\").optional(),\n middle_name: z.string().describe(\"Middle name\").optional(),\n phonetic_last_name: z.string().describe(\"Phonetic spelling of last name\").optional(),\n phonetic_first_name: z.string().describe(\"Phonetic spelling of first name\").optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic spelling of middle name\").optional(),\n}).describe(\"Contact update data. Only include fields you want to update.\\nIMPORTANT: infos and memberships arrays must include ALL items - missing items will be deleted.\")).describe(\"Array of contact objects with id and attributes to update. Only include fields you want to change.\"),\n}).describe(\"Request model for updating one or more contacts.\");\nconst MissiveUpdateContact_UpdatedContactInfoResponseSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City\").nullable().optional(),\n kind: z.string().describe(\"Type of contact information\"),\n label: z.string().describe(\"Label for the contact info\").nullable().optional(),\n value: z.string().describe(\"Contact information value\").nullable().optional(),\n po_box: z.string().describe(\"PO Box number\").nullable().optional(),\n region: z.string().describe(\"State or region\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n custom_label: z.string().describe(\"Custom label text\").nullable().optional(),\n extended_address: z.string().describe(\"Extended address line\").nullable().optional(),\n}).describe(\"Contact info entry in response.\");\nconst MissiveUpdateContact_UpdatedMembershipGroupResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Group ID (returned in response)\").nullable().optional(),\n kind: z.string().describe(\"Type of group\"),\n name: z.string().describe(\"Name of the organization or group\"),\n}).describe(\"Organization or group in response.\");\nconst MissiveUpdateContact_UpdatedContactMembershipResponseSchema: z.ZodTypeAny = z.object({\n group: MissiveUpdateContact_UpdatedMembershipGroupResponseSchema.nullable(),\n title: z.string().describe(\"Job title\").nullable().optional(),\n location: z.string().describe(\"Office location\").nullable().optional(),\n department: z.string().describe(\"Department name\").nullable().optional(),\n description: z.string().describe(\"Additional description\").nullable().optional(),\n}).describe(\"Contact membership in response.\");\nconst MissiveUpdateContact_UpdatedContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact unique identifier\"),\n infos: z.array(MissiveUpdateContact_UpdatedContactInfoResponseSchema).describe(\"Array of contact information entries\").nullable().optional(),\n notes: z.string().describe(\"Notes about the contact\").nullable().optional(),\n gender: z.string().describe(\"Gender\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix\").nullable().optional(),\n file_as: z.string().describe(\"Display name override\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is starred\").nullable().optional(),\n nickname: z.string().describe(\"Nickname\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n memberships: z.array(MissiveUpdateContact_UpdatedContactMembershipResponseSchema).describe(\"Array of organization/group memberships\").nullable().optional(),\n middle_name: z.string().describe(\"Middle name\").nullable().optional(),\n phonetic_last_name: z.string().describe(\"Phonetic last name\").nullable().optional(),\n phonetic_first_name: z.string().describe(\"Phonetic first name\").nullable().optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic middle name\").nullable().optional(),\n}).describe(\"Updated contact object in response.\");\nexport const MissiveUpdateContactOutput: z.ZodTypeAny = z.object({\n contacts: z.array(MissiveUpdateContact_UpdatedContactSchema).describe(\"Array of updated contact objects with their current state\"),\n}).describe(\"Response model for updating contacts.\");\n\nexport const missiveUpdateContact = action(\"MISSIVE_UPDATE_CONTACT\", {\n slug: \"missive-update-contact\",\n name: \"Update Missive Contact\",\n description: \"Tool to update one or more contacts in Missive. Use when you need to modify contact attributes. Only pass fields you want to update. CRITICAL: infos and memberships arrays must include ALL items when passed - omitted entries will be permanently deleted.\",\n input: MissiveUpdateContactInput,\n output: MissiveUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACvF,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,KAAK;GAAC;GAAS;GAAgB;GAAW;GAAY;GAAoB;GAAO;EAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACxH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAA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AAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,UAAU,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACnI,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateContactInput = z.object({\n contacts: z.array(z.object({\n id: z.string().describe(\"Contact ID (required for identifying which contact to update)\"),\n infos: z.array(z.object({\n city: z.string().describe(\"City (for physical_address kind)\").optional(),\n kind: z.enum([\"email\", \"phone_number\", \"twitter\", \"facebook\", \"physical_address\", \"url\", \"custom\"]).describe(\"Type of contact information\"),\n label: z.string().describe(\"Label for the contact info (e.g., 'home', 'work', 'mobile', 'personal', 'other')\").optional(),\n value: z.string().describe(\"Contact information value (email address, phone number, URL, etc.)\").optional(),\n po_box: z.string().describe(\"PO Box number (for physical_address kind)\").optional(),\n region: z.string().describe(\"State or region (for physical_address kind)\").optional(),\n street: z.string().describe(\"Street address (for physical_address kind)\").optional(),\n country: z.string().describe(\"Country (for physical_address kind)\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code (for physical_address kind)\").optional(),\n custom_label: z.string().describe(\"Custom label text when label is 'other'\").optional(),\n extended_address: z.string().describe(\"Extended address line (for physical_address kind)\").optional(),\n}).passthrough().describe(\"Contact information entry (email, phone, address, social media, URL, or custom).\")).describe(\"Array of contact information entries (emails, phones, addresses, etc.). CRITICAL: Must include ALL items you want to keep - missing items will be deleted.\").optional(),\n notes: z.string().describe(\"Notes about the contact\").optional(),\n gender: z.string().describe(\"Gender\").optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.', 'Ms.', 'Dr.')\").optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.', 'Sr.', 'III')\").optional(),\n file_as: z.string().describe(\"Display name override for how the contact should be filed/sorted\").optional(),\n starred: z.boolean().describe(\"Whether the contact is starred/favorited\").optional(),\n nickname: z.string().describe(\"Nickname\").optional(),\n last_name: z.string().describe(\"Last name\").optional(),\n first_name: z.string().describe(\"First name\").optional(),\n memberships: z.array(z.object({\n group: z.object({\n kind: z.enum([\"organization\", \"group\"]).describe(\"Type of group\"),\n name: z.string().describe(\"Name of the organization or group\"),\n}).describe(\"Organization or group this membership belongs to\"),\n title: z.string().describe(\"Job title\").optional(),\n location: z.string().describe(\"Office location\").optional(),\n department: z.string().describe(\"Department name\").optional(),\n description: z.string().describe(\"Additional description or notes\").optional(),\n}).passthrough().describe(\"Contact membership in an organization or group.\")).describe(\"Array of organization/group memberships. CRITICAL: Must include ALL items you want to keep - missing items will be deleted.\").optional(),\n middle_name: z.string().describe(\"Middle name\").optional(),\n phonetic_last_name: z.string().describe(\"Phonetic spelling of last name\").optional(),\n phonetic_first_name: z.string().describe(\"Phonetic spelling of first name\").optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic spelling of middle name\").optional(),\n}).passthrough().describe(\"Contact update data. Only include fields you want to update.\\nIMPORTANT: infos and memberships arrays must include ALL items - missing items will be deleted.\")).describe(\"Array of contact objects with id and attributes to update. Only include fields you want to change.\"),\n}).describe(\"Request model for updating one or more contacts.\");\nconst MissiveUpdateContact_UpdatedContactInfoResponseSchema = z.object({\n city: z.string().describe(\"City\").nullable().optional(),\n kind: z.string().describe(\"Type of contact information\").nullable(),\n label: z.string().describe(\"Label for the contact info\").nullable().optional(),\n value: z.string().describe(\"Contact information value\").nullable().optional(),\n po_box: z.string().describe(\"PO Box number\").nullable().optional(),\n region: z.string().describe(\"State or region\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n custom_label: z.string().describe(\"Custom label text\").nullable().optional(),\n extended_address: z.string().describe(\"Extended address line\").nullable().optional(),\n}).passthrough().describe(\"Contact info entry in response.\");\nconst MissiveUpdateContact_UpdatedMembershipGroupResponseSchema = z.object({\n id: z.string().describe(\"Group ID (returned in response)\").nullable().optional(),\n kind: z.string().describe(\"Type of group\").nullable(),\n name: z.string().describe(\"Name of the organization or group\").nullable(),\n}).passthrough().describe(\"Organization or group in response.\");\nconst MissiveUpdateContact_UpdatedContactMembershipResponseSchema = z.object({\n group: MissiveUpdateContact_UpdatedMembershipGroupResponseSchema.nullable(),\n title: z.string().describe(\"Job title\").nullable().optional(),\n location: z.string().describe(\"Office location\").nullable().optional(),\n department: z.string().describe(\"Department name\").nullable().optional(),\n description: z.string().describe(\"Additional description\").nullable().optional(),\n}).passthrough().describe(\"Contact membership in response.\");\nconst MissiveUpdateContact_UpdatedContactSchema = z.object({\n id: z.string().describe(\"Contact unique identifier\").nullable(),\n infos: z.array(MissiveUpdateContact_UpdatedContactInfoResponseSchema).describe(\"Array of contact information entries\").nullable().optional(),\n notes: z.string().describe(\"Notes about the contact\").nullable().optional(),\n gender: z.string().describe(\"Gender\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix\").nullable().optional(),\n file_as: z.string().describe(\"Display name override\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is starred\").nullable().optional(),\n nickname: z.string().describe(\"Nickname\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n memberships: z.array(MissiveUpdateContact_UpdatedContactMembershipResponseSchema).describe(\"Array of organization/group memberships\").nullable().optional(),\n middle_name: z.string().describe(\"Middle name\").nullable().optional(),\n phonetic_last_name: z.string().describe(\"Phonetic last name\").nullable().optional(),\n phonetic_first_name: z.string().describe(\"Phonetic first name\").nullable().optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic middle name\").nullable().optional(),\n}).passthrough().describe(\"Updated contact object in response.\");\nexport const MissiveUpdateContactOutput = z.object({\n contacts: z.array(MissiveUpdateContact_UpdatedContactSchema).describe(\"Array of updated contact objects with their current state\"),\n}).passthrough().describe(\"Response model for updating contacts.\");\n\nexport const missiveUpdateContact = action(\"MISSIVE_UPDATE_CONTACT\", {\n slug: \"missive-update-contact\",\n name: \"Update Missive Contact\",\n description: \"Tool to update one or more contacts in Missive. Use when you need to modify contact attributes. Only pass fields you want to update. CRITICAL: infos and memberships arrays must include ALL items when passed - omitted entries will be permanently deleted.\",\n input: MissiveUpdateContactInput,\n output: MissiveUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACvF,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,KAAK;GAAC;GAAS;GAAgB;GAAW;GAAY;GAAoB;GAAO;EAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACxH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,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CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -11,33 +11,33 @@ const MissiveUpdateResponseInput = zod.z.object({
|
|
|
11
11
|
cc_fields: zod.z.array(zod.z.object({
|
|
12
12
|
name: zod.z.string().describe("Display name associated with the email address").optional(),
|
|
13
13
|
address: zod.z.string().describe("Email address of the recipient").optional()
|
|
14
|
-
}).describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for CC field").optional(),
|
|
14
|
+
}).passthrough().describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for CC field").optional(),
|
|
15
15
|
to_fields: zod.z.array(zod.z.object({
|
|
16
16
|
name: zod.z.string().describe("Display name associated with the email address").optional(),
|
|
17
17
|
address: zod.z.string().describe("Email address of the recipient").optional()
|
|
18
|
-
}).describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for To field").optional(),
|
|
18
|
+
}).passthrough().describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for To field").optional(),
|
|
19
19
|
bcc_fields: zod.z.array(zod.z.object({
|
|
20
20
|
name: zod.z.string().describe("Display name associated with the email address").optional(),
|
|
21
21
|
address: zod.z.string().describe("Email address of the recipient").optional()
|
|
22
|
-
}).describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for BCC field").optional(),
|
|
22
|
+
}).passthrough().describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for BCC field").optional(),
|
|
23
23
|
attachments: zod.z.array(zod.z.object({
|
|
24
24
|
filename: zod.z.string().describe("Name of the attachment file").optional(),
|
|
25
25
|
base64_data: zod.z.string().describe("Base64-encoded file content").optional()
|
|
26
|
-
}).describe("File attachment object for responses.")).describe("Array of file objects. Must include all attachments you want to keep - omitted attachments will be removed").optional(),
|
|
26
|
+
}).passthrough().describe("File attachment object for responses.")).describe("Array of file objects. Must include all attachments you want to keep - omitted attachments will be removed").optional(),
|
|
27
27
|
shared_labels: zod.z.array(zod.z.string()).describe("Array of shared label IDs").optional(),
|
|
28
28
|
share_with_team: zod.z.string().describe("Team ID to share the response with").optional()
|
|
29
|
-
}).describe("Individual response object to update.")).describe("Array of response objects to update. Each must include the 'id' field and the attributes to update")
|
|
29
|
+
}).passthrough().describe("Individual response object to update.")).describe("Array of response objects to update. Each must include the 'id' field and the attributes to update")
|
|
30
30
|
}).describe("Request model for updating one or more saved responses in Missive.");
|
|
31
31
|
const MissiveUpdateResponse_RecipientFieldSchema = zod.z.object({
|
|
32
32
|
name: zod.z.string().describe("Display name associated with the email address").nullable().optional(),
|
|
33
33
|
address: zod.z.string().describe("Email address of the recipient").nullable().optional()
|
|
34
|
-
}).describe("Recipient field for to/cc/bcc fields in responses.");
|
|
34
|
+
}).passthrough().describe("Recipient field for to/cc/bcc fields in responses.");
|
|
35
35
|
const MissiveUpdateResponse_FileObjectSchema = zod.z.object({
|
|
36
36
|
filename: zod.z.string().describe("Name of the attachment file").nullable().optional(),
|
|
37
37
|
base64_data: zod.z.string().describe("Base64-encoded file content").nullable().optional()
|
|
38
|
-
}).describe("File attachment object for responses.");
|
|
38
|
+
}).passthrough().describe("File attachment object for responses.");
|
|
39
39
|
const MissiveUpdateResponse_UpdatedResponseSchema = zod.z.object({
|
|
40
|
-
id: zod.z.string().describe("Response unique identifier"),
|
|
40
|
+
id: zod.z.string().describe("Response unique identifier").nullable(),
|
|
41
41
|
body: zod.z.string().describe("HTML content of the response").nullable().optional(),
|
|
42
42
|
title: zod.z.string().describe("Response title").nullable().optional(),
|
|
43
43
|
subject: zod.z.string().describe("Subject line").nullable().optional(),
|
|
@@ -49,8 +49,8 @@ const MissiveUpdateResponse_UpdatedResponseSchema = zod.z.object({
|
|
|
49
49
|
attachments: zod.z.array(MissiveUpdateResponse_FileObjectSchema).describe("Array of file objects").nullable().optional(),
|
|
50
50
|
shared_labels: zod.z.array(zod.z.string()).describe("Array of shared label IDs").nullable().optional(),
|
|
51
51
|
share_with_team: zod.z.string().describe("Team ID for sharing").nullable().optional()
|
|
52
|
-
}).describe("Individual updated response object.");
|
|
53
|
-
const MissiveUpdateResponseOutput = zod.z.object({ responses: zod.z.array(MissiveUpdateResponse_UpdatedResponseSchema).describe("Array of updated response objects") }).describe("Response model for updating saved responses.");
|
|
52
|
+
}).passthrough().describe("Individual updated response object.");
|
|
53
|
+
const MissiveUpdateResponseOutput = zod.z.object({ responses: zod.z.array(MissiveUpdateResponse_UpdatedResponseSchema).describe("Array of updated response objects") }).passthrough().describe("Response model for updating saved responses.");
|
|
54
54
|
const missiveUpdateResponse = require_action.action("MISSIVE_UPDATE_RESPONSE", {
|
|
55
55
|
slug: "missive-update-response",
|
|
56
56
|
name: "Update Saved Response",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-response.cjs","names":["z","action"],"sources":["../../src/actions/update-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateResponseInput
|
|
1
|
+
{"version":3,"file":"update-response.cjs","names":["z","action"],"sources":["../../src/actions/update-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateResponseInput = z.object({\n id: z.string().describe(\"Response ID to update. Can pass multiple comma-separated IDs for bulk update\"),\n responses: z.array(z.object({\n id: z.string().describe(\"Response ID to update (required)\"),\n body: z.string().describe(\"HTML content of the response\").optional(),\n title: z.string().describe(\"Response title\").optional(),\n subject: z.string().describe(\"Subject line for the response\").optional(),\n cc_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient\").optional(),\n}).passthrough().describe(\"Recipient field for to/cc/bcc fields in responses.\")).describe(\"Array of recipient objects for CC field\").optional(),\n to_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient\").optional(),\n}).passthrough().describe(\"Recipient field for to/cc/bcc fields in responses.\")).describe(\"Array of recipient objects for To field\").optional(),\n bcc_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient\").optional(),\n}).passthrough().describe(\"Recipient field for to/cc/bcc fields in responses.\")).describe(\"Array of recipient objects for BCC field\").optional(),\n attachments: z.array(z.object({\n filename: z.string().describe(\"Name of the attachment file\").optional(),\n base64_data: z.string().describe(\"Base64-encoded file content\").optional(),\n}).passthrough().describe(\"File attachment object for responses.\")).describe(\"Array of file objects. Must include all attachments you want to keep - omitted attachments will be removed\").optional(),\n shared_labels: z.array(z.string()).describe(\"Array of shared label IDs\").optional(),\n share_with_team: z.string().describe(\"Team ID to share the response with\").optional(),\n}).passthrough().describe(\"Individual response object to update.\")).describe(\"Array of response objects to update. Each must include the 'id' field and the attributes to update\"),\n}).describe(\"Request model for updating one or more saved responses in Missive.\");\nconst MissiveUpdateResponse_RecipientFieldSchema = z.object({\n name: z.string().describe(\"Display name associated with the email address\").nullable().optional(),\n address: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n}).passthrough().describe(\"Recipient field for to/cc/bcc fields in responses.\");\nconst MissiveUpdateResponse_FileObjectSchema = z.object({\n filename: z.string().describe(\"Name of the attachment file\").nullable().optional(),\n base64_data: z.string().describe(\"Base64-encoded file content\").nullable().optional(),\n}).passthrough().describe(\"File attachment object for responses.\");\nconst MissiveUpdateResponse_UpdatedResponseSchema = z.object({\n id: z.string().describe(\"Response unique identifier\").nullable(),\n body: z.string().describe(\"HTML content of the response\").nullable().optional(),\n title: z.string().describe(\"Response title\").nullable().optional(),\n subject: z.string().describe(\"Subject line\").nullable().optional(),\n cc_fields: z.array(MissiveUpdateResponse_RecipientFieldSchema).describe(\"Array of recipient objects for CC field\").nullable().optional(),\n to_fields: z.array(MissiveUpdateResponse_RecipientFieldSchema).describe(\"Array of recipient objects for To field\").nullable().optional(),\n bcc_fields: z.array(MissiveUpdateResponse_RecipientFieldSchema).describe(\"Array of recipient objects for BCC field\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of when the response was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp of when the response was last updated\").nullable().optional(),\n attachments: z.array(MissiveUpdateResponse_FileObjectSchema).describe(\"Array of file objects\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Array of shared label IDs\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID for sharing\").nullable().optional(),\n}).passthrough().describe(\"Individual updated response object.\");\nexport const MissiveUpdateResponseOutput = z.object({\n responses: z.array(MissiveUpdateResponse_UpdatedResponseSchema).describe(\"Array of updated response objects\"),\n}).passthrough().describe(\"Response model for updating saved responses.\");\n\nexport const missiveUpdateResponse = action(\"MISSIVE_UPDATE_RESPONSE\", {\n slug: \"missive-update-response\",\n name: \"Update Saved Response\",\n description: \"Tool to update one or more saved responses in Missive. Use when you need to modify existing response templates by changing title, body, subject, or other attributes. Returns the updated responses.\",\n input: MissiveUpdateResponseInput,\n output: MissiveUpdateResponseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACtG,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,E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AAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,mCAAmC,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,93 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-response.d.ts
|
|
4
|
-
declare const MissiveUpdateResponseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveUpdateResponseInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
responses: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
body: z.ZodOptional<z.ZodString>;
|
|
9
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
11
|
+
cc_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13
|
+
address: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
|
+
to_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
|
+
name: z.ZodOptional<z.ZodString>;
|
|
17
|
+
address: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
bcc_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
address: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
25
|
+
base64_data: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
|
+
shared_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
share_with_team: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const MissiveUpdateResponseOutput: z.ZodObject<{
|
|
32
|
+
responses: z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodNullable<z.ZodString>;
|
|
34
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
cc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
|
+
to_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
42
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
}, z.core.$loose>>>>;
|
|
45
|
+
bcc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
50
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
52
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
base64_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
}, z.core.$loose>>>>;
|
|
55
|
+
shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
56
|
+
share_with_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
|
+
}, z.core.$loose>;
|
|
59
|
+
declare const missiveUpdateResponse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
|
+
id: string;
|
|
61
|
+
responses: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
id: string;
|
|
64
|
+
body?: string | undefined;
|
|
65
|
+
title?: string | undefined;
|
|
66
|
+
subject?: string | undefined;
|
|
67
|
+
cc_fields?: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
name?: string | undefined;
|
|
70
|
+
address?: string | undefined;
|
|
71
|
+
}[] | undefined;
|
|
72
|
+
to_fields?: {
|
|
73
|
+
[x: string]: unknown;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
address?: string | undefined;
|
|
76
|
+
}[] | undefined;
|
|
77
|
+
bcc_fields?: {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
name?: string | undefined;
|
|
80
|
+
address?: string | undefined;
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
attachments?: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
filename?: string | undefined;
|
|
85
|
+
base64_data?: string | undefined;
|
|
86
|
+
}[] | undefined;
|
|
87
|
+
shared_labels?: string[] | undefined;
|
|
88
|
+
share_with_team?: string | undefined;
|
|
89
|
+
}[];
|
|
90
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
91
|
//#endregion
|
|
8
92
|
export { missiveUpdateResponse };
|
|
9
93
|
//# sourceMappingURL=update-response.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-response.d.cts","names":[],"sources":["../../src/actions/update-response.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"update-response.d.cts","names":[],"sources":["../../src/actions/update-response.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,93 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-response.d.ts
|
|
4
|
-
declare const MissiveUpdateResponseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveUpdateResponseInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
responses: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
body: z.ZodOptional<z.ZodString>;
|
|
9
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
11
|
+
cc_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13
|
+
address: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
|
+
to_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
|
+
name: z.ZodOptional<z.ZodString>;
|
|
17
|
+
address: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
bcc_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
address: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
25
|
+
base64_data: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
|
+
shared_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
share_with_team: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const MissiveUpdateResponseOutput: z.ZodObject<{
|
|
32
|
+
responses: z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodNullable<z.ZodString>;
|
|
34
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
cc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
|
+
to_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
42
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
}, z.core.$loose>>>>;
|
|
45
|
+
bcc_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
50
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
52
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
base64_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
}, z.core.$loose>>>>;
|
|
55
|
+
shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
56
|
+
share_with_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
|
+
}, z.core.$loose>;
|
|
59
|
+
declare const missiveUpdateResponse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
|
+
id: string;
|
|
61
|
+
responses: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
id: string;
|
|
64
|
+
body?: string | undefined;
|
|
65
|
+
title?: string | undefined;
|
|
66
|
+
subject?: string | undefined;
|
|
67
|
+
cc_fields?: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
name?: string | undefined;
|
|
70
|
+
address?: string | undefined;
|
|
71
|
+
}[] | undefined;
|
|
72
|
+
to_fields?: {
|
|
73
|
+
[x: string]: unknown;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
address?: string | undefined;
|
|
76
|
+
}[] | undefined;
|
|
77
|
+
bcc_fields?: {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
name?: string | undefined;
|
|
80
|
+
address?: string | undefined;
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
attachments?: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
filename?: string | undefined;
|
|
85
|
+
base64_data?: string | undefined;
|
|
86
|
+
}[] | undefined;
|
|
87
|
+
shared_labels?: string[] | undefined;
|
|
88
|
+
share_with_team?: string | undefined;
|
|
89
|
+
}[];
|
|
90
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
91
|
//#endregion
|
|
8
92
|
export { missiveUpdateResponse };
|
|
9
93
|
//# sourceMappingURL=update-response.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-response.d.mts","names":[],"sources":["../../src/actions/update-response.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"update-response.d.mts","names":[],"sources":["../../src/actions/update-response.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -11,33 +11,33 @@ const MissiveUpdateResponseInput = z.object({
|
|
|
11
11
|
cc_fields: z.array(z.object({
|
|
12
12
|
name: z.string().describe("Display name associated with the email address").optional(),
|
|
13
13
|
address: z.string().describe("Email address of the recipient").optional()
|
|
14
|
-
}).describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for CC field").optional(),
|
|
14
|
+
}).passthrough().describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for CC field").optional(),
|
|
15
15
|
to_fields: z.array(z.object({
|
|
16
16
|
name: z.string().describe("Display name associated with the email address").optional(),
|
|
17
17
|
address: z.string().describe("Email address of the recipient").optional()
|
|
18
|
-
}).describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for To field").optional(),
|
|
18
|
+
}).passthrough().describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for To field").optional(),
|
|
19
19
|
bcc_fields: z.array(z.object({
|
|
20
20
|
name: z.string().describe("Display name associated with the email address").optional(),
|
|
21
21
|
address: z.string().describe("Email address of the recipient").optional()
|
|
22
|
-
}).describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for BCC field").optional(),
|
|
22
|
+
}).passthrough().describe("Recipient field for to/cc/bcc fields in responses.")).describe("Array of recipient objects for BCC field").optional(),
|
|
23
23
|
attachments: z.array(z.object({
|
|
24
24
|
filename: z.string().describe("Name of the attachment file").optional(),
|
|
25
25
|
base64_data: z.string().describe("Base64-encoded file content").optional()
|
|
26
|
-
}).describe("File attachment object for responses.")).describe("Array of file objects. Must include all attachments you want to keep - omitted attachments will be removed").optional(),
|
|
26
|
+
}).passthrough().describe("File attachment object for responses.")).describe("Array of file objects. Must include all attachments you want to keep - omitted attachments will be removed").optional(),
|
|
27
27
|
shared_labels: z.array(z.string()).describe("Array of shared label IDs").optional(),
|
|
28
28
|
share_with_team: z.string().describe("Team ID to share the response with").optional()
|
|
29
|
-
}).describe("Individual response object to update.")).describe("Array of response objects to update. Each must include the 'id' field and the attributes to update")
|
|
29
|
+
}).passthrough().describe("Individual response object to update.")).describe("Array of response objects to update. Each must include the 'id' field and the attributes to update")
|
|
30
30
|
}).describe("Request model for updating one or more saved responses in Missive.");
|
|
31
31
|
const MissiveUpdateResponse_RecipientFieldSchema = z.object({
|
|
32
32
|
name: z.string().describe("Display name associated with the email address").nullable().optional(),
|
|
33
33
|
address: z.string().describe("Email address of the recipient").nullable().optional()
|
|
34
|
-
}).describe("Recipient field for to/cc/bcc fields in responses.");
|
|
34
|
+
}).passthrough().describe("Recipient field for to/cc/bcc fields in responses.");
|
|
35
35
|
const MissiveUpdateResponse_FileObjectSchema = z.object({
|
|
36
36
|
filename: z.string().describe("Name of the attachment file").nullable().optional(),
|
|
37
37
|
base64_data: z.string().describe("Base64-encoded file content").nullable().optional()
|
|
38
|
-
}).describe("File attachment object for responses.");
|
|
38
|
+
}).passthrough().describe("File attachment object for responses.");
|
|
39
39
|
const MissiveUpdateResponse_UpdatedResponseSchema = z.object({
|
|
40
|
-
id: z.string().describe("Response unique identifier"),
|
|
40
|
+
id: z.string().describe("Response unique identifier").nullable(),
|
|
41
41
|
body: z.string().describe("HTML content of the response").nullable().optional(),
|
|
42
42
|
title: z.string().describe("Response title").nullable().optional(),
|
|
43
43
|
subject: z.string().describe("Subject line").nullable().optional(),
|
|
@@ -49,13 +49,13 @@ const MissiveUpdateResponse_UpdatedResponseSchema = z.object({
|
|
|
49
49
|
attachments: z.array(MissiveUpdateResponse_FileObjectSchema).describe("Array of file objects").nullable().optional(),
|
|
50
50
|
shared_labels: z.array(z.string()).describe("Array of shared label IDs").nullable().optional(),
|
|
51
51
|
share_with_team: z.string().describe("Team ID for sharing").nullable().optional()
|
|
52
|
-
}).describe("Individual updated response object.");
|
|
52
|
+
}).passthrough().describe("Individual updated response object.");
|
|
53
53
|
const missiveUpdateResponse = action("MISSIVE_UPDATE_RESPONSE", {
|
|
54
54
|
slug: "missive-update-response",
|
|
55
55
|
name: "Update Saved Response",
|
|
56
56
|
description: "Tool to update one or more saved responses in Missive. Use when you need to modify existing response templates by changing title, body, subject, or other attributes. Returns the updated responses.",
|
|
57
57
|
input: MissiveUpdateResponseInput,
|
|
58
|
-
output: z.object({ responses: z.array(MissiveUpdateResponse_UpdatedResponseSchema).describe("Array of updated response objects") }).describe("Response model for updating saved responses.")
|
|
58
|
+
output: z.object({ responses: z.array(MissiveUpdateResponse_UpdatedResponseSchema).describe("Array of updated response objects") }).passthrough().describe("Response model for updating saved responses.")
|
|
59
59
|
});
|
|
60
60
|
//#endregion
|
|
61
61
|
export { missiveUpdateResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-response.mjs","names":[],"sources":["../../src/actions/update-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateResponseInput
|
|
1
|
+
{"version":3,"file":"update-response.mjs","names":[],"sources":["../../src/actions/update-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateResponseInput = z.object({\n id: z.string().describe(\"Response ID to update. Can pass multiple comma-separated IDs for bulk update\"),\n responses: z.array(z.object({\n id: z.string().describe(\"Response ID to update (required)\"),\n body: z.string().describe(\"HTML content of the response\").optional(),\n title: z.string().describe(\"Response title\").optional(),\n subject: z.string().describe(\"Subject line for the response\").optional(),\n cc_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient\").optional(),\n}).passthrough().describe(\"Recipient field for to/cc/bcc fields in responses.\")).describe(\"Array of recipient objects for CC field\").optional(),\n to_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient\").optional(),\n}).passthrough().describe(\"Recipient field for to/cc/bcc fields in responses.\")).describe(\"Array of recipient objects for To field\").optional(),\n bcc_fields: z.array(z.object({\n name: z.string().describe(\"Display name associated with the email address\").optional(),\n address: z.string().describe(\"Email address of the recipient\").optional(),\n}).passthrough().describe(\"Recipient field for to/cc/bcc fields in responses.\")).describe(\"Array of recipient objects for BCC field\").optional(),\n attachments: z.array(z.object({\n filename: z.string().describe(\"Name of the attachment file\").optional(),\n base64_data: z.string().describe(\"Base64-encoded file content\").optional(),\n}).passthrough().describe(\"File attachment object for responses.\")).describe(\"Array of file objects. Must include all attachments you want to keep - omitted attachments will be removed\").optional(),\n shared_labels: z.array(z.string()).describe(\"Array of shared label IDs\").optional(),\n share_with_team: z.string().describe(\"Team ID to share the response with\").optional(),\n}).passthrough().describe(\"Individual response object to update.\")).describe(\"Array of response objects to update. Each must include the 'id' field and the attributes to update\"),\n}).describe(\"Request model for updating one or more saved responses in Missive.\");\nconst MissiveUpdateResponse_RecipientFieldSchema = z.object({\n name: z.string().describe(\"Display name associated with the email address\").nullable().optional(),\n address: z.string().describe(\"Email address of the recipient\").nullable().optional(),\n}).passthrough().describe(\"Recipient field for to/cc/bcc fields in responses.\");\nconst MissiveUpdateResponse_FileObjectSchema = z.object({\n filename: z.string().describe(\"Name of the attachment file\").nullable().optional(),\n base64_data: z.string().describe(\"Base64-encoded file content\").nullable().optional(),\n}).passthrough().describe(\"File attachment object for responses.\");\nconst MissiveUpdateResponse_UpdatedResponseSchema = z.object({\n id: z.string().describe(\"Response unique identifier\").nullable(),\n body: z.string().describe(\"HTML content of the response\").nullable().optional(),\n title: z.string().describe(\"Response title\").nullable().optional(),\n subject: z.string().describe(\"Subject line\").nullable().optional(),\n cc_fields: z.array(MissiveUpdateResponse_RecipientFieldSchema).describe(\"Array of recipient objects for CC field\").nullable().optional(),\n to_fields: z.array(MissiveUpdateResponse_RecipientFieldSchema).describe(\"Array of recipient objects for To field\").nullable().optional(),\n bcc_fields: z.array(MissiveUpdateResponse_RecipientFieldSchema).describe(\"Array of recipient objects for BCC field\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of when the response was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp of when the response was last updated\").nullable().optional(),\n attachments: z.array(MissiveUpdateResponse_FileObjectSchema).describe(\"Array of file objects\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Array of shared label IDs\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID for sharing\").nullable().optional(),\n}).passthrough().describe(\"Individual updated response object.\");\nexport const MissiveUpdateResponseOutput = z.object({\n responses: z.array(MissiveUpdateResponse_UpdatedResponseSchema).describe(\"Array of updated response objects\"),\n}).passthrough().describe(\"Response model for updating saved responses.\");\n\nexport const missiveUpdateResponse = action(\"MISSIVE_UPDATE_RESPONSE\", {\n slug: \"missive-update-response\",\n name: \"Update Saved Response\",\n description: \"Tool to update one or more saved responses in Missive. Use when you need to modify existing response templates by changing title, body, subject, or other attributes. Returns the updated responses.\",\n input: MissiveUpdateResponseInput,\n output: MissiveUpdateResponseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACtG,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC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
8
|
name: zod.z.string().describe("Updated name for the shared label"),
|
|
9
9
|
color: zod.z.string().describe("Updated color code for the label in hex format")
|
|
10
|
-
}).describe("Shared label object with attributes to update.")).describe("Array of shared label objects with id and attributes to update")
|
|
10
|
+
}).passthrough().describe("Shared label object with attributes to update.")).describe("Array of shared label objects with id and attributes to update")
|
|
11
11
|
}).describe("Request model for updating one or more shared labels.");
|
|
12
12
|
const MissiveUpdateSharedLabels_SharedLabelResponseSchema = zod.z.object({
|
|
13
|
-
id: zod.z.string().describe("Shared label unique identifier"),
|
|
14
|
-
name: zod.z.string().describe("Shared label name"),
|
|
15
|
-
color: zod.z.string().describe("Label color code in hex format")
|
|
16
|
-
}).describe("Shared label response object.");
|
|
17
|
-
const MissiveUpdateSharedLabelsOutput = zod.z.object({ shared_labels: zod.z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe("Array of updated shared label objects") }).describe("Response model for updating shared labels.");
|
|
13
|
+
id: zod.z.string().describe("Shared label unique identifier").nullable(),
|
|
14
|
+
name: zod.z.string().describe("Shared label name").nullable(),
|
|
15
|
+
color: zod.z.string().describe("Label color code in hex format").nullable()
|
|
16
|
+
}).passthrough().describe("Shared label response object.");
|
|
17
|
+
const MissiveUpdateSharedLabelsOutput = zod.z.object({ shared_labels: zod.z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe("Array of updated shared label objects") }).passthrough().describe("Response model for updating shared labels.");
|
|
18
18
|
const missiveUpdateSharedLabels = require_action.action("MISSIVE_UPDATE_SHARED_LABELS", {
|
|
19
19
|
slug: "missive-update-shared-labels",
|
|
20
20
|
name: "Update Shared Labels",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-shared-labels.cjs","names":["z","action"],"sources":["../../src/actions/update-shared-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateSharedLabelsInput
|
|
1
|
+
{"version":3,"file":"update-shared-labels.cjs","names":["z","action"],"sources":["../../src/actions/update-shared-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateSharedLabelsInput = z.object({\n id: z.string().describe(\"Shared label ID in the path. Can pass multiple comma-separated IDs to update multiple labels.\"),\n shared_labels: z.array(z.object({\n id: z.string().describe(\"Shared label unique identifier to update\"),\n name: z.string().describe(\"Updated name for the shared label\"),\n color: z.string().describe(\"Updated color code for the label in hex format\"),\n}).passthrough().describe(\"Shared label object with attributes to update.\")).describe(\"Array of shared label objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more shared labels.\");\nconst MissiveUpdateSharedLabels_SharedLabelResponseSchema = z.object({\n id: z.string().describe(\"Shared label unique identifier\").nullable(),\n name: z.string().describe(\"Shared label name\").nullable(),\n color: z.string().describe(\"Label color code in hex format\").nullable(),\n}).passthrough().describe(\"Shared label response object.\");\nexport const MissiveUpdateSharedLabelsOutput = z.object({\n shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe(\"Array of updated shared label objects\"),\n}).passthrough().describe(\"Response model for updating shared labels.\");\n\nexport const missiveUpdateSharedLabels = action(\"MISSIVE_UPDATE_SHARED_LABELS\", {\n slug: \"missive-update-shared-labels\",\n name: \"Update Shared Labels\",\n description: \"Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.\",\n input: MissiveUpdateSharedLabelsInput,\n output: MissiveUpdateSharedLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACvH,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAChC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACtJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,uCAAuC,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-shared-labels.d.ts
|
|
4
|
-
declare const MissiveUpdateSharedLabelsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveUpdateSharedLabelsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
shared_labels: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
name: z.ZodString;
|
|
9
|
+
color: z.ZodString;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const MissiveUpdateSharedLabelsOutput: z.ZodObject<{
|
|
13
|
+
shared_labels: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
color: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const missiveUpdateSharedLabels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
shared_labels: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
color: string;
|
|
26
|
+
}[];
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { missiveUpdateSharedLabels };
|
|
9
30
|
//# sourceMappingURL=update-shared-labels.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-shared-labels.d.cts","names":[],"sources":["../../src/actions/update-shared-labels.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-shared-labels.d.cts","names":[],"sources":["../../src/actions/update-shared-labels.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-shared-labels.d.ts
|
|
4
|
-
declare const MissiveUpdateSharedLabelsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveUpdateSharedLabelsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
shared_labels: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
name: z.ZodString;
|
|
9
|
+
color: z.ZodString;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const MissiveUpdateSharedLabelsOutput: z.ZodObject<{
|
|
13
|
+
shared_labels: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
color: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const missiveUpdateSharedLabels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
shared_labels: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
color: string;
|
|
26
|
+
}[];
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { missiveUpdateSharedLabels };
|
|
9
30
|
//# sourceMappingURL=update-shared-labels.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-shared-labels.d.mts","names":[],"sources":["../../src/actions/update-shared-labels.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-shared-labels.d.mts","names":[],"sources":["../../src/actions/update-shared-labels.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|