@keystrokehq/planly 0.1.4 → 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/complete-ai-prompt.cjs +1 -0
- package/dist/actions/complete-ai-prompt.cjs.map +1 -1
- package/dist/actions/complete-ai-prompt.d.cts +3 -5
- package/dist/actions/complete-ai-prompt.d.cts.map +1 -1
- package/dist/actions/complete-ai-prompt.d.mts +3 -5
- package/dist/actions/complete-ai-prompt.d.mts.map +1 -1
- package/dist/actions/complete-ai-prompt.mjs +1 -0
- package/dist/actions/complete-ai-prompt.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 -3
- package/dist/actions/create-team.d.cts.map +1 -1
- package/dist/actions/create-team.d.mts +3 -3
- 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/delete-media.cjs +1 -0
- package/dist/actions/delete-media.cjs.map +1 -1
- package/dist/actions/delete-media.d.cts +3 -3
- package/dist/actions/delete-media.d.cts.map +1 -1
- package/dist/actions/delete-media.d.mts +3 -3
- package/dist/actions/delete-media.d.mts.map +1 -1
- package/dist/actions/delete-media.mjs +1 -0
- package/dist/actions/delete-media.mjs.map +1 -1
- package/dist/actions/delete-team.cjs +1 -0
- package/dist/actions/delete-team.cjs.map +1 -1
- package/dist/actions/delete-team.d.cts +3 -3
- package/dist/actions/delete-team.d.cts.map +1 -1
- package/dist/actions/delete-team.d.mts +3 -3
- package/dist/actions/delete-team.d.mts.map +1 -1
- package/dist/actions/delete-team.mjs +1 -0
- package/dist/actions/delete-team.mjs.map +1 -1
- package/dist/actions/edit-team.cjs +1 -0
- package/dist/actions/edit-team.cjs.map +1 -1
- package/dist/actions/edit-team.d.cts +3 -4
- package/dist/actions/edit-team.d.cts.map +1 -1
- package/dist/actions/edit-team.d.mts +3 -4
- package/dist/actions/edit-team.d.mts.map +1 -1
- package/dist/actions/edit-team.mjs +1 -0
- package/dist/actions/edit-team.mjs.map +1 -1
- package/dist/actions/get-ai-credits.cjs +1 -0
- package/dist/actions/get-ai-credits.cjs.map +1 -1
- package/dist/actions/get-ai-credits.d.cts +3 -3
- package/dist/actions/get-ai-credits.d.cts.map +1 -1
- package/dist/actions/get-ai-credits.d.mts +3 -3
- package/dist/actions/get-ai-credits.d.mts.map +1 -1
- package/dist/actions/get-ai-credits.mjs +1 -0
- package/dist/actions/get-ai-credits.mjs.map +1 -1
- package/dist/actions/get-team.cjs +1 -0
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +3 -3
- package/dist/actions/get-team.d.cts.map +1 -1
- package/dist/actions/get-team.d.mts +3 -3
- package/dist/actions/get-team.d.mts.map +1 -1
- package/dist/actions/get-team.mjs +1 -0
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/import-media-from-url.cjs +1 -0
- package/dist/actions/import-media-from-url.cjs.map +1 -1
- package/dist/actions/import-media-from-url.d.cts +3 -4
- package/dist/actions/import-media-from-url.d.cts.map +1 -1
- package/dist/actions/import-media-from-url.d.mts +3 -4
- package/dist/actions/import-media-from-url.d.mts.map +1 -1
- package/dist/actions/import-media-from-url.mjs +1 -0
- package/dist/actions/import-media-from-url.mjs.map +1 -1
- package/dist/actions/list-channels.cjs +1 -0
- package/dist/actions/list-channels.cjs.map +1 -1
- package/dist/actions/list-channels.d.cts +3 -3
- package/dist/actions/list-channels.d.cts.map +1 -1
- package/dist/actions/list-channels.d.mts +3 -3
- package/dist/actions/list-channels.d.mts.map +1 -1
- package/dist/actions/list-channels.mjs +1 -0
- package/dist/actions/list-channels.mjs.map +1 -1
- package/dist/actions/list-media.cjs +1 -0
- package/dist/actions/list-media.cjs.map +1 -1
- package/dist/actions/list-media.d.cts +3 -8
- package/dist/actions/list-media.d.cts.map +1 -1
- package/dist/actions/list-media.d.mts +3 -8
- package/dist/actions/list-media.d.mts.map +1 -1
- package/dist/actions/list-media.mjs +1 -0
- package/dist/actions/list-media.mjs.map +1 -1
- package/dist/actions/list-schedule-groups.cjs +1 -0
- package/dist/actions/list-schedule-groups.cjs.map +1 -1
- package/dist/actions/list-schedule-groups.d.cts +3 -19
- package/dist/actions/list-schedule-groups.d.cts.map +1 -1
- package/dist/actions/list-schedule-groups.d.mts +3 -19
- package/dist/actions/list-schedule-groups.d.mts.map +1 -1
- package/dist/actions/list-schedule-groups.mjs +1 -0
- package/dist/actions/list-schedule-groups.mjs.map +1 -1
- package/dist/actions/list-schedules.cjs +1 -0
- package/dist/actions/list-schedules.cjs.map +1 -1
- package/dist/actions/list-schedules.d.cts +3 -8
- package/dist/actions/list-schedules.d.cts.map +1 -1
- package/dist/actions/list-schedules.d.mts +3 -8
- package/dist/actions/list-schedules.d.mts.map +1 -1
- package/dist/actions/list-schedules.mjs +1 -0
- package/dist/actions/list-schedules.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +1 -0
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +3 -3
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +3 -3
- package/dist/actions/list-team-users.d.mts.map +1 -1
- package/dist/actions/list-team-users.mjs +1 -0
- package/dist/actions/list-team-users.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 -1
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +3 -1
- 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/start-media-upload.cjs +1 -0
- package/dist/actions/start-media-upload.cjs.map +1 -1
- package/dist/actions/start-media-upload.d.cts +3 -6
- package/dist/actions/start-media-upload.d.cts.map +1 -1
- package/dist/actions/start-media-upload.d.mts +3 -6
- package/dist/actions/start-media-upload.d.mts.map +1 -1
- package/dist/actions/start-media-upload.mjs +1 -0
- package/dist/actions/start-media-upload.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["planly","executePlanlyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { planly } from \"./app\";\nimport { executePlanlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["planly","executePlanlyTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { planly } from \"./app\";\nimport { executePlanlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof planly.credential> {\n return planly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlanlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { planly } from \"./app\";\nimport { executePlanlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { planly } from \"./app\";\nimport { executePlanlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof planly.credential> {\n return planly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlanlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"complete-ai-prompt.cjs","names":["z","action"],"sources":["../../src/actions/complete-ai-prompt.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyCompleteAiPromptInput,\n typeof PlanlyCompleteAiPromptOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/complete-ai-prompt.d.ts
|
|
@@ -14,11 +16,7 @@ declare const PlanlyCompleteAiPromptOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const planlyCompleteAiPrompt:
|
|
18
|
-
n: number;
|
|
19
|
-
prompt: string;
|
|
20
|
-
teamId: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const planlyCompleteAiPrompt: AppAction<typeof PlanlyCompleteAiPromptInput, typeof PlanlyCompleteAiPromptOutput, typeof planly.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { planlyCompleteAiPrompt };
|
|
24
22
|
//# sourceMappingURL=complete-ai-prompt.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complete-ai-prompt.d.cts","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"complete-ai-prompt.d.cts","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/complete-ai-prompt.d.ts
|
|
@@ -14,11 +16,7 @@ declare const PlanlyCompleteAiPromptOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const planlyCompleteAiPrompt:
|
|
18
|
-
n: number;
|
|
19
|
-
prompt: string;
|
|
20
|
-
teamId: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const planlyCompleteAiPrompt: AppAction<typeof PlanlyCompleteAiPromptInput, typeof PlanlyCompleteAiPromptOutput, typeof planly.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { planlyCompleteAiPrompt };
|
|
24
22
|
//# sourceMappingURL=complete-ai-prompt.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complete-ai-prompt.d.mts","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"complete-ai-prompt.d.mts","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"complete-ai-prompt.mjs","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyCompleteAiPromptInput,\n typeof PlanlyCompleteAiPromptOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,MAAM,8CAA8C,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;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 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":"
|
|
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 { planly } from \"../app\";\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: AppAction<\n typeof PlanlyCreateTeamInput,\n typeof PlanlyCreateTeamOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } 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
|
|
@@ -10,9 +12,7 @@ declare const PlanlyCreateTeamOutput: z.ZodObject<{
|
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const planlyCreateTeam:
|
|
14
|
-
name: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const planlyCreateTeam: AppAction<typeof PlanlyCreateTeamInput, typeof PlanlyCreateTeamOutput, typeof planly.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { planlyCreateTeam };
|
|
18
18
|
//# 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,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } 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
|
|
@@ -10,9 +12,7 @@ declare const PlanlyCreateTeamOutput: z.ZodObject<{
|
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const planlyCreateTeam:
|
|
14
|
-
name: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const planlyCreateTeam: AppAction<typeof PlanlyCreateTeamInput, typeof PlanlyCreateTeamOutput, typeof planly.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { planlyCreateTeam };
|
|
18
18
|
//# 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,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,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 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":"
|
|
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 { planly } from \"../app\";\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: AppAction<\n typeof PlanlyCreateTeamInput,\n typeof PlanlyCreateTeamOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoC,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,oCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-media.cjs","names":["z","action"],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyDeleteMediaInput,\n typeof PlanlyDeleteMediaOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-media.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PlanlyDeleteMediaOutput: z.ZodObject<{
|
|
|
8
10
|
data: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const planlyDeleteMedia:
|
|
12
|
-
ids: string[];
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const planlyDeleteMedia: AppAction<typeof PlanlyDeleteMediaInput, typeof PlanlyDeleteMediaOutput, typeof planly.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { planlyDeleteMedia };
|
|
16
16
|
//# sourceMappingURL=delete-media.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-media.d.cts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-media.d.cts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-media.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PlanlyDeleteMediaOutput: z.ZodObject<{
|
|
|
8
10
|
data: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const planlyDeleteMedia:
|
|
12
|
-
ids: string[];
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const planlyDeleteMedia: AppAction<typeof PlanlyDeleteMediaInput, typeof PlanlyDeleteMediaOutput, typeof planly.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { planlyDeleteMedia };
|
|
16
16
|
//# sourceMappingURL=delete-media.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-media.d.mts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-media.d.mts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-media.mjs","names":[],"sources":["../../src/actions/delete-media.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyDeleteMediaInput,\n typeof PlanlyDeleteMediaOutput,\n typeof planly.credential\n> = 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":";;;AAcA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO,EAC7C,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAcS;CACP,QAdqC,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,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-team.cjs","names":["z","action"],"sources":["../../src/actions/delete-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyDeleteTeamInput,\n typeof PlanlyDeleteTeamOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-team.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PlanlyDeleteTeamInput: z.ZodObject<{
|
|
|
7
9
|
declare const PlanlyDeleteTeamOutput: z.ZodObject<{
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const planlyDeleteTeam:
|
|
11
|
-
team_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const planlyDeleteTeam: AppAction<typeof PlanlyDeleteTeamInput, typeof PlanlyDeleteTeamOutput, typeof planly.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { planlyDeleteTeam };
|
|
15
15
|
//# sourceMappingURL=delete-team.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-team.d.cts","names":[],"sources":["../../src/actions/delete-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-team.d.cts","names":[],"sources":["../../src/actions/delete-team.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-team.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PlanlyDeleteTeamInput: z.ZodObject<{
|
|
|
7
9
|
declare const PlanlyDeleteTeamOutput: z.ZodObject<{
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const planlyDeleteTeam:
|
|
11
|
-
team_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const planlyDeleteTeam: AppAction<typeof PlanlyDeleteTeamInput, typeof PlanlyDeleteTeamOutput, typeof planly.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { planlyDeleteTeam };
|
|
15
15
|
//# sourceMappingURL=delete-team.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-team.d.mts","names":[],"sources":["../../src/actions/delete-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-team.d.mts","names":[],"sources":["../../src/actions/delete-team.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-team.mjs","names":[],"sources":["../../src/actions/delete-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyDeleteTeamInput,\n typeof PlanlyDeleteTeamOutput,\n typeof planly.credential\n> = 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":";;;AAaA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CAaH;CACP,QAboC,EAAE,OAAO,EAC7C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"edit-team.cjs","names":["z","action"],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyEditTeamInput,\n typeof PlanlyEditTeamOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/edit-team.d.ts
|
|
@@ -28,10 +30,7 @@ declare const PlanlyEditTeamOutput: z.ZodObject<{
|
|
|
28
30
|
disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const planlyEditTeam:
|
|
32
|
-
name: string;
|
|
33
|
-
teamId: string;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const planlyEditTeam: AppAction<typeof PlanlyEditTeamInput, typeof PlanlyEditTeamOutput, typeof planly.credential>;
|
|
35
34
|
//#endregion
|
|
36
35
|
export { planlyEditTeam };
|
|
37
36
|
//# sourceMappingURL=edit-team.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-team.d.cts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-team.d.cts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cA2BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/edit-team.d.ts
|
|
@@ -28,10 +30,7 @@ declare const PlanlyEditTeamOutput: z.ZodObject<{
|
|
|
28
30
|
disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const planlyEditTeam:
|
|
32
|
-
name: string;
|
|
33
|
-
teamId: string;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const planlyEditTeam: AppAction<typeof PlanlyEditTeamInput, typeof PlanlyEditTeamOutput, typeof planly.credential>;
|
|
35
34
|
//#endregion
|
|
36
35
|
export { planlyEditTeam };
|
|
37
36
|
//# sourceMappingURL=edit-team.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-team.d.mts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"edit-team.d.mts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cA2BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"edit-team.mjs","names":[],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyEditTeamInput,\n typeof PlanlyEditTeamOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO,EAC3C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-ai-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyGetAiCreditsInput,\n typeof PlanlyGetAiCreditsOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-ai-credits.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PlanlyGetAiCreditsInput: z.ZodObject<{
|
|
|
7
9
|
declare const PlanlyGetAiCreditsOutput: z.ZodObject<{
|
|
8
10
|
data: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const planlyGetAiCredits:
|
|
11
|
-
teamId: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const planlyGetAiCredits: AppAction<typeof PlanlyGetAiCreditsInput, typeof PlanlyGetAiCreditsOutput, typeof planly.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { planlyGetAiCredits };
|
|
15
15
|
//# sourceMappingURL=get-ai-credits.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ai-credits.d.cts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-ai-credits.d.cts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-ai-credits.d.ts
|
|
@@ -7,9 +9,7 @@ declare const PlanlyGetAiCreditsInput: z.ZodObject<{
|
|
|
7
9
|
declare const PlanlyGetAiCreditsOutput: z.ZodObject<{
|
|
8
10
|
data: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const planlyGetAiCredits:
|
|
11
|
-
teamId: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const planlyGetAiCredits: AppAction<typeof PlanlyGetAiCreditsInput, typeof PlanlyGetAiCreditsOutput, typeof planly.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { planlyGetAiCredits };
|
|
15
15
|
//# sourceMappingURL=get-ai-credits.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ai-credits.d.mts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-ai-credits.d.mts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-ai-credits.mjs","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyGetAiCreditsInput,\n typeof PlanlyGetAiCreditsOutput,\n typeof planly.credential\n> = 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":";;;AAaA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDAaH;CACP,QAbsC,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,iDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\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: AppAction<\n typeof PlanlyGetTeamInput,\n typeof PlanlyGetTeamOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|