@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
|
@@ -8,7 +8,7 @@ declare const MissiveCreateTeamInput: z.ZodObject<{
|
|
|
8
8
|
observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
9
|
organization: z.ZodString;
|
|
10
10
|
active_members: z.ZodArray<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const MissiveCreateTeamOutput: z.ZodObject<{
|
|
14
14
|
teams: z.ZodArray<z.ZodObject<{
|
|
@@ -19,10 +19,11 @@ declare const MissiveCreateTeamOutput: 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 missiveCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
teams: {
|
|
26
|
+
[x: string]: unknown;
|
|
26
27
|
name: string;
|
|
27
28
|
organization: string;
|
|
28
29
|
active_members: string[];
|
|
@@ -7,7 +7,7 @@ const MissiveCreateTeamInput = z.object({ teams: z.array(z.object({
|
|
|
7
7
|
observers: z.array(z.string()).describe("Array of user IDs for team observers").optional(),
|
|
8
8
|
organization: z.string().describe("Organization ID where the team will be created"),
|
|
9
9
|
active_members: z.array(z.string()).describe("Array of user IDs for active team members (at least one required)")
|
|
10
|
-
}).describe("Team object model for creating a new team.")).describe("Array of team objects to create (typically one team per request)") }).describe("Request model for creating a new team in Missive.");
|
|
10
|
+
}).passthrough().describe("Team object model for creating a new team.")).describe("Array of team objects to create (typically one team per request)") }).describe("Request model for creating a new team in Missive.");
|
|
11
11
|
const MissiveCreateTeam_CreatedTeamSchema = z.object({
|
|
12
12
|
id: z.string().describe("Unique identifier of the created team").nullable(),
|
|
13
13
|
name: z.string().describe("Name of the team").nullable().optional(),
|
|
@@ -16,13 +16,13 @@ const MissiveCreateTeam_CreatedTeamSchema = z.object({
|
|
|
16
16
|
created_at: z.string().describe("Timestamp when team was created (ISO 8601)").nullable().optional(),
|
|
17
17
|
updated_at: z.string().describe("Timestamp when team was last updated (ISO 8601)").nullable().optional(),
|
|
18
18
|
organization: z.string().describe("Organization ID the team belongs to").nullable().optional()
|
|
19
|
-
}).describe("Response model for a created team.");
|
|
19
|
+
}).passthrough().describe("Response model for a created team.");
|
|
20
20
|
const missiveCreateTeam = action("MISSIVE_CREATE_TEAM", {
|
|
21
21
|
slug: "missive-create-team",
|
|
22
22
|
name: "Create Team",
|
|
23
23
|
description: "Tool to create a new team in an organization. Use when you need to set up a new team with active members and optional observers. The API token must belong to an organization admin.",
|
|
24
24
|
input: MissiveCreateTeamInput,
|
|
25
|
-
output: z.object({ teams: z.array(MissiveCreateTeam_CreatedTeamSchema).describe("List of created team objects") }).describe("Response model for creating teams.")
|
|
25
|
+
output: z.object({ teams: z.array(MissiveCreateTeam_CreatedTeamSchema).describe("List of created team objects") }).passthrough().describe("Response model for creating teams.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { missiveCreateTeam };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-team.mjs","names":[],"sources":["../../src/actions/create-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateTeamInput = z.object({\n teams: z.array(z.object({\n name: z.string().describe(\"Name of the team to create\"),\n aliases: z.array(z.string()).describe(\"Array of email aliases for the team\").optional(),\n observers: z.array(z.string()).describe(\"Array of user IDs for team observers\").optional(),\n organization: z.string().describe(\"Organization ID where the team will be created\"),\n active_members: z.array(z.string()).describe(\"Array of user IDs for active team members (at least one required)\"),\n}).describe(\"Team object model for creating a new team.\")).describe(\"Array of team objects to create (typically one team per request)\"),\n}).describe(\"Request model for creating a new team in Missive.\");\nconst MissiveCreateTeam_CreatedTeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n color: z.string().describe(\"Team color (hex code)\").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(\"Response model for a created team.\");\nexport const MissiveCreateTeamOutput = z.object({\n teams: z.array(MissiveCreateTeam_CreatedTeamSchema).describe(\"List of created team objects\"),\n}).describe(\"Response model for creating teams.\");\n\nexport const missiveCreateTeam = action(\"MISSIVE_CREATE_TEAM\", {\n slug: \"missive-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in an organization. Use when you need to set up a new team with active members and optional observers. The API token must belong to an organization admin.\",\n input: MissiveCreateTeamInput,\n output: MissiveCreateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,EAAE,OAAO;CACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAClH,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,kEAAkE,
|
|
1
|
+
{"version":3,"file":"create-team.mjs","names":[],"sources":["../../src/actions/create-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateTeamInput = z.object({\n teams: z.array(z.object({\n name: z.string().describe(\"Name of the team to create\"),\n aliases: z.array(z.string()).describe(\"Array of email aliases for the team\").optional(),\n observers: z.array(z.string()).describe(\"Array of user IDs for team observers\").optional(),\n organization: z.string().describe(\"Organization ID where the team will be created\"),\n active_members: z.array(z.string()).describe(\"Array of user IDs for active team members (at least one required)\"),\n}).passthrough().describe(\"Team object model for creating a new team.\")).describe(\"Array of team objects to create (typically one team per request)\"),\n}).describe(\"Request model for creating a new team in Missive.\");\nconst MissiveCreateTeam_CreatedTeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n color: z.string().describe(\"Team color (hex code)\").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(\"Response model for a created team.\");\nexport const MissiveCreateTeamOutput = z.object({\n teams: z.array(MissiveCreateTeam_CreatedTeamSchema).describe(\"List of created team objects\"),\n}).passthrough().describe(\"Response model for creating teams.\");\n\nexport const missiveCreateTeam = action(\"MISSIVE_CREATE_TEAM\", {\n slug: \"missive-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in an organization. Use when you need to set up a new team with active members and optional observers. The API token must belong to an organization admin.\",\n input: MissiveCreateTeamInput,\n output: MissiveCreateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,EAAE,OAAO;CACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,kEAAkE,EACpJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,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,oCAAoC;AAK9D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -21,8 +21,8 @@ const MissiveCreateWebhookInput = zod.z.object({
|
|
|
21
21
|
content_ends_with: zod.z.string().describe("Only trigger when content ends with this substring.").optional(),
|
|
22
22
|
content_starts_with: zod.z.string().describe("Only trigger when content starts with this substring.").optional()
|
|
23
23
|
}).describe("Request body for creating a new Missive webhook subscription.");
|
|
24
|
-
const MissiveCreateWebhook_WebhookSchema = zod.z.object({ id: zod.z.string().describe("Unique identifier of the webhook subscription.").nullable() }).describe("A Missive webhook subscription object.");
|
|
25
|
-
const MissiveCreateWebhookOutput = zod.z.object({ hooks: MissiveCreateWebhook_WebhookSchema.nullable() }).describe("Response model for a newly created Missive webhook subscription.");
|
|
24
|
+
const MissiveCreateWebhook_WebhookSchema = zod.z.object({ id: zod.z.string().describe("Unique identifier of the webhook subscription.").nullable() }).passthrough().describe("A Missive webhook subscription object.");
|
|
25
|
+
const MissiveCreateWebhookOutput = zod.z.object({ hooks: MissiveCreateWebhook_WebhookSchema.nullable() }).passthrough().describe("Response model for a newly created Missive webhook subscription.");
|
|
26
26
|
const missiveCreateWebhook = require_action.action("MISSIVE_CREATE_WEBHOOK", {
|
|
27
27
|
slug: "missive-create-webhook",
|
|
28
28
|
name: "Create Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL to receive event notifications.\"),\n type: z.enum([\"incoming_email\", \"incoming_sms_message\", \"incoming_facebook_message\", \"incoming_whatsapp_message\", \"incoming_twilio_chat_message\", \"new_comment\"]).describe(\"Event type to subscribe to.\"),\n author: z.string().describe(\"(new_comment only) Only trigger for comments by this user ID.\").optional(),\n from_eq: z.string().describe(\"(incoming_email only) Only trigger for messages from this exact address.\").optional(),\n is_task: z.boolean().describe(\"(new_comment only) Only trigger for comments on tasks.\").optional(),\n mention: z.string().describe(\"(new_comment only) Only trigger when this user ID is mentioned.\").optional(),\n organization: z.string().describe(\"Organization ID to scope the subscription. Omit for personal webhooks.\").optional(),\n content_contains: z.string().describe(\"Only trigger when content contains this substring.\").optional(),\n subject_contains: z.string().describe(\"(incoming_email only) Only trigger when email subject contains this text.\").optional(),\n content_ends_with: z.string().describe(\"Only trigger when content ends with this substring.\").optional(),\n content_starts_with: z.string().describe(\"Only trigger when content starts with this substring.\").optional(),\n}).describe(\"Request body for creating a new Missive webhook subscription.\");\nconst MissiveCreateWebhook_WebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier of the webhook subscription.\").nullable(),\n}).describe(\"A Missive webhook subscription object.\");\nexport const MissiveCreateWebhookOutput = z.object({\n hooks: MissiveCreateWebhook_WebhookSchema.nullable(),\n}).describe(\"Response model for a newly created Missive webhook subscription.\");\n\nexport const missiveCreateWebhook = action(\"MISSIVE_CREATE_WEBHOOK\", {\n slug: \"missive-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook subscription. Use after choosing event type and target URL.\",\n input: MissiveCreateWebhookInput,\n output: MissiveCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAwB;EAA6B;EAA6B;EAAgC;CAAa,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACxM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC5H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL to receive event notifications.\"),\n type: z.enum([\"incoming_email\", \"incoming_sms_message\", \"incoming_facebook_message\", \"incoming_whatsapp_message\", \"incoming_twilio_chat_message\", \"new_comment\"]).describe(\"Event type to subscribe to.\"),\n author: z.string().describe(\"(new_comment only) Only trigger for comments by this user ID.\").optional(),\n from_eq: z.string().describe(\"(incoming_email only) Only trigger for messages from this exact address.\").optional(),\n is_task: z.boolean().describe(\"(new_comment only) Only trigger for comments on tasks.\").optional(),\n mention: z.string().describe(\"(new_comment only) Only trigger when this user ID is mentioned.\").optional(),\n organization: z.string().describe(\"Organization ID to scope the subscription. Omit for personal webhooks.\").optional(),\n content_contains: z.string().describe(\"Only trigger when content contains this substring.\").optional(),\n subject_contains: z.string().describe(\"(incoming_email only) Only trigger when email subject contains this text.\").optional(),\n content_ends_with: z.string().describe(\"Only trigger when content ends with this substring.\").optional(),\n content_starts_with: z.string().describe(\"Only trigger when content starts with this substring.\").optional(),\n}).describe(\"Request body for creating a new Missive webhook subscription.\");\nconst MissiveCreateWebhook_WebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier of the webhook subscription.\").nullable(),\n}).passthrough().describe(\"A Missive webhook subscription object.\");\nexport const MissiveCreateWebhookOutput = z.object({\n hooks: MissiveCreateWebhook_WebhookSchema.nullable(),\n}).passthrough().describe(\"Response model for a newly created Missive webhook subscription.\");\n\nexport const missiveCreateWebhook = action(\"MISSIVE_CREATE_WEBHOOK\", {\n slug: \"missive-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook subscription. Use after choosing event type and target URL.\",\n input: MissiveCreateWebhookInput,\n output: MissiveCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAwB;EAA6B;EAA6B;EAAgC;CAAa,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACxM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC5H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAO,mCAAmC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,8 +24,8 @@ declare const MissiveCreateWebhookInput: z.ZodObject<{
|
|
|
24
24
|
declare const MissiveCreateWebhookOutput: z.ZodObject<{
|
|
25
25
|
hooks: z.ZodNullable<z.ZodObject<{
|
|
26
26
|
id: z.ZodNullable<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const missiveCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
url: string;
|
|
31
31
|
type: "incoming_email" | "incoming_sms_message" | "incoming_facebook_message" | "incoming_whatsapp_message" | "incoming_twilio_chat_message" | "new_comment";
|
|
@@ -24,8 +24,8 @@ declare const MissiveCreateWebhookInput: z.ZodObject<{
|
|
|
24
24
|
declare const MissiveCreateWebhookOutput: z.ZodObject<{
|
|
25
25
|
hooks: z.ZodNullable<z.ZodObject<{
|
|
26
26
|
id: z.ZodNullable<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const missiveCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
url: string;
|
|
31
31
|
type: "incoming_email" | "incoming_sms_message" | "incoming_facebook_message" | "incoming_whatsapp_message" | "incoming_twilio_chat_message" | "new_comment";
|
|
@@ -21,13 +21,13 @@ const MissiveCreateWebhookInput = z.object({
|
|
|
21
21
|
content_ends_with: z.string().describe("Only trigger when content ends with this substring.").optional(),
|
|
22
22
|
content_starts_with: z.string().describe("Only trigger when content starts with this substring.").optional()
|
|
23
23
|
}).describe("Request body for creating a new Missive webhook subscription.");
|
|
24
|
-
const MissiveCreateWebhook_WebhookSchema = z.object({ id: z.string().describe("Unique identifier of the webhook subscription.").nullable() }).describe("A Missive webhook subscription object.");
|
|
24
|
+
const MissiveCreateWebhook_WebhookSchema = z.object({ id: z.string().describe("Unique identifier of the webhook subscription.").nullable() }).passthrough().describe("A Missive webhook subscription object.");
|
|
25
25
|
const missiveCreateWebhook = action("MISSIVE_CREATE_WEBHOOK", {
|
|
26
26
|
slug: "missive-create-webhook",
|
|
27
27
|
name: "Create Webhook",
|
|
28
28
|
description: "Tool to create a webhook subscription. Use after choosing event type and target URL.",
|
|
29
29
|
input: MissiveCreateWebhookInput,
|
|
30
|
-
output: z.object({ hooks: MissiveCreateWebhook_WebhookSchema.nullable() }).describe("Response model for a newly created Missive webhook subscription.")
|
|
30
|
+
output: z.object({ hooks: MissiveCreateWebhook_WebhookSchema.nullable() }).passthrough().describe("Response model for a newly created Missive webhook subscription.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { missiveCreateWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL to receive event notifications.\"),\n type: z.enum([\"incoming_email\", \"incoming_sms_message\", \"incoming_facebook_message\", \"incoming_whatsapp_message\", \"incoming_twilio_chat_message\", \"new_comment\"]).describe(\"Event type to subscribe to.\"),\n author: z.string().describe(\"(new_comment only) Only trigger for comments by this user ID.\").optional(),\n from_eq: z.string().describe(\"(incoming_email only) Only trigger for messages from this exact address.\").optional(),\n is_task: z.boolean().describe(\"(new_comment only) Only trigger for comments on tasks.\").optional(),\n mention: z.string().describe(\"(new_comment only) Only trigger when this user ID is mentioned.\").optional(),\n organization: z.string().describe(\"Organization ID to scope the subscription. Omit for personal webhooks.\").optional(),\n content_contains: z.string().describe(\"Only trigger when content contains this substring.\").optional(),\n subject_contains: z.string().describe(\"(incoming_email only) Only trigger when email subject contains this text.\").optional(),\n content_ends_with: z.string().describe(\"Only trigger when content ends with this substring.\").optional(),\n content_starts_with: z.string().describe(\"Only trigger when content starts with this substring.\").optional(),\n}).describe(\"Request body for creating a new Missive webhook subscription.\");\nconst MissiveCreateWebhook_WebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier of the webhook subscription.\").nullable(),\n}).describe(\"A Missive webhook subscription object.\");\nexport const MissiveCreateWebhookOutput = z.object({\n hooks: MissiveCreateWebhook_WebhookSchema.nullable(),\n}).describe(\"Response model for a newly created Missive webhook subscription.\");\n\nexport const missiveCreateWebhook = action(\"MISSIVE_CREATE_WEBHOOK\", {\n slug: \"missive-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook subscription. Use after choosing event type and target URL.\",\n input: MissiveCreateWebhookInput,\n output: MissiveCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,MAAM,EAAE,KAAK;EAAC;EAAkB;EAAwB;EAA6B;EAA6B;EAAgC;CAAa,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACxM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC5H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL to receive event notifications.\"),\n type: z.enum([\"incoming_email\", \"incoming_sms_message\", \"incoming_facebook_message\", \"incoming_whatsapp_message\", \"incoming_twilio_chat_message\", \"new_comment\"]).describe(\"Event type to subscribe to.\"),\n author: z.string().describe(\"(new_comment only) Only trigger for comments by this user ID.\").optional(),\n from_eq: z.string().describe(\"(incoming_email only) Only trigger for messages from this exact address.\").optional(),\n is_task: z.boolean().describe(\"(new_comment only) Only trigger for comments on tasks.\").optional(),\n mention: z.string().describe(\"(new_comment only) Only trigger when this user ID is mentioned.\").optional(),\n organization: z.string().describe(\"Organization ID to scope the subscription. Omit for personal webhooks.\").optional(),\n content_contains: z.string().describe(\"Only trigger when content contains this substring.\").optional(),\n subject_contains: z.string().describe(\"(incoming_email only) Only trigger when email subject contains this text.\").optional(),\n content_ends_with: z.string().describe(\"Only trigger when content ends with this substring.\").optional(),\n content_starts_with: z.string().describe(\"Only trigger when content starts with this substring.\").optional(),\n}).describe(\"Request body for creating a new Missive webhook subscription.\");\nconst MissiveCreateWebhook_WebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier of the webhook subscription.\").nullable(),\n}).passthrough().describe(\"A Missive webhook subscription object.\");\nexport const MissiveCreateWebhookOutput = z.object({\n hooks: MissiveCreateWebhook_WebhookSchema.nullable(),\n}).passthrough().describe(\"Response model for a newly created Missive webhook subscription.\");\n\nexport const missiveCreateWebhook = action(\"MISSIVE_CREATE_WEBHOOK\", {\n slug: \"missive-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a webhook subscription. Use after choosing event type and target URL.\",\n input: MissiveCreateWebhookInput,\n output: MissiveCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,MAAM,EAAE,KAAK;EAAC;EAAkB;EAAwB;EAA6B;EAA6B;EAAgC;CAAa,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACxM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC5H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,OAAO,mCAAmC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-draft.ts
|
|
4
4
|
const MissiveDeleteDraftInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the draft to delete.") }).describe("Request model for deleting a draft from a conversation.");
|
|
5
|
-
const MissiveDeleteDraftOutput = zod.z.
|
|
5
|
+
const MissiveDeleteDraftOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful draft deletion.");
|
|
6
6
|
const missiveDeleteDraft = require_action.action("MISSIVE_DELETE_DRAFT", {
|
|
7
7
|
slug: "missive-delete-draft",
|
|
8
8
|
name: "Delete Draft",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-draft.cjs","names":["z","action"],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteDraftInput = z.object({\n id: z.string().describe(\"Unique identifier of the draft to delete.\"),\n}).describe(\"Request model for deleting a draft from a conversation.\");\nexport const MissiveDeleteDraftOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-draft.cjs","names":["z","action"],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteDraftInput = z.object({\n id: z.string().describe(\"Unique identifier of the draft to delete.\"),\n}).describe(\"Request model for deleting a draft from a conversation.\");\nexport const MissiveDeleteDraftOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful draft deletion.\");\n\nexport const missiveDeleteDraft = action(\"MISSIVE_DELETE_DRAFT\", {\n slug: \"missive-delete-draft\",\n name: \"Delete Draft\",\n description: \"Tool to delete a draft from a conversation by draft ID. Use after confirming the draft ID; this operation cannot be undone.\",\n input: MissiveDeleteDraftInput,\n output: MissiveDeleteDraftOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACrE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAElI,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const MissiveDeleteDraftInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const MissiveDeleteDraftOutput: z.
|
|
7
|
+
declare const MissiveDeleteDraftOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const missiveDeleteDraft: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-draft.d.cts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-draft.d.cts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const MissiveDeleteDraftInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const MissiveDeleteDraftOutput: z.
|
|
7
|
+
declare const MissiveDeleteDraftOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const missiveDeleteDraft: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-draft.d.mts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-draft.d.mts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const missiveDeleteDraft = action("MISSIVE_DELETE_DRAFT", {
|
|
|
5
5
|
name: "Delete Draft",
|
|
6
6
|
description: "Tool to delete a draft from a conversation by draft ID. Use after confirming the draft ID; this operation cannot be undone.",
|
|
7
7
|
input: z.object({ id: z.string().describe("Unique identifier of the draft to delete.") }).describe("Request model for deleting a draft from a conversation."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful draft deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { missiveDeleteDraft };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-draft.mjs","names":[],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteDraftInput = z.object({\n id: z.string().describe(\"Unique identifier of the draft to delete.\"),\n}).describe(\"Request model for deleting a draft from a conversation.\");\nexport const MissiveDeleteDraftOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-draft.mjs","names":[],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteDraftInput = z.object({\n id: z.string().describe(\"Unique identifier of the draft to delete.\"),\n}).describe(\"Request model for deleting a draft from a conversation.\");\nexport const MissiveDeleteDraftOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful draft deletion.\");\n\nexport const missiveDeleteDraft = action(\"MISSIVE_DELETE_DRAFT\", {\n slug: \"missive-delete-draft\",\n name: \"Delete Draft\",\n description: \"Tool to delete a draft from a conversation by draft ID. Use after confirming the draft ID; this operation cannot be undone.\",\n input: MissiveDeleteDraftInput,\n output: MissiveDeleteDraftOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACrE,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAOzE;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-post.ts
|
|
4
4
|
const MissiveDeletePostInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the post to delete") }).describe("Request model for deleting a post from a conversation.");
|
|
5
|
-
const MissiveDeletePostOutput = zod.z.
|
|
5
|
+
const MissiveDeletePostOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful post deletion.");
|
|
6
6
|
const missiveDeletePost = require_action.action("MISSIVE_DELETE_POST", {
|
|
7
7
|
slug: "missive-delete-post",
|
|
8
8
|
name: "Delete Post",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-post.cjs","names":["z","action"],"sources":["../../src/actions/delete-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeletePostInput = z.object({\n id: z.string().describe(\"Unique identifier of the post to delete\"),\n}).describe(\"Request model for deleting a post from a conversation.\");\nexport const MissiveDeletePostOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-post.cjs","names":["z","action"],"sources":["../../src/actions/delete-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeletePostInput = z.object({\n id: z.string().describe(\"Unique identifier of the post to delete\"),\n}).describe(\"Request model for deleting a post from a conversation.\");\nexport const MissiveDeletePostOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful post deletion.\");\n\nexport const missiveDeletePost = action(\"MISSIVE_DELETE_POST\", {\n slug: \"missive-delete-post\",\n name: \"Delete Post\",\n description: \"Tool to delete a post from a conversation by post ID. Use when you need to remove a specific post; this operation cannot be undone.\",\n input: MissiveDeletePostInput,\n output: MissiveDeletePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACnE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAEhI,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const MissiveDeletePostInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const MissiveDeletePostOutput: z.
|
|
7
|
+
declare const MissiveDeletePostOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const missiveDeletePost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-post.d.cts","names":[],"sources":["../../src/actions/delete-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-post.d.cts","names":[],"sources":["../../src/actions/delete-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const MissiveDeletePostInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const MissiveDeletePostOutput: z.
|
|
7
|
+
declare const MissiveDeletePostOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const missiveDeletePost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-post.d.mts","names":[],"sources":["../../src/actions/delete-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-post.d.mts","names":[],"sources":["../../src/actions/delete-post.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const missiveDeletePost = action("MISSIVE_DELETE_POST", {
|
|
|
5
5
|
name: "Delete Post",
|
|
6
6
|
description: "Tool to delete a post from a conversation by post ID. Use when you need to remove a specific post; this operation cannot be undone.",
|
|
7
7
|
input: z.object({ id: z.string().describe("Unique identifier of the post to delete") }).describe("Request model for deleting a post from a conversation."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful post deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { missiveDeletePost };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-post.mjs","names":[],"sources":["../../src/actions/delete-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeletePostInput = z.object({\n id: z.string().describe(\"Unique identifier of the post to delete\"),\n}).describe(\"Request model for deleting a post from a conversation.\");\nexport const MissiveDeletePostOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-post.mjs","names":[],"sources":["../../src/actions/delete-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeletePostInput = z.object({\n id: z.string().describe(\"Unique identifier of the post to delete\"),\n}).describe(\"Request model for deleting a post from a conversation.\");\nexport const MissiveDeletePostOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful post deletion.\");\n\nexport const missiveDeletePost = action(\"MISSIVE_DELETE_POST\", {\n slug: \"missive-delete-post\",\n name: \"Delete Post\",\n description: \"Tool to delete a post from a conversation by post ID. Use when you need to remove a specific post; this operation cannot be undone.\",\n input: MissiveDeletePostInput,\n output: MissiveDeletePostOutput,\n});\n"],"mappings":";;AASA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAToC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACnE,CAAC,CAAC,CAAC,SAAS,wDAOH;CACP,QAPqC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAOxE;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-responses.ts
|
|
4
4
|
const MissiveDeleteResponsesInput = zod.z.object({ id: zod.z.string().describe("Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').") }).describe("Request model for deleting one or more saved responses.");
|
|
5
|
-
const MissiveDeleteResponsesOutput = zod.z.
|
|
5
|
+
const MissiveDeleteResponsesOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful response deletion.");
|
|
6
6
|
const missiveDeleteResponses = require_action.action("MISSIVE_DELETE_RESPONSES", {
|
|
7
7
|
slug: "missive-delete-responses",
|
|
8
8
|
name: "Delete Saved Responses",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-responses.cjs","names":["z","action"],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteResponsesInput = z.object({\n id: z.string().describe(\"Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').\"),\n}).describe(\"Request model for deleting one or more saved responses.\");\nexport const MissiveDeleteResponsesOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-responses.cjs","names":["z","action"],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteResponsesInput = z.object({\n id: z.string().describe(\"Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').\"),\n}).describe(\"Request model for deleting one or more saved responses.\");\nexport const MissiveDeleteResponsesOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful response deletion.\");\n\nexport const missiveDeleteResponses = action(\"MISSIVE_DELETE_RESPONSES\", {\n slug: \"missive-delete-responses\",\n name: \"Delete Saved Responses\",\n description: \"Tool to delete one or more saved responses by ID. For organization responses, the API token must belong to an admin. Use after confirming the response ID(s); this operation cannot be undone.\",\n input: MissiveDeleteResponsesInput,\n output: MissiveDeleteResponsesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAEzI,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const MissiveDeleteResponsesInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const MissiveDeleteResponsesOutput: z.
|
|
7
|
+
declare const MissiveDeleteResponsesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const missiveDeleteResponses: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-responses.d.cts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-responses.d.cts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const MissiveDeleteResponsesInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const MissiveDeleteResponsesOutput: z.
|
|
7
|
+
declare const MissiveDeleteResponsesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const missiveDeleteResponses: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-responses.d.mts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-responses.d.mts","names":[],"sources":["../../src/actions/delete-responses.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const missiveDeleteResponses = action("MISSIVE_DELETE_RESPONSES", {
|
|
|
5
5
|
name: "Delete Saved Responses",
|
|
6
6
|
description: "Tool to delete one or more saved responses by ID. For organization responses, the API token must belong to an admin. Use after confirming the response ID(s); this operation cannot be undone.",
|
|
7
7
|
input: z.object({ id: z.string().describe("Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').") }).describe("Request model for deleting one or more saved responses."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful response deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { missiveDeleteResponses };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-responses.mjs","names":[],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteResponsesInput = z.object({\n id: z.string().describe(\"Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').\"),\n}).describe(\"Request model for deleting one or more saved responses.\");\nexport const MissiveDeleteResponsesOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-responses.mjs","names":[],"sources":["../../src/actions/delete-responses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteResponsesInput = z.object({\n id: z.string().describe(\"Response ID to delete. To delete multiple responses, provide comma-separated IDs (e.g., 'id1,id2,id3').\"),\n}).describe(\"Request model for deleting one or more saved responses.\");\nexport const MissiveDeleteResponsesOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful response deletion.\");\n\nexport const missiveDeleteResponses = action(\"MISSIVE_DELETE_RESPONSES\", {\n slug: \"missive-delete-responses\",\n name: \"Delete Saved Responses\",\n description: \"Tool to delete one or more saved responses by ID. For organization responses, the API token must belong to an admin. Use after confirming the response ID(s); this operation cannot be undone.\",\n input: MissiveDeleteResponsesInput,\n output: MissiveDeleteResponsesOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAO7E;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-webhook.ts
|
|
4
4
|
const MissiveDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.string().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a webhook subscription by ID.");
|
|
5
|
-
const MissiveDeleteWebhookOutput = zod.z.
|
|
5
|
+
const MissiveDeleteWebhookOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful webhook deletion.");
|
|
6
6
|
const missiveDeleteWebhook = require_action.action("MISSIVE_DELETE_WEBHOOK", {
|
|
7
7
|
slug: "missive-delete-webhook",
|
|
8
8
|
name: "Delete Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAEtI,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const MissiveDeleteWebhookInput: z.ZodObject<{
|
|
5
5
|
webhook_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const MissiveDeleteWebhookOutput: z.
|
|
7
|
+
declare const MissiveDeleteWebhookOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const missiveDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
webhook_id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const MissiveDeleteWebhookInput: z.ZodObject<{
|
|
5
5
|
webhook_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const MissiveDeleteWebhookOutput: z.
|
|
7
|
+
declare const MissiveDeleteWebhookOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const missiveDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
webhook_id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const missiveDeleteWebhook = action("MISSIVE_DELETE_WEBHOOK", {
|
|
|
5
5
|
name: "Delete Webhook",
|
|
6
6
|
description: "Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.",
|
|
7
7
|
input: z.object({ webhook_id: z.string().describe("Unique identifier of the webhook to delete.") }).describe("Request model for deleting a webhook subscription by ID."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful webhook deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { missiveDeleteWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n}).describe(\"Request model for deleting a webhook subscription by ID.\");\nexport const MissiveDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful webhook deletion.\");\n\nexport const missiveDeleteWebhook = action(\"MISSIVE_DELETE_WEBHOOK\", {\n slug: \"missive-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook subscription by webhook ID. Use after confirming the webhook ID; this operation cannot be undone.\",\n input: MissiveDeleteWebhookInput,\n output: MissiveDeleteWebhookOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAOH;CACP,QAPwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAO3E;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const MissiveGetAnalyticsReport_AnalyticsDataSchema = zod.z.object({
|
|
|
13
13
|
account_types: zod.z.array(zod.z.string()).describe("Account types used to filter the report").nullable().optional(),
|
|
14
14
|
shared_labels: zod.z.array(zod.z.string()).describe("Shared label IDs used to filter the report").nullable().optional()
|
|
15
15
|
}).passthrough().describe("Analytics report data structure containing report parameters and metrics.");
|
|
16
|
-
const MissiveGetAnalyticsReportOutput = zod.z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.");
|
|
16
|
+
const MissiveGetAnalyticsReportOutput = zod.z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).passthrough().describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.");
|
|
17
17
|
const missiveGetAnalyticsReport = require_action.action("MISSIVE_GET_ANALYTICS_REPORT", {
|
|
18
18
|
slug: "missive-get-analytics-report",
|
|
19
19
|
name: "Get Analytics Report",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-analytics-report.cjs","names":["z","action"],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AACrG,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,sHAAsH;
|
|
1
|
+
{"version":3,"file":"get-analytics-report.cjs","names":["z","action"],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AACrG,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAEhJ,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const MissiveGetAnalyticsReportOutput: z.ZodObject<{
|
|
|
16
16
|
account_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
17
|
shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
18
|
}, z.core.$loose>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const missiveGetAnalyticsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
id: string;
|
|
22
22
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -16,7 +16,7 @@ declare const MissiveGetAnalyticsReportOutput: z.ZodObject<{
|
|
|
16
16
|
account_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
17
|
shared_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
18
18
|
}, z.core.$loose>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const missiveGetAnalyticsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
id: string;
|
|
22
22
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -18,7 +18,7 @@ const missiveGetAnalyticsReport = action("MISSIVE_GET_ANALYTICS_REPORT", {
|
|
|
18
18
|
name: "Get Analytics Report",
|
|
19
19
|
description: "Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.",
|
|
20
20
|
input: MissiveGetAnalyticsReportInput,
|
|
21
|
-
output: z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.")
|
|
21
|
+
output: z.object({ reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable() }).passthrough().describe("Response model for fetching an analytics report.\nThe response contains the analytics data for the requested report.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { missiveGetAnalyticsReport };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-analytics-report.mjs","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAKrG,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-analytics-report.mjs","names":[],"sources":["../../src/actions/get-analytics-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveGetAnalyticsReportInput = z.object({\n id: z.string().describe(\"Report ID returned by Create Analytics Report request (UUID format)\"),\n}).describe(\"Request model for fetching an analytics report by ID.\");\nconst MissiveGetAnalyticsReport_AnalyticsDataSchema = z.object({\n end: z.number().int().describe(\"Report period end in Unix epoch seconds\").nullable(),\n start: z.number().int().describe(\"Report period start in Unix epoch seconds\").nullable(),\n teams: z.array(z.string()).describe(\"Team IDs used to filter the report\").nullable().optional(),\n users: z.array(z.string()).describe(\"User IDs used to filter the report\").nullable().optional(),\n accounts: z.array(z.string()).describe(\"Account IDs used to filter the report\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone identifier (IANA) used for the report period\").nullable().optional(),\n organization: z.string().describe(\"Organization ID for which the report was generated\").nullable().optional(),\n account_types: z.array(z.string()).describe(\"Account types used to filter the report\").nullable().optional(),\n shared_labels: z.array(z.string()).describe(\"Shared label IDs used to filter the report\").nullable().optional(),\n}).passthrough().describe(\"Analytics report data structure containing report parameters and metrics.\");\nexport const MissiveGetAnalyticsReportOutput = z.object({\n reports: MissiveGetAnalyticsReport_AnalyticsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching an analytics report.\\nThe response contains the analytics data for the requested report.\");\n\nexport const missiveGetAnalyticsReport = action(\"MISSIVE_GET_ANALYTICS_REPORT\", {\n slug: \"missive-get-analytics-report\",\n name: \"Get Analytics Report\",\n description: \"Tool to fetch a completed analytics report using its ID. Use when you need to retrieve analytics data after creating a report. Reports typically complete within 2-3 seconds but may take up to 30 seconds. Reports expire 60 seconds after completion and return 404 if incomplete, expired, or non-existent.\",\n input: MissiveGetAnalyticsReportInput,\n output: MissiveGetAnalyticsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC/F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAKrG,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sHAOhB;AACV,CAAC"}
|