@keystrokehq/missive 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-analytics-report.cjs +35 -0
- package/dist/actions/create-analytics-report.cjs.map +1 -0
- package/dist/actions/create-analytics-report.d.cts +9 -0
- package/dist/actions/create-analytics-report.d.cts.map +1 -0
- package/dist/actions/create-analytics-report.d.mts +9 -0
- package/dist/actions/create-analytics-report.d.mts.map +1 -0
- package/dist/actions/create-analytics-report.mjs +34 -0
- package/dist/actions/create-analytics-report.mjs.map +1 -0
- package/dist/actions/create-contacts.cjs +107 -0
- package/dist/actions/create-contacts.cjs.map +1 -0
- package/dist/actions/create-contacts.d.cts +9 -0
- package/dist/actions/create-contacts.d.cts.map +1 -0
- package/dist/actions/create-contacts.d.mts +9 -0
- package/dist/actions/create-contacts.d.mts.map +1 -0
- package/dist/actions/create-contacts.mjs +106 -0
- package/dist/actions/create-contacts.mjs.map +1 -0
- package/dist/actions/create-draft.cjs +96 -0
- package/dist/actions/create-draft.cjs.map +1 -0
- package/dist/actions/create-draft.d.cts +9 -0
- package/dist/actions/create-draft.d.cts.map +1 -0
- package/dist/actions/create-draft.d.mts +9 -0
- package/dist/actions/create-draft.d.mts.map +1 -0
- package/dist/actions/create-draft.mjs +95 -0
- package/dist/actions/create-draft.mjs.map +1 -0
- package/dist/actions/create-post.cjs +33 -0
- package/dist/actions/create-post.cjs.map +1 -0
- package/dist/actions/create-post.d.cts +9 -0
- package/dist/actions/create-post.d.cts.map +1 -0
- package/dist/actions/create-post.d.mts +9 -0
- package/dist/actions/create-post.d.mts.map +1 -0
- package/dist/actions/create-post.mjs +30 -0
- package/dist/actions/create-post.mjs.map +1 -0
- package/dist/actions/create-response.cjs +53 -0
- package/dist/actions/create-response.cjs.map +1 -0
- package/dist/actions/create-response.d.cts +9 -0
- package/dist/actions/create-response.d.cts.map +1 -0
- package/dist/actions/create-response.d.mts +9 -0
- package/dist/actions/create-response.d.mts.map +1 -0
- package/dist/actions/create-response.mjs +52 -0
- package/dist/actions/create-response.mjs.map +1 -0
- package/dist/actions/create-shared-label.cjs +30 -0
- package/dist/actions/create-shared-label.cjs.map +1 -0
- package/dist/actions/create-shared-label.d.cts +9 -0
- package/dist/actions/create-shared-label.d.cts.map +1 -0
- package/dist/actions/create-shared-label.d.mts +9 -0
- package/dist/actions/create-shared-label.d.mts.map +1 -0
- package/dist/actions/create-shared-label.mjs +29 -0
- package/dist/actions/create-shared-label.mjs.map +1 -0
- package/dist/actions/create-task.cjs +45 -0
- package/dist/actions/create-task.cjs.map +1 -0
- package/dist/actions/create-task.d.cts +9 -0
- package/dist/actions/create-task.d.cts.map +1 -0
- package/dist/actions/create-task.d.mts +9 -0
- package/dist/actions/create-task.d.mts.map +1 -0
- package/dist/actions/create-task.mjs +44 -0
- package/dist/actions/create-task.mjs.map +1 -0
- package/dist/actions/create-team.cjs +31 -0
- package/dist/actions/create-team.cjs.map +1 -0
- package/dist/actions/create-team.d.cts +9 -0
- package/dist/actions/create-team.d.cts.map +1 -0
- package/dist/actions/create-team.d.mts +9 -0
- package/dist/actions/create-team.d.mts.map +1 -0
- package/dist/actions/create-team.mjs +30 -0
- package/dist/actions/create-team.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +36 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +35 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-draft.cjs +16 -0
- package/dist/actions/delete-draft.cjs.map +1 -0
- package/dist/actions/delete-draft.d.cts +9 -0
- package/dist/actions/delete-draft.d.cts.map +1 -0
- package/dist/actions/delete-draft.d.mts +9 -0
- package/dist/actions/delete-draft.d.mts.map +1 -0
- package/dist/actions/delete-draft.mjs +13 -0
- package/dist/actions/delete-draft.mjs.map +1 -0
- package/dist/actions/delete-post.cjs +16 -0
- package/dist/actions/delete-post.cjs.map +1 -0
- package/dist/actions/delete-post.d.cts +9 -0
- package/dist/actions/delete-post.d.cts.map +1 -0
- package/dist/actions/delete-post.d.mts +9 -0
- package/dist/actions/delete-post.d.mts.map +1 -0
- package/dist/actions/delete-post.mjs +13 -0
- package/dist/actions/delete-post.mjs.map +1 -0
- package/dist/actions/delete-responses.cjs +16 -0
- package/dist/actions/delete-responses.cjs.map +1 -0
- package/dist/actions/delete-responses.d.cts +9 -0
- package/dist/actions/delete-responses.d.cts.map +1 -0
- package/dist/actions/delete-responses.d.mts +9 -0
- package/dist/actions/delete-responses.d.mts.map +1 -0
- package/dist/actions/delete-responses.mjs +13 -0
- package/dist/actions/delete-responses.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +16 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +13 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/get-analytics-report.cjs +27 -0
- package/dist/actions/get-analytics-report.cjs.map +1 -0
- package/dist/actions/get-analytics-report.d.cts +9 -0
- package/dist/actions/get-analytics-report.d.cts.map +1 -0
- package/dist/actions/get-analytics-report.d.mts +9 -0
- package/dist/actions/get-analytics-report.d.mts.map +1 -0
- package/dist/actions/get-analytics-report.mjs +26 -0
- package/dist/actions/get-analytics-report.mjs.map +1 -0
- package/dist/actions/get-contact.cjs +63 -0
- package/dist/actions/get-contact.cjs.map +1 -0
- package/dist/actions/get-contact.d.cts +9 -0
- package/dist/actions/get-contact.d.cts.map +1 -0
- package/dist/actions/get-contact.d.mts +9 -0
- package/dist/actions/get-contact.d.mts.map +1 -0
- package/dist/actions/get-contact.mjs +62 -0
- package/dist/actions/get-contact.mjs.map +1 -0
- package/dist/actions/get-conversation-messages.cjs +53 -0
- package/dist/actions/get-conversation-messages.cjs.map +1 -0
- package/dist/actions/get-conversation-messages.d.cts +9 -0
- package/dist/actions/get-conversation-messages.d.cts.map +1 -0
- package/dist/actions/get-conversation-messages.d.mts +9 -0
- package/dist/actions/get-conversation-messages.d.mts.map +1 -0
- package/dist/actions/get-conversation-messages.mjs +52 -0
- package/dist/actions/get-conversation-messages.mjs.map +1 -0
- package/dist/actions/get-conversation.cjs +81 -0
- package/dist/actions/get-conversation.cjs.map +1 -0
- package/dist/actions/get-conversation.d.cts +9 -0
- package/dist/actions/get-conversation.d.cts.map +1 -0
- package/dist/actions/get-conversation.d.mts +9 -0
- package/dist/actions/get-conversation.d.mts.map +1 -0
- package/dist/actions/get-conversation.mjs +80 -0
- package/dist/actions/get-conversation.mjs.map +1 -0
- package/dist/actions/get-message.cjs +79 -0
- package/dist/actions/get-message.cjs.map +1 -0
- package/dist/actions/get-message.d.cts +9 -0
- package/dist/actions/get-message.d.cts.map +1 -0
- package/dist/actions/get-message.d.mts +9 -0
- package/dist/actions/get-message.d.mts.map +1 -0
- package/dist/actions/get-message.mjs +78 -0
- package/dist/actions/get-message.mjs.map +1 -0
- package/dist/actions/get-response.cjs +47 -0
- package/dist/actions/get-response.cjs.map +1 -0
- package/dist/actions/get-response.d.cts +9 -0
- package/dist/actions/get-response.d.cts.map +1 -0
- package/dist/actions/get-response.d.mts +9 -0
- package/dist/actions/get-response.d.mts.map +1 -0
- package/dist/actions/get-response.mjs +46 -0
- package/dist/actions/get-response.mjs.map +1 -0
- package/dist/actions/get-task.cjs +46 -0
- package/dist/actions/get-task.cjs.map +1 -0
- package/dist/actions/get-task.d.cts +9 -0
- package/dist/actions/get-task.d.cts.map +1 -0
- package/dist/actions/get-task.d.mts +9 -0
- package/dist/actions/get-task.d.mts.map +1 -0
- package/dist/actions/get-task.mjs +45 -0
- package/dist/actions/get-task.mjs.map +1 -0
- package/dist/actions/index.cjs +81 -0
- package/dist/actions/index.d.cts +41 -0
- package/dist/actions/index.d.mts +41 -0
- package/dist/actions/index.mjs +41 -0
- package/dist/actions/list-contact-books.cjs +29 -0
- package/dist/actions/list-contact-books.cjs.map +1 -0
- package/dist/actions/list-contact-books.d.cts +9 -0
- package/dist/actions/list-contact-books.d.cts.map +1 -0
- package/dist/actions/list-contact-books.d.mts +9 -0
- package/dist/actions/list-contact-books.d.mts.map +1 -0
- package/dist/actions/list-contact-books.mjs +28 -0
- package/dist/actions/list-contact-books.mjs.map +1 -0
- package/dist/actions/list-contact-groups.cjs +25 -0
- package/dist/actions/list-contact-groups.cjs.map +1 -0
- package/dist/actions/list-contact-groups.d.cts +9 -0
- package/dist/actions/list-contact-groups.d.cts.map +1 -0
- package/dist/actions/list-contact-groups.d.mts +9 -0
- package/dist/actions/list-contact-groups.d.mts.map +1 -0
- package/dist/actions/list-contact-groups.mjs +24 -0
- package/dist/actions/list-contact-groups.mjs.map +1 -0
- package/dist/actions/list-contacts.cjs +60 -0
- package/dist/actions/list-contacts.cjs.map +1 -0
- package/dist/actions/list-contacts.d.cts +9 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +9 -0
- package/dist/actions/list-contacts.d.mts.map +1 -0
- package/dist/actions/list-contacts.mjs +59 -0
- package/dist/actions/list-contacts.mjs.map +1 -0
- package/dist/actions/list-conversation-comments.cjs +74 -0
- package/dist/actions/list-conversation-comments.cjs.map +1 -0
- package/dist/actions/list-conversation-comments.d.cts +9 -0
- package/dist/actions/list-conversation-comments.d.cts.map +1 -0
- package/dist/actions/list-conversation-comments.d.mts +9 -0
- package/dist/actions/list-conversation-comments.d.mts.map +1 -0
- package/dist/actions/list-conversation-comments.mjs +73 -0
- package/dist/actions/list-conversation-comments.mjs.map +1 -0
- package/dist/actions/list-conversation-drafts.cjs +60 -0
- package/dist/actions/list-conversation-drafts.cjs.map +1 -0
- package/dist/actions/list-conversation-drafts.d.cts +9 -0
- package/dist/actions/list-conversation-drafts.d.cts.map +1 -0
- package/dist/actions/list-conversation-drafts.d.mts +9 -0
- package/dist/actions/list-conversation-drafts.d.mts.map +1 -0
- package/dist/actions/list-conversation-drafts.mjs +59 -0
- package/dist/actions/list-conversation-drafts.mjs.map +1 -0
- package/dist/actions/list-conversation-posts.cjs +40 -0
- package/dist/actions/list-conversation-posts.cjs.map +1 -0
- package/dist/actions/list-conversation-posts.d.cts +9 -0
- package/dist/actions/list-conversation-posts.d.cts.map +1 -0
- package/dist/actions/list-conversation-posts.d.mts +9 -0
- package/dist/actions/list-conversation-posts.d.mts.map +1 -0
- package/dist/actions/list-conversation-posts.mjs +39 -0
- package/dist/actions/list-conversation-posts.mjs.map +1 -0
- package/dist/actions/list-conversations.cjs +72 -0
- package/dist/actions/list-conversations.cjs.map +1 -0
- package/dist/actions/list-conversations.d.cts +9 -0
- package/dist/actions/list-conversations.d.cts.map +1 -0
- package/dist/actions/list-conversations.d.mts +9 -0
- package/dist/actions/list-conversations.d.mts.map +1 -0
- package/dist/actions/list-conversations.mjs +71 -0
- package/dist/actions/list-conversations.mjs.map +1 -0
- package/dist/actions/list-messages.cjs +67 -0
- package/dist/actions/list-messages.cjs.map +1 -0
- package/dist/actions/list-messages.d.cts +9 -0
- package/dist/actions/list-messages.d.cts.map +1 -0
- package/dist/actions/list-messages.d.mts +9 -0
- package/dist/actions/list-messages.d.mts.map +1 -0
- package/dist/actions/list-messages.mjs +66 -0
- package/dist/actions/list-messages.mjs.map +1 -0
- package/dist/actions/list-organizations.cjs +23 -0
- package/dist/actions/list-organizations.cjs.map +1 -0
- package/dist/actions/list-organizations.d.cts +9 -0
- package/dist/actions/list-organizations.d.cts.map +1 -0
- package/dist/actions/list-organizations.d.mts +9 -0
- package/dist/actions/list-organizations.d.mts.map +1 -0
- package/dist/actions/list-organizations.mjs +22 -0
- package/dist/actions/list-organizations.mjs.map +1 -0
- package/dist/actions/list-responses.cjs +51 -0
- package/dist/actions/list-responses.cjs.map +1 -0
- package/dist/actions/list-responses.d.cts +9 -0
- package/dist/actions/list-responses.d.cts.map +1 -0
- package/dist/actions/list-responses.d.mts +9 -0
- package/dist/actions/list-responses.d.mts.map +1 -0
- package/dist/actions/list-responses.mjs +50 -0
- package/dist/actions/list-responses.mjs.map +1 -0
- package/dist/actions/list-shared-labels.cjs +35 -0
- package/dist/actions/list-shared-labels.cjs.map +1 -0
- package/dist/actions/list-shared-labels.d.cts +9 -0
- package/dist/actions/list-shared-labels.d.cts.map +1 -0
- package/dist/actions/list-shared-labels.d.mts +9 -0
- package/dist/actions/list-shared-labels.d.mts.map +1 -0
- package/dist/actions/list-shared-labels.mjs +34 -0
- package/dist/actions/list-shared-labels.mjs.map +1 -0
- package/dist/actions/list-tasks.cjs +57 -0
- package/dist/actions/list-tasks.cjs.map +1 -0
- package/dist/actions/list-tasks.d.cts +9 -0
- package/dist/actions/list-tasks.d.cts.map +1 -0
- package/dist/actions/list-tasks.d.mts +9 -0
- package/dist/actions/list-tasks.d.mts.map +1 -0
- package/dist/actions/list-tasks.mjs +56 -0
- package/dist/actions/list-tasks.mjs.map +1 -0
- package/dist/actions/list-teams.cjs +28 -0
- package/dist/actions/list-teams.cjs.map +1 -0
- package/dist/actions/list-teams.d.cts +9 -0
- package/dist/actions/list-teams.d.cts.map +1 -0
- package/dist/actions/list-teams.d.mts +9 -0
- package/dist/actions/list-teams.d.mts.map +1 -0
- package/dist/actions/list-teams.mjs +27 -0
- package/dist/actions/list-teams.mjs.map +1 -0
- package/dist/actions/list-users.cjs +28 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +27 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/merge-conversations.cjs +84 -0
- package/dist/actions/merge-conversations.cjs.map +1 -0
- package/dist/actions/merge-conversations.d.cts +9 -0
- package/dist/actions/merge-conversations.d.cts.map +1 -0
- package/dist/actions/merge-conversations.d.mts +9 -0
- package/dist/actions/merge-conversations.d.mts.map +1 -0
- package/dist/actions/merge-conversations.mjs +83 -0
- package/dist/actions/merge-conversations.mjs.map +1 -0
- package/dist/actions/update-contact.cjs +105 -0
- package/dist/actions/update-contact.cjs.map +1 -0
- package/dist/actions/update-contact.d.cts +9 -0
- package/dist/actions/update-contact.d.cts.map +1 -0
- package/dist/actions/update-contact.d.mts +9 -0
- package/dist/actions/update-contact.d.mts.map +1 -0
- package/dist/actions/update-contact.mjs +104 -0
- package/dist/actions/update-contact.mjs.map +1 -0
- package/dist/actions/update-response.cjs +64 -0
- package/dist/actions/update-response.cjs.map +1 -0
- package/dist/actions/update-response.d.cts +9 -0
- package/dist/actions/update-response.d.cts.map +1 -0
- package/dist/actions/update-response.d.mts +9 -0
- package/dist/actions/update-response.d.mts.map +1 -0
- package/dist/actions/update-response.mjs +63 -0
- package/dist/actions/update-response.mjs.map +1 -0
- package/dist/actions/update-shared-labels.cjs +28 -0
- package/dist/actions/update-shared-labels.cjs.map +1 -0
- package/dist/actions/update-shared-labels.d.cts +9 -0
- package/dist/actions/update-shared-labels.d.cts.map +1 -0
- package/dist/actions/update-shared-labels.d.mts +9 -0
- package/dist/actions/update-shared-labels.d.mts.map +1 -0
- package/dist/actions/update-shared-labels.mjs +27 -0
- package/dist/actions/update-shared-labels.mjs.map +1 -0
- package/dist/actions/update-task.cjs +42 -0
- package/dist/actions/update-task.cjs.map +1 -0
- package/dist/actions/update-task.d.cts +9 -0
- package/dist/actions/update-task.d.cts.map +1 -0
- package/dist/actions/update-task.d.mts +9 -0
- package/dist/actions/update-task.d.mts.map +1 -0
- package/dist/actions/update-task.mjs +41 -0
- package/dist/actions/update-task.mjs.map +1 -0
- package/dist/actions/update-team.cjs +33 -0
- package/dist/actions/update-team.cjs.map +1 -0
- package/dist/actions/update-team.d.cts +9 -0
- package/dist/actions/update-team.d.cts.map +1 -0
- package/dist/actions/update-team.d.mts +9 -0
- package/dist/actions/update-team.d.mts.map +1 -0
- package/dist/actions/update-team.mjs +32 -0
- package/dist/actions/update-team.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +86 -0
- package/dist/index.d.cts +43 -0
- package/dist/index.d.mts +43 -0
- package/dist/index.mjs +44 -0
- package/package.json +49 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-shared-labels.ts
|
|
4
|
+
const MissiveUpdateSharedLabelsInput = z.object({
|
|
5
|
+
id: z.string().describe("Shared label ID in the path. Can pass multiple comma-separated IDs to update multiple labels."),
|
|
6
|
+
shared_labels: z.array(z.object({
|
|
7
|
+
id: z.string().describe("Shared label unique identifier to update"),
|
|
8
|
+
name: z.string().describe("Updated name for the shared label"),
|
|
9
|
+
color: z.string().describe("Updated color code for the label in hex format")
|
|
10
|
+
}).describe("Shared label object with attributes to update.")).describe("Array of shared label objects with id and attributes to update")
|
|
11
|
+
}).describe("Request model for updating one or more shared labels.");
|
|
12
|
+
const MissiveUpdateSharedLabels_SharedLabelResponseSchema = z.object({
|
|
13
|
+
id: z.string().describe("Shared label unique identifier"),
|
|
14
|
+
name: z.string().describe("Shared label name"),
|
|
15
|
+
color: z.string().describe("Label color code in hex format")
|
|
16
|
+
}).describe("Shared label response object.");
|
|
17
|
+
const missiveUpdateSharedLabels = action("MISSIVE_UPDATE_SHARED_LABELS", {
|
|
18
|
+
slug: "missive-update-shared-labels",
|
|
19
|
+
name: "Update Shared Labels",
|
|
20
|
+
description: "Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.",
|
|
21
|
+
input: MissiveUpdateSharedLabelsInput,
|
|
22
|
+
output: z.object({ shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe("Array of updated shared label objects") }).describe("Response model for updating shared labels.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { missiveUpdateSharedLabels };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=update-shared-labels.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-shared-labels.mjs","names":[],"sources":["../../src/actions/update-shared-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateSharedLabelsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Shared label ID in the path. Can pass multiple comma-separated IDs to update multiple labels.\"),\n shared_labels: z.array(z.object({\n id: z.string().describe(\"Shared label unique identifier to update\"),\n name: z.string().describe(\"Updated name for the shared label\"),\n color: z.string().describe(\"Updated color code for the label in hex format\"),\n}).describe(\"Shared label object with attributes to update.\")).describe(\"Array of shared label objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more shared labels.\");\nconst MissiveUpdateSharedLabels_SharedLabelResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Shared label unique identifier\"),\n name: z.string().describe(\"Shared label name\"),\n color: z.string().describe(\"Label color code in hex format\"),\n}).describe(\"Shared label response object.\");\nexport const MissiveUpdateSharedLabelsOutput: z.ZodTypeAny = z.object({\n shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe(\"Array of updated shared label objects\"),\n}).describe(\"Response model for updating shared labels.\");\n\nexport const missiveUpdateSharedLabels = action(\"MISSIVE_UPDATE_SHARED_LABELS\", {\n slug: \"missive-update-shared-labels\",\n name: \"Update Shared Labels\",\n description: \"Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.\",\n input: MissiveUpdateSharedLabelsInput,\n output: MissiveUpdateSharedLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACvH,eAAe,EAAE,MAAM,EAAE,OAAO;EAChC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACxI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC7D,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAK3C,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,eAAe,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,uCAAuC,EAC9H,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-task.ts
|
|
4
|
+
const MissiveUpdateTaskInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("The ID of the task to update"),
|
|
6
|
+
tasks: zod.z.object({
|
|
7
|
+
state: zod.z.enum([
|
|
8
|
+
"todo",
|
|
9
|
+
"in_progress",
|
|
10
|
+
"closed"
|
|
11
|
+
]).describe("Task state values.").optional(),
|
|
12
|
+
due_at: zod.z.number().int().describe("Unix timestamp for task due date").optional(),
|
|
13
|
+
assignees: zod.z.array(zod.z.string()).describe("Array of user IDs to assign to the task").optional(),
|
|
14
|
+
description: zod.z.string().describe("Updated task description").optional()
|
|
15
|
+
}).describe("Task attributes to update")
|
|
16
|
+
}).describe("Request model for updating a task in Missive.");
|
|
17
|
+
const MissiveUpdateTask_UserSchema = zod.z.object({
|
|
18
|
+
id: zod.z.string().describe("User ID"),
|
|
19
|
+
name: zod.z.string().describe("User name"),
|
|
20
|
+
email: zod.z.string().describe("User email address")
|
|
21
|
+
}).describe("User object for task assignees.");
|
|
22
|
+
const MissiveUpdateTask_TaskSchema = zod.z.object({
|
|
23
|
+
id: zod.z.string().describe("Task ID"),
|
|
24
|
+
state: zod.z.string().describe("Task state").nullable().optional(),
|
|
25
|
+
due_at: zod.z.number().int().describe("Unix timestamp for due date").nullable().optional(),
|
|
26
|
+
assignees: zod.z.array(MissiveUpdateTask_UserSchema).describe("Array of assigned users").nullable().optional(),
|
|
27
|
+
closed_at: zod.z.number().int().describe("Unix timestamp when task was closed").nullable().optional(),
|
|
28
|
+
started_at: zod.z.number().int().describe("Unix timestamp when task was started").nullable().optional(),
|
|
29
|
+
description: zod.z.string().describe("Task description").nullable().optional()
|
|
30
|
+
}).describe("Task object in the response.");
|
|
31
|
+
const MissiveUpdateTaskOutput = zod.z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).describe("Response model for updating a task in Missive.");
|
|
32
|
+
const missiveUpdateTask = require_action.action("MISSIVE_UPDATE_TASK", {
|
|
33
|
+
slug: "missive-update-task",
|
|
34
|
+
name: "Update Missive Task",
|
|
35
|
+
description: "Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.",
|
|
36
|
+
input: MissiveUpdateTaskInput,
|
|
37
|
+
output: MissiveUpdateTaskOutput
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.missiveUpdateTask = missiveUpdateTask;
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=update-task.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-task.cjs","names":["z","action"],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the task to update\"),\n tasks: z.object({\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\").optional(),\n due_at: z.number().int().describe(\"Unix timestamp for task due date\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs to assign to the task\").optional(),\n description: z.string().describe(\"Updated task description\").optional(),\n}).describe(\"Task attributes to update\"),\n}).describe(\"Request model for updating a task in Missive.\");\nconst MissiveUpdateTask_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID\"),\n name: z.string().describe(\"User name\"),\n email: z.string().describe(\"User email address\"),\n}).describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Task ID\"),\n state: z.string().describe(\"Task state\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(MissiveUpdateTask_UserSchema).describe(\"Array of assigned users\").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}).describe(\"Task object in the response.\");\nexport const MissiveUpdateTaskOutput: z.ZodTypeAny = z.object({\n tasks: MissiveUpdateTask_TaskSchema.nullable(),\n}).describe(\"Response model for updating a task in Missive.\");\n\nexport const missiveUpdateTask = action(\"MISSIVE_UPDATE_TASK\", {\n slug: \"missive-update-task\",\n name: \"Update Missive Task\",\n description: \"Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.\",\n input: MissiveUpdateTaskInput,\n output: MissiveUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,OAAOA,IAAAA,EAAE,OAAO;EAChB,OAAOA,IAAAA,EAAE,KAAK;GAAC;GAAQ;GAAe;EAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS;CACjC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACjD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS;CACjC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAO,6BAA6B,SAAS,EAC/C,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-task.d.ts
|
|
4
|
+
declare const MissiveUpdateTaskInput: z.ZodTypeAny;
|
|
5
|
+
declare const MissiveUpdateTaskOutput: z.ZodTypeAny;
|
|
6
|
+
declare const missiveUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { missiveUpdateTask };
|
|
9
|
+
//# sourceMappingURL=update-task.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-task.d.cts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAQqB;AAAA,cAe/C,uBAAA,EAAyB,CAAA,CAAE,UAEqB;AAAA,cAEhD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-task.d.ts
|
|
4
|
+
declare const MissiveUpdateTaskInput: z.ZodTypeAny;
|
|
5
|
+
declare const MissiveUpdateTaskOutput: z.ZodTypeAny;
|
|
6
|
+
declare const missiveUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { missiveUpdateTask };
|
|
9
|
+
//# sourceMappingURL=update-task.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-task.d.mts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAQqB;AAAA,cAe/C,uBAAA,EAAyB,CAAA,CAAE,UAEqB;AAAA,cAEhD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-task.ts
|
|
4
|
+
const MissiveUpdateTaskInput = z.object({
|
|
5
|
+
id: z.string().describe("The ID of the task to update"),
|
|
6
|
+
tasks: z.object({
|
|
7
|
+
state: z.enum([
|
|
8
|
+
"todo",
|
|
9
|
+
"in_progress",
|
|
10
|
+
"closed"
|
|
11
|
+
]).describe("Task state values.").optional(),
|
|
12
|
+
due_at: z.number().int().describe("Unix timestamp for task due date").optional(),
|
|
13
|
+
assignees: z.array(z.string()).describe("Array of user IDs to assign to the task").optional(),
|
|
14
|
+
description: z.string().describe("Updated task description").optional()
|
|
15
|
+
}).describe("Task attributes to update")
|
|
16
|
+
}).describe("Request model for updating a task in Missive.");
|
|
17
|
+
const MissiveUpdateTask_UserSchema = z.object({
|
|
18
|
+
id: z.string().describe("User ID"),
|
|
19
|
+
name: z.string().describe("User name"),
|
|
20
|
+
email: z.string().describe("User email address")
|
|
21
|
+
}).describe("User object for task assignees.");
|
|
22
|
+
const MissiveUpdateTask_TaskSchema = z.object({
|
|
23
|
+
id: z.string().describe("Task ID"),
|
|
24
|
+
state: z.string().describe("Task state").nullable().optional(),
|
|
25
|
+
due_at: z.number().int().describe("Unix timestamp for due date").nullable().optional(),
|
|
26
|
+
assignees: z.array(MissiveUpdateTask_UserSchema).describe("Array of assigned users").nullable().optional(),
|
|
27
|
+
closed_at: z.number().int().describe("Unix timestamp when task was closed").nullable().optional(),
|
|
28
|
+
started_at: z.number().int().describe("Unix timestamp when task was started").nullable().optional(),
|
|
29
|
+
description: z.string().describe("Task description").nullable().optional()
|
|
30
|
+
}).describe("Task object in the response.");
|
|
31
|
+
const missiveUpdateTask = action("MISSIVE_UPDATE_TASK", {
|
|
32
|
+
slug: "missive-update-task",
|
|
33
|
+
name: "Update Missive Task",
|
|
34
|
+
description: "Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.",
|
|
35
|
+
input: MissiveUpdateTaskInput,
|
|
36
|
+
output: z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).describe("Response model for updating a task in Missive.")
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { missiveUpdateTask };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=update-task.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-task.mjs","names":[],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the task to update\"),\n tasks: z.object({\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state values.\").optional(),\n due_at: z.number().int().describe(\"Unix timestamp for task due date\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs to assign to the task\").optional(),\n description: z.string().describe(\"Updated task description\").optional(),\n}).describe(\"Task attributes to update\"),\n}).describe(\"Request model for updating a task in Missive.\");\nconst MissiveUpdateTask_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID\"),\n name: z.string().describe(\"User name\"),\n email: z.string().describe(\"User email address\"),\n}).describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Task ID\"),\n state: z.string().describe(\"Task state\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(MissiveUpdateTask_UserSchema).describe(\"Array of assigned users\").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}).describe(\"Task object in the response.\");\nexport const MissiveUpdateTaskOutput: z.ZodTypeAny = z.object({\n tasks: MissiveUpdateTask_TaskSchema.nullable(),\n}).describe(\"Response model for updating a task in Missive.\");\n\nexport const missiveUpdateTask = action(\"MISSIVE_UPDATE_TASK\", {\n slug: \"missive-update-task\",\n name: \"Update Missive Task\",\n description: \"Tool to update an existing task's attributes in Missive. Use when you need to modify a task's description, change its state, update the due date, or reassign it to different users.\",\n input: MissiveUpdateTaskInput,\n output: MissiveUpdateTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,KAAK;GAAC;GAAQ;GAAe;EAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+BAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS;CACjC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACjD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,+BAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS;CACjC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,OAAO,6BAA6B,SAAS,EAC/C,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-team.ts
|
|
4
|
+
const MissiveUpdateTeamInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("Team ID or comma-separated list of team IDs to update"),
|
|
6
|
+
teams: zod.z.array(zod.z.object({
|
|
7
|
+
id: zod.z.string().describe("Unique identifier for the team to update"),
|
|
8
|
+
name: zod.z.string().describe("New name for the team").optional(),
|
|
9
|
+
color: zod.z.string().describe("New team color (hex code or name)").optional(),
|
|
10
|
+
initials: zod.z.string().describe("New team initials").optional()
|
|
11
|
+
}).describe("Team update data model containing the team ID and fields to update.")).describe("Array of team objects with id and attributes to update")
|
|
12
|
+
}).describe("Request model for updating one or more teams.");
|
|
13
|
+
const MissiveUpdateTeam_TeamSchema = zod.z.object({
|
|
14
|
+
id: zod.z.string().describe("Unique identifier for the team"),
|
|
15
|
+
name: zod.z.string().describe("Name of the team"),
|
|
16
|
+
color: zod.z.string().describe("Team color (hex code or name)").nullable().optional(),
|
|
17
|
+
initials: zod.z.string().describe("Team initials").nullable().optional(),
|
|
18
|
+
created_at: zod.z.string().describe("Timestamp when team was created (ISO 8601)").nullable().optional(),
|
|
19
|
+
updated_at: zod.z.string().describe("Timestamp when team was last updated (ISO 8601)").nullable().optional(),
|
|
20
|
+
organization: zod.z.string().describe("Organization ID the team belongs to").nullable().optional()
|
|
21
|
+
}).describe("A Missive team object returned in the response.");
|
|
22
|
+
const MissiveUpdateTeamOutput = zod.z.object({ teams: zod.z.array(MissiveUpdateTeam_TeamSchema).describe("List of updated team objects with their new values") }).describe("Response model for updating teams.");
|
|
23
|
+
const missiveUpdateTeam = require_action.action("MISSIVE_UPDATE_TEAM", {
|
|
24
|
+
slug: "missive-update-team",
|
|
25
|
+
name: "Update Missive Team",
|
|
26
|
+
description: "Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin.",
|
|
27
|
+
input: MissiveUpdateTeamInput,
|
|
28
|
+
output: MissiveUpdateTeamOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.missiveUpdateTeam = missiveUpdateTeam;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=update-team.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-team.cjs","names":["z","action"],"sources":["../../src/actions/update-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTeamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team ID or comma-separated list of team IDs to update\"),\n teams: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the team to update\"),\n name: z.string().describe(\"New name for the team\").optional(),\n color: z.string().describe(\"New team color (hex code or name)\").optional(),\n initials: z.string().describe(\"New team initials\").optional(),\n}).describe(\"Team update data model containing the team ID and fields to update.\")).describe(\"Array of team objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more teams.\");\nconst MissiveUpdateTeam_TeamSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the team\"),\n name: z.string().describe(\"Name of the team\"),\n color: z.string().describe(\"Team color (hex code or name)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).describe(\"A Missive team object returned in the response.\");\nexport const MissiveUpdateTeamOutput: z.ZodTypeAny = z.object({\n teams: z.array(MissiveUpdateTeam_TeamSchema).describe(\"List of updated team objects with their new values\"),\n}).describe(\"Response model for updating teams.\");\n\nexport const missiveUpdateTeam = action(\"MISSIVE_UPDATE_TEAM\", {\n slug: \"missive-update-team\",\n name: \"Update Missive Team\",\n description: \"Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin.\",\n input: MissiveUpdateTeamInput,\n output: MissiveUpdateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACrJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oDAAoD,EAC5G,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-team.d.ts
|
|
4
|
+
declare const MissiveUpdateTeamInput: z.ZodTypeAny;
|
|
5
|
+
declare const MissiveUpdateTeamOutput: z.ZodTypeAny;
|
|
6
|
+
declare const missiveUpdateTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { missiveUpdateTeam };
|
|
9
|
+
//# sourceMappingURL=update-team.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-team.d.cts","names":[],"sources":["../../src/actions/update-team.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAQqB;AAAA,cAU/C,uBAAA,EAAyB,CAAA,CAAE,UAES;AAAA,cAEpC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-team.d.ts
|
|
4
|
+
declare const MissiveUpdateTeamInput: z.ZodTypeAny;
|
|
5
|
+
declare const MissiveUpdateTeamOutput: z.ZodTypeAny;
|
|
6
|
+
declare const missiveUpdateTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { missiveUpdateTeam };
|
|
9
|
+
//# sourceMappingURL=update-team.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-team.d.mts","names":[],"sources":["../../src/actions/update-team.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAQqB;AAAA,cAU/C,uBAAA,EAAyB,CAAA,CAAE,UAES;AAAA,cAEpC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-team.ts
|
|
4
|
+
const MissiveUpdateTeamInput = z.object({
|
|
5
|
+
id: z.string().describe("Team ID or comma-separated list of team IDs to update"),
|
|
6
|
+
teams: z.array(z.object({
|
|
7
|
+
id: z.string().describe("Unique identifier for the team to update"),
|
|
8
|
+
name: z.string().describe("New name for the team").optional(),
|
|
9
|
+
color: z.string().describe("New team color (hex code or name)").optional(),
|
|
10
|
+
initials: z.string().describe("New team initials").optional()
|
|
11
|
+
}).describe("Team update data model containing the team ID and fields to update.")).describe("Array of team objects with id and attributes to update")
|
|
12
|
+
}).describe("Request model for updating one or more teams.");
|
|
13
|
+
const MissiveUpdateTeam_TeamSchema = z.object({
|
|
14
|
+
id: z.string().describe("Unique identifier for the team"),
|
|
15
|
+
name: z.string().describe("Name of the team"),
|
|
16
|
+
color: z.string().describe("Team color (hex code or name)").nullable().optional(),
|
|
17
|
+
initials: z.string().describe("Team initials").nullable().optional(),
|
|
18
|
+
created_at: z.string().describe("Timestamp when team was created (ISO 8601)").nullable().optional(),
|
|
19
|
+
updated_at: z.string().describe("Timestamp when team was last updated (ISO 8601)").nullable().optional(),
|
|
20
|
+
organization: z.string().describe("Organization ID the team belongs to").nullable().optional()
|
|
21
|
+
}).describe("A Missive team object returned in the response.");
|
|
22
|
+
const missiveUpdateTeam = action("MISSIVE_UPDATE_TEAM", {
|
|
23
|
+
slug: "missive-update-team",
|
|
24
|
+
name: "Update Missive Team",
|
|
25
|
+
description: "Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin.",
|
|
26
|
+
input: MissiveUpdateTeamInput,
|
|
27
|
+
output: z.object({ teams: z.array(MissiveUpdateTeam_TeamSchema).describe("List of updated team objects with their new values") }).describe("Response model for updating teams.")
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { missiveUpdateTeam };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=update-team.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-team.mjs","names":[],"sources":["../../src/actions/update-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateTeamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team ID or comma-separated list of team IDs to update\"),\n teams: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the team to update\"),\n name: z.string().describe(\"New name for the team\").optional(),\n color: z.string().describe(\"New team color (hex code or name)\").optional(),\n initials: z.string().describe(\"New team initials\").optional(),\n}).describe(\"Team update data model containing the team ID and fields to update.\")).describe(\"Array of team objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more teams.\");\nconst MissiveUpdateTeam_TeamSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the team\"),\n name: z.string().describe(\"Name of the team\"),\n color: z.string().describe(\"Team color (hex code or name)\").nullable().optional(),\n initials: z.string().describe(\"Team initials\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when team was created (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when team was last updated (ISO 8601)\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the team belongs to\").nullable().optional(),\n}).describe(\"A Missive team object returned in the response.\");\nexport const MissiveUpdateTeamOutput: z.ZodTypeAny = z.object({\n teams: z.array(MissiveUpdateTeam_TeamSchema).describe(\"List of updated team objects with their new values\"),\n}).describe(\"Response model for updating teams.\");\n\nexport const missiveUpdateTeam = action(\"MISSIVE_UPDATE_TEAM\", {\n slug: \"missive-update-team\",\n name: \"Update Missive Team\",\n description: \"Tool to update one or more teams in Missive. Use when you need to modify team attributes like name, color, or initials. The API token must belong to an organization admin.\",\n input: MissiveUpdateTeamInput,\n output: MissiveUpdateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/E,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACrJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+BAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oDAAoD,EAC5G,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const missive = defineApp({\n slug: \"missive\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const missive = defineApp({\n slug: \"missive\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const missiveCatalog = {
|
|
4
|
+
"slug": "missive",
|
|
5
|
+
"name": "Missive",
|
|
6
|
+
"description": "Missive is a collaborative email and chat application designed to streamline team communication and task management.",
|
|
7
|
+
"category": "Email",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/missive",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.missiveCatalog = missiveCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const missiveCatalog = {\n \"slug\": \"missive\",\n \"name\": \"Missive\",\n \"description\": \"Missive is a collaborative email and chat application designed to streamline team communication and task management.\",\n \"category\": \"Email\",\n \"logo\": \"https://logos.composio.dev/api/missive\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const missiveCatalog: {
|
|
4
|
+
readonly slug: "missive";
|
|
5
|
+
readonly name: "Missive";
|
|
6
|
+
readonly description: "Missive is a collaborative email and chat application designed to streamline team communication and task management.";
|
|
7
|
+
readonly category: "Email";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/missive";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { missiveCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const missiveCatalog: {
|
|
4
|
+
readonly slug: "missive";
|
|
5
|
+
readonly name: "Missive";
|
|
6
|
+
readonly description: "Missive is a collaborative email and chat application designed to streamline team communication and task management.";
|
|
7
|
+
readonly category: "Email";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/missive";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { missiveCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const missiveCatalog = {
|
|
4
|
+
"slug": "missive",
|
|
5
|
+
"name": "Missive",
|
|
6
|
+
"description": "Missive is a collaborative email and chat application designed to streamline team communication and task management.",
|
|
7
|
+
"category": "Email",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/missive",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { missiveCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const missiveCatalog = {\n \"slug\": \"missive\",\n \"name\": \"Missive\",\n \"description\": \"Missive is a collaborative email and chat application designed to streamline team communication and task management.\",\n \"category\": \"Email\",\n \"logo\": \"https://logos.composio.dev/api/missive\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "missive";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeMissiveTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeMissiveTool = executeMissiveTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"missive\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeMissiveTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,mBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "missive";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeMissiveTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeMissiveTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"missive\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeMissiveTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,mBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_create_analytics_report = require("./actions/create-analytics-report.cjs");
|
|
5
|
+
const require_create_contacts = require("./actions/create-contacts.cjs");
|
|
6
|
+
const require_create_draft = require("./actions/create-draft.cjs");
|
|
7
|
+
const require_create_post = require("./actions/create-post.cjs");
|
|
8
|
+
const require_create_response = require("./actions/create-response.cjs");
|
|
9
|
+
const require_create_shared_label = require("./actions/create-shared-label.cjs");
|
|
10
|
+
const require_create_task = require("./actions/create-task.cjs");
|
|
11
|
+
const require_create_team = require("./actions/create-team.cjs");
|
|
12
|
+
const require_create_webhook = require("./actions/create-webhook.cjs");
|
|
13
|
+
const require_delete_draft = require("./actions/delete-draft.cjs");
|
|
14
|
+
const require_delete_post = require("./actions/delete-post.cjs");
|
|
15
|
+
const require_delete_responses = require("./actions/delete-responses.cjs");
|
|
16
|
+
const require_delete_webhook = require("./actions/delete-webhook.cjs");
|
|
17
|
+
const require_get_analytics_report = require("./actions/get-analytics-report.cjs");
|
|
18
|
+
const require_get_contact = require("./actions/get-contact.cjs");
|
|
19
|
+
const require_get_conversation = require("./actions/get-conversation.cjs");
|
|
20
|
+
const require_get_conversation_messages = require("./actions/get-conversation-messages.cjs");
|
|
21
|
+
const require_get_message = require("./actions/get-message.cjs");
|
|
22
|
+
const require_get_response = require("./actions/get-response.cjs");
|
|
23
|
+
const require_get_task = require("./actions/get-task.cjs");
|
|
24
|
+
const require_list_contact_books = require("./actions/list-contact-books.cjs");
|
|
25
|
+
const require_list_contact_groups = require("./actions/list-contact-groups.cjs");
|
|
26
|
+
const require_list_contacts = require("./actions/list-contacts.cjs");
|
|
27
|
+
const require_list_conversation_comments = require("./actions/list-conversation-comments.cjs");
|
|
28
|
+
const require_list_conversation_drafts = require("./actions/list-conversation-drafts.cjs");
|
|
29
|
+
const require_list_conversation_posts = require("./actions/list-conversation-posts.cjs");
|
|
30
|
+
const require_list_conversations = require("./actions/list-conversations.cjs");
|
|
31
|
+
const require_list_messages = require("./actions/list-messages.cjs");
|
|
32
|
+
const require_list_organizations = require("./actions/list-organizations.cjs");
|
|
33
|
+
const require_list_responses = require("./actions/list-responses.cjs");
|
|
34
|
+
const require_list_shared_labels = require("./actions/list-shared-labels.cjs");
|
|
35
|
+
const require_list_tasks = require("./actions/list-tasks.cjs");
|
|
36
|
+
const require_list_teams = require("./actions/list-teams.cjs");
|
|
37
|
+
const require_list_users = require("./actions/list-users.cjs");
|
|
38
|
+
const require_merge_conversations = require("./actions/merge-conversations.cjs");
|
|
39
|
+
const require_update_contact = require("./actions/update-contact.cjs");
|
|
40
|
+
const require_update_response = require("./actions/update-response.cjs");
|
|
41
|
+
const require_update_shared_labels = require("./actions/update-shared-labels.cjs");
|
|
42
|
+
const require_update_task = require("./actions/update-task.cjs");
|
|
43
|
+
const require_update_team = require("./actions/update-team.cjs");
|
|
44
|
+
require("./actions/index.cjs");
|
|
45
|
+
exports.missive = require_app.missive;
|
|
46
|
+
exports.missiveCatalog = require_catalog.missiveCatalog;
|
|
47
|
+
exports.missiveCreateAnalyticsReport = require_create_analytics_report.missiveCreateAnalyticsReport;
|
|
48
|
+
exports.missiveCreateContacts = require_create_contacts.missiveCreateContacts;
|
|
49
|
+
exports.missiveCreateDraft = require_create_draft.missiveCreateDraft;
|
|
50
|
+
exports.missiveCreatePost = require_create_post.missiveCreatePost;
|
|
51
|
+
exports.missiveCreateResponse = require_create_response.missiveCreateResponse;
|
|
52
|
+
exports.missiveCreateSharedLabel = require_create_shared_label.missiveCreateSharedLabel;
|
|
53
|
+
exports.missiveCreateTask = require_create_task.missiveCreateTask;
|
|
54
|
+
exports.missiveCreateTeam = require_create_team.missiveCreateTeam;
|
|
55
|
+
exports.missiveCreateWebhook = require_create_webhook.missiveCreateWebhook;
|
|
56
|
+
exports.missiveDeleteDraft = require_delete_draft.missiveDeleteDraft;
|
|
57
|
+
exports.missiveDeletePost = require_delete_post.missiveDeletePost;
|
|
58
|
+
exports.missiveDeleteResponses = require_delete_responses.missiveDeleteResponses;
|
|
59
|
+
exports.missiveDeleteWebhook = require_delete_webhook.missiveDeleteWebhook;
|
|
60
|
+
exports.missiveGetAnalyticsReport = require_get_analytics_report.missiveGetAnalyticsReport;
|
|
61
|
+
exports.missiveGetContact = require_get_contact.missiveGetContact;
|
|
62
|
+
exports.missiveGetConversation = require_get_conversation.missiveGetConversation;
|
|
63
|
+
exports.missiveGetConversationMessages = require_get_conversation_messages.missiveGetConversationMessages;
|
|
64
|
+
exports.missiveGetMessage = require_get_message.missiveGetMessage;
|
|
65
|
+
exports.missiveGetResponse = require_get_response.missiveGetResponse;
|
|
66
|
+
exports.missiveGetTask = require_get_task.missiveGetTask;
|
|
67
|
+
exports.missiveListContactBooks = require_list_contact_books.missiveListContactBooks;
|
|
68
|
+
exports.missiveListContactGroups = require_list_contact_groups.missiveListContactGroups;
|
|
69
|
+
exports.missiveListContacts = require_list_contacts.missiveListContacts;
|
|
70
|
+
exports.missiveListConversationComments = require_list_conversation_comments.missiveListConversationComments;
|
|
71
|
+
exports.missiveListConversationDrafts = require_list_conversation_drafts.missiveListConversationDrafts;
|
|
72
|
+
exports.missiveListConversationPosts = require_list_conversation_posts.missiveListConversationPosts;
|
|
73
|
+
exports.missiveListConversations = require_list_conversations.missiveListConversations;
|
|
74
|
+
exports.missiveListMessages = require_list_messages.missiveListMessages;
|
|
75
|
+
exports.missiveListOrganizations = require_list_organizations.missiveListOrganizations;
|
|
76
|
+
exports.missiveListResponses = require_list_responses.missiveListResponses;
|
|
77
|
+
exports.missiveListSharedLabels = require_list_shared_labels.missiveListSharedLabels;
|
|
78
|
+
exports.missiveListTasks = require_list_tasks.missiveListTasks;
|
|
79
|
+
exports.missiveListTeams = require_list_teams.missiveListTeams;
|
|
80
|
+
exports.missiveListUsers = require_list_users.missiveListUsers;
|
|
81
|
+
exports.missiveMergeConversations = require_merge_conversations.missiveMergeConversations;
|
|
82
|
+
exports.missiveUpdateContact = require_update_contact.missiveUpdateContact;
|
|
83
|
+
exports.missiveUpdateResponse = require_update_response.missiveUpdateResponse;
|
|
84
|
+
exports.missiveUpdateSharedLabels = require_update_shared_labels.missiveUpdateSharedLabels;
|
|
85
|
+
exports.missiveUpdateTask = require_update_task.missiveUpdateTask;
|
|
86
|
+
exports.missiveUpdateTeam = require_update_team.missiveUpdateTeam;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { missiveCreateAnalyticsReport } from "./actions/create-analytics-report.cjs";
|
|
2
|
+
import { missiveCreateContacts } from "./actions/create-contacts.cjs";
|
|
3
|
+
import { missiveCreateDraft } from "./actions/create-draft.cjs";
|
|
4
|
+
import { missiveCreatePost } from "./actions/create-post.cjs";
|
|
5
|
+
import { missiveCreateResponse } from "./actions/create-response.cjs";
|
|
6
|
+
import { missiveCreateSharedLabel } from "./actions/create-shared-label.cjs";
|
|
7
|
+
import { missiveCreateTask } from "./actions/create-task.cjs";
|
|
8
|
+
import { missiveCreateTeam } from "./actions/create-team.cjs";
|
|
9
|
+
import { missiveCreateWebhook } from "./actions/create-webhook.cjs";
|
|
10
|
+
import { missiveDeleteDraft } from "./actions/delete-draft.cjs";
|
|
11
|
+
import { missiveDeletePost } from "./actions/delete-post.cjs";
|
|
12
|
+
import { missiveDeleteResponses } from "./actions/delete-responses.cjs";
|
|
13
|
+
import { missiveDeleteWebhook } from "./actions/delete-webhook.cjs";
|
|
14
|
+
import { missiveGetAnalyticsReport } from "./actions/get-analytics-report.cjs";
|
|
15
|
+
import { missiveGetContact } from "./actions/get-contact.cjs";
|
|
16
|
+
import { missiveGetConversation } from "./actions/get-conversation.cjs";
|
|
17
|
+
import { missiveGetConversationMessages } from "./actions/get-conversation-messages.cjs";
|
|
18
|
+
import { missiveGetMessage } from "./actions/get-message.cjs";
|
|
19
|
+
import { missiveGetResponse } from "./actions/get-response.cjs";
|
|
20
|
+
import { missiveGetTask } from "./actions/get-task.cjs";
|
|
21
|
+
import { missiveListContactBooks } from "./actions/list-contact-books.cjs";
|
|
22
|
+
import { missiveListContactGroups } from "./actions/list-contact-groups.cjs";
|
|
23
|
+
import { missiveListContacts } from "./actions/list-contacts.cjs";
|
|
24
|
+
import { missiveListConversationComments } from "./actions/list-conversation-comments.cjs";
|
|
25
|
+
import { missiveListConversationDrafts } from "./actions/list-conversation-drafts.cjs";
|
|
26
|
+
import { missiveListConversationPosts } from "./actions/list-conversation-posts.cjs";
|
|
27
|
+
import { missiveListConversations } from "./actions/list-conversations.cjs";
|
|
28
|
+
import { missiveListMessages } from "./actions/list-messages.cjs";
|
|
29
|
+
import { missiveListOrganizations } from "./actions/list-organizations.cjs";
|
|
30
|
+
import { missiveListResponses } from "./actions/list-responses.cjs";
|
|
31
|
+
import { missiveListSharedLabels } from "./actions/list-shared-labels.cjs";
|
|
32
|
+
import { missiveListTasks } from "./actions/list-tasks.cjs";
|
|
33
|
+
import { missiveListTeams } from "./actions/list-teams.cjs";
|
|
34
|
+
import { missiveListUsers } from "./actions/list-users.cjs";
|
|
35
|
+
import { missiveMergeConversations } from "./actions/merge-conversations.cjs";
|
|
36
|
+
import { missiveUpdateContact } from "./actions/update-contact.cjs";
|
|
37
|
+
import { missiveUpdateResponse } from "./actions/update-response.cjs";
|
|
38
|
+
import { missiveUpdateSharedLabels } from "./actions/update-shared-labels.cjs";
|
|
39
|
+
import { missiveUpdateTask } from "./actions/update-task.cjs";
|
|
40
|
+
import { missiveUpdateTeam } from "./actions/update-team.cjs";
|
|
41
|
+
import { missive } from "./app.cjs";
|
|
42
|
+
import { missiveCatalog } from "./catalog.cjs";
|
|
43
|
+
export { missive, missiveCatalog, missiveCreateAnalyticsReport, missiveCreateContacts, missiveCreateDraft, missiveCreatePost, missiveCreateResponse, missiveCreateSharedLabel, missiveCreateTask, missiveCreateTeam, missiveCreateWebhook, missiveDeleteDraft, missiveDeletePost, missiveDeleteResponses, missiveDeleteWebhook, missiveGetAnalyticsReport, missiveGetContact, missiveGetConversation, missiveGetConversationMessages, missiveGetMessage, missiveGetResponse, missiveGetTask, missiveListContactBooks, missiveListContactGroups, missiveListContacts, missiveListConversationComments, missiveListConversationDrafts, missiveListConversationPosts, missiveListConversations, missiveListMessages, missiveListOrganizations, missiveListResponses, missiveListSharedLabels, missiveListTasks, missiveListTeams, missiveListUsers, missiveMergeConversations, missiveUpdateContact, missiveUpdateResponse, missiveUpdateSharedLabels, missiveUpdateTask, missiveUpdateTeam };
|