@keystrokehq/planly 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/complete-ai-prompt.cjs +3 -3
- package/dist/actions/complete-ai-prompt.cjs.map +1 -1
- package/dist/actions/complete-ai-prompt.d.cts +3 -3
- package/dist/actions/complete-ai-prompt.d.mts +3 -3
- package/dist/actions/complete-ai-prompt.mjs +3 -3
- package/dist/actions/complete-ai-prompt.mjs.map +1 -1
- package/dist/actions/create-team.cjs +2 -2
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +2 -2
- package/dist/actions/create-team.d.mts +2 -2
- package/dist/actions/create-team.mjs +2 -2
- package/dist/actions/create-team.mjs.map +1 -1
- package/dist/actions/delete-media.cjs +1 -1
- package/dist/actions/delete-media.cjs.map +1 -1
- package/dist/actions/delete-media.d.cts +1 -1
- package/dist/actions/delete-media.d.mts +1 -1
- package/dist/actions/delete-media.mjs +1 -1
- package/dist/actions/delete-media.mjs.map +1 -1
- package/dist/actions/delete-team.cjs +1 -1
- package/dist/actions/delete-team.cjs.map +1 -1
- package/dist/actions/delete-team.d.cts +1 -1
- package/dist/actions/delete-team.d.mts +1 -1
- package/dist/actions/delete-team.mjs +1 -1
- package/dist/actions/delete-team.mjs.map +1 -1
- package/dist/actions/edit-team.cjs +5 -5
- package/dist/actions/edit-team.cjs.map +1 -1
- package/dist/actions/edit-team.d.cts +5 -5
- package/dist/actions/edit-team.d.mts +5 -5
- package/dist/actions/edit-team.mjs +5 -5
- package/dist/actions/edit-team.mjs.map +1 -1
- package/dist/actions/get-ai-credits.cjs +1 -1
- package/dist/actions/get-ai-credits.cjs.map +1 -1
- package/dist/actions/get-ai-credits.d.cts +1 -1
- package/dist/actions/get-ai-credits.d.mts +1 -1
- package/dist/actions/get-ai-credits.mjs +1 -1
- package/dist/actions/get-ai-credits.mjs.map +1 -1
- package/dist/actions/get-team.cjs +1 -1
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +1 -1
- package/dist/actions/get-team.d.mts +1 -1
- package/dist/actions/get-team.mjs +1 -1
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/import-media-from-url.cjs +3 -3
- package/dist/actions/import-media-from-url.cjs.map +1 -1
- package/dist/actions/import-media-from-url.d.cts +3 -3
- package/dist/actions/import-media-from-url.d.mts +3 -3
- package/dist/actions/import-media-from-url.mjs +3 -3
- package/dist/actions/import-media-from-url.mjs.map +1 -1
- package/dist/actions/list-channels.cjs +2 -2
- package/dist/actions/list-channels.cjs.map +1 -1
- package/dist/actions/list-channels.d.cts +2 -2
- package/dist/actions/list-channels.d.mts +2 -2
- package/dist/actions/list-channels.mjs +2 -2
- package/dist/actions/list-channels.mjs.map +1 -1
- package/dist/actions/list-media.cjs +3 -3
- package/dist/actions/list-media.cjs.map +1 -1
- package/dist/actions/list-media.d.cts +3 -3
- package/dist/actions/list-media.d.mts +3 -3
- package/dist/actions/list-media.mjs +3 -3
- package/dist/actions/list-media.mjs.map +1 -1
- package/dist/actions/list-schedule-groups.cjs +9 -9
- package/dist/actions/list-schedule-groups.cjs.map +1 -1
- package/dist/actions/list-schedule-groups.d.cts +9 -9
- package/dist/actions/list-schedule-groups.d.mts +9 -9
- package/dist/actions/list-schedule-groups.mjs +9 -9
- package/dist/actions/list-schedule-groups.mjs.map +1 -1
- package/dist/actions/list-schedules.cjs +5 -5
- package/dist/actions/list-schedules.cjs.map +1 -1
- package/dist/actions/list-schedules.d.cts +5 -5
- package/dist/actions/list-schedules.d.mts +5 -5
- package/dist/actions/list-schedules.mjs +5 -5
- package/dist/actions/list-schedules.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +2 -2
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +2 -2
- package/dist/actions/list-team-users.d.mts +2 -2
- package/dist/actions/list-team-users.mjs +2 -2
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +2 -2
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +2 -2
- package/dist/actions/list-teams.d.mts +2 -2
- package/dist/actions/list-teams.mjs +2 -2
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/start-media-upload.cjs +2 -2
- package/dist/actions/start-media-upload.cjs.map +1 -1
- package/dist/actions/start-media-upload.d.cts +2 -2
- package/dist/actions/start-media-upload.d.mts +2 -2
- package/dist/actions/start-media-upload.mjs +2 -2
- package/dist/actions/start-media-upload.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ declare const PlanlyGetTeamOutput: z.ZodObject<{
|
|
|
15
15
|
members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const planlyGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,7 +15,7 @@ declare const PlanlyGetTeamOutput: z.ZodObject<{
|
|
|
15
15
|
members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const planlyGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -16,7 +16,7 @@ const planlyGetTeam = action("PLANLY_GET_TEAM", {
|
|
|
16
16
|
members_count: z.number().int().describe("Total number of members in the team.").nullable().optional(),
|
|
17
17
|
channels_count: z.number().int().describe("Total number of connected channels for the team.").nullable().optional(),
|
|
18
18
|
disconnected_channels_count: z.number().int().describe("Number of disconnected channels for the team.").nullable().optional()
|
|
19
|
-
}).describe("Response model containing detailed team information including permissions, limits, and integrations.")
|
|
19
|
+
}).passthrough().describe("Response model containing detailed team information including permissions, limits, and integrations.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { planlyGetTeam };
|
|
@@ -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 = 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,
|
|
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}).passthrough().describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: P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AC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAOhB;AACV,CAAC"}
|
|
@@ -8,18 +8,18 @@ const PlanlyImportMediaFromUrlInput = zod.z.object({
|
|
|
8
8
|
const PlanlyImportMediaFromUrl_ResolutionSchema = zod.z.object({
|
|
9
9
|
width: zod.z.number().int().describe("Width of the media in pixels").nullable().optional(),
|
|
10
10
|
height: zod.z.number().int().describe("Height of the media in pixels").nullable().optional()
|
|
11
|
-
}).describe("Resolution information for the imported media.");
|
|
11
|
+
}).passthrough().describe("Resolution information for the imported media.");
|
|
12
12
|
const PlanlyImportMediaFromUrl_MediaDataSchema = zod.z.object({
|
|
13
13
|
id: zod.z.string().describe("Unique identifier of the imported media").nullable().optional(),
|
|
14
14
|
contentUri: zod.z.string().describe("URI of the imported media content").nullable().optional(),
|
|
15
15
|
resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),
|
|
16
16
|
contentType: zod.z.number().int().describe("Content type code of the media").nullable().optional(),
|
|
17
17
|
thumbnailUri: zod.z.string().describe("URI of the media thumbnail").nullable().optional()
|
|
18
|
-
}).describe("Media data returned from the import operation.");
|
|
18
|
+
}).passthrough().describe("Media data returned from the import operation.");
|
|
19
19
|
const PlanlyImportMediaFromUrlOutput = zod.z.object({
|
|
20
20
|
data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),
|
|
21
21
|
error: zod.z.string().describe("Error message if the operation failed").nullable().optional()
|
|
22
|
-
}).describe("Response model returned after importing media from URL.");
|
|
22
|
+
}).passthrough().describe("Response model returned after importing media from URL.");
|
|
23
23
|
const planlyImportMediaFromUrl = require_action.action("PLANLY_IMPORT_MEDIA_FROM_URL", {
|
|
24
24
|
slug: "planly-import-media-from-url",
|
|
25
25
|
name: "Import Media From URL",
|
|
@@ -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 = 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;
|
|
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}).passthrough().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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,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,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,12 +12,12 @@ declare const PlanlyImportMediaFromUrlOutput: z.ZodObject<{
|
|
|
12
12
|
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
contentType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
thumbnailUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const planlyImportMediaFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
url: string;
|
|
23
23
|
teamId: string;
|
|
@@ -12,12 +12,12 @@ declare const PlanlyImportMediaFromUrlOutput: z.ZodObject<{
|
|
|
12
12
|
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
contentType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
thumbnailUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const planlyImportMediaFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
url: string;
|
|
23
23
|
teamId: string;
|
|
@@ -8,14 +8,14 @@ const PlanlyImportMediaFromUrlInput = z.object({
|
|
|
8
8
|
const PlanlyImportMediaFromUrl_ResolutionSchema = z.object({
|
|
9
9
|
width: z.number().int().describe("Width of the media in pixels").nullable().optional(),
|
|
10
10
|
height: z.number().int().describe("Height of the media in pixels").nullable().optional()
|
|
11
|
-
}).describe("Resolution information for the imported media.");
|
|
11
|
+
}).passthrough().describe("Resolution information for the imported media.");
|
|
12
12
|
const PlanlyImportMediaFromUrl_MediaDataSchema = z.object({
|
|
13
13
|
id: z.string().describe("Unique identifier of the imported media").nullable().optional(),
|
|
14
14
|
contentUri: z.string().describe("URI of the imported media content").nullable().optional(),
|
|
15
15
|
resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),
|
|
16
16
|
contentType: z.number().int().describe("Content type code of the media").nullable().optional(),
|
|
17
17
|
thumbnailUri: z.string().describe("URI of the media thumbnail").nullable().optional()
|
|
18
|
-
}).describe("Media data returned from the import operation.");
|
|
18
|
+
}).passthrough().describe("Media data returned from the import operation.");
|
|
19
19
|
const planlyImportMediaFromUrl = action("PLANLY_IMPORT_MEDIA_FROM_URL", {
|
|
20
20
|
slug: "planly-import-media-from-url",
|
|
21
21
|
name: "Import Media From URL",
|
|
@@ -24,7 +24,7 @@ const planlyImportMediaFromUrl = action("PLANLY_IMPORT_MEDIA_FROM_URL", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),
|
|
26
26
|
error: z.string().describe("Error message if the operation failed").nullable().optional()
|
|
27
|
-
}).describe("Response model returned after importing media from URL.")
|
|
27
|
+
}).passthrough().describe("Response model returned after importing media from URL.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { planlyImportMediaFromUrl };
|
|
@@ -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 = 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;
|
|
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}).passthrough().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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,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,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -15,11 +15,11 @@ const PlanlyListChannels_ChannelResponseSchema = zod.z.object({
|
|
|
15
15
|
granted_scopes: zod.z.array(zod.z.string()).describe("List of granted permission scopes for the channel").nullable().optional(),
|
|
16
16
|
social_network: zod.z.string().describe("Type of social network (e.g., facebook, twitter, instagram)").nullable().optional(),
|
|
17
17
|
declined_scopes: zod.z.array(zod.z.string()).describe("List of declined permission scopes for the channel").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single social media channel.");
|
|
18
|
+
}).passthrough().describe("Model representing a single social media channel.");
|
|
19
19
|
const PlanlyListChannelsOutput = zod.z.object({
|
|
20
20
|
data: zod.z.array(PlanlyListChannels_ChannelResponseSchema).describe("List of social media channels connected to the team"),
|
|
21
21
|
error: zod.z.unknown().describe("Error information if the request failed").nullable().optional()
|
|
22
|
-
}).describe("Response model containing the list of channels.");
|
|
22
|
+
}).passthrough().describe("Response model containing the list of channels.");
|
|
23
23
|
const planlyListChannels = require_action.action("PLANLY_LIST_CHANNELS", {
|
|
24
24
|
slug: "planly-list-channels",
|
|
25
25
|
name: "List Channels",
|
|
@@ -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 = 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":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AAO,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;
|
|
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,9 +18,9 @@ declare const PlanlyListChannelsOutput: z.ZodObject<{
|
|
|
18
18
|
granted_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
19
|
social_network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
declined_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const planlyListChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
team_id: string;
|
|
26
26
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -18,9 +18,9 @@ declare const PlanlyListChannelsOutput: z.ZodObject<{
|
|
|
18
18
|
granted_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
19
|
social_network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
declined_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const planlyListChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
team_id: string;
|
|
26
26
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,7 +15,7 @@ const PlanlyListChannels_ChannelResponseSchema = z.object({
|
|
|
15
15
|
granted_scopes: z.array(z.string()).describe("List of granted permission scopes for the channel").nullable().optional(),
|
|
16
16
|
social_network: z.string().describe("Type of social network (e.g., facebook, twitter, instagram)").nullable().optional(),
|
|
17
17
|
declined_scopes: z.array(z.string()).describe("List of declined permission scopes for the channel").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single social media channel.");
|
|
18
|
+
}).passthrough().describe("Model representing a single social media channel.");
|
|
19
19
|
const planlyListChannels = action("PLANLY_LIST_CHANNELS", {
|
|
20
20
|
slug: "planly-list-channels",
|
|
21
21
|
name: "List Channels",
|
|
@@ -24,7 +24,7 @@ const planlyListChannels = action("PLANLY_LIST_CHANNELS", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
data: z.array(PlanlyListChannels_ChannelResponseSchema).describe("List of social media channels connected to the team"),
|
|
26
26
|
error: z.unknown().describe("Error information if the request failed").nullable().optional()
|
|
27
|
-
}).describe("Response model containing the list of channels.")
|
|
27
|
+
}).passthrough().describe("Response model containing the list of channels.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { planlyListChannels };
|
|
@@ -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 = 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;
|
|
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,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,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -18,16 +18,16 @@ const PlanlyListMedia_MediaItemSchema = zod.z.object({
|
|
|
18
18
|
content_type: zod.z.string().describe("Content type of the media").nullable().optional(),
|
|
19
19
|
thumbnail_url: zod.z.string().describe("Thumbnail URL").nullable().optional(),
|
|
20
20
|
content_length: zod.z.number().int().describe("Size of the media in bytes").nullable().optional()
|
|
21
|
-
}).describe("Individual media item information.");
|
|
21
|
+
}).passthrough().describe("Individual media item information.");
|
|
22
22
|
const PlanlyListMedia_MediaDataSchema = zod.z.object({
|
|
23
23
|
next: zod.z.string().describe("Cursor for fetching the next page of results. Pass this value in the next request's pagination.cursor field.").nullable().optional(),
|
|
24
24
|
rows: zod.z.array(PlanlyListMedia_MediaItemSchema).describe("List of media items").nullable().optional(),
|
|
25
25
|
total_number_of_rows: zod.z.number().int().describe("Total number of media items available").nullable().optional()
|
|
26
|
-
}).describe("Media data response wrapper.");
|
|
26
|
+
}).passthrough().describe("Media data response wrapper.");
|
|
27
27
|
const PlanlyListMediaOutput = zod.z.object({
|
|
28
28
|
data: PlanlyListMedia_MediaDataSchema.nullable(),
|
|
29
29
|
error: zod.z.unknown().describe("Error information if request failed").nullable().optional()
|
|
30
|
-
}).describe("Response model for list media action.");
|
|
30
|
+
}).passthrough().describe("Response model for list media action.");
|
|
31
31
|
const planlyListMedia = require_action.action("PLANLY_LIST_MEDIA", {
|
|
32
32
|
slug: "planly-list-media",
|
|
33
33
|
name: "List media files",
|
|
@@ -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 = 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;
|
|
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}).passthrough().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}).passthrough().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}).passthrough().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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BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,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,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,11 +21,11 @@ declare const PlanlyListMediaOutput: z.ZodObject<{
|
|
|
21
21
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
total_number_of_rows: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const planlyListMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
team_id: string;
|
|
31
31
|
pagination?: {
|
|
@@ -21,11 +21,11 @@ declare const PlanlyListMediaOutput: z.ZodObject<{
|
|
|
21
21
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
thumbnail_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
total_number_of_rows: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const planlyListMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
team_id: string;
|
|
31
31
|
pagination?: {
|
|
@@ -18,12 +18,12 @@ const PlanlyListMedia_MediaItemSchema = z.object({
|
|
|
18
18
|
content_type: z.string().describe("Content type of the media").nullable().optional(),
|
|
19
19
|
thumbnail_url: z.string().describe("Thumbnail URL").nullable().optional(),
|
|
20
20
|
content_length: z.number().int().describe("Size of the media in bytes").nullable().optional()
|
|
21
|
-
}).describe("Individual media item information.");
|
|
21
|
+
}).passthrough().describe("Individual media item information.");
|
|
22
22
|
const PlanlyListMedia_MediaDataSchema = z.object({
|
|
23
23
|
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(),
|
|
24
24
|
rows: z.array(PlanlyListMedia_MediaItemSchema).describe("List of media items").nullable().optional(),
|
|
25
25
|
total_number_of_rows: z.number().int().describe("Total number of media items available").nullable().optional()
|
|
26
|
-
}).describe("Media data response wrapper.");
|
|
26
|
+
}).passthrough().describe("Media data response wrapper.");
|
|
27
27
|
const planlyListMedia = action("PLANLY_LIST_MEDIA", {
|
|
28
28
|
slug: "planly-list-media",
|
|
29
29
|
name: "List media files",
|
|
@@ -32,7 +32,7 @@ const planlyListMedia = action("PLANLY_LIST_MEDIA", {
|
|
|
32
32
|
output: z.object({
|
|
33
33
|
data: PlanlyListMedia_MediaDataSchema.nullable(),
|
|
34
34
|
error: z.unknown().describe("Error information if request failed").nullable().optional()
|
|
35
|
-
}).describe("Response model for list media action.")
|
|
35
|
+
}).passthrough().describe("Response model for list media action.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { planlyListMedia };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.mjs","names":[],"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,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACzE,YAAY,EAAE,OAAO;EACrB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC5I,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;EAC9N,WAAW,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,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"list-media.mjs","names":[],"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}).passthrough().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}).passthrough().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}).passthrough().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,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACzE,YAAY,EAAE,OAAO;EACrB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC5I,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;EAC9N,WAAW,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,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,SAAS,EAAE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uCAOhB;AACV,CAAC"}
|
|
@@ -39,15 +39,15 @@ const PlanlyListScheduleGroupsInput = zod.z.object({
|
|
|
39
39
|
}).describe("Request model for listing schedule groups with filtering and pagination.");
|
|
40
40
|
const PlanlyListScheduleGroups_MediaObjectSchema = zod.z.object({
|
|
41
41
|
id: zod.z.string().describe("Media file identifier.").nullable(),
|
|
42
|
-
options: zod.z.
|
|
43
|
-
}).describe("Media object attached to a schedule.");
|
|
42
|
+
options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Platform-specific media configuration options.").nullable().optional()
|
|
43
|
+
}).passthrough().describe("Media object attached to a schedule.");
|
|
44
44
|
const PlanlyListScheduleGroups_ChannelSchema = zod.z.object({
|
|
45
45
|
id: zod.z.string().describe("Unique identifier for the channel.").nullable(),
|
|
46
46
|
name: zod.z.string().describe("Name of the social media channel.").nullable(),
|
|
47
47
|
method: zod.z.string().describe("Posting method used for the channel.").nullable().optional(),
|
|
48
48
|
picture: zod.z.string().describe("Profile picture URL for the channel.").nullable().optional(),
|
|
49
49
|
social_network: zod.z.string().describe("Social network type (e.g., instagram, twitter, linkedin).").nullable()
|
|
50
|
-
}).describe("Channel information within a schedule.");
|
|
50
|
+
}).passthrough().describe("Channel information within a schedule.");
|
|
51
51
|
const PlanlyListScheduleGroups_ScheduleSchema = zod.z.object({
|
|
52
52
|
id: zod.z.string().describe("Unique identifier for the schedule.").nullable(),
|
|
53
53
|
url: zod.z.string().describe("URL of the published post, if available.").nullable().optional(),
|
|
@@ -55,10 +55,10 @@ const PlanlyListScheduleGroups_ScheduleSchema = zod.z.object({
|
|
|
55
55
|
status: zod.z.number().int().describe("Status code of the schedule (0=Draft, 1=Scheduled, 3=Published, 4=Failed).").nullable().optional(),
|
|
56
56
|
channel: PlanlyListScheduleGroups_ChannelSchema.nullable(),
|
|
57
57
|
content: zod.z.string().describe("Text content for the scheduled post.").nullable().optional(),
|
|
58
|
-
options: zod.z.
|
|
58
|
+
options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Platform-specific options for the schedule (varies by social network: Instagram, YouTube, TikTok, etc.).").nullable().optional(),
|
|
59
59
|
externalId: zod.z.string().describe("External ID from the social network platform.").nullable().optional(),
|
|
60
60
|
errorMessage: zod.z.string().describe("Error message if the schedule failed.").nullable().optional()
|
|
61
|
-
}).describe("Individual schedule information within a schedule group.");
|
|
61
|
+
}).passthrough().describe("Individual schedule information within a schedule group.");
|
|
62
62
|
const PlanlyListScheduleGroups_ScheduleGroupSchema = zod.z.object({
|
|
63
63
|
id: zod.z.string().describe("Unique identifier for the schedule group (UUID).").nullable(),
|
|
64
64
|
status: zod.z.string().describe("Overall status of the schedule group (scheduled, draft, published, or failed).").nullable(),
|
|
@@ -66,20 +66,20 @@ const PlanlyListScheduleGroups_ScheduleGroupSchema = zod.z.object({
|
|
|
66
66
|
publishOn: zod.z.string().describe("Scheduled publication date and time in ISO 8601 format.").nullable(),
|
|
67
67
|
schedules: zod.z.array(PlanlyListScheduleGroups_ScheduleSchema).describe("Array of individual schedules in this group."),
|
|
68
68
|
syncEnabled: zod.z.boolean().describe("Whether synchronization is enabled for this schedule group.").nullable()
|
|
69
|
-
}).describe("Schedule group containing multiple schedules.");
|
|
69
|
+
}).passthrough().describe("Schedule group containing multiple schedules.");
|
|
70
70
|
const PlanlyListScheduleGroups_ScheduleGroupDataSchema = zod.z.object({
|
|
71
71
|
next: zod.z.string().describe("Pagination cursor for retrieving the next page of results. Null if no more pages.").nullable().optional(),
|
|
72
72
|
rows: zod.z.array(PlanlyListScheduleGroups_ScheduleGroupSchema).describe("Array of schedule group objects."),
|
|
73
73
|
totalNumberOfRows: zod.z.number().int().describe("Total number of schedule groups matching the query.").nullable()
|
|
74
|
-
}).describe("Data container for schedule groups response.");
|
|
74
|
+
}).passthrough().describe("Data container for schedule groups response.");
|
|
75
75
|
const PlanlyListScheduleGroups_ErrorObjectSchema = zod.z.object({
|
|
76
76
|
code: zod.z.string().describe("Error code if available.").nullable().optional(),
|
|
77
77
|
message: zod.z.string().describe("Error message.").nullable()
|
|
78
|
-
}).describe("Error object in API response.");
|
|
78
|
+
}).passthrough().describe("Error object in API response.");
|
|
79
79
|
const PlanlyListScheduleGroupsOutput = zod.z.object({
|
|
80
80
|
data: PlanlyListScheduleGroups_ScheduleGroupDataSchema.nullable(),
|
|
81
81
|
error: PlanlyListScheduleGroups_ErrorObjectSchema.nullable().optional()
|
|
82
|
-
}).describe("Response model for listing schedule groups.");
|
|
82
|
+
}).passthrough().describe("Response model for listing schedule groups.");
|
|
83
83
|
const planlyListScheduleGroups = require_action.action("PLANLY_LIST_SCHEDULE_GROUPS", {
|
|
84
84
|
slug: "planly-list-schedule-groups",
|
|
85
85
|
name: "List Schedule Groups",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedule-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-schedule-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListScheduleGroupsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of specific schedule group IDs to retrieve. Use when you need to fetch specific schedule groups by their IDs.\").optional(),\n filter: z.object({\n status: z.array(z.union([z.literal(0), z.literal(1), z.literal(3), z.literal(4)]).describe(\"Schedule status enum mapping API integer codes to human-readable names.\")).describe(\"Array of schedule status values to filter by. Use to find schedules in specific states.\").optional(),\n channels: z.array(z.string()).describe(\"Array of channel IDs to filter schedule groups by specific channels. Use to limit results to specific social media channels.\").optional(),\n mediaType: z.array(z.union([z.literal(0), z.literal(1)]).describe(\"Media type enum for filtering schedule groups.\")).describe(\"Array of media types to filter schedule groups. Use to find schedules with specific content types.\").optional(),\n socialNetworks: z.array(z.enum([\"threads\", \"youtube\", \"instagram\", \"tiktok\", \"tiktok_business\", \"twitter\", \"pinterest\", \"facebook\", \"linkedin\", \"mastodon\", \"bluesky\"]).describe(\"Available social network values for filtering.\")).describe(\"Array of social network names to filter schedule groups. Use to limit results to specific social platforms.\").optional(),\n}).describe(\"Filter options for schedule groups.\").optional(),\n teamId: z.string().describe(\"ID of the team to retrieve schedule groups for. Required to scope the request to a specific team.\"),\n dateRange: z.object({\n since: z.string().describe(\"Start date for filtering schedule groups. Use ISO 8601 format (e.g., '2024-01-01T00:00:00Z') or simple date format.\").optional(),\n until: z.string().describe(\"End date for filtering schedule groups. Use ISO 8601 format (e.g., '2024-12-31T23:59:59Z') or simple date format.\").optional(),\n}).describe(\"Date range filter for schedule groups.\").optional(),\n pagination: z.object({\n cursor: z.string().describe(\"A cursor string for pagination from previous response's next field. Use to retrieve the next page of results.\").optional(),\n orderBy: z.array(z.union([z.enum([\"CreatedAt\", \"ContentLength\"]).describe(\"Available fields for ordering results.\"), z.enum([\"asc\", \"desc\"]).describe(\"Order direction for sorting.\")])).describe(\"Array specifying sort order with field and direction. First element is the field (CreatedAt or ContentLength), second is direction (asc or desc).\").optional(),\n pageSize: z.number().int().describe(\"Maximum number of results to return per page. Defaults to 50 if not specified. Maximum allowed is 100.\").optional(),\n}).describe(\"Pagination options for schedule groups listing.\").optional(),\n}).describe(\"Request model for listing schedule groups with filtering and pagination.\");\nconst PlanlyListScheduleGroups_MediaObjectSchema = z.object({\n id: z.string().describe(\"Media file identifier.\").nullable(),\n options: z.object({}).describe(\"Platform-specific media configuration options.\").nullable().optional(),\n}).describe(\"Media object attached to a schedule.\");\nconst PlanlyListScheduleGroups_ChannelSchema = z.object({\n id: z.string().describe(\"Unique identifier for the channel.\").nullable(),\n name: z.string().describe(\"Name of the social media channel.\").nullable(),\n method: z.string().describe(\"Posting method used for the channel.\").nullable().optional(),\n picture: z.string().describe(\"Profile picture URL for the channel.\").nullable().optional(),\n social_network: z.string().describe(\"Social network type (e.g., instagram, twitter, linkedin).\").nullable(),\n}).describe(\"Channel information within a schedule.\");\nconst PlanlyListScheduleGroups_ScheduleSchema = z.object({\n id: z.string().describe(\"Unique identifier for the schedule.\").nullable(),\n url: z.string().describe(\"URL of the published post, if available.\").nullable().optional(),\n media: z.array(PlanlyListScheduleGroups_MediaObjectSchema).describe(\"Array of media objects attached to the schedule.\").nullable().optional(),\n status: z.number().int().describe(\"Status code of the schedule (0=Draft, 1=Scheduled, 3=Published, 4=Failed).\").nullable().optional(),\n channel: PlanlyListScheduleGroups_ChannelSchema.nullable(),\n content: z.string().describe(\"Text content for the scheduled post.\").nullable().optional(),\n options: z.object({}).describe(\"Platform-specific options for the schedule (varies by social network: Instagram, YouTube, TikTok, etc.).\").nullable().optional(),\n externalId: z.string().describe(\"External ID from the social network platform.\").nullable().optional(),\n errorMessage: z.string().describe(\"Error message if the schedule failed.\").nullable().optional(),\n}).describe(\"Individual schedule information within a schedule group.\");\nconst PlanlyListScheduleGroups_ScheduleGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the schedule group (UUID).\").nullable(),\n status: z.string().describe(\"Overall status of the schedule group (scheduled, draft, published, or failed).\").nullable(),\n createdAt: z.string().describe(\"Creation date and time in ISO 8601 format.\").nullable(),\n publishOn: z.string().describe(\"Scheduled publication date and time in ISO 8601 format.\").nullable(),\n schedules: z.array(PlanlyListScheduleGroups_ScheduleSchema).describe(\"Array of individual schedules in this group.\"),\n syncEnabled: z.boolean().describe(\"Whether synchronization is enabled for this schedule group.\").nullable(),\n}).describe(\"Schedule group containing multiple schedules.\");\nconst PlanlyListScheduleGroups_ScheduleGroupDataSchema = z.object({\n next: z.string().describe(\"Pagination cursor for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n rows: z.array(PlanlyListScheduleGroups_ScheduleGroupSchema).describe(\"Array of schedule group objects.\"),\n totalNumberOfRows: z.number().int().describe(\"Total number of schedule groups matching the query.\").nullable(),\n}).describe(\"Data container for schedule groups response.\");\nconst PlanlyListScheduleGroups_ErrorObjectSchema = z.object({\n code: z.string().describe(\"Error code if available.\").nullable().optional(),\n message: z.string().describe(\"Error message.\").nullable(),\n}).describe(\"Error object in API response.\");\nexport const PlanlyListScheduleGroupsOutput = z.object({\n data: PlanlyListScheduleGroups_ScheduleGroupDataSchema.nullable(),\n error: PlanlyListScheduleGroups_ErrorObjectSchema.nullable().optional(),\n}).describe(\"Response model for listing schedule groups.\");\n\nexport const planlyListScheduleGroups = action(\"PLANLY_LIST_SCHEDULE_GROUPS\", {\n slug: \"planly-list-schedule-groups\",\n name: \"List Schedule Groups\",\n description: \"Tool to retrieve a list of schedule groups for a team with comprehensive filtering and pagination. Use when you need to view scheduled posts, filter by channels, status, social networks, media type, or date range. Returns detailed information about each schedule group including individual schedules and their status.\",\n input: PlanlyListScheduleGroupsInput,\n output: PlanlyListScheduleGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClK,QAAQA,IAAAA,EAAE,OAAO;EACjB,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpR,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAChL,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC7O,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAW;GAAW;GAAa;GAAU;GAAmB;GAAW;GAAa;G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C,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,iDAAiD,SAAS;CAChE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-schedule-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-schedule-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListScheduleGroupsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of specific schedule group IDs to retrieve. Use when you need to fetch specific schedule groups by their IDs.\").optional(),\n filter: z.object({\n status: z.array(z.union([z.literal(0), z.literal(1), z.literal(3), z.literal(4)]).describe(\"Schedule status enum mapping API integer codes to human-readable names.\")).describe(\"Array of schedule status values to filter by. Use to find schedules in specific states.\").optional(),\n channels: z.array(z.string()).describe(\"Array of channel IDs to filter schedule groups by specific channels. Use to limit results to specific social media channels.\").optional(),\n mediaType: z.array(z.union([z.literal(0), z.literal(1)]).describe(\"Media type enum for filtering schedule groups.\")).describe(\"Array of media types to filter schedule groups. Use to find schedules with specific content types.\").optional(),\n socialNetworks: z.array(z.enum([\"threads\", \"youtube\", \"instagram\", \"tiktok\", \"tiktok_business\", \"twitter\", \"pinterest\", \"facebook\", \"linkedin\", \"mastodon\", \"bluesky\"]).describe(\"Available social network values for filtering.\")).describe(\"Array of social network names to filter schedule groups. Use to limit results to specific social platforms.\").optional(),\n}).describe(\"Filter options for schedule groups.\").optional(),\n teamId: z.string().describe(\"ID of the team to retrieve schedule groups for. Required to scope the request to a specific team.\"),\n dateRange: z.object({\n since: z.string().describe(\"Start date for filtering schedule groups. Use ISO 8601 format (e.g., '2024-01-01T00:00:00Z') or simple date format.\").optional(),\n until: z.string().describe(\"End date for filtering schedule groups. Use ISO 8601 format (e.g., '2024-12-31T23:59:59Z') or simple date format.\").optional(),\n}).describe(\"Date range filter for schedule groups.\").optional(),\n pagination: z.object({\n cursor: z.string().describe(\"A cursor string for pagination from previous response's next field. Use to retrieve the next page of results.\").optional(),\n orderBy: z.array(z.union([z.enum([\"CreatedAt\", \"ContentLength\"]).describe(\"Available fields for ordering results.\"), z.enum([\"asc\", \"desc\"]).describe(\"Order direction for sorting.\")])).describe(\"Array specifying sort order with field and direction. First element is the field (CreatedAt or ContentLength), second is direction (asc or desc).\").optional(),\n pageSize: z.number().int().describe(\"Maximum number of results to return per page. Defaults to 50 if not specified. Maximum allowed is 100.\").optional(),\n}).describe(\"Pagination options for schedule groups listing.\").optional(),\n}).describe(\"Request model for listing schedule groups with filtering and pagination.\");\nconst PlanlyListScheduleGroups_MediaObjectSchema = z.object({\n id: z.string().describe(\"Media file identifier.\").nullable(),\n options: z.record(z.string(), z.unknown()).describe(\"Platform-specific media configuration options.\").nullable().optional(),\n}).passthrough().describe(\"Media object attached to a schedule.\");\nconst PlanlyListScheduleGroups_ChannelSchema = z.object({\n id: z.string().describe(\"Unique identifier for the channel.\").nullable(),\n name: z.string().describe(\"Name of the social media channel.\").nullable(),\n method: z.string().describe(\"Posting method used for the channel.\").nullable().optional(),\n picture: z.string().describe(\"Profile picture URL for the channel.\").nullable().optional(),\n social_network: z.string().describe(\"Social network type (e.g., instagram, twitter, linkedin).\").nullable(),\n}).passthrough().describe(\"Channel information within a schedule.\");\nconst PlanlyListScheduleGroups_ScheduleSchema = z.object({\n id: z.string().describe(\"Unique identifier for the schedule.\").nullable(),\n url: z.string().describe(\"URL of the published post, if available.\").nullable().optional(),\n media: z.array(PlanlyListScheduleGroups_MediaObjectSchema).describe(\"Array of media objects attached to the schedule.\").nullable().optional(),\n status: z.number().int().describe(\"Status code of the schedule (0=Draft, 1=Scheduled, 3=Published, 4=Failed).\").nullable().optional(),\n channel: PlanlyListScheduleGroups_ChannelSchema.nullable(),\n content: z.string().describe(\"Text content for the scheduled post.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Platform-specific options for the schedule (varies by social network: Instagram, YouTube, TikTok, etc.).\").nullable().optional(),\n externalId: z.string().describe(\"External ID from the social network platform.\").nullable().optional(),\n errorMessage: z.string().describe(\"Error message if the schedule failed.\").nullable().optional(),\n}).passthrough().describe(\"Individual schedule information within a schedule group.\");\nconst PlanlyListScheduleGroups_ScheduleGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the schedule group (UUID).\").nullable(),\n status: z.string().describe(\"Overall status of the schedule group (scheduled, draft, published, or failed).\").nullable(),\n createdAt: z.string().describe(\"Creation date and time in ISO 8601 format.\").nullable(),\n publishOn: z.string().describe(\"Scheduled publication date and time in ISO 8601 format.\").nullable(),\n schedules: z.array(PlanlyListScheduleGroups_ScheduleSchema).describe(\"Array of individual schedules in this group.\"),\n syncEnabled: z.boolean().describe(\"Whether synchronization is enabled for this schedule group.\").nullable(),\n}).passthrough().describe(\"Schedule group containing multiple schedules.\");\nconst PlanlyListScheduleGroups_ScheduleGroupDataSchema = z.object({\n next: z.string().describe(\"Pagination cursor for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n rows: z.array(PlanlyListScheduleGroups_ScheduleGroupSchema).describe(\"Array of schedule group objects.\"),\n totalNumberOfRows: z.number().int().describe(\"Total number of schedule groups matching the query.\").nullable(),\n}).passthrough().describe(\"Data container for schedule groups response.\");\nconst PlanlyListScheduleGroups_ErrorObjectSchema = z.object({\n code: z.string().describe(\"Error code if available.\").nullable().optional(),\n message: z.string().describe(\"Error message.\").nullable(),\n}).passthrough().describe(\"Error object in API response.\");\nexport const PlanlyListScheduleGroupsOutput = z.object({\n data: PlanlyListScheduleGroups_ScheduleGroupDataSchema.nullable(),\n error: PlanlyListScheduleGroups_ErrorObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing schedule groups.\");\n\nexport const planlyListScheduleGroups = action(\"PLANLY_LIST_SCHEDULE_GROUPS\", {\n slug: \"planly-list-schedule-groups\",\n name: \"List Schedule Groups\",\n description: \"Tool to retrieve a list of schedule groups for a team with comprehensive filtering and pagination. Use when you need to view scheduled posts, filter by channels, status, social networks, media type, or date range. Returns detailed information about each schedule group including individual schedules and their status.\",\n input: PlanlyListScheduleGroupsInput,\n output: PlanlyListScheduleGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClK,QAAQA,IAAAA,EAAE,OAAO;EACjB,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpR,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAChL,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC7O,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAW;GAAW;GAAa;GAAU;GAAmB;GAAW;GAA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G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,iDAAiD,SAAS;CAChE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -51,8 +51,8 @@ declare const PlanlyListScheduleGroupsOutput: z.ZodObject<{
|
|
|
51
51
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
media: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
53
53
|
id: z.ZodNullable<z.ZodString>;
|
|
54
|
-
options: z.ZodOptional<z.ZodNullable<z.
|
|
55
|
-
}, z.core.$
|
|
54
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
55
|
+
}, z.core.$loose>>>>;
|
|
56
56
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
57
|
channel: z.ZodNullable<z.ZodObject<{
|
|
58
58
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -60,21 +60,21 @@ declare const PlanlyListScheduleGroupsOutput: z.ZodObject<{
|
|
|
60
60
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
social_network: z.ZodNullable<z.ZodString>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
64
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
options: z.ZodOptional<z.ZodNullable<z.
|
|
65
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
66
66
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
67
|
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$loose>>;
|
|
69
69
|
syncEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
70
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>>;
|
|
71
71
|
totalNumberOfRows: z.ZodNullable<z.ZodNumber>;
|
|
72
|
-
}, z.core.$
|
|
72
|
+
}, z.core.$loose>>;
|
|
73
73
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
74
74
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
message: z.ZodNullable<z.ZodString>;
|
|
76
|
-
}, z.core.$
|
|
77
|
-
}, z.core.$
|
|
76
|
+
}, z.core.$loose>>>;
|
|
77
|
+
}, z.core.$loose>;
|
|
78
78
|
declare const planlyListScheduleGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
79
79
|
teamId: string;
|
|
80
80
|
ids?: string[] | undefined;
|