@keystrokehq/missive 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-analytics-report.cjs +1 -0
- package/dist/actions/create-analytics-report.cjs.map +1 -1
- package/dist/actions/create-analytics-report.d.cts +3 -13
- package/dist/actions/create-analytics-report.d.cts.map +1 -1
- package/dist/actions/create-analytics-report.d.mts +3 -13
- package/dist/actions/create-analytics-report.d.mts.map +1 -1
- package/dist/actions/create-analytics-report.mjs +1 -0
- package/dist/actions/create-analytics-report.mjs.map +1 -1
- package/dist/actions/create-contacts.cjs +1 -0
- package/dist/actions/create-contacts.cjs.map +1 -1
- package/dist/actions/create-contacts.d.cts +4 -45
- package/dist/actions/create-contacts.d.cts.map +1 -1
- package/dist/actions/create-contacts.d.mts +4 -45
- package/dist/actions/create-contacts.d.mts.map +1 -1
- package/dist/actions/create-contacts.mjs +1 -0
- package/dist/actions/create-contacts.mjs.map +1 -1
- package/dist/actions/create-draft.cjs +1 -0
- package/dist/actions/create-draft.cjs.map +1 -1
- package/dist/actions/create-draft.d.cts +3 -68
- package/dist/actions/create-draft.d.cts.map +1 -1
- package/dist/actions/create-draft.d.mts +3 -68
- package/dist/actions/create-draft.d.mts.map +1 -1
- package/dist/actions/create-draft.mjs +1 -0
- package/dist/actions/create-draft.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -0
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +3 -18
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +3 -18
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +1 -0
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-response.cjs +1 -0
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +3 -11
- package/dist/actions/create-response.d.cts.map +1 -1
- package/dist/actions/create-response.d.mts +3 -11
- package/dist/actions/create-response.d.mts.map +1 -1
- package/dist/actions/create-response.mjs +1 -0
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-shared-label.cjs +1 -0
- package/dist/actions/create-shared-label.cjs.map +1 -1
- package/dist/actions/create-shared-label.d.cts +3 -10
- package/dist/actions/create-shared-label.d.cts.map +1 -1
- package/dist/actions/create-shared-label.d.mts +3 -10
- package/dist/actions/create-shared-label.d.mts.map +1 -1
- package/dist/actions/create-shared-label.mjs +1 -0
- package/dist/actions/create-shared-label.mjs.map +1 -1
- package/dist/actions/create-task.cjs +1 -0
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +3 -14
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +3 -14
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +1 -0
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-team.cjs +1 -0
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +3 -10
- package/dist/actions/create-team.d.cts.map +1 -1
- package/dist/actions/create-team.d.mts +3 -10
- package/dist/actions/create-team.d.mts.map +1 -1
- package/dist/actions/create-team.mjs +1 -0
- package/dist/actions/create-team.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -13
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -13
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-draft.cjs +1 -0
- package/dist/actions/delete-draft.cjs.map +1 -1
- package/dist/actions/delete-draft.d.cts +3 -3
- package/dist/actions/delete-draft.d.cts.map +1 -1
- package/dist/actions/delete-draft.d.mts +3 -3
- package/dist/actions/delete-draft.d.mts.map +1 -1
- package/dist/actions/delete-draft.mjs +1 -0
- package/dist/actions/delete-draft.mjs.map +1 -1
- package/dist/actions/delete-post.cjs +1 -0
- package/dist/actions/delete-post.cjs.map +1 -1
- package/dist/actions/delete-post.d.cts +3 -3
- package/dist/actions/delete-post.d.cts.map +1 -1
- package/dist/actions/delete-post.d.mts +3 -3
- package/dist/actions/delete-post.d.mts.map +1 -1
- package/dist/actions/delete-post.mjs +1 -0
- package/dist/actions/delete-post.mjs.map +1 -1
- package/dist/actions/delete-responses.cjs +1 -0
- package/dist/actions/delete-responses.cjs.map +1 -1
- package/dist/actions/delete-responses.d.cts +3 -3
- package/dist/actions/delete-responses.d.cts.map +1 -1
- package/dist/actions/delete-responses.d.mts +3 -3
- package/dist/actions/delete-responses.d.mts.map +1 -1
- package/dist/actions/delete-responses.mjs +1 -0
- package/dist/actions/delete-responses.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-analytics-report.cjs +1 -0
- package/dist/actions/get-analytics-report.cjs.map +1 -1
- package/dist/actions/get-analytics-report.d.cts +3 -3
- package/dist/actions/get-analytics-report.d.cts.map +1 -1
- package/dist/actions/get-analytics-report.d.mts +3 -3
- package/dist/actions/get-analytics-report.d.mts.map +1 -1
- package/dist/actions/get-analytics-report.mjs +1 -0
- package/dist/actions/get-analytics-report.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-conversation-messages.cjs +1 -0
- package/dist/actions/get-conversation-messages.cjs.map +1 -1
- package/dist/actions/get-conversation-messages.d.cts +3 -5
- package/dist/actions/get-conversation-messages.d.cts.map +1 -1
- package/dist/actions/get-conversation-messages.d.mts +3 -5
- package/dist/actions/get-conversation-messages.d.mts.map +1 -1
- package/dist/actions/get-conversation-messages.mjs +1 -0
- package/dist/actions/get-conversation-messages.mjs.map +1 -1
- package/dist/actions/get-conversation.cjs +1 -0
- package/dist/actions/get-conversation.cjs.map +1 -1
- package/dist/actions/get-conversation.d.cts +3 -3
- package/dist/actions/get-conversation.d.cts.map +1 -1
- package/dist/actions/get-conversation.d.mts +3 -3
- package/dist/actions/get-conversation.d.mts.map +1 -1
- package/dist/actions/get-conversation.mjs +1 -0
- package/dist/actions/get-conversation.mjs.map +1 -1
- package/dist/actions/get-message.cjs +1 -0
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +3 -3
- package/dist/actions/get-message.d.cts.map +1 -1
- package/dist/actions/get-message.d.mts +3 -3
- package/dist/actions/get-message.d.mts.map +1 -1
- package/dist/actions/get-message.mjs +1 -0
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +1 -0
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +3 -3
- package/dist/actions/get-response.d.cts.map +1 -1
- package/dist/actions/get-response.d.mts +3 -3
- package/dist/actions/get-response.d.mts.map +1 -1
- package/dist/actions/get-response.mjs +1 -0
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-task.cjs +1 -0
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +3 -3
- package/dist/actions/get-task.d.cts.map +1 -1
- package/dist/actions/get-task.d.mts +3 -3
- package/dist/actions/get-task.d.mts.map +1 -1
- package/dist/actions/get-task.mjs +1 -0
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/list-contact-books.cjs +1 -0
- package/dist/actions/list-contact-books.cjs.map +1 -1
- package/dist/actions/list-contact-books.d.cts +3 -4
- package/dist/actions/list-contact-books.d.cts.map +1 -1
- package/dist/actions/list-contact-books.d.mts +3 -4
- package/dist/actions/list-contact-books.d.mts.map +1 -1
- package/dist/actions/list-contact-books.mjs +1 -0
- package/dist/actions/list-contact-books.mjs.map +1 -1
- package/dist/actions/list-contact-groups.cjs +1 -0
- package/dist/actions/list-contact-groups.cjs.map +1 -1
- package/dist/actions/list-contact-groups.d.cts +3 -6
- package/dist/actions/list-contact-groups.d.cts.map +1 -1
- package/dist/actions/list-contact-groups.d.mts +3 -6
- package/dist/actions/list-contact-groups.d.mts.map +1 -1
- package/dist/actions/list-contact-groups.mjs +1 -0
- package/dist/actions/list-contact-groups.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +4 -10
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +4 -10
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-conversation-comments.cjs +1 -0
- package/dist/actions/list-conversation-comments.cjs.map +1 -1
- package/dist/actions/list-conversation-comments.d.cts +3 -5
- package/dist/actions/list-conversation-comments.d.cts.map +1 -1
- package/dist/actions/list-conversation-comments.d.mts +3 -5
- package/dist/actions/list-conversation-comments.d.mts.map +1 -1
- package/dist/actions/list-conversation-comments.mjs +1 -0
- package/dist/actions/list-conversation-comments.mjs.map +1 -1
- package/dist/actions/list-conversation-drafts.cjs +1 -0
- package/dist/actions/list-conversation-drafts.cjs.map +1 -1
- package/dist/actions/list-conversation-drafts.d.cts +3 -5
- package/dist/actions/list-conversation-drafts.d.cts.map +1 -1
- package/dist/actions/list-conversation-drafts.d.mts +3 -5
- package/dist/actions/list-conversation-drafts.d.mts.map +1 -1
- package/dist/actions/list-conversation-drafts.mjs +1 -0
- package/dist/actions/list-conversation-drafts.mjs.map +1 -1
- package/dist/actions/list-conversation-posts.cjs +1 -0
- package/dist/actions/list-conversation-posts.cjs.map +1 -1
- package/dist/actions/list-conversation-posts.d.cts +3 -5
- package/dist/actions/list-conversation-posts.d.cts.map +1 -1
- package/dist/actions/list-conversation-posts.d.mts +3 -5
- package/dist/actions/list-conversation-posts.d.mts.map +1 -1
- package/dist/actions/list-conversation-posts.mjs +1 -0
- package/dist/actions/list-conversation-posts.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +1 -0
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +3 -20
- package/dist/actions/list-conversations.d.cts.map +1 -1
- package/dist/actions/list-conversations.d.mts +3 -20
- package/dist/actions/list-conversations.d.mts.map +1 -1
- package/dist/actions/list-conversations.mjs +1 -0
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +1 -0
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +3 -3
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +3 -3
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +1 -0
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +1 -0
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +3 -4
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +3 -4
- package/dist/actions/list-organizations.d.mts.map +1 -1
- package/dist/actions/list-organizations.mjs +1 -0
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-responses.cjs +1 -0
- package/dist/actions/list-responses.cjs.map +1 -1
- package/dist/actions/list-responses.d.cts +3 -4
- package/dist/actions/list-responses.d.cts.map +1 -1
- package/dist/actions/list-responses.d.mts +3 -4
- package/dist/actions/list-responses.d.mts.map +1 -1
- package/dist/actions/list-responses.mjs +1 -0
- package/dist/actions/list-responses.mjs.map +1 -1
- package/dist/actions/list-shared-labels.cjs +1 -0
- package/dist/actions/list-shared-labels.cjs.map +1 -1
- package/dist/actions/list-shared-labels.d.cts +3 -5
- package/dist/actions/list-shared-labels.d.cts.map +1 -1
- package/dist/actions/list-shared-labels.d.mts +3 -5
- package/dist/actions/list-shared-labels.d.mts.map +1 -1
- package/dist/actions/list-shared-labels.mjs +1 -0
- package/dist/actions/list-shared-labels.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +1 -0
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +3 -7
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +3 -7
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +1 -0
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +1 -0
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +3 -4
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +3 -4
- package/dist/actions/list-teams.d.mts.map +1 -1
- package/dist/actions/list-teams.mjs +1 -0
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -4
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -4
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/merge-conversations.cjs +1 -0
- package/dist/actions/merge-conversations.cjs.map +1 -1
- package/dist/actions/merge-conversations.d.cts +3 -4
- package/dist/actions/merge-conversations.d.cts.map +1 -1
- package/dist/actions/merge-conversations.d.mts +3 -4
- package/dist/actions/merge-conversations.d.mts.map +1 -1
- package/dist/actions/merge-conversations.mjs +1 -0
- package/dist/actions/merge-conversations.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +4 -45
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +4 -45
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-response.cjs +1 -0
- package/dist/actions/update-response.cjs.map +1 -1
- package/dist/actions/update-response.d.cts +3 -32
- package/dist/actions/update-response.d.cts.map +1 -1
- package/dist/actions/update-response.d.mts +3 -32
- package/dist/actions/update-response.d.mts.map +1 -1
- package/dist/actions/update-response.mjs +1 -0
- package/dist/actions/update-response.mjs.map +1 -1
- package/dist/actions/update-shared-labels.cjs +1 -0
- package/dist/actions/update-shared-labels.cjs.map +1 -1
- package/dist/actions/update-shared-labels.d.cts +3 -9
- package/dist/actions/update-shared-labels.d.cts.map +1 -1
- package/dist/actions/update-shared-labels.d.mts +3 -9
- package/dist/actions/update-shared-labels.d.mts.map +1 -1
- package/dist/actions/update-shared-labels.mjs +1 -0
- package/dist/actions/update-shared-labels.mjs.map +1 -1
- package/dist/actions/update-task.cjs +1 -0
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +3 -9
- package/dist/actions/update-task.d.cts.map +1 -1
- package/dist/actions/update-task.d.mts +3 -9
- package/dist/actions/update-task.d.mts.map +1 -1
- package/dist/actions/update-task.mjs +1 -0
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-team.cjs +1 -0
- package/dist/actions/update-team.cjs.map +1 -1
- package/dist/actions/update-team.d.cts +3 -10
- package/dist/actions/update-team.d.cts.map +1 -1
- package/dist/actions/update-team.d.mts +3 -10
- package/dist/actions/update-team.d.mts.map +1 -1
- package/dist/actions/update-team.mjs +1 -0
- package/dist/actions/update-team.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-books.mjs","names":[],"sources":["../../src/actions/list-contact-books.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactBooksInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contact books to return. Min: 1. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"Offset for pagination. Default: 0.\").optional(),\n}).describe(\"Request model for listing contact books.\");\nconst MissiveListContactBooks_ContactBookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact book.\").nullable(),\n name: z.string().describe(\"Contact book display name.\").nullable(),\n user: z.string().describe(\"ID of the user who owns the contact book.\").nullable(),\n description: z.string().describe(\"Optional descriptive text.\").nullable().optional(),\n organization: z.string().describe(\"Associated organization ID.\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID if shared with specific team.\").nullable().optional(),\n share_with_users: z.array(z.string()).describe(\"List of user IDs with access to this contact book.\"),\n share_with_organization: z.boolean().describe(\"Indicates if shared with entire organization.\").nullable(),\n}).passthrough().describe(\"A Missive contact book object.\");\nexport const MissiveListContactBooksOutput = z.object({\n contact_books: z.array(MissiveListContactBooks_ContactBookSchema).describe(\"Array of contact book objects accessible to the authenticated user.\"),\n}).passthrough().describe(\"Response model for listing contact books.\");\n\nexport const missiveListContactBooks = action(\"MISSIVE_LIST_CONTACT_BOOKS\", {\n slug: \"missive-list-contact-books\",\n name: \"List Missive Contact Books\",\n description: \"Tool to list contact books the authenticated user has access to. Use when you need contact book IDs for creating contacts programmatically.\",\n input: MissiveListContactBooksInput,\n output: MissiveListContactBooksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-books.mjs","names":[],"sources":["../../src/actions/list-contact-books.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveListContactBooksInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contact books to return. Min: 1. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"Offset for pagination. Default: 0.\").optional(),\n}).describe(\"Request model for listing contact books.\");\nconst MissiveListContactBooks_ContactBookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact book.\").nullable(),\n name: z.string().describe(\"Contact book display name.\").nullable(),\n user: z.string().describe(\"ID of the user who owns the contact book.\").nullable(),\n description: z.string().describe(\"Optional descriptive text.\").nullable().optional(),\n organization: z.string().describe(\"Associated organization ID.\").nullable().optional(),\n share_with_team: z.string().describe(\"Team ID if shared with specific team.\").nullable().optional(),\n share_with_users: z.array(z.string()).describe(\"List of user IDs with access to this contact book.\"),\n share_with_organization: z.boolean().describe(\"Indicates if shared with entire organization.\").nullable(),\n}).passthrough().describe(\"A Missive contact book object.\");\nexport const MissiveListContactBooksOutput = z.object({\n contact_books: z.array(MissiveListContactBooks_ContactBookSchema).describe(\"Array of contact book objects accessible to the authenticated user.\"),\n}).passthrough().describe(\"Response model for listing contact books.\");\n\nexport const missiveListContactBooks: AppAction<\n typeof MissiveListContactBooksInput,\n typeof MissiveListContactBooksOutput,\n typeof missive.credential\n> = action(\"MISSIVE_LIST_CONTACT_BOOKS\", {\n slug: \"missive-list-contact-books\",\n name: \"List Missive Contact Books\",\n description: \"Tool to list contact books the authenticated user has access to. Use when you need contact book IDs for creating contacts programmatically.\",\n input: MissiveListContactB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AC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactGroupsInput = z.object({\n kind: z.enum([\"group\", \"organization\"]).describe(\"Type of contact group to list: group for contact labels or organization for business entities.\"),\n limit: z.number().int().describe(\"Number of contact groups to return. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to fetch subsequent pages of results.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list groups from.\"),\n}).describe(\"Request model for listing contact groups.\");\nconst MissiveListContactGroups_ContactGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact group.\").nullable(),\n name: z.string().describe(\"Name of the group or organization.\").nullable(),\n}).passthrough().describe(\"A contact group or organization object.\");\nexport const MissiveListContactGroupsOutput = z.object({\n contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe(\"Array of contact group or organization objects.\"),\n}).passthrough().describe(\"Response model for listing contact groups.\");\n\nexport const missiveListContactGroups = action(\"MISSIVE_LIST_CONTACT_GROUPS\", {\n slug: \"missive-list-contact-groups\",\n name: \"List Missive Contact Groups\",\n description: \"Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.\",\n input: MissiveListContactGroupsInput,\n output: MissiveListContactGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-contact-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveListContactGroupsInput = z.object({\n kind: z.enum([\"group\", \"organization\"]).describe(\"Type of contact group to list: group for contact labels or organization for business entities.\"),\n limit: z.number().int().describe(\"Number of contact groups to return. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to fetch subsequent pages of results.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list groups from.\"),\n}).describe(\"Request model for listing contact groups.\");\nconst MissiveListContactGroups_ContactGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact group.\").nullable(),\n name: z.string().describe(\"Name of the group or organization.\").nullable(),\n}).passthrough().describe(\"A contact group or organization object.\");\nexport const MissiveListContactGroupsOutput = z.object({\n contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe(\"Array of contact group or organization objects.\"),\n}).passthrough().describe(\"Response model for listing contact groups.\");\n\nexport const missiveListContactGroups: AppAction<\n typeof MissiveListContactGroupsInput,\n typeof MissiveListContactGroupsOutput,\n typeof missive.credential\n> = action(\"MISSIVE_LIST_CONTACT_GROUPS\", {\n slug: \"missive-list-contact-groups\",\n name: \"List Missive Contact Groups\",\n description: \"Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.\",\n input: MissiveListContactGroupsInput,\n output: MissiveListContactGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,SAAS,gGAAgG;CACjJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,gBAAgBA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-contact-groups.d.ts
|
|
@@ -16,12 +18,7 @@ declare const MissiveListContactGroupsOutput: z.ZodObject<{
|
|
|
16
18
|
name: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const missiveListContactGroups:
|
|
20
|
-
kind: "organization" | "group";
|
|
21
|
-
contact_book: string;
|
|
22
|
-
limit?: number | undefined;
|
|
23
|
-
offset?: number | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const missiveListContactGroups: AppAction<typeof MissiveListContactGroupsInput, typeof MissiveListContactGroupsOutput, typeof missive.credential>;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { missiveListContactGroups };
|
|
27
24
|
//# sourceMappingURL=list-contact-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-groups.d.cts","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-groups.d.cts","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-contact-groups.d.ts
|
|
@@ -16,12 +18,7 @@ declare const MissiveListContactGroupsOutput: z.ZodObject<{
|
|
|
16
18
|
name: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const missiveListContactGroups:
|
|
20
|
-
kind: "organization" | "group";
|
|
21
|
-
contact_book: string;
|
|
22
|
-
limit?: number | undefined;
|
|
23
|
-
offset?: number | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const missiveListContactGroups: AppAction<typeof MissiveListContactGroupsInput, typeof MissiveListContactGroupsOutput, typeof missive.credential>;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { missiveListContactGroups };
|
|
27
24
|
//# sourceMappingURL=list-contact-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-groups.d.mts","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-groups.d.mts","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contact-groups.mjs","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactGroupsInput = z.object({\n kind: z.enum([\"group\", \"organization\"]).describe(\"Type of contact group to list: group for contact labels or organization for business entities.\"),\n limit: z.number().int().describe(\"Number of contact groups to return. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to fetch subsequent pages of results.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list groups from.\"),\n}).describe(\"Request model for listing contact groups.\");\nconst MissiveListContactGroups_ContactGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact group.\").nullable(),\n name: z.string().describe(\"Name of the group or organization.\").nullable(),\n}).passthrough().describe(\"A contact group or organization object.\");\nexport const MissiveListContactGroupsOutput = z.object({\n contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe(\"Array of contact group or organization objects.\"),\n}).passthrough().describe(\"Response model for listing contact groups.\");\n\nexport const missiveListContactGroups = action(\"MISSIVE_LIST_CONTACT_GROUPS\", {\n slug: \"missive-list-contact-groups\",\n name: \"List Missive Contact Groups\",\n description: \"Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.\",\n input: MissiveListContactGroupsInput,\n output: MissiveListContactGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contact-groups.mjs","names":[],"sources":["../../src/actions/list-contact-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveListContactGroupsInput = z.object({\n kind: z.enum([\"group\", \"organization\"]).describe(\"Type of contact group to list: group for contact labels or organization for business entities.\"),\n limit: z.number().int().describe(\"Number of contact groups to return. Max: 200. Default: 50.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to fetch subsequent pages of results.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list groups from.\"),\n}).describe(\"Request model for listing contact groups.\");\nconst MissiveListContactGroups_ContactGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact group.\").nullable(),\n name: z.string().describe(\"Name of the group or organization.\").nullable(),\n}).passthrough().describe(\"A contact group or organization object.\");\nexport const MissiveListContactGroupsOutput = z.object({\n contact_groups: z.array(MissiveListContactGroups_ContactGroupSchema).describe(\"Array of contact group or organization objects.\"),\n}).passthrough().describe(\"Response model for listing contact groups.\");\n\nexport const missiveListContactGroups: AppAction<\n typeof MissiveListContactGroupsInput,\n typeof MissiveListContactGroupsOutput,\n typeof missive.credential\n> = action(\"MISSIVE_LIST_CONTACT_GROUPS\", {\n slug: \"missive-list-contact-groups\",\n name: \"List Missive Contact Groups\",\n description: \"Tool to list contact groups or organizations linked to a contact book. Use when you need to retrieve groups for organizing contacts or organizations for linking contacts to businesses.\",\n input: MissiveListContactGroupsInput,\n output: MissiveListContactGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,KAAK,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,SAAS,gGAAgG;CACjJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,gBAAgB,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactsInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contacts returned. Default 50, Max 200.\").optional(),\n order: z.enum([\"last_name\", \"last_modified\"]).describe(\"Order by field for listing contacts.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to skip N contacts.\").optional(),\n search: z.string().describe(\"Search term to filter contacts by name, email, or other fields.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list contacts from. Required.\"),\n modified_since: z.number().int().describe(\"Unix timestamp to filter contacts modified since this time.\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted contacts when using modified_since. Only works with modified_since parameter.\").optional(),\n}).describe(\"Request model for listing contacts from a contact book.\");\nconst MissiveListContacts_InfoKindSchema = z.enum([\"email\", \"twitter\", \"phone_number\", \"facebook\", \"physical_address\", \"url\", \"custom\"]).describe(\"Type of contact information.\");\nconst MissiveListContacts_ContactInfoSchema = z.object({\n kind: MissiveListContacts_InfoKindSchema.nullable().optional(),\n label: z.string().describe(\"Label for the info (e.g., 'home', 'work', 'mobile').\").nullable().optional(),\n value: z.string().describe(\"The actual data value.\").nullable().optional(),\n}).passthrough().describe(\"Contact information object (email, phone, social media, etc.).\");\nconst MissiveListContacts_GroupKindSchema = z.enum([\"group\", \"organization\"]).describe(\"Type of group or organization.\");\nconst MissiveListContacts_GroupSchema = z.object({\n id: z.string().describe(\"Group or organization unique identifier.\").nullable().optional(),\n kind: MissiveListContacts_GroupKindSchema.nullable().optional(),\n name: z.string().describe(\"Name of the group or organization.\").nullable().optional(),\n}).passthrough().describe(\"Group or organization details.\");\nconst MissiveListContacts_MembershipSchema = z.object({\n group: MissiveListContacts_GroupSchema.nullable().optional(),\n title: z.string().describe(\"Person's title in the organization (e.g., 'CEO').\").nullable().optional(),\n location: z.string().describe(\"Geographic location.\").nullable().optional(),\n}).passthrough().describe(\"Contact membership in a group or organization.\");\nconst MissiveListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n infos: z.array(MissiveListContacts_ContactInfoSchema).describe(\"Contact information objects (emails, phones, social media, etc.).\").nullable().optional(),\n deleted: z.boolean().describe(\"Deletion status.\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is marked as favorite.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n memberships: z.array(MissiveListContacts_MembershipSchema).describe(\"Organizational or group associations.\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification.\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact.\").nullable().optional(),\n}).passthrough().describe(\"A Missive contact object.\");\nexport const MissiveListContactsOutput = z.object({\n contacts: z.array(MissiveListContacts_ContactSchema).describe(\"Array of contact objects from the specified contact book.\"),\n}).passthrough().describe(\"Response model for listing contacts.\");\n\nexport const missiveListContacts = action(\"MISSIVE_LIST_CONTACTS\", {\n slug: \"missive-list-contacts\",\n name: \"List Missive Contacts\",\n description: \"Tool to list contacts from a contact book. Use when syncing Missive contacts to another service or finding contacts based on search terms. Supports pagination via offset and filtering by modification date.\",\n input: MissiveListContactsInput,\n output: MissiveListContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveListContactsInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contacts returned. Default 50, Max 200.\").optional(),\n order: z.enum([\"last_name\", \"last_modified\"]).describe(\"Order by field for listing contacts.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to skip N contacts.\").optional(),\n search: z.string().describe(\"Search term to filter contacts by name, email, or other fields.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list contacts from. Required.\"),\n modified_since: z.number().int().describe(\"Unix timestamp to filter contacts modified since this time.\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted contacts when using modified_since. Only works with modified_since parameter.\").optional(),\n}).describe(\"Request model for listing contacts from a contact book.\");\nconst MissiveListContacts_InfoKindSchema = z.enum([\"email\", \"twitter\", \"phone_number\", \"facebook\", \"physical_address\", \"url\", \"custom\"]).describe(\"Type of contact information.\");\nconst MissiveListContacts_ContactInfoSchema = z.object({\n kind: MissiveListContacts_InfoKindSchema.nullable().optional(),\n label: z.string().describe(\"Label for the info (e.g., 'home', 'work', 'mobile').\").nullable().optional(),\n value: z.string().describe(\"The actual data value.\").nullable().optional(),\n}).passthrough().describe(\"Contact information object (email, phone, social media, etc.).\");\nconst MissiveListContacts_GroupKindSchema = z.enum([\"group\", \"organization\"]).describe(\"Type of group or organization.\");\nconst MissiveListContacts_GroupSchema = z.object({\n id: z.string().describe(\"Group or organization unique identifier.\").nullable().optional(),\n kind: MissiveListContacts_GroupKindSchema.nullable().optional(),\n name: z.string().describe(\"Name of the group or organization.\").nullable().optional(),\n}).passthrough().describe(\"Group or organization details.\");\nconst MissiveListContacts_MembershipSchema = z.object({\n group: MissiveListContacts_GroupSchema.nullable().optional(),\n title: z.string().describe(\"Person's title in the organization (e.g., 'CEO').\").nullable().optional(),\n location: z.string().describe(\"Geographic location.\").nullable().optional(),\n}).passthrough().describe(\"Contact membership in a group or organization.\");\nconst MissiveListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n infos: z.array(MissiveListContacts_ContactInfoSchema).describe(\"Contact information objects (emails, phones, social media, etc.).\").nullable().optional(),\n deleted: z.boolean().describe(\"Deletion status.\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is marked as favorite.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n memberships: z.array(MissiveListContacts_MembershipSchema).describe(\"Organizational or group associations.\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification.\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact.\").nullable().optional(),\n}).passthrough().describe(\"A Missive contact object.\");\nexport const MissiveListContactsOutput = z.object({\n contacts: z.array(MissiveListContacts_ContactSchema).describe(\"Array of contact objects from the specified contact book.\"),\n}).passthrough().describe(\"Response model for listing contacts.\");\n\nexport const missiveListContacts: AppAction<\n typeof MissiveListContactsInput,\n typeof MissiveListContactsOutput,\n typeof missive.credential\n> = action(\"MISSIVE_LIST_CONTACTS\", {\n slug: \"missive-list-contacts\",\n name: \"List Missive Contacts\",\n description: \"Tool to list contacts from a contact book. Use when syncing Missive contacts to another service or finding contacts based on search terms. Supports pagination via offset and filtering by modification date.\",\n input: MissiveListContactsInput,\n output: MissiveListContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SA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,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,2DAA2D,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-contacts.d.ts
|
|
@@ -20,11 +22,11 @@ declare const MissiveListContactsOutput: z.ZodObject<{
|
|
|
20
22
|
kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
23
|
custom: "custom";
|
|
22
24
|
email: "email";
|
|
23
|
-
url: "url";
|
|
24
25
|
phone_number: "phone_number";
|
|
25
26
|
twitter: "twitter";
|
|
26
27
|
facebook: "facebook";
|
|
27
28
|
physical_address: "physical_address";
|
|
29
|
+
url: "url";
|
|
28
30
|
}>>>;
|
|
29
31
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -49,15 +51,7 @@ declare const MissiveListContactsOutput: z.ZodObject<{
|
|
|
49
51
|
contact_book: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
}, z.core.$loose>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const missiveListContacts:
|
|
53
|
-
contact_book: string;
|
|
54
|
-
limit?: number | undefined;
|
|
55
|
-
order?: "last_name" | "last_modified" | undefined;
|
|
56
|
-
offset?: number | undefined;
|
|
57
|
-
search?: string | undefined;
|
|
58
|
-
modified_since?: number | undefined;
|
|
59
|
-
include_deleted?: boolean | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const missiveListContacts: AppAction<typeof MissiveListContactsInput, typeof MissiveListContactsOutput, typeof missive.credential>;
|
|
61
55
|
//#endregion
|
|
62
56
|
export { missiveListContacts };
|
|
63
57
|
//# sourceMappingURL=list-contacts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-contacts.d.ts
|
|
@@ -20,11 +22,11 @@ declare const MissiveListContactsOutput: z.ZodObject<{
|
|
|
20
22
|
kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
23
|
custom: "custom";
|
|
22
24
|
email: "email";
|
|
23
|
-
url: "url";
|
|
24
25
|
phone_number: "phone_number";
|
|
25
26
|
twitter: "twitter";
|
|
26
27
|
facebook: "facebook";
|
|
27
28
|
physical_address: "physical_address";
|
|
29
|
+
url: "url";
|
|
28
30
|
}>>>;
|
|
29
31
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -49,15 +51,7 @@ declare const MissiveListContactsOutput: z.ZodObject<{
|
|
|
49
51
|
contact_book: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
}, z.core.$loose>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const missiveListContacts:
|
|
53
|
-
contact_book: string;
|
|
54
|
-
limit?: number | undefined;
|
|
55
|
-
order?: "last_name" | "last_modified" | undefined;
|
|
56
|
-
offset?: number | undefined;
|
|
57
|
-
search?: string | undefined;
|
|
58
|
-
modified_since?: number | undefined;
|
|
59
|
-
include_deleted?: boolean | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const missiveListContacts: AppAction<typeof MissiveListContactsInput, typeof MissiveListContactsOutput, typeof missive.credential>;
|
|
61
55
|
//#endregion
|
|
62
56
|
export { missiveListContacts };
|
|
63
57
|
//# sourceMappingURL=list-contacts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListContactsInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contacts returned. Default 50, Max 200.\").optional(),\n order: z.enum([\"last_name\", \"last_modified\"]).describe(\"Order by field for listing contacts.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to skip N contacts.\").optional(),\n search: z.string().describe(\"Search term to filter contacts by name, email, or other fields.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list contacts from. Required.\"),\n modified_since: z.number().int().describe(\"Unix timestamp to filter contacts modified since this time.\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted contacts when using modified_since. Only works with modified_since parameter.\").optional(),\n}).describe(\"Request model for listing contacts from a contact book.\");\nconst MissiveListContacts_InfoKindSchema = z.enum([\"email\", \"twitter\", \"phone_number\", \"facebook\", \"physical_address\", \"url\", \"custom\"]).describe(\"Type of contact information.\");\nconst MissiveListContacts_ContactInfoSchema = z.object({\n kind: MissiveListContacts_InfoKindSchema.nullable().optional(),\n label: z.string().describe(\"Label for the info (e.g., 'home', 'work', 'mobile').\").nullable().optional(),\n value: z.string().describe(\"The actual data value.\").nullable().optional(),\n}).passthrough().describe(\"Contact information object (email, phone, social media, etc.).\");\nconst MissiveListContacts_GroupKindSchema = z.enum([\"group\", \"organization\"]).describe(\"Type of group or organization.\");\nconst MissiveListContacts_GroupSchema = z.object({\n id: z.string().describe(\"Group or organization unique identifier.\").nullable().optional(),\n kind: MissiveListContacts_GroupKindSchema.nullable().optional(),\n name: z.string().describe(\"Name of the group or organization.\").nullable().optional(),\n}).passthrough().describe(\"Group or organization details.\");\nconst MissiveListContacts_MembershipSchema = z.object({\n group: MissiveListContacts_GroupSchema.nullable().optional(),\n title: z.string().describe(\"Person's title in the organization (e.g., 'CEO').\").nullable().optional(),\n location: z.string().describe(\"Geographic location.\").nullable().optional(),\n}).passthrough().describe(\"Contact membership in a group or organization.\");\nconst MissiveListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n infos: z.array(MissiveListContacts_ContactInfoSchema).describe(\"Contact information objects (emails, phones, social media, etc.).\").nullable().optional(),\n deleted: z.boolean().describe(\"Deletion status.\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is marked as favorite.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n memberships: z.array(MissiveListContacts_MembershipSchema).describe(\"Organizational or group associations.\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification.\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact.\").nullable().optional(),\n}).passthrough().describe(\"A Missive contact object.\");\nexport const MissiveListContactsOutput = z.object({\n contacts: z.array(MissiveListContacts_ContactSchema).describe(\"Array of contact objects from the specified contact book.\"),\n}).passthrough().describe(\"Response model for listing contacts.\");\n\nexport const missiveListContacts = action(\"MISSIVE_LIST_CONTACTS\", {\n slug: \"missive-list-contacts\",\n name: \"List Missive Contacts\",\n description: \"Tool to list contacts from a contact book. Use when syncing Missive contacts to another service or finding contacts based on search terms. Supports pagination via offset and filtering by modification date.\",\n input: MissiveListContactsInput,\n output: MissiveListContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveListContactsInput = z.object({\n limit: z.number().int().default(50).describe(\"Number of contacts returned. Default 50, Max 200.\").optional(),\n order: z.enum([\"last_name\", \"last_modified\"]).describe(\"Order by field for listing contacts.\").optional(),\n offset: z.number().int().describe(\"Offset for pagination. Use to skip N contacts.\").optional(),\n search: z.string().describe(\"Search term to filter contacts by name, email, or other fields.\").optional(),\n contact_book: z.string().describe(\"Contact book ID to list contacts from. Required.\"),\n modified_since: z.number().int().describe(\"Unix timestamp to filter contacts modified since this time.\").optional(),\n include_deleted: z.boolean().describe(\"Include deleted contacts when using modified_since. Only works with modified_since parameter.\").optional(),\n}).describe(\"Request model for listing contacts from a contact book.\");\nconst MissiveListContacts_InfoKindSchema = z.enum([\"email\", \"twitter\", \"phone_number\", \"facebook\", \"physical_address\", \"url\", \"custom\"]).describe(\"Type of contact information.\");\nconst MissiveListContacts_ContactInfoSchema = z.object({\n kind: MissiveListContacts_InfoKindSchema.nullable().optional(),\n label: z.string().describe(\"Label for the info (e.g., 'home', 'work', 'mobile').\").nullable().optional(),\n value: z.string().describe(\"The actual data value.\").nullable().optional(),\n}).passthrough().describe(\"Contact information object (email, phone, social media, etc.).\");\nconst MissiveListContacts_GroupKindSchema = z.enum([\"group\", \"organization\"]).describe(\"Type of group or organization.\");\nconst MissiveListContacts_GroupSchema = z.object({\n id: z.string().describe(\"Group or organization unique identifier.\").nullable().optional(),\n kind: MissiveListContacts_GroupKindSchema.nullable().optional(),\n name: z.string().describe(\"Name of the group or organization.\").nullable().optional(),\n}).passthrough().describe(\"Group or organization details.\");\nconst MissiveListContacts_MembershipSchema = z.object({\n group: MissiveListContacts_GroupSchema.nullable().optional(),\n title: z.string().describe(\"Person's title in the organization (e.g., 'CEO').\").nullable().optional(),\n location: z.string().describe(\"Geographic location.\").nullable().optional(),\n}).passthrough().describe(\"Contact membership in a group or organization.\");\nconst MissiveListContacts_ContactSchema = z.object({\n id: z.string().describe(\"Unique contact identifier.\").nullable(),\n infos: z.array(MissiveListContacts_ContactInfoSchema).describe(\"Contact information objects (emails, phones, social media, etc.).\").nullable().optional(),\n deleted: z.boolean().describe(\"Deletion status.\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is marked as favorite.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n memberships: z.array(MissiveListContacts_MembershipSchema).describe(\"Organizational or group associations.\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification.\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact.\").nullable().optional(),\n}).passthrough().describe(\"A Missive contact object.\");\nexport const MissiveListContactsOutput = z.object({\n contacts: z.array(MissiveListContacts_ContactSchema).describe(\"Array of contact objects from the specified contact book.\"),\n}).passthrough().describe(\"Response model for listing contacts.\");\n\nexport const missiveListContacts: AppAction<\n typeof MissiveListContactsInput,\n typeof MissiveListContactsOutput,\n typeof missive.credential\n> = action(\"MISSIVE_LIST_CONTACTS\", {\n slug: \"missive-list-contacts\",\n name: \"List Missive Contacts\",\n description: \"Tool to list contacts from a contact book. Use when syncing Missive contacts to another service or finding contacts based on search terms. Supports pagination via offset and filtering by modification date.\",\n input: MissiveListContactsInput,\n output: MissiveListContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,OAAO,EAAE,KAAK,CAAC,aAAa,eAAe,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,gBAAgB,EAAE,OAAO,CAAC,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":3,"file":"list-conversation-comments.cjs","names":["z","action"],"sources":["../../src/actions/list-conversation-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationCommentsInput = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().default(10).describe(\"Number of comments returned. Default: 10. Max: 10\").optional(),\n until: z.number().int().describe(\"Unix timestamp for pagination. Use created_at of the oldest comment from previous page\").optional(),\n}).describe(\"Request model for listing comments in a conversation.\");\nconst MissiveListConversationComments_TaskTeamSchema = z.object({\n id: z.string().describe(\"Team identifier\").nullable().optional(),\n name: z.string().describe(\"Team name\").nullable().optional(),\n organization: z.string().describe(\"Organization identifier\").nullable().optional(),\n}).passthrough().describe(\"Task team information.\");\nconst MissiveListConversationComments_TaskStateSchema = z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\");\nconst MissiveListConversationComments_TaskAssigneeSchema = z.object({\n id: z.string().describe(\"Assignee user identifier\").nullable().optional(),\n name: z.string().describe(\"Assignee display name\").nullable().optional(),\n email: z.string().describe(\"Assignee email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to assignee's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Task assignee information.\");\nconst MissiveListConversationComments_TaskSchema = z.object({\n team: MissiveListConversationComments_TaskTeamSchema.nullable().optional(),\n state: MissiveListConversationComments_TaskStateSchema.nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp when task is due\").nullable().optional(),\n assignees: z.array(MissiveListConversationComments_TaskAssigneeSchema).describe(\"List of users assigned to the task\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n started_at: z.number().int().describe(\"Unix timestamp when task was started\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n}).passthrough().describe(\"Task associated with a comment.\");\nconst MissiveListConversationComments_AuthorSchema = z.object({\n id: z.string().describe(\"Author user identifier\").nullable().optional(),\n name: z.string().describe(\"Author display name\").nullable().optional(),\n email: z.string().describe(\"Author email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to author's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Comment author information.\");\nconst MissiveListConversationComments_MentionSchema = z.object({\n id: z.string().describe(\"Mentioned user identifier\").nullable().optional(),\n index: z.number().int().describe(\"Position in the comment text\").nullable().optional(),\n length: z.number().int().describe(\"Length of the mention in characters\").nullable().optional(),\n}).passthrough().describe(\"Mention in a comment.\");\nconst MissiveListConversationComments_AttachmentSchema = z.object({\n id: z.string().describe(\"Attachment identifier\").nullable().optional(),\n url: z.string().describe(\"URL to download the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attached file\").nullable().optional(),\n sub_type: z.string().describe(\"MIME subtype\").nullable().optional(),\n extension: z.string().describe(\"File extension\").nullable().optional(),\n media_type: z.string().describe(\"Primary MIME type\").nullable().optional(),\n}).passthrough().describe(\"Comment attachment information.\");\nconst MissiveListConversationComments_CommentSchema = z.object({\n id: z.string().describe(\"Comment unique identifier\").nullable().optional(),\n body: z.string().describe(\"Comment text content\").nullable().optional(),\n task: MissiveListConversationComments_TaskSchema.nullable().optional(),\n author: MissiveListConversationComments_AuthorSchema.nullable().optional(),\n mentions: z.array(MissiveListConversationComments_MentionSchema).describe(\"List of user mentions in the comment\").nullable().optional(),\n attachment: MissiveListConversationComments_AttachmentSchema.nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when comment was created\").nullable().optional(),\n}).passthrough().describe(\"A Missive comment object.\");\nexport const MissiveListConversationCommentsOutput = z.object({\n comments: z.array(MissiveListConversationComments_CommentSchema).describe(\"List of comments ordered from newest to oldest\"),\n}).passthrough().describe(\"Response model for listing conversation comments.\");\n\nexport const missiveListConversationComments = action(\"MISSIVE_LIST_CONVERSATION_COMMENTS\", {\n slug: \"missive-list-conversation-comments\",\n name: \"List Conversation Comments\",\n description: \"Tool to list comments in a Missive conversation ordered from newest to oldest. Use when you need to retrieve comments with author info, attachments, and task data for a specific conversation.\",\n input: MissiveListConversationCommentsInput,\n output: MissiveListConversationCommentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-conversation-comments.cjs","names":["z","action"],"sources":["../../src/actions/list-conversation-comments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveListConversationCommentsInput = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().default(10).describe(\"Number of comments returned. Default: 10. Max: 10\").optional(),\n until: z.number().int().describe(\"Unix timestamp for pagination. Use created_at of the oldest comment from previous page\").optional(),\n}).describe(\"Request model for listing comments in a conversation.\");\nconst MissiveListConversationComments_TaskTeamSchema = z.object({\n id: z.string().describe(\"Team identifier\").nullable().optional(),\n name: z.string().describe(\"Team name\").nullable().optional(),\n organization: z.string().describe(\"Organization identifier\").nullable().optional(),\n}).passthrough().describe(\"Task team information.\");\nconst MissiveListConversationComments_TaskStateSchema = z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\");\nconst MissiveListConversationComments_TaskAssigneeSchema = z.object({\n id: z.string().describe(\"Assignee user identifier\").nullable().optional(),\n name: z.string().describe(\"Assignee display name\").nullable().optional(),\n email: z.string().describe(\"Assignee email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to assignee's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Task assignee information.\");\nconst MissiveListConversationComments_TaskSchema = z.object({\n team: MissiveListConversationComments_TaskTeamSchema.nullable().optional(),\n state: MissiveListConversationComments_TaskStateSchema.nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp when task is due\").nullable().optional(),\n assignees: z.array(MissiveListConversationComments_TaskAssigneeSchema).describe(\"List of users assigned to the task\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n started_at: z.number().int().describe(\"Unix timestamp when task was started\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n}).passthrough().describe(\"Task associated with a comment.\");\nconst MissiveListConversationComments_AuthorSchema = z.object({\n id: z.string().describe(\"Author user identifier\").nullable().optional(),\n name: z.string().describe(\"Author display name\").nullable().optional(),\n email: z.string().describe(\"Author email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to author's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Comment author information.\");\nconst MissiveListConversationComments_MentionSchema = z.object({\n id: z.string().describe(\"Mentioned user identifier\").nullable().optional(),\n index: z.number().int().describe(\"Position in the comment text\").nullable().optional(),\n length: z.number().int().describe(\"Length of the mention in characters\").nullable().optional(),\n}).passthrough().describe(\"Mention in a comment.\");\nconst MissiveListConversationComments_AttachmentSchema = z.object({\n id: z.string().describe(\"Attachment identifier\").nullable().optional(),\n url: z.string().describe(\"URL to download the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attached file\").nullable().optional(),\n sub_type: z.string().describe(\"MIME subtype\").nullable().optional(),\n extension: z.string().describe(\"File extension\").nullable().optional(),\n media_type: z.string().describe(\"Primary MIME type\").nullable().optional(),\n}).passthrough().describe(\"Comment attachment information.\");\nconst MissiveListConversationComments_CommentSchema = z.object({\n id: z.string().describe(\"Comment unique identifier\").nullable().optional(),\n body: z.string().describe(\"Comment text content\").nullable().optional(),\n task: MissiveListConversationComments_TaskSchema.nullable().optional(),\n author: MissiveListConversationComments_AuthorSchema.nullable().optional(),\n mentions: z.array(MissiveListConversationComments_MentionSchema).describe(\"List of user mentions in the comment\").nullable().optional(),\n attachment: MissiveListConversationComments_AttachmentSchema.nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when comment was created\").nullable().optional(),\n}).passthrough().describe(\"A Missive comment object.\");\nexport const MissiveListConversationCommentsOutput = z.object({\n comments: z.array(MissiveListConversationComments_CommentSchema).describe(\"List of comments ordered from newest to oldest\"),\n}).passthrough().describe(\"Response model for listing conversation comments.\");\n\nexport const missiveListConversationComments: AppAction<\n typeof MissiveListConversationCommentsInput,\n typeof MissiveListConversationCommentsOutput,\n typeof missive.credential\n> = action(\"MISSIVE_LIST_CONVERSATION_COMMENTS\", {\n slug: \"missive-list-conversation-comments\",\n name: \"List Conversation Comments\",\n description: \"Tool to list comments in a Missive conversation ordered from newest to oldest. Use when you need to retrieve comments with author info, attachments, and task data for a specific conversation.\",\n input: MissiveListConversationCommentsInput,\n output: MissiveListConversationCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,kDAAkDA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAe;AAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB;AAC/H,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;C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sC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-conversation-comments.d.ts
|
|
@@ -55,11 +57,7 @@ declare const MissiveListConversationCommentsOutput: z.ZodObject<{
|
|
|
55
57
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
56
58
|
}, z.core.$loose>>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
|
-
declare const missiveListConversationComments:
|
|
59
|
-
id: string;
|
|
60
|
-
limit?: number | undefined;
|
|
61
|
-
until?: number | undefined;
|
|
62
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
60
|
+
declare const missiveListConversationComments: AppAction<typeof MissiveListConversationCommentsInput, typeof MissiveListConversationCommentsOutput, typeof missive.credential>;
|
|
63
61
|
//#endregion
|
|
64
62
|
export { missiveListConversationComments };
|
|
65
63
|
//# sourceMappingURL=list-conversation-comments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-comments.d.cts","names":[],"sources":["../../src/actions/list-conversation-comments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-conversation-comments.d.cts","names":[],"sources":["../../src/actions/list-conversation-comments.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAuDpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-conversation-comments.d.ts
|
|
@@ -55,11 +57,7 @@ declare const MissiveListConversationCommentsOutput: z.ZodObject<{
|
|
|
55
57
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
56
58
|
}, z.core.$loose>>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
|
-
declare const missiveListConversationComments:
|
|
59
|
-
id: string;
|
|
60
|
-
limit?: number | undefined;
|
|
61
|
-
until?: number | undefined;
|
|
62
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
60
|
+
declare const missiveListConversationComments: AppAction<typeof MissiveListConversationCommentsInput, typeof MissiveListConversationCommentsOutput, typeof missive.credential>;
|
|
63
61
|
//#endregion
|
|
64
62
|
export { missiveListConversationComments };
|
|
65
63
|
//# sourceMappingURL=list-conversation-comments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-comments.d.mts","names":[],"sources":["../../src/actions/list-conversation-comments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-conversation-comments.d.mts","names":[],"sources":["../../src/actions/list-conversation-comments.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAuDpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversation-comments.mjs","names":[],"sources":["../../src/actions/list-conversation-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveListConversationCommentsInput = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().default(10).describe(\"Number of comments returned. Default: 10. Max: 10\").optional(),\n until: z.number().int().describe(\"Unix timestamp for pagination. Use created_at of the oldest comment from previous page\").optional(),\n}).describe(\"Request model for listing comments in a conversation.\");\nconst MissiveListConversationComments_TaskTeamSchema = z.object({\n id: z.string().describe(\"Team identifier\").nullable().optional(),\n name: z.string().describe(\"Team name\").nullable().optional(),\n organization: z.string().describe(\"Organization identifier\").nullable().optional(),\n}).passthrough().describe(\"Task team information.\");\nconst MissiveListConversationComments_TaskStateSchema = z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\");\nconst MissiveListConversationComments_TaskAssigneeSchema = z.object({\n id: z.string().describe(\"Assignee user identifier\").nullable().optional(),\n name: z.string().describe(\"Assignee display name\").nullable().optional(),\n email: z.string().describe(\"Assignee email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to assignee's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Task assignee information.\");\nconst MissiveListConversationComments_TaskSchema = z.object({\n team: MissiveListConversationComments_TaskTeamSchema.nullable().optional(),\n state: MissiveListConversationComments_TaskStateSchema.nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp when task is due\").nullable().optional(),\n assignees: z.array(MissiveListConversationComments_TaskAssigneeSchema).describe(\"List of users assigned to the task\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n started_at: z.number().int().describe(\"Unix timestamp when task was started\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n}).passthrough().describe(\"Task associated with a comment.\");\nconst MissiveListConversationComments_AuthorSchema = z.object({\n id: z.string().describe(\"Author user identifier\").nullable().optional(),\n name: z.string().describe(\"Author display name\").nullable().optional(),\n email: z.string().describe(\"Author email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to author's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Comment author information.\");\nconst MissiveListConversationComments_MentionSchema = z.object({\n id: z.string().describe(\"Mentioned user identifier\").nullable().optional(),\n index: z.number().int().describe(\"Position in the comment text\").nullable().optional(),\n length: z.number().int().describe(\"Length of the mention in characters\").nullable().optional(),\n}).passthrough().describe(\"Mention in a comment.\");\nconst MissiveListConversationComments_AttachmentSchema = z.object({\n id: z.string().describe(\"Attachment identifier\").nullable().optional(),\n url: z.string().describe(\"URL to download the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attached file\").nullable().optional(),\n sub_type: z.string().describe(\"MIME subtype\").nullable().optional(),\n extension: z.string().describe(\"File extension\").nullable().optional(),\n media_type: z.string().describe(\"Primary MIME type\").nullable().optional(),\n}).passthrough().describe(\"Comment attachment information.\");\nconst MissiveListConversationComments_CommentSchema = z.object({\n id: z.string().describe(\"Comment unique identifier\").nullable().optional(),\n body: z.string().describe(\"Comment text content\").nullable().optional(),\n task: MissiveListConversationComments_TaskSchema.nullable().optional(),\n author: MissiveListConversationComments_AuthorSchema.nullable().optional(),\n mentions: z.array(MissiveListConversationComments_MentionSchema).describe(\"List of user mentions in the comment\").nullable().optional(),\n attachment: MissiveListConversationComments_AttachmentSchema.nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when comment was created\").nullable().optional(),\n}).passthrough().describe(\"A Missive comment object.\");\nexport const MissiveListConversationCommentsOutput = z.object({\n comments: z.array(MissiveListConversationComments_CommentSchema).describe(\"List of comments ordered from newest to oldest\"),\n}).passthrough().describe(\"Response model for listing conversation comments.\");\n\nexport const missiveListConversationComments = action(\"MISSIVE_LIST_CONVERSATION_COMMENTS\", {\n slug: \"missive-list-conversation-comments\",\n name: \"List Conversation Comments\",\n description: \"Tool to list comments in a Missive conversation ordered from newest to oldest. Use when you need to retrieve comments with author info, attachments, and task data for a specific conversation.\",\n input: MissiveListConversationCommentsInput,\n output: MissiveListConversationCommentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-conversation-comments.mjs","names":[],"sources":["../../src/actions/list-conversation-comments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveListConversationCommentsInput = z.object({\n id: z.string().describe(\"The conversation identifier\"),\n limit: z.number().int().default(10).describe(\"Number of comments returned. Default: 10. Max: 10\").optional(),\n until: z.number().int().describe(\"Unix timestamp for pagination. Use created_at of the oldest comment from previous page\").optional(),\n}).describe(\"Request model for listing comments in a conversation.\");\nconst MissiveListConversationComments_TaskTeamSchema = z.object({\n id: z.string().describe(\"Team identifier\").nullable().optional(),\n name: z.string().describe(\"Team name\").nullable().optional(),\n organization: z.string().describe(\"Organization identifier\").nullable().optional(),\n}).passthrough().describe(\"Task team information.\");\nconst MissiveListConversationComments_TaskStateSchema = z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\");\nconst MissiveListConversationComments_TaskAssigneeSchema = z.object({\n id: z.string().describe(\"Assignee user identifier\").nullable().optional(),\n name: z.string().describe(\"Assignee display name\").nullable().optional(),\n email: z.string().describe(\"Assignee email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to assignee's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Task assignee information.\");\nconst MissiveListConversationComments_TaskSchema = z.object({\n team: MissiveListConversationComments_TaskTeamSchema.nullable().optional(),\n state: MissiveListConversationComments_TaskStateSchema.nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp when task is due\").nullable().optional(),\n assignees: z.array(MissiveListConversationComments_TaskAssigneeSchema).describe(\"List of users assigned to the task\").nullable().optional(),\n closed_at: z.number().int().describe(\"Unix timestamp when task was closed\").nullable().optional(),\n started_at: z.number().int().describe(\"Unix timestamp when task was started\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n}).passthrough().describe(\"Task associated with a comment.\");\nconst MissiveListConversationComments_AuthorSchema = z.object({\n id: z.string().describe(\"Author user identifier\").nullable().optional(),\n name: z.string().describe(\"Author display name\").nullable().optional(),\n email: z.string().describe(\"Author email address\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to author's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Comment author information.\");\nconst MissiveListConversationComments_MentionSchema = z.object({\n id: z.string().describe(\"Mentioned user identifier\").nullable().optional(),\n index: z.number().int().describe(\"Position in the comment text\").nullable().optional(),\n length: z.number().int().describe(\"Length of the mention in characters\").nullable().optional(),\n}).passthrough().describe(\"Mention in a comment.\");\nconst MissiveListConversationComments_AttachmentSchema = z.object({\n id: z.string().describe(\"Attachment identifier\").nullable().optional(),\n url: z.string().describe(\"URL to download the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attached file\").nullable().optional(),\n sub_type: z.string().describe(\"MIME subtype\").nullable().optional(),\n extension: z.string().describe(\"File extension\").nullable().optional(),\n media_type: z.string().describe(\"Primary MIME type\").nullable().optional(),\n}).passthrough().describe(\"Comment attachment information.\");\nconst MissiveListConversationComments_CommentSchema = z.object({\n id: z.string().describe(\"Comment unique identifier\").nullable().optional(),\n body: z.string().describe(\"Comment text content\").nullable().optional(),\n task: MissiveListConversationComments_TaskSchema.nullable().optional(),\n author: MissiveListConversationComments_AuthorSchema.nullable().optional(),\n mentions: z.array(MissiveListConversationComments_MentionSchema).describe(\"List of user mentions in the comment\").nullable().optional(),\n attachment: MissiveListConversationComments_AttachmentSchema.nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when comment was created\").nullable().optional(),\n}).passthrough().describe(\"A Missive comment object.\");\nexport const MissiveListConversationCommentsOutput = z.object({\n comments: z.array(MissiveListConversationComments_CommentSchema).describe(\"List of comments ordered from newest to oldest\"),\n}).passthrough().describe(\"Response model for listing conversation comments.\");\n\nexport const missiveListConversationComments: AppAction<\n typeof MissiveListConversationCommentsInput,\n typeof MissiveListConversationCommentsOutput,\n typeof missive.credential\n> = action(\"MISSIVE_LIST_CONVERSATION_COMMENTS\", {\n slug: \"missive-list-conversation-comments\",\n name: \"List Conversation Comments\",\n description: \"Tool to list comments in a Missive conversation ordered from newest to oldest. Use when you need to retrieve comments with author info, attachments, and task data for a specific conversation.\",\n input: MissiveListConversationCommentsInput,\n output: MissiveListConversationCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,kDAAkD,EAAE,KAAK;CAAC;CAAQ;CAAe;AAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB;AAC/H,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,S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MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,YAAY,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO,EAC5D,UAAU,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,gDAAgD,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-conversation-drafts.cjs","names":["z","action"],"sources":["../../src/actions/list-conversation-drafts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const 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: AppAction<\n typeof MissiveListConversationDraftsInput,\n typeof MissiveListConversationDraftsOutput,\n typeof missive.credential\n> = 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":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC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|
2
4
|
|
|
3
5
|
//#region src/actions/list-conversation-drafts.d.ts
|
|
@@ -53,11 +55,7 @@ declare const MissiveListConversationDraftsOutput: z.ZodObject<{
|
|
|
53
55
|
email_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
56
|
}, z.core.$loose>>;
|
|
55
57
|
}, z.core.$loose>;
|
|
56
|
-
declare const missiveListConversationDrafts:
|
|
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]>;
|
|
58
|
+
declare const missiveListConversationDrafts: AppAction<typeof MissiveListConversationDraftsInput, typeof MissiveListConversationDraftsOutput, typeof missive.credential>;
|
|
61
59
|
//#endregion
|
|
62
60
|
export { missiveListConversationDrafts };
|
|
63
61
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-conversation-drafts.d.cts","names":[],"sources":["../../src/actions/list-conversation-drafts.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cA6ClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-conversation-drafts.d.ts
|
|
@@ -53,11 +55,7 @@ declare const MissiveListConversationDraftsOutput: z.ZodObject<{
|
|
|
53
55
|
email_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
56
|
}, z.core.$loose>>;
|
|
55
57
|
}, z.core.$loose>;
|
|
56
|
-
declare const missiveListConversationDrafts:
|
|
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]>;
|
|
58
|
+
declare const missiveListConversationDrafts: AppAction<typeof MissiveListConversationDraftsInput, typeof MissiveListConversationDraftsOutput, typeof missive.credential>;
|
|
61
59
|
//#endregion
|
|
62
60
|
export { missiveListConversationDrafts };
|
|
63
61
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-conversation-drafts.d.mts","names":[],"sources":["../../src/actions/list-conversation-drafts.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cA6ClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
|