@keystrokehq/missive 0.1.2 → 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/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 +4 -4
- package/dist/actions/create-analytics-report.d.mts +4 -4
- 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 +8 -8
- package/dist/actions/create-contacts.cjs.map +1 -1
- package/dist/actions/create-contacts.d.cts +14 -11
- package/dist/actions/create-contacts.d.mts +14 -11
- package/dist/actions/create-contacts.mjs +8 -8
- package/dist/actions/create-contacts.mjs.map +1 -1
- package/dist/actions/create-draft.cjs +12 -12
- package/dist/actions/create-draft.cjs.map +1 -1
- package/dist/actions/create-draft.d.cts +26 -17
- package/dist/actions/create-draft.d.cts.map +1 -1
- package/dist/actions/create-draft.d.mts +26 -17
- package/dist/actions/create-draft.d.mts.map +1 -1
- package/dist/actions/create-draft.mjs +12 -12
- 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 +1 -1
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +1 -1
- 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 +5 -5
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +8 -7
- package/dist/actions/create-response.d.mts +8 -7
- package/dist/actions/create-response.mjs +5 -5
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-shared-label.cjs +3 -3
- package/dist/actions/create-shared-label.cjs.map +1 -1
- package/dist/actions/create-shared-label.d.cts +4 -3
- package/dist/actions/create-shared-label.d.mts +4 -3
- package/dist/actions/create-shared-label.mjs +3 -3
- package/dist/actions/create-shared-label.mjs.map +1 -1
- package/dist/actions/create-task.cjs +2 -2
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +2 -2
- package/dist/actions/create-task.d.mts +2 -2
- package/dist/actions/create-task.mjs +2 -2
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-team.cjs +3 -3
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +4 -3
- package/dist/actions/create-team.d.mts +4 -3
- package/dist/actions/create-team.mjs +3 -3
- 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 +2 -2
- package/dist/actions/create-webhook.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/delete-draft.d.cts.map +1 -1
- package/dist/actions/delete-draft.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-post.d.cts.map +1 -1
- package/dist/actions/delete-post.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-responses.d.cts.map +1 -1
- package/dist/actions/delete-responses.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/get-analytics-report.cjs.map +1 -1
- package/dist/actions/get-analytics-report.d.cts +1 -1
- package/dist/actions/get-analytics-report.d.mts +1 -1
- package/dist/actions/get-analytics-report.mjs +1 -1
- package/dist/actions/get-analytics-report.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +5 -5
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +5 -5
- package/dist/actions/get-contact.d.mts +5 -5
- package/dist/actions/get-contact.mjs +5 -5
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-conversation-messages.cjs +5 -5
- package/dist/actions/get-conversation-messages.cjs.map +1 -1
- package/dist/actions/get-conversation-messages.d.cts +8 -8
- package/dist/actions/get-conversation-messages.d.mts +8 -8
- package/dist/actions/get-conversation-messages.mjs +5 -5
- package/dist/actions/get-conversation-messages.mjs.map +1 -1
- package/dist/actions/get-conversation.cjs +7 -7
- package/dist/actions/get-conversation.cjs.map +1 -1
- package/dist/actions/get-conversation.d.cts +8 -8
- package/dist/actions/get-conversation.d.mts +8 -8
- package/dist/actions/get-conversation.mjs +7 -7
- package/dist/actions/get-conversation.mjs.map +1 -1
- package/dist/actions/get-message.cjs +6 -6
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +17 -17
- package/dist/actions/get-message.d.mts +17 -17
- package/dist/actions/get-message.mjs +6 -6
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +4 -4
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +6 -6
- package/dist/actions/get-response.d.mts +6 -6
- package/dist/actions/get-response.mjs +4 -4
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-task.cjs +4 -4
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +4 -4
- package/dist/actions/get-task.d.mts +4 -4
- package/dist/actions/get-task.mjs +4 -4
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/list-contact-books.cjs +2 -2
- package/dist/actions/list-contact-books.cjs.map +1 -1
- package/dist/actions/list-contact-books.d.cts +2 -2
- package/dist/actions/list-contact-books.d.mts +2 -2
- package/dist/actions/list-contact-books.mjs +2 -2
- package/dist/actions/list-contact-books.mjs.map +1 -1
- package/dist/actions/list-contact-groups.cjs +2 -2
- package/dist/actions/list-contact-groups.cjs.map +1 -1
- package/dist/actions/list-contact-groups.d.cts +2 -2
- package/dist/actions/list-contact-groups.d.mts +2 -2
- package/dist/actions/list-contact-groups.mjs +2 -2
- package/dist/actions/list-contact-groups.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +5 -5
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +7 -7
- package/dist/actions/list-contacts.d.mts +7 -7
- package/dist/actions/list-contacts.mjs +5 -5
- 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 +8 -8
- package/dist/actions/list-conversation-comments.d.mts +8 -8
- 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 +6 -6
- package/dist/actions/list-conversation-drafts.cjs.map +1 -1
- package/dist/actions/list-conversation-drafts.d.cts +9 -9
- package/dist/actions/list-conversation-drafts.d.mts +9 -9
- package/dist/actions/list-conversation-drafts.mjs +6 -6
- package/dist/actions/list-conversation-drafts.mjs.map +1 -1
- package/dist/actions/list-conversation-posts.cjs +4 -4
- package/dist/actions/list-conversation-posts.cjs.map +1 -1
- package/dist/actions/list-conversation-posts.d.cts +4 -4
- package/dist/actions/list-conversation-posts.d.mts +4 -4
- package/dist/actions/list-conversation-posts.mjs +4 -4
- package/dist/actions/list-conversation-posts.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +6 -6
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +7 -7
- package/dist/actions/list-conversations.d.mts +7 -7
- package/dist/actions/list-conversations.mjs +6 -6
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +6 -6
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +9 -9
- package/dist/actions/list-messages.d.mts +9 -9
- package/dist/actions/list-messages.mjs +6 -6
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +2 -2
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +2 -2
- package/dist/actions/list-organizations.d.mts +2 -2
- package/dist/actions/list-organizations.mjs +2 -2
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-responses.cjs +4 -4
- package/dist/actions/list-responses.cjs.map +1 -1
- package/dist/actions/list-responses.d.cts +6 -6
- package/dist/actions/list-responses.d.mts +6 -6
- package/dist/actions/list-responses.mjs +4 -4
- package/dist/actions/list-responses.mjs.map +1 -1
- package/dist/actions/list-shared-labels.cjs +2 -2
- package/dist/actions/list-shared-labels.cjs.map +1 -1
- package/dist/actions/list-shared-labels.d.cts +2 -2
- package/dist/actions/list-shared-labels.d.mts +2 -2
- package/dist/actions/list-shared-labels.mjs +2 -2
- package/dist/actions/list-shared-labels.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +4 -4
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +4 -4
- package/dist/actions/list-tasks.d.mts +4 -4
- package/dist/actions/list-tasks.mjs +4 -4
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +2 -2
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +2 -2
- package/dist/actions/list-teams.d.mts +2 -2
- package/dist/actions/list-teams.mjs +2 -2
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/list-users.cjs +2 -2
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +2 -2
- package/dist/actions/list-users.d.mts +2 -2
- package/dist/actions/list-users.mjs +2 -2
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/merge-conversations.cjs +7 -7
- package/dist/actions/merge-conversations.cjs.map +1 -1
- package/dist/actions/merge-conversations.d.cts +9 -9
- package/dist/actions/merge-conversations.d.mts +9 -9
- package/dist/actions/merge-conversations.mjs +7 -7
- package/dist/actions/merge-conversations.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +8 -8
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +14 -11
- package/dist/actions/update-contact.d.mts +14 -11
- package/dist/actions/update-contact.mjs +8 -8
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-response.cjs +9 -9
- package/dist/actions/update-response.cjs.map +1 -1
- package/dist/actions/update-response.d.cts +16 -11
- package/dist/actions/update-response.d.mts +16 -11
- package/dist/actions/update-response.mjs +9 -9
- package/dist/actions/update-response.mjs.map +1 -1
- package/dist/actions/update-shared-labels.cjs +3 -3
- package/dist/actions/update-shared-labels.cjs.map +1 -1
- package/dist/actions/update-shared-labels.d.cts +4 -3
- package/dist/actions/update-shared-labels.d.mts +4 -3
- package/dist/actions/update-shared-labels.mjs +3 -3
- package/dist/actions/update-shared-labels.mjs.map +1 -1
- package/dist/actions/update-task.cjs +3 -3
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +3 -3
- package/dist/actions/update-task.d.mts +3 -3
- package/dist/actions/update-task.mjs +3 -3
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-team.cjs +3 -3
- package/dist/actions/update-team.cjs.map +1 -1
- package/dist/actions/update-team.d.cts +4 -3
- package/dist/actions/update-team.d.mts +4 -3
- package/dist/actions/update-team.mjs +3 -3
- package/dist/actions/update-team.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-shared-labels.cjs","names":["z","action"],"sources":["../../src/actions/update-shared-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateSharedLabelsInput = 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.object({\n id: z.string().describe(\"Shared label unique identifier\").nullable(),\n name: z.string().describe(\"Shared label name\").nullable(),\n color: z.string().describe(\"Label color code in hex format\").nullable(),\n}).describe(\"Shared label response object.\");\nexport const MissiveUpdateSharedLabelsOutput = z.object({\n shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe(\"Array of updated shared label objects\"),\n}).describe(\"Response model for updating shared labels.\");\n\nexport const missiveUpdateSharedLabels = action(\"MISSIVE_UPDATE_SHARED_LABELS\", {\n slug: \"missive-update-shared-labels\",\n name: \"Update Shared Labels\",\n description: \"Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.\",\n input: MissiveUpdateSharedLabelsInput,\n output: MissiveUpdateSharedLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACvH,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAChC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gEAAgE;
|
|
1
|
+
{"version":3,"file":"update-shared-labels.cjs","names":["z","action"],"sources":["../../src/actions/update-shared-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveUpdateSharedLabelsInput = z.object({\n id: z.string().describe(\"Shared label ID in the path. Can pass multiple comma-separated IDs to update multiple labels.\"),\n shared_labels: z.array(z.object({\n id: z.string().describe(\"Shared label unique identifier to update\"),\n name: z.string().describe(\"Updated name for the shared label\"),\n color: z.string().describe(\"Updated color code for the label in hex format\"),\n}).passthrough().describe(\"Shared label object with attributes to update.\")).describe(\"Array of shared label objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more shared labels.\");\nconst MissiveUpdateSharedLabels_SharedLabelResponseSchema = z.object({\n id: z.string().describe(\"Shared label unique identifier\").nullable(),\n name: z.string().describe(\"Shared label name\").nullable(),\n color: z.string().describe(\"Label color code in hex format\").nullable(),\n}).passthrough().describe(\"Shared label response object.\");\nexport const MissiveUpdateSharedLabelsOutput = z.object({\n shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe(\"Array of updated shared label objects\"),\n}).passthrough().describe(\"Response model for updating shared labels.\");\n\nexport const missiveUpdateSharedLabels = action(\"MISSIVE_UPDATE_SHARED_LABELS\", {\n slug: \"missive-update-shared-labels\",\n name: \"Update Shared Labels\",\n description: \"Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.\",\n input: MissiveUpdateSharedLabelsInput,\n output: MissiveUpdateSharedLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACvH,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAChC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACtJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,uCAAuC,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,18 +7,19 @@ declare const MissiveUpdateSharedLabelsInput: z.ZodObject<{
|
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
color: z.ZodString;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const MissiveUpdateSharedLabelsOutput: z.ZodObject<{
|
|
13
13
|
shared_labels: z.ZodArray<z.ZodObject<{
|
|
14
14
|
id: z.ZodNullable<z.ZodString>;
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
16
16
|
color: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const missiveUpdateSharedLabels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
id: string;
|
|
21
21
|
shared_labels: {
|
|
22
|
+
[x: string]: unknown;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
24
25
|
color: string;
|
|
@@ -7,18 +7,19 @@ declare const MissiveUpdateSharedLabelsInput: z.ZodObject<{
|
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
color: z.ZodString;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const MissiveUpdateSharedLabelsOutput: z.ZodObject<{
|
|
13
13
|
shared_labels: z.ZodArray<z.ZodObject<{
|
|
14
14
|
id: z.ZodNullable<z.ZodString>;
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
16
16
|
color: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const missiveUpdateSharedLabels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
id: string;
|
|
21
21
|
shared_labels: {
|
|
22
|
+
[x: string]: unknown;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
24
25
|
color: string;
|
|
@@ -7,19 +7,19 @@ const MissiveUpdateSharedLabelsInput = z.object({
|
|
|
7
7
|
id: z.string().describe("Shared label unique identifier to update"),
|
|
8
8
|
name: z.string().describe("Updated name for the shared label"),
|
|
9
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")
|
|
10
|
+
}).passthrough().describe("Shared label object with attributes to update.")).describe("Array of shared label objects with id and attributes to update")
|
|
11
11
|
}).describe("Request model for updating one or more shared labels.");
|
|
12
12
|
const MissiveUpdateSharedLabels_SharedLabelResponseSchema = z.object({
|
|
13
13
|
id: z.string().describe("Shared label unique identifier").nullable(),
|
|
14
14
|
name: z.string().describe("Shared label name").nullable(),
|
|
15
15
|
color: z.string().describe("Label color code in hex format").nullable()
|
|
16
|
-
}).describe("Shared label response object.");
|
|
16
|
+
}).passthrough().describe("Shared label response object.");
|
|
17
17
|
const missiveUpdateSharedLabels = action("MISSIVE_UPDATE_SHARED_LABELS", {
|
|
18
18
|
slug: "missive-update-shared-labels",
|
|
19
19
|
name: "Update Shared Labels",
|
|
20
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
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.")
|
|
22
|
+
output: z.object({ shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe("Array of updated shared label objects") }).passthrough().describe("Response model for updating shared labels.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { missiveUpdateSharedLabels };
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"Shared label unique identifier\").nullable(),\n name: z.string().describe(\"Shared label name\").nullable(),\n color: z.string().describe(\"Label color code in hex format\").nullable(),\n}).describe(\"Shared label response object.\");\nexport const MissiveUpdateSharedLabelsOutput = z.object({\n shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe(\"Array of updated shared label objects\"),\n}).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,iCAAiC,EAAE,OAAO;CACrD,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;
|
|
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.object({\n id: z.string().describe(\"Shared label ID in the path. Can pass multiple comma-separated IDs to update multiple labels.\"),\n shared_labels: z.array(z.object({\n id: z.string().describe(\"Shared label unique identifier to update\"),\n name: z.string().describe(\"Updated name for the shared label\"),\n color: z.string().describe(\"Updated color code for the label in hex format\"),\n}).passthrough().describe(\"Shared label object with attributes to update.\")).describe(\"Array of shared label objects with id and attributes to update\"),\n}).describe(\"Request model for updating one or more shared labels.\");\nconst MissiveUpdateSharedLabels_SharedLabelResponseSchema = z.object({\n id: z.string().describe(\"Shared label unique identifier\").nullable(),\n name: z.string().describe(\"Shared label name\").nullable(),\n color: z.string().describe(\"Label color code in hex format\").nullable(),\n}).passthrough().describe(\"Shared label response object.\");\nexport const MissiveUpdateSharedLabelsOutput = z.object({\n shared_labels: z.array(MissiveUpdateSharedLabels_SharedLabelResponseSchema).describe(\"Array of updated shared label objects\"),\n}).passthrough().describe(\"Response model for updating shared labels.\");\n\nexport const missiveUpdateSharedLabels = action(\"MISSIVE_UPDATE_SHARED_LABELS\", {\n slug: \"missive-update-shared-labels\",\n name: \"Update Shared Labels\",\n description: \"Tool to update one or more shared labels in Missive. Use when you need to modify label names or colors. Returns the updated shared labels.\",\n input: MissiveUpdateSharedLabelsInput,\n output: MissiveUpdateSharedLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,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,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACtJ,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,uCAAuC,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const MissiveUpdateTask_UserSchema = zod.z.object({
|
|
|
18
18
|
id: zod.z.string().describe("User ID").nullable(),
|
|
19
19
|
name: zod.z.string().describe("User name").nullable(),
|
|
20
20
|
email: zod.z.string().describe("User email address").nullable()
|
|
21
|
-
}).describe("User object for task assignees.");
|
|
21
|
+
}).passthrough().describe("User object for task assignees.");
|
|
22
22
|
const MissiveUpdateTask_TaskSchema = zod.z.object({
|
|
23
23
|
id: zod.z.string().describe("Task ID").nullable(),
|
|
24
24
|
state: zod.z.string().describe("Task state").nullable().optional(),
|
|
@@ -27,8 +27,8 @@ const MissiveUpdateTask_TaskSchema = zod.z.object({
|
|
|
27
27
|
closed_at: zod.z.number().int().describe("Unix timestamp when task was closed").nullable().optional(),
|
|
28
28
|
started_at: zod.z.number().int().describe("Unix timestamp when task was started").nullable().optional(),
|
|
29
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.");
|
|
30
|
+
}).passthrough().describe("Task object in the response.");
|
|
31
|
+
const MissiveUpdateTaskOutput = zod.z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).passthrough().describe("Response model for updating a task in Missive.");
|
|
32
32
|
const missiveUpdateTask = require_action.action("MISSIVE_UPDATE_TASK", {
|
|
33
33
|
slug: "missive-update-task",
|
|
34
34
|
name: "Update Missive Task",
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable(),\n email: z.string().describe(\"User email address\").nullable(),\n}).describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema = z.object({\n id: z.string().describe(\"Task ID\").nullable(),\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.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,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,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,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
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.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.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable(),\n email: z.string().describe(\"User email address\").nullable(),\n}).passthrough().describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema = z.object({\n id: z.string().describe(\"Task ID\").nullable(),\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}).passthrough().describe(\"Task object in the response.\");\nexport const MissiveUpdateTaskOutput = z.object({\n tasks: MissiveUpdateTask_TaskSchema.nullable(),\n}).passthrough().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,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,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,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAO,6BAA6B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,12 +23,12 @@ declare const MissiveUpdateTaskOutput: z.ZodObject<{
|
|
|
23
23
|
id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
name: z.ZodNullable<z.ZodString>;
|
|
25
25
|
email: z.ZodNullable<z.ZodString>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
closed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const missiveUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
id: string;
|
|
34
34
|
tasks: {
|
|
@@ -23,12 +23,12 @@ declare const MissiveUpdateTaskOutput: z.ZodObject<{
|
|
|
23
23
|
id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
name: z.ZodNullable<z.ZodString>;
|
|
25
25
|
email: z.ZodNullable<z.ZodString>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
closed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const missiveUpdateTask: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
id: string;
|
|
34
34
|
tasks: {
|
|
@@ -18,7 +18,7 @@ const MissiveUpdateTask_UserSchema = z.object({
|
|
|
18
18
|
id: z.string().describe("User ID").nullable(),
|
|
19
19
|
name: z.string().describe("User name").nullable(),
|
|
20
20
|
email: z.string().describe("User email address").nullable()
|
|
21
|
-
}).describe("User object for task assignees.");
|
|
21
|
+
}).passthrough().describe("User object for task assignees.");
|
|
22
22
|
const MissiveUpdateTask_TaskSchema = z.object({
|
|
23
23
|
id: z.string().describe("Task ID").nullable(),
|
|
24
24
|
state: z.string().describe("Task state").nullable().optional(),
|
|
@@ -27,13 +27,13 @@ const MissiveUpdateTask_TaskSchema = z.object({
|
|
|
27
27
|
closed_at: z.number().int().describe("Unix timestamp when task was closed").nullable().optional(),
|
|
28
28
|
started_at: z.number().int().describe("Unix timestamp when task was started").nullable().optional(),
|
|
29
29
|
description: z.string().describe("Task description").nullable().optional()
|
|
30
|
-
}).describe("Task object in the response.");
|
|
30
|
+
}).passthrough().describe("Task object in the response.");
|
|
31
31
|
const missiveUpdateTask = action("MISSIVE_UPDATE_TASK", {
|
|
32
32
|
slug: "missive-update-task",
|
|
33
33
|
name: "Update Missive Task",
|
|
34
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
35
|
input: MissiveUpdateTaskInput,
|
|
36
|
-
output: z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).describe("Response model for updating a task in Missive.")
|
|
36
|
+
output: z.object({ tasks: MissiveUpdateTask_TaskSchema.nullable() }).passthrough().describe("Response model for updating a task in Missive.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { missiveUpdateTask };
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable(),\n email: z.string().describe(\"User email address\").nullable(),\n}).describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema = z.object({\n id: z.string().describe(\"Task ID\").nullable(),\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.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,yBAAyB,EAAE,OAAO;CAC7C,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,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
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.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.object({\n id: z.string().describe(\"User ID\").nullable(),\n name: z.string().describe(\"User name\").nullable(),\n email: z.string().describe(\"User email address\").nullable(),\n}).passthrough().describe(\"User object for task assignees.\");\nconst MissiveUpdateTask_TaskSchema = z.object({\n id: z.string().describe(\"Task ID\").nullable(),\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}).passthrough().describe(\"Task object in the response.\");\nexport const MissiveUpdateTaskOutput = z.object({\n tasks: MissiveUpdateTask_TaskSchema.nullable(),\n}).passthrough().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,yBAAyB,EAAE,OAAO;CAC7C,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,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,6BAA6B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const MissiveUpdateTeamInput = zod.z.object({
|
|
|
8
8
|
name: zod.z.string().describe("New name for the team").optional(),
|
|
9
9
|
color: zod.z.string().describe("New team color (hex code or name)").optional(),
|
|
10
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")
|
|
11
|
+
}).passthrough().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
12
|
}).describe("Request model for updating one or more teams.");
|
|
13
13
|
const MissiveUpdateTeam_TeamSchema = zod.z.object({
|
|
14
14
|
id: zod.z.string().describe("Unique identifier for the team").nullable(),
|
|
@@ -18,8 +18,8 @@ const MissiveUpdateTeam_TeamSchema = zod.z.object({
|
|
|
18
18
|
created_at: zod.z.string().describe("Timestamp when team was created (ISO 8601)").nullable().optional(),
|
|
19
19
|
updated_at: zod.z.string().describe("Timestamp when team was last updated (ISO 8601)").nullable().optional(),
|
|
20
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.");
|
|
21
|
+
}).passthrough().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") }).passthrough().describe("Response model for updating teams.");
|
|
23
23
|
const missiveUpdateTeam = require_action.action("MISSIVE_UPDATE_TEAM", {
|
|
24
24
|
slug: "missive-update-team",
|
|
25
25
|
name: "Update Missive Team",
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\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.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,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,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;
|
|
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.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}).passthrough().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.object({\n id: z.string().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\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}).passthrough().describe(\"A Missive team object returned in the response.\");\nexport const MissiveUpdateTeamOutput = z.object({\n teams: z.array(MissiveUpdateTeam_TeamSchema).describe(\"List of updated team objects with their new values\"),\n}).passthrough().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,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,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,YAAY,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACnK,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oDAAoD,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const MissiveUpdateTeamInput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodOptional<z.ZodString>;
|
|
9
9
|
color: z.ZodOptional<z.ZodString>;
|
|
10
10
|
initials: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const MissiveUpdateTeamOutput: z.ZodObject<{
|
|
14
14
|
teams: z.ZodArray<z.ZodObject<{
|
|
@@ -19,11 +19,12 @@ declare const MissiveUpdateTeamOutput: z.ZodObject<{
|
|
|
19
19
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const missiveUpdateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: string;
|
|
26
26
|
teams: {
|
|
27
|
+
[x: string]: unknown;
|
|
27
28
|
id: string;
|
|
28
29
|
name?: string | undefined;
|
|
29
30
|
color?: string | undefined;
|
|
@@ -8,7 +8,7 @@ declare const MissiveUpdateTeamInput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodOptional<z.ZodString>;
|
|
9
9
|
color: z.ZodOptional<z.ZodString>;
|
|
10
10
|
initials: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const MissiveUpdateTeamOutput: z.ZodObject<{
|
|
14
14
|
teams: z.ZodArray<z.ZodObject<{
|
|
@@ -19,11 +19,12 @@ declare const MissiveUpdateTeamOutput: z.ZodObject<{
|
|
|
19
19
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const missiveUpdateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: string;
|
|
26
26
|
teams: {
|
|
27
|
+
[x: string]: unknown;
|
|
27
28
|
id: string;
|
|
28
29
|
name?: string | undefined;
|
|
29
30
|
color?: string | undefined;
|
|
@@ -8,7 +8,7 @@ const MissiveUpdateTeamInput = z.object({
|
|
|
8
8
|
name: z.string().describe("New name for the team").optional(),
|
|
9
9
|
color: z.string().describe("New team color (hex code or name)").optional(),
|
|
10
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")
|
|
11
|
+
}).passthrough().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
12
|
}).describe("Request model for updating one or more teams.");
|
|
13
13
|
const MissiveUpdateTeam_TeamSchema = z.object({
|
|
14
14
|
id: z.string().describe("Unique identifier for the team").nullable(),
|
|
@@ -18,13 +18,13 @@ const MissiveUpdateTeam_TeamSchema = z.object({
|
|
|
18
18
|
created_at: z.string().describe("Timestamp when team was created (ISO 8601)").nullable().optional(),
|
|
19
19
|
updated_at: z.string().describe("Timestamp when team was last updated (ISO 8601)").nullable().optional(),
|
|
20
20
|
organization: z.string().describe("Organization ID the team belongs to").nullable().optional()
|
|
21
|
-
}).describe("A Missive team object returned in the response.");
|
|
21
|
+
}).passthrough().describe("A Missive team object returned in the response.");
|
|
22
22
|
const missiveUpdateTeam = action("MISSIVE_UPDATE_TEAM", {
|
|
23
23
|
slug: "missive-update-team",
|
|
24
24
|
name: "Update Missive Team",
|
|
25
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
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.")
|
|
27
|
+
output: z.object({ teams: z.array(MissiveUpdateTeam_TeamSchema).describe("List of updated team objects with their new values") }).passthrough().describe("Response model for updating teams.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { missiveUpdateTeam };
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\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.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,yBAAyB,EAAE,OAAO;CAC7C,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;
|
|
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.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}).passthrough().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.object({\n id: z.string().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\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}).passthrough().describe(\"A Missive team object returned in the response.\");\nexport const MissiveUpdateTeamOutput = z.object({\n teams: z.array(MissiveUpdateTeam_TeamSchema).describe(\"List of updated team objects with their new values\"),\n}).passthrough().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,yBAAyB,EAAE,OAAO;CAC7C,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,YAAY,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACnK,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oDAAoD,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|