@keystrokehq/planly 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/complete-ai-prompt.cjs +1 -0
- package/dist/actions/complete-ai-prompt.cjs.map +1 -1
- package/dist/actions/complete-ai-prompt.d.cts +3 -17
- package/dist/actions/complete-ai-prompt.d.cts.map +1 -1
- package/dist/actions/complete-ai-prompt.d.mts +3 -17
- package/dist/actions/complete-ai-prompt.d.mts.map +1 -1
- package/dist/actions/complete-ai-prompt.mjs +1 -0
- package/dist/actions/complete-ai-prompt.mjs.map +1 -1
- package/dist/actions/create-team.cjs +1 -0
- package/dist/actions/create-team.cjs.map +1 -1
- package/dist/actions/create-team.d.cts +3 -15
- package/dist/actions/create-team.d.cts.map +1 -1
- package/dist/actions/create-team.d.mts +3 -15
- package/dist/actions/create-team.d.mts.map +1 -1
- package/dist/actions/create-team.mjs +1 -0
- package/dist/actions/create-team.mjs.map +1 -1
- package/dist/actions/delete-media.cjs +1 -0
- package/dist/actions/delete-media.cjs.map +1 -1
- package/dist/actions/delete-media.d.cts +3 -15
- package/dist/actions/delete-media.d.cts.map +1 -1
- package/dist/actions/delete-media.d.mts +3 -15
- package/dist/actions/delete-media.d.mts.map +1 -1
- package/dist/actions/delete-media.mjs +1 -0
- package/dist/actions/delete-media.mjs.map +1 -1
- package/dist/actions/delete-team.cjs +1 -0
- package/dist/actions/delete-team.cjs.map +1 -1
- package/dist/actions/delete-team.d.cts +3 -15
- package/dist/actions/delete-team.d.cts.map +1 -1
- package/dist/actions/delete-team.d.mts +3 -15
- package/dist/actions/delete-team.d.mts.map +1 -1
- package/dist/actions/delete-team.mjs +1 -0
- package/dist/actions/delete-team.mjs.map +1 -1
- package/dist/actions/edit-team.cjs +1 -0
- package/dist/actions/edit-team.cjs.map +1 -1
- package/dist/actions/edit-team.d.cts +3 -16
- package/dist/actions/edit-team.d.cts.map +1 -1
- package/dist/actions/edit-team.d.mts +3 -16
- package/dist/actions/edit-team.d.mts.map +1 -1
- package/dist/actions/edit-team.mjs +1 -0
- package/dist/actions/edit-team.mjs.map +1 -1
- package/dist/actions/get-ai-credits.cjs +1 -0
- package/dist/actions/get-ai-credits.cjs.map +1 -1
- package/dist/actions/get-ai-credits.d.cts +3 -15
- package/dist/actions/get-ai-credits.d.cts.map +1 -1
- package/dist/actions/get-ai-credits.d.mts +3 -15
- package/dist/actions/get-ai-credits.d.mts.map +1 -1
- package/dist/actions/get-ai-credits.mjs +1 -0
- package/dist/actions/get-ai-credits.mjs.map +1 -1
- package/dist/actions/get-team.cjs +1 -0
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +3 -15
- package/dist/actions/get-team.d.cts.map +1 -1
- package/dist/actions/get-team.d.mts +3 -15
- package/dist/actions/get-team.d.mts.map +1 -1
- package/dist/actions/get-team.mjs +1 -0
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/import-media-from-url.cjs +1 -0
- package/dist/actions/import-media-from-url.cjs.map +1 -1
- package/dist/actions/import-media-from-url.d.cts +3 -16
- package/dist/actions/import-media-from-url.d.cts.map +1 -1
- package/dist/actions/import-media-from-url.d.mts +3 -16
- package/dist/actions/import-media-from-url.d.mts.map +1 -1
- package/dist/actions/import-media-from-url.mjs +1 -0
- package/dist/actions/import-media-from-url.mjs.map +1 -1
- package/dist/actions/list-channels.cjs +1 -0
- package/dist/actions/list-channels.cjs.map +1 -1
- package/dist/actions/list-channels.d.cts +3 -15
- package/dist/actions/list-channels.d.cts.map +1 -1
- package/dist/actions/list-channels.d.mts +3 -15
- package/dist/actions/list-channels.d.mts.map +1 -1
- package/dist/actions/list-channels.mjs +1 -0
- package/dist/actions/list-channels.mjs.map +1 -1
- package/dist/actions/list-media.cjs +1 -0
- package/dist/actions/list-media.cjs.map +1 -1
- package/dist/actions/list-media.d.cts +3 -20
- package/dist/actions/list-media.d.cts.map +1 -1
- package/dist/actions/list-media.d.mts +3 -20
- package/dist/actions/list-media.d.mts.map +1 -1
- package/dist/actions/list-media.mjs +1 -0
- package/dist/actions/list-media.mjs.map +1 -1
- package/dist/actions/list-schedule-groups.cjs +1 -0
- package/dist/actions/list-schedule-groups.cjs.map +1 -1
- package/dist/actions/list-schedule-groups.d.cts +3 -31
- package/dist/actions/list-schedule-groups.d.cts.map +1 -1
- package/dist/actions/list-schedule-groups.d.mts +3 -31
- package/dist/actions/list-schedule-groups.d.mts.map +1 -1
- package/dist/actions/list-schedule-groups.mjs +1 -0
- package/dist/actions/list-schedule-groups.mjs.map +1 -1
- package/dist/actions/list-schedules.cjs +1 -0
- package/dist/actions/list-schedules.cjs.map +1 -1
- package/dist/actions/list-schedules.d.cts +3 -20
- package/dist/actions/list-schedules.d.cts.map +1 -1
- package/dist/actions/list-schedules.d.mts +3 -20
- package/dist/actions/list-schedules.d.mts.map +1 -1
- package/dist/actions/list-schedules.mjs +1 -0
- package/dist/actions/list-schedules.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +1 -0
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +3 -15
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +3 -15
- package/dist/actions/list-team-users.d.mts.map +1 -1
- package/dist/actions/list-team-users.mjs +1 -0
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +1 -0
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +3 -13
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +3 -13
- package/dist/actions/list-teams.d.mts.map +1 -1
- package/dist/actions/list-teams.mjs +1 -0
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/start-media-upload.cjs +1 -0
- package/dist/actions/start-media-upload.cjs.map +1 -1
- package/dist/actions/start-media-upload.d.cts +3 -18
- package/dist/actions/start-media-upload.d.cts.map +1 -1
- package/dist/actions/start-media-upload.d.mts +3 -18
- package/dist/actions/start-media-upload.d.mts.map +1 -1
- package/dist/actions/start-media-upload.mjs +1 -0
- package/dist/actions/start-media-upload.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-media.mjs","names":[],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlanlyListMediaInput,\n typeof PlanlyListMediaOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,C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,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAMxD,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmC,EAAE,OAAO;EAC5C,MAAM,gCAAgC,SAAS;EAC/C,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -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.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;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AC/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"}
|
|
1
|
+
{"version":3,"file":"list-schedule-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-schedule-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlanlyListScheduleGroupsInput,\n typeof PlanlyListScheduleGroupsOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,CAA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C,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,MAAMA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kCAAkC;CACvG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC/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,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-schedule-groups.d.ts
|
|
@@ -75,37 +77,7 @@ declare const PlanlyListScheduleGroupsOutput: z.ZodObject<{
|
|
|
75
77
|
message: z.ZodNullable<z.ZodString>;
|
|
76
78
|
}, z.core.$loose>>>;
|
|
77
79
|
}, z.core.$loose>;
|
|
78
|
-
declare const planlyListScheduleGroups:
|
|
79
|
-
teamId: string;
|
|
80
|
-
ids?: string[] | undefined;
|
|
81
|
-
filter?: {
|
|
82
|
-
status?: (0 | 1 | 3 | 4)[] | undefined;
|
|
83
|
-
channels?: string[] | undefined;
|
|
84
|
-
mediaType?: (0 | 1)[] | undefined;
|
|
85
|
-
socialNetworks?: ("threads" | "youtube" | "instagram" | "tiktok" | "tiktok_business" | "twitter" | "pinterest" | "facebook" | "linkedin" | "mastodon" | "bluesky")[] | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
dateRange?: {
|
|
88
|
-
since?: string | undefined;
|
|
89
|
-
until?: string | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
pagination?: {
|
|
92
|
-
cursor?: string | undefined;
|
|
93
|
-
orderBy?: ("CreatedAt" | "ContentLength" | "asc" | "desc")[] | undefined;
|
|
94
|
-
pageSize?: number | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
97
|
-
connectionId: z.ZodString;
|
|
98
|
-
entityId: z.ZodString;
|
|
99
|
-
instanceId: z.ZodString;
|
|
100
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
-
generic_api_key: z.ZodString;
|
|
102
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
103
|
-
connectionId: z.ZodString;
|
|
104
|
-
entityId: z.ZodString;
|
|
105
|
-
instanceId: z.ZodString;
|
|
106
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
107
|
-
generic_api_key: z.ZodString;
|
|
108
|
-
}, z.core.$strip>>]>;
|
|
80
|
+
declare const planlyListScheduleGroups: AppAction<typeof PlanlyListScheduleGroupsInput, typeof PlanlyListScheduleGroupsOutput, typeof planly.credential>;
|
|
109
81
|
//#endregion
|
|
110
82
|
export { planlyListScheduleGroups };
|
|
111
83
|
//# sourceMappingURL=list-schedule-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedule-groups.d.cts","names":[],"sources":["../../src/actions/list-schedule-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-schedule-groups.d.cts","names":[],"sources":["../../src/actions/list-schedule-groups.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0D7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-schedule-groups.d.ts
|
|
@@ -75,37 +77,7 @@ declare const PlanlyListScheduleGroupsOutput: z.ZodObject<{
|
|
|
75
77
|
message: z.ZodNullable<z.ZodString>;
|
|
76
78
|
}, z.core.$loose>>>;
|
|
77
79
|
}, z.core.$loose>;
|
|
78
|
-
declare const planlyListScheduleGroups:
|
|
79
|
-
teamId: string;
|
|
80
|
-
ids?: string[] | undefined;
|
|
81
|
-
filter?: {
|
|
82
|
-
status?: (0 | 1 | 3 | 4)[] | undefined;
|
|
83
|
-
channels?: string[] | undefined;
|
|
84
|
-
mediaType?: (0 | 1)[] | undefined;
|
|
85
|
-
socialNetworks?: ("threads" | "youtube" | "instagram" | "tiktok" | "tiktok_business" | "twitter" | "pinterest" | "facebook" | "linkedin" | "mastodon" | "bluesky")[] | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
dateRange?: {
|
|
88
|
-
since?: string | undefined;
|
|
89
|
-
until?: string | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
pagination?: {
|
|
92
|
-
cursor?: string | undefined;
|
|
93
|
-
orderBy?: ("CreatedAt" | "ContentLength" | "asc" | "desc")[] | undefined;
|
|
94
|
-
pageSize?: number | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
97
|
-
connectionId: z.ZodString;
|
|
98
|
-
entityId: z.ZodString;
|
|
99
|
-
instanceId: z.ZodString;
|
|
100
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
-
generic_api_key: z.ZodString;
|
|
102
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
103
|
-
connectionId: z.ZodString;
|
|
104
|
-
entityId: z.ZodString;
|
|
105
|
-
instanceId: z.ZodString;
|
|
106
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
107
|
-
generic_api_key: z.ZodString;
|
|
108
|
-
}, z.core.$strip>>]>;
|
|
80
|
+
declare const planlyListScheduleGroups: AppAction<typeof PlanlyListScheduleGroupsInput, typeof PlanlyListScheduleGroupsOutput, typeof planly.credential>;
|
|
109
81
|
//#endregion
|
|
110
82
|
export { planlyListScheduleGroups };
|
|
111
83
|
//# sourceMappingURL=list-schedule-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedule-groups.d.mts","names":[],"sources":["../../src/actions/list-schedule-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-schedule-groups.d.mts","names":[],"sources":["../../src/actions/list-schedule-groups.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0D7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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.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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,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8CAA8C;CACnH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,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,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"}
|
|
1
|
+
{"version":3,"file":"list-schedule-groups.mjs","names":[],"sources":["../../src/actions/list-schedule-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlanlyListScheduleGroupsInput,\n typeof PlanlyListScheduleGroupsOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClK,QAAQ,EAAE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AAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,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,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAMzD,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,MAAM,iDAAiD,SAAS;EAChE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-schedules.cjs","names":["z","action"],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlanlyListSchedulesInput,\n typeof PlanlyListSchedulesOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,SAAS;EACzG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACzK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDA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AAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-schedules.d.ts
|
|
@@ -35,26 +37,7 @@ declare const PlanlyListSchedulesOutput: z.ZodObject<{
|
|
|
35
37
|
}, z.core.$loose>>;
|
|
36
38
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const planlyListSchedules:
|
|
39
|
-
teamId: string;
|
|
40
|
-
pagination?: {
|
|
41
|
-
cursor?: string | undefined;
|
|
42
|
-
orderBy?: string[] | undefined;
|
|
43
|
-
pageSize?: number | undefined;
|
|
44
|
-
} | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const planlyListSchedules: AppAction<typeof PlanlyListSchedulesInput, typeof PlanlyListSchedulesOutput, typeof planly.credential>;
|
|
58
41
|
//#endregion
|
|
59
42
|
export { planlyListSchedules };
|
|
60
43
|
//# sourceMappingURL=list-schedules.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedules.d.cts","names":[],"sources":["../../src/actions/list-schedules.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-schedules.d.cts","names":[],"sources":["../../src/actions/list-schedules.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAiCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-schedules.d.ts
|
|
@@ -35,26 +37,7 @@ declare const PlanlyListSchedulesOutput: z.ZodObject<{
|
|
|
35
37
|
}, z.core.$loose>>;
|
|
36
38
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const planlyListSchedules:
|
|
39
|
-
teamId: string;
|
|
40
|
-
pagination?: {
|
|
41
|
-
cursor?: string | undefined;
|
|
42
|
-
orderBy?: string[] | undefined;
|
|
43
|
-
pageSize?: number | undefined;
|
|
44
|
-
} | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const planlyListSchedules: AppAction<typeof PlanlyListSchedulesInput, typeof PlanlyListSchedulesOutput, typeof planly.credential>;
|
|
58
41
|
//#endregion
|
|
59
42
|
export { planlyListSchedules };
|
|
60
43
|
//# sourceMappingURL=list-schedules.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-schedules.d.mts","names":[],"sources":["../../src/actions/list-schedules.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-schedules.d.mts","names":[],"sources":["../../src/actions/list-schedules.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAiCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-schedules.mjs","names":[],"sources":["../../src/actions/list-schedules.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlanlyListSchedulesInput,\n typeof PlanlyListSchedulesOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,CA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AAS,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,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,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,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,6CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-team-users.cjs","names":["z","action"],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlanlyListTeamUsersInput,\n typeof PlanlyListTeamUsersOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-team-users.d.ts
|
|
@@ -13,21 +15,7 @@ declare const PlanlyListTeamUsersOutput: z.ZodObject<{
|
|
|
13
15
|
fullname: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const planlyListTeamUsers:
|
|
17
|
-
id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const planlyListTeamUsers: AppAction<typeof PlanlyListTeamUsersInput, typeof PlanlyListTeamUsersOutput, typeof planly.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { planlyListTeamUsers };
|
|
33
21
|
//# sourceMappingURL=list-team-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-team-users.d.cts","names":[],"sources":["../../src/actions/list-team-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-team-users.d.cts","names":[],"sources":["../../src/actions/list-team-users.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-team-users.d.ts
|
|
@@ -13,21 +15,7 @@ declare const PlanlyListTeamUsersOutput: z.ZodObject<{
|
|
|
13
15
|
fullname: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const planlyListTeamUsers:
|
|
17
|
-
id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const planlyListTeamUsers: AppAction<typeof PlanlyListTeamUsersInput, typeof PlanlyListTeamUsersOutput, typeof planly.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { planlyListTeamUsers };
|
|
33
21
|
//# sourceMappingURL=list-team-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-team-users.d.mts","names":[],"sources":["../../src/actions/list-team-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-team-users.d.mts","names":[],"sources":["../../src/actions/list-team-users.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-team-users.mjs","names":[],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlanlyListTeamUsersInput,\n typeof PlanlyListTeamUsersOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qCAAqC,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planly } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlanlyListTeamsInput,\n typeof PlanlyListTeamsOutput,\n typeof planly.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sDAAsD,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { planly } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-teams.d.ts
|
|
@@ -12,19 +14,7 @@ declare const PlanlyListTeamsOutput: z.ZodObject<{
|
|
|
12
14
|
channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const planlyListTeams:
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planly", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const planlyListTeams: AppAction<typeof PlanlyListTeamsInput, typeof PlanlyListTeamsOutput, typeof planly.credential>;
|
|
28
18
|
//#endregion
|
|
29
19
|
export { planlyListTeams };
|
|
30
20
|
//# sourceMappingURL=list-teams.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-teams.d.cts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-teams.d.cts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,MAAA,CAAO,UAAA"}
|