@keystrokehq/planly 0.1.0 → 0.1.2

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.
Files changed (117) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/complete-ai-prompt.cjs +2 -2
  4. package/dist/actions/complete-ai-prompt.cjs.map +1 -1
  5. package/dist/actions/complete-ai-prompt.d.cts +18 -3
  6. package/dist/actions/complete-ai-prompt.d.cts.map +1 -1
  7. package/dist/actions/complete-ai-prompt.d.mts +18 -3
  8. package/dist/actions/complete-ai-prompt.d.mts.map +1 -1
  9. package/dist/actions/complete-ai-prompt.mjs +2 -2
  10. package/dist/actions/complete-ai-prompt.mjs.map +1 -1
  11. package/dist/actions/create-team.cjs +1 -1
  12. package/dist/actions/create-team.cjs.map +1 -1
  13. package/dist/actions/create-team.d.cts +12 -3
  14. package/dist/actions/create-team.d.cts.map +1 -1
  15. package/dist/actions/create-team.d.mts +12 -3
  16. package/dist/actions/create-team.d.mts.map +1 -1
  17. package/dist/actions/create-team.mjs +1 -1
  18. package/dist/actions/create-team.mjs.map +1 -1
  19. package/dist/actions/delete-media.cjs +1 -1
  20. package/dist/actions/delete-media.cjs.map +1 -1
  21. package/dist/actions/delete-media.d.cts +10 -3
  22. package/dist/actions/delete-media.d.cts.map +1 -1
  23. package/dist/actions/delete-media.d.mts +10 -3
  24. package/dist/actions/delete-media.d.mts.map +1 -1
  25. package/dist/actions/delete-media.mjs +1 -1
  26. package/dist/actions/delete-media.mjs.map +1 -1
  27. package/dist/actions/delete-team.cjs +1 -1
  28. package/dist/actions/delete-team.cjs.map +1 -1
  29. package/dist/actions/delete-team.d.cts +9 -3
  30. package/dist/actions/delete-team.d.cts.map +1 -1
  31. package/dist/actions/delete-team.d.mts +9 -3
  32. package/dist/actions/delete-team.d.mts.map +1 -1
  33. package/dist/actions/delete-team.mjs +1 -1
  34. package/dist/actions/delete-team.mjs.map +1 -1
  35. package/dist/actions/edit-team.cjs +2 -2
  36. package/dist/actions/edit-team.cjs.map +1 -1
  37. package/dist/actions/edit-team.d.cts +31 -3
  38. package/dist/actions/edit-team.d.cts.map +1 -1
  39. package/dist/actions/edit-team.d.mts +31 -3
  40. package/dist/actions/edit-team.d.mts.map +1 -1
  41. package/dist/actions/edit-team.mjs +2 -2
  42. package/dist/actions/edit-team.mjs.map +1 -1
  43. package/dist/actions/get-ai-credits.cjs +1 -1
  44. package/dist/actions/get-ai-credits.cjs.map +1 -1
  45. package/dist/actions/get-ai-credits.d.cts +9 -3
  46. package/dist/actions/get-ai-credits.d.cts.map +1 -1
  47. package/dist/actions/get-ai-credits.d.mts +9 -3
  48. package/dist/actions/get-ai-credits.d.mts.map +1 -1
  49. package/dist/actions/get-ai-credits.mjs +1 -1
  50. package/dist/actions/get-ai-credits.mjs.map +1 -1
  51. package/dist/actions/get-team.cjs.map +1 -1
  52. package/dist/actions/get-team.d.cts +18 -3
  53. package/dist/actions/get-team.d.cts.map +1 -1
  54. package/dist/actions/get-team.d.mts +18 -3
  55. package/dist/actions/get-team.d.mts.map +1 -1
  56. package/dist/actions/get-team.mjs.map +1 -1
  57. package/dist/actions/import-media-from-url.cjs.map +1 -1
  58. package/dist/actions/import-media-from-url.d.cts +21 -3
  59. package/dist/actions/import-media-from-url.d.cts.map +1 -1
  60. package/dist/actions/import-media-from-url.d.mts +21 -3
  61. package/dist/actions/import-media-from-url.d.mts.map +1 -1
  62. package/dist/actions/import-media-from-url.mjs.map +1 -1
  63. package/dist/actions/list-channels.cjs.map +1 -1
  64. package/dist/actions/list-channels.d.cts +23 -3
  65. package/dist/actions/list-channels.d.cts.map +1 -1
  66. package/dist/actions/list-channels.d.mts +23 -3
  67. package/dist/actions/list-channels.d.mts.map +1 -1
  68. package/dist/actions/list-channels.mjs.map +1 -1
  69. package/dist/actions/list-media.cjs.map +1 -1
  70. package/dist/actions/list-media.d.cts +33 -3
  71. package/dist/actions/list-media.d.cts.map +1 -1
  72. package/dist/actions/list-media.d.mts +33 -3
  73. package/dist/actions/list-media.d.mts.map +1 -1
  74. package/dist/actions/list-media.mjs.map +1 -1
  75. package/dist/actions/list-schedule-groups.cjs +12 -12
  76. package/dist/actions/list-schedule-groups.cjs.map +1 -1
  77. package/dist/actions/list-schedule-groups.d.cts +93 -3
  78. package/dist/actions/list-schedule-groups.d.cts.map +1 -1
  79. package/dist/actions/list-schedule-groups.d.mts +93 -3
  80. package/dist/actions/list-schedule-groups.d.mts.map +1 -1
  81. package/dist/actions/list-schedule-groups.mjs +12 -12
  82. package/dist/actions/list-schedule-groups.mjs.map +1 -1
  83. package/dist/actions/list-schedules.cjs.map +1 -1
  84. package/dist/actions/list-schedules.d.cts +42 -3
  85. package/dist/actions/list-schedules.d.cts.map +1 -1
  86. package/dist/actions/list-schedules.d.mts +42 -3
  87. package/dist/actions/list-schedules.d.mts.map +1 -1
  88. package/dist/actions/list-schedules.mjs.map +1 -1
  89. package/dist/actions/list-team-users.cjs +4 -4
  90. package/dist/actions/list-team-users.cjs.map +1 -1
  91. package/dist/actions/list-team-users.d.cts +15 -3
  92. package/dist/actions/list-team-users.d.cts.map +1 -1
  93. package/dist/actions/list-team-users.d.mts +15 -3
  94. package/dist/actions/list-team-users.d.mts.map +1 -1
  95. package/dist/actions/list-team-users.mjs +4 -4
  96. package/dist/actions/list-team-users.mjs.map +1 -1
  97. package/dist/actions/list-teams.cjs.map +1 -1
  98. package/dist/actions/list-teams.d.cts +12 -3
  99. package/dist/actions/list-teams.d.cts.map +1 -1
  100. package/dist/actions/list-teams.d.mts +12 -3
  101. package/dist/actions/list-teams.d.mts.map +1 -1
  102. package/dist/actions/list-teams.mjs.map +1 -1
  103. package/dist/actions/start-media-upload.cjs +3 -3
  104. package/dist/actions/start-media-upload.cjs.map +1 -1
  105. package/dist/actions/start-media-upload.d.cts +18 -3
  106. package/dist/actions/start-media-upload.d.cts.map +1 -1
  107. package/dist/actions/start-media-upload.d.mts +18 -3
  108. package/dist/actions/start-media-upload.d.mts.map +1 -1
  109. package/dist/actions/start-media-upload.mjs +3 -3
  110. package/dist/actions/start-media-upload.mjs.map +1 -1
  111. package/dist/catalog.cjs +7 -1
  112. package/dist/catalog.cjs.map +1 -1
  113. package/dist/catalog.d.cts +8 -0
  114. package/dist/catalog.d.mts +8 -0
  115. package/dist/catalog.mjs +7 -1
  116. package/dist/catalog.mjs.map +1 -1
  117. package/package.json +2 -2
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\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":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
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: z.ZodType;\n },\n) {\n return planly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePlanlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\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":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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
+ {"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: z.ZodType;\n },\n) {\n return planly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePlanlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
@@ -6,9 +6,9 @@ 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.") }).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() }).describe("Model representing a single AI-generated text completion choice.");
10
10
  const PlanlyCompleteAiPrompt_AICompletionDataSchema = zod.z.object({
11
- id: zod.z.string().describe("Unique identifier for this AI completion request."),
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
13
  }).describe("Model representing the data returned from AI completion.");
14
14
  const PlanlyCompleteAiPromptOutput = zod.z.object({ data: PlanlyCompleteAiPrompt_AICompletionDataSchema.nullable() }).describe("Response model returned after completing an 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n text: z.string().describe(\"The generated text completion from the AI model.\"),\n}).describe(\"Model representing a single AI-generated text completion choice.\");\nconst PlanlyCompleteAiPrompt_AICompletionDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this AI completion request.\"),\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.ZodTypeAny = 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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,wCAAsDA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EAC9E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3E,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,kFAAkF;AACrJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAM,8CAA8C,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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;AAC9E,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,SAAS,0DAA0D;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAM,8CAA8C,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/complete-ai-prompt.d.ts
4
- declare const PlanlyCompleteAiPromptInput: z.ZodTypeAny;
5
- declare const PlanlyCompleteAiPromptOutput: z.ZodTypeAny;
6
- declare const planlyCompleteAiPrompt: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyCompleteAiPromptInput: z.ZodObject<{
5
+ n: z.ZodNumber;
6
+ prompt: z.ZodString;
7
+ teamId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const PlanlyCompleteAiPromptOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ choices: z.ZodArray<z.ZodObject<{
13
+ text: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ declare const planlyCompleteAiPrompt: import("@keystrokehq/action").WorkflowActionDefinition<{
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]>;
7
22
  //#endregion
8
23
  export { planlyCompleteAiPrompt };
9
24
  //# 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":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIuB;AAAA,cAQtD,4BAAA,EAA8B,CAAA,CAAE,UAEwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"complete-ai-prompt.d.cts","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/complete-ai-prompt.d.ts
4
- declare const PlanlyCompleteAiPromptInput: z.ZodTypeAny;
5
- declare const PlanlyCompleteAiPromptOutput: z.ZodTypeAny;
6
- declare const planlyCompleteAiPrompt: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyCompleteAiPromptInput: z.ZodObject<{
5
+ n: z.ZodNumber;
6
+ prompt: z.ZodString;
7
+ teamId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const PlanlyCompleteAiPromptOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ choices: z.ZodArray<z.ZodObject<{
13
+ text: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ declare const planlyCompleteAiPrompt: import("@keystrokehq/action").WorkflowActionDefinition<{
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]>;
7
22
  //#endregion
8
23
  export { planlyCompleteAiPrompt };
9
24
  //# 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":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIuB;AAAA,cAQtD,4BAAA,EAA8B,CAAA,CAAE,UAEwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"complete-ai-prompt.d.mts","names":[],"sources":["../../src/actions/complete-ai-prompt.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -6,9 +6,9 @@ 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.") }).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() }).describe("Model representing a single AI-generated text completion choice.");
10
10
  const PlanlyCompleteAiPrompt_AICompletionDataSchema = z.object({
11
- id: z.string().describe("Unique identifier for this AI completion request."),
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
13
  }).describe("Model representing the data returned from AI completion.");
14
14
  const planlyCompleteAiPrompt = action("PLANLY_COMPLETE_AI_PROMPT", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n text: z.string().describe(\"The generated text completion from the AI model.\"),\n}).describe(\"Model representing a single AI-generated text completion choice.\");\nconst PlanlyCompleteAiPrompt_AICompletionDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this AI completion request.\"),\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.ZodTypeAny = 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,8BAA4C,EAAE,OAAO;CAChE,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,wCAAsD,EAAE,OAAO,EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EAC9E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3E,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,kFAAkF;AACrJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAKtE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,MAAM,8CAA8C,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
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;AAC9E,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,SAAS,0DAA0D;AAKtE,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,SAAS,wDAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ 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") }).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() }).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()
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n teamId: z.string().describe(\"Unique identifier of the created team\"),\n}).describe(\"Team data returned from the API.\");\nexport const PlanlyCreateTeamOutput: z.ZodTypeAny = 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,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACzD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,kCAAgDA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAM,gCAAgC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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;AAC9C,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,SAAS,oCAAoC;AAEhD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-team.d.ts
4
- declare const PlanlyCreateTeamInput: z.ZodTypeAny;
5
- declare const PlanlyCreateTeamOutput: z.ZodTypeAny;
6
- declare const planlyCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyCreateTeamInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyCreateTeamOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ teamId: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const planlyCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ name: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { planlyCreateTeam };
9
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":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEyB;AAAA,cAIlD,sBAAA,EAAwB,CAAA,CAAE,UAGU;AAAA,cAEpC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-team.d.cts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-team.d.ts
4
- declare const PlanlyCreateTeamInput: z.ZodTypeAny;
5
- declare const PlanlyCreateTeamOutput: z.ZodTypeAny;
6
- declare const planlyCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyCreateTeamInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyCreateTeamOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ teamId: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const planlyCreateTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ name: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { planlyCreateTeam };
9
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":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEyB;AAAA,cAIlD,sBAAA,EAAwB,CAAA,CAAE,UAGU;AAAA,cAEpC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-team.d.mts","names":[],"sources":["../../src/actions/create-team.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
@@ -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") }).describe("Team data returned from the API.");
5
+ const PlanlyCreateTeam_TeamDataSchema = z.object({ teamId: z.string().describe("Unique identifier of the created team").nullable() }).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",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n teamId: z.string().describe(\"Unique identifier of the created team\"),\n}).describe(\"Team data returned from the API.\");\nexport const PlanlyCreateTeamOutput: z.ZodTypeAny = 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,wBAAsC,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACzD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,kCAAgD,EAAE,OAAO,EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAM9C,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,MAAM,gCAAgC,SAAS;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
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;AAM9C,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,SAAS,oCAOF;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-media.ts
4
4
  const PlanlyDeleteMediaInput = zod.z.object({ ids: zod.z.array(zod.z.string()).describe("Array of media IDs to delete. Each ID should be a UUID string representing a media file.") });
5
5
  const PlanlyDeleteMediaOutput = zod.z.object({
6
- data: zod.z.boolean().describe("Boolean indicating whether the media deletion was successful"),
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
  });
9
9
  const planlyDeleteMedia = require_action.action("PLANLY_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.ZodTypeAny = 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.ZodTypeAny = z.object({\n data: z.boolean().describe(\"Boolean indicating whether the media deletion was successful\"),\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,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,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});\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;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-media.d.ts
4
- declare const PlanlyDeleteMediaInput: z.ZodTypeAny;
5
- declare const PlanlyDeleteMediaOutput: z.ZodTypeAny;
6
- declare const planlyDeleteMedia: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyDeleteMediaInput: z.ZodObject<{
5
+ ids: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyDeleteMediaOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodBoolean>;
9
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const planlyDeleteMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ ids: string[];
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { planlyDeleteMedia };
9
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":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAErC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-media.d.cts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-media.d.ts
4
- declare const PlanlyDeleteMediaInput: z.ZodTypeAny;
5
- declare const PlanlyDeleteMediaOutput: z.ZodTypeAny;
6
- declare const planlyDeleteMedia: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyDeleteMediaInput: z.ZodObject<{
5
+ ids: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyDeleteMediaOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodBoolean>;
9
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const planlyDeleteMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ ids: string[];
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { planlyDeleteMedia };
9
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":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAErC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-media.d.mts","names":[],"sources":["../../src/actions/delete-media.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
@@ -6,7 +6,7 @@ const planlyDeleteMedia = action("PLANLY_DELETE_MEDIA", {
6
6
  description: "Tool to delete one or more media files by their IDs. Use when you need to remove media files from Planly storage.",
7
7
  input: z.object({ ids: z.array(z.string()).describe("Array of media IDs to delete. Each ID should be a UUID string representing a media file.") }),
8
8
  output: z.object({
9
- data: z.boolean().describe("Boolean indicating whether the media deletion was successful"),
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
  })
12
12
  });
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n data: z.boolean().describe(\"Boolean indicating whether the media deletion was successful\"),\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,OAZkD,EAAE,OAAO,EAC3D,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC9H,CAUS;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
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,CAOU;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") }).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() }).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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the team was successfully deleted\"),\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,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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;AAE/C,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-team.d.ts
4
- declare const PlanlyDeleteTeamInput: z.ZodTypeAny;
5
- declare const PlanlyDeleteTeamOutput: z.ZodTypeAny;
6
- declare const planlyDeleteTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyDeleteTeamInput: z.ZodObject<{
5
+ team_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyDeleteTeamOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const planlyDeleteTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ team_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { planlyDeleteTeam };
9
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":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEqB;AAAA,cAC9C,sBAAA,EAAwB,CAAA,CAAE,UAES;AAAA,cAEnC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-team.d.cts","names":[],"sources":["../../src/actions/delete-team.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-team.d.ts
4
- declare const PlanlyDeleteTeamInput: z.ZodTypeAny;
5
- declare const PlanlyDeleteTeamOutput: z.ZodTypeAny;
6
- declare const planlyDeleteTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyDeleteTeamInput: z.ZodObject<{
5
+ team_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyDeleteTeamOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const planlyDeleteTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ team_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { planlyDeleteTeam };
9
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":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEqB;AAAA,cAC9C,sBAAA,EAAwB,CAAA,CAAE,UAES;AAAA,cAEnC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-team.d.mts","names":[],"sources":["../../src/actions/delete-team.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -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") }).describe("Response model for team deletion.")
8
+ output: z.object({ success: z.boolean().describe("Indicates whether the team was successfully deleted").nullable() }).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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the team was successfully deleted\"),\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,OAXiD,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
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,mCAOF;AACV,CAAC"}
@@ -17,8 +17,8 @@ const PlanlyEditTeam_TeamPermissionsSchema = zod.z.object({
17
17
  posting_rights: zod.z.boolean().describe("Posting rights enabled").nullable().optional()
18
18
  }).describe("Team feature access permissions");
19
19
  const PlanlyEditTeam_TeamDataSchema = zod.z.object({
20
- id: zod.z.string().describe("Team ID"),
21
- name: zod.z.string().describe("Team name"),
20
+ id: zod.z.string().describe("Team ID").nullable(),
21
+ name: zod.z.string().describe("Team name").nullable(),
22
22
  role: zod.z.number().int().describe("User's role (1 = owner/admin, 0 = member)").nullable().optional(),
23
23
  limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),
24
24
  picture: zod.z.string().describe("Team avatar URL").nullable().optional(),
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Team ID\"),\n name: z.string().describe(\"Team name\"),\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.object({}).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}).describe(\"Team details returned from Planly API\");\nexport const PlanlyEditTeamOutput: z.ZodTypeAny = z.object({\n data: PlanlyEditTeam_TeamDataSchema.nullable(),\n});\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,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACrD,CAAC;AACD,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,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,SAAS,wBAAwB;AACpC,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,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,SAAS,iCAAiC;AAC7C,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS;CACjC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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,SAAS,uCAAuC;AACnD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,8BAA8B,SAAS,EAC/C,CAAC;AAED,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.object({}).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}).describe(\"Team details returned from Planly API\");\nexport const PlanlyEditTeamOutput = z.object({\n data: PlanlyEditTeam_TeamDataSchema.nullable(),\n});\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,SAAS,wBAAwB;AACpC,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,SAAS,iCAAiC;AAC7C,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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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,SAAS,uCAAuC;AACnD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,8BAA8B,SAAS,EAC/C,CAAC;AAED,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/edit-team.d.ts
4
- declare const PlanlyEditTeamInput: z.ZodTypeAny;
5
- declare const PlanlyEditTeamOutput: z.ZodTypeAny;
6
- declare const planlyEditTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyEditTeamInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ teamId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PlanlyEditTeamOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ role: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ members: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ storage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ }, z.core.$strip>>>;
18
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ permissions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ analytics: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ ai_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ file_limits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ posting_rights: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ }, z.core.$strip>>>;
25
+ integrations: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
26
+ members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ }, z.core.$strip>>;
30
+ }, z.core.$strip>;
31
+ declare const planlyEditTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ name: string;
33
+ teamId: string;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { planlyEditTeam };
9
37
  //# sourceMappingURL=edit-team.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"edit-team.d.cts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAGlC;AAAA,cAwBW,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cAEW,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"edit-team.d.cts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cA2BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/edit-team.d.ts
4
- declare const PlanlyEditTeamInput: z.ZodTypeAny;
5
- declare const PlanlyEditTeamOutput: z.ZodTypeAny;
6
- declare const planlyEditTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyEditTeamInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ teamId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PlanlyEditTeamOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ role: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ members: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ storage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ }, z.core.$strip>>>;
18
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ permissions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ analytics: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ ai_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ file_limits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ posting_rights: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ }, z.core.$strip>>>;
25
+ integrations: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
26
+ members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ }, z.core.$strip>>;
30
+ }, z.core.$strip>;
31
+ declare const planlyEditTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ name: string;
33
+ teamId: string;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { planlyEditTeam };
9
37
  //# sourceMappingURL=edit-team.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"edit-team.d.mts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAGlC;AAAA,cAwBW,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cAEW,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"edit-team.d.mts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cA2BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -17,8 +17,8 @@ const PlanlyEditTeam_TeamPermissionsSchema = z.object({
17
17
  posting_rights: z.boolean().describe("Posting rights enabled").nullable().optional()
18
18
  }).describe("Team feature access permissions");
19
19
  const PlanlyEditTeam_TeamDataSchema = z.object({
20
- id: z.string().describe("Team ID"),
21
- name: z.string().describe("Team name"),
20
+ id: z.string().describe("Team ID").nullable(),
21
+ name: z.string().describe("Team name").nullable(),
22
22
  role: z.number().int().describe("User's role (1 = owner/admin, 0 = member)").nullable().optional(),
23
23
  limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),
24
24
  picture: z.string().describe("Team avatar URL").nullable().optional(),