@keystrokehq/scheduleonce 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/book-time-slot.cjs +1 -0
- package/dist/actions/book-time-slot.cjs.map +1 -1
- package/dist/actions/book-time-slot.d.cts +3 -21
- package/dist/actions/book-time-slot.d.cts.map +1 -1
- package/dist/actions/book-time-slot.d.mts +3 -21
- package/dist/actions/book-time-slot.d.mts.map +1 -1
- package/dist/actions/book-time-slot.mjs +1 -0
- package/dist/actions/book-time-slot.mjs.map +1 -1
- package/dist/actions/cancel-booking.cjs +1 -0
- package/dist/actions/cancel-booking.cjs.map +1 -1
- package/dist/actions/cancel-booking.d.cts +3 -5
- package/dist/actions/cancel-booking.d.cts.map +1 -1
- package/dist/actions/cancel-booking.d.mts +3 -5
- package/dist/actions/cancel-booking.d.mts.map +1 -1
- package/dist/actions/cancel-booking.mjs +1 -0
- package/dist/actions/cancel-booking.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -16
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -16
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-one-time-link-for-booking-calendar.cjs +1 -0
- package/dist/actions/create-one-time-link-for-booking-calendar.cjs.map +1 -1
- package/dist/actions/create-one-time-link-for-booking-calendar.d.cts +3 -7
- package/dist/actions/create-one-time-link-for-booking-calendar.d.cts.map +1 -1
- package/dist/actions/create-one-time-link-for-booking-calendar.d.mts +3 -7
- package/dist/actions/create-one-time-link-for-booking-calendar.d.mts.map +1 -1
- package/dist/actions/create-one-time-link-for-booking-calendar.mjs +1 -0
- package/dist/actions/create-one-time-link-for-booking-calendar.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -6
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -6
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-available-time-slots.cjs +1 -0
- package/dist/actions/get-available-time-slots.cjs.map +1 -1
- package/dist/actions/get-available-time-slots.d.cts +3 -5
- package/dist/actions/get-available-time-slots.d.cts.map +1 -1
- package/dist/actions/get-available-time-slots.d.mts +3 -5
- package/dist/actions/get-available-time-slots.d.mts.map +1 -1
- package/dist/actions/get-available-time-slots.mjs +1 -0
- package/dist/actions/get-available-time-slots.mjs.map +1 -1
- package/dist/actions/get-single-booking-calendar.cjs +1 -0
- package/dist/actions/get-single-booking-calendar.cjs.map +1 -1
- package/dist/actions/get-single-booking-calendar.d.cts +3 -3
- package/dist/actions/get-single-booking-calendar.d.cts.map +1 -1
- package/dist/actions/get-single-booking-calendar.d.mts +3 -3
- package/dist/actions/get-single-booking-calendar.d.mts.map +1 -1
- package/dist/actions/get-single-booking-calendar.mjs +1 -0
- package/dist/actions/get-single-booking-calendar.mjs.map +1 -1
- package/dist/actions/get-single-booking.cjs +1 -0
- package/dist/actions/get-single-booking.cjs.map +1 -1
- package/dist/actions/get-single-booking.d.cts +3 -4
- package/dist/actions/get-single-booking.d.cts.map +1 -1
- package/dist/actions/get-single-booking.d.mts +3 -4
- package/dist/actions/get-single-booking.d.mts.map +1 -1
- package/dist/actions/get-single-booking.mjs +1 -0
- package/dist/actions/get-single-booking.mjs.map +1 -1
- package/dist/actions/get-single-contact.cjs +1 -0
- package/dist/actions/get-single-contact.cjs.map +1 -1
- package/dist/actions/get-single-contact.d.cts +3 -3
- package/dist/actions/get-single-contact.d.cts.map +1 -1
- package/dist/actions/get-single-contact.d.mts +3 -3
- package/dist/actions/get-single-contact.d.mts.map +1 -1
- package/dist/actions/get-single-contact.mjs +1 -0
- package/dist/actions/get-single-contact.mjs.map +1 -1
- package/dist/actions/get-single-master-page.cjs +1 -0
- package/dist/actions/get-single-master-page.cjs.map +1 -1
- package/dist/actions/get-single-master-page.d.cts +3 -3
- package/dist/actions/get-single-master-page.d.cts.map +1 -1
- package/dist/actions/get-single-master-page.d.mts +3 -3
- package/dist/actions/get-single-master-page.d.mts.map +1 -1
- package/dist/actions/get-single-master-page.mjs +1 -0
- package/dist/actions/get-single-master-page.mjs.map +1 -1
- package/dist/actions/get-single-user.cjs +1 -0
- package/dist/actions/get-single-user.cjs.map +1 -1
- package/dist/actions/get-single-user.d.cts +3 -4
- package/dist/actions/get-single-user.d.cts.map +1 -1
- package/dist/actions/get-single-user.d.mts +3 -4
- package/dist/actions/get-single-user.d.mts.map +1 -1
- package/dist/actions/get-single-user.mjs +1 -0
- package/dist/actions/get-single-user.mjs.map +1 -1
- package/dist/actions/get-user-scheduling-availability.cjs +1 -0
- package/dist/actions/get-user-scheduling-availability.cjs.map +1 -1
- package/dist/actions/get-user-scheduling-availability.d.cts +3 -3
- package/dist/actions/get-user-scheduling-availability.d.cts.map +1 -1
- package/dist/actions/get-user-scheduling-availability.d.mts +3 -3
- package/dist/actions/get-user-scheduling-availability.d.mts.map +1 -1
- package/dist/actions/get-user-scheduling-availability.mjs +1 -0
- package/dist/actions/get-user-scheduling-availability.mjs.map +1 -1
- package/dist/actions/list-all-booking-calendars.cjs +1 -0
- package/dist/actions/list-all-booking-calendars.cjs.map +1 -1
- package/dist/actions/list-all-booking-calendars.d.cts +3 -5
- package/dist/actions/list-all-booking-calendars.d.cts.map +1 -1
- package/dist/actions/list-all-booking-calendars.d.mts +3 -5
- package/dist/actions/list-all-booking-calendars.d.mts.map +1 -1
- package/dist/actions/list-all-booking-calendars.mjs +1 -0
- package/dist/actions/list-all-booking-calendars.mjs.map +1 -1
- package/dist/actions/list-all-booking-pages.cjs +1 -0
- package/dist/actions/list-all-booking-pages.cjs.map +1 -1
- package/dist/actions/list-all-booking-pages.d.cts +3 -5
- package/dist/actions/list-all-booking-pages.d.cts.map +1 -1
- package/dist/actions/list-all-booking-pages.d.mts +3 -5
- package/dist/actions/list-all-booking-pages.d.mts.map +1 -1
- package/dist/actions/list-all-booking-pages.mjs +1 -0
- package/dist/actions/list-all-booking-pages.mjs.map +1 -1
- package/dist/actions/list-all-bookings.cjs +1 -0
- package/dist/actions/list-all-bookings.cjs.map +1 -1
- package/dist/actions/list-all-bookings.d.cts +3 -10
- package/dist/actions/list-all-bookings.d.cts.map +1 -1
- package/dist/actions/list-all-bookings.d.mts +3 -10
- package/dist/actions/list-all-bookings.d.mts.map +1 -1
- package/dist/actions/list-all-bookings.mjs +1 -0
- package/dist/actions/list-all-bookings.mjs.map +1 -1
- package/dist/actions/list-all-contacts.cjs +1 -0
- package/dist/actions/list-all-contacts.cjs.map +1 -1
- package/dist/actions/list-all-contacts.d.cts +3 -9
- package/dist/actions/list-all-contacts.d.cts.map +1 -1
- package/dist/actions/list-all-contacts.d.mts +3 -9
- package/dist/actions/list-all-contacts.d.mts.map +1 -1
- package/dist/actions/list-all-contacts.mjs +1 -0
- package/dist/actions/list-all-contacts.mjs.map +1 -1
- package/dist/actions/list-all-event-types.cjs +1 -0
- package/dist/actions/list-all-event-types.cjs.map +1 -1
- package/dist/actions/list-all-event-types.d.cts +3 -5
- package/dist/actions/list-all-event-types.d.cts.map +1 -1
- package/dist/actions/list-all-event-types.d.mts +3 -5
- package/dist/actions/list-all-event-types.d.mts.map +1 -1
- package/dist/actions/list-all-event-types.mjs +1 -0
- package/dist/actions/list-all-event-types.mjs.map +1 -1
- package/dist/actions/list-all-master-pages.cjs +1 -0
- package/dist/actions/list-all-master-pages.cjs.map +1 -1
- package/dist/actions/list-all-master-pages.d.cts +3 -5
- package/dist/actions/list-all-master-pages.d.cts.map +1 -1
- package/dist/actions/list-all-master-pages.d.mts +3 -5
- package/dist/actions/list-all-master-pages.d.mts.map +1 -1
- package/dist/actions/list-all-master-pages.mjs +1 -0
- package/dist/actions/list-all-master-pages.mjs.map +1 -1
- package/dist/actions/list-all-teams.cjs +1 -0
- package/dist/actions/list-all-teams.cjs.map +1 -1
- package/dist/actions/list-all-teams.d.cts +3 -5
- package/dist/actions/list-all-teams.d.cts.map +1 -1
- package/dist/actions/list-all-teams.d.mts +3 -5
- package/dist/actions/list-all-teams.d.mts.map +1 -1
- package/dist/actions/list-all-teams.mjs +1 -0
- package/dist/actions/list-all-teams.mjs.map +1 -1
- package/dist/actions/list-all-users.cjs +1 -0
- package/dist/actions/list-all-users.cjs.map +1 -1
- package/dist/actions/list-all-users.d.cts +3 -5
- package/dist/actions/list-all-users.d.cts.map +1 -1
- package/dist/actions/list-all-users.d.mts +3 -5
- package/dist/actions/list-all-users.d.mts.map +1 -1
- package/dist/actions/list-all-users.mjs +1 -0
- package/dist/actions/list-all-users.mjs.map +1 -1
- package/dist/actions/mark-booking-as-no-show.cjs +1 -0
- package/dist/actions/mark-booking-as-no-show.cjs.map +1 -1
- package/dist/actions/mark-booking-as-no-show.d.cts +3 -3
- package/dist/actions/mark-booking-as-no-show.d.cts.map +1 -1
- package/dist/actions/mark-booking-as-no-show.d.mts +3 -3
- package/dist/actions/mark-booking-as-no-show.d.mts.map +1 -1
- package/dist/actions/mark-booking-as-no-show.mjs +1 -0
- package/dist/actions/mark-booking-as-no-show.mjs.map +1 -1
- package/dist/actions/test-api-key.cjs +1 -0
- package/dist/actions/test-api-key.cjs.map +1 -1
- package/dist/actions/test-api-key.d.cts +3 -1
- package/dist/actions/test-api-key.d.cts.map +1 -1
- package/dist/actions/test-api-key.d.mts +3 -1
- package/dist/actions/test-api-key.d.mts.map +1 -1
- package/dist/actions/test-api-key.mjs +1 -0
- package/dist/actions/test-api-key.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -8
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -8
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-user-scheduling-availability.cjs +1 -0
- package/dist/actions/update-user-scheduling-availability.cjs.map +1 -1
- package/dist/actions/update-user-scheduling-availability.d.cts +3 -32
- package/dist/actions/update-user-scheduling-availability.d.cts.map +1 -1
- package/dist/actions/update-user-scheduling-availability.d.mts +3 -32
- package/dist/actions/update-user-scheduling-availability.d.mts.map +1 -1
- package/dist/actions/update-user-scheduling-availability.mjs +1 -0
- package/dist/actions/update-user-scheduling-availability.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -8
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -8
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.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":"get-user-scheduling-availability.mjs","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n}).describe(\"Request model for getting user scheduling availability.\");\nconst ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours within a day.\");\nconst ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')\").nullable().optional(),\n working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\");\nconst ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\");\nexport const ScheduleonceGetUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'user'\").nullable().optional(),\n weekly: z.array(ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema).describe(\"Weekly schedule containing availability for each day\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema).describe(\"List of specific date overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting user scheduling availability.\");\n\nexport const scheduleonceGetUserSchedulingAvailability = action(\"SCHEDULEONCE_GET_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-get-user-scheduling-availability\",\n name: \"Get User Scheduling Availability\",\n description: \"Tool to get user scheduling availability from OnceHub. Use when you need to retrieve a user's weekly schedule, working hours, and any date-specific overrides.\",\n input: ScheduleonceGetUserSchedulingAvailabilityInput,\n output: ScheduleonceGetUserSchedulingAvailabilityOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-scheduling-availability.mjs","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceGetUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n}).describe(\"Request model for getting user scheduling availability.\");\nconst ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours within a day.\");\nconst ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')\").nullable().optional(),\n working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\");\nconst ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\");\nexport const ScheduleonceGetUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'user'\").nullable().optional(),\n weekly: z.array(ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema).describe(\"Weekly schedule containing availability for each day\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema).describe(\"List of specific date overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting user scheduling availability.\");\n\nexport const scheduleonceGetUserSchedulingAvailability: AppAction<\n typeof ScheduleonceGetUserSchedulingAvailabilityInput,\n typeof ScheduleonceGetUserSchedulingAvailabilityOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-get-user-scheduling-availability\",\n name: \"Get User Scheduling Availability\",\n description: \"Tool to get user scheduling availability from OnceHub. Use when you need to retrieve a user's weekly schedule, working hours, and any date-specific overrides.\",\n input: ScheduleonceGetUserSchedulingAvailabilityInput,\n output: ScheduleonceGetUserSchedulingAvailabilityOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iDAAiD,EAAE,OAAO,EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,uEAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,+DAA+D,EAAE,OAAO;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,iEAAiE,EAAE,OAAO;CAC9E,KA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 -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-booking-calendars.cjs","names":["z","action"],"sources":["../../src/actions/list-all-booking-calendars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingCalendarsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking calendars in the account.\");\nconst ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the booking calendar\").nullable().optional(),\n url: z.string().describe(\"Public booking URL for the calendar\").nullable().optional(),\n host: z.string().describe(\"User ID of the calendar host/owner\").nullable().optional(),\n name: z.string().describe(\"Internal name for the booking calendar\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_calendar'\").nullable().optional(),\n subject: z.string().describe(\"Customer-facing title/subject line for the booking calendar\").nullable().optional(),\n published: z.boolean().describe(\"Indicates if the calendar is active/published and available for bookings\").nullable().optional(),\n duration_minutes: z.number().int().describe(\"Default meeting duration in minutes\").nullable().optional(),\n}).passthrough().describe(\"Model for a booking calendar object.\");\nexport const ScheduleonceListAllBookingCalendarsOutput = z.object({\n data: z.array(ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema).describe(\"Array of booking calendar objects\"),\n}).passthrough().describe(\"Response model for listing all booking calendars.\");\n\nexport const scheduleonceListAllBookingCalendars = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_CALENDARS\", {\n slug: \"scheduleonce-list-all-booking-calendars\",\n name: \"List All Booking Calendars\",\n description: \"Tool to list all booking calendars in the account. Use when you need to retrieve all booking calendars with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingCalendarsInput,\n output: ScheduleonceListAllBookingCalendarsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-booking-calendars.cjs","names":["z","action"],"sources":["../../src/actions/list-all-booking-calendars.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceListAllBookingCalendarsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking calendars in the account.\");\nconst ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the booking calendar\").nullable().optional(),\n url: z.string().describe(\"Public booking URL for the calendar\").nullable().optional(),\n host: z.string().describe(\"User ID of the calendar host/owner\").nullable().optional(),\n name: z.string().describe(\"Internal name for the booking calendar\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_calendar'\").nullable().optional(),\n subject: z.string().describe(\"Customer-facing title/subject line for the booking calendar\").nullable().optional(),\n published: z.boolean().describe(\"Indicates if the calendar is active/published and available for bookings\").nullable().optional(),\n duration_minutes: z.number().int().describe(\"Default meeting duration in minutes\").nullable().optional(),\n}).passthrough().describe(\"Model for a booking calendar object.\");\nexport const ScheduleonceListAllBookingCalendarsOutput = z.object({\n data: z.array(ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema).describe(\"Array of booking calendar objects\"),\n}).passthrough().describe(\"Response model for listing all booking calendars.\");\n\nexport const scheduleonceListAllBookingCalendars: AppAction<\n typeof ScheduleonceListAllBookingCalendarsInput,\n typeof ScheduleonceListAllBookingCalendarsOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_CALENDARS\", {\n slug: \"scheduleonce-list-all-booking-calendars\",\n name: \"List All Booking Calendars\",\n description: \"Tool to list all booking calendars in the account. Use when you need to retrieve all booking calendars with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingCalendarsInput,\n output: ScheduleonceListAllBookingCalendarsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kEAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,mCAAmC,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,sCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-booking-calendars.d.ts
|
|
@@ -18,11 +20,7 @@ declare const ScheduleonceListAllBookingCalendarsOutput: z.ZodObject<{
|
|
|
18
20
|
duration_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
21
|
}, z.core.$loose>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const scheduleonceListAllBookingCalendars:
|
|
22
|
-
after?: string | undefined;
|
|
23
|
-
limit?: number | undefined;
|
|
24
|
-
before?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const scheduleonceListAllBookingCalendars: AppAction<typeof ScheduleonceListAllBookingCalendarsInput, typeof ScheduleonceListAllBookingCalendarsOutput, typeof scheduleonce.credential>;
|
|
26
24
|
//#endregion
|
|
27
25
|
export { scheduleonceListAllBookingCalendars };
|
|
28
26
|
//# sourceMappingURL=list-all-booking-calendars.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-booking-calendars.d.cts","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-booking-calendars.d.cts","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;cAexC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-booking-calendars.d.ts
|
|
@@ -18,11 +20,7 @@ declare const ScheduleonceListAllBookingCalendarsOutput: z.ZodObject<{
|
|
|
18
20
|
duration_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
21
|
}, z.core.$loose>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const scheduleonceListAllBookingCalendars:
|
|
22
|
-
after?: string | undefined;
|
|
23
|
-
limit?: number | undefined;
|
|
24
|
-
before?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const scheduleonceListAllBookingCalendars: AppAction<typeof ScheduleonceListAllBookingCalendarsInput, typeof ScheduleonceListAllBookingCalendarsOutput, typeof scheduleonce.credential>;
|
|
26
24
|
//#endregion
|
|
27
25
|
export { scheduleonceListAllBookingCalendars };
|
|
28
26
|
//# sourceMappingURL=list-all-booking-calendars.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-booking-calendars.d.mts","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-booking-calendars.d.mts","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;cAexC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-booking-calendars.mjs","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingCalendarsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking calendars in the account.\");\nconst ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the booking calendar\").nullable().optional(),\n url: z.string().describe(\"Public booking URL for the calendar\").nullable().optional(),\n host: z.string().describe(\"User ID of the calendar host/owner\").nullable().optional(),\n name: z.string().describe(\"Internal name for the booking calendar\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_calendar'\").nullable().optional(),\n subject: z.string().describe(\"Customer-facing title/subject line for the booking calendar\").nullable().optional(),\n published: z.boolean().describe(\"Indicates if the calendar is active/published and available for bookings\").nullable().optional(),\n duration_minutes: z.number().int().describe(\"Default meeting duration in minutes\").nullable().optional(),\n}).passthrough().describe(\"Model for a booking calendar object.\");\nexport const ScheduleonceListAllBookingCalendarsOutput = z.object({\n data: z.array(ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema).describe(\"Array of booking calendar objects\"),\n}).passthrough().describe(\"Response model for listing all booking calendars.\");\n\nexport const scheduleonceListAllBookingCalendars = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_CALENDARS\", {\n slug: \"scheduleonce-list-all-booking-calendars\",\n name: \"List All Booking Calendars\",\n description: \"Tool to list all booking calendars in the account. Use when you need to retrieve all booking calendars with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingCalendarsInput,\n output: ScheduleonceListAllBookingCalendarsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-booking-calendars.mjs","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceListAllBookingCalendarsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking calendars in the account.\");\nconst ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the booking calendar\").nullable().optional(),\n url: z.string().describe(\"Public booking URL for the calendar\").nullable().optional(),\n host: z.string().describe(\"User ID of the calendar host/owner\").nullable().optional(),\n name: z.string().describe(\"Internal name for the booking calendar\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_calendar'\").nullable().optional(),\n subject: z.string().describe(\"Customer-facing title/subject line for the booking calendar\").nullable().optional(),\n published: z.boolean().describe(\"Indicates if the calendar is active/published and available for bookings\").nullable().optional(),\n duration_minutes: z.number().int().describe(\"Default meeting duration in minutes\").nullable().optional(),\n}).passthrough().describe(\"Model for a booking calendar object.\");\nexport const ScheduleonceListAllBookingCalendarsOutput = z.object({\n data: z.array(ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema).describe(\"Array of booking calendar objects\"),\n}).passthrough().describe(\"Response model for listing all booking calendars.\");\n\nexport const scheduleonceListAllBookingCalendars: AppAction<\n typeof ScheduleonceListAllBookingCalendarsInput,\n typeof ScheduleonceListAllBookingCalendarsOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_CALENDARS\", {\n slug: \"scheduleonce-list-all-booking-calendars\",\n name: \"List All Booking Calendars\",\n description: \"Tool to list all booking calendars in the account. Use when you need to retrieve all booking calendars with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingCalendarsInput,\n output: ScheduleonceListAllBookingCalendarsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kEAAkE,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,sCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuD,EAAE,OAAO,EAChE,MAAM,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,mCAAmC,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-booking-pages.cjs","names":["z","action"],"sources":["../../src/actions/list-all-booking-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingPagesInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking pages in the account.\");\nconst ScheduleonceListAllBookingPages_BookingPageObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the booking page\").nullable().optional(),\n url: z.string().describe(\"Public URL for the booking page\").nullable().optional(),\n name: z.string().describe(\"Customer-facing name of the booking page\").nullable().optional(),\n label: z.string().describe(\"Internal label for the booking page\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the booking page is enabled to receive bookings\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_page'\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting for the booking page\").nullable().optional(),\n}).passthrough().describe(\"Model for a booking page object.\");\nexport const ScheduleonceListAllBookingPagesOutput = z.object({\n data: z.array(ScheduleonceListAllBookingPages_BookingPageObjectSchema).describe(\"Array of booking page objects\"),\n}).passthrough().describe(\"Response model for listing all booking pages.\");\n\nexport const scheduleonceListAllBookingPages = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_PAGES\", {\n slug: \"scheduleonce-list-all-booking-pages\",\n name: \"List All Booking Pages\",\n description: \"Tool to list all booking pages in the account. Use when you need to retrieve all booking pages with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingPagesInput,\n output: ScheduleonceListAllBookingPagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-booking-pages.cjs","names":["z","action"],"sources":["../../src/actions/list-all-booking-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceListAllBookingPagesInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking pages in the account.\");\nconst ScheduleonceListAllBookingPages_BookingPageObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the booking page\").nullable().optional(),\n url: z.string().describe(\"Public URL for the booking page\").nullable().optional(),\n name: z.string().describe(\"Customer-facing name of the booking page\").nullable().optional(),\n label: z.string().describe(\"Internal label for the booking page\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the booking page is enabled to receive bookings\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_page'\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting for the booking page\").nullable().optional(),\n}).passthrough().describe(\"Model for a booking page object.\");\nexport const ScheduleonceListAllBookingPagesOutput = z.object({\n data: z.array(ScheduleonceListAllBookingPages_BookingPageObjectSchema).describe(\"Array of booking page objects\"),\n}).passthrough().describe(\"Response model for listing all booking pages.\");\n\nexport const scheduleonceListAllBookingPages: AppAction<\n typeof ScheduleonceListAllBookingPagesInput,\n typeof ScheduleonceListAllBookingPagesOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_PAGES\", {\n slug: \"scheduleonce-list-all-booking-pages\",\n name: \"List All Booking Pages\",\n description: \"Tool to list all booking pages in the account. Use when you need to retrieve all booking pages with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingPagesInput,\n output: ScheduleonceListAllBookingPagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,+BAA+B,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-booking-pages.d.ts
|
|
@@ -17,11 +19,7 @@ declare const ScheduleonceListAllBookingPagesOutput: z.ZodObject<{
|
|
|
17
19
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const scheduleonceListAllBookingPages:
|
|
21
|
-
after?: string | undefined;
|
|
22
|
-
limit?: number | undefined;
|
|
23
|
-
before?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const scheduleonceListAllBookingPages: AppAction<typeof ScheduleonceListAllBookingPagesInput, typeof ScheduleonceListAllBookingPagesOutput, typeof scheduleonce.credential>;
|
|
25
23
|
//#endregion
|
|
26
24
|
export { scheduleonceListAllBookingPages };
|
|
27
25
|
//# sourceMappingURL=list-all-booking-pages.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-booking-pages.d.cts","names":[],"sources":["../../src/actions/list-all-booking-pages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-booking-pages.d.cts","names":[],"sources":["../../src/actions/list-all-booking-pages.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAcpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-booking-pages.d.ts
|
|
@@ -17,11 +19,7 @@ declare const ScheduleonceListAllBookingPagesOutput: z.ZodObject<{
|
|
|
17
19
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const scheduleonceListAllBookingPages:
|
|
21
|
-
after?: string | undefined;
|
|
22
|
-
limit?: number | undefined;
|
|
23
|
-
before?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const scheduleonceListAllBookingPages: AppAction<typeof ScheduleonceListAllBookingPagesInput, typeof ScheduleonceListAllBookingPagesOutput, typeof scheduleonce.credential>;
|
|
25
23
|
//#endregion
|
|
26
24
|
export { scheduleonceListAllBookingPages };
|
|
27
25
|
//# sourceMappingURL=list-all-booking-pages.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-booking-pages.d.mts","names":[],"sources":["../../src/actions/list-all-booking-pages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-booking-pages.d.mts","names":[],"sources":["../../src/actions/list-all-booking-pages.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAcpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-booking-pages.mjs","names":[],"sources":["../../src/actions/list-all-booking-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingPagesInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking pages in the account.\");\nconst ScheduleonceListAllBookingPages_BookingPageObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the booking page\").nullable().optional(),\n url: z.string().describe(\"Public URL for the booking page\").nullable().optional(),\n name: z.string().describe(\"Customer-facing name of the booking page\").nullable().optional(),\n label: z.string().describe(\"Internal label for the booking page\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the booking page is enabled to receive bookings\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_page'\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting for the booking page\").nullable().optional(),\n}).passthrough().describe(\"Model for a booking page object.\");\nexport const ScheduleonceListAllBookingPagesOutput = z.object({\n data: z.array(ScheduleonceListAllBookingPages_BookingPageObjectSchema).describe(\"Array of booking page objects\"),\n}).passthrough().describe(\"Response model for listing all booking pages.\");\n\nexport const scheduleonceListAllBookingPages = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_PAGES\", {\n slug: \"scheduleonce-list-all-booking-pages\",\n name: \"List All Booking Pages\",\n description: \"Tool to list all booking pages in the account. Use when you need to retrieve all booking pages with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingPagesInput,\n output: ScheduleonceListAllBookingPagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-booking-pages.mjs","names":[],"sources":["../../src/actions/list-all-booking-pages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceListAllBookingPagesInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking pages in the account.\");\nconst ScheduleonceListAllBookingPages_BookingPageObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the booking page\").nullable().optional(),\n url: z.string().describe(\"Public URL for the booking page\").nullable().optional(),\n name: z.string().describe(\"Customer-facing name of the booking page\").nullable().optional(),\n label: z.string().describe(\"Internal label for the booking page\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the booking page is enabled to receive bookings\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_page'\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting for the booking page\").nullable().optional(),\n}).passthrough().describe(\"Model for a booking page object.\");\nexport const ScheduleonceListAllBookingPagesOutput = z.object({\n data: z.array(ScheduleonceListAllBookingPages_BookingPageObjectSchema).describe(\"Array of booking page objects\"),\n}).passthrough().describe(\"Response model for listing all booking pages.\");\n\nexport const scheduleonceListAllBookingPages: AppAction<\n typeof ScheduleonceListAllBookingPagesInput,\n typeof ScheduleonceListAllBookingPagesOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_PAGES\", {\n slug: \"scheduleonce-list-all-booking-pages\",\n name: \"List All Booking Pages\",\n description: \"Tool to list all booking pages in the account. Use when you need to retrieve all booking pages with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingPagesInput,\n output: ScheduleonceListAllBookingPagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO,EAC5D,MAAM,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,+BAA+B,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-bookings.cjs","names":["z","action"],"sources":["../../src/actions/list-all-bookings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID. Mutually exclusive with 'after'.\").optional(),\n expand: z.string().describe(\"Comma-separated list of objects to expand (e.g., 'booking_page', 'event_type', 'master_page', 'owner'). By default, embedded objects return only IDs.\").optional(),\n \"creation_time.gt\": z.string().describe(\"Filter bookings created after specified time (ISO 8601 format).\").optional(),\n \"starting_time.gt\": z.string().describe(\"Filter bookings with starting time greater than specified timestamp (ISO 8601 format).\").optional(),\n \"starting_time.lt\": z.string().describe(\"Filter bookings with starting time less than specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.gt\": z.string().describe(\"Filter bookings updated after specified time (ISO 8601 format). Includes new, canceled, rescheduled, no-show, and completed bookings.\").optional(),\n}).describe(\"Request model for listing all bookings in the account.\");\nconst ScheduleonceListAllBookings_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n note: z.string().describe(\"Additional note from customer.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number.\").nullable().optional(),\n guests: z.array(z.string()).describe(\"List of guest email addresses.\").nullable().optional(),\n company: z.string().describe(\"Customer's company.\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom form fields.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or rescheduling.\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action.\").nullable().optional(),\n actioned_by: z.string().describe(\"Who performed the action.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_BookingObjectSchema = z.object({\n id: z.string().describe(\"Booking identifier.\").nullable().optional(),\n owner: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking'.\").nullable().optional(),\n status: z.string().describe(\"Lifecycle status: 'scheduled', 'rescheduled', 'canceled', 'completed', 'no-show'.\").nullable().optional(),\n subject: z.string().describe(\"Booking subject/title.\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"Array of attendee email addresses.\").nullable().optional(),\n event_type: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n master_page: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier.\").nullable().optional(),\n booking_page: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp of scheduled start.\").nullable().optional(),\n form_submission: ScheduleonceListAllBookings_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Duration in minutes.\").nullable().optional(),\n customer_timezone: z.string().describe(\"Customer's timezone (e.g., 'America/New_York').\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of last modification.\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description.\").nullable().optional(),\n virtual_conferencing: ScheduleonceListAllBookings_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of rescheduled booking if applicable.\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceListAllBookings_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough();\nexport const ScheduleonceListAllBookingsOutput = z.object({\n data: z.array(ScheduleonceListAllBookings_BookingObjectSchema).describe(\"Array of booking objects.\"),\n object: z.string().describe(\"Object type, always 'list'.\").nullable(),\n}).passthrough().describe(\"Response model for listing all bookings.\");\n\nexport const scheduleonceListAllBookings = action(\"SCHEDULEONCE_LIST_ALL_BOOKINGS\", {\n slug: \"scheduleonce-list-all-bookings\",\n name: \"List All Bookings\",\n description: \"Tool to list all bookings in the account. Use when you need to retrieve bookings with optional filtering by time ranges, pagination, or expansion of related objects.\",\n input: ScheduleonceListAllBookingsInput,\n output: ScheduleonceListAllBookingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO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C,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,sBAAsB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAChG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,+BAA+B,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2BAA2B;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-all-bookings.cjs","names":["z","action"],"sources":["../../src/actions/list-all-bookings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceListAllBookingsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID. Mutually exclusive with 'after'.\").optional(),\n expand: z.string().describe(\"Comma-separated list of objects to expand (e.g., 'booking_page', 'event_type', 'master_page', 'owner'). By default, embedded objects return only IDs.\").optional(),\n \"creation_time.gt\": z.string().describe(\"Filter bookings created after specified time (ISO 8601 format).\").optional(),\n \"starting_time.gt\": z.string().describe(\"Filter bookings with starting time greater than specified timestamp (ISO 8601 format).\").optional(),\n \"starting_time.lt\": z.string().describe(\"Filter bookings with starting time less than specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.gt\": z.string().describe(\"Filter bookings updated after specified time (ISO 8601 format). Includes new, canceled, rescheduled, no-show, and completed bookings.\").optional(),\n}).describe(\"Request model for listing all bookings in the account.\");\nconst ScheduleonceListAllBookings_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n note: z.string().describe(\"Additional note from customer.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number.\").nullable().optional(),\n guests: z.array(z.string()).describe(\"List of guest email addresses.\").nullable().optional(),\n company: z.string().describe(\"Customer's company.\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom form fields.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or rescheduling.\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action.\").nullable().optional(),\n actioned_by: z.string().describe(\"Who performed the action.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_BookingObjectSchema = z.object({\n id: z.string().describe(\"Booking identifier.\").nullable().optional(),\n owner: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking'.\").nullable().optional(),\n status: z.string().describe(\"Lifecycle status: 'scheduled', 'rescheduled', 'canceled', 'completed', 'no-show'.\").nullable().optional(),\n subject: z.string().describe(\"Booking subject/title.\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"Array of attendee email addresses.\").nullable().optional(),\n event_type: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n master_page: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier.\").nullable().optional(),\n booking_page: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp of scheduled start.\").nullable().optional(),\n form_submission: ScheduleonceListAllBookings_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Duration in minutes.\").nullable().optional(),\n customer_timezone: z.string().describe(\"Customer's timezone (e.g., 'America/New_York').\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of last modification.\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description.\").nullable().optional(),\n virtual_conferencing: ScheduleonceListAllBookings_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of rescheduled booking if applicable.\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceListAllBookings_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough();\nexport const ScheduleonceListAllBookingsOutput = z.object({\n data: z.array(ScheduleonceListAllBookings_BookingObjectSchema).describe(\"Array of booking objects.\"),\n object: z.string().describe(\"Object type, always 'list'.\").nullable(),\n}).passthrough().describe(\"Response model for listing all bookings.\");\n\nexport const scheduleonceListAllBookings: AppAction<\n typeof ScheduleonceListAllBookingsInput,\n typeof ScheduleonceListAllBookingsOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_LIST_ALL_BOOKINGS\", {\n slug: \"scheduleonce-list-all-bookings\",\n name: \"List All Bookings\",\n description: \"Tool to list all bookings in the account. Use when you need to retrieve bookings with optional filtering by time ranges, pagination, or expansion of related objects.\",\n input: ScheduleonceListAllBookingsInput,\n output: ScheduleonceListAllBookingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAChJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CAC9L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC3I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACxI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AAChM,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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C3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-bookings.d.ts
|
|
@@ -51,16 +53,7 @@ declare const ScheduleonceListAllBookingsOutput: z.ZodObject<{
|
|
|
51
53
|
}, z.core.$loose>>;
|
|
52
54
|
object: z.ZodNullable<z.ZodString>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const scheduleonceListAllBookings:
|
|
55
|
-
after?: string | undefined;
|
|
56
|
-
limit?: number | undefined;
|
|
57
|
-
before?: string | undefined;
|
|
58
|
-
expand?: string | undefined;
|
|
59
|
-
"creation_time.gt"?: string | undefined;
|
|
60
|
-
"starting_time.gt"?: string | undefined;
|
|
61
|
-
"starting_time.lt"?: string | undefined;
|
|
62
|
-
"last_updated_time.gt"?: string | undefined;
|
|
63
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const scheduleonceListAllBookings: AppAction<typeof ScheduleonceListAllBookingsInput, typeof ScheduleonceListAllBookingsOutput, typeof scheduleonce.credential>;
|
|
64
57
|
//#endregion
|
|
65
58
|
export { scheduleonceListAllBookings };
|
|
66
59
|
//# sourceMappingURL=list-all-bookings.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-bookings.d.cts","names":[],"sources":["../../src/actions/list-all-bookings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-bookings.d.cts","names":[],"sources":["../../src/actions/list-all-bookings.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAkDhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-bookings.d.ts
|
|
@@ -51,16 +53,7 @@ declare const ScheduleonceListAllBookingsOutput: z.ZodObject<{
|
|
|
51
53
|
}, z.core.$loose>>;
|
|
52
54
|
object: z.ZodNullable<z.ZodString>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const scheduleonceListAllBookings:
|
|
55
|
-
after?: string | undefined;
|
|
56
|
-
limit?: number | undefined;
|
|
57
|
-
before?: string | undefined;
|
|
58
|
-
expand?: string | undefined;
|
|
59
|
-
"creation_time.gt"?: string | undefined;
|
|
60
|
-
"starting_time.gt"?: string | undefined;
|
|
61
|
-
"starting_time.lt"?: string | undefined;
|
|
62
|
-
"last_updated_time.gt"?: string | undefined;
|
|
63
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const scheduleonceListAllBookings: AppAction<typeof ScheduleonceListAllBookingsInput, typeof ScheduleonceListAllBookingsOutput, typeof scheduleonce.credential>;
|
|
64
57
|
//#endregion
|
|
65
58
|
export { scheduleonceListAllBookings };
|
|
66
59
|
//# sourceMappingURL=list-all-bookings.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-bookings.d.mts","names":[],"sources":["../../src/actions/list-all-bookings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-bookings.d.mts","names":[],"sources":["../../src/actions/list-all-bookings.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAkDhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-bookings.mjs","names":[],"sources":["../../src/actions/list-all-bookings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID. Mutually exclusive with 'after'.\").optional(),\n expand: z.string().describe(\"Comma-separated list of objects to expand (e.g., 'booking_page', 'event_type', 'master_page', 'owner'). By default, embedded objects return only IDs.\").optional(),\n \"creation_time.gt\": z.string().describe(\"Filter bookings created after specified time (ISO 8601 format).\").optional(),\n \"starting_time.gt\": z.string().describe(\"Filter bookings with starting time greater than specified timestamp (ISO 8601 format).\").optional(),\n \"starting_time.lt\": z.string().describe(\"Filter bookings with starting time less than specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.gt\": z.string().describe(\"Filter bookings updated after specified time (ISO 8601 format). Includes new, canceled, rescheduled, no-show, and completed bookings.\").optional(),\n}).describe(\"Request model for listing all bookings in the account.\");\nconst ScheduleonceListAllBookings_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n note: z.string().describe(\"Additional note from customer.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number.\").nullable().optional(),\n guests: z.array(z.string()).describe(\"List of guest email addresses.\").nullable().optional(),\n company: z.string().describe(\"Customer's company.\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom form fields.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or rescheduling.\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action.\").nullable().optional(),\n actioned_by: z.string().describe(\"Who performed the action.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_BookingObjectSchema = z.object({\n id: z.string().describe(\"Booking identifier.\").nullable().optional(),\n owner: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking'.\").nullable().optional(),\n status: z.string().describe(\"Lifecycle status: 'scheduled', 'rescheduled', 'canceled', 'completed', 'no-show'.\").nullable().optional(),\n subject: z.string().describe(\"Booking subject/title.\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"Array of attendee email addresses.\").nullable().optional(),\n event_type: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n master_page: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier.\").nullable().optional(),\n booking_page: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp of scheduled start.\").nullable().optional(),\n form_submission: ScheduleonceListAllBookings_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Duration in minutes.\").nullable().optional(),\n customer_timezone: z.string().describe(\"Customer's timezone (e.g., 'America/New_York').\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of last modification.\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description.\").nullable().optional(),\n virtual_conferencing: ScheduleonceListAllBookings_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of rescheduled booking if applicable.\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceListAllBookings_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough();\nexport const ScheduleonceListAllBookingsOutput = z.object({\n data: z.array(ScheduleonceListAllBookings_BookingObjectSchema).describe(\"Array of booking objects.\"),\n object: z.string().describe(\"Object type, always 'list'.\").nullable(),\n}).passthrough().describe(\"Response model for listing all bookings.\");\n\nexport const scheduleonceListAllBookings = action(\"SCHEDULEONCE_LIST_ALL_BOOKINGS\", {\n slug: \"scheduleonce-list-all-bookings\",\n name: \"List All Bookings\",\n description: \"Tool to list all bookings in the account. Use when you need to retrieve bookings with optional filtering by time ranges, pagination, or expansion of related objects.\",\n input: ScheduleonceListAllBookingsInput,\n output: ScheduleonceListAllBookingsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-bookings.mjs","names":[],"sources":["../../src/actions/list-all-bookings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceListAllBookingsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID. Mutually exclusive with 'after'.\").optional(),\n expand: z.string().describe(\"Comma-separated list of objects to expand (e.g., 'booking_page', 'event_type', 'master_page', 'owner'). By default, embedded objects return only IDs.\").optional(),\n \"creation_time.gt\": z.string().describe(\"Filter bookings created after specified time (ISO 8601 format).\").optional(),\n \"starting_time.gt\": z.string().describe(\"Filter bookings with starting time greater than specified timestamp (ISO 8601 format).\").optional(),\n \"starting_time.lt\": z.string().describe(\"Filter bookings with starting time less than specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.gt\": z.string().describe(\"Filter bookings updated after specified time (ISO 8601 format). Includes new, canceled, rescheduled, no-show, and completed bookings.\").optional(),\n}).describe(\"Request model for listing all bookings in the account.\");\nconst ScheduleonceListAllBookings_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n note: z.string().describe(\"Additional note from customer.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number.\").nullable().optional(),\n guests: z.array(z.string()).describe(\"List of guest email addresses.\").nullable().optional(),\n company: z.string().describe(\"Customer's company.\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom form fields.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or rescheduling.\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action.\").nullable().optional(),\n actioned_by: z.string().describe(\"Who performed the action.\").nullable().optional(),\n}).passthrough();\nconst ScheduleonceListAllBookings_BookingObjectSchema = z.object({\n id: z.string().describe(\"Booking identifier.\").nullable().optional(),\n owner: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking'.\").nullable().optional(),\n status: z.string().describe(\"Lifecycle status: 'scheduled', 'rescheduled', 'canceled', 'completed', 'no-show'.\").nullable().optional(),\n subject: z.string().describe(\"Booking subject/title.\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"Array of attendee email addresses.\").nullable().optional(),\n event_type: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n master_page: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier.\").nullable().optional(),\n booking_page: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp of scheduled start.\").nullable().optional(),\n form_submission: ScheduleonceListAllBookings_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Duration in minutes.\").nullable().optional(),\n customer_timezone: z.string().describe(\"Customer's timezone (e.g., 'America/New_York').\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of last modification.\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description.\").nullable().optional(),\n virtual_conferencing: ScheduleonceListAllBookings_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of rescheduled booking if applicable.\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceListAllBookings_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough();\nexport const ScheduleonceListAllBookingsOutput = z.object({\n data: z.array(ScheduleonceListAllBookings_BookingObjectSchema).describe(\"Array of booking objects.\"),\n object: z.string().describe(\"Object type, always 'list'.\").nullable(),\n}).passthrough().describe(\"Response model for listing all bookings.\");\n\nexport const scheduleonceListAllBookings: AppAction<\n typeof ScheduleonceListAllBookingsInput,\n typeof ScheduleonceListAllBookingsOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_LIST_ALL_BOOKINGS\", {\n slug: \"scheduleonce-list-all-bookings\",\n name: \"List All Bookings\",\n description: \"Tool to list all bookings in the account. Use when you need to retrieve bookings with optional filtering by time ranges, pagination, or expansion of related objects.\",\n input: ScheduleonceListAllBookingsInput,\n output: ScheduleonceListAllBookingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;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0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,+BAA+B,8DAA8D,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2BAA2B;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-all-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllContactsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n \"creation_time.gt\": z.string().describe(\"Filter contacts created after specified timestamp (ISO 8601 format).\").optional(),\n \"creation_time.lt\": z.string().describe(\"Filter contacts created before specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.gt\": z.string().describe(\"Filter contacts updated after specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.lt\": z.string().describe(\"Filter contacts updated before specified timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all contacts in the account.\");\nconst ScheduleonceListAllContacts_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field\").nullable(),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nconst ScheduleonceListAllContacts_ContactObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable().optional(),\n bot: z.string().describe(\"Associated bot ID\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n form: z.string().describe(\"Associated form\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n owner: z.string().describe(\"User ID who owns the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'contact'\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Salutation\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Company size\").nullable().optional(),\n mobile_phone: z.string().describe(\"Contact's mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceListAllContacts_CustomFieldSchema).describe(\"Array of custom field objects with 'name' and 'value' properties\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n terms_of_service: z.boolean().describe(\"Terms of service acceptance\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when contact was last updated\").nullable().optional(),\n last_interacted_time: z.string().describe(\"ISO 8601 timestamp of last interaction\").nullable().optional(),\n}).passthrough().describe(\"Model for a contact object.\");\nexport const ScheduleonceListAllContactsOutput = z.object({\n data: z.array(ScheduleonceListAllContacts_ContactObjectSchema).describe(\"Array of contact objects\"),\n}).passthrough().describe(\"Response model for listing all contacts.\");\n\nexport const scheduleonceListAllContacts = action(\"SCHEDULEONCE_LIST_ALL_CONTACTS\", {\n slug: \"scheduleonce-list-all-contacts\",\n name: \"List All Contacts\",\n description: \"Tool to list all contacts in the OnceHub account. Use when you need to retrieve contact information with optional filtering by creation time, update time, owner, or cursor-based pagination.\",\n input: ScheduleonceListAllContactsInput,\n output: ScheduleonceListAllContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-all-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceListAllContactsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n \"creation_time.gt\": z.string().describe(\"Filter contacts created after specified timestamp (ISO 8601 format).\").optional(),\n \"creation_time.lt\": z.string().describe(\"Filter contacts created before specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.gt\": z.string().describe(\"Filter contacts updated after specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.lt\": z.string().describe(\"Filter contacts updated before specified timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all contacts in the account.\");\nconst ScheduleonceListAllContacts_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field\").nullable(),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nconst ScheduleonceListAllContacts_ContactObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable().optional(),\n bot: z.string().describe(\"Associated bot ID\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n form: z.string().describe(\"Associated form\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n owner: z.string().describe(\"User ID who owns the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'contact'\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Salutation\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Company size\").nullable().optional(),\n mobile_phone: z.string().describe(\"Contact's mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceListAllContacts_CustomFieldSchema).describe(\"Array of custom field objects with 'name' and 'value' properties\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n terms_of_service: z.boolean().describe(\"Terms of service acceptance\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when contact was last updated\").nullable().optional(),\n last_interacted_time: z.string().describe(\"ISO 8601 timestamp of last interaction\").nullable().optional(),\n}).passthrough().describe(\"Model for a contact object.\");\nexport const ScheduleonceListAllContactsOutput = z.object({\n data: z.array(ScheduleonceListAllContacts_ContactObjectSchema).describe(\"Array of contact objects\"),\n}).passthrough().describe(\"Response model for listing all contacts.\");\n\nexport const scheduleonceListAllContacts: AppAction<\n typeof ScheduleonceListAllContactsInput,\n typeof ScheduleonceListAllContactsOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_LIST_ALL_CONTACTS\", {\n slug: \"scheduleonce-list-all-contacts\",\n name: \"List All Contacts\",\n description: \"Tool to list all contacts in the OnceHub account. Use when you need to retrieve contact information with optional filtering by creation time, update time, owner, or cursor-based pagination.\",\n input: ScheduleonceListAllContactsInput,\n output: ScheduleonceListAllContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC/K,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACzH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC1H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0BAA0B,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-contacts.d.ts
|
|
@@ -44,15 +46,7 @@ declare const ScheduleonceListAllContactsOutput: z.ZodObject<{
|
|
|
44
46
|
last_interacted_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
}, z.core.$loose>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const scheduleonceListAllContacts:
|
|
48
|
-
after?: string | undefined;
|
|
49
|
-
limit?: number | undefined;
|
|
50
|
-
before?: string | undefined;
|
|
51
|
-
"creation_time.gt"?: string | undefined;
|
|
52
|
-
"creation_time.lt"?: string | undefined;
|
|
53
|
-
"last_updated_time.gt"?: string | undefined;
|
|
54
|
-
"last_updated_time.lt"?: string | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const scheduleonceListAllContacts: AppAction<typeof ScheduleonceListAllContactsInput, typeof ScheduleonceListAllContactsOutput, typeof scheduleonce.credential>;
|
|
56
50
|
//#endregion
|
|
57
51
|
export { scheduleonceListAllContacts };
|
|
58
52
|
//# sourceMappingURL=list-all-contacts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-contacts.d.cts","names":[],"sources":["../../src/actions/list-all-contacts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-contacts.d.cts","names":[],"sources":["../../src/actions/list-all-contacts.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cA0ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-contacts.d.ts
|
|
@@ -44,15 +46,7 @@ declare const ScheduleonceListAllContactsOutput: z.ZodObject<{
|
|
|
44
46
|
last_interacted_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
}, z.core.$loose>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const scheduleonceListAllContacts:
|
|
48
|
-
after?: string | undefined;
|
|
49
|
-
limit?: number | undefined;
|
|
50
|
-
before?: string | undefined;
|
|
51
|
-
"creation_time.gt"?: string | undefined;
|
|
52
|
-
"creation_time.lt"?: string | undefined;
|
|
53
|
-
"last_updated_time.gt"?: string | undefined;
|
|
54
|
-
"last_updated_time.lt"?: string | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const scheduleonceListAllContacts: AppAction<typeof ScheduleonceListAllContactsInput, typeof ScheduleonceListAllContactsOutput, typeof scheduleonce.credential>;
|
|
56
50
|
//#endregion
|
|
57
51
|
export { scheduleonceListAllContacts };
|
|
58
52
|
//# sourceMappingURL=list-all-contacts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-contacts.d.mts","names":[],"sources":["../../src/actions/list-all-contacts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-contacts.d.mts","names":[],"sources":["../../src/actions/list-all-contacts.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cA0ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-contacts.mjs","names":[],"sources":["../../src/actions/list-all-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllContactsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n \"creation_time.gt\": z.string().describe(\"Filter contacts created after specified timestamp (ISO 8601 format).\").optional(),\n \"creation_time.lt\": z.string().describe(\"Filter contacts created before specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.gt\": z.string().describe(\"Filter contacts updated after specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.lt\": z.string().describe(\"Filter contacts updated before specified timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all contacts in the account.\");\nconst ScheduleonceListAllContacts_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field\").nullable(),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nconst ScheduleonceListAllContacts_ContactObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable().optional(),\n bot: z.string().describe(\"Associated bot ID\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n form: z.string().describe(\"Associated form\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n owner: z.string().describe(\"User ID who owns the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'contact'\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Salutation\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Company size\").nullable().optional(),\n mobile_phone: z.string().describe(\"Contact's mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceListAllContacts_CustomFieldSchema).describe(\"Array of custom field objects with 'name' and 'value' properties\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n terms_of_service: z.boolean().describe(\"Terms of service acceptance\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when contact was last updated\").nullable().optional(),\n last_interacted_time: z.string().describe(\"ISO 8601 timestamp of last interaction\").nullable().optional(),\n}).passthrough().describe(\"Model for a contact object.\");\nexport const ScheduleonceListAllContactsOutput = z.object({\n data: z.array(ScheduleonceListAllContacts_ContactObjectSchema).describe(\"Array of contact objects\"),\n}).passthrough().describe(\"Response model for listing all contacts.\");\n\nexport const scheduleonceListAllContacts = action(\"SCHEDULEONCE_LIST_ALL_CONTACTS\", {\n slug: \"scheduleonce-list-all-contacts\",\n name: \"List All Contacts\",\n description: \"Tool to list all contacts in the OnceHub account. Use when you need to retrieve contact information with optional filtering by creation time, update time, owner, or cursor-based pagination.\",\n input: ScheduleonceListAllContactsInput,\n output: ScheduleonceListAllContactsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-contacts.mjs","names":[],"sources":["../../src/actions/list-all-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceListAllContactsInput = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n \"creation_time.gt\": z.string().describe(\"Filter contacts created after specified timestamp (ISO 8601 format).\").optional(),\n \"creation_time.lt\": z.string().describe(\"Filter contacts created before specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.gt\": z.string().describe(\"Filter contacts updated after specified timestamp (ISO 8601 format).\").optional(),\n \"last_updated_time.lt\": z.string().describe(\"Filter contacts updated before specified timestamp (ISO 8601 format).\").optional(),\n}).describe(\"Request model for listing all contacts in the account.\");\nconst ScheduleonceListAllContacts_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field\").nullable(),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nconst ScheduleonceListAllContacts_ContactObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable().optional(),\n bot: z.string().describe(\"Associated bot ID\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n form: z.string().describe(\"Associated form\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n owner: z.string().describe(\"User ID who owns the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'contact'\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Salutation\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Company size\").nullable().optional(),\n mobile_phone: z.string().describe(\"Contact's mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceListAllContacts_CustomFieldSchema).describe(\"Array of custom field objects with 'name' and 'value' properties\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n terms_of_service: z.boolean().describe(\"Terms of service acceptance\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when contact was last updated\").nullable().optional(),\n last_interacted_time: z.string().describe(\"ISO 8601 timestamp of last interaction\").nullable().optional(),\n}).passthrough().describe(\"Model for a contact object.\");\nexport const ScheduleonceListAllContactsOutput = z.object({\n data: z.array(ScheduleonceListAllContacts_ContactObjectSchema).describe(\"Array of contact objects\"),\n}).passthrough().describe(\"Response model for listing all contacts.\");\n\nexport const scheduleonceListAllContacts: AppAction<\n typeof ScheduleonceListAllContactsInput,\n typeof ScheduleonceListAllContactsOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_LIST_ALL_CONTACTS\", {\n slug: \"scheduleonce-list-all-contacts\",\n name: \"List All Contacts\",\n description: \"Tool to list all contacts in the OnceHub account. Use when you need to retrieve contact information with optional filtering by creation time, update time, owner, or cursor-based pagination.\",\n input: ScheduleonceListAllContactsInput,\n output: ScheduleonceListAllContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC/K,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACzH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC1H,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7H,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,S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