@keystrokehq/planly 0.1.2 → 0.1.4
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/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -39,15 +39,15 @@ const PlanlyListScheduleGroupsInput = z.object({
|
|
|
39
39
|
}).describe("Request model for listing schedule groups with filtering and pagination.");
|
|
40
40
|
const PlanlyListScheduleGroups_MediaObjectSchema = z.object({
|
|
41
41
|
id: z.string().describe("Media file identifier.").nullable(),
|
|
42
|
-
options: z.
|
|
43
|
-
}).describe("Media object attached to a schedule.");
|
|
42
|
+
options: z.record(z.string(), z.unknown()).describe("Platform-specific media configuration options.").nullable().optional()
|
|
43
|
+
}).passthrough().describe("Media object attached to a schedule.");
|
|
44
44
|
const PlanlyListScheduleGroups_ChannelSchema = z.object({
|
|
45
45
|
id: z.string().describe("Unique identifier for the channel.").nullable(),
|
|
46
46
|
name: z.string().describe("Name of the social media channel.").nullable(),
|
|
47
47
|
method: z.string().describe("Posting method used for the channel.").nullable().optional(),
|
|
48
48
|
picture: z.string().describe("Profile picture URL for the channel.").nullable().optional(),
|
|
49
49
|
social_network: 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 = z.object({
|
|
52
52
|
id: z.string().describe("Unique identifier for the schedule.").nullable(),
|
|
53
53
|
url: z.string().describe("URL of the published post, if available.").nullable().optional(),
|
|
@@ -55,10 +55,10 @@ const PlanlyListScheduleGroups_ScheduleSchema = z.object({
|
|
|
55
55
|
status: 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: z.string().describe("Text content for the scheduled post.").nullable().optional(),
|
|
58
|
-
options: z.
|
|
58
|
+
options: z.record(z.string(), z.unknown()).describe("Platform-specific options for the schedule (varies by social network: Instagram, YouTube, TikTok, etc.).").nullable().optional(),
|
|
59
59
|
externalId: z.string().describe("External ID from the social network platform.").nullable().optional(),
|
|
60
60
|
errorMessage: 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 = z.object({
|
|
63
63
|
id: z.string().describe("Unique identifier for the schedule group (UUID).").nullable(),
|
|
64
64
|
status: z.string().describe("Overall status of the schedule group (scheduled, draft, published, or failed).").nullable(),
|
|
@@ -66,16 +66,16 @@ const PlanlyListScheduleGroups_ScheduleGroupSchema = z.object({
|
|
|
66
66
|
publishOn: z.string().describe("Scheduled publication date and time in ISO 8601 format.").nullable(),
|
|
67
67
|
schedules: z.array(PlanlyListScheduleGroups_ScheduleSchema).describe("Array of individual schedules in this group."),
|
|
68
68
|
syncEnabled: 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 = z.object({
|
|
71
71
|
next: z.string().describe("Pagination cursor for retrieving the next page of results. Null if no more pages.").nullable().optional(),
|
|
72
72
|
rows: z.array(PlanlyListScheduleGroups_ScheduleGroupSchema).describe("Array of schedule group objects."),
|
|
73
73
|
totalNumberOfRows: 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 = z.object({
|
|
76
76
|
code: z.string().describe("Error code if available.").nullable().optional(),
|
|
77
77
|
message: z.string().describe("Error message.").nullable()
|
|
78
|
-
}).describe("Error object in API response.");
|
|
78
|
+
}).passthrough().describe("Error object in API response.");
|
|
79
79
|
const planlyListScheduleGroups = action("PLANLY_LIST_SCHEDULE_GROUPS", {
|
|
80
80
|
slug: "planly-list-schedule-groups",
|
|
81
81
|
name: "List Schedule Groups",
|
|
@@ -84,7 +84,7 @@ const planlyListScheduleGroups = action("PLANLY_LIST_SCHEDULE_GROUPS", {
|
|
|
84
84
|
output: z.object({
|
|
85
85
|
data: PlanlyListScheduleGroups_ScheduleGroupDataSchema.nullable(),
|
|
86
86
|
error: PlanlyListScheduleGroups_ErrorObjectSchema.nullable().optional()
|
|
87
|
-
}).describe("Response model for listing schedule groups.")
|
|
87
|
+
}).passthrough().describe("Response model for listing schedule groups.")
|
|
88
88
|
});
|
|
89
89
|
//#endregion
|
|
90
90
|
export { planlyListScheduleGroups };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedule-groups.mjs","names":[],"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,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,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F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,MAAM,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kCAAkC;CACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAM3C,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,iDAAiD,SAAS;EAChE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-schedule-groups.mjs","names":[],"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,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClK,QAAQ,EAAE,OAAO;EACjB,QAAQ,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpR,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAChL,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD,CA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B,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAMzD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,iDAAiD,SAAS;EAChE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const PlanlyListSchedules_ChannelInfoSchema = zod.z.object({
|
|
|
15
15
|
method: zod.z.string().describe("Channel method").nullable().optional(),
|
|
16
16
|
picture: zod.z.string().describe("Channel picture URL").nullable().optional(),
|
|
17
17
|
social_network: zod.z.string().describe("Social network type").nullable().optional()
|
|
18
|
-
}).describe("Channel information within a schedule.");
|
|
18
|
+
}).passthrough().describe("Channel information within a schedule.");
|
|
19
19
|
const PlanlyListSchedules_ScheduleSchema = zod.z.object({
|
|
20
20
|
id: zod.z.string().describe("Schedule ID (UUID)").nullable().optional(),
|
|
21
21
|
url: zod.z.string().describe("Associated URL").nullable().optional(),
|
|
@@ -23,21 +23,21 @@ const PlanlyListSchedules_ScheduleSchema = zod.z.object({
|
|
|
23
23
|
status: zod.z.number().int().describe("Schedule status code").nullable().optional(),
|
|
24
24
|
channel: PlanlyListSchedules_ChannelInfoSchema.nullable().optional(),
|
|
25
25
|
content: zod.z.string().describe("Schedule content text").nullable().optional(),
|
|
26
|
-
options: zod.z.
|
|
26
|
+
options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Platform-specific settings as key-value pairs").nullable().optional(),
|
|
27
27
|
created_at: zod.z.string().describe("Creation time (ISO 8601 timestamp)").nullable().optional(),
|
|
28
28
|
publish_on: zod.z.string().describe("Scheduled publish time (ISO 8601 timestamp)").nullable().optional(),
|
|
29
29
|
external_id: zod.z.string().describe("External ID reference").nullable().optional(),
|
|
30
30
|
error_message: zod.z.string().describe("Error message if failed").nullable().optional(),
|
|
31
31
|
content_headline: zod.z.string().describe("Content headline").nullable().optional()
|
|
32
|
-
}).describe("Individual schedule object.");
|
|
32
|
+
}).passthrough().describe("Individual schedule object.");
|
|
33
33
|
const PlanlyListSchedules_ScheduleDataSchema = zod.z.object({
|
|
34
34
|
next: zod.z.string().describe("Cursor for the next page of results. Null if no more pages").nullable().optional(),
|
|
35
35
|
rows: zod.z.array(PlanlyListSchedules_ScheduleSchema).describe("Array of schedule objects").nullable().optional()
|
|
36
|
-
}).describe("Data container for schedules list response.");
|
|
36
|
+
}).passthrough().describe("Data container for schedules list response.");
|
|
37
37
|
const PlanlyListSchedulesOutput = zod.z.object({
|
|
38
38
|
data: PlanlyListSchedules_ScheduleDataSchema.nullable(),
|
|
39
39
|
error: zod.z.string().describe("Error message if the request failed").nullable().optional()
|
|
40
|
-
}).describe("Response model for list schedules endpoint.");
|
|
40
|
+
}).passthrough().describe("Response model for list schedules endpoint.");
|
|
41
41
|
const planlyListSchedules = require_action.action("PLANLY_LIST_SCHEDULES", {
|
|
42
42
|
slug: "planly-list-schedules",
|
|
43
43
|
name: "List Schedules",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedules.cjs","names":["z","action"],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListSchedulesInput = z.object({\n teamId: z.string().describe(\"ID of the team to retrieve its schedules\"),\n pagination: z.object({\n cursor: z.string().describe(\"Cursor string for pagination from previous response's next field\").optional(),\n orderBy: z.array(z.string()).describe(\"Array specifying sort order: [field, direction]. Field can be CreatedAt or ContentLength, direction can be asc or desc\").optional(),\n pageSize: z.number().int().describe(\"Maximum number of results to return. Defaults to 50\").optional(),\n}).describe(\"Pagination configuration for list schedules request.\").optional(),\n}).describe(\"Request model for listing schedules in a team.\");\nconst PlanlyListSchedules_ChannelInfoSchema = z.object({\n id: z.string().describe(\"Channel ID\").nullable().optional(),\n name: z.string().describe(\"Channel name\").nullable().optional(),\n method: z.string().describe(\"Channel method\").nullable().optional(),\n picture: z.string().describe(\"Channel picture URL\").nullable().optional(),\n social_network: z.string().describe(\"Social network type\").nullable().optional(),\n}).describe(\"Channel information within a schedule.\");\nconst PlanlyListSchedules_ScheduleSchema = z.object({\n id: z.string().describe(\"Schedule ID (UUID)\").nullable().optional(),\n url: z.string().describe(\"Associated URL\").nullable().optional(),\n media: z.array(z.string()).describe(\"Array of media items or URLs\").nullable().optional(),\n status: z.number().int().describe(\"Schedule status code\").nullable().optional(),\n channel: PlanlyListSchedules_ChannelInfoSchema.nullable().optional(),\n content: z.string().describe(\"Schedule content text\").nullable().optional(),\n options: z.
|
|
1
|
+
{"version":3,"file":"list-schedules.cjs","names":["z","action"],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListSchedulesInput = z.object({\n teamId: z.string().describe(\"ID of the team to retrieve its schedules\"),\n pagination: z.object({\n cursor: z.string().describe(\"Cursor string for pagination from previous response's next field\").optional(),\n orderBy: z.array(z.string()).describe(\"Array specifying sort order: [field, direction]. Field can be CreatedAt or ContentLength, direction can be asc or desc\").optional(),\n pageSize: z.number().int().describe(\"Maximum number of results to return. Defaults to 50\").optional(),\n}).describe(\"Pagination configuration for list schedules request.\").optional(),\n}).describe(\"Request model for listing schedules in a team.\");\nconst PlanlyListSchedules_ChannelInfoSchema = z.object({\n id: z.string().describe(\"Channel ID\").nullable().optional(),\n name: z.string().describe(\"Channel name\").nullable().optional(),\n method: z.string().describe(\"Channel method\").nullable().optional(),\n picture: z.string().describe(\"Channel picture URL\").nullable().optional(),\n social_network: z.string().describe(\"Social network type\").nullable().optional(),\n}).passthrough().describe(\"Channel information within a schedule.\");\nconst PlanlyListSchedules_ScheduleSchema = z.object({\n id: z.string().describe(\"Schedule ID (UUID)\").nullable().optional(),\n url: z.string().describe(\"Associated URL\").nullable().optional(),\n media: z.array(z.string()).describe(\"Array of media items or URLs\").nullable().optional(),\n status: z.number().int().describe(\"Schedule status code\").nullable().optional(),\n channel: PlanlyListSchedules_ChannelInfoSchema.nullable().optional(),\n content: z.string().describe(\"Schedule content text\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Platform-specific settings as key-value pairs\").nullable().optional(),\n created_at: z.string().describe(\"Creation time (ISO 8601 timestamp)\").nullable().optional(),\n publish_on: z.string().describe(\"Scheduled publish time (ISO 8601 timestamp)\").nullable().optional(),\n external_id: z.string().describe(\"External ID reference\").nullable().optional(),\n error_message: z.string().describe(\"Error message if failed\").nullable().optional(),\n content_headline: z.string().describe(\"Content headline\").nullable().optional(),\n}).passthrough().describe(\"Individual schedule object.\");\nconst PlanlyListSchedules_ScheduleDataSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results. Null if no more pages\").nullable().optional(),\n rows: z.array(PlanlyListSchedules_ScheduleSchema).describe(\"Array of schedule objects\").nullable().optional(),\n}).passthrough().describe(\"Data container for schedules list response.\");\nexport const PlanlyListSchedulesOutput = z.object({\n data: PlanlyListSchedules_ScheduleDataSchema.nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for list schedules endpoint.\");\n\nexport const planlyListSchedules = action(\"PLANLY_LIST_SCHEDULES\", {\n slug: \"planly-list-schedules\",\n name: \"List Schedules\",\n description: \"Tool to retrieve a paginated list of schedules in a specified team. Use when you need to fetch schedules with support for pagination, custom ordering, and configurable page size. Returns schedule data with a cursor for fetching additional pages.\",\n input: PlanlyListSchedulesInput,\n output: PlanlyListSchedulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACtE,YAAYA,IAAAA,EAAE,OAAO;EACrB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE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AS,6CAA6C;AACvE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAM,uCAAuC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,18 +23,18 @@ declare const PlanlyListSchedulesOutput: z.ZodObject<{
|
|
|
23
23
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
social_network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
options: z.ZodOptional<z.ZodNullable<z.
|
|
28
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
29
29
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
publish_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
content_headline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
36
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const planlyListSchedules: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
teamId: string;
|
|
40
40
|
pagination?: {
|
|
@@ -23,18 +23,18 @@ declare const PlanlyListSchedulesOutput: z.ZodObject<{
|
|
|
23
23
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
social_network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
options: z.ZodOptional<z.ZodNullable<z.
|
|
28
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
29
29
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
publish_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
content_headline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
36
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const planlyListSchedules: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
teamId: string;
|
|
40
40
|
pagination?: {
|
|
@@ -15,7 +15,7 @@ const PlanlyListSchedules_ChannelInfoSchema = z.object({
|
|
|
15
15
|
method: z.string().describe("Channel method").nullable().optional(),
|
|
16
16
|
picture: z.string().describe("Channel picture URL").nullable().optional(),
|
|
17
17
|
social_network: z.string().describe("Social network type").nullable().optional()
|
|
18
|
-
}).describe("Channel information within a schedule.");
|
|
18
|
+
}).passthrough().describe("Channel information within a schedule.");
|
|
19
19
|
const PlanlyListSchedules_ScheduleSchema = z.object({
|
|
20
20
|
id: z.string().describe("Schedule ID (UUID)").nullable().optional(),
|
|
21
21
|
url: z.string().describe("Associated URL").nullable().optional(),
|
|
@@ -23,17 +23,17 @@ const PlanlyListSchedules_ScheduleSchema = z.object({
|
|
|
23
23
|
status: z.number().int().describe("Schedule status code").nullable().optional(),
|
|
24
24
|
channel: PlanlyListSchedules_ChannelInfoSchema.nullable().optional(),
|
|
25
25
|
content: z.string().describe("Schedule content text").nullable().optional(),
|
|
26
|
-
options: z.
|
|
26
|
+
options: z.record(z.string(), z.unknown()).describe("Platform-specific settings as key-value pairs").nullable().optional(),
|
|
27
27
|
created_at: z.string().describe("Creation time (ISO 8601 timestamp)").nullable().optional(),
|
|
28
28
|
publish_on: z.string().describe("Scheduled publish time (ISO 8601 timestamp)").nullable().optional(),
|
|
29
29
|
external_id: z.string().describe("External ID reference").nullable().optional(),
|
|
30
30
|
error_message: z.string().describe("Error message if failed").nullable().optional(),
|
|
31
31
|
content_headline: z.string().describe("Content headline").nullable().optional()
|
|
32
|
-
}).describe("Individual schedule object.");
|
|
32
|
+
}).passthrough().describe("Individual schedule object.");
|
|
33
33
|
const PlanlyListSchedules_ScheduleDataSchema = z.object({
|
|
34
34
|
next: z.string().describe("Cursor for the next page of results. Null if no more pages").nullable().optional(),
|
|
35
35
|
rows: z.array(PlanlyListSchedules_ScheduleSchema).describe("Array of schedule objects").nullable().optional()
|
|
36
|
-
}).describe("Data container for schedules list response.");
|
|
36
|
+
}).passthrough().describe("Data container for schedules list response.");
|
|
37
37
|
const planlyListSchedules = action("PLANLY_LIST_SCHEDULES", {
|
|
38
38
|
slug: "planly-list-schedules",
|
|
39
39
|
name: "List Schedules",
|
|
@@ -42,7 +42,7 @@ const planlyListSchedules = action("PLANLY_LIST_SCHEDULES", {
|
|
|
42
42
|
output: z.object({
|
|
43
43
|
data: PlanlyListSchedules_ScheduleDataSchema.nullable(),
|
|
44
44
|
error: z.string().describe("Error message if the request failed").nullable().optional()
|
|
45
|
-
}).describe("Response model for list schedules endpoint.")
|
|
45
|
+
}).passthrough().describe("Response model for list schedules endpoint.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { planlyListSchedules };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedules.mjs","names":[],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListSchedulesInput = z.object({\n teamId: z.string().describe(\"ID of the team to retrieve its schedules\"),\n pagination: z.object({\n cursor: z.string().describe(\"Cursor string for pagination from previous response's next field\").optional(),\n orderBy: z.array(z.string()).describe(\"Array specifying sort order: [field, direction]. Field can be CreatedAt or ContentLength, direction can be asc or desc\").optional(),\n pageSize: z.number().int().describe(\"Maximum number of results to return. Defaults to 50\").optional(),\n}).describe(\"Pagination configuration for list schedules request.\").optional(),\n}).describe(\"Request model for listing schedules in a team.\");\nconst PlanlyListSchedules_ChannelInfoSchema = z.object({\n id: z.string().describe(\"Channel ID\").nullable().optional(),\n name: z.string().describe(\"Channel name\").nullable().optional(),\n method: z.string().describe(\"Channel method\").nullable().optional(),\n picture: z.string().describe(\"Channel picture URL\").nullable().optional(),\n social_network: z.string().describe(\"Social network type\").nullable().optional(),\n}).describe(\"Channel information within a schedule.\");\nconst PlanlyListSchedules_ScheduleSchema = z.object({\n id: z.string().describe(\"Schedule ID (UUID)\").nullable().optional(),\n url: z.string().describe(\"Associated URL\").nullable().optional(),\n media: z.array(z.string()).describe(\"Array of media items or URLs\").nullable().optional(),\n status: z.number().int().describe(\"Schedule status code\").nullable().optional(),\n channel: PlanlyListSchedules_ChannelInfoSchema.nullable().optional(),\n content: z.string().describe(\"Schedule content text\").nullable().optional(),\n options: z.
|
|
1
|
+
{"version":3,"file":"list-schedules.mjs","names":[],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListSchedulesInput = z.object({\n teamId: z.string().describe(\"ID of the team to retrieve its schedules\"),\n pagination: z.object({\n cursor: z.string().describe(\"Cursor string for pagination from previous response's next field\").optional(),\n orderBy: z.array(z.string()).describe(\"Array specifying sort order: [field, direction]. Field can be CreatedAt or ContentLength, direction can be asc or desc\").optional(),\n pageSize: z.number().int().describe(\"Maximum number of results to return. Defaults to 50\").optional(),\n}).describe(\"Pagination configuration for list schedules request.\").optional(),\n}).describe(\"Request model for listing schedules in a team.\");\nconst PlanlyListSchedules_ChannelInfoSchema = z.object({\n id: z.string().describe(\"Channel ID\").nullable().optional(),\n name: z.string().describe(\"Channel name\").nullable().optional(),\n method: z.string().describe(\"Channel method\").nullable().optional(),\n picture: z.string().describe(\"Channel picture URL\").nullable().optional(),\n social_network: z.string().describe(\"Social network type\").nullable().optional(),\n}).passthrough().describe(\"Channel information within a schedule.\");\nconst PlanlyListSchedules_ScheduleSchema = z.object({\n id: z.string().describe(\"Schedule ID (UUID)\").nullable().optional(),\n url: z.string().describe(\"Associated URL\").nullable().optional(),\n media: z.array(z.string()).describe(\"Array of media items or URLs\").nullable().optional(),\n status: z.number().int().describe(\"Schedule status code\").nullable().optional(),\n channel: PlanlyListSchedules_ChannelInfoSchema.nullable().optional(),\n content: z.string().describe(\"Schedule content text\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Platform-specific settings as key-value pairs\").nullable().optional(),\n created_at: z.string().describe(\"Creation time (ISO 8601 timestamp)\").nullable().optional(),\n publish_on: z.string().describe(\"Scheduled publish time (ISO 8601 timestamp)\").nullable().optional(),\n external_id: z.string().describe(\"External ID reference\").nullable().optional(),\n error_message: z.string().describe(\"Error message if failed\").nullable().optional(),\n content_headline: z.string().describe(\"Content headline\").nullable().optional(),\n}).passthrough().describe(\"Individual schedule object.\");\nconst PlanlyListSchedules_ScheduleDataSchema = z.object({\n next: z.string().describe(\"Cursor for the next page of results. Null if no more pages\").nullable().optional(),\n rows: z.array(PlanlyListSchedules_ScheduleSchema).describe(\"Array of schedule objects\").nullable().optional(),\n}).passthrough().describe(\"Data container for schedules list response.\");\nexport const PlanlyListSchedulesOutput = z.object({\n data: PlanlyListSchedules_ScheduleDataSchema.nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for list schedules endpoint.\");\n\nexport const planlyListSchedules = action(\"PLANLY_LIST_SCHEDULES\", {\n slug: \"planly-list-schedules\",\n name: \"List Schedules\",\n description: \"Tool to retrieve a paginated list of schedules in a specified team. Use when you need to fetch schedules with support for pagination, custom ordering, and configurable page size. Returns schedule data with a cursor for fetching additional pages.\",\n input: PlanlyListSchedulesInput,\n output: PlanlyListSchedulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACtE,YAAY,EAAE,OAAO;EACrB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACzK,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAA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e,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,uCAAuC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const PlanlyListTeamUsers_TeamUserModelSchema = zod.z.object({
|
|
|
8
8
|
email: zod.z.string().describe("Email address of the user").nullable(),
|
|
9
9
|
picture: zod.z.string().describe("URL to the user's profile picture").nullable().optional(),
|
|
10
10
|
fullname: zod.z.string().describe("Full name of the user").nullable()
|
|
11
|
-
}).describe("Model representing a team user.");
|
|
12
|
-
const PlanlyListTeamUsersOutput = zod.z.object({ users: zod.z.array(PlanlyListTeamUsers_TeamUserModelSchema).describe("List of users belonging to the team") }).describe("Response model for listing team users.");
|
|
11
|
+
}).passthrough().describe("Model representing a team user.");
|
|
12
|
+
const PlanlyListTeamUsersOutput = zod.z.object({ users: zod.z.array(PlanlyListTeamUsers_TeamUserModelSchema).describe("List of users belonging to the team") }).passthrough().describe("Response model for listing team users.");
|
|
13
13
|
const planlyListTeamUsers = require_action.action("PLANLY_LIST_TEAM_USERS", {
|
|
14
14
|
slug: "planly-list-team-users",
|
|
15
15
|
name: "List Team Users",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-team-users.cjs","names":["z","action"],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamUsersInput = z.object({\n id: z.string().describe(\"Team ID to list users for\"),\n}).describe(\"Request model for listing team users.\");\nconst PlanlyListTeamUsers_TeamUserModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user\").nullable(),\n role: z.number().int().describe(\"Role identifier for the user's permission level in the team\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n picture: z.string().describe(\"URL to the user's profile picture\").nullable().optional(),\n fullname: z.string().describe(\"Full name of the user\").nullable(),\n}).describe(\"Model representing a team user.\");\nexport const PlanlyListTeamUsersOutput = z.object({\n users: z.array(PlanlyListTeamUsers_TeamUserModelSchema).describe(\"List of users belonging to the team\"),\n}).describe(\"Response model for listing team users.\");\n\nexport const planlyListTeamUsers = action(\"PLANLY_LIST_TEAM_USERS\", {\n slug: \"planly-list-team-users\",\n name: \"List Team Users\",\n description: \"Tool to list all users that belong to a specific team. Returns user details including id, fullname, picture, email, and role. Use when you need to retrieve the complete roster of team members.\",\n input: PlanlyListTeamUsersInput,\n output: PlanlyListTeamUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACrD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
1
|
+
{"version":3,"file":"list-team-users.cjs","names":["z","action"],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamUsersInput = z.object({\n id: z.string().describe(\"Team ID to list users for\"),\n}).describe(\"Request model for listing team users.\");\nconst PlanlyListTeamUsers_TeamUserModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user\").nullable(),\n role: z.number().int().describe(\"Role identifier for the user's permission level in the team\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n picture: z.string().describe(\"URL to the user's profile picture\").nullable().optional(),\n fullname: z.string().describe(\"Full name of the user\").nullable(),\n}).passthrough().describe(\"Model representing a team user.\");\nexport const PlanlyListTeamUsersOutput = z.object({\n users: z.array(PlanlyListTeamUsers_TeamUserModelSchema).describe(\"List of users belonging to the team\"),\n}).passthrough().describe(\"Response model for listing team users.\");\n\nexport const planlyListTeamUsers = action(\"PLANLY_LIST_TEAM_USERS\", {\n slug: \"planly-list-team-users\",\n name: \"List Team Users\",\n description: \"Tool to list all users that belong to a specific team. Returns user details including id, fullname, picture, email, and role. Use when you need to retrieve the complete roster of team members.\",\n input: PlanlyListTeamUsersInput,\n output: PlanlyListTeamUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACrD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qCAAqC,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const PlanlyListTeamUsersOutput: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodNullable<z.ZodString>;
|
|
12
12
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
fullname: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const planlyListTeamUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,8 +11,8 @@ declare const PlanlyListTeamUsersOutput: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodNullable<z.ZodString>;
|
|
12
12
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
fullname: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const planlyListTeamUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,13 +8,13 @@ const PlanlyListTeamUsers_TeamUserModelSchema = z.object({
|
|
|
8
8
|
email: z.string().describe("Email address of the user").nullable(),
|
|
9
9
|
picture: z.string().describe("URL to the user's profile picture").nullable().optional(),
|
|
10
10
|
fullname: z.string().describe("Full name of the user").nullable()
|
|
11
|
-
}).describe("Model representing a team user.");
|
|
11
|
+
}).passthrough().describe("Model representing a team user.");
|
|
12
12
|
const planlyListTeamUsers = action("PLANLY_LIST_TEAM_USERS", {
|
|
13
13
|
slug: "planly-list-team-users",
|
|
14
14
|
name: "List Team Users",
|
|
15
15
|
description: "Tool to list all users that belong to a specific team. Returns user details including id, fullname, picture, email, and role. Use when you need to retrieve the complete roster of team members.",
|
|
16
16
|
input: PlanlyListTeamUsersInput,
|
|
17
|
-
output: z.object({ users: z.array(PlanlyListTeamUsers_TeamUserModelSchema).describe("List of users belonging to the team") }).describe("Response model for listing team users.")
|
|
17
|
+
output: z.object({ users: z.array(PlanlyListTeamUsers_TeamUserModelSchema).describe("List of users belonging to the team") }).passthrough().describe("Response model for listing team users.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { planlyListTeamUsers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-team-users.mjs","names":[],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamUsersInput = z.object({\n id: z.string().describe(\"Team ID to list users for\"),\n}).describe(\"Request model for listing team users.\");\nconst PlanlyListTeamUsers_TeamUserModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user\").nullable(),\n role: z.number().int().describe(\"Role identifier for the user's permission level in the team\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n picture: z.string().describe(\"URL to the user's profile picture\").nullable().optional(),\n fullname: z.string().describe(\"Full name of the user\").nullable(),\n}).describe(\"Model representing a team user.\");\nexport const PlanlyListTeamUsersOutput = z.object({\n users: z.array(PlanlyListTeamUsers_TeamUserModelSchema).describe(\"List of users belonging to the team\"),\n}).describe(\"Response model for listing team users.\");\n\nexport const planlyListTeamUsers = action(\"PLANLY_LIST_TEAM_USERS\", {\n slug: \"planly-list-team-users\",\n name: \"List Team Users\",\n description: \"Tool to list all users that belong to a specific team. Returns user details including id, fullname, picture, email, and role. Use when you need to retrieve the complete roster of team members.\",\n input: PlanlyListTeamUsersInput,\n output: PlanlyListTeamUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACrD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
1
|
+
{"version":3,"file":"list-team-users.mjs","names":[],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamUsersInput = z.object({\n id: z.string().describe(\"Team ID to list users for\"),\n}).describe(\"Request model for listing team users.\");\nconst PlanlyListTeamUsers_TeamUserModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user\").nullable(),\n role: z.number().int().describe(\"Role identifier for the user's permission level in the team\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n picture: z.string().describe(\"URL to the user's profile picture\").nullable().optional(),\n fullname: z.string().describe(\"Full name of the user\").nullable(),\n}).passthrough().describe(\"Model representing a team user.\");\nexport const PlanlyListTeamUsersOutput = z.object({\n users: z.array(PlanlyListTeamUsers_TeamUserModelSchema).describe(\"List of users belonging to the team\"),\n}).passthrough().describe(\"Response model for listing team users.\");\n\nexport const planlyListTeamUsers = action(\"PLANLY_LIST_TEAM_USERS\", {\n slug: \"planly-list-team-users\",\n name: \"List Team Users\",\n description: \"Tool to list all users that belong to a specific team. Returns user details including id, fullname, picture, email, and role. Use when you need to retrieve the complete roster of team members.\",\n input: PlanlyListTeamUsersInput,\n output: PlanlyListTeamUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,EACrD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qCAAqC,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const PlanlyListTeams_TeamDataSchema = zod.z.object({
|
|
|
9
9
|
users: zod.z.number().int().describe("Number of users in the team").nullable().optional(),
|
|
10
10
|
picture: zod.z.string().describe("URL to the team's picture").nullable().optional(),
|
|
11
11
|
channels: zod.z.number().int().describe("Number of channels in the team").nullable().optional()
|
|
12
|
-
}).describe("Model representing a single team.");
|
|
13
|
-
const PlanlyListTeamsOutput = zod.z.object({ data: zod.z.array(PlanlyListTeams_TeamDataSchema).describe("List of teams that the authenticated user belongs to") }).describe("Response model containing list of teams that the authenticated user belongs to.");
|
|
12
|
+
}).passthrough().describe("Model representing a single team.");
|
|
13
|
+
const PlanlyListTeamsOutput = zod.z.object({ data: zod.z.array(PlanlyListTeams_TeamDataSchema).describe("List of teams that the authenticated user belongs to") }).passthrough().describe("Response model containing list of teams that the authenticated user belongs to.");
|
|
14
14
|
const planlyListTeams = require_action.action("PLANLY_LIST_TEAMS", {
|
|
15
15
|
slug: "planly-list-teams",
|
|
16
16
|
name: "List Teams",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters required.\");\nconst PlanlyListTeams_TeamDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the team\").nullable().optional(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n role: z.number().int().describe(\"User's role in the team\").nullable().optional(),\n users: z.number().int().describe(\"Number of users in the team\").nullable().optional(),\n picture: z.string().describe(\"URL to the team's picture\").nullable().optional(),\n channels: z.number().int().describe(\"Number of channels in the team\").nullable().optional(),\n}).describe(\"Model representing a single team.\");\nexport const PlanlyListTeamsOutput = z.object({\n data: z.array(PlanlyListTeams_TeamDataSchema).describe(\"List of teams that the authenticated user belongs to\"),\n}).describe(\"Response model containing list of teams that the authenticated user belongs to.\");\n\nexport const planlyListTeams = action(\"PLANLY_LIST_TEAMS\", {\n slug: \"planly-list-teams\",\n name: \"List Teams\",\n description: \"Tool to retrieve all teams that the authenticated user belongs to. Use when you need to get team details including id, name, picture, role, number of users, and number of channels.\",\n input: PlanlyListTeamsInput,\n output: PlanlyListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACpH,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters required.\");\nconst PlanlyListTeams_TeamDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the team\").nullable().optional(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n role: z.number().int().describe(\"User's role in the team\").nullable().optional(),\n users: z.number().int().describe(\"Number of users in the team\").nullable().optional(),\n picture: z.string().describe(\"URL to the team's picture\").nullable().optional(),\n channels: z.number().int().describe(\"Number of channels in the team\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single team.\");\nexport const PlanlyListTeamsOutput = z.object({\n data: z.array(PlanlyListTeams_TeamDataSchema).describe(\"List of teams that the authenticated user belongs to\"),\n}).passthrough().describe(\"Response model containing list of teams that the authenticated user belongs to.\");\n\nexport const planlyListTeams = action(\"PLANLY_LIST_TEAMS\", {\n slug: \"planly-list-teams\",\n name: \"List Teams\",\n description: \"Tool to retrieve all teams that the authenticated user belongs to. Use when you need to get team details including id, name, picture, role, number of users, and number of channels.\",\n input: PlanlyListTeamsInput,\n output: PlanlyListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAA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|
channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const planlyListTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { planlyListTeams };
|
|
@@ -10,8 +10,8 @@ declare const PlanlyListTeamsOutput: z.ZodObject<{
|
|
|
10
10
|
users: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
11
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const planlyListTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { planlyListTeams };
|
|
@@ -9,13 +9,13 @@ const PlanlyListTeams_TeamDataSchema = z.object({
|
|
|
9
9
|
users: z.number().int().describe("Number of users in the team").nullable().optional(),
|
|
10
10
|
picture: z.string().describe("URL to the team's picture").nullable().optional(),
|
|
11
11
|
channels: z.number().int().describe("Number of channels in the team").nullable().optional()
|
|
12
|
-
}).describe("Model representing a single team.");
|
|
12
|
+
}).passthrough().describe("Model representing a single team.");
|
|
13
13
|
const planlyListTeams = action("PLANLY_LIST_TEAMS", {
|
|
14
14
|
slug: "planly-list-teams",
|
|
15
15
|
name: "List Teams",
|
|
16
16
|
description: "Tool to retrieve all teams that the authenticated user belongs to. Use when you need to get team details including id, name, picture, role, number of users, and number of channels.",
|
|
17
17
|
input: PlanlyListTeamsInput,
|
|
18
|
-
output: z.object({ data: z.array(PlanlyListTeams_TeamDataSchema).describe("List of teams that the authenticated user belongs to") }).describe("Response model containing list of teams that the authenticated user belongs to.")
|
|
18
|
+
output: z.object({ data: z.array(PlanlyListTeams_TeamDataSchema).describe("List of teams that the authenticated user belongs to") }).passthrough().describe("Response model containing list of teams that the authenticated user belongs to.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { planlyListTeams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-teams.mjs","names":[],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters required.\");\nconst PlanlyListTeams_TeamDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the team\").nullable().optional(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n role: z.number().int().describe(\"User's role in the team\").nullable().optional(),\n users: z.number().int().describe(\"Number of users in the team\").nullable().optional(),\n picture: z.string().describe(\"URL to the team's picture\").nullable().optional(),\n channels: z.number().int().describe(\"Number of channels in the team\").nullable().optional(),\n}).describe(\"Model representing a single team.\");\nexport const PlanlyListTeamsOutput = z.object({\n data: z.array(PlanlyListTeams_TeamDataSchema).describe(\"List of teams that the authenticated user belongs to\"),\n}).describe(\"Response model containing list of teams that the authenticated user belongs to.\");\n\nexport const planlyListTeams = action(\"PLANLY_LIST_TEAMS\", {\n slug: \"planly-list-teams\",\n name: \"List Teams\",\n description: \"Tool to retrieve all teams that the authenticated user belongs to. Use when you need to get team details including id, name, picture, role, number of users, and number of channels.\",\n input: PlanlyListTeamsInput,\n output: PlanlyListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACpH,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"list-teams.mjs","names":[],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters required.\");\nconst PlanlyListTeams_TeamDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the team\").nullable().optional(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n role: z.number().int().describe(\"User's role in the team\").nullable().optional(),\n users: z.number().int().describe(\"Number of users in the team\").nullable().optional(),\n picture: z.string().describe(\"URL to the team's picture\").nullable().optional(),\n channels: z.number().int().describe(\"Number of channels in the team\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single team.\");\nexport const PlanlyListTeamsOutput = z.object({\n data: z.array(PlanlyListTeams_TeamDataSchema).describe(\"List of teams that the authenticated user belongs to\"),\n}).passthrough().describe(\"Response model containing list of teams that the authenticated user belongs to.\");\n\nexport const planlyListTeams = action(\"PLANLY_LIST_TEAMS\", {\n slug: \"planly-list-teams\",\n name: \"List Teams\",\n description: \"Tool to retrieve all teams that the authenticated user belongs to. Use when you need to get team details including id, name, picture, role, number of users, and number of channels.\",\n input: PlanlyListTeamsInput,\n output: PlanlyListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACpH,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,MAAM,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sDAAsD,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAOhB;AACV,CAAC"}
|
|
@@ -9,10 +9,10 @@ const PlanlyStartMediaUploadInput = zod.z.object({
|
|
|
9
9
|
}).describe("Request model for starting a media file upload to Planly.");
|
|
10
10
|
const PlanlyStartMediaUploadOutput = zod.z.object({
|
|
11
11
|
verb: zod.z.string().describe("HTTP method to use for uploading the file (typically 'PUT')").nullable(),
|
|
12
|
-
headers: zod.z.
|
|
12
|
+
headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Headers required for the upload request"),
|
|
13
13
|
mediaId: zod.z.string().describe("Unique identifier for the media file").nullable(),
|
|
14
14
|
uploadUrl: zod.z.string().describe("Pre-signed URL where the file should be uploaded using a PUT request").nullable()
|
|
15
|
-
}).describe("Response model containing the pre-signed upload URL and metadata.");
|
|
15
|
+
}).passthrough().describe("Response model containing the pre-signed upload URL and metadata.");
|
|
16
16
|
const planlyStartMediaUpload = require_action.action("PLANLY_START_MEDIA_UPLOAD", {
|
|
17
17
|
slug: "planly-start-media-upload",
|
|
18
18
|
name: "Start Media Upload",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-media-upload.cjs","names":["z","action"],"sources":["../../src/actions/start-media-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyStartMediaUploadInput = z.object({\n teamId: z.string().describe(\"ID of the team to which the media will be uploaded\"),\n fileName: z.string().describe(\"Name of the file being uploaded. Required if contentType is not provided\").optional(),\n contentType: z.string().describe(\"MIME type of the file (e.g., image/jpeg, video/mp4, image/png). Required if fileName is not provided\").optional(),\n contentLength: z.number().int().describe(\"Size of the file in bytes\"),\n}).describe(\"Request model for starting a media file upload to Planly.\");\nexport const PlanlyStartMediaUploadOutput = z.object({\n verb: z.string().describe(\"HTTP method to use for uploading the file (typically 'PUT')\").nullable(),\n headers: z.
|
|
1
|
+
{"version":3,"file":"start-media-upload.cjs","names":["z","action"],"sources":["../../src/actions/start-media-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyStartMediaUploadInput = z.object({\n teamId: z.string().describe(\"ID of the team to which the media will be uploaded\"),\n fileName: z.string().describe(\"Name of the file being uploaded. Required if contentType is not provided\").optional(),\n contentType: z.string().describe(\"MIME type of the file (e.g., image/jpeg, video/mp4, image/png). Required if fileName is not provided\").optional(),\n contentLength: z.number().int().describe(\"Size of the file in bytes\"),\n}).describe(\"Request model for starting a media file upload to Planly.\");\nexport const PlanlyStartMediaUploadOutput = z.object({\n verb: z.string().describe(\"HTTP method to use for uploading the file (typically 'PUT')\").nullable(),\n headers: z.record(z.string(), z.unknown()).describe(\"Headers required for the upload request\"),\n mediaId: z.string().describe(\"Unique identifier for the media file\").nullable(),\n uploadUrl: z.string().describe(\"Pre-signed URL where the file should be uploaded using a PUT request\").nullable(),\n}).passthrough().describe(\"Response model containing the pre-signed upload URL and metadata.\");\n\nexport const planlyStartMediaUpload = action(\"PLANLY_START_MEDIA_UPLOAD\", {\n slug: \"planly-start-media-upload\",\n name: \"Start Media Upload\",\n description: \"Tool to start the upload process for a media file. Returns a pre-signed upload URL where the file should be uploaded using a PUT request. Use when you need to prepare for uploading images or videos to Planly.\",\n input: PlanlyStartMediaUploadInput,\n output: PlanlyStartMediaUploadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAClJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;AACtE,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,10 +9,10 @@ declare const PlanlyStartMediaUploadInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const PlanlyStartMediaUploadOutput: z.ZodObject<{
|
|
11
11
|
verb: z.ZodNullable<z.ZodString>;
|
|
12
|
-
headers: z.
|
|
12
|
+
headers: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
13
|
mediaId: z.ZodNullable<z.ZodString>;
|
|
14
14
|
uploadUrl: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const planlyStartMediaUpload: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
teamId: string;
|
|
18
18
|
contentLength: number;
|
|
@@ -9,10 +9,10 @@ declare const PlanlyStartMediaUploadInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const PlanlyStartMediaUploadOutput: z.ZodObject<{
|
|
11
11
|
verb: z.ZodNullable<z.ZodString>;
|
|
12
|
-
headers: z.
|
|
12
|
+
headers: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
13
|
mediaId: z.ZodNullable<z.ZodString>;
|
|
14
14
|
uploadUrl: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const planlyStartMediaUpload: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
teamId: string;
|
|
18
18
|
contentLength: number;
|