@keystrokehq/planly 0.1.4 → 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 -5
- package/dist/actions/complete-ai-prompt.d.cts.map +1 -1
- package/dist/actions/complete-ai-prompt.d.mts +3 -5
- 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 -3
- package/dist/actions/create-team.d.cts.map +1 -1
- package/dist/actions/create-team.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-media.d.cts.map +1 -1
- package/dist/actions/delete-media.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-team.d.cts.map +1 -1
- package/dist/actions/delete-team.d.mts +3 -3
- 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 -4
- package/dist/actions/edit-team.d.cts.map +1 -1
- package/dist/actions/edit-team.d.mts +3 -4
- 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 -3
- package/dist/actions/get-ai-credits.d.cts.map +1 -1
- package/dist/actions/get-ai-credits.d.mts +3 -3
- 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 -3
- package/dist/actions/get-team.d.cts.map +1 -1
- package/dist/actions/get-team.d.mts +3 -3
- 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 -4
- package/dist/actions/import-media-from-url.d.cts.map +1 -1
- package/dist/actions/import-media-from-url.d.mts +3 -4
- 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 -3
- package/dist/actions/list-channels.d.cts.map +1 -1
- package/dist/actions/list-channels.d.mts +3 -3
- 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 -8
- package/dist/actions/list-media.d.cts.map +1 -1
- package/dist/actions/list-media.d.mts +3 -8
- 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 -19
- package/dist/actions/list-schedule-groups.d.cts.map +1 -1
- package/dist/actions/list-schedule-groups.d.mts +3 -19
- 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 -8
- package/dist/actions/list-schedules.d.cts.map +1 -1
- package/dist/actions/list-schedules.d.mts +3 -8
- 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 -3
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +3 -3
- 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 -1
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +3 -1
- 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 -6
- package/dist/actions/start-media-upload.d.cts.map +1 -1
- package/dist/actions/start-media-upload.d.mts +3 -6
- 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 +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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-schedule-groups.mjs","names":[],"sources":["../../src/actions/list-schedule-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListScheduleGroupsInput = z.object({\n ids: z.array(z.string()).describe(\"Array of specific schedule group IDs to retrieve. Use when you need to fetch specific schedule groups by their IDs.\").optional(),\n filter: z.object({\n status: z.array(z.union([z.literal(0), z.literal(1), z.literal(3), z.literal(4)]).describe(\"Schedule status enum mapping API integer codes to human-readable names.\")).describe(\"Array of schedule status values to filter by. Use to find schedules in specific states.\").optional(),\n channels: z.array(z.string()).describe(\"Array of channel IDs to filter schedule groups by specific channels. Use to limit results to specific social media channels.\").optional(),\n mediaType: z.array(z.union([z.literal(0), z.literal(1)]).describe(\"Media type enum for filtering schedule groups.\")).describe(\"Array of media types to filter schedule groups. Use to find schedules with specific content types.\").optional(),\n socialNetworks: z.array(z.enum([\"threads\", \"youtube\", \"instagram\", \"tiktok\", \"tiktok_business\", \"twitter\", \"pinterest\", \"facebook\", \"linkedin\", \"mastodon\", \"bluesky\"]).describe(\"Available social network values for filtering.\")).describe(\"Array of social network names to filter schedule groups. Use to limit results to specific social platforms.\").optional(),\n}).describe(\"Filter options for schedule groups.\").optional(),\n teamId: z.string().describe(\"ID of the team to retrieve schedule groups for. Required to scope the request to a specific team.\"),\n dateRange: z.object({\n since: z.string().describe(\"Start date for filtering schedule groups. Use ISO 8601 format (e.g., '2024-01-01T00:00:00Z') or simple date format.\").optional(),\n until: z.string().describe(\"End date for filtering schedule groups. Use ISO 8601 format (e.g., '2024-12-31T23:59:59Z') or simple date format.\").optional(),\n}).describe(\"Date range filter for schedule groups.\").optional(),\n pagination: z.object({\n cursor: z.string().describe(\"A cursor string for pagination from previous response's next field. Use to retrieve the next page of results.\").optional(),\n orderBy: z.array(z.union([z.enum([\"CreatedAt\", \"ContentLength\"]).describe(\"Available fields for ordering results.\"), z.enum([\"asc\", \"desc\"]).describe(\"Order direction for sorting.\")])).describe(\"Array specifying sort order with field and direction. First element is the field (CreatedAt or ContentLength), second is direction (asc or desc).\").optional(),\n pageSize: z.number().int().describe(\"Maximum number of results to return per page. Defaults to 50 if not specified. Maximum allowed is 100.\").optional(),\n}).describe(\"Pagination options for schedule groups listing.\").optional(),\n}).describe(\"Request model for listing schedule groups with filtering and pagination.\");\nconst PlanlyListScheduleGroups_MediaObjectSchema = z.object({\n id: z.string().describe(\"Media file identifier.\").nullable(),\n options: z.record(z.string(), z.unknown()).describe(\"Platform-specific media configuration options.\").nullable().optional(),\n}).passthrough().describe(\"Media object attached to a schedule.\");\nconst PlanlyListScheduleGroups_ChannelSchema = z.object({\n id: z.string().describe(\"Unique identifier for the channel.\").nullable(),\n name: z.string().describe(\"Name of the social media channel.\").nullable(),\n method: z.string().describe(\"Posting method used for the channel.\").nullable().optional(),\n picture: z.string().describe(\"Profile picture URL for the channel.\").nullable().optional(),\n social_network: z.string().describe(\"Social network type (e.g., instagram, twitter, linkedin).\").nullable(),\n}).passthrough().describe(\"Channel information within a schedule.\");\nconst PlanlyListScheduleGroups_ScheduleSchema = z.object({\n id: z.string().describe(\"Unique identifier for the schedule.\").nullable(),\n url: z.string().describe(\"URL of the published post, if available.\").nullable().optional(),\n media: z.array(PlanlyListScheduleGroups_MediaObjectSchema).describe(\"Array of media objects attached to the schedule.\").nullable().optional(),\n status: z.number().int().describe(\"Status code of the schedule (0=Draft, 1=Scheduled, 3=Published, 4=Failed).\").nullable().optional(),\n channel: PlanlyListScheduleGroups_ChannelSchema.nullable(),\n content: z.string().describe(\"Text content for the scheduled post.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Platform-specific options for the schedule (varies by social network: Instagram, YouTube, TikTok, etc.).\").nullable().optional(),\n externalId: z.string().describe(\"External ID from the social network platform.\").nullable().optional(),\n errorMessage: z.string().describe(\"Error message if the schedule failed.\").nullable().optional(),\n}).passthrough().describe(\"Individual schedule information within a schedule group.\");\nconst PlanlyListScheduleGroups_ScheduleGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the schedule group (UUID).\").nullable(),\n status: z.string().describe(\"Overall status of the schedule group (scheduled, draft, published, or failed).\").nullable(),\n createdAt: z.string().describe(\"Creation date and time in ISO 8601 format.\").nullable(),\n publishOn: z.string().describe(\"Scheduled publication date and time in ISO 8601 format.\").nullable(),\n schedules: z.array(PlanlyListScheduleGroups_ScheduleSchema).describe(\"Array of individual schedules in this group.\"),\n syncEnabled: z.boolean().describe(\"Whether synchronization is enabled for this schedule group.\").nullable(),\n}).passthrough().describe(\"Schedule group containing multiple schedules.\");\nconst PlanlyListScheduleGroups_ScheduleGroupDataSchema = z.object({\n next: z.string().describe(\"Pagination cursor for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n rows: z.array(PlanlyListScheduleGroups_ScheduleGroupSchema).describe(\"Array of schedule group objects.\"),\n totalNumberOfRows: z.number().int().describe(\"Total number of schedule groups matching the query.\").nullable(),\n}).passthrough().describe(\"Data container for schedule groups response.\");\nconst PlanlyListScheduleGroups_ErrorObjectSchema = z.object({\n code: z.string().describe(\"Error code if available.\").nullable().optional(),\n message: z.string().describe(\"Error message.\").nullable(),\n}).passthrough().describe(\"Error object in API response.\");\nexport const PlanlyListScheduleGroupsOutput = z.object({\n data: PlanlyListScheduleGroups_ScheduleGroupDataSchema.nullable(),\n error: PlanlyListScheduleGroups_ErrorObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing schedule groups.\");\n\nexport const planlyListScheduleGroups = action(\"PLANLY_LIST_SCHEDULE_GROUPS\", {\n slug: \"planly-list-schedule-groups\",\n name: \"List Schedule Groups\",\n description: \"Tool to retrieve a list of schedule groups for a team with comprehensive filtering and pagination. Use when you need to view scheduled posts, filter by channels, status, social networks, media type, or date range. Returns detailed information about each schedule group including individual schedules and their status.\",\n input: PlanlyListScheduleGroupsInput,\n output: PlanlyListScheduleGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClK,QAAQ,EAAE,OAAO;EACjB,QAAQ,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpR,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAChL,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC7O,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAW;GAAW;GAAa;GAAU;GAAmB;GAAW;GAAa;GAAY;GAAY;GAAY;EAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACvW,CAAC,CAAC,CAAC,SAAS,q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AC,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,OAAO;EACjB,QAAQ,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpR,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAChL,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC7O,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAW;GAAW;GAAa;GAAU;GAAmB;GAAW;GAAa;GAAY;GAAY;GAAY;EAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACvW,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC/H,WAAW,EAAE,OAAO;EACpB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC3J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAA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AO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,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,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;CACt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A2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAM,uCAAuC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,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,14 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
40
|
+
declare const planlyListSchedules: AppAction<typeof PlanlyListSchedulesInput, typeof PlanlyListSchedulesOutput, typeof planly.credential>;
|
|
46
41
|
//#endregion
|
|
47
42
|
export { planlyListSchedules };
|
|
48
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,14 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
40
|
+
declare const planlyListSchedules: AppAction<typeof PlanlyListSchedulesInput, typeof PlanlyListSchedulesOutput, typeof planly.credential>;
|
|
46
41
|
//#endregion
|
|
47
42
|
export { planlyListSchedules };
|
|
48
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,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CA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,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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const planlyListTeamUsers: AppAction<typeof PlanlyListTeamUsersInput, typeof PlanlyListTeamUsersOutput, typeof planly.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { planlyListTeamUsers };
|
|
21
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const planlyListTeamUsers: AppAction<typeof PlanlyListTeamUsersInput, typeof PlanlyListTeamUsersOutput, typeof planly.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { planlyListTeamUsers };
|
|
21
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,7 +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:
|
|
17
|
+
declare const planlyListTeams: AppAction<typeof PlanlyListTeamsInput, typeof PlanlyListTeamsOutput, typeof planly.credential>;
|
|
16
18
|
//#endregion
|
|
17
19
|
export { planlyListTeams };
|
|
18
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"}
|
|
@@ -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-teams.d.ts
|
|
@@ -12,7 +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:
|
|
17
|
+
declare const planlyListTeams: AppAction<typeof PlanlyListTeamsInput, typeof PlanlyListTeamsOutput, typeof planly.credential>;
|
|
16
18
|
//#endregion
|
|
17
19
|
export { planlyListTeams };
|
|
18
20
|
//# sourceMappingURL=list-teams.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-teams.d.mts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-teams.d.mts","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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-teams.mjs","names":[],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters required.\");\nconst PlanlyListTeams_TeamDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the team\").nullable().optional(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n role: z.number().int().describe(\"User's role in the team\").nullable().optional(),\n users: z.number().int().describe(\"Number of users in the team\").nullable().optional(),\n picture: z.string().describe(\"URL to the team's picture\").nullable().optional(),\n channels: z.number().int().describe(\"Number of channels in the team\").nullable().optional(),\n}).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.mjs","names":[],"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,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACpH,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmC,EAAE,OAAO,EAC5C,MAAM,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sDAAsD,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-media-upload.cjs","names":["z","action"],"sources":["../../src/actions/start-media-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyStartMediaUploadInput = z.object({\n teamId: z.string().describe(\"ID of the team to which the media will be uploaded\"),\n fileName: z.string().describe(\"Name of the file being uploaded. Required if contentType is not provided\").optional(),\n contentType: z.string().describe(\"MIME type of the file (e.g., image/jpeg, video/mp4, image/png). Required if fileName is not provided\").optional(),\n contentLength: z.number().int().describe(\"Size of the file in bytes\"),\n}).describe(\"Request model for starting a media file upload to Planly.\");\nexport const PlanlyStartMediaUploadOutput = z.object({\n verb: z.string().describe(\"HTTP method to use for uploading the file (typically 'PUT')\").nullable(),\n headers: z.record(z.string(), z.unknown()).describe(\"Headers required for the upload request\"),\n mediaId: z.string().describe(\"Unique identifier for the media file\").nullable(),\n uploadUrl: z.string().describe(\"Pre-signed URL where the file should be uploaded using a PUT request\").nullable(),\n}).passthrough().describe(\"Response model containing the pre-signed upload URL and metadata.\");\n\nexport const planlyStartMediaUpload = action(\"PLANLY_START_MEDIA_UPLOAD\", {\n slug: \"planly-start-media-upload\",\n name: \"Start Media Upload\",\n description: \"Tool to start the upload process for a media file. Returns a pre-signed upload URL where the file should be uploaded using a PUT request. Use when you need to prepare for uploading images or videos to Planly.\",\n input: PlanlyStartMediaUploadInput,\n output: PlanlyStartMediaUploadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-media-upload.cjs","names":["z","action"],"sources":["../../src/actions/start-media-upload.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 PlanlyStartMediaUploadInput = z.object({\n teamId: z.string().describe(\"ID of the team to which the media will be uploaded\"),\n fileName: z.string().describe(\"Name of the file being uploaded. Required if contentType is not provided\").optional(),\n contentType: z.string().describe(\"MIME type of the file (e.g., image/jpeg, video/mp4, image/png). Required if fileName is not provided\").optional(),\n contentLength: z.number().int().describe(\"Size of the file in bytes\"),\n}).describe(\"Request model for starting a media file upload to Planly.\");\nexport const PlanlyStartMediaUploadOutput = z.object({\n verb: z.string().describe(\"HTTP method to use for uploading the file (typically 'PUT')\").nullable(),\n headers: z.record(z.string(), z.unknown()).describe(\"Headers required for the upload request\"),\n mediaId: z.string().describe(\"Unique identifier for the media file\").nullable(),\n uploadUrl: z.string().describe(\"Pre-signed URL where the file should be uploaded using a PUT request\").nullable(),\n}).passthrough().describe(\"Response model containing the pre-signed upload URL and metadata.\");\n\nexport const planlyStartMediaUpload: AppAction<\n typeof PlanlyStartMediaUploadInput,\n typeof PlanlyStartMediaUploadOutput,\n typeof planly.credential\n> = action(\"PLANLY_START_MEDIA_UPLOAD\", {\n slug: \"planly-start-media-upload\",\n name: \"Start Media Upload\",\n description: \"Tool to start the upload process for a media file. Returns a pre-signed upload URL where the file should be uploaded using a PUT request. Use when you need to prepare for uploading images or videos to Planly.\",\n input: PlanlyStartMediaUploadInput,\n output: PlanlyStartMediaUploadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAClJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;AACtE,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,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/start-media-upload.d.ts
|
|
@@ -13,12 +15,7 @@ declare const PlanlyStartMediaUploadOutput: z.ZodObject<{
|
|
|
13
15
|
mediaId: z.ZodNullable<z.ZodString>;
|
|
14
16
|
uploadUrl: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const planlyStartMediaUpload:
|
|
17
|
-
teamId: string;
|
|
18
|
-
contentLength: number;
|
|
19
|
-
fileName?: string | undefined;
|
|
20
|
-
contentType?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const planlyStartMediaUpload: AppAction<typeof PlanlyStartMediaUploadInput, typeof PlanlyStartMediaUploadOutput, typeof planly.credential>;
|
|
22
19
|
//#endregion
|
|
23
20
|
export { planlyStartMediaUpload };
|
|
24
21
|
//# sourceMappingURL=start-media-upload.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-media-upload.d.cts","names":[],"sources":["../../src/actions/start-media-upload.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-media-upload.d.cts","names":[],"sources":["../../src/actions/start-media-upload.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/start-media-upload.d.ts
|
|
@@ -13,12 +15,7 @@ declare const PlanlyStartMediaUploadOutput: z.ZodObject<{
|
|
|
13
15
|
mediaId: z.ZodNullable<z.ZodString>;
|
|
14
16
|
uploadUrl: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const planlyStartMediaUpload:
|
|
17
|
-
teamId: string;
|
|
18
|
-
contentLength: number;
|
|
19
|
-
fileName?: string | undefined;
|
|
20
|
-
contentType?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const planlyStartMediaUpload: AppAction<typeof PlanlyStartMediaUploadInput, typeof PlanlyStartMediaUploadOutput, typeof planly.credential>;
|
|
22
19
|
//#endregion
|
|
23
20
|
export { planlyStartMediaUpload };
|
|
24
21
|
//# sourceMappingURL=start-media-upload.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-media-upload.d.mts","names":[],"sources":["../../src/actions/start-media-upload.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-media-upload.d.mts","names":[],"sources":["../../src/actions/start-media-upload.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-media-upload.mjs","names":[],"sources":["../../src/actions/start-media-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyStartMediaUploadInput = z.object({\n teamId: z.string().describe(\"ID of the team to which the media will be uploaded\"),\n fileName: z.string().describe(\"Name of the file being uploaded. Required if contentType is not provided\").optional(),\n contentType: z.string().describe(\"MIME type of the file (e.g., image/jpeg, video/mp4, image/png). Required if fileName is not provided\").optional(),\n contentLength: z.number().int().describe(\"Size of the file in bytes\"),\n}).describe(\"Request model for starting a media file upload to Planly.\");\nexport const PlanlyStartMediaUploadOutput = z.object({\n verb: z.string().describe(\"HTTP method to use for uploading the file (typically 'PUT')\").nullable(),\n headers: z.record(z.string(), z.unknown()).describe(\"Headers required for the upload request\"),\n mediaId: z.string().describe(\"Unique identifier for the media file\").nullable(),\n uploadUrl: z.string().describe(\"Pre-signed URL where the file should be uploaded using a PUT request\").nullable(),\n}).passthrough().describe(\"Response model containing the pre-signed upload URL and metadata.\");\n\nexport const planlyStartMediaUpload = action(\"PLANLY_START_MEDIA_UPLOAD\", {\n slug: \"planly-start-media-upload\",\n name: \"Start Media Upload\",\n description: \"Tool to start the upload process for a media file. Returns a pre-signed upload URL where the file should be uploaded using a PUT request. Use when you need to prepare for uploading images or videos to Planly.\",\n input: PlanlyStartMediaUploadInput,\n output: PlanlyStartMediaUploadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-media-upload.mjs","names":[],"sources":["../../src/actions/start-media-upload.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 PlanlyStartMediaUploadInput = z.object({\n teamId: z.string().describe(\"ID of the team to which the media will be uploaded\"),\n fileName: z.string().describe(\"Name of the file being uploaded. Required if contentType is not provided\").optional(),\n contentType: z.string().describe(\"MIME type of the file (e.g., image/jpeg, video/mp4, image/png). Required if fileName is not provided\").optional(),\n contentLength: z.number().int().describe(\"Size of the file in bytes\"),\n}).describe(\"Request model for starting a media file upload to Planly.\");\nexport const PlanlyStartMediaUploadOutput = z.object({\n verb: z.string().describe(\"HTTP method to use for uploading the file (typically 'PUT')\").nullable(),\n headers: z.record(z.string(), z.unknown()).describe(\"Headers required for the upload request\"),\n mediaId: z.string().describe(\"Unique identifier for the media file\").nullable(),\n uploadUrl: z.string().describe(\"Pre-signed URL where the file should be uploaded using a PUT request\").nullable(),\n}).passthrough().describe(\"Response model containing the pre-signed upload URL and metadata.\");\n\nexport const planlyStartMediaUpload: AppAction<\n typeof PlanlyStartMediaUploadInput,\n typeof PlanlyStartMediaUploadOutput,\n typeof planly.credential\n> = action(\"PLANLY_START_MEDIA_UPLOAD\", {\n slug: \"planly-start-media-upload\",\n name: \"Start Media Upload\",\n description: \"Tool to start the upload process for a media file. Returns a pre-signed upload URL where the file should be uploaded using a PUT request. Use when you need to prepare for uploading images or videos to Planly.\",\n input: PlanlyStartMediaUploadInput,\n output: PlanlyStartMediaUploadOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAClJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACtE,CAAC,CAAC,CAAC,SAAS,2DAgBH;CACP,QAhB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const planly = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "planly",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.planly = planly;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const planly = defineApp({\n slug: \"planly\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const planly: KeystrokeApp<\"planly\", typeof credential> = defineApp({\n slug: \"planly\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const planly: KeystrokeApp<"planly", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { planly };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const planly: KeystrokeApp<"planly", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { planly };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const planly = defineApp({
|
|
4
4
|
slug: "planly",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { planly };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const planly = defineApp({\n slug: \"planly\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const planly: KeystrokeApp<\"planly\", typeof credential> = defineApp({\n slug: \"planly\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,SAAoD,UAAU;CACzE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { planly } from "./app.cjs";
|
|
1
2
|
import { planlyCompleteAiPrompt } from "./actions/complete-ai-prompt.cjs";
|
|
2
3
|
import { planlyCreateTeam } from "./actions/create-team.cjs";
|
|
3
4
|
import { planlyDeleteMedia } from "./actions/delete-media.cjs";
|
|
@@ -13,6 +14,5 @@ import { planlyListSchedules } from "./actions/list-schedules.cjs";
|
|
|
13
14
|
import { planlyListTeamUsers } from "./actions/list-team-users.cjs";
|
|
14
15
|
import { planlyListTeams } from "./actions/list-teams.cjs";
|
|
15
16
|
import { planlyStartMediaUpload } from "./actions/start-media-upload.cjs";
|
|
16
|
-
import { planly } from "./app.cjs";
|
|
17
17
|
import { planlyCatalog } from "./catalog.cjs";
|
|
18
18
|
export { planly, planlyCatalog, planlyCompleteAiPrompt, planlyCreateTeam, planlyDeleteMedia, planlyDeleteTeam, planlyEditTeam, planlyGetAiCredits, planlyGetTeam, planlyImportMediaFromUrl, planlyListChannels, planlyListMedia, planlyListScheduleGroups, planlyListSchedules, planlyListTeamUsers, planlyListTeams, planlyStartMediaUpload };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { planly } from "./app.mjs";
|
|
1
2
|
import { planlyCompleteAiPrompt } from "./actions/complete-ai-prompt.mjs";
|
|
2
3
|
import { planlyCreateTeam } from "./actions/create-team.mjs";
|
|
3
4
|
import { planlyDeleteMedia } from "./actions/delete-media.mjs";
|
|
@@ -13,6 +14,5 @@ import { planlyListSchedules } from "./actions/list-schedules.mjs";
|
|
|
13
14
|
import { planlyListTeamUsers } from "./actions/list-team-users.mjs";
|
|
14
15
|
import { planlyListTeams } from "./actions/list-teams.mjs";
|
|
15
16
|
import { planlyStartMediaUpload } from "./actions/start-media-upload.mjs";
|
|
16
|
-
import { planly } from "./app.mjs";
|
|
17
17
|
import { planlyCatalog } from "./catalog.mjs";
|
|
18
18
|
export { planly, planlyCatalog, planlyCompleteAiPrompt, planlyCreateTeam, planlyDeleteMedia, planlyDeleteTeam, planlyEditTeam, planlyGetAiCredits, planlyGetTeam, planlyImportMediaFromUrl, planlyListChannels, planlyListMedia, planlyListScheduleGroups, planlyListSchedules, planlyListTeamUsers, planlyListTeams, planlyStartMediaUpload };
|