@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-single-booking.cjs","names":["z","action"],"sources":["../../src/actions/get-single-booking.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleBookingInput = z.object({\n id: z.string().describe(\"The booking identifier. Format: 'BKNG-' followed by alphanumeric string (e.g., 'BKNG-J4FR05BKEWEX')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand into full objects. Expandable objects include: 'booking_page', 'event_type', 'master_page', 'owner'. Maximum expansion depth is 2 levels. Example: 'booking_page,event_type'. Note: Expanding data causes additional lookups and may result in slower response times.\").optional(),\n}).describe(\"Request model for retrieving a single booking by ID.\");\nconst ScheduleonceGetSingleBooking_CustomFieldSchema = z.object({\n name: z.string().describe(\"Custom field name\").nullable(),\n value: z.string().describe(\"Custom field value\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nconst ScheduleonceGetSingleBooking_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's full name\").nullable().optional(),\n note: z.string().describe(\"Customer's note or message\").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 name\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleBooking_CustomFieldSchema).describe(\"Array of custom field objects\").nullable().optional(),\n}).passthrough().describe(\"Model for customer information collected via booking form.\");\nconst ScheduleonceGetSingleBooking_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting\").nullable().optional(),\n}).passthrough().describe(\"Model for virtual meeting details.\");\nconst ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or reschedule\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action\").nullable().optional(),\n actioned_by: z.string().describe(\"Who initiated the action (e.g., 'user')\").nullable().optional(),\n}).passthrough().describe(\"Model for cancellation or rescheduling information.\");\nexport const ScheduleonceGetSingleBookingOutput = z.object({\n id: z.string().describe(\"The booking identifier\").nullable(),\n owner: z.string().describe(\"User ID of the booking owner (e.g., 'USR-FSD423423') or full object if expanded\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'booking'\").nullable(),\n status: z.string().describe(\"Current booking status. Possible values: 'requested', 'scheduled', 'rescheduled', 'completed', 'canceled', 'no_show'\").nullable().optional(),\n subject: z.string().describe(\"The booking subject/title\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"List of attendee email addresses\").nullable().optional(),\n event_type: z.string().describe(\"Event type ID or full object if expanded\").nullable().optional(),\n master_page: z.string().describe(\"Master page ID or full object if expanded\").nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier\").nullable().optional(),\n booking_page: z.string().describe(\"Booking page ID or full object if expanded\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when the booking was created\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp for the scheduled start time\").nullable().optional(),\n form_submission: ScheduleonceGetSingleBooking_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Length of the booking in minutes\").nullable().optional(),\n customer_timezone: z.string().describe(\"IANA timezone identifier for customer's location (e.g., 'America/New_York')\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of the last modification\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description\").nullable().optional(),\n virtual_conferencing: ScheduleonceGetSingleBooking_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of the rescheduled booking if applicable\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for a single booking.\");\n\nexport const scheduleonceGetSingleBooking = action(\"SCHEDULEONCE_GET_SINGLE_BOOKING\", {\n slug: \"scheduleonce-get-single-booking\",\n name: \"Get Single Booking\",\n description: \"Tool to retrieve a single booking by ID from OnceHub. Use when you need to fetch complete booking details including timing, customer information, location, status, and form submission data.\",\n input: ScheduleonceGetSingleBookingInput,\n output: ScheduleonceGetSingleBookingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-booking.cjs","names":["z","action"],"sources":["../../src/actions/get-single-booking.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 ScheduleonceGetSingleBookingInput = z.object({\n id: z.string().describe(\"The booking identifier. Format: 'BKNG-' followed by alphanumeric string (e.g., 'BKNG-J4FR05BKEWEX')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand into full objects. Expandable objects include: 'booking_page', 'event_type', 'master_page', 'owner'. Maximum expansion depth is 2 levels. Example: 'booking_page,event_type'. Note: Expanding data causes additional lookups and may result in slower response times.\").optional(),\n}).describe(\"Request model for retrieving a single booking by ID.\");\nconst ScheduleonceGetSingleBooking_CustomFieldSchema = z.object({\n name: z.string().describe(\"Custom field name\").nullable(),\n value: z.string().describe(\"Custom field value\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nconst ScheduleonceGetSingleBooking_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's full name\").nullable().optional(),\n note: z.string().describe(\"Customer's note or message\").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 name\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleBooking_CustomFieldSchema).describe(\"Array of custom field objects\").nullable().optional(),\n}).passthrough().describe(\"Model for customer information collected via booking form.\");\nconst ScheduleonceGetSingleBooking_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting\").nullable().optional(),\n}).passthrough().describe(\"Model for virtual meeting details.\");\nconst ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or reschedule\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action\").nullable().optional(),\n actioned_by: z.string().describe(\"Who initiated the action (e.g., 'user')\").nullable().optional(),\n}).passthrough().describe(\"Model for cancellation or rescheduling information.\");\nexport const ScheduleonceGetSingleBookingOutput = z.object({\n id: z.string().describe(\"The booking identifier\").nullable(),\n owner: z.string().describe(\"User ID of the booking owner (e.g., 'USR-FSD423423') or full object if expanded\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'booking'\").nullable(),\n status: z.string().describe(\"Current booking status. Possible values: 'requested', 'scheduled', 'rescheduled', 'completed', 'canceled', 'no_show'\").nullable().optional(),\n subject: z.string().describe(\"The booking subject/title\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"List of attendee email addresses\").nullable().optional(),\n event_type: z.string().describe(\"Event type ID or full object if expanded\").nullable().optional(),\n master_page: z.string().describe(\"Master page ID or full object if expanded\").nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier\").nullable().optional(),\n booking_page: z.string().describe(\"Booking page ID or full object if expanded\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when the booking was created\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp for the scheduled start time\").nullable().optional(),\n form_submission: ScheduleonceGetSingleBooking_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Length of the booking in minutes\").nullable().optional(),\n customer_timezone: z.string().describe(\"IANA timezone identifier for customer's location (e.g., 'America/New_York')\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of the last modification\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description\").nullable().optional(),\n virtual_conferencing: ScheduleonceGetSingleBooking_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of the rescheduled booking if applicable\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for a single booking.\");\n\nexport const scheduleonceGetSingleBooking: AppAction<\n typeof ScheduleonceGetSingleBookingInput,\n typeof ScheduleonceGetSingleBookingOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_SINGLE_BOOKING\", {\n slug: \"scheduleonce-get-single-booking\",\n name: \"Get Single Booking\",\n description: \"Tool to retrieve a single booking by ID from OnceHub. Use when you need to fetch complete booking details including timing, customer information, location, status, and form submission data.\",\n input: ScheduleonceGetSingleBookingInput,\n output: ScheduleonceGetSingleBookingOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC7H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;AACnW,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE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,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,iBAAiB,kDAAkD,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACjG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,+BAA+B,+DAA+D,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/get-single-booking.d.ts
|
|
@@ -45,10 +47,7 @@ declare const ScheduleonceGetSingleBookingOutput: z.ZodObject<{
|
|
|
45
47
|
actioned_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
}, z.core.$loose>>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const scheduleonceGetSingleBooking:
|
|
49
|
-
id: string;
|
|
50
|
-
expand?: string | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
|
+
declare const scheduleonceGetSingleBooking: AppAction<typeof ScheduleonceGetSingleBookingInput, typeof ScheduleonceGetSingleBookingOutput, typeof scheduleonce.credential>;
|
|
52
51
|
//#endregion
|
|
53
52
|
export { scheduleonceGetSingleBooking };
|
|
54
53
|
//# sourceMappingURL=get-single-booking.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-booking.d.cts","names":[],"sources":["../../src/actions/get-single-booking.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-booking.d.cts","names":[],"sources":["../../src/actions/get-single-booking.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cA0BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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/get-single-booking.d.ts
|
|
@@ -45,10 +47,7 @@ declare const ScheduleonceGetSingleBookingOutput: z.ZodObject<{
|
|
|
45
47
|
actioned_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
}, z.core.$loose>>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const scheduleonceGetSingleBooking:
|
|
49
|
-
id: string;
|
|
50
|
-
expand?: string | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
|
+
declare const scheduleonceGetSingleBooking: AppAction<typeof ScheduleonceGetSingleBookingInput, typeof ScheduleonceGetSingleBookingOutput, typeof scheduleonce.credential>;
|
|
52
51
|
//#endregion
|
|
53
52
|
export { scheduleonceGetSingleBooking };
|
|
54
53
|
//# sourceMappingURL=get-single-booking.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-booking.d.mts","names":[],"sources":["../../src/actions/get-single-booking.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-booking.d.mts","names":[],"sources":["../../src/actions/get-single-booking.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cA0BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-booking.mjs","names":[],"sources":["../../src/actions/get-single-booking.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleBookingInput = z.object({\n id: z.string().describe(\"The booking identifier. Format: 'BKNG-' followed by alphanumeric string (e.g., 'BKNG-J4FR05BKEWEX')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand into full objects. Expandable objects include: 'booking_page', 'event_type', 'master_page', 'owner'. Maximum expansion depth is 2 levels. Example: 'booking_page,event_type'. Note: Expanding data causes additional lookups and may result in slower response times.\").optional(),\n}).describe(\"Request model for retrieving a single booking by ID.\");\nconst ScheduleonceGetSingleBooking_CustomFieldSchema = z.object({\n name: z.string().describe(\"Custom field name\").nullable(),\n value: z.string().describe(\"Custom field value\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nconst ScheduleonceGetSingleBooking_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's full name\").nullable().optional(),\n note: z.string().describe(\"Customer's note or message\").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 name\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleBooking_CustomFieldSchema).describe(\"Array of custom field objects\").nullable().optional(),\n}).passthrough().describe(\"Model for customer information collected via booking form.\");\nconst ScheduleonceGetSingleBooking_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting\").nullable().optional(),\n}).passthrough().describe(\"Model for virtual meeting details.\");\nconst ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or reschedule\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action\").nullable().optional(),\n actioned_by: z.string().describe(\"Who initiated the action (e.g., 'user')\").nullable().optional(),\n}).passthrough().describe(\"Model for cancellation or rescheduling information.\");\nexport const ScheduleonceGetSingleBookingOutput = z.object({\n id: z.string().describe(\"The booking identifier\").nullable(),\n owner: z.string().describe(\"User ID of the booking owner (e.g., 'USR-FSD423423') or full object if expanded\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'booking'\").nullable(),\n status: z.string().describe(\"Current booking status. Possible values: 'requested', 'scheduled', 'rescheduled', 'completed', 'canceled', 'no_show'\").nullable().optional(),\n subject: z.string().describe(\"The booking subject/title\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"List of attendee email addresses\").nullable().optional(),\n event_type: z.string().describe(\"Event type ID or full object if expanded\").nullable().optional(),\n master_page: z.string().describe(\"Master page ID or full object if expanded\").nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier\").nullable().optional(),\n booking_page: z.string().describe(\"Booking page ID or full object if expanded\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when the booking was created\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp for the scheduled start time\").nullable().optional(),\n form_submission: ScheduleonceGetSingleBooking_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Length of the booking in minutes\").nullable().optional(),\n customer_timezone: z.string().describe(\"IANA timezone identifier for customer's location (e.g., 'America/New_York')\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of the last modification\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description\").nullable().optional(),\n virtual_conferencing: ScheduleonceGetSingleBooking_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of the rescheduled booking if applicable\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for a single booking.\");\n\nexport const scheduleonceGetSingleBooking = action(\"SCHEDULEONCE_GET_SINGLE_BOOKING\", {\n slug: \"scheduleonce-get-single-booking\",\n name: \"Get Single Booking\",\n description: \"Tool to retrieve a single booking by ID from OnceHub. Use when you need to fetch complete booking details including timing, customer information, location, status, and form submission data.\",\n input: ScheduleonceGetSingleBookingInput,\n output: ScheduleonceGetSingleBookingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-booking.mjs","names":[],"sources":["../../src/actions/get-single-booking.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 ScheduleonceGetSingleBookingInput = z.object({\n id: z.string().describe(\"The booking identifier. Format: 'BKNG-' followed by alphanumeric string (e.g., 'BKNG-J4FR05BKEWEX')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand into full objects. Expandable objects include: 'booking_page', 'event_type', 'master_page', 'owner'. Maximum expansion depth is 2 levels. Example: 'booking_page,event_type'. Note: Expanding data causes additional lookups and may result in slower response times.\").optional(),\n}).describe(\"Request model for retrieving a single booking by ID.\");\nconst ScheduleonceGetSingleBooking_CustomFieldSchema = z.object({\n name: z.string().describe(\"Custom field name\").nullable(),\n value: z.string().describe(\"Custom field value\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nconst ScheduleonceGetSingleBooking_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's full name\").nullable().optional(),\n note: z.string().describe(\"Customer's note or message\").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 name\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleBooking_CustomFieldSchema).describe(\"Array of custom field objects\").nullable().optional(),\n}).passthrough().describe(\"Model for customer information collected via booking form.\");\nconst ScheduleonceGetSingleBooking_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting\").nullable().optional(),\n}).passthrough().describe(\"Model for virtual meeting details.\");\nconst ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or reschedule\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action\").nullable().optional(),\n actioned_by: z.string().describe(\"Who initiated the action (e.g., 'user')\").nullable().optional(),\n}).passthrough().describe(\"Model for cancellation or rescheduling information.\");\nexport const ScheduleonceGetSingleBookingOutput = z.object({\n id: z.string().describe(\"The booking identifier\").nullable(),\n owner: z.string().describe(\"User ID of the booking owner (e.g., 'USR-FSD423423') or full object if expanded\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'booking'\").nullable(),\n status: z.string().describe(\"Current booking status. Possible values: 'requested', 'scheduled', 'rescheduled', 'completed', 'canceled', 'no_show'\").nullable().optional(),\n subject: z.string().describe(\"The booking subject/title\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"List of attendee email addresses\").nullable().optional(),\n event_type: z.string().describe(\"Event type ID or full object if expanded\").nullable().optional(),\n master_page: z.string().describe(\"Master page ID or full object if expanded\").nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier\").nullable().optional(),\n booking_page: z.string().describe(\"Booking page ID or full object if expanded\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when the booking was created\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp for the scheduled start time\").nullable().optional(),\n form_submission: ScheduleonceGetSingleBooking_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Length of the booking in minutes\").nullable().optional(),\n customer_timezone: z.string().describe(\"IANA timezone identifier for customer's location (e.g., 'America/New_York')\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of the last modification\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description\").nullable().optional(),\n virtual_conferencing: ScheduleonceGetSingleBooking_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of the rescheduled booking if applicable\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for a single booking.\");\n\nexport const scheduleonceGetSingleBooking: AppAction<\n typeof ScheduleonceGetSingleBookingInput,\n typeof ScheduleonceGetSingleBookingOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_SINGLE_BOOKING\", {\n slug: \"scheduleonce-get-single-booking\",\n name: \"Get Single Booking\",\n description: \"Tool to retrieve a single booking by ID from OnceHub. Use when you need to fetch complete booking details including timing, customer information, location, status, and form submission data.\",\n input: ScheduleonceGetSingleB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"get-single-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-single-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve (e.g., 'CTC-J4FR05BKEW' or 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for retrieving a single contact by ID.\");\nconst ScheduleonceGetSingleContact_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.\");\nexport const ScheduleonceGetSingleContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n owner: z.string().describe(\"User ID of the contact owner (e.g., 'USR-FSD423423')\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'contact'\").nullable(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Contact's job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Optional salutation/title\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Size of company\").nullable().optional(),\n mobile_phone: z.string().describe(\"Mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 format timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleContact_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 format timestamp when contact was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single contact.\");\n\nexport const scheduleonceGetSingleContact = action(\"SCHEDULEONCE_GET_SINGLE_CONTACT\", {\n slug: \"scheduleonce-get-single-contact\",\n name: \"Get Single Contact\",\n description: \"Tool to retrieve a single contact by ID from OnceHub. Use when you need to fetch complete contact details including personal information, location data, and custom fields.\",\n input: ScheduleonceGetSingleContactInput,\n output: ScheduleonceGetSingleContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-single-contact.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 ScheduleonceGetSingleContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve (e.g., 'CTC-J4FR05BKEW' or 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for retrieving a single contact by ID.\");\nconst ScheduleonceGetSingleContact_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.\");\nexport const ScheduleonceGetSingleContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n owner: z.string().describe(\"User ID of the contact owner (e.g., 'USR-FSD423423')\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'contact'\").nullable(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Contact's job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Optional salutation/title\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Size of company\").nullable().optional(),\n mobile_phone: z.string().describe(\"Mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 format timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleContact_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 format timestamp when contact was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single contact.\");\n\nexport const scheduleonceGetSingleContact: AppAction<\n typeof ScheduleonceGetSingleContactInput,\n typeof ScheduleonceGetSingleContactOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_SINGLE_CONTACT\", {\n slug: \"scheduleonce-get-single-contact\",\n name: \"Get Single Contact\",\n description: \"Tool to retrieve a single contact by ID from OnceHub. Use when you need to fetch complete contact details including personal information, location data, and custom fields.\",\n input: ScheduleonceGetSingleContactInput,\n output: ScheduleonceGetSingleContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EAC7H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,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CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/get-single-contact.d.ts
|
|
@@ -33,9 +35,7 @@ declare const ScheduleonceGetSingleContactOutput: z.ZodObject<{
|
|
|
33
35
|
terms_of_service: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
36
|
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const scheduleonceGetSingleContact:
|
|
37
|
-
id: string;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const scheduleonceGetSingleContact: AppAction<typeof ScheduleonceGetSingleContactInput, typeof ScheduleonceGetSingleContactOutput, typeof scheduleonce.credential>;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { scheduleonceGetSingleContact };
|
|
41
41
|
//# sourceMappingURL=get-single-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-contact.d.cts","names":[],"sources":["../../src/actions/get-single-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-contact.d.cts","names":[],"sources":["../../src/actions/get-single-contact.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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/get-single-contact.d.ts
|
|
@@ -33,9 +35,7 @@ declare const ScheduleonceGetSingleContactOutput: z.ZodObject<{
|
|
|
33
35
|
terms_of_service: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
36
|
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const scheduleonceGetSingleContact:
|
|
37
|
-
id: string;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const scheduleonceGetSingleContact: AppAction<typeof ScheduleonceGetSingleContactInput, typeof ScheduleonceGetSingleContactOutput, typeof scheduleonce.credential>;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { scheduleonceGetSingleContact };
|
|
41
41
|
//# sourceMappingURL=get-single-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-contact.d.mts","names":[],"sources":["../../src/actions/get-single-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-contact.d.mts","names":[],"sources":["../../src/actions/get-single-contact.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-contact.mjs","names":[],"sources":["../../src/actions/get-single-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve (e.g., 'CTC-J4FR05BKEW' or 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for retrieving a single contact by ID.\");\nconst ScheduleonceGetSingleContact_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.\");\nexport const ScheduleonceGetSingleContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n owner: z.string().describe(\"User ID of the contact owner (e.g., 'USR-FSD423423')\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'contact'\").nullable(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Contact's job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Optional salutation/title\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Size of company\").nullable().optional(),\n mobile_phone: z.string().describe(\"Mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 format timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleContact_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 format timestamp when contact was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single contact.\");\n\nexport const scheduleonceGetSingleContact = action(\"SCHEDULEONCE_GET_SINGLE_CONTACT\", {\n slug: \"scheduleonce-get-single-contact\",\n name: \"Get Single Contact\",\n description: \"Tool to retrieve a single contact by ID from OnceHub. Use when you need to fetch complete contact details including personal information, location data, and custom fields.\",\n input: ScheduleonceGetSingleContactInput,\n output: ScheduleonceGetSingleContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-contact.mjs","names":[],"sources":["../../src/actions/get-single-contact.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 ScheduleonceGetSingleContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve (e.g., 'CTC-J4FR05BKEW' or 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for retrieving a single contact by ID.\");\nconst ScheduleonceGetSingleContact_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.\");\nexport const ScheduleonceGetSingleContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n owner: z.string().describe(\"User ID of the contact owner (e.g., 'USR-FSD423423')\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'contact'\").nullable(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Contact's job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Optional salutation/title\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Size of company\").nullable().optional(),\n mobile_phone: z.string().describe(\"Mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 format timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleContact_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 format timestamp when contact was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single contact.\");\n\nexport const scheduleonceGetSingleContact: AppAction<\n typeof ScheduleonceGetSingleContactInput,\n typeof ScheduleonceGetSingleContactOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_SINGLE_CONTACT\", {\n slug: \"scheduleonce-get-single-contact\",\n name: \"Get Single Contact\",\n description: \"Tool to retrieve a single contact by ID from OnceHub. Use when you need to fetch complete contact details including personal information, location data, and custom fields.\",\n input: ScheduleonceGetSingleContactInput,\n output: ScheduleonceGetSingleContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO,EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EAC7H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OA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-
{"version":3,"file":"get-single-master-page.cjs","names":["z","action"],"sources":["../../src/actions/get-single-master-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleMasterPageInput = z.object({\n id: z.string().describe(\"The unique identifier of the master page to retrieve. Format: MP-XXXXXXXXXXXX (e.g., 'MP-73E6RHFU77' or 'MP-TEST123456')\"),\n}).describe(\"Request model for retrieving a single master page by ID.\");\nexport const ScheduleonceGetSingleMasterPageOutput = z.object({\n id: z.string().describe(\"Unique identifier for the master page\").nullable(),\n url: z.string().describe(\"Public URL for accessing the master page\").nullable(),\n name: z.string().describe(\"Public name of the master page\").nullable(),\n label: z.string().describe(\"Internal label for the master page\").nullable(),\n active: z.boolean().describe(\"Indicates whether the master page is enabled to receive bookings\").nullable(),\n object: z.string().describe(\"Object type, always 'master_page'\").nullable(),\n}).passthrough().describe(\"Response model for a single master page.\");\n\nexport const scheduleonceGetSingleMasterPage = action(\"SCHEDULEONCE_GET_SINGLE_MASTER_PAGE\", {\n slug: \"scheduleonce-get-single-master-page\",\n name: \"Get Single Master Page\",\n description: \"Tool to retrieve a single master page by ID from OnceHub. Use when you need to fetch complete master page details including name, label, URL, and active status.\",\n input: ScheduleonceGetSingleMasterPageInput,\n output: ScheduleonceGetSingleMasterPageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-master-page.cjs","names":["z","action"],"sources":["../../src/actions/get-single-master-page.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 ScheduleonceGetSingleMasterPageInput = z.object({\n id: z.string().describe(\"The unique identifier of the master page to retrieve. Format: MP-XXXXXXXXXXXX (e.g., 'MP-73E6RHFU77' or 'MP-TEST123456')\"),\n}).describe(\"Request model for retrieving a single master page by ID.\");\nexport const ScheduleonceGetSingleMasterPageOutput = z.object({\n id: z.string().describe(\"Unique identifier for the master page\").nullable(),\n url: z.string().describe(\"Public URL for accessing the master page\").nullable(),\n name: z.string().describe(\"Public name of the master page\").nullable(),\n label: z.string().describe(\"Internal label for the master page\").nullable(),\n active: z.boolean().describe(\"Indicates whether the master page is enabled to receive bookings\").nullable(),\n object: z.string().describe(\"Object type, always 'master_page'\").nullable(),\n}).passthrough().describe(\"Response model for a single master page.\");\n\nexport const scheduleonceGetSingleMasterPage: AppAction<\n typeof ScheduleonceGetSingleMasterPageInput,\n typeof ScheduleonceGetSingleMasterPageOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_SINGLE_MASTER_PAGE\", {\n slug: \"scheduleonce-get-single-master-page\",\n name: \"Get Single Master Page\",\n description: \"Tool to retrieve a single master page by ID from OnceHub. Use when you need to fetch complete master page details including name, label, URL, and active status.\",\n input: ScheduleonceGetSingleMasterPageInput,\n output: ScheduleonceGetSingleMasterPageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EACpJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,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/get-single-master-page.d.ts
|
|
@@ -12,9 +14,7 @@ declare const ScheduleonceGetSingleMasterPageOutput: z.ZodObject<{
|
|
|
12
14
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
13
15
|
object: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const scheduleonceGetSingleMasterPage:
|
|
16
|
-
id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const scheduleonceGetSingleMasterPage: AppAction<typeof ScheduleonceGetSingleMasterPageInput, typeof ScheduleonceGetSingleMasterPageOutput, typeof scheduleonce.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { scheduleonceGetSingleMasterPage };
|
|
20
20
|
//# sourceMappingURL=get-single-master-page.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-master-page.d.cts","names":[],"sources":["../../src/actions/get-single-master-page.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-master-page.d.cts","names":[],"sources":["../../src/actions/get-single-master-page.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cASrC,+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/get-single-master-page.d.ts
|
|
@@ -12,9 +14,7 @@ declare const ScheduleonceGetSingleMasterPageOutput: z.ZodObject<{
|
|
|
12
14
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
13
15
|
object: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const scheduleonceGetSingleMasterPage:
|
|
16
|
-
id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const scheduleonceGetSingleMasterPage: AppAction<typeof ScheduleonceGetSingleMasterPageInput, typeof ScheduleonceGetSingleMasterPageOutput, typeof scheduleonce.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { scheduleonceGetSingleMasterPage };
|
|
20
20
|
//# sourceMappingURL=get-single-master-page.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-master-page.d.mts","names":[],"sources":["../../src/actions/get-single-master-page.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-master-page.d.mts","names":[],"sources":["../../src/actions/get-single-master-page.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cASrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-master-page.mjs","names":[],"sources":["../../src/actions/get-single-master-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleMasterPageInput = z.object({\n id: z.string().describe(\"The unique identifier of the master page to retrieve. Format: MP-XXXXXXXXXXXX (e.g., 'MP-73E6RHFU77' or 'MP-TEST123456')\"),\n}).describe(\"Request model for retrieving a single master page by ID.\");\nexport const ScheduleonceGetSingleMasterPageOutput = z.object({\n id: z.string().describe(\"Unique identifier for the master page\").nullable(),\n url: z.string().describe(\"Public URL for accessing the master page\").nullable(),\n name: z.string().describe(\"Public name of the master page\").nullable(),\n label: z.string().describe(\"Internal label for the master page\").nullable(),\n active: z.boolean().describe(\"Indicates whether the master page is enabled to receive bookings\").nullable(),\n object: z.string().describe(\"Object type, always 'master_page'\").nullable(),\n}).passthrough().describe(\"Response model for a single master page.\");\n\nexport const scheduleonceGetSingleMasterPage = action(\"SCHEDULEONCE_GET_SINGLE_MASTER_PAGE\", {\n slug: \"scheduleonce-get-single-master-page\",\n name: \"Get Single Master Page\",\n description: \"Tool to retrieve a single master page by ID from OnceHub. Use when you need to fetch complete master page details including name, label, URL, and active status.\",\n input: ScheduleonceGetSingleMasterPageInput,\n output: ScheduleonceGetSingleMasterPageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-master-page.mjs","names":[],"sources":["../../src/actions/get-single-master-page.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 ScheduleonceGetSingleMasterPageInput = z.object({\n id: z.string().describe(\"The unique identifier of the master page to retrieve. Format: MP-XXXXXXXXXXXX (e.g., 'MP-73E6RHFU77' or 'MP-TEST123456')\"),\n}).describe(\"Request model for retrieving a single master page by ID.\");\nexport const ScheduleonceGetSingleMasterPageOutput = z.object({\n id: z.string().describe(\"Unique identifier for the master page\").nullable(),\n url: z.string().describe(\"Public URL for accessing the master page\").nullable(),\n name: z.string().describe(\"Public name of the master page\").nullable(),\n label: z.string().describe(\"Internal label for the master page\").nullable(),\n active: z.boolean().describe(\"Indicates whether the master page is enabled to receive bookings\").nullable(),\n object: z.string().describe(\"Object type, always 'master_page'\").nullable(),\n}).passthrough().describe(\"Response model for a single master page.\");\n\nexport const scheduleonceGetSingleMasterPage: AppAction<\n typeof ScheduleonceGetSingleMasterPageInput,\n typeof ScheduleonceGetSingleMasterPageOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_SINGLE_MASTER_PAGE\", {\n slug: \"scheduleonce-get-single-master-page\",\n name: \"Get Single Master Page\",\n description: \"Tool to retrieve a single master page by ID from OnceHub. Use when you need to fetch complete master page details including name, label, URL, and active status.\",\n input: ScheduleonceGetSingleMasterPageInput,\n output: ScheduleonceGetSingleMasterPageOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkD,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EACpJ,CAAC,CAAC,CAAC,SAAS,0DAkBH;CACP,QAlBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-user.cjs","names":["z","action"],"sources":["../../src/actions/get-single-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve (e.g., 'USR-GB59HWQCXF' or 'USR-FSD423423')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand in the response. By default, embedded objects are collapsed to their IDs. Example: 'teams'. Maximum expansion depth is 2 levels.\").optional(),\n}).describe(\"Request model for retrieving a single user by ID.\");\nexport const ScheduleonceGetSingleUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\").nullable(),\n status: z.string().describe(\"User status indicating if the user has signed in ('active') or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single user.\");\n\nexport const scheduleonceGetSingleUser = action(\"SCHEDULEONCE_GET_SINGLE_USER\", {\n slug: \"scheduleonce-get-single-user\",\n name: \"Get Single User\",\n description: \"Tool to retrieve a single user by ID from OnceHub. Use when you need to fetch detailed information about a specific user including their name, email, status, role, timezone, and team associations.\",\n input: ScheduleonceGetSingleUserInput,\n output: ScheduleonceGetSingleUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-user.cjs","names":["z","action"],"sources":["../../src/actions/get-single-user.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 ScheduleonceGetSingleUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve (e.g., 'USR-GB59HWQCXF' or 'USR-FSD423423')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand in the response. By default, embedded objects are collapsed to their IDs. Example: 'teams'. Maximum expansion depth is 2 levels.\").optional(),\n}).describe(\"Request model for retrieving a single user by ID.\");\nexport const ScheduleonceGetSingleUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\").nullable(),\n status: z.string().describe(\"User status indicating if the user has signed in ('active') or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single user.\");\n\nexport const scheduleonceGetSingleUser: AppAction<\n typeof ScheduleonceGetSingleUserInput,\n typeof ScheduleonceGetSingleUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_SINGLE_USER\", {\n slug: \"scheduleonce-get-single-user\",\n name: \"Get Single User\",\n description: \"Tool to retrieve a single user by ID from OnceHub. Use when you need to fetch detailed information about a specific user including their name, email, status, role, timezone, and team associations.\",\n input: ScheduleonceGetSingleUserInput,\n output: ScheduleonceGetSingleUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AAC9N,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/get-single-user.d.ts
|
|
@@ -16,10 +18,7 @@ declare const ScheduleonceGetSingleUserOutput: z.ZodObject<{
|
|
|
16
18
|
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const scheduleonceGetSingleUser:
|
|
20
|
-
id: string;
|
|
21
|
-
expand?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const scheduleonceGetSingleUser: AppAction<typeof ScheduleonceGetSingleUserInput, typeof ScheduleonceGetSingleUserOutput, typeof scheduleonce.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { scheduleonceGetSingleUser };
|
|
25
24
|
//# sourceMappingURL=get-single-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-user.d.cts","names":[],"sources":["../../src/actions/get-single-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-user.d.cts","names":[],"sources":["../../src/actions/get-single-user.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/get-single-user.d.ts
|
|
@@ -16,10 +18,7 @@ declare const ScheduleonceGetSingleUserOutput: z.ZodObject<{
|
|
|
16
18
|
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const scheduleonceGetSingleUser:
|
|
20
|
-
id: string;
|
|
21
|
-
expand?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const scheduleonceGetSingleUser: AppAction<typeof ScheduleonceGetSingleUserInput, typeof ScheduleonceGetSingleUserOutput, typeof scheduleonce.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { scheduleonceGetSingleUser };
|
|
25
24
|
//# sourceMappingURL=get-single-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-user.d.mts","names":[],"sources":["../../src/actions/get-single-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-user.d.mts","names":[],"sources":["../../src/actions/get-single-user.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-user.mjs","names":[],"sources":["../../src/actions/get-single-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve (e.g., 'USR-GB59HWQCXF' or 'USR-FSD423423')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand in the response. By default, embedded objects are collapsed to their IDs. Example: 'teams'. Maximum expansion depth is 2 levels.\").optional(),\n}).describe(\"Request model for retrieving a single user by ID.\");\nexport const ScheduleonceGetSingleUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\").nullable(),\n status: z.string().describe(\"User status indicating if the user has signed in ('active') or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single user.\");\n\nexport const scheduleonceGetSingleUser = action(\"SCHEDULEONCE_GET_SINGLE_USER\", {\n slug: \"scheduleonce-get-single-user\",\n name: \"Get Single User\",\n description: \"Tool to retrieve a single user by ID from OnceHub. Use when you need to fetch detailed information about a specific user including their name, email, status, role, timezone, and team associations.\",\n input: ScheduleonceGetSingleUserInput,\n output: ScheduleonceGetSingleUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-user.mjs","names":[],"sources":["../../src/actions/get-single-user.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 ScheduleonceGetSingleUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve (e.g., 'USR-GB59HWQCXF' or 'USR-FSD423423')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand in the response. By default, embedded objects are collapsed to their IDs. Example: 'teams'. Maximum expansion depth is 2 levels.\").optional(),\n}).describe(\"Request model for retrieving a single user by ID.\");\nexport const ScheduleonceGetSingleUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\").nullable(),\n status: z.string().describe(\"User status indicating if the user has signed in ('active') or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).passthrough().describe(\"Response model for a single user.\");\n\nexport const scheduleonceGetSingleUser: AppAction<\n typeof ScheduleonceGetSingleUserInput,\n typeof ScheduleonceGetSingleUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_SINGLE_USER\", {\n slug: \"scheduleonce-get-single-user\",\n name: \"Get Single User\",\n description: \"Tool to retrieve a single user by ID from OnceHub. Use when you need to fetch detailed information about a specific user including their name, email, status, role, timezone, and team associations.\",\n input: ScheduleonceGetSingleUserInput,\n output: ScheduleonceGetSingleUserOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,CAAC,CAAC,CAAC,SAAS,mDAqBH;CACP,QArB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-scheduling-availability.cjs","names":["z","action"],"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.cjs","names":["z","action"],"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,iDAAiDA,IAAAA,EAAE,OAAO,EACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,uEAAuEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,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+DA,IAAAA,EAAE,OAAO;CAC5E,UAAUA,IAAAA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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,4CAITC,eAAAA,OAAO,iDAAiD;CAC1D,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/get-user-scheduling-availability.d.ts
|
|
@@ -32,9 +34,7 @@ declare const ScheduleonceGetUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
|
32
34
|
}, z.core.$loose>>>>;
|
|
33
35
|
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const scheduleonceGetUserSchedulingAvailability:
|
|
36
|
-
id: string;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const scheduleonceGetUserSchedulingAvailability: AppAction<typeof ScheduleonceGetUserSchedulingAvailabilityInput, typeof ScheduleonceGetUserSchedulingAvailabilityOutput, typeof scheduleonce.credential>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { scheduleonceGetUserSchedulingAvailability };
|
|
40
40
|
//# sourceMappingURL=get-user-scheduling-availability.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-scheduling-availability.d.cts","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-scheduling-availability.d.cts","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;cAoB9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,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/get-user-scheduling-availability.d.ts
|
|
@@ -32,9 +34,7 @@ declare const ScheduleonceGetUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
|
32
34
|
}, z.core.$loose>>>>;
|
|
33
35
|
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const scheduleonceGetUserSchedulingAvailability:
|
|
36
|
-
id: string;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const scheduleonceGetUserSchedulingAvailability: AppAction<typeof ScheduleonceGetUserSchedulingAvailabilityInput, typeof ScheduleonceGetUserSchedulingAvailabilityOutput, typeof scheduleonce.credential>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { scheduleonceGetUserSchedulingAvailability };
|
|
40
40
|
//# sourceMappingURL=get-user-scheduling-availability.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-scheduling-availability.d.mts","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-scheduling-availability.d.mts","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;cAoB9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,YAAA,CAAa,UAAA"}
|