@keystrokehq/missive 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-analytics-report.cjs +2 -2
- package/dist/actions/create-analytics-report.cjs.map +1 -1
- package/dist/actions/create-analytics-report.d.cts +39 -3
- package/dist/actions/create-analytics-report.d.cts.map +1 -1
- package/dist/actions/create-analytics-report.d.mts +39 -3
- package/dist/actions/create-analytics-report.d.mts.map +1 -1
- package/dist/actions/create-analytics-report.mjs +2 -2
- package/dist/actions/create-analytics-report.mjs.map +1 -1
- package/dist/actions/create-contacts.cjs +10 -10
- package/dist/actions/create-contacts.cjs.map +1 -1
- package/dist/actions/create-contacts.d.cts +140 -3
- package/dist/actions/create-contacts.d.cts.map +1 -1
- package/dist/actions/create-contacts.d.mts +140 -3
- package/dist/actions/create-contacts.d.mts.map +1 -1
- package/dist/actions/create-contacts.mjs +10 -10
- package/dist/actions/create-contacts.mjs.map +1 -1
- package/dist/actions/create-draft.cjs +13 -13
- package/dist/actions/create-draft.cjs.map +1 -1
- package/dist/actions/create-draft.d.cts +143 -3
- package/dist/actions/create-draft.d.cts.map +1 -1
- package/dist/actions/create-draft.d.mts +143 -3
- package/dist/actions/create-draft.d.mts.map +1 -1
- package/dist/actions/create-draft.mjs +13 -13
- package/dist/actions/create-draft.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -1
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +37 -3
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +37 -3
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +1 -1
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-response.cjs +6 -6
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +57 -3
- package/dist/actions/create-response.d.cts.map +1 -1
- package/dist/actions/create-response.d.mts +57 -3
- package/dist/actions/create-response.d.mts.map +1 -1
- package/dist/actions/create-response.mjs +6 -6
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-shared-label.cjs +6 -6
- package/dist/actions/create-shared-label.cjs.map +1 -1
- package/dist/actions/create-shared-label.d.cts +29 -3
- package/dist/actions/create-shared-label.d.cts.map +1 -1
- package/dist/actions/create-shared-label.d.mts +29 -3
- package/dist/actions/create-shared-label.d.mts.map +1 -1
- package/dist/actions/create-shared-label.mjs +6 -6
- package/dist/actions/create-shared-label.mjs.map +1 -1
- package/dist/actions/create-task.cjs +3 -3
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +46 -3
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +46 -3
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +3 -3
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-team.cjs +4 -4
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +30 -3
- package/dist/actions/create-team.d.cts.map +1 -1
- package/dist/actions/create-team.d.mts +30 -3
- package/dist/actions/create-team.d.mts.map +1 -1
- package/dist/actions/create-team.mjs +4 -4
- package/dist/actions/create-team.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +2 -2
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +38 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +38 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +2 -2
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-draft.cjs +1 -1
- package/dist/actions/delete-draft.cjs.map +1 -1
- package/dist/actions/delete-draft.d.cts +7 -3
- package/dist/actions/delete-draft.d.cts.map +1 -1
- package/dist/actions/delete-draft.d.mts +7 -3
- package/dist/actions/delete-draft.d.mts.map +1 -1
- package/dist/actions/delete-draft.mjs +1 -1
- package/dist/actions/delete-draft.mjs.map +1 -1
- package/dist/actions/delete-post.cjs +1 -1
- package/dist/actions/delete-post.cjs.map +1 -1
- package/dist/actions/delete-post.d.cts +7 -3
- package/dist/actions/delete-post.d.cts.map +1 -1
- package/dist/actions/delete-post.d.mts +7 -3
- package/dist/actions/delete-post.d.mts.map +1 -1
- package/dist/actions/delete-post.mjs +1 -1
- package/dist/actions/delete-post.mjs.map +1 -1
- package/dist/actions/delete-responses.cjs +1 -1
- package/dist/actions/delete-responses.cjs.map +1 -1
- package/dist/actions/delete-responses.d.cts +7 -3
- package/dist/actions/delete-responses.d.cts.map +1 -1
- package/dist/actions/delete-responses.d.mts +7 -3
- package/dist/actions/delete-responses.d.mts.map +1 -1
- package/dist/actions/delete-responses.mjs +1 -1
- package/dist/actions/delete-responses.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +7 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +7 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-analytics-report.cjs +3 -3
- package/dist/actions/get-analytics-report.cjs.map +1 -1
- package/dist/actions/get-analytics-report.d.cts +19 -3
- package/dist/actions/get-analytics-report.d.cts.map +1 -1
- package/dist/actions/get-analytics-report.d.mts +19 -3
- package/dist/actions/get-analytics-report.d.mts.map +1 -1
- package/dist/actions/get-analytics-report.mjs +3 -3
- package/dist/actions/get-analytics-report.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +9 -9
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +52 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +52 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +9 -9
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-conversation-messages.cjs +6 -6
- package/dist/actions/get-conversation-messages.cjs.map +1 -1
- package/dist/actions/get-conversation-messages.d.cts +51 -3
- package/dist/actions/get-conversation-messages.d.cts.map +1 -1
- package/dist/actions/get-conversation-messages.d.mts +51 -3
- package/dist/actions/get-conversation-messages.d.mts.map +1 -1
- package/dist/actions/get-conversation-messages.mjs +6 -6
- package/dist/actions/get-conversation-messages.mjs.map +1 -1
- package/dist/actions/get-conversation.cjs +23 -23
- package/dist/actions/get-conversation.cjs.map +1 -1
- package/dist/actions/get-conversation.d.cts +80 -3
- package/dist/actions/get-conversation.d.cts.map +1 -1
- package/dist/actions/get-conversation.d.mts +80 -3
- package/dist/actions/get-conversation.d.mts.map +1 -1
- package/dist/actions/get-conversation.mjs +23 -23
- package/dist/actions/get-conversation.mjs.map +1 -1
- package/dist/actions/get-message.cjs +7 -7
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +143 -3
- package/dist/actions/get-message.d.cts.map +1 -1
- package/dist/actions/get-message.d.mts +143 -3
- package/dist/actions/get-message.d.mts.map +1 -1
- package/dist/actions/get-message.mjs +7 -7
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +11 -11
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +43 -3
- package/dist/actions/get-response.d.cts.map +1 -1
- package/dist/actions/get-response.d.mts +43 -3
- package/dist/actions/get-response.d.mts.map +1 -1
- package/dist/actions/get-response.mjs +11 -11
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-task.cjs +10 -10
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +35 -3
- package/dist/actions/get-task.d.cts.map +1 -1
- package/dist/actions/get-task.d.mts +35 -3
- package/dist/actions/get-task.d.mts.map +1 -1
- package/dist/actions/get-task.mjs +10 -10
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/list-contact-books.cjs +6 -6
- package/dist/actions/list-contact-books.cjs.map +1 -1
- package/dist/actions/list-contact-books.d.cts +20 -3
- package/dist/actions/list-contact-books.d.cts.map +1 -1
- package/dist/actions/list-contact-books.d.mts +20 -3
- package/dist/actions/list-contact-books.d.mts.map +1 -1
- package/dist/actions/list-contact-books.mjs +6 -6
- package/dist/actions/list-contact-books.mjs.map +1 -1
- package/dist/actions/list-contact-groups.cjs +4 -4
- package/dist/actions/list-contact-groups.cjs.map +1 -1
- package/dist/actions/list-contact-groups.d.cts +21 -3
- package/dist/actions/list-contact-groups.d.cts.map +1 -1
- package/dist/actions/list-contact-groups.d.mts +21 -3
- package/dist/actions/list-contact-groups.d.mts.map +1 -1
- package/dist/actions/list-contact-groups.mjs +4 -4
- package/dist/actions/list-contact-groups.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +6 -6
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +57 -3
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +57 -3
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +6 -6
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-conversation-comments.cjs +8 -8
- package/dist/actions/list-conversation-comments.cjs.map +1 -1
- package/dist/actions/list-conversation-comments.d.cts +59 -3
- package/dist/actions/list-conversation-comments.d.cts.map +1 -1
- package/dist/actions/list-conversation-comments.d.mts +59 -3
- package/dist/actions/list-conversation-comments.d.mts.map +1 -1
- package/dist/actions/list-conversation-comments.mjs +8 -8
- package/dist/actions/list-conversation-comments.mjs.map +1 -1
- package/dist/actions/list-conversation-drafts.cjs +7 -7
- package/dist/actions/list-conversation-drafts.cjs.map +1 -1
- package/dist/actions/list-conversation-drafts.d.cts +57 -3
- package/dist/actions/list-conversation-drafts.d.cts.map +1 -1
- package/dist/actions/list-conversation-drafts.d.mts +57 -3
- package/dist/actions/list-conversation-drafts.d.mts.map +1 -1
- package/dist/actions/list-conversation-drafts.mjs +7 -7
- package/dist/actions/list-conversation-drafts.mjs.map +1 -1
- package/dist/actions/list-conversation-posts.cjs +6 -6
- package/dist/actions/list-conversation-posts.cjs.map +1 -1
- package/dist/actions/list-conversation-posts.d.cts +30 -3
- package/dist/actions/list-conversation-posts.d.cts.map +1 -1
- package/dist/actions/list-conversation-posts.d.mts +30 -3
- package/dist/actions/list-conversation-posts.d.mts.map +1 -1
- package/dist/actions/list-conversation-posts.mjs +6 -6
- package/dist/actions/list-conversation-posts.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +21 -21
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +79 -3
- package/dist/actions/list-conversations.d.cts.map +1 -1
- package/dist/actions/list-conversations.d.mts +79 -3
- package/dist/actions/list-conversations.d.mts.map +1 -1
- package/dist/actions/list-conversations.mjs +21 -21
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +7 -7
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +64 -3
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +64 -3
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +7 -7
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +4 -4
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +14 -3
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +14 -3
- package/dist/actions/list-organizations.d.mts.map +1 -1
- package/dist/actions/list-organizations.mjs +4 -4
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-responses.cjs +11 -11
- package/dist/actions/list-responses.cjs.map +1 -1
- package/dist/actions/list-responses.d.cts +46 -3
- package/dist/actions/list-responses.d.cts.map +1 -1
- package/dist/actions/list-responses.d.mts +46 -3
- package/dist/actions/list-responses.d.mts.map +1 -1
- package/dist/actions/list-responses.mjs +11 -11
- package/dist/actions/list-responses.mjs.map +1 -1
- package/dist/actions/list-shared-labels.cjs +4 -4
- package/dist/actions/list-shared-labels.cjs.map +1 -1
- package/dist/actions/list-shared-labels.d.cts +27 -3
- package/dist/actions/list-shared-labels.d.cts.map +1 -1
- package/dist/actions/list-shared-labels.d.mts +27 -3
- package/dist/actions/list-shared-labels.d.mts.map +1 -1
- package/dist/actions/list-shared-labels.mjs +4 -4
- package/dist/actions/list-shared-labels.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +11 -11
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +48 -3
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +48 -3
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +11 -11
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +4 -4
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +19 -3
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +19 -3
- package/dist/actions/list-teams.d.mts.map +1 -1
- package/dist/actions/list-teams.mjs +4 -4
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/list-users.cjs +6 -6
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +19 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +19 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +6 -6
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/merge-conversations.cjs +22 -22
- package/dist/actions/merge-conversations.cjs.map +1 -1
- package/dist/actions/merge-conversations.d.cts +85 -3
- package/dist/actions/merge-conversations.d.cts.map +1 -1
- package/dist/actions/merge-conversations.d.mts +85 -3
- package/dist/actions/merge-conversations.d.mts.map +1 -1
- package/dist/actions/merge-conversations.mjs +22 -22
- package/dist/actions/merge-conversations.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +12 -12
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +138 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +138 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +12 -12
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-response.cjs +10 -10
- package/dist/actions/update-response.cjs.map +1 -1
- package/dist/actions/update-response.d.cts +87 -3
- package/dist/actions/update-response.d.cts.map +1 -1
- package/dist/actions/update-response.d.mts +87 -3
- package/dist/actions/update-response.d.mts.map +1 -1
- package/dist/actions/update-response.mjs +10 -10
- package/dist/actions/update-response.mjs.map +1 -1
- package/dist/actions/update-shared-labels.cjs +6 -6
- package/dist/actions/update-shared-labels.cjs.map +1 -1
- package/dist/actions/update-shared-labels.d.cts +24 -3
- package/dist/actions/update-shared-labels.d.cts.map +1 -1
- package/dist/actions/update-shared-labels.d.mts +24 -3
- package/dist/actions/update-shared-labels.d.mts.map +1 -1
- package/dist/actions/update-shared-labels.mjs +6 -6
- package/dist/actions/update-shared-labels.mjs.map +1 -1
- package/dist/actions/update-task.cjs +7 -7
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +37 -3
- package/dist/actions/update-task.d.cts.map +1 -1
- package/dist/actions/update-task.d.mts +37 -3
- package/dist/actions/update-task.d.mts.map +1 -1
- package/dist/actions/update-task.mjs +7 -7
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-team.cjs +5 -5
- package/dist/actions/update-team.cjs.map +1 -1
- package/dist/actions/update-team.d.cts +30 -3
- package/dist/actions/update-team.d.cts.map +1 -1
- package/dist/actions/update-team.d.mts +30 -3
- package/dist/actions/update-team.d.mts.map +1 -1
- package/dist/actions/update-team.mjs +5 -5
- package/dist/actions/update-team.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-responses.d.mts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-responses.d.mts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const missiveDeleteResponses = action("MISSIVE_DELETE_RESPONSES", {
|
|
|
5
5
|
name: "Delete Saved Responses",
|
|
6
6
|
description: "Tool to delete one or more saved responses by ID. For organization responses, the API token must belong to an admin. Use after confirming the response ID(s); this operation cannot be undone.",
|
|
7
7
|
input: z.object({ id: z.string().describe("Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').") }).describe("Request model for deleting one or more saved responses."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful response deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { missiveDeleteResponses };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-responses.mjs","names":[],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteResponsesInput
|
|
1
|
+
{"version":3,"file":"delete-responses.mjs","names":[],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteResponsesInput = z.object({\n id: z.string().describe(\"Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').\"),\n}).describe(\"Request model for deleting one or more saved responses.\");\nexport const MissiveDeleteResponsesOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful response deletion.\");\n\nexport const missiveDeleteResponses = action(\"MISSIVE_DELETE_RESPONSES\", {\n slug: \"missive-delete-responses\",\n name: \"Delete Saved Responses\",\n description: \"Tool to delete one or more saved responses by ID. For organization responses, the API token must belong to an admin. Use after confirming the response ID(s); this operation cannot be undone.\",\n input: MissiveDeleteResponsesInput,\n output: MissiveDeleteResponsesOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAO7E;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-webhook.ts
|
|
4
4
|
const MissiveDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.string().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a webhook subscription by ID.");
|
|
5
|
-
const MissiveDeleteWebhookOutput = zod.z.
|
|
5
|
+
const MissiveDeleteWebhookOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful webhook deletion.");
|
|
6
6
|
const missiveDeleteWebhook = require_action.action("MISSIVE_DELETE_WEBHOOK", {
|
|
7
7
|
slug: "missive-delete-webhook",
|
|
8
8
|
name: "Delete Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAEtI,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-webhook.d.ts
|
|
4
|
-
declare const MissiveDeleteWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveDeleteWebhookInput: z.ZodObject<{
|
|
5
|
+
webhook_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MissiveDeleteWebhookOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
declare const missiveDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
webhook_id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { missiveDeleteWebhook };
|
|
9
13
|
//# sourceMappingURL=delete-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-webhook.d.ts
|
|
4
|
-
declare const MissiveDeleteWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveDeleteWebhookInput: z.ZodObject<{
|
|
5
|
+
webhook_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MissiveDeleteWebhookOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
declare const missiveDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
webhook_id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { missiveDeleteWebhook };
|
|
9
13
|
//# sourceMappingURL=delete-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const missiveDeleteWebhook = action("MISSIVE_DELETE_WEBHOOK", {
|
|
|
5
5
|
name: "Delete Webhook",
|
|
6
6
|
description: "Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.",
|
|
7
7
|
input: z.object({ webhook_id: z.string().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a webhook subscription by ID."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful webhook deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { missiveDeleteWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAOH;CACP,QAPwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAO3E;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-analytics-report.ts
|
|
4
4
|
const MissiveGetAnalyticsReportInput = zod.z.object({ id: zod.z.string().describe("Report ID returned by Create Analytics Report request (UUID format)") }).describe("Request model for fetching an analytics report by ID.");
|
|
5
5
|
const MissiveGetAnalyticsReport_AnalyticsDataSchema = zod.z.object({
|
|
6
|
-
end: zod.z.number().int().describe("Report period end in Unix epoch seconds"),
|
|
7
|
-
start: zod.z.number().int().describe("Report period start in Unix epoch seconds"),
|
|
6
|
+
end: zod.z.number().int().describe("Report period end in Unix epoch seconds").nullable(),
|
|
7
|
+
start: zod.z.number().int().describe("Report period start in Unix epoch seconds").nullable(),
|
|
8
8
|
teams: zod.z.array(zod.z.string()).describe("Team IDs used to filter the report").nullable().optional(),
|
|
9
9
|
users: zod.z.array(zod.z.string()).describe("User IDs used to filter the report").nullable().optional(),
|
|
10
10
|
accounts: zod.z.array(zod.z.string()).describe("Account IDs used to filter the report").nullable().optional(),
|
|
@@ -13,7 +13,7 @@ const MissiveGetAnalyticsReport_AnalyticsDataSchema = zod.z.object({
|
|
|
13
13
|
account_types: zod.z.array(zod.z.string()).describe("Account types used to filter the report").nullable().optional(),
|
|
14
14
|
shared_labels: zod.z.array(zod.z.string()).describe("Shared label IDs used to filter the report").nullable().optional()
|
|
15
15
|
}).passthrough().describe("Analytics report data structure containing report parameters and metrics.");
|
|
16
|
-
const MissiveGetAnalyticsReportOutput = zod.z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.");
|
|
16
|
+
const MissiveGetAnalyticsReportOutput = zod.z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).passthrough().describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.");
|
|
17
17
|
const missiveGetAnalyticsReport = require_action.action("MISSIVE_GET_ANALYTICS_REPORT", {
|
|
18
18
|
slug: "missive-get-analytics-report",
|
|
19
19
|
name: "Get Analytics Report",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-analytics-report.cjs","names":["z","action"],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput
|
|
1
|
+
{"version":3,"file":"get-analytics-report.cjs","names":["z","action"],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EA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|
6
|
-
|
|
4
|
+
declare const MissiveGetAnalyticsReportInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MissiveGetAnalyticsReportOutput: z.ZodObject<{
|
|
8
|
+
reports: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
end: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
start: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
+
accounts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
+
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
account_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
|
+
shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const missiveGetAnalyticsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { missiveGetAnalyticsReport };
|
|
9
25
|
//# sourceMappingURL=get-analytics-report.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-analytics-report.d.cts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-analytics-report.d.cts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-analytics-report.d.ts
|
|
4
|
-
declare const MissiveGetAnalyticsReportInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveGetAnalyticsReportInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MissiveGetAnalyticsReportOutput: z.ZodObject<{
|
|
8
|
+
reports: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
end: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
start: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
+
accounts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
+
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
account_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
|
+
shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const missiveGetAnalyticsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { missiveGetAnalyticsReport };
|
|
9
25
|
//# sourceMappingURL=get-analytics-report.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-analytics-report.d.mts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-analytics-report.d.mts","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-analytics-report.ts
|
|
4
4
|
const MissiveGetAnalyticsReportInput = z.object({ id: z.string().describe("Report ID returned by Create Analytics Report request (UUID format)") }).describe("Request model for fetching an analytics report by ID.");
|
|
5
5
|
const MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({
|
|
6
|
-
end: z.number().int().describe("Report period end in Unix epoch seconds"),
|
|
7
|
-
start: z.number().int().describe("Report period start in Unix epoch seconds"),
|
|
6
|
+
end: z.number().int().describe("Report period end in Unix epoch seconds").nullable(),
|
|
7
|
+
start: z.number().int().describe("Report period start in Unix epoch seconds").nullable(),
|
|
8
8
|
teams: z.array(z.string()).describe("Team IDs used to filter the report").nullable().optional(),
|
|
9
9
|
users: z.array(z.string()).describe("User IDs used to filter the report").nullable().optional(),
|
|
10
10
|
accounts: z.array(z.string()).describe("Account IDs used to filter the report").nullable().optional(),
|
|
@@ -18,7 +18,7 @@ const missiveGetAnalyticsReport = action("MISSIVE_GET_ANALYTICS_REPORT", {
|
|
|
18
18
|
name: "Get Analytics Report",
|
|
19
19
|
description: "Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.",
|
|
20
20
|
input: MissiveGetAnalyticsReportInput,
|
|
21
|
-
output: z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.")
|
|
21
|
+
output: z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).passthrough().describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { missiveGetAnalyticsReport };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-analytics-report.mjs","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput
|
|
1
|
+
{"version":3,"file":"get-analytics-report.mjs","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAKrG,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAOhB;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ let zod = require("zod");
|
|
|
4
4
|
const MissiveGetContactInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the contact to retrieve.") }).describe("Request model for fetching a specific contact.");
|
|
5
5
|
const MissiveGetContact_ContactInfoSchema = zod.z.object({
|
|
6
6
|
city: zod.z.string().describe("City for physical_address type").nullable().optional(),
|
|
7
|
-
kind: zod.z.string().describe("Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom"),
|
|
7
|
+
kind: zod.z.string().describe("Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom").nullable(),
|
|
8
8
|
name: zod.z.string().describe("Name for facebook type").nullable().optional(),
|
|
9
9
|
label: zod.z.string().describe("Label for the info entry: home, work, personal, other, etc.").nullable().optional(),
|
|
10
10
|
value: zod.z.string().describe("Value for email, phone_number, twitter, url, or custom types").nullable().optional(),
|
|
@@ -15,21 +15,21 @@ const MissiveGetContact_ContactInfoSchema = zod.z.object({
|
|
|
15
15
|
postal_code: zod.z.string().describe("Postal code for physical_address type").nullable().optional(),
|
|
16
16
|
custom_label: zod.z.string().describe("Custom label when label is 'other'").nullable().optional(),
|
|
17
17
|
extended_address: zod.z.string().describe("Extended address for physical_address type").nullable().optional()
|
|
18
|
-
}).describe("Contact information entry (email, phone, social media, address, etc.).");
|
|
18
|
+
}).passthrough().describe("Contact information entry (email, phone, social media, address, etc.).");
|
|
19
19
|
const MissiveGetContact_MembershipGroupSchema = zod.z.object({
|
|
20
20
|
id: zod.z.string().describe("Unique identifier of the group").nullable().optional(),
|
|
21
|
-
kind: zod.z.string().describe("Type of group: 'organization' or 'group'"),
|
|
22
|
-
name: zod.z.string().describe("Name of the group or organization")
|
|
23
|
-
}).describe("Group or organization reference in a membership.");
|
|
21
|
+
kind: zod.z.string().describe("Type of group: 'organization' or 'group'").nullable(),
|
|
22
|
+
name: zod.z.string().describe("Name of the group or organization").nullable()
|
|
23
|
+
}).passthrough().describe("Group or organization reference in a membership.");
|
|
24
24
|
const MissiveGetContact_ContactMembershipSchema = zod.z.object({
|
|
25
25
|
group: MissiveGetContact_MembershipGroupSchema.nullable(),
|
|
26
26
|
title: zod.z.string().describe("Job title (organization only)").nullable().optional(),
|
|
27
27
|
location: zod.z.string().describe("Work location (organization only)").nullable().optional(),
|
|
28
28
|
department: zod.z.string().describe("Department name (organization only)").nullable().optional(),
|
|
29
29
|
description: zod.z.string().describe("Role description (organization only)").nullable().optional()
|
|
30
|
-
}).describe("Membership linking a contact to an organization or group.");
|
|
30
|
+
}).passthrough().describe("Membership linking a contact to an organization or group.");
|
|
31
31
|
const MissiveGetContact_ContactSchema = zod.z.object({
|
|
32
|
-
id: zod.z.string().describe("Unique identifier for the contact"),
|
|
32
|
+
id: zod.z.string().describe("Unique identifier for the contact").nullable(),
|
|
33
33
|
infos: zod.z.array(MissiveGetContact_ContactInfoSchema).describe("Contact information entries (emails, phones, social media, etc.)").nullable().optional(),
|
|
34
34
|
notes: zod.z.string().describe("Additional notes about contact").nullable().optional(),
|
|
35
35
|
gender: zod.z.string().describe("Contact's gender").nullable().optional(),
|
|
@@ -48,8 +48,8 @@ const MissiveGetContact_ContactSchema = zod.z.object({
|
|
|
48
48
|
phonetic_last_name: zod.z.string().describe("Phonetic spelling of last name").nullable().optional(),
|
|
49
49
|
phonetic_first_name: zod.z.string().describe("Phonetic spelling of first name").nullable().optional(),
|
|
50
50
|
phonetic_middle_name: zod.z.string().describe("Phonetic spelling of middle name").nullable().optional()
|
|
51
|
-
}).describe("Complete contact object with all details.");
|
|
52
|
-
const MissiveGetContactOutput = zod.z.object({ contacts: zod.z.array(MissiveGetContact_ContactSchema).describe("List of contacts returned by the API (single contact in a list)") }).describe("Response model for fetching a contact.");
|
|
51
|
+
}).passthrough().describe("Complete contact object with all details.");
|
|
52
|
+
const MissiveGetContactOutput = zod.z.object({ contacts: zod.z.array(MissiveGetContact_ContactSchema).describe("List of contacts returned by the API (single contact in a list)") }).passthrough().describe("Response model for fetching a contact.");
|
|
53
53
|
const missiveGetContact = require_action.action("MISSIVE_GET_CONTACT", {
|
|
54
54
|
slug: "missive-get-contact",
|
|
55
55
|
name: "Get Missive Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetContactInput
|
|
1
|
+
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve.\"),\n}).describe(\"Request model for fetching a specific contact.\");\nconst MissiveGetContact_ContactInfoSchema = z.object({\n city: z.string().describe(\"City for physical_address type\").nullable().optional(),\n kind: z.string().describe(\"Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom\").nullable(),\n name: z.string().describe(\"Name for facebook type\").nullable().optional(),\n label: z.string().describe(\"Label for the info entry: home, work, personal, other, etc.\").nullable().optional(),\n value: z.string().describe(\"Value for email, phone_number, twitter, url, or custom types\").nullable().optional(),\n po_box: z.string().describe(\"PO box number for physical_address type\").nullable().optional(),\n region: z.string().describe(\"State/province for physical_address type\").nullable().optional(),\n street: z.string().describe(\"Street address for physical_address type\").nullable().optional(),\n country: z.string().describe(\"Country for physical_address type\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code for physical_address type\").nullable().optional(),\n custom_label: z.string().describe(\"Custom label when label is 'other'\").nullable().optional(),\n extended_address: z.string().describe(\"Extended address for physical_address type\").nullable().optional(),\n}).passthrough().describe(\"Contact information entry (email, phone, social media, address, etc.).\");\nconst MissiveGetContact_MembershipGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable().optional(),\n kind: z.string().describe(\"Type of group: 'organization' or 'group'\").nullable(),\n name: z.string().describe(\"Name of the group or organization\").nullable(),\n}).passthrough().describe(\"Group or organization reference in a membership.\");\nconst MissiveGetContact_ContactMembershipSchema = z.object({\n group: MissiveGetContact_MembershipGroupSchema.nullable(),\n title: z.string().describe(\"Job title (organization only)\").nullable().optional(),\n location: z.string().describe(\"Work location (organization only)\").nullable().optional(),\n department: z.string().describe(\"Department name (organization only)\").nullable().optional(),\n description: z.string().describe(\"Role description (organization only)\").nullable().optional(),\n}).passthrough().describe(\"Membership linking a contact to an organization or group.\");\nconst MissiveGetContact_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n infos: z.array(MissiveGetContact_ContactInfoSchema).describe(\"Contact information entries (emails, phones, social media, etc.)\").nullable().optional(),\n notes: z.string().describe(\"Additional notes about contact\").nullable().optional(),\n gender: z.string().describe(\"Contact's gender\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.')\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.')\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether contact has been deleted\").nullable().optional(),\n file_as: z.string().describe(\"How contact is filed\").nullable().optional(),\n starred: z.boolean().describe(\"Whether contact is starred\").nullable().optional(),\n nickname: z.string().describe(\"Contact's nickname\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n memberships: z.array(MissiveGetContact_ContactMembershipSchema).describe(\"Organization and group associations\").nullable().optional(),\n middle_name: z.string().describe(\"Contact's middle name\").nullable().optional(),\n modified_at: z.number().int().describe(\"Unix timestamp of last modification\").nullable().optional(),\n contact_book: z.string().describe(\"ID of the contact book containing this contact\").nullable().optional(),\n phonetic_last_name: z.string().describe(\"Phonetic spelling of last name\").nullable().optional(),\n phonetic_first_name: z.string().describe(\"Phonetic spelling of first name\").nullable().optional(),\n phonetic_middle_name: z.string().describe(\"Phonetic spelling of middle name\").nullable().optional(),\n}).passthrough().describe(\"Complete contact object with all details.\");\nexport const MissiveGetContactOutput = z.object({\n contacts: z.array(MissiveGetContact_ContactSchema).describe(\"List of contacts returned by the API (single contact in a list)\"),\n}).passthrough().describe(\"Response model for fetching a contact.\");\n\nexport const missiveGetContact = action(\"MISSIVE_GET_CONTACT\", {\n slug: \"missive-get-contact\",\n name: \"Get Missive Contact\",\n description: \"Tool to fetch a specific contact using the contact ID. Use when you need detailed contact information including names, contact info, and organizational memberships. Returns 404 for deleted contacts.\",\n input: MissiveGetContactInput,\n output: MissiveGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IA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A2C;AACrE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,iEAAiE,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact.d.ts
|
|
4
|
-
declare const MissiveGetContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveGetContactInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MissiveGetContactOutput: z.ZodObject<{
|
|
8
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
infos: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
po_box: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
custom_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
extended_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
suffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
file_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
starred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
31
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
memberships: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
36
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
38
|
+
name: z.ZodNullable<z.ZodString>;
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
department: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
}, z.core.$loose>>>>;
|
|
45
|
+
middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
contact_book: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
phonetic_last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
phonetic_first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
phonetic_middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
}, z.core.$loose>;
|
|
53
|
+
declare const missiveGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
54
|
+
id: string;
|
|
55
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { missiveGetContact };
|
|
9
58
|
//# sourceMappingURL=get-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAkDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact.d.ts
|
|
4
|
-
declare const MissiveGetContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MissiveGetContactInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MissiveGetContactOutput: z.ZodObject<{
|
|
8
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
infos: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
po_box: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
custom_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
extended_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
suffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
file_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
starred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
31
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
memberships: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
36
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
38
|
+
name: z.ZodNullable<z.ZodString>;
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
department: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
}, z.core.$loose>>>>;
|
|
45
|
+
middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
contact_book: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
phonetic_last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
phonetic_first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
phonetic_middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
}, z.core.$loose>;
|
|
53
|
+
declare const missiveGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
54
|
+
id: string;
|
|
55
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { missiveGetContact };
|
|
9
58
|
//# sourceMappingURL=get-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAkDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
const MissiveGetContactInput = z.object({ id: z.string().describe("The unique identifier of the contact to retrieve.") }).describe("Request model for fetching a specific contact.");
|
|
5
5
|
const MissiveGetContact_ContactInfoSchema = z.object({
|
|
6
6
|
city: z.string().describe("City for physical_address type").nullable().optional(),
|
|
7
|
-
kind: z.string().describe("Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom"),
|
|
7
|
+
kind: z.string().describe("Type of information: email, phone_number, twitter, facebook, physical_address, url, or custom").nullable(),
|
|
8
8
|
name: z.string().describe("Name for facebook type").nullable().optional(),
|
|
9
9
|
label: z.string().describe("Label for the info entry: home, work, personal, other, etc.").nullable().optional(),
|
|
10
10
|
value: z.string().describe("Value for email, phone_number, twitter, url, or custom types").nullable().optional(),
|
|
@@ -15,21 +15,21 @@ const MissiveGetContact_ContactInfoSchema = z.object({
|
|
|
15
15
|
postal_code: z.string().describe("Postal code for physical_address type").nullable().optional(),
|
|
16
16
|
custom_label: z.string().describe("Custom label when label is 'other'").nullable().optional(),
|
|
17
17
|
extended_address: z.string().describe("Extended address for physical_address type").nullable().optional()
|
|
18
|
-
}).describe("Contact information entry (email, phone, social media, address, etc.).");
|
|
18
|
+
}).passthrough().describe("Contact information entry (email, phone, social media, address, etc.).");
|
|
19
19
|
const MissiveGetContact_MembershipGroupSchema = z.object({
|
|
20
20
|
id: z.string().describe("Unique identifier of the group").nullable().optional(),
|
|
21
|
-
kind: z.string().describe("Type of group: 'organization' or 'group'"),
|
|
22
|
-
name: z.string().describe("Name of the group or organization")
|
|
23
|
-
}).describe("Group or organization reference in a membership.");
|
|
21
|
+
kind: z.string().describe("Type of group: 'organization' or 'group'").nullable(),
|
|
22
|
+
name: z.string().describe("Name of the group or organization").nullable()
|
|
23
|
+
}).passthrough().describe("Group or organization reference in a membership.");
|
|
24
24
|
const MissiveGetContact_ContactMembershipSchema = z.object({
|
|
25
25
|
group: MissiveGetContact_MembershipGroupSchema.nullable(),
|
|
26
26
|
title: z.string().describe("Job title (organization only)").nullable().optional(),
|
|
27
27
|
location: z.string().describe("Work location (organization only)").nullable().optional(),
|
|
28
28
|
department: z.string().describe("Department name (organization only)").nullable().optional(),
|
|
29
29
|
description: z.string().describe("Role description (organization only)").nullable().optional()
|
|
30
|
-
}).describe("Membership linking a contact to an organization or group.");
|
|
30
|
+
}).passthrough().describe("Membership linking a contact to an organization or group.");
|
|
31
31
|
const MissiveGetContact_ContactSchema = z.object({
|
|
32
|
-
id: z.string().describe("Unique identifier for the contact"),
|
|
32
|
+
id: z.string().describe("Unique identifier for the contact").nullable(),
|
|
33
33
|
infos: z.array(MissiveGetContact_ContactInfoSchema).describe("Contact information entries (emails, phones, social media, etc.)").nullable().optional(),
|
|
34
34
|
notes: z.string().describe("Additional notes about contact").nullable().optional(),
|
|
35
35
|
gender: z.string().describe("Contact's gender").nullable().optional(),
|
|
@@ -48,13 +48,13 @@ const MissiveGetContact_ContactSchema = z.object({
|
|
|
48
48
|
phonetic_last_name: z.string().describe("Phonetic spelling of last name").nullable().optional(),
|
|
49
49
|
phonetic_first_name: z.string().describe("Phonetic spelling of first name").nullable().optional(),
|
|
50
50
|
phonetic_middle_name: z.string().describe("Phonetic spelling of middle name").nullable().optional()
|
|
51
|
-
}).describe("Complete contact object with all details.");
|
|
51
|
+
}).passthrough().describe("Complete contact object with all details.");
|
|
52
52
|
const missiveGetContact = action("MISSIVE_GET_CONTACT", {
|
|
53
53
|
slug: "missive-get-contact",
|
|
54
54
|
name: "Get Missive Contact",
|
|
55
55
|
description: "Tool to fetch a specific contact using the contact ID. Use when you need detailed contact information including names, contact info, and organizational memberships. Returns 404 for deleted contacts.",
|
|
56
56
|
input: MissiveGetContactInput,
|
|
57
|
-
output: z.object({ contacts: z.array(MissiveGetContact_ContactSchema).describe("List of contacts returned by the API (single contact in a list)") }).describe("Response model for fetching a contact.")
|
|
57
|
+
output: z.object({ contacts: z.array(MissiveGetContact_ContactSchema).describe("List of contacts returned by the API (single contact in a list)") }).passthrough().describe("Response model for fetching a contact.")
|
|
58
58
|
});
|
|
59
59
|
//#endregion
|
|
60
60
|
export { missiveGetContact };
|