@keystrokehq/missive 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-analytics-report.cjs +1 -0
- package/dist/actions/create-analytics-report.cjs.map +1 -1
- package/dist/actions/create-analytics-report.d.cts +3 -25
- package/dist/actions/create-analytics-report.d.cts.map +1 -1
- package/dist/actions/create-analytics-report.d.mts +3 -25
- package/dist/actions/create-analytics-report.d.mts.map +1 -1
- package/dist/actions/create-analytics-report.mjs +1 -0
- package/dist/actions/create-analytics-report.mjs.map +1 -1
- package/dist/actions/create-contacts.cjs +1 -0
- package/dist/actions/create-contacts.cjs.map +1 -1
- package/dist/actions/create-contacts.d.cts +3 -56
- package/dist/actions/create-contacts.d.cts.map +1 -1
- package/dist/actions/create-contacts.d.mts +3 -56
- package/dist/actions/create-contacts.d.mts.map +1 -1
- package/dist/actions/create-contacts.mjs +1 -0
- package/dist/actions/create-contacts.mjs.map +1 -1
- package/dist/actions/create-draft.cjs +1 -0
- package/dist/actions/create-draft.cjs.map +1 -1
- package/dist/actions/create-draft.d.cts +3 -80
- package/dist/actions/create-draft.d.cts.map +1 -1
- package/dist/actions/create-draft.d.mts +3 -80
- package/dist/actions/create-draft.d.mts.map +1 -1
- package/dist/actions/create-draft.mjs +1 -0
- package/dist/actions/create-draft.mjs.map +1 -1
- package/dist/actions/create-post.cjs +1 -0
- package/dist/actions/create-post.cjs.map +1 -1
- package/dist/actions/create-post.d.cts +3 -30
- package/dist/actions/create-post.d.cts.map +1 -1
- package/dist/actions/create-post.d.mts +3 -30
- package/dist/actions/create-post.d.mts.map +1 -1
- package/dist/actions/create-post.mjs +1 -0
- package/dist/actions/create-post.mjs.map +1 -1
- package/dist/actions/create-response.cjs +1 -0
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +3 -23
- package/dist/actions/create-response.d.cts.map +1 -1
- package/dist/actions/create-response.d.mts +3 -23
- package/dist/actions/create-response.d.mts.map +1 -1
- package/dist/actions/create-response.mjs +1 -0
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-shared-label.cjs +1 -0
- package/dist/actions/create-shared-label.cjs.map +1 -1
- package/dist/actions/create-shared-label.d.cts +3 -22
- package/dist/actions/create-shared-label.d.cts.map +1 -1
- package/dist/actions/create-shared-label.d.mts +3 -22
- package/dist/actions/create-shared-label.d.mts.map +1 -1
- package/dist/actions/create-shared-label.mjs +1 -0
- package/dist/actions/create-shared-label.mjs.map +1 -1
- package/dist/actions/create-task.cjs +1 -0
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +3 -26
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +3 -26
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +1 -0
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-team.cjs +1 -0
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +3 -22
- package/dist/actions/create-team.d.cts.map +1 -1
- package/dist/actions/create-team.d.mts +3 -22
- package/dist/actions/create-team.d.mts.map +1 -1
- package/dist/actions/create-team.mjs +1 -0
- package/dist/actions/create-team.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -25
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -25
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-draft.cjs +1 -0
- package/dist/actions/delete-draft.cjs.map +1 -1
- package/dist/actions/delete-draft.d.cts +3 -15
- package/dist/actions/delete-draft.d.cts.map +1 -1
- package/dist/actions/delete-draft.d.mts +3 -15
- package/dist/actions/delete-draft.d.mts.map +1 -1
- package/dist/actions/delete-draft.mjs +1 -0
- package/dist/actions/delete-draft.mjs.map +1 -1
- package/dist/actions/delete-post.cjs +1 -0
- package/dist/actions/delete-post.cjs.map +1 -1
- package/dist/actions/delete-post.d.cts +3 -15
- package/dist/actions/delete-post.d.cts.map +1 -1
- package/dist/actions/delete-post.d.mts +3 -15
- package/dist/actions/delete-post.d.mts.map +1 -1
- package/dist/actions/delete-post.mjs +1 -0
- package/dist/actions/delete-post.mjs.map +1 -1
- package/dist/actions/delete-responses.cjs +1 -0
- package/dist/actions/delete-responses.cjs.map +1 -1
- package/dist/actions/delete-responses.d.cts +3 -15
- package/dist/actions/delete-responses.d.cts.map +1 -1
- package/dist/actions/delete-responses.d.mts +3 -15
- package/dist/actions/delete-responses.d.mts.map +1 -1
- package/dist/actions/delete-responses.mjs +1 -0
- package/dist/actions/delete-responses.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-analytics-report.cjs +1 -0
- package/dist/actions/get-analytics-report.cjs.map +1 -1
- package/dist/actions/get-analytics-report.d.cts +3 -15
- package/dist/actions/get-analytics-report.d.cts.map +1 -1
- package/dist/actions/get-analytics-report.d.mts +3 -15
- package/dist/actions/get-analytics-report.d.mts.map +1 -1
- package/dist/actions/get-analytics-report.mjs +1 -0
- package/dist/actions/get-analytics-report.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -15
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -15
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-conversation-messages.cjs +1 -0
- package/dist/actions/get-conversation-messages.cjs.map +1 -1
- package/dist/actions/get-conversation-messages.d.cts +3 -17
- package/dist/actions/get-conversation-messages.d.cts.map +1 -1
- package/dist/actions/get-conversation-messages.d.mts +3 -17
- package/dist/actions/get-conversation-messages.d.mts.map +1 -1
- package/dist/actions/get-conversation-messages.mjs +1 -0
- package/dist/actions/get-conversation-messages.mjs.map +1 -1
- package/dist/actions/get-conversation.cjs +1 -0
- package/dist/actions/get-conversation.cjs.map +1 -1
- package/dist/actions/get-conversation.d.cts +3 -15
- package/dist/actions/get-conversation.d.cts.map +1 -1
- package/dist/actions/get-conversation.d.mts +3 -15
- package/dist/actions/get-conversation.d.mts.map +1 -1
- package/dist/actions/get-conversation.mjs +1 -0
- package/dist/actions/get-conversation.mjs.map +1 -1
- package/dist/actions/get-message.cjs +1 -0
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +3 -15
- package/dist/actions/get-message.d.cts.map +1 -1
- package/dist/actions/get-message.d.mts +3 -15
- package/dist/actions/get-message.d.mts.map +1 -1
- package/dist/actions/get-message.mjs +1 -0
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +1 -0
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +3 -15
- package/dist/actions/get-response.d.cts.map +1 -1
- package/dist/actions/get-response.d.mts +3 -15
- package/dist/actions/get-response.d.mts.map +1 -1
- package/dist/actions/get-response.mjs +1 -0
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-task.cjs +1 -0
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +3 -15
- package/dist/actions/get-task.d.cts.map +1 -1
- package/dist/actions/get-task.d.mts +3 -15
- package/dist/actions/get-task.d.mts.map +1 -1
- package/dist/actions/get-task.mjs +1 -0
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/list-contact-books.cjs +1 -0
- package/dist/actions/list-contact-books.cjs.map +1 -1
- package/dist/actions/list-contact-books.d.cts +3 -16
- package/dist/actions/list-contact-books.d.cts.map +1 -1
- package/dist/actions/list-contact-books.d.mts +3 -16
- package/dist/actions/list-contact-books.d.mts.map +1 -1
- package/dist/actions/list-contact-books.mjs +1 -0
- package/dist/actions/list-contact-books.mjs.map +1 -1
- package/dist/actions/list-contact-groups.cjs +1 -0
- package/dist/actions/list-contact-groups.cjs.map +1 -1
- package/dist/actions/list-contact-groups.d.cts +3 -18
- package/dist/actions/list-contact-groups.d.cts.map +1 -1
- package/dist/actions/list-contact-groups.d.mts +3 -18
- package/dist/actions/list-contact-groups.d.mts.map +1 -1
- package/dist/actions/list-contact-groups.mjs +1 -0
- package/dist/actions/list-contact-groups.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -21
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -21
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-conversation-comments.cjs +1 -0
- package/dist/actions/list-conversation-comments.cjs.map +1 -1
- package/dist/actions/list-conversation-comments.d.cts +3 -17
- package/dist/actions/list-conversation-comments.d.cts.map +1 -1
- package/dist/actions/list-conversation-comments.d.mts +3 -17
- package/dist/actions/list-conversation-comments.d.mts.map +1 -1
- package/dist/actions/list-conversation-comments.mjs +1 -0
- package/dist/actions/list-conversation-comments.mjs.map +1 -1
- package/dist/actions/list-conversation-drafts.cjs +1 -0
- package/dist/actions/list-conversation-drafts.cjs.map +1 -1
- package/dist/actions/list-conversation-drafts.d.cts +3 -17
- package/dist/actions/list-conversation-drafts.d.cts.map +1 -1
- package/dist/actions/list-conversation-drafts.d.mts +3 -17
- package/dist/actions/list-conversation-drafts.d.mts.map +1 -1
- package/dist/actions/list-conversation-drafts.mjs +1 -0
- package/dist/actions/list-conversation-drafts.mjs.map +1 -1
- package/dist/actions/list-conversation-posts.cjs +1 -0
- package/dist/actions/list-conversation-posts.cjs.map +1 -1
- package/dist/actions/list-conversation-posts.d.cts +3 -17
- package/dist/actions/list-conversation-posts.d.cts.map +1 -1
- package/dist/actions/list-conversation-posts.d.mts +3 -17
- package/dist/actions/list-conversation-posts.d.mts.map +1 -1
- package/dist/actions/list-conversation-posts.mjs +1 -0
- package/dist/actions/list-conversation-posts.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +1 -0
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +3 -32
- package/dist/actions/list-conversations.d.cts.map +1 -1
- package/dist/actions/list-conversations.d.mts +3 -32
- package/dist/actions/list-conversations.d.mts.map +1 -1
- package/dist/actions/list-conversations.mjs +1 -0
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +1 -0
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +3 -15
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +3 -15
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +1 -0
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +1 -0
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +3 -16
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +3 -16
- package/dist/actions/list-organizations.d.mts.map +1 -1
- package/dist/actions/list-organizations.mjs +1 -0
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-responses.cjs +1 -0
- package/dist/actions/list-responses.cjs.map +1 -1
- package/dist/actions/list-responses.d.cts +3 -16
- package/dist/actions/list-responses.d.cts.map +1 -1
- package/dist/actions/list-responses.d.mts +3 -16
- package/dist/actions/list-responses.d.mts.map +1 -1
- package/dist/actions/list-responses.mjs +1 -0
- package/dist/actions/list-responses.mjs.map +1 -1
- package/dist/actions/list-shared-labels.cjs +1 -0
- package/dist/actions/list-shared-labels.cjs.map +1 -1
- package/dist/actions/list-shared-labels.d.cts +3 -17
- package/dist/actions/list-shared-labels.d.cts.map +1 -1
- package/dist/actions/list-shared-labels.d.mts +3 -17
- package/dist/actions/list-shared-labels.d.mts.map +1 -1
- package/dist/actions/list-shared-labels.mjs +1 -0
- package/dist/actions/list-shared-labels.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +1 -0
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +3 -19
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +3 -19
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +1 -0
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +1 -0
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +3 -16
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +3 -16
- package/dist/actions/list-teams.d.mts.map +1 -1
- package/dist/actions/list-teams.mjs +1 -0
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -16
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -16
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/merge-conversations.cjs +1 -0
- package/dist/actions/merge-conversations.cjs.map +1 -1
- package/dist/actions/merge-conversations.d.cts +3 -16
- package/dist/actions/merge-conversations.d.cts.map +1 -1
- package/dist/actions/merge-conversations.d.mts +3 -16
- package/dist/actions/merge-conversations.d.mts.map +1 -1
- package/dist/actions/merge-conversations.mjs +1 -0
- package/dist/actions/merge-conversations.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -56
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -56
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-response.cjs +1 -0
- package/dist/actions/update-response.cjs.map +1 -1
- package/dist/actions/update-response.d.cts +3 -44
- package/dist/actions/update-response.d.cts.map +1 -1
- package/dist/actions/update-response.d.mts +3 -44
- package/dist/actions/update-response.d.mts.map +1 -1
- package/dist/actions/update-response.mjs +1 -0
- package/dist/actions/update-response.mjs.map +1 -1
- package/dist/actions/update-shared-labels.cjs +1 -0
- package/dist/actions/update-shared-labels.cjs.map +1 -1
- package/dist/actions/update-shared-labels.d.cts +3 -21
- package/dist/actions/update-shared-labels.d.cts.map +1 -1
- package/dist/actions/update-shared-labels.d.mts +3 -21
- package/dist/actions/update-shared-labels.d.mts.map +1 -1
- package/dist/actions/update-shared-labels.mjs +1 -0
- package/dist/actions/update-shared-labels.mjs.map +1 -1
- package/dist/actions/update-task.cjs +1 -0
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +3 -21
- package/dist/actions/update-task.d.cts.map +1 -1
- package/dist/actions/update-task.d.mts +3 -21
- package/dist/actions/update-task.d.mts.map +1 -1
- package/dist/actions/update-task.mjs +1 -0
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-team.cjs +1 -0
- package/dist/actions/update-team.cjs.map +1 -1
- package/dist/actions/update-team.d.cts +3 -22
- package/dist/actions/update-team.d.cts.map +1 -1
- package/dist/actions/update-team.d.mts +3 -22
- package/dist/actions/update-team.d.mts.map +1 -1
- package/dist/actions/update-team.mjs +1 -0
- package/dist/actions/update-team.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-shared-label.d.ts
|
|
@@ -20,28 +22,7 @@ declare const MissiveCreateSharedLabelOutput: z.ZodObject<{
|
|
|
20
22
|
organization: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const missiveCreateSharedLabel:
|
|
24
|
-
shared_labels: {
|
|
25
|
-
[x: string]: unknown;
|
|
26
|
-
name: string;
|
|
27
|
-
organization: string;
|
|
28
|
-
color?: string | undefined;
|
|
29
|
-
parent?: string | undefined;
|
|
30
|
-
visibility?: string | undefined;
|
|
31
|
-
}[];
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
bearer_token: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
bearer_token: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const missiveCreateSharedLabel: AppAction<typeof MissiveCreateSharedLabelInput, typeof MissiveCreateSharedLabelOutput, typeof missive.credential>;
|
|
45
26
|
//#endregion
|
|
46
27
|
export { missiveCreateSharedLabel };
|
|
47
28
|
//# sourceMappingURL=create-shared-label.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-shared-label.d.cts","names":[],"sources":["../../src/actions/create-shared-label.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-shared-label.d.cts","names":[],"sources":["../../src/actions/create-shared-label.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-shared-label.d.ts
|
|
@@ -20,28 +22,7 @@ declare const MissiveCreateSharedLabelOutput: z.ZodObject<{
|
|
|
20
22
|
organization: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const missiveCreateSharedLabel:
|
|
24
|
-
shared_labels: {
|
|
25
|
-
[x: string]: unknown;
|
|
26
|
-
name: string;
|
|
27
|
-
organization: string;
|
|
28
|
-
color?: string | undefined;
|
|
29
|
-
parent?: string | undefined;
|
|
30
|
-
visibility?: string | undefined;
|
|
31
|
-
}[];
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
bearer_token: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
bearer_token: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const missiveCreateSharedLabel: AppAction<typeof MissiveCreateSharedLabelInput, typeof MissiveCreateSharedLabelOutput, typeof missive.credential>;
|
|
45
26
|
//#endregion
|
|
46
27
|
export { missiveCreateSharedLabel };
|
|
47
28
|
//# sourceMappingURL=create-shared-label.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-shared-label.d.mts","names":[],"sources":["../../src/actions/create-shared-label.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-shared-label.d.mts","names":[],"sources":["../../src/actions/create-shared-label.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAiB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-shared-label.mjs","names":[],"sources":["../../src/actions/create-shared-label.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateSharedLabelInput = z.object({\n shared_labels: z.array(z.object({\n name: z.string().describe(\"Name of the shared label\"),\n color: z.string().describe(\"Color of the shared label in HEX format (e.g., '#FF5733')\").optional(),\n parent: z.string().describe(\"Parent shared label ID for creating nested labels\").optional(),\n visibility: z.string().describe(\"Visibility setting for the shared label\").optional(),\n organization: z.string().describe(\"Organization ID where the shared label will be created\"),\n}).passthrough().describe(\"Individual shared label object to create.\")).describe(\"Array of shared label objects to create (at least one required)\"),\n}).describe(\"Request model for creating one or more shared labels in Missive.\");\nconst MissiveCreateSharedLabel_CreatedSharedLabelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created shared label\").nullable(),\n name: z.string().describe(\"Name of the shared label\").nullable(),\n color: z.string().describe(\"Color of the shared label\").nullable().optional(),\n parent: z.string().describe(\"Parent shared label ID if nested\").nullable().optional(),\n visibility: z.string().describe(\"Visibility setting of the shared label\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the shared label belongs to\").nullable(),\n}).passthrough().describe(\"A created shared label object.\");\nexport const MissiveCreateSharedLabelOutput = z.object({\n shared_labels: z.array(MissiveCreateSharedLabel_CreatedSharedLabelSchema).describe(\"Array of created shared label objects\"),\n}).passthrough().describe(\"Response model for creating shared labels.\");\n\nexport const missiveCreateSharedLabel = action(\"MISSIVE_CREATE_SHARED_LABEL\", {\n slug: \"missive-create-shared-label\",\n name: \"Create Shared Label\",\n description: \"Tool to create one or more shared labels at the organization level. Use when you need to create new labels that can be shared across the organization.\",\n input: MissiveCreateSharedLabelInput,\n output: MissiveCreateSharedLabelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-shared-label.mjs","names":[],"sources":["../../src/actions/create-shared-label.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveCreateSharedLabelInput = z.object({\n shared_labels: z.array(z.object({\n name: z.string().describe(\"Name of the shared label\"),\n color: z.string().describe(\"Color of the shared label in HEX format (e.g., '#FF5733')\").optional(),\n parent: z.string().describe(\"Parent shared label ID for creating nested labels\").optional(),\n visibility: z.string().describe(\"Visibility setting for the shared label\").optional(),\n organization: z.string().describe(\"Organization ID where the shared label will be created\"),\n}).passthrough().describe(\"Individual shared label object to create.\")).describe(\"Array of shared label objects to create (at least one required)\"),\n}).describe(\"Request model for creating one or more shared labels in Missive.\");\nconst MissiveCreateSharedLabel_CreatedSharedLabelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created shared label\").nullable(),\n name: z.string().describe(\"Name of the shared label\").nullable(),\n color: z.string().describe(\"Color of the shared label\").nullable().optional(),\n parent: z.string().describe(\"Parent shared label ID if nested\").nullable().optional(),\n visibility: z.string().describe(\"Visibility setting of the shared label\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the shared label belongs to\").nullable(),\n}).passthrough().describe(\"A created shared label object.\");\nexport const MissiveCreateSharedLabelOutput = z.object({\n shared_labels: z.array(MissiveCreateSharedLabel_CreatedSharedLabelSchema).describe(\"Array of created shared label objects\"),\n}).passthrough().describe(\"Response model for creating shared labels.\");\n\nexport const missiveCreateSharedLabel: AppAction<\n typeof MissiveCreateSharedLabelInput,\n typeof MissiveCreateSharedLabelOutput,\n typeof missive.credential\n> = action(\"MISSIVE_CREATE_SHARED_LABEL\", {\n slug: \"missive-create-shared-label\",\n name: \"Create Shared Label\",\n description: \"Tool to create one or more shared labels at the organization level. Use when you need to create new labels that can be shared across the organization.\",\n input: MissiveCreateSharedLabelInput,\n output: MissiveCreateSharedLabelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,eAAe,EAAE,MAAM,EAAE,OAAO;CAChC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,iEAAiE,EAClJ,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,eAAe,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uCAAuC,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-task.cjs","names":["z","action"],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateTaskInput = z.object({\n team: z.string().describe(\"Team ID (required for standalone tasks unless assignees specified)\").optional(),\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state enum.\").optional(),\n title: z.string().describe(\"Task title (max 1000 chars)\"),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").optional(),\n subject: z.string().describe(\"Subject for new conversation when using references\").optional(),\n subtask: z.boolean().describe(\"Whether this is a subtask within a conversation\").optional(),\n add_users: z.array(z.string()).describe(\"User IDs to add to parent conversation for subtasks\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs (required for standalone tasks unless team specified)\").optional(),\n references: z.array(z.string()).describe(\"Message references (like email Message-IDs) to find/create parent conversation\").optional(),\n description: z.string().describe(\"Task description (max 10000 chars)\").optional(),\n conversation: z.string().describe(\"Conversation ID for subtasks\").optional(),\n organization: z.string().describe(\"Organization ID where the task will be created\"),\n}).describe(\"Request model for creating a task in Missive.\");\nconst MissiveCreateTask_TaskResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created task\").nullable(),\n team: z.string().describe(\"Team ID\").nullable().optional(),\n state: z.string().describe(\"Task state\").nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the task was created\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).passthrough().describe(\"Created task object.\");\nexport const MissiveCreateTaskOutput = z.object({\n tasks: MissiveCreateTask_TaskResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a task in Missive.\");\n\nexport const missiveCreateTask = action(\"MISSIVE_CREATE_TASK\", {\n slug: \"missive-create-task\",\n name: \"Create Missive Task\",\n description: \"Tool to create a task in Missive. Use when you need to create standalone tasks, conversation-linked subtasks, or team tasks. You can find or create parent conversations using message references (like email Message-IDs).\",\n input: MissiveCreateTaskInput,\n output: MissiveCreateTaskOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-task.cjs","names":["z","action"],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveCreateTaskInput = z.object({\n team: z.string().describe(\"Team ID (required for standalone tasks unless assignees specified)\").optional(),\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state enum.\").optional(),\n title: z.string().describe(\"Task title (max 1000 chars)\"),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").optional(),\n subject: z.string().describe(\"Subject for new conversation when using references\").optional(),\n subtask: z.boolean().describe(\"Whether this is a subtask within a conversation\").optional(),\n add_users: z.array(z.string()).describe(\"User IDs to add to parent conversation for subtasks\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs (required for standalone tasks unless team specified)\").optional(),\n references: z.array(z.string()).describe(\"Message references (like email Message-IDs) to find/create parent conversation\").optional(),\n description: z.string().describe(\"Task description (max 10000 chars)\").optional(),\n conversation: z.string().describe(\"Conversation ID for subtasks\").optional(),\n organization: z.string().describe(\"Organization ID where the task will be created\"),\n}).describe(\"Request model for creating a task in Missive.\");\nconst MissiveCreateTask_TaskResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created task\").nullable(),\n team: z.string().describe(\"Team ID\").nullable().optional(),\n state: z.string().describe(\"Task state\").nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the task was created\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).passthrough().describe(\"Created task object.\");\nexport const MissiveCreateTaskOutput = z.object({\n tasks: MissiveCreateTask_TaskResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a task in Missive.\");\n\nexport const missiveCreateTask: AppAction<\n typeof MissiveCreateTaskInput,\n typeof MissiveCreateTaskOutput,\n typeof missive.credential\n> = action(\"MISSIVE_CREATE_TASK\", {\n slug: \"missive-create-task\",\n name: \"Create Missive Task\",\n description: \"Tool to create a task in Missive. Use when you need to create standalone tasks, conversation-linked subtasks, or team tasks. You can find or create parent conversations using message references (like email Message-IDs).\",\n input: MissiveCreateTaskInput,\n output: MissiveCreateTaskOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAe;CAAQ,CAAC,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5H,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,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,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-task.d.ts
|
|
@@ -33,32 +35,7 @@ declare const MissiveCreateTaskOutput: z.ZodObject<{
|
|
|
33
35
|
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const missiveCreateTask:
|
|
37
|
-
title: string;
|
|
38
|
-
organization: string;
|
|
39
|
-
team?: string | undefined;
|
|
40
|
-
state?: "todo" | "in_progress" | "closed" | undefined;
|
|
41
|
-
due_at?: number | undefined;
|
|
42
|
-
subject?: string | undefined;
|
|
43
|
-
subtask?: boolean | undefined;
|
|
44
|
-
add_users?: string[] | undefined;
|
|
45
|
-
assignees?: string[] | undefined;
|
|
46
|
-
references?: string[] | undefined;
|
|
47
|
-
description?: string | undefined;
|
|
48
|
-
conversation?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
bearer_token: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
bearer_token: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const missiveCreateTask: AppAction<typeof MissiveCreateTaskInput, typeof MissiveCreateTaskOutput, typeof missive.credential>;
|
|
62
39
|
//#endregion
|
|
63
40
|
export { missiveCreateTask };
|
|
64
41
|
//# sourceMappingURL=create-task.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-task.d.cts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-task.d.cts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA0BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-task.d.ts
|
|
@@ -33,32 +35,7 @@ declare const MissiveCreateTaskOutput: z.ZodObject<{
|
|
|
33
35
|
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const missiveCreateTask:
|
|
37
|
-
title: string;
|
|
38
|
-
organization: string;
|
|
39
|
-
team?: string | undefined;
|
|
40
|
-
state?: "todo" | "in_progress" | "closed" | undefined;
|
|
41
|
-
due_at?: number | undefined;
|
|
42
|
-
subject?: string | undefined;
|
|
43
|
-
subtask?: boolean | undefined;
|
|
44
|
-
add_users?: string[] | undefined;
|
|
45
|
-
assignees?: string[] | undefined;
|
|
46
|
-
references?: string[] | undefined;
|
|
47
|
-
description?: string | undefined;
|
|
48
|
-
conversation?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
bearer_token: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
bearer_token: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const missiveCreateTask: AppAction<typeof MissiveCreateTaskInput, typeof MissiveCreateTaskOutput, typeof missive.credential>;
|
|
62
39
|
//#endregion
|
|
63
40
|
export { missiveCreateTask };
|
|
64
41
|
//# sourceMappingURL=create-task.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-task.d.mts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-task.d.mts","names":[],"sources":["../../src/actions/create-task.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cA0BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-task.mjs","names":[],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MissiveCreateTaskInput = z.object({\n team: z.string().describe(\"Team ID (required for standalone tasks unless assignees specified)\").optional(),\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state enum.\").optional(),\n title: z.string().describe(\"Task title (max 1000 chars)\"),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").optional(),\n subject: z.string().describe(\"Subject for new conversation when using references\").optional(),\n subtask: z.boolean().describe(\"Whether this is a subtask within a conversation\").optional(),\n add_users: z.array(z.string()).describe(\"User IDs to add to parent conversation for subtasks\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs (required for standalone tasks unless team specified)\").optional(),\n references: z.array(z.string()).describe(\"Message references (like email Message-IDs) to find/create parent conversation\").optional(),\n description: z.string().describe(\"Task description (max 10000 chars)\").optional(),\n conversation: z.string().describe(\"Conversation ID for subtasks\").optional(),\n organization: z.string().describe(\"Organization ID where the task will be created\"),\n}).describe(\"Request model for creating a task in Missive.\");\nconst MissiveCreateTask_TaskResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created task\").nullable(),\n team: z.string().describe(\"Team ID\").nullable().optional(),\n state: z.string().describe(\"Task state\").nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the task was created\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).passthrough().describe(\"Created task object.\");\nexport const MissiveCreateTaskOutput = z.object({\n tasks: MissiveCreateTask_TaskResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a task in Missive.\");\n\nexport const missiveCreateTask = action(\"MISSIVE_CREATE_TASK\", {\n slug: \"missive-create-task\",\n name: \"Create Missive Task\",\n description: \"Tool to create a task in Missive. Use when you need to create standalone tasks, conversation-linked subtasks, or team tasks. You can find or create parent conversations using message references (like email Message-IDs).\",\n input: MissiveCreateTaskInput,\n output: MissiveCreateTaskOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-task.mjs","names":[],"sources":["../../src/actions/create-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const MissiveCreateTaskInput = z.object({\n team: z.string().describe(\"Team ID (required for standalone tasks unless assignees specified)\").optional(),\n state: z.enum([\"todo\", \"in_progress\", \"closed\"]).describe(\"Task state enum.\").optional(),\n title: z.string().describe(\"Task title (max 1000 chars)\"),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").optional(),\n subject: z.string().describe(\"Subject for new conversation when using references\").optional(),\n subtask: z.boolean().describe(\"Whether this is a subtask within a conversation\").optional(),\n add_users: z.array(z.string()).describe(\"User IDs to add to parent conversation for subtasks\").optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs (required for standalone tasks unless team specified)\").optional(),\n references: z.array(z.string()).describe(\"Message references (like email Message-IDs) to find/create parent conversation\").optional(),\n description: z.string().describe(\"Task description (max 10000 chars)\").optional(),\n conversation: z.string().describe(\"Conversation ID for subtasks\").optional(),\n organization: z.string().describe(\"Organization ID where the task will be created\"),\n}).describe(\"Request model for creating a task in Missive.\");\nconst MissiveCreateTask_TaskResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created task\").nullable(),\n team: z.string().describe(\"Team ID\").nullable().optional(),\n state: z.string().describe(\"Task state\").nullable().optional(),\n title: z.string().describe(\"Task title\").nullable().optional(),\n due_at: z.number().int().describe(\"Unix timestamp for due date\").nullable().optional(),\n assignees: z.array(z.string()).describe(\"Array of user IDs\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the task was created\").nullable().optional(),\n description: z.string().describe(\"Task description\").nullable().optional(),\n conversation: z.string().describe(\"Conversation ID if this is a subtask\").nullable().optional(),\n organization: z.string().describe(\"Organization ID the task belongs to\").nullable().optional(),\n}).passthrough().describe(\"Created task object.\");\nexport const MissiveCreateTaskOutput = z.object({\n tasks: MissiveCreateTask_TaskResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a task in Missive.\");\n\nexport const missiveCreateTask: AppAction<\n typeof MissiveCreateTaskInput,\n typeof MissiveCreateTaskOutput,\n typeof missive.credential\n> = action(\"MISSIVE_CREATE_TASK\", {\n slug: \"missive-create-task\",\n name: \"Create Missive Task\",\n description: \"Tool to create a task in Missive. Use when you need to create standalone tasks, conversation-linked subtasks, or team tasks. You can find or create parent conversations using message references (like email Message-IDs).\",\n input: MissiveCreateTaskInput,\n output: MissiveCreateTaskOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,KAAK;EAAC;EAAQ;EAAe;CAAQ,CAAC,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5H,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,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,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAKhD,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-team.cjs","names":["z","action"],"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":"
|
|
1
|
+
{"version":3,"file":"create-team.cjs","names":["z","action"],"sources":["../../src/actions/create-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const 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: AppAction<\n typeof MissiveCreateTeamInput,\n typeof MissiveCreateTeamOutput,\n typeof missive.credential\n> = 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":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,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,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,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,oCAAoC;AAC9D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-team.d.ts
|
|
@@ -21,28 +23,7 @@ declare const MissiveCreateTeamOutput: z.ZodObject<{
|
|
|
21
23
|
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const missiveCreateTeam:
|
|
25
|
-
teams: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
name: string;
|
|
28
|
-
organization: string;
|
|
29
|
-
active_members: string[];
|
|
30
|
-
aliases?: string[] | undefined;
|
|
31
|
-
observers?: string[] | undefined;
|
|
32
|
-
}[];
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
bearer_token: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
bearer_token: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const missiveCreateTeam: AppAction<typeof MissiveCreateTeamInput, typeof MissiveCreateTeamOutput, typeof missive.credential>;
|
|
46
27
|
//#endregion
|
|
47
28
|
export { missiveCreateTeam };
|
|
48
29
|
//# sourceMappingURL=create-team.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-team.d.cts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-team.d.cts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-team.d.ts
|
|
@@ -21,28 +23,7 @@ declare const MissiveCreateTeamOutput: z.ZodObject<{
|
|
|
21
23
|
organization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const missiveCreateTeam:
|
|
25
|
-
teams: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
name: string;
|
|
28
|
-
organization: string;
|
|
29
|
-
active_members: string[];
|
|
30
|
-
aliases?: string[] | undefined;
|
|
31
|
-
observers?: string[] | undefined;
|
|
32
|
-
}[];
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
bearer_token: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
bearer_token: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const missiveCreateTeam: AppAction<typeof MissiveCreateTeamInput, typeof MissiveCreateTeamOutput, typeof missive.credential>;
|
|
46
27
|
//#endregion
|
|
47
28
|
export { missiveCreateTeam };
|
|
48
29
|
//# sourceMappingURL=create-team.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-team.d.mts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-team.d.mts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-team.mjs","names":[],"sources":["../../src/actions/create-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const 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: AppAction<\n typeof MissiveCreateTeamInput,\n typeof MissiveCreateTeamOutput,\n typeof missive.credential\n> = 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":";;;;AAMA,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,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const 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: AppAction<\n typeof MissiveCreateWebhookInput,\n typeof MissiveCreateWebhookOutput,\n typeof missive.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-webhook.d.ts
|
|
@@ -26,31 +28,7 @@ declare const MissiveCreateWebhookOutput: z.ZodObject<{
|
|
|
26
28
|
id: z.ZodNullable<z.ZodString>;
|
|
27
29
|
}, z.core.$loose>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const missiveCreateWebhook:
|
|
30
|
-
url: string;
|
|
31
|
-
type: "incoming_email" | "incoming_sms_message" | "incoming_facebook_message" | "incoming_whatsapp_message" | "incoming_twilio_chat_message" | "new_comment";
|
|
32
|
-
author?: string | undefined;
|
|
33
|
-
from_eq?: string | undefined;
|
|
34
|
-
is_task?: boolean | undefined;
|
|
35
|
-
mention?: string | undefined;
|
|
36
|
-
organization?: string | undefined;
|
|
37
|
-
content_contains?: string | undefined;
|
|
38
|
-
subject_contains?: string | undefined;
|
|
39
|
-
content_ends_with?: string | undefined;
|
|
40
|
-
content_starts_with?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
bearer_token: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
bearer_token: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const missiveCreateWebhook: AppAction<typeof MissiveCreateWebhookInput, typeof MissiveCreateWebhookOutput, typeof missive.credential>;
|
|
54
32
|
//#endregion
|
|
55
33
|
export { missiveCreateWebhook };
|
|
56
34
|
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-webhook.d.ts
|
|
@@ -26,31 +28,7 @@ declare const MissiveCreateWebhookOutput: z.ZodObject<{
|
|
|
26
28
|
id: z.ZodNullable<z.ZodString>;
|
|
27
29
|
}, z.core.$loose>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const missiveCreateWebhook:
|
|
30
|
-
url: string;
|
|
31
|
-
type: "incoming_email" | "incoming_sms_message" | "incoming_facebook_message" | "incoming_whatsapp_message" | "incoming_twilio_chat_message" | "new_comment";
|
|
32
|
-
author?: string | undefined;
|
|
33
|
-
from_eq?: string | undefined;
|
|
34
|
-
is_task?: boolean | undefined;
|
|
35
|
-
mention?: string | undefined;
|
|
36
|
-
organization?: string | undefined;
|
|
37
|
-
content_contains?: string | undefined;
|
|
38
|
-
subject_contains?: string | undefined;
|
|
39
|
-
content_ends_with?: string | undefined;
|
|
40
|
-
content_starts_with?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
bearer_token: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
bearer_token: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const missiveCreateWebhook: AppAction<typeof MissiveCreateWebhookInput, typeof MissiveCreateWebhookOutput, typeof missive.credential>;
|
|
54
32
|
//#endregion
|
|
55
33
|
export { missiveCreateWebhook };
|
|
56
34
|
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const 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: AppAction<\n typeof MissiveCreateWebhookInput,\n typeof MissiveCreateWebhookOutput,\n typeof missive.credential\n> = 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":";;;;AAMA,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,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,OAAO,mCAAmC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAWhB;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"delete-draft.cjs","names":["z","action"],"sources":["../../src/actions/delete-draft.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { missive } from \"../app\";\n\nexport const 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: AppAction<\n typeof MissiveDeleteDraftInput,\n typeof MissiveDeleteDraftOutput,\n typeof missive.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { missive } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-draft.d.ts
|
|
@@ -5,21 +7,7 @@ declare const MissiveDeleteDraftInput: z.ZodObject<{
|
|
|
5
7
|
id: z.ZodString;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const MissiveDeleteDraftOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
-
declare const missiveDeleteDraft:
|
|
9
|
-
id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
bearer_token: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"missive", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
bearer_token: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const missiveDeleteDraft: AppAction<typeof MissiveDeleteDraftInput, typeof MissiveDeleteDraftOutput, typeof missive.credential>;
|
|
23
11
|
//#endregion
|
|
24
12
|
export { missiveDeleteDraft };
|
|
25
13
|
//# sourceMappingURL=delete-draft.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-draft.d.cts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-draft.d.cts","names":[],"sources":["../../src/actions/delete-draft.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
|