@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/complete-ai-prompt.cjs +2 -2
- package/dist/actions/complete-ai-prompt.cjs.map +1 -1
- package/dist/actions/complete-ai-prompt.d.cts +18 -3
- package/dist/actions/complete-ai-prompt.d.cts.map +1 -1
- package/dist/actions/complete-ai-prompt.d.mts +18 -3
- package/dist/actions/complete-ai-prompt.d.mts.map +1 -1
- package/dist/actions/complete-ai-prompt.mjs +2 -2
- package/dist/actions/complete-ai-prompt.mjs.map +1 -1
- package/dist/actions/create-team.cjs +1 -1
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +12 -3
- package/dist/actions/create-team.d.cts.map +1 -1
- package/dist/actions/create-team.d.mts +12 -3
- package/dist/actions/create-team.d.mts.map +1 -1
- package/dist/actions/create-team.mjs +1 -1
- package/dist/actions/create-team.mjs.map +1 -1
- package/dist/actions/delete-media.cjs +1 -1
- package/dist/actions/delete-media.cjs.map +1 -1
- package/dist/actions/delete-media.d.cts +10 -3
- package/dist/actions/delete-media.d.cts.map +1 -1
- package/dist/actions/delete-media.d.mts +10 -3
- package/dist/actions/delete-media.d.mts.map +1 -1
- package/dist/actions/delete-media.mjs +1 -1
- package/dist/actions/delete-media.mjs.map +1 -1
- package/dist/actions/delete-team.cjs +1 -1
- package/dist/actions/delete-team.cjs.map +1 -1
- package/dist/actions/delete-team.d.cts +9 -3
- package/dist/actions/delete-team.d.cts.map +1 -1
- package/dist/actions/delete-team.d.mts +9 -3
- package/dist/actions/delete-team.d.mts.map +1 -1
- package/dist/actions/delete-team.mjs +1 -1
- package/dist/actions/delete-team.mjs.map +1 -1
- package/dist/actions/edit-team.cjs +2 -2
- package/dist/actions/edit-team.cjs.map +1 -1
- package/dist/actions/edit-team.d.cts +31 -3
- package/dist/actions/edit-team.d.cts.map +1 -1
- package/dist/actions/edit-team.d.mts +31 -3
- package/dist/actions/edit-team.d.mts.map +1 -1
- package/dist/actions/edit-team.mjs +2 -2
- package/dist/actions/edit-team.mjs.map +1 -1
- package/dist/actions/get-ai-credits.cjs +1 -1
- package/dist/actions/get-ai-credits.cjs.map +1 -1
- package/dist/actions/get-ai-credits.d.cts +9 -3
- package/dist/actions/get-ai-credits.d.cts.map +1 -1
- package/dist/actions/get-ai-credits.d.mts +9 -3
- package/dist/actions/get-ai-credits.d.mts.map +1 -1
- package/dist/actions/get-ai-credits.mjs +1 -1
- package/dist/actions/get-ai-credits.mjs.map +1 -1
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +18 -3
- package/dist/actions/get-team.d.cts.map +1 -1
- package/dist/actions/get-team.d.mts +18 -3
- package/dist/actions/get-team.d.mts.map +1 -1
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/import-media-from-url.cjs.map +1 -1
- package/dist/actions/import-media-from-url.d.cts +21 -3
- package/dist/actions/import-media-from-url.d.cts.map +1 -1
- package/dist/actions/import-media-from-url.d.mts +21 -3
- package/dist/actions/import-media-from-url.d.mts.map +1 -1
- package/dist/actions/import-media-from-url.mjs.map +1 -1
- package/dist/actions/list-channels.cjs.map +1 -1
- package/dist/actions/list-channels.d.cts +23 -3
- package/dist/actions/list-channels.d.cts.map +1 -1
- package/dist/actions/list-channels.d.mts +23 -3
- package/dist/actions/list-channels.d.mts.map +1 -1
- package/dist/actions/list-channels.mjs.map +1 -1
- package/dist/actions/list-media.cjs.map +1 -1
- package/dist/actions/list-media.d.cts +33 -3
- package/dist/actions/list-media.d.cts.map +1 -1
- package/dist/actions/list-media.d.mts +33 -3
- package/dist/actions/list-media.d.mts.map +1 -1
- package/dist/actions/list-media.mjs.map +1 -1
- package/dist/actions/list-schedule-groups.cjs +12 -12
- package/dist/actions/list-schedule-groups.cjs.map +1 -1
- package/dist/actions/list-schedule-groups.d.cts +93 -3
- package/dist/actions/list-schedule-groups.d.cts.map +1 -1
- package/dist/actions/list-schedule-groups.d.mts +93 -3
- package/dist/actions/list-schedule-groups.d.mts.map +1 -1
- package/dist/actions/list-schedule-groups.mjs +12 -12
- package/dist/actions/list-schedule-groups.mjs.map +1 -1
- package/dist/actions/list-schedules.cjs.map +1 -1
- package/dist/actions/list-schedules.d.cts +42 -3
- package/dist/actions/list-schedules.d.cts.map +1 -1
- package/dist/actions/list-schedules.d.mts +42 -3
- package/dist/actions/list-schedules.d.mts.map +1 -1
- package/dist/actions/list-schedules.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +4 -4
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +15 -3
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +15 -3
- package/dist/actions/list-team-users.d.mts.map +1 -1
- package/dist/actions/list-team-users.mjs +4 -4
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +12 -3
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +12 -3
- package/dist/actions/list-teams.d.mts.map +1 -1
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/start-media-upload.cjs +3 -3
- package/dist/actions/start-media-upload.cjs.map +1 -1
- package/dist/actions/start-media-upload.d.cts +18 -3
- package/dist/actions/start-media-upload.d.cts.map +1 -1
- package/dist/actions/start-media-upload.d.mts +18 -3
- package/dist/actions/start-media-upload.d.mts.map +1 -1
- package/dist/actions/start-media-upload.mjs +3 -3
- package/dist/actions/start-media-upload.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
1
|
+
{"version":3,"file":"edit-team.mjs","names":[],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyEditTeamInput = z.object({\n name: z.string().describe(\"New name for the team\"),\n teamId: z.string().describe(\"Team ID (UUID format)\"),\n});\nconst PlanlyEditTeam_TeamLimitsSchema = z.object({\n members: z.number().int().describe(\"Maximum number of members\").nullable().optional(),\n storage: z.number().int().describe(\"Storage limit in bytes\").nullable().optional(),\n channels: z.number().int().describe(\"Maximum number of channels\").nullable().optional(),\n}).describe(\"Team usage constraints\");\nconst PlanlyEditTeam_TeamPermissionsSchema = z.object({\n analytics: z.boolean().describe(\"Analytics access enabled\").nullable().optional(),\n ai_credits: z.number().int().describe(\"Available AI credits\").nullable().optional(),\n file_limits: z.number().int().describe(\"File storage limits\").nullable().optional(),\n posting_rights: z.boolean().describe(\"Posting rights enabled\").nullable().optional(),\n}).describe(\"Team feature access permissions\");\nconst PlanlyEditTeam_TeamDataSchema = z.object({\n id: z.string().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n role: z.number().int().describe(\"User's role (1 = owner/admin, 0 = member)\").nullable().optional(),\n limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),\n picture: z.string().describe(\"Team avatar URL\").nullable().optional(),\n permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),\n integrations: z.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,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,SAAS,wBAAwB;AACpC,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,SAAS,iCAAiC;AAC7C,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,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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,SAAS,uCAAuC;AAKnD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,8BAA8B,SAAS,EAC/C,CAOU;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-ai-credits.ts
|
|
4
4
|
const PlanlyGetAiCreditsInput = zod.z.object({ teamId: zod.z.string().describe("Id of team to retrieve AI credits for.") }).describe("Request model for retrieving AI credits for a team.");
|
|
5
|
-
const PlanlyGetAiCreditsOutput = zod.z.object({ data: zod.z.number().int().describe("Number of AI credits available for the team.") }).describe("Response model containing available AI credits.");
|
|
5
|
+
const PlanlyGetAiCreditsOutput = zod.z.object({ data: zod.z.number().int().describe("Number of AI credits available for the team.").nullable() }).describe("Response model containing available AI credits.");
|
|
6
6
|
const planlyGetAiCredits = require_action.action("PLANLY_GET_AI_CREDITS", {
|
|
7
7
|
slug: "planly-get-ai-credits",
|
|
8
8
|
name: "Get AI Credits",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ai-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput
|
|
1
|
+
{"version":3,"file":"get-ai-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\").nullable(),\n}).describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,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/get-ai-credits.d.ts
|
|
4
|
-
declare const PlanlyGetAiCreditsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyGetAiCreditsInput: z.ZodObject<{
|
|
5
|
+
teamId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PlanlyGetAiCreditsOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const planlyGetAiCredits: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
teamId: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { planlyGetAiCredits };
|
|
9
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":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-ai-credits.d.cts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-ai-credits.d.ts
|
|
4
|
-
declare const PlanlyGetAiCreditsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyGetAiCreditsInput: z.ZodObject<{
|
|
5
|
+
teamId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PlanlyGetAiCreditsOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const planlyGetAiCredits: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
teamId: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { planlyGetAiCredits };
|
|
9
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":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-ai-credits.d.mts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const planlyGetAiCredits = action("PLANLY_GET_AI_CREDITS", {
|
|
|
5
5
|
name: "Get AI Credits",
|
|
6
6
|
description: "Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.",
|
|
7
7
|
input: z.object({ teamId: z.string().describe("Id of team to retrieve AI credits for.") }).describe("Request model for retrieving AI credits for a team."),
|
|
8
|
-
output: z.object({ data: z.number().int().describe("Number of AI credits available for the team.") }).describe("Response model containing available AI credits.")
|
|
8
|
+
output: z.object({ data: z.number().int().describe("Number of AI credits available for the team.").nullable() }).describe("Response model containing available AI credits.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { planlyGetAiCredits };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ai-credits.mjs","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput
|
|
1
|
+
{"version":3,"file":"get-ai-credits.mjs","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\").nullable(),\n}).describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,SAAS,iDAOF;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
|
|
1
|
+
{"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput = z.object({\n id: z.string().describe(\"Team ID to retrieve information for.\"),\n}).describe(\"Request model for retrieving detailed information about a specific team.\");\nexport const PlanlyGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n role: z.number().int().describe(\"User's role identifier within the team.\").nullable().optional(),\n limits: z.record(z.string(), z.unknown()).describe(\"Team limits object containing usage quotas and restrictions.\").nullable().optional(),\n picture: z.string().describe(\"URL or path to the team's profile picture.\").nullable().optional(),\n permissions: z.record(z.string(), z.unknown()).describe(\"Team permissions object containing access control settings.\").nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Team integrations object containing connected service configurations.\").nullable().optional(),\n members_count: z.number().int().describe(\"Total number of members in the team.\").nullable().optional(),\n channels_count: z.number().int().describe(\"Total number of connected channels for the team.\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels for the team.\").nullable().optional(),\n}).describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: PlanlyGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAElH,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,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/get-team.d.ts
|
|
4
|
-
declare const PlanlyGetTeamInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyGetTeamInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PlanlyGetTeamOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
limits: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
permissions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
integrations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const planlyGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { planlyGetTeam };
|
|
9
24
|
//# sourceMappingURL=get-team.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-team.d.cts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"get-team.d.cts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAGlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAanB,aAAA,gCAAa,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-team.d.ts
|
|
4
|
-
declare const PlanlyGetTeamInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyGetTeamInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PlanlyGetTeamOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
limits: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
permissions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
integrations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const planlyGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { planlyGetTeam };
|
|
9
24
|
//# sourceMappingURL=get-team.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-team.d.mts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"get-team.d.mts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAGlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAanB,aAAA,gCAAa,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-team.mjs","names":[],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput
|
|
1
|
+
{"version":3,"file":"get-team.mjs","names":[],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput = z.object({\n id: z.string().describe(\"Team ID to retrieve information for.\"),\n}).describe(\"Request model for retrieving detailed information about a specific team.\");\nexport const PlanlyGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n role: z.number().int().describe(\"User's role identifier within the team.\").nullable().optional(),\n limits: z.record(z.string(), z.unknown()).describe(\"Team limits object containing usage quotas and restrictions.\").nullable().optional(),\n picture: z.string().describe(\"URL or path to the team's profile picture.\").nullable().optional(),\n permissions: z.record(z.string(), z.unknown()).describe(\"Team permissions object containing access control settings.\").nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Team integrations object containing connected service configurations.\").nullable().optional(),\n members_count: z.number().int().describe(\"Total number of members in the team.\").nullable().optional(),\n channels_count: z.number().int().describe(\"Total number of connected channels for the team.\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels for the team.\").nullable().optional(),\n}).describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: PlanlyGetTeamOutput,\n});\n"],"mappings":";;AAoBA,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgC,EAAE,OAAO,EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,0EAkBH;CACP,QAlBiC,EAAE,OAAO;EAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,sGAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-media-from-url.cjs","names":["z","action"],"sources":["../../src/actions/import-media-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyImportMediaFromUrlInput
|
|
1
|
+
{"version":3,"file":"import-media-from-url.cjs","names":["z","action"],"sources":["../../src/actions/import-media-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyImportMediaFromUrlInput = z.object({\n url: z.string().describe(\"URL of the media to import. Supported media content types are video/mp4, image/png, image/jpeg, image/webp.\"),\n teamId: z.string().describe(\"ID of the team to import media to\"),\n}).describe(\"Request model for importing media from a URL.\");\nconst PlanlyImportMediaFromUrl_ResolutionSchema = z.object({\n width: z.number().int().describe(\"Width of the media in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels\").nullable().optional(),\n}).describe(\"Resolution information for the imported media.\");\nconst PlanlyImportMediaFromUrl_MediaDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the imported media\").nullable().optional(),\n contentUri: z.string().describe(\"URI of the imported media content\").nullable().optional(),\n resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),\n contentType: z.number().int().describe(\"Content type code of the media\").nullable().optional(),\n thumbnailUri: z.string().describe(\"URI of the media thumbnail\").nullable().optional(),\n}).describe(\"Media data returned from the import operation.\");\nexport const PlanlyImportMediaFromUrlOutput = z.object({\n data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).describe(\"Response model returned after importing media from URL.\");\n\nexport const planlyImportMediaFromUrl = action(\"PLANLY_IMPORT_MEDIA_FROM_URL\", {\n slug: \"planly-import-media-from-url\",\n name: \"Import Media From URL\",\n description: \"Tool to import media from a URL to your team. Use when you need to add external media (video/mp4, image/png, image/jpeg, image/webp) to a team's media library.\",\n input: PlanlyImportMediaFromUrlInput,\n output: PlanlyImportMediaFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACjE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/import-media-from-url.d.ts
|
|
4
|
-
declare const PlanlyImportMediaFromUrlInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyImportMediaFromUrlInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
teamId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PlanlyImportMediaFromUrlOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
contentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
16
|
+
contentType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
thumbnailUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>>;
|
|
19
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const planlyImportMediaFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
url: string;
|
|
23
|
+
teamId: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { planlyImportMediaFromUrl };
|
|
9
27
|
//# sourceMappingURL=import-media-from-url.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-media-from-url.d.cts","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"import-media-from-url.d.cts","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/import-media-from-url.d.ts
|
|
4
|
-
declare const PlanlyImportMediaFromUrlInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyImportMediaFromUrlInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
teamId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PlanlyImportMediaFromUrlOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
contentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
16
|
+
contentType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
thumbnailUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>>;
|
|
19
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const planlyImportMediaFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
url: string;
|
|
23
|
+
teamId: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { planlyImportMediaFromUrl };
|
|
9
27
|
//# sourceMappingURL=import-media-from-url.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-media-from-url.d.mts","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"import-media-from-url.d.mts","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-media-from-url.mjs","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyImportMediaFromUrlInput
|
|
1
|
+
{"version":3,"file":"import-media-from-url.mjs","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyImportMediaFromUrlInput = z.object({\n url: z.string().describe(\"URL of the media to import. Supported media content types are video/mp4, image/png, image/jpeg, image/webp.\"),\n teamId: z.string().describe(\"ID of the team to import media to\"),\n}).describe(\"Request model for importing media from a URL.\");\nconst PlanlyImportMediaFromUrl_ResolutionSchema = z.object({\n width: z.number().int().describe(\"Width of the media in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels\").nullable().optional(),\n}).describe(\"Resolution information for the imported media.\");\nconst PlanlyImportMediaFromUrl_MediaDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the imported media\").nullable().optional(),\n contentUri: z.string().describe(\"URI of the imported media content\").nullable().optional(),\n resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),\n contentType: z.number().int().describe(\"Content type code of the media\").nullable().optional(),\n thumbnailUri: z.string().describe(\"URI of the media thumbnail\").nullable().optional(),\n}).describe(\"Media data returned from the import operation.\");\nexport const PlanlyImportMediaFromUrlOutput = z.object({\n data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).describe(\"Response model returned after importing media from URL.\");\n\nexport const planlyImportMediaFromUrl = action(\"PLANLY_IMPORT_MEDIA_FROM_URL\", {\n slug: \"planly-import-media-from-url\",\n name: \"Import Media From URL\",\n description: \"Tool to import media from a URL to your team. Use when you need to add external media (video/mp4, image/png, image/jpeg, image/webp) to a team's media library.\",\n input: PlanlyImportMediaFromUrlInput,\n output: PlanlyImportMediaFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACjE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAM5D,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListChannelsInput
|
|
1
|
+
{"version":3,"file":"list-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListChannelsInput = z.object({\n team_id: z.string().describe(\"ID of the team to retrieve its channels\"),\n}).describe(\"Request model for listing all social media channels connected to a team.\");\nconst PlanlyListChannels_ChannelResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the channel\").nullable().optional(),\n url: z.string().describe(\"URL of the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n method: z.string().describe(\"Connection method used for the channel\").nullable().optional(),\n status: z.number().int().describe(\"Status code of the channel\").nullable().optional(),\n picture: z.string().describe(\"Profile picture URL of the channel\").nullable().optional(),\n is_group: z.boolean().describe(\"Whether the channel is a group\").nullable().optional(),\n schedules: z.number().int().describe(\"Number of schedules associated with the channel\").nullable().optional(),\n external_id: z.string().describe(\"External ID from the social network\").nullable().optional(),\n granted_scopes: z.array(z.string()).describe(\"List of granted permission scopes for the channel\").nullable().optional(),\n social_network: z.string().describe(\"Type of social network (e.g., facebook, twitter, instagram)\").nullable().optional(),\n declined_scopes: z.array(z.string()).describe(\"List of declined permission scopes for the channel\").nullable().optional(),\n}).describe(\"Model representing a single social media channel.\");\nexport const PlanlyListChannelsOutput = z.object({\n data: z.array(PlanlyListChannels_ChannelResponseSchema).describe(\"List of social media channels connected to the team\"),\n error: z.unknown().describe(\"Error information if the request failed\").nullable().optional(),\n}).describe(\"Response model containing the list of channels.\");\n\nexport const planlyListChannels = action(\"PLANLY_LIST_CHANNELS\", {\n slug: \"planly-list-channels\",\n name: \"List Channels\",\n description: \"Tool to list all social media channels connected to a team. Use when you need to retrieve channel details including name, picture, social network type, status, and scopes.\",\n input: PlanlyListChannelsInput,\n output: PlanlyListChannelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;CACtH,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-channels.d.ts
|
|
4
|
-
declare const PlanlyListChannelsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyListChannelsInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PlanlyListChannelsOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
is_group: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
+
schedules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
granted_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
|
+
social_network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
declined_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const planlyListChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
team_id: string;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { planlyListChannels };
|
|
9
29
|
//# sourceMappingURL=list-channels.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-channels.d.cts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-channels.d.cts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAiBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-channels.d.ts
|
|
4
|
-
declare const PlanlyListChannelsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyListChannelsInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PlanlyListChannelsOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
is_group: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
+
schedules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
granted_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
|
+
social_network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
declined_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const planlyListChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
team_id: string;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { planlyListChannels };
|
|
9
29
|
//# sourceMappingURL=list-channels.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-channels.d.mts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-channels.d.mts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAiBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-channels.mjs","names":[],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListChannelsInput
|
|
1
|
+
{"version":3,"file":"list-channels.mjs","names":[],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListChannelsInput = z.object({\n team_id: z.string().describe(\"ID of the team to retrieve its channels\"),\n}).describe(\"Request model for listing all social media channels connected to a team.\");\nconst PlanlyListChannels_ChannelResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the channel\").nullable().optional(),\n url: z.string().describe(\"URL of the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n method: z.string().describe(\"Connection method used for the channel\").nullable().optional(),\n status: z.number().int().describe(\"Status code of the channel\").nullable().optional(),\n picture: z.string().describe(\"Profile picture URL of the channel\").nullable().optional(),\n is_group: z.boolean().describe(\"Whether the channel is a group\").nullable().optional(),\n schedules: z.number().int().describe(\"Number of schedules associated with the channel\").nullable().optional(),\n external_id: z.string().describe(\"External ID from the social network\").nullable().optional(),\n granted_scopes: z.array(z.string()).describe(\"List of granted permission scopes for the channel\").nullable().optional(),\n social_network: z.string().describe(\"Type of social network (e.g., facebook, twitter, instagram)\").nullable().optional(),\n declined_scopes: z.array(z.string()).describe(\"List of declined permission scopes for the channel\").nullable().optional(),\n}).describe(\"Model representing a single social media channel.\");\nexport const PlanlyListChannelsOutput = z.object({\n data: z.array(PlanlyListChannels_ChannelResponseSchema).describe(\"List of social media channels connected to the team\"),\n error: z.unknown().describe(\"Error information if the request failed\").nullable().optional(),\n}).describe(\"Response model containing the list of channels.\");\n\nexport const planlyListChannels = action(\"PLANLY_LIST_CHANNELS\", {\n slug: \"planly-list-channels\",\n name: \"List Channels\",\n description: \"Tool to list all social media channels connected to a team. Use when you need to retrieve channel details including name, picture, social network type, status, and scopes.\",\n input: PlanlyListChannelsInput,\n output: PlanlyListChannelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAM/D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;EACtH,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.cjs","names":["z","action"],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListMediaInput
|
|
1
|
+
{"version":3,"file":"list-media.cjs","names":["z","action"],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListMediaInput = z.object({\n team_id: z.string().describe(\"ID of the team to retrieve media files for\"),\n pagination: z.object({\n cursor: z.string().describe(\"Pagination cursor from the previous response's 'next' field. Use to fetch the next page of results.\").optional(),\n order_by: z.array(z.string()).describe(\"Sorting array with exactly 2 elements: [field, direction]. Field must be 'CreatedAt' or 'ContentLength', direction must be 'asc' or 'desc'. Example: ['CreatedAt', 'desc']\").optional(),\n page_size: z.number().int().default(50).describe(\"Number of media items to return per page. Defaults to 50.\").optional(),\n}).describe(\"Pagination configuration for listing media.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst PlanlyListMedia_MediaItemSchema = z.object({\n id: z.string().describe(\"Media ID\").nullable().optional(),\n url: z.string().describe(\"Media URL\").nullable().optional(),\n team_id: z.string().describe(\"Team ID\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n content_type: z.string().describe(\"Content type of the media\").nullable().optional(),\n thumbnail_url: z.string().describe(\"Thumbnail URL\").nullable().optional(),\n content_length: z.number().int().describe(\"Size of the media in bytes\").nullable().optional(),\n}).describe(\"Individual media item information.\");\nconst PlanlyListMedia_MediaDataSchema = z.object({\n next: z.string().describe(\"Cursor for fetching the next page of results. Pass this value in the next request's pagination.cursor field.\").nullable().optional(),\n rows: z.array(PlanlyListMedia_MediaItemSchema).describe(\"List of media items\").nullable().optional(),\n total_number_of_rows: z.number().int().describe(\"Total number of media items available\").nullable().optional(),\n}).describe(\"Media data response wrapper.\");\nexport const PlanlyListMediaOutput = z.object({\n data: PlanlyListMedia_MediaDataSchema.nullable(),\n error: z.unknown().describe(\"Error information if request failed\").nullable().optional(),\n}).describe(\"Response model for list media action.\");\n\nexport const planlyListMedia = action(\"PLANLY_LIST_MEDIA\", {\n slug: \"planly-list-media\",\n name: \"List media files\",\n description: \"Tool to retrieve a paginated list of media files in a team. Use when you need to fetch media assets, browse uploaded files, or implement media management features with cursor-based pagination.\",\n input: PlanlyListMediaInput,\n output: PlanlyListMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACzE,YAAYA,IAAAA,EAAE,OAAO;EACrB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC5I,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;EAC9N,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,MAAMA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAM,gCAAgC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-media.d.ts
|
|
4
|
-
declare const PlanlyListMediaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyListMediaInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
8
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const PlanlyListMediaOutput: z.ZodObject<{
|
|
13
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
rows: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
team_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
}, z.core.$strip>>>>;
|
|
25
|
+
total_number_of_rows: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
declare const planlyListMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
team_id: string;
|
|
31
|
+
pagination?: {
|
|
32
|
+
cursor?: string | undefined;
|
|
33
|
+
order_by?: string[] | undefined;
|
|
34
|
+
page_size?: number | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { planlyListMedia };
|
|
9
39
|
//# sourceMappingURL=list-media.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.d.cts","names":[],"sources":["../../src/actions/list-media.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-media.d.cts","names":[],"sources":["../../src/actions/list-media.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAuBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-media.d.ts
|
|
4
|
-
declare const PlanlyListMediaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlanlyListMediaInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
8
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const PlanlyListMediaOutput: z.ZodObject<{
|
|
13
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
rows: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
team_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
}, z.core.$strip>>>>;
|
|
25
|
+
total_number_of_rows: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
declare const planlyListMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
team_id: string;
|
|
31
|
+
pagination?: {
|
|
32
|
+
cursor?: string | undefined;
|
|
33
|
+
order_by?: string[] | undefined;
|
|
34
|
+
page_size?: number | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { planlyListMedia };
|
|
9
39
|
//# sourceMappingURL=list-media.d.mts.map
|