@keystrokehq/planly 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/complete-ai-prompt.cjs +3 -3
- package/dist/actions/complete-ai-prompt.cjs.map +1 -1
- package/dist/actions/complete-ai-prompt.d.cts +3 -3
- package/dist/actions/complete-ai-prompt.d.mts +3 -3
- package/dist/actions/complete-ai-prompt.mjs +3 -3
- package/dist/actions/complete-ai-prompt.mjs.map +1 -1
- package/dist/actions/create-team.cjs +2 -2
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +2 -2
- package/dist/actions/create-team.d.mts +2 -2
- package/dist/actions/create-team.mjs +2 -2
- package/dist/actions/create-team.mjs.map +1 -1
- package/dist/actions/delete-media.cjs +1 -1
- package/dist/actions/delete-media.cjs.map +1 -1
- package/dist/actions/delete-media.d.cts +1 -1
- package/dist/actions/delete-media.d.mts +1 -1
- package/dist/actions/delete-media.mjs +1 -1
- package/dist/actions/delete-media.mjs.map +1 -1
- package/dist/actions/delete-team.cjs +1 -1
- package/dist/actions/delete-team.cjs.map +1 -1
- package/dist/actions/delete-team.d.cts +1 -1
- package/dist/actions/delete-team.d.mts +1 -1
- package/dist/actions/delete-team.mjs +1 -1
- package/dist/actions/delete-team.mjs.map +1 -1
- package/dist/actions/edit-team.cjs +5 -5
- package/dist/actions/edit-team.cjs.map +1 -1
- package/dist/actions/edit-team.d.cts +5 -5
- package/dist/actions/edit-team.d.mts +5 -5
- package/dist/actions/edit-team.mjs +5 -5
- package/dist/actions/edit-team.mjs.map +1 -1
- package/dist/actions/get-ai-credits.cjs +1 -1
- package/dist/actions/get-ai-credits.cjs.map +1 -1
- package/dist/actions/get-ai-credits.d.cts +1 -1
- package/dist/actions/get-ai-credits.d.mts +1 -1
- package/dist/actions/get-ai-credits.mjs +1 -1
- package/dist/actions/get-ai-credits.mjs.map +1 -1
- package/dist/actions/get-team.cjs +1 -1
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +1 -1
- package/dist/actions/get-team.d.mts +1 -1
- package/dist/actions/get-team.mjs +1 -1
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/import-media-from-url.cjs +3 -3
- package/dist/actions/import-media-from-url.cjs.map +1 -1
- package/dist/actions/import-media-from-url.d.cts +3 -3
- package/dist/actions/import-media-from-url.d.mts +3 -3
- package/dist/actions/import-media-from-url.mjs +3 -3
- package/dist/actions/import-media-from-url.mjs.map +1 -1
- package/dist/actions/list-channels.cjs +2 -2
- package/dist/actions/list-channels.cjs.map +1 -1
- package/dist/actions/list-channels.d.cts +2 -2
- package/dist/actions/list-channels.d.mts +2 -2
- package/dist/actions/list-channels.mjs +2 -2
- package/dist/actions/list-channels.mjs.map +1 -1
- package/dist/actions/list-media.cjs +3 -3
- package/dist/actions/list-media.cjs.map +1 -1
- package/dist/actions/list-media.d.cts +3 -3
- package/dist/actions/list-media.d.mts +3 -3
- package/dist/actions/list-media.mjs +3 -3
- package/dist/actions/list-media.mjs.map +1 -1
- package/dist/actions/list-schedule-groups.cjs +9 -9
- package/dist/actions/list-schedule-groups.cjs.map +1 -1
- package/dist/actions/list-schedule-groups.d.cts +9 -9
- package/dist/actions/list-schedule-groups.d.mts +9 -9
- package/dist/actions/list-schedule-groups.mjs +9 -9
- package/dist/actions/list-schedule-groups.mjs.map +1 -1
- package/dist/actions/list-schedules.cjs +5 -5
- package/dist/actions/list-schedules.cjs.map +1 -1
- package/dist/actions/list-schedules.d.cts +5 -5
- package/dist/actions/list-schedules.d.mts +5 -5
- package/dist/actions/list-schedules.mjs +5 -5
- package/dist/actions/list-schedules.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +2 -2
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +2 -2
- package/dist/actions/list-team-users.d.mts +2 -2
- package/dist/actions/list-team-users.mjs +2 -2
- package/dist/actions/list-team-users.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/start-media-upload.cjs +2 -2
- package/dist/actions/start-media-upload.cjs.map +1 -1
- package/dist/actions/start-media-upload.d.cts +2 -2
- package/dist/actions/start-media-upload.d.mts +2 -2
- package/dist/actions/start-media-upload.mjs +2 -2
- package/dist/actions/start-media-upload.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,12 +6,12 @@ const PlanlyCompleteAiPromptInput = zod.z.object({
|
|
|
6
6
|
prompt: zod.z.string().describe("Prompt as a text to be completed by AI. Provide the text content you want AI to generate completions for."),
|
|
7
7
|
teamId: zod.z.string().describe("Id of team to use for AI prompt completion.")
|
|
8
8
|
}).describe("Request model for completing a text prompt using AI.");
|
|
9
|
-
const PlanlyCompleteAiPrompt_AIChoiceSchema = zod.z.object({ text: zod.z.string().describe("The generated text completion from the AI model.").nullable() }).describe("Model representing a single AI-generated text completion choice.");
|
|
9
|
+
const PlanlyCompleteAiPrompt_AIChoiceSchema = zod.z.object({ text: zod.z.string().describe("The generated text completion from the AI model.").nullable() }).passthrough().describe("Model representing a single AI-generated text completion choice.");
|
|
10
10
|
const PlanlyCompleteAiPrompt_AICompletionDataSchema = zod.z.object({
|
|
11
11
|
id: zod.z.string().describe("Unique identifier for this AI completion request.").nullable(),
|
|
12
12
|
choices: zod.z.array(PlanlyCompleteAiPrompt_AIChoiceSchema).describe("Array of generated text completions. Each choice contains the AI-generated text.")
|
|
13
|
-
}).describe("Model representing the data returned from AI completion.");
|
|
14
|
-
const PlanlyCompleteAiPromptOutput = zod.z.object({ data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable() }).describe("Response model returned after completing an AI prompt.");
|
|
13
|
+
}).passthrough().describe("Model representing the data returned from AI completion.");
|
|
14
|
+
const PlanlyCompleteAiPromptOutput = zod.z.object({ data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable() }).passthrough().describe("Response model returned after completing an AI prompt.");
|
|
15
15
|
const planlyCompleteAiPrompt = require_action.action("PLANLY_COMPLETE_AI_PROMPT", {
|
|
16
16
|
slug: "planly-complete-ai-prompt",
|
|
17
17
|
name: "Complete AI Prompt",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complete-ai-prompt.cjs","names":["z","action"],"sources":["../../src/actions/complete-ai-prompt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyCompleteAiPromptInput = z.object({\n n: z.number().int().describe(\"How many results to generate. Specify the number of AI-powered text completions to return.\"),\n prompt: z.string().describe(\"Prompt as a text to be completed by AI. Provide the text content you want AI to generate completions for.\"),\n teamId: z.string().describe(\"Id of team to use for AI prompt completion.\"),\n}).describe(\"Request model for completing a text prompt using AI.\");\nconst PlanlyCompleteAiPrompt_AIChoiceSchema = z.object({\n text: z.string().describe(\"The generated text completion from the AI model.\").nullable(),\n}).describe(\"Model representing a single AI-generated text completion choice.\");\nconst PlanlyCompleteAiPrompt_AICompletionDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this AI completion request.\").nullable(),\n choices: z.array(PlanlyCompleteAiPrompt_AIChoiceSchema).describe(\"Array of generated text completions. Each choice contains the AI-generated text.\"),\n}).describe(\"Model representing the data returned from AI completion.\");\nexport const PlanlyCompleteAiPromptOutput = z.object({\n data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable(),\n}).describe(\"Response model returned after completing an AI prompt.\");\n\nexport const planlyCompleteAiPrompt = action(\"PLANLY_COMPLETE_AI_PROMPT\", {\n slug: \"planly-complete-ai-prompt\",\n name: \"Complete AI Prompt\",\n description: \"Tool to complete a text prompt using AI. Generates AI-powered text completions based on the provided prompt. Use when you need to generate creative content, complete text, or get AI suggestions for writing tasks.\",\n input: PlanlyCompleteAiPromptInput,\n output: PlanlyCompleteAiPromptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F;CACzH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAC3E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"complete-ai-prompt.cjs","names":["z","action"],"sources":["../../src/actions/complete-ai-prompt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyCompleteAiPromptInput = z.object({\n n: z.number().int().describe(\"How many results to generate. Specify the number of AI-powered text completions to return.\"),\n prompt: z.string().describe(\"Prompt as a text to be completed by AI. Provide the text content you want AI to generate completions for.\"),\n teamId: z.string().describe(\"Id of team to use for AI prompt completion.\"),\n}).describe(\"Request model for completing a text prompt using AI.\");\nconst PlanlyCompleteAiPrompt_AIChoiceSchema = z.object({\n text: z.string().describe(\"The generated text completion from the AI model.\").nullable(),\n}).passthrough().describe(\"Model representing a single AI-generated text completion choice.\");\nconst PlanlyCompleteAiPrompt_AICompletionDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this AI completion request.\").nullable(),\n choices: z.array(PlanlyCompleteAiPrompt_AIChoiceSchema).describe(\"Array of generated text completions. Each choice contains the AI-generated text.\"),\n}).passthrough().describe(\"Model representing the data returned from AI completion.\");\nexport const PlanlyCompleteAiPromptOutput = z.object({\n data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable(),\n}).passthrough().describe(\"Response model returned after completing an AI prompt.\");\n\nexport const planlyCompleteAiPrompt = action(\"PLANLY_COMPLETE_AI_PROMPT\", {\n slug: \"planly-complete-ai-prompt\",\n name: \"Complete AI Prompt\",\n description: \"Tool to complete a text prompt using AI. Generates AI-powered text completions based on the provided prompt. Use when you need to generate creative content, complete text, or get AI suggestions for writing tasks.\",\n input: PlanlyCompleteAiPromptInput,\n output: PlanlyCompleteAiPromptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F;CACzH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAC3E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,kFAAkF;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAM,8CAA8C,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,9 +11,9 @@ declare const PlanlyCompleteAiPromptOutput: z.ZodObject<{
|
|
|
11
11
|
id: z.ZodNullable<z.ZodString>;
|
|
12
12
|
choices: z.ZodArray<z.ZodObject<{
|
|
13
13
|
text: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const planlyCompleteAiPrompt: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
n: number;
|
|
19
19
|
prompt: string;
|
|
@@ -11,9 +11,9 @@ declare const PlanlyCompleteAiPromptOutput: z.ZodObject<{
|
|
|
11
11
|
id: z.ZodNullable<z.ZodString>;
|
|
12
12
|
choices: z.ZodArray<z.ZodObject<{
|
|
13
13
|
text: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const planlyCompleteAiPrompt: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
n: number;
|
|
19
19
|
prompt: string;
|
|
@@ -6,17 +6,17 @@ const PlanlyCompleteAiPromptInput = z.object({
|
|
|
6
6
|
prompt: z.string().describe("Prompt as a text to be completed by AI. Provide the text content you want AI to generate completions for."),
|
|
7
7
|
teamId: z.string().describe("Id of team to use for AI prompt completion.")
|
|
8
8
|
}).describe("Request model for completing a text prompt using AI.");
|
|
9
|
-
const PlanlyCompleteAiPrompt_AIChoiceSchema = z.object({ text: z.string().describe("The generated text completion from the AI model.").nullable() }).describe("Model representing a single AI-generated text completion choice.");
|
|
9
|
+
const PlanlyCompleteAiPrompt_AIChoiceSchema = z.object({ text: z.string().describe("The generated text completion from the AI model.").nullable() }).passthrough().describe("Model representing a single AI-generated text completion choice.");
|
|
10
10
|
const PlanlyCompleteAiPrompt_AICompletionDataSchema = z.object({
|
|
11
11
|
id: z.string().describe("Unique identifier for this AI completion request.").nullable(),
|
|
12
12
|
choices: z.array(PlanlyCompleteAiPrompt_AIChoiceSchema).describe("Array of generated text completions. Each choice contains the AI-generated text.")
|
|
13
|
-
}).describe("Model representing the data returned from AI completion.");
|
|
13
|
+
}).passthrough().describe("Model representing the data returned from AI completion.");
|
|
14
14
|
const planlyCompleteAiPrompt = action("PLANLY_COMPLETE_AI_PROMPT", {
|
|
15
15
|
slug: "planly-complete-ai-prompt",
|
|
16
16
|
name: "Complete AI Prompt",
|
|
17
17
|
description: "Tool to complete a text prompt using AI. Generates AI-powered text completions based on the provided prompt. Use when you need to generate creative content, complete text, or get AI suggestions for writing tasks.",
|
|
18
18
|
input: PlanlyCompleteAiPromptInput,
|
|
19
|
-
output: z.object({ data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable() }).describe("Response model returned after completing an AI prompt.")
|
|
19
|
+
output: z.object({ data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable() }).passthrough().describe("Response model returned after completing an AI prompt.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { planlyCompleteAiPrompt };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complete-ai-prompt.mjs","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyCompleteAiPromptInput = z.object({\n n: z.number().int().describe(\"How many results to generate. Specify the number of AI-powered text completions to return.\"),\n prompt: z.string().describe(\"Prompt as a text to be completed by AI. Provide the text content you want AI to generate completions for.\"),\n teamId: z.string().describe(\"Id of team to use for AI prompt completion.\"),\n}).describe(\"Request model for completing a text prompt using AI.\");\nconst PlanlyCompleteAiPrompt_AIChoiceSchema = z.object({\n text: z.string().describe(\"The generated text completion from the AI model.\").nullable(),\n}).describe(\"Model representing a single AI-generated text completion choice.\");\nconst PlanlyCompleteAiPrompt_AICompletionDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this AI completion request.\").nullable(),\n choices: z.array(PlanlyCompleteAiPrompt_AIChoiceSchema).describe(\"Array of generated text completions. Each choice contains the AI-generated text.\"),\n}).describe(\"Model representing the data returned from AI completion.\");\nexport const PlanlyCompleteAiPromptOutput = z.object({\n data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable(),\n}).describe(\"Response model returned after completing an AI prompt.\");\n\nexport const planlyCompleteAiPrompt = action(\"PLANLY_COMPLETE_AI_PROMPT\", {\n slug: \"planly-complete-ai-prompt\",\n name: \"Complete AI Prompt\",\n description: \"Tool to complete a text prompt using AI. Generates AI-powered text completions based on the provided prompt. Use when you need to generate creative content, complete text, or get AI suggestions for writing tasks.\",\n input: PlanlyCompleteAiPromptInput,\n output: PlanlyCompleteAiPromptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F;CACzH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAC3E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,wCAAwC,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"complete-ai-prompt.mjs","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyCompleteAiPromptInput = z.object({\n n: z.number().int().describe(\"How many results to generate. Specify the number of AI-powered text completions to return.\"),\n prompt: z.string().describe(\"Prompt as a text to be completed by AI. Provide the text content you want AI to generate completions for.\"),\n teamId: z.string().describe(\"Id of team to use for AI prompt completion.\"),\n}).describe(\"Request model for completing a text prompt using AI.\");\nconst PlanlyCompleteAiPrompt_AIChoiceSchema = z.object({\n text: z.string().describe(\"The generated text completion from the AI model.\").nullable(),\n}).passthrough().describe(\"Model representing a single AI-generated text completion choice.\");\nconst PlanlyCompleteAiPrompt_AICompletionDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for this AI completion request.\").nullable(),\n choices: z.array(PlanlyCompleteAiPrompt_AIChoiceSchema).describe(\"Array of generated text completions. Each choice contains the AI-generated text.\"),\n}).passthrough().describe(\"Model representing the data returned from AI completion.\");\nexport const PlanlyCompleteAiPromptOutput = z.object({\n data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable(),\n}).passthrough().describe(\"Response model returned after completing an AI prompt.\");\n\nexport const planlyCompleteAiPrompt = action(\"PLANLY_COMPLETE_AI_PROMPT\", {\n slug: \"planly-complete-ai-prompt\",\n name: \"Complete AI Prompt\",\n description: \"Tool to complete a text prompt using AI. Generates AI-powered text completions based on the provided prompt. Use when you need to generate creative content, complete text, or get AI suggestions for writing tasks.\",\n input: PlanlyCompleteAiPromptInput,\n output: PlanlyCompleteAiPromptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F;CACzH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAC3E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,wCAAwC,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,kFAAkF;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAKpF,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,8CAA8C,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/create-team.ts
|
|
4
4
|
const PlanlyCreateTeamInput = zod.z.object({ name: zod.z.string().describe("Name of the team to create.") }).describe("Request model for creating a new team in Planly.");
|
|
5
|
-
const PlanlyCreateTeam_TeamDataSchema = zod.z.object({ teamId: zod.z.string().describe("Unique identifier of the created team").nullable() }).describe("Team data returned from the API.");
|
|
5
|
+
const PlanlyCreateTeam_TeamDataSchema = zod.z.object({ teamId: zod.z.string().describe("Unique identifier of the created team").nullable() }).passthrough().describe("Team data returned from the API.");
|
|
6
6
|
const PlanlyCreateTeamOutput = zod.z.object({
|
|
7
7
|
data: PlanlyCreateTeam_TeamDataSchema.nullable(),
|
|
8
8
|
error: zod.z.string().describe("Error information if any").nullable().optional()
|
|
9
|
-
}).describe("Response model for a created team.");
|
|
9
|
+
}).passthrough().describe("Response model for a created team.");
|
|
10
10
|
const planlyCreateTeam = require_action.action("PLANLY_CREATE_TEAM", {
|
|
11
11
|
slug: "planly-create-team",
|
|
12
12
|
name: "Create Team",
|
|
@@ -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 PlanlyCreateTeamInput = z.object({\n name: z.string().describe(\"Name of the team to create.\"),\n}).describe(\"Request model for creating a new team in Planly.\");\nconst PlanlyCreateTeam_TeamDataSchema = z.object({\n teamId: z.string().describe(\"Unique identifier of the created team\").nullable(),\n}).describe(\"Team data returned from the API.\");\nexport const PlanlyCreateTeamOutput = z.object({\n data: PlanlyCreateTeam_TeamDataSchema.nullable(),\n error: z.string().describe(\"Error information if any\").nullable().optional(),\n}).describe(\"Response model for a created team.\");\n\nexport const planlyCreateTeam = action(\"PLANLY_CREATE_TEAM\", {\n slug: \"planly-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in Planly. Use when you need to create a team organization.\",\n input: PlanlyCreateTeamInput,\n output: PlanlyCreateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACzD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
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 PlanlyCreateTeamInput = z.object({\n name: z.string().describe(\"Name of the team to create.\"),\n}).describe(\"Request model for creating a new team in Planly.\");\nconst PlanlyCreateTeam_TeamDataSchema = z.object({\n teamId: z.string().describe(\"Unique identifier of the created team\").nullable(),\n}).passthrough().describe(\"Team data returned from the API.\");\nexport const PlanlyCreateTeamOutput = z.object({\n data: PlanlyCreateTeam_TeamDataSchema.nullable(),\n error: z.string().describe(\"Error information if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created team.\");\n\nexport const planlyCreateTeam = action(\"PLANLY_CREATE_TEAM\", {\n slug: \"planly-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in Planly. Use when you need to create a team organization.\",\n input: PlanlyCreateTeamInput,\n output: PlanlyCreateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACzD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAM,gCAAgC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,9 +7,9 @@ declare const PlanlyCreateTeamInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlanlyCreateTeamOutput: z.ZodObject<{
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
teamId: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const planlyCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
name: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,9 +7,9 @@ declare const PlanlyCreateTeamInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlanlyCreateTeamOutput: z.ZodObject<{
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
teamId: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const planlyCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
name: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/create-team.ts
|
|
4
4
|
const PlanlyCreateTeamInput = z.object({ name: z.string().describe("Name of the team to create.") }).describe("Request model for creating a new team in Planly.");
|
|
5
|
-
const PlanlyCreateTeam_TeamDataSchema = z.object({ teamId: z.string().describe("Unique identifier of the created team").nullable() }).describe("Team data returned from the API.");
|
|
5
|
+
const PlanlyCreateTeam_TeamDataSchema = z.object({ teamId: z.string().describe("Unique identifier of the created team").nullable() }).passthrough().describe("Team data returned from the API.");
|
|
6
6
|
const planlyCreateTeam = action("PLANLY_CREATE_TEAM", {
|
|
7
7
|
slug: "planly-create-team",
|
|
8
8
|
name: "Create Team",
|
|
@@ -11,7 +11,7 @@ const planlyCreateTeam = action("PLANLY_CREATE_TEAM", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
data: PlanlyCreateTeam_TeamDataSchema.nullable(),
|
|
13
13
|
error: z.string().describe("Error information if any").nullable().optional()
|
|
14
|
-
}).describe("Response model for a created team.")
|
|
14
|
+
}).passthrough().describe("Response model for a created team.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { planlyCreateTeam };
|
|
@@ -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 PlanlyCreateTeamInput = z.object({\n name: z.string().describe(\"Name of the team to create.\"),\n}).describe(\"Request model for creating a new team in Planly.\");\nconst PlanlyCreateTeam_TeamDataSchema = z.object({\n teamId: z.string().describe(\"Unique identifier of the created team\").nullable(),\n}).describe(\"Team data returned from the API.\");\nexport const PlanlyCreateTeamOutput = z.object({\n data: PlanlyCreateTeam_TeamDataSchema.nullable(),\n error: z.string().describe(\"Error information if any\").nullable().optional(),\n}).describe(\"Response model for a created team.\");\n\nexport const planlyCreateTeam = action(\"PLANLY_CREATE_TEAM\", {\n slug: \"planly-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in Planly. Use when you need to create a team organization.\",\n input: PlanlyCreateTeamInput,\n output: PlanlyCreateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACzD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,kCAAkC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
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 PlanlyCreateTeamInput = z.object({\n name: z.string().describe(\"Name of the team to create.\"),\n}).describe(\"Request model for creating a new team in Planly.\");\nconst PlanlyCreateTeam_TeamDataSchema = z.object({\n teamId: z.string().describe(\"Unique identifier of the created team\").nullable(),\n}).passthrough().describe(\"Team data returned from the API.\");\nexport const PlanlyCreateTeamOutput = z.object({\n data: PlanlyCreateTeam_TeamDataSchema.nullable(),\n error: z.string().describe(\"Error information if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created team.\");\n\nexport const planlyCreateTeam = action(\"PLANLY_CREATE_TEAM\", {\n slug: \"planly-create-team\",\n name: \"Create Team\",\n description: \"Tool to create a new team in Planly. Use when you need to create a team organization.\",\n input: PlanlyCreateTeamInput,\n output: PlanlyCreateTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACzD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,kCAAkC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAM5D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,gCAAgC,SAAS;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PlanlyDeleteMediaInput = zod.z.object({ ids: zod.z.array(zod.z.string()).d
|
|
|
5
5
|
const PlanlyDeleteMediaOutput = zod.z.object({
|
|
6
6
|
data: zod.z.boolean().describe("Boolean indicating whether the media deletion was successful").nullable(),
|
|
7
7
|
error: zod.z.string().describe("Error message if the deletion failed, null otherwise").nullable().optional()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const planlyDeleteMedia = require_action.action("PLANLY_DELETE_MEDIA", {
|
|
10
10
|
slug: "planly-delete-media",
|
|
11
11
|
name: "Delete Media",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-media.cjs","names":["z","action"],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyDeleteMediaInput = z.object({\n ids: z.array(z.string()).describe(\"Array of media IDs to delete. Each ID should be a UUID string representing a media file.\"),\n});\nexport const PlanlyDeleteMediaOutput = z.object({\n data: z.boolean().describe(\"Boolean indicating whether the media deletion was successful\").nullable(),\n error: z.string().describe(\"Error message if the deletion failed, null otherwise\").nullable().optional(),\n});\n\nexport const planlyDeleteMedia = action(\"PLANLY_DELETE_MEDIA\", {\n slug: \"planly-delete-media\",\n name: \"Delete Media\",\n description: \"Tool to delete one or more media files by their IDs. Use when you need to remove media files from Planly storage.\",\n input: PlanlyDeleteMediaInput,\n output: PlanlyDeleteMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-media.cjs","names":["z","action"],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyDeleteMediaInput = z.object({\n ids: z.array(z.string()).describe(\"Array of media IDs to delete. Each ID should be a UUID string representing a media file.\"),\n});\nexport const PlanlyDeleteMediaOutput = z.object({\n data: z.boolean().describe(\"Boolean indicating whether the media deletion was successful\").nullable(),\n error: z.string().describe(\"Error message if the deletion failed, null otherwise\").nullable().optional(),\n}).passthrough();\n\nexport const planlyDeleteMedia = action(\"PLANLY_DELETE_MEDIA\", {\n slug: \"planly-delete-media\",\n name: \"Delete Media\",\n description: \"Tool to delete one or more media files by their IDs. Use when you need to remove media files from Planly storage.\",\n input: PlanlyDeleteMediaInput,\n output: PlanlyDeleteMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PlanlyDeleteMediaInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlanlyDeleteMediaOutput: z.ZodObject<{
|
|
8
8
|
data: z.ZodNullable<z.ZodBoolean>;
|
|
9
9
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const planlyDeleteMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
ids: string[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PlanlyDeleteMediaInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlanlyDeleteMediaOutput: z.ZodObject<{
|
|
8
8
|
data: z.ZodNullable<z.ZodBoolean>;
|
|
9
9
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const planlyDeleteMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
ids: string[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const planlyDeleteMedia = action("PLANLY_DELETE_MEDIA", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
data: z.boolean().describe("Boolean indicating whether the media deletion was successful").nullable(),
|
|
10
10
|
error: z.string().describe("Error message if the deletion failed, null otherwise").nullable().optional()
|
|
11
|
-
})
|
|
11
|
+
}).passthrough()
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { planlyDeleteMedia };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-media.mjs","names":[],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyDeleteMediaInput = z.object({\n ids: z.array(z.string()).describe(\"Array of media IDs to delete. Each ID should be a UUID string representing a media file.\"),\n});\nexport const PlanlyDeleteMediaOutput = z.object({\n data: z.boolean().describe(\"Boolean indicating whether the media deletion was successful\").nullable(),\n error: z.string().describe(\"Error message if the deletion failed, null otherwise\").nullable().optional(),\n});\n\nexport const planlyDeleteMedia = action(\"PLANLY_DELETE_MEDIA\", {\n slug: \"planly-delete-media\",\n name: \"Delete Media\",\n description: \"Tool to delete one or more media files by their IDs. Use when you need to remove media files from Planly storage.\",\n input: PlanlyDeleteMediaInput,\n output: PlanlyDeleteMediaOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO,EAC7C,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAUS;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,
|
|
1
|
+
{"version":3,"file":"delete-media.mjs","names":[],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyDeleteMediaInput = z.object({\n ids: z.array(z.string()).describe(\"Array of media IDs to delete. Each ID should be a UUID string representing a media file.\"),\n});\nexport const PlanlyDeleteMediaOutput = z.object({\n data: z.boolean().describe(\"Boolean indicating whether the media deletion was successful\").nullable(),\n error: z.string().describe(\"Error message if the deletion failed, null otherwise\").nullable().optional(),\n}).passthrough();\n\nexport const planlyDeleteMedia = action(\"PLANLY_DELETE_MEDIA\", {\n slug: \"planly-delete-media\",\n name: \"Delete Media\",\n description: \"Tool to delete one or more media files by their IDs. Use when you need to remove media files from Planly storage.\",\n input: PlanlyDeleteMediaInput,\n output: PlanlyDeleteMediaOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO,EAC7C,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAUS;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-team.ts
|
|
4
4
|
const PlanlyDeleteTeamInput = zod.z.object({ team_id: zod.z.string().describe("Unique identifier of the team to delete") }).describe("Request model for deleting a team by its ID.");
|
|
5
|
-
const PlanlyDeleteTeamOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the team was successfully deleted").nullable() }).describe("Response model for team deletion.");
|
|
5
|
+
const PlanlyDeleteTeamOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the team was successfully deleted").nullable() }).passthrough().describe("Response model for team deletion.");
|
|
6
6
|
const planlyDeleteTeam = require_action.action("PLANLY_DELETE_TEAM", {
|
|
7
7
|
slug: "planly-delete-team",
|
|
8
8
|
name: "Delete Team",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-team.cjs","names":["z","action"],"sources":["../../src/actions/delete-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyDeleteTeamInput = z.object({\n team_id: z.string().describe(\"Unique identifier of the team to delete\"),\n}).describe(\"Request model for deleting a team by its ID.\");\nexport const PlanlyDeleteTeamOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the team was successfully deleted\").nullable(),\n}).describe(\"Response model for team deletion.\");\n\nexport const planlyDeleteTeam = action(\"PLANLY_DELETE_TEAM\", {\n slug: \"planly-delete-team\",\n name: \"Delete Team\",\n description: \"Tool to delete a team by its ID. Use when you need to permanently remove a team from Planly.\",\n input: PlanlyDeleteTeamInput,\n output: PlanlyDeleteTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"delete-team.cjs","names":["z","action"],"sources":["../../src/actions/delete-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyDeleteTeamInput = z.object({\n team_id: z.string().describe(\"Unique identifier of the team to delete\"),\n}).describe(\"Request model for deleting a team by its ID.\");\nexport const PlanlyDeleteTeamOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the team was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model for team deletion.\");\n\nexport const planlyDeleteTeam = action(\"PLANLY_DELETE_TEAM\", {\n slug: \"planly-delete-team\",\n name: \"Delete Team\",\n description: \"Tool to delete a team by its ID. Use when you need to permanently remove a team from Planly.\",\n input: PlanlyDeleteTeamInput,\n output: PlanlyDeleteTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const PlanlyDeleteTeamInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const PlanlyDeleteTeamOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const planlyDeleteTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
team_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const PlanlyDeleteTeamInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const PlanlyDeleteTeamOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const planlyDeleteTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
team_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const planlyDeleteTeam = action("PLANLY_DELETE_TEAM", {
|
|
|
5
5
|
name: "Delete Team",
|
|
6
6
|
description: "Tool to delete a team by its ID. Use when you need to permanently remove a team from Planly.",
|
|
7
7
|
input: z.object({ team_id: z.string().describe("Unique identifier of the team to delete") }).describe("Request model for deleting a team by its ID."),
|
|
8
|
-
output: z.object({ success: z.boolean().describe("Indicates whether the team was successfully deleted").nullable() }).describe("Response model for team deletion.")
|
|
8
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the team was successfully deleted").nullable() }).passthrough().describe("Response model for team deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { planlyDeleteTeam };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-team.mjs","names":[],"sources":["../../src/actions/delete-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyDeleteTeamInput = z.object({\n team_id: z.string().describe(\"Unique identifier of the team to delete\"),\n}).describe(\"Request model for deleting a team by its ID.\");\nexport const PlanlyDeleteTeamOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the team was successfully deleted\").nullable(),\n}).describe(\"Response model for team deletion.\");\n\nexport const planlyDeleteTeam = action(\"PLANLY_DELETE_TEAM\", {\n slug: \"planly-delete-team\",\n name: \"Delete Team\",\n description: \"Tool to delete a team by its ID. Use when you need to permanently remove a team from Planly.\",\n input: PlanlyDeleteTeamInput,\n output: PlanlyDeleteTeamOutput,\n});\n"],"mappings":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAToC,EAAE,OAAO,EAC7C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-team.mjs","names":[],"sources":["../../src/actions/delete-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyDeleteTeamInput = z.object({\n team_id: z.string().describe(\"Unique identifier of the team to delete\"),\n}).describe(\"Request model for deleting a team by its ID.\");\nexport const PlanlyDeleteTeamOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the team was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model for team deletion.\");\n\nexport const planlyDeleteTeam = action(\"PLANLY_DELETE_TEAM\", {\n slug: \"planly-delete-team\",\n name: \"Delete Team\",\n description: \"Tool to delete a team by its ID. Use when you need to permanently remove a team from Planly.\",\n input: PlanlyDeleteTeamInput,\n output: PlanlyDeleteTeamOutput,\n});\n"],"mappings":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAToC,EAAE,OAAO,EAC7C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
|
|
@@ -9,13 +9,13 @@ const PlanlyEditTeam_TeamLimitsSchema = zod.z.object({
|
|
|
9
9
|
members: zod.z.number().int().describe("Maximum number of members").nullable().optional(),
|
|
10
10
|
storage: zod.z.number().int().describe("Storage limit in bytes").nullable().optional(),
|
|
11
11
|
channels: zod.z.number().int().describe("Maximum number of channels").nullable().optional()
|
|
12
|
-
}).describe("Team usage constraints");
|
|
12
|
+
}).passthrough().describe("Team usage constraints");
|
|
13
13
|
const PlanlyEditTeam_TeamPermissionsSchema = zod.z.object({
|
|
14
14
|
analytics: zod.z.boolean().describe("Analytics access enabled").nullable().optional(),
|
|
15
15
|
ai_credits: zod.z.number().int().describe("Available AI credits").nullable().optional(),
|
|
16
16
|
file_limits: zod.z.number().int().describe("File storage limits").nullable().optional(),
|
|
17
17
|
posting_rights: zod.z.boolean().describe("Posting rights enabled").nullable().optional()
|
|
18
|
-
}).describe("Team feature access permissions");
|
|
18
|
+
}).passthrough().describe("Team feature access permissions");
|
|
19
19
|
const PlanlyEditTeam_TeamDataSchema = zod.z.object({
|
|
20
20
|
id: zod.z.string().describe("Team ID").nullable(),
|
|
21
21
|
name: zod.z.string().describe("Team name").nullable(),
|
|
@@ -23,12 +23,12 @@ const PlanlyEditTeam_TeamDataSchema = zod.z.object({
|
|
|
23
23
|
limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),
|
|
24
24
|
picture: zod.z.string().describe("Team avatar URL").nullable().optional(),
|
|
25
25
|
permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),
|
|
26
|
-
integrations: zod.z.
|
|
26
|
+
integrations: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Third-party connection data").nullable().optional(),
|
|
27
27
|
members_count: zod.z.number().int().describe("Number of team members").nullable().optional(),
|
|
28
28
|
channels_count: zod.z.number().int().describe("Number of connected channels").nullable().optional(),
|
|
29
29
|
disconnected_channels_count: zod.z.number().int().describe("Number of disconnected channels").nullable().optional()
|
|
30
|
-
}).describe("Team details returned from Planly API");
|
|
31
|
-
const PlanlyEditTeamOutput = zod.z.object({ data: PlanlyEditTeam_TeamDataSchema.nullable() });
|
|
30
|
+
}).passthrough().describe("Team details returned from Planly API");
|
|
31
|
+
const PlanlyEditTeamOutput = zod.z.object({ data: PlanlyEditTeam_TeamDataSchema.nullable() }).passthrough();
|
|
32
32
|
const planlyEditTeam = require_action.action("PLANLY_EDIT_TEAM", {
|
|
33
33
|
slug: "planly-edit-team",
|
|
34
34
|
name: "Edit Team",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-team.cjs","names":["z","action"],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyEditTeamInput = z.object({\n name: z.string().describe(\"New name for the team\"),\n teamId: z.string().describe(\"Team ID (UUID format)\"),\n});\nconst PlanlyEditTeam_TeamLimitsSchema = z.object({\n members: z.number().int().describe(\"Maximum number of members\").nullable().optional(),\n storage: z.number().int().describe(\"Storage limit in bytes\").nullable().optional(),\n channels: z.number().int().describe(\"Maximum number of channels\").nullable().optional(),\n}).describe(\"Team usage constraints\");\nconst PlanlyEditTeam_TeamPermissionsSchema = z.object({\n analytics: z.boolean().describe(\"Analytics access enabled\").nullable().optional(),\n ai_credits: z.number().int().describe(\"Available AI credits\").nullable().optional(),\n file_limits: z.number().int().describe(\"File storage limits\").nullable().optional(),\n posting_rights: z.boolean().describe(\"Posting rights enabled\").nullable().optional(),\n}).describe(\"Team feature access permissions\");\nconst PlanlyEditTeam_TeamDataSchema = z.object({\n id: z.string().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n role: z.number().int().describe(\"User's role (1 = owner/admin, 0 = member)\").nullable().optional(),\n limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),\n picture: z.string().describe(\"Team avatar URL\").nullable().optional(),\n permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),\n integrations: z.
|
|
1
|
+
{"version":3,"file":"edit-team.cjs","names":["z","action"],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyEditTeamInput = z.object({\n name: z.string().describe(\"New name for the team\"),\n teamId: z.string().describe(\"Team ID (UUID format)\"),\n});\nconst PlanlyEditTeam_TeamLimitsSchema = z.object({\n members: z.number().int().describe(\"Maximum number of members\").nullable().optional(),\n storage: z.number().int().describe(\"Storage limit in bytes\").nullable().optional(),\n channels: z.number().int().describe(\"Maximum number of channels\").nullable().optional(),\n}).passthrough().describe(\"Team usage constraints\");\nconst PlanlyEditTeam_TeamPermissionsSchema = z.object({\n analytics: z.boolean().describe(\"Analytics access enabled\").nullable().optional(),\n ai_credits: z.number().int().describe(\"Available AI credits\").nullable().optional(),\n file_limits: z.number().int().describe(\"File storage limits\").nullable().optional(),\n posting_rights: z.boolean().describe(\"Posting rights enabled\").nullable().optional(),\n}).passthrough().describe(\"Team feature access permissions\");\nconst PlanlyEditTeam_TeamDataSchema = z.object({\n id: z.string().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n role: z.number().int().describe(\"User's role (1 = owner/admin, 0 = member)\").nullable().optional(),\n limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),\n picture: z.string().describe(\"Team avatar URL\").nullable().optional(),\n permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Third-party connection data\").nullable().optional(),\n members_count: z.number().int().describe(\"Number of team members\").nullable().optional(),\n channels_count: z.number().int().describe(\"Number of connected channels\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels\").nullable().optional(),\n}).passthrough().describe(\"Team details returned from Planly API\");\nexport const PlanlyEditTeamOutput = z.object({\n data: PlanlyEditTeam_TeamDataSchema.nullable(),\n}).passthrough();\n\nexport const planlyEditTeam = action(\"PLANLY_EDIT_TEAM\", {\n slug: \"planly-edit-team\",\n name: \"Edit Team\",\n description: \"Tool to edit team details such as name in Planly. Use when you need to update an existing team's information.\",\n input: PlanlyEditTeamInput,\n output: PlanlyEditTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACrD,CAAC;AACD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAa,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,20 +14,20 @@ declare const PlanlyEditTeamOutput: z.ZodObject<{
|
|
|
14
14
|
members: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
storage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
permissions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
analytics: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
21
|
ai_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
file_limits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
posting_rights: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
integrations: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
|
+
integrations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
26
|
members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const planlyEditTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
name: string;
|
|
33
33
|
teamId: string;
|
|
@@ -14,20 +14,20 @@ declare const PlanlyEditTeamOutput: z.ZodObject<{
|
|
|
14
14
|
members: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
storage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
permissions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
analytics: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
21
|
ai_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
file_limits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
posting_rights: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
integrations: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
|
+
integrations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
26
|
members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const planlyEditTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
name: string;
|
|
33
33
|
teamId: string;
|
|
@@ -9,13 +9,13 @@ const PlanlyEditTeam_TeamLimitsSchema = z.object({
|
|
|
9
9
|
members: z.number().int().describe("Maximum number of members").nullable().optional(),
|
|
10
10
|
storage: z.number().int().describe("Storage limit in bytes").nullable().optional(),
|
|
11
11
|
channels: z.number().int().describe("Maximum number of channels").nullable().optional()
|
|
12
|
-
}).describe("Team usage constraints");
|
|
12
|
+
}).passthrough().describe("Team usage constraints");
|
|
13
13
|
const PlanlyEditTeam_TeamPermissionsSchema = z.object({
|
|
14
14
|
analytics: z.boolean().describe("Analytics access enabled").nullable().optional(),
|
|
15
15
|
ai_credits: z.number().int().describe("Available AI credits").nullable().optional(),
|
|
16
16
|
file_limits: z.number().int().describe("File storage limits").nullable().optional(),
|
|
17
17
|
posting_rights: z.boolean().describe("Posting rights enabled").nullable().optional()
|
|
18
|
-
}).describe("Team feature access permissions");
|
|
18
|
+
}).passthrough().describe("Team feature access permissions");
|
|
19
19
|
const PlanlyEditTeam_TeamDataSchema = z.object({
|
|
20
20
|
id: z.string().describe("Team ID").nullable(),
|
|
21
21
|
name: z.string().describe("Team name").nullable(),
|
|
@@ -23,17 +23,17 @@ const PlanlyEditTeam_TeamDataSchema = z.object({
|
|
|
23
23
|
limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),
|
|
24
24
|
picture: z.string().describe("Team avatar URL").nullable().optional(),
|
|
25
25
|
permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),
|
|
26
|
-
integrations: z.
|
|
26
|
+
integrations: z.record(z.string(), z.unknown()).describe("Third-party connection data").nullable().optional(),
|
|
27
27
|
members_count: z.number().int().describe("Number of team members").nullable().optional(),
|
|
28
28
|
channels_count: z.number().int().describe("Number of connected channels").nullable().optional(),
|
|
29
29
|
disconnected_channels_count: z.number().int().describe("Number of disconnected channels").nullable().optional()
|
|
30
|
-
}).describe("Team details returned from Planly API");
|
|
30
|
+
}).passthrough().describe("Team details returned from Planly API");
|
|
31
31
|
const planlyEditTeam = action("PLANLY_EDIT_TEAM", {
|
|
32
32
|
slug: "planly-edit-team",
|
|
33
33
|
name: "Edit Team",
|
|
34
34
|
description: "Tool to edit team details such as name in Planly. Use when you need to update an existing team's information.",
|
|
35
35
|
input: PlanlyEditTeamInput,
|
|
36
|
-
output: z.object({ data: PlanlyEditTeam_TeamDataSchema.nullable() })
|
|
36
|
+
output: z.object({ data: PlanlyEditTeam_TeamDataSchema.nullable() }).passthrough()
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { planlyEditTeam };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-team.mjs","names":[],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyEditTeamInput = z.object({\n name: z.string().describe(\"New name for the team\"),\n teamId: z.string().describe(\"Team ID (UUID format)\"),\n});\nconst PlanlyEditTeam_TeamLimitsSchema = z.object({\n members: z.number().int().describe(\"Maximum number of members\").nullable().optional(),\n storage: z.number().int().describe(\"Storage limit in bytes\").nullable().optional(),\n channels: z.number().int().describe(\"Maximum number of channels\").nullable().optional(),\n}).describe(\"Team usage constraints\");\nconst PlanlyEditTeam_TeamPermissionsSchema = z.object({\n analytics: z.boolean().describe(\"Analytics access enabled\").nullable().optional(),\n ai_credits: z.number().int().describe(\"Available AI credits\").nullable().optional(),\n file_limits: z.number().int().describe(\"File storage limits\").nullable().optional(),\n posting_rights: z.boolean().describe(\"Posting rights enabled\").nullable().optional(),\n}).describe(\"Team feature access permissions\");\nconst PlanlyEditTeam_TeamDataSchema = z.object({\n id: z.string().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n role: z.number().int().describe(\"User's role (1 = owner/admin, 0 = member)\").nullable().optional(),\n limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),\n picture: z.string().describe(\"Team avatar URL\").nullable().optional(),\n permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),\n integrations: z.
|
|
1
|
+
{"version":3,"file":"edit-team.mjs","names":[],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyEditTeamInput = z.object({\n name: z.string().describe(\"New name for the team\"),\n teamId: z.string().describe(\"Team ID (UUID format)\"),\n});\nconst PlanlyEditTeam_TeamLimitsSchema = z.object({\n members: z.number().int().describe(\"Maximum number of members\").nullable().optional(),\n storage: z.number().int().describe(\"Storage limit in bytes\").nullable().optional(),\n channels: z.number().int().describe(\"Maximum number of channels\").nullable().optional(),\n}).passthrough().describe(\"Team usage constraints\");\nconst PlanlyEditTeam_TeamPermissionsSchema = z.object({\n analytics: z.boolean().describe(\"Analytics access enabled\").nullable().optional(),\n ai_credits: z.number().int().describe(\"Available AI credits\").nullable().optional(),\n file_limits: z.number().int().describe(\"File storage limits\").nullable().optional(),\n posting_rights: z.boolean().describe(\"Posting rights enabled\").nullable().optional(),\n}).passthrough().describe(\"Team feature access permissions\");\nconst PlanlyEditTeam_TeamDataSchema = z.object({\n id: z.string().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n role: z.number().int().describe(\"User's role (1 = owner/admin, 0 = member)\").nullable().optional(),\n limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),\n picture: z.string().describe(\"Team avatar URL\").nullable().optional(),\n permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Third-party connection data\").nullable().optional(),\n members_count: z.number().int().describe(\"Number of team members\").nullable().optional(),\n channels_count: z.number().int().describe(\"Number of connected channels\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels\").nullable().optional(),\n}).passthrough().describe(\"Team details returned from Planly API\");\nexport const PlanlyEditTeamOutput = z.object({\n data: PlanlyEditTeam_TeamDataSchema.nullable(),\n}).passthrough();\n\nexport const planlyEditTeam = action(\"PLANLY_EDIT_TEAM\", {\n slug: \"planly-edit-team\",\n name: \"Edit Team\",\n description: \"Tool to edit team details such as name in Planly. Use when you need to update an existing team's information.\",\n input: PlanlyEditTeamInput,\n output: PlanlyEditTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACrD,CAAC;AACD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,uCAAuC,EAAE,OAAO;CACpD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAa,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-ai-credits.ts
|
|
4
4
|
const PlanlyGetAiCreditsInput = zod.z.object({ teamId: zod.z.string().describe("Id of team to retrieve AI credits for.") }).describe("Request model for retrieving AI credits for a team.");
|
|
5
|
-
const PlanlyGetAiCreditsOutput = zod.z.object({ data: zod.z.number().int().describe("Number of AI credits available for the team.").nullable() }).describe("Response model containing available AI credits.");
|
|
5
|
+
const PlanlyGetAiCreditsOutput = zod.z.object({ data: zod.z.number().int().describe("Number of AI credits available for the team.").nullable() }).passthrough().describe("Response model containing available AI credits.");
|
|
6
6
|
const planlyGetAiCredits = require_action.action("PLANLY_GET_AI_CREDITS", {
|
|
7
7
|
slug: "planly-get-ai-credits",
|
|
8
8
|
name: "Get AI Credits",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ai-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\").nullable(),\n}).describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"get-ai-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\").nullable(),\n}).passthrough().describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const PlanlyGetAiCreditsInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const PlanlyGetAiCreditsOutput: z.ZodObject<{
|
|
8
8
|
data: z.ZodNullable<z.ZodNumber>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const planlyGetAiCredits: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
teamId: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const PlanlyGetAiCreditsInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const PlanlyGetAiCreditsOutput: z.ZodObject<{
|
|
8
8
|
data: z.ZodNullable<z.ZodNumber>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const planlyGetAiCredits: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
teamId: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const planlyGetAiCredits = action("PLANLY_GET_AI_CREDITS", {
|
|
|
5
5
|
name: "Get AI Credits",
|
|
6
6
|
description: "Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.",
|
|
7
7
|
input: z.object({ teamId: z.string().describe("Id of team to retrieve AI credits for.") }).describe("Request model for retrieving AI credits for a team."),
|
|
8
|
-
output: z.object({ data: z.number().int().describe("Number of AI credits available for the team.").nullable() }).describe("Response model containing available AI credits.")
|
|
8
|
+
output: z.object({ data: z.number().int().describe("Number of AI credits available for the team.").nullable() }).passthrough().describe("Response model containing available AI credits.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { planlyGetAiCredits };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ai-credits.mjs","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\").nullable(),\n}).describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-ai-credits.mjs","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\").nullable(),\n}).passthrough().describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const PlanlyGetTeamOutput = zod.z.object({
|
|
|
13
13
|
members_count: zod.z.number().int().describe("Total number of members in the team.").nullable().optional(),
|
|
14
14
|
channels_count: zod.z.number().int().describe("Total number of connected channels for the team.").nullable().optional(),
|
|
15
15
|
disconnected_channels_count: zod.z.number().int().describe("Number of disconnected channels for the team.").nullable().optional()
|
|
16
|
-
}).describe("Response model containing detailed team information including permissions, limits, and integrations.");
|
|
16
|
+
}).passthrough().describe("Response model containing detailed team information including permissions, limits, and integrations.");
|
|
17
17
|
const planlyGetTeam = require_action.action("PLANLY_GET_TEAM", {
|
|
18
18
|
slug: "planly-get-team",
|
|
19
19
|
name: "Get Team",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput = z.object({\n id: z.string().describe(\"Team ID to retrieve information for.\"),\n}).describe(\"Request model for retrieving detailed information about a specific team.\");\nexport const PlanlyGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n role: z.number().int().describe(\"User's role identifier within the team.\").nullable().optional(),\n limits: z.record(z.string(), z.unknown()).describe(\"Team limits object containing usage quotas and restrictions.\").nullable().optional(),\n picture: z.string().describe(\"URL or path to the team's profile picture.\").nullable().optional(),\n permissions: z.record(z.string(), z.unknown()).describe(\"Team permissions object containing access control settings.\").nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Team integrations object containing connected service configurations.\").nullable().optional(),\n members_count: z.number().int().describe(\"Total number of members in the team.\").nullable().optional(),\n channels_count: z.number().int().describe(\"Total number of connected channels for the team.\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels for the team.\").nullable().optional(),\n}).describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: PlanlyGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,sGAAsG;
|
|
1
|
+
{"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput = z.object({\n id: z.string().describe(\"Team ID to retrieve information for.\"),\n}).describe(\"Request model for retrieving detailed information about a specific team.\");\nexport const PlanlyGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n role: z.number().int().describe(\"User's role identifier within the team.\").nullable().optional(),\n limits: z.record(z.string(), z.unknown()).describe(\"Team limits object containing usage quotas and restrictions.\").nullable().optional(),\n picture: z.string().describe(\"URL or path to the team's profile picture.\").nullable().optional(),\n permissions: z.record(z.string(), z.unknown()).describe(\"Team permissions object containing access control settings.\").nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Team integrations object containing connected service configurations.\").nullable().optional(),\n members_count: z.number().int().describe(\"Total number of members in the team.\").nullable().optional(),\n channels_count: z.number().int().describe(\"Total number of connected channels for the team.\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels for the team.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: PlanlyGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAAsG;AAEhI,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|