@keystrokehq/etermin 0.1.0 → 0.1.1
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/assign-calendar-service.cjs +3 -3
- package/dist/actions/assign-calendar-service.cjs.map +1 -1
- package/dist/actions/assign-calendar-service.d.cts +17 -3
- package/dist/actions/assign-calendar-service.d.cts.map +1 -1
- package/dist/actions/assign-calendar-service.d.mts +17 -3
- package/dist/actions/assign-calendar-service.d.mts.map +1 -1
- package/dist/actions/assign-calendar-service.mjs +3 -3
- package/dist/actions/assign-calendar-service.mjs.map +1 -1
- package/dist/actions/create-absence.cjs +3 -3
- package/dist/actions/create-absence.cjs.map +1 -1
- package/dist/actions/create-absence.d.cts +28 -3
- package/dist/actions/create-absence.d.cts.map +1 -1
- package/dist/actions/create-absence.d.mts +28 -3
- package/dist/actions/create-absence.d.mts.map +1 -1
- package/dist/actions/create-absence.mjs +3 -3
- package/dist/actions/create-absence.mjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.cjs +2 -2
- package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.cts +19 -3
- package/dist/actions/create-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.mts +19 -3
- package/dist/actions/create-anchortime-by-date.d.mts.map +1 -1
- package/dist/actions/create-anchortime-by-date.mjs +2 -2
- package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/create-anchortime.cjs +2 -2
- package/dist/actions/create-anchortime.cjs.map +1 -1
- package/dist/actions/create-anchortime.d.cts +19 -3
- package/dist/actions/create-anchortime.d.cts.map +1 -1
- package/dist/actions/create-anchortime.d.mts +19 -3
- package/dist/actions/create-anchortime.d.mts.map +1 -1
- package/dist/actions/create-anchortime.mjs +2 -2
- package/dist/actions/create-anchortime.mjs.map +1 -1
- package/dist/actions/create-appointment-sync.cjs +3 -3
- package/dist/actions/create-appointment-sync.cjs.map +1 -1
- package/dist/actions/create-appointment-sync.d.cts +41 -3
- package/dist/actions/create-appointment-sync.d.cts.map +1 -1
- package/dist/actions/create-appointment-sync.d.mts +41 -3
- package/dist/actions/create-appointment-sync.d.mts.map +1 -1
- package/dist/actions/create-appointment-sync.mjs +3 -3
- package/dist/actions/create-appointment-sync.mjs.map +1 -1
- package/dist/actions/create-appointment.cjs +6 -6
- package/dist/actions/create-appointment.cjs.map +1 -1
- package/dist/actions/create-appointment.d.cts +163 -3
- package/dist/actions/create-appointment.d.cts.map +1 -1
- package/dist/actions/create-appointment.d.mts +163 -3
- package/dist/actions/create-appointment.d.mts.map +1 -1
- package/dist/actions/create-appointment.mjs +6 -6
- package/dist/actions/create-appointment.mjs.map +1 -1
- package/dist/actions/create-calendar-return-time.cjs +3 -3
- package/dist/actions/create-calendar-return-time.cjs.map +1 -1
- package/dist/actions/create-calendar-return-time.d.cts +23 -3
- package/dist/actions/create-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/create-calendar-return-time.d.mts +23 -3
- package/dist/actions/create-calendar-return-time.d.mts.map +1 -1
- package/dist/actions/create-calendar-return-time.mjs +3 -3
- package/dist/actions/create-calendar-return-time.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +5 -5
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +23 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +23 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +5 -5
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +3 -3
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +56 -3
- package/dist/actions/create-service-group.d.cts.map +1 -1
- package/dist/actions/create-service-group.d.mts +56 -3
- package/dist/actions/create-service-group.d.mts.map +1 -1
- package/dist/actions/create-service-group.mjs +3 -3
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-service.cjs +3 -3
- package/dist/actions/create-service.cjs.map +1 -1
- package/dist/actions/create-service.d.cts +237 -3
- package/dist/actions/create-service.d.cts.map +1 -1
- package/dist/actions/create-service.d.mts +237 -3
- package/dist/actions/create-service.d.mts.map +1 -1
- package/dist/actions/create-service.mjs +3 -3
- package/dist/actions/create-service.mjs.map +1 -1
- package/dist/actions/create-user.cjs +3 -3
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +31 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +31 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +3 -3
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/create-usermapping.cjs +3 -3
- package/dist/actions/create-usermapping.cjs.map +1 -1
- package/dist/actions/create-usermapping.d.cts +34 -3
- package/dist/actions/create-usermapping.d.cts.map +1 -1
- package/dist/actions/create-usermapping.d.mts +34 -3
- package/dist/actions/create-usermapping.d.mts.map +1 -1
- package/dist/actions/create-usermapping.mjs +3 -3
- package/dist/actions/create-usermapping.mjs.map +1 -1
- package/dist/actions/create-voucher.cjs +8 -8
- package/dist/actions/create-voucher.cjs.map +1 -1
- package/dist/actions/create-voucher.d.cts +36 -3
- package/dist/actions/create-voucher.d.cts.map +1 -1
- package/dist/actions/create-voucher.d.mts +36 -3
- package/dist/actions/create-voucher.d.mts.map +1 -1
- package/dist/actions/create-voucher.mjs +8 -8
- package/dist/actions/create-voucher.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +4 -4
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +29 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +29 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +4 -4
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/create-working-time.cjs +2 -2
- package/dist/actions/create-working-time.cjs.map +1 -1
- package/dist/actions/create-working-time.d.cts +35 -3
- package/dist/actions/create-working-time.d.cts.map +1 -1
- package/dist/actions/create-working-time.d.mts +35 -3
- package/dist/actions/create-working-time.d.mts.map +1 -1
- package/dist/actions/create-working-time.mjs +2 -2
- package/dist/actions/create-working-time.mjs.map +1 -1
- package/dist/actions/create-working-times-date.cjs +3 -3
- package/dist/actions/create-working-times-date.cjs.map +1 -1
- package/dist/actions/create-working-times-date.d.cts +39 -3
- package/dist/actions/create-working-times-date.d.cts.map +1 -1
- package/dist/actions/create-working-times-date.d.mts +39 -3
- package/dist/actions/create-working-times-date.d.mts.map +1 -1
- package/dist/actions/create-working-times-date.mjs +3 -3
- package/dist/actions/create-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-absence.cjs +3 -3
- package/dist/actions/delete-absence.cjs.map +1 -1
- package/dist/actions/delete-absence.d.cts +15 -3
- package/dist/actions/delete-absence.d.cts.map +1 -1
- package/dist/actions/delete-absence.d.mts +15 -3
- package/dist/actions/delete-absence.d.mts.map +1 -1
- package/dist/actions/delete-absence.mjs +3 -3
- package/dist/actions/delete-absence.mjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.cjs +3 -3
- package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.cts +15 -3
- package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.mts +15 -3
- package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.mjs +3 -3
- package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/delete-anchortime.cjs +2 -2
- package/dist/actions/delete-anchortime.cjs.map +1 -1
- package/dist/actions/delete-anchortime.d.cts +13 -3
- package/dist/actions/delete-anchortime.d.cts.map +1 -1
- package/dist/actions/delete-anchortime.d.mts +13 -3
- package/dist/actions/delete-anchortime.d.mts.map +1 -1
- package/dist/actions/delete-anchortime.mjs +2 -2
- package/dist/actions/delete-anchortime.mjs.map +1 -1
- package/dist/actions/delete-appointment-sync.cjs +3 -3
- package/dist/actions/delete-appointment-sync.cjs.map +1 -1
- package/dist/actions/delete-appointment-sync.d.cts +19 -3
- package/dist/actions/delete-appointment-sync.d.cts.map +1 -1
- package/dist/actions/delete-appointment-sync.d.mts +19 -3
- package/dist/actions/delete-appointment-sync.d.mts.map +1 -1
- package/dist/actions/delete-appointment-sync.mjs +3 -3
- package/dist/actions/delete-appointment-sync.mjs.map +1 -1
- package/dist/actions/delete-appointment.cjs +3 -3
- package/dist/actions/delete-appointment.cjs.map +1 -1
- package/dist/actions/delete-appointment.d.cts +15 -3
- package/dist/actions/delete-appointment.d.cts.map +1 -1
- package/dist/actions/delete-appointment.d.mts +15 -3
- package/dist/actions/delete-appointment.d.mts.map +1 -1
- package/dist/actions/delete-appointment.mjs +3 -3
- package/dist/actions/delete-appointment.mjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.cjs +2 -2
- package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.d.cts +13 -3
- package/dist/actions/delete-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/delete-calendar-return-time.d.mts +13 -3
- package/dist/actions/delete-calendar-return-time.d.mts.map +1 -1
- package/dist/actions/delete-calendar-return-time.mjs +2 -2
- package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
- package/dist/actions/delete-calendar-service.cjs +2 -2
- package/dist/actions/delete-calendar-service.cjs.map +1 -1
- package/dist/actions/delete-calendar-service.d.cts +15 -3
- package/dist/actions/delete-calendar-service.d.cts.map +1 -1
- package/dist/actions/delete-calendar-service.d.mts +15 -3
- package/dist/actions/delete-calendar-service.d.mts.map +1 -1
- package/dist/actions/delete-calendar-service.mjs +2 -2
- package/dist/actions/delete-calendar-service.mjs.map +1 -1
- package/dist/actions/delete-calendar.cjs +3 -3
- package/dist/actions/delete-calendar.cjs.map +1 -1
- package/dist/actions/delete-calendar.d.cts +15 -3
- package/dist/actions/delete-calendar.d.cts.map +1 -1
- package/dist/actions/delete-calendar.d.mts +15 -3
- package/dist/actions/delete-calendar.d.mts.map +1 -1
- package/dist/actions/delete-calendar.mjs +3 -3
- package/dist/actions/delete-calendar.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +2 -2
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +13 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +13 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +2 -2
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-resource.cjs +4 -4
- package/dist/actions/delete-resource.cjs.map +1 -1
- package/dist/actions/delete-resource.d.cts +19 -3
- package/dist/actions/delete-resource.d.cts.map +1 -1
- package/dist/actions/delete-resource.d.mts +19 -3
- package/dist/actions/delete-resource.d.mts.map +1 -1
- package/dist/actions/delete-resource.mjs +4 -4
- package/dist/actions/delete-resource.mjs.map +1 -1
- package/dist/actions/delete-service.cjs +3 -3
- package/dist/actions/delete-service.cjs.map +1 -1
- package/dist/actions/delete-service.d.cts +15 -3
- package/dist/actions/delete-service.d.cts.map +1 -1
- package/dist/actions/delete-service.d.mts +15 -3
- package/dist/actions/delete-service.d.mts.map +1 -1
- package/dist/actions/delete-service.mjs +3 -3
- package/dist/actions/delete-service.mjs.map +1 -1
- package/dist/actions/delete-servicegroup.cjs +2 -2
- package/dist/actions/delete-servicegroup.cjs.map +1 -1
- package/dist/actions/delete-servicegroup.d.cts +13 -3
- package/dist/actions/delete-servicegroup.d.cts.map +1 -1
- package/dist/actions/delete-servicegroup.d.mts +13 -3
- package/dist/actions/delete-servicegroup.d.mts.map +1 -1
- package/dist/actions/delete-servicegroup.mjs +2 -2
- package/dist/actions/delete-servicegroup.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +2 -2
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +13 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +13 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +2 -2
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/delete-usermapping.cjs +2 -2
- package/dist/actions/delete-usermapping.cjs.map +1 -1
- package/dist/actions/delete-usermapping.d.cts +13 -3
- package/dist/actions/delete-usermapping.d.cts.map +1 -1
- package/dist/actions/delete-usermapping.d.mts +13 -3
- package/dist/actions/delete-usermapping.d.mts.map +1 -1
- package/dist/actions/delete-usermapping.mjs +2 -2
- package/dist/actions/delete-usermapping.mjs.map +1 -1
- package/dist/actions/delete-voucher.cjs +2 -2
- package/dist/actions/delete-voucher.cjs.map +1 -1
- package/dist/actions/delete-voucher.d.cts +13 -3
- package/dist/actions/delete-voucher.d.cts.map +1 -1
- package/dist/actions/delete-voucher.d.mts +13 -3
- package/dist/actions/delete-voucher.d.mts.map +1 -1
- package/dist/actions/delete-voucher.mjs +2 -2
- package/dist/actions/delete-voucher.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +2 -2
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +13 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +13 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +2 -2
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/delete-working-times-date.cjs +2 -2
- package/dist/actions/delete-working-times-date.cjs.map +1 -1
- package/dist/actions/delete-working-times-date.d.cts +15 -3
- package/dist/actions/delete-working-times-date.d.cts.map +1 -1
- package/dist/actions/delete-working-times-date.d.mts +15 -3
- package/dist/actions/delete-working-times-date.d.mts.map +1 -1
- package/dist/actions/delete-working-times-date.mjs +2 -2
- package/dist/actions/delete-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-working-times.cjs +2 -2
- package/dist/actions/delete-working-times.cjs.map +1 -1
- package/dist/actions/delete-working-times.d.cts +15 -3
- package/dist/actions/delete-working-times.d.cts.map +1 -1
- package/dist/actions/delete-working-times.d.mts +15 -3
- package/dist/actions/delete-working-times.d.mts.map +1 -1
- package/dist/actions/delete-working-times.mjs +2 -2
- package/dist/actions/delete-working-times.mjs.map +1 -1
- package/dist/actions/get-absences.cjs +7 -7
- package/dist/actions/get-absences.cjs.map +1 -1
- package/dist/actions/get-absences.d.cts +26 -3
- package/dist/actions/get-absences.d.cts.map +1 -1
- package/dist/actions/get-absences.d.mts +26 -3
- package/dist/actions/get-absences.d.mts.map +1 -1
- package/dist/actions/get-absences.mjs +7 -7
- package/dist/actions/get-absences.mjs.map +1 -1
- package/dist/actions/get-anchortime-date.cjs +5 -5
- package/dist/actions/get-anchortime-date.cjs.map +1 -1
- package/dist/actions/get-anchortime-date.d.cts +24 -3
- package/dist/actions/get-anchortime-date.d.cts.map +1 -1
- package/dist/actions/get-anchortime-date.d.mts +24 -3
- package/dist/actions/get-anchortime-date.d.mts.map +1 -1
- package/dist/actions/get-anchortime-date.mjs +5 -5
- package/dist/actions/get-anchortime-date.mjs.map +1 -1
- package/dist/actions/get-anchortimes.cjs +5 -5
- package/dist/actions/get-anchortimes.cjs.map +1 -1
- package/dist/actions/get-anchortimes.d.cts +24 -3
- package/dist/actions/get-anchortimes.d.cts.map +1 -1
- package/dist/actions/get-anchortimes.d.mts +24 -3
- package/dist/actions/get-anchortimes.d.mts.map +1 -1
- package/dist/actions/get-anchortimes.mjs +5 -5
- package/dist/actions/get-anchortimes.mjs.map +1 -1
- package/dist/actions/get-appointment-sync.cjs +73 -73
- package/dist/actions/get-appointment-sync.cjs.map +1 -1
- package/dist/actions/get-appointment-sync.d.cts +160 -3
- package/dist/actions/get-appointment-sync.d.cts.map +1 -1
- package/dist/actions/get-appointment-sync.d.mts +160 -3
- package/dist/actions/get-appointment-sync.d.mts.map +1 -1
- package/dist/actions/get-appointment-sync.mjs +73 -73
- package/dist/actions/get-appointment-sync.mjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.cjs +5 -5
- package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.cts +25 -3
- package/dist/actions/get-bookingpage-logs.d.cts.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.mts +25 -3
- package/dist/actions/get-bookingpage-logs.d.mts.map +1 -1
- package/dist/actions/get-bookingpage-logs.mjs +5 -5
- package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
- package/dist/actions/get-calendar-return-time.cjs +9 -9
- package/dist/actions/get-calendar-return-time.cjs.map +1 -1
- package/dist/actions/get-calendar-return-time.d.cts +30 -3
- package/dist/actions/get-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/get-calendar-return-time.d.mts +30 -3
- package/dist/actions/get-calendar-return-time.d.mts.map +1 -1
- package/dist/actions/get-calendar-return-time.mjs +9 -9
- package/dist/actions/get-calendar-return-time.mjs.map +1 -1
- package/dist/actions/get-calendars.cjs +7 -7
- package/dist/actions/get-calendars.cjs.map +1 -1
- package/dist/actions/get-calendars.d.cts +24 -3
- package/dist/actions/get-calendars.d.cts.map +1 -1
- package/dist/actions/get-calendars.d.mts +24 -3
- package/dist/actions/get-calendars.d.mts.map +1 -1
- package/dist/actions/get-calendars.mjs +7 -7
- package/dist/actions/get-calendars.mjs.map +1 -1
- package/dist/actions/get-calendarservice.cjs +3 -3
- package/dist/actions/get-calendarservice.cjs.map +1 -1
- package/dist/actions/get-calendarservice.d.cts +20 -3
- package/dist/actions/get-calendarservice.d.cts.map +1 -1
- package/dist/actions/get-calendarservice.d.mts +20 -3
- package/dist/actions/get-calendarservice.d.mts.map +1 -1
- package/dist/actions/get-calendarservice.mjs +3 -3
- package/dist/actions/get-calendarservice.mjs.map +1 -1
- package/dist/actions/get-company.cjs +19 -19
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +48 -3
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +48 -3
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +19 -19
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +50 -50
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +121 -3
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +121 -3
- package/dist/actions/get-contact-by-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-id.mjs +50 -50
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +50 -50
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +109 -3
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +109 -3
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +50 -50
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-deleted-appointments.cjs +18 -18
- package/dist/actions/get-deleted-appointments.cjs.map +1 -1
- package/dist/actions/get-deleted-appointments.d.cts +52 -3
- package/dist/actions/get-deleted-appointments.d.cts.map +1 -1
- package/dist/actions/get-deleted-appointments.d.mts +52 -3
- package/dist/actions/get-deleted-appointments.d.mts.map +1 -1
- package/dist/actions/get-deleted-appointments.mjs +18 -18
- package/dist/actions/get-deleted-appointments.mjs.map +1 -1
- package/dist/actions/get-message-logs.cjs +9 -9
- package/dist/actions/get-message-logs.cjs.map +1 -1
- package/dist/actions/get-message-logs.d.cts +35 -3
- package/dist/actions/get-message-logs.d.cts.map +1 -1
- package/dist/actions/get-message-logs.d.mts +35 -3
- package/dist/actions/get-message-logs.d.mts.map +1 -1
- package/dist/actions/get-message-logs.mjs +9 -9
- package/dist/actions/get-message-logs.mjs.map +1 -1
- package/dist/actions/get-rating.cjs +11 -11
- package/dist/actions/get-rating.cjs.map +1 -1
- package/dist/actions/get-rating.d.cts +32 -3
- package/dist/actions/get-rating.d.cts.map +1 -1
- package/dist/actions/get-rating.d.mts +32 -3
- package/dist/actions/get-rating.d.mts.map +1 -1
- package/dist/actions/get-rating.mjs +11 -11
- package/dist/actions/get-rating.mjs.map +1 -1
- package/dist/actions/get-service-by-id.cjs +13 -13
- package/dist/actions/get-service-by-id.cjs.map +1 -1
- package/dist/actions/get-service-by-id.d.cts +40 -3
- package/dist/actions/get-service-by-id.d.cts.map +1 -1
- package/dist/actions/get-service-by-id.d.mts +40 -3
- package/dist/actions/get-service-by-id.d.mts.map +1 -1
- package/dist/actions/get-service-by-id.mjs +13 -13
- package/dist/actions/get-service-by-id.mjs.map +1 -1
- package/dist/actions/get-service-calendar.cjs +1 -1
- package/dist/actions/get-service-calendar.cjs.map +1 -1
- package/dist/actions/get-service-calendar.d.cts +16 -3
- package/dist/actions/get-service-calendar.d.cts.map +1 -1
- package/dist/actions/get-service-calendar.d.mts +16 -3
- package/dist/actions/get-service-calendar.d.mts.map +1 -1
- package/dist/actions/get-service-calendar.mjs +1 -1
- package/dist/actions/get-service-calendar.mjs.map +1 -1
- package/dist/actions/get-servicegroup.cjs +25 -25
- package/dist/actions/get-servicegroup.cjs.map +1 -1
- package/dist/actions/get-servicegroup.d.cts +66 -3
- package/dist/actions/get-servicegroup.d.cts.map +1 -1
- package/dist/actions/get-servicegroup.d.mts +66 -3
- package/dist/actions/get-servicegroup.d.mts.map +1 -1
- package/dist/actions/get-servicegroup.mjs +25 -25
- package/dist/actions/get-servicegroup.mjs.map +1 -1
- package/dist/actions/get-services.cjs +13 -13
- package/dist/actions/get-services.cjs.map +1 -1
- package/dist/actions/get-services.d.cts +36 -3
- package/dist/actions/get-services.d.cts.map +1 -1
- package/dist/actions/get-services.d.mts +36 -3
- package/dist/actions/get-services.d.mts.map +1 -1
- package/dist/actions/get-services.mjs +13 -13
- package/dist/actions/get-services.mjs.map +1 -1
- package/dist/actions/get-survey-results.cjs +6 -6
- package/dist/actions/get-survey-results.cjs.map +1 -1
- package/dist/actions/get-survey-results.d.cts +27 -3
- package/dist/actions/get-survey-results.d.cts.map +1 -1
- package/dist/actions/get-survey-results.d.mts +27 -3
- package/dist/actions/get-survey-results.d.mts.map +1 -1
- package/dist/actions/get-survey-results.mjs +6 -6
- package/dist/actions/get-survey-results.mjs.map +1 -1
- package/dist/actions/get-timeslots.cjs +4 -4
- package/dist/actions/get-timeslots.cjs.map +1 -1
- package/dist/actions/get-timeslots.d.cts +24 -3
- package/dist/actions/get-timeslots.d.cts.map +1 -1
- package/dist/actions/get-timeslots.d.mts +24 -3
- package/dist/actions/get-timeslots.d.mts.map +1 -1
- package/dist/actions/get-timeslots.mjs +4 -4
- package/dist/actions/get-timeslots.mjs.map +1 -1
- package/dist/actions/get-usermapping.cjs +7 -7
- package/dist/actions/get-usermapping.cjs.map +1 -1
- package/dist/actions/get-usermapping.d.cts +28 -3
- package/dist/actions/get-usermapping.d.cts.map +1 -1
- package/dist/actions/get-usermapping.d.mts +28 -3
- package/dist/actions/get-usermapping.d.mts.map +1 -1
- package/dist/actions/get-usermapping.mjs +7 -7
- package/dist/actions/get-usermapping.mjs.map +1 -1
- package/dist/actions/get-users.cjs +28 -28
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +65 -3
- package/dist/actions/get-users.d.cts.map +1 -1
- package/dist/actions/get-users.d.mts +65 -3
- package/dist/actions/get-users.d.mts.map +1 -1
- package/dist/actions/get-users.mjs +28 -28
- package/dist/actions/get-users.mjs.map +1 -1
- package/dist/actions/get-working-times-date.cjs +6 -6
- package/dist/actions/get-working-times-date.cjs.map +1 -1
- package/dist/actions/get-working-times-date.d.cts +24 -3
- package/dist/actions/get-working-times-date.d.cts.map +1 -1
- package/dist/actions/get-working-times-date.d.mts +24 -3
- package/dist/actions/get-working-times-date.d.mts.map +1 -1
- package/dist/actions/get-working-times-date.mjs +6 -6
- package/dist/actions/get-working-times-date.mjs.map +1 -1
- package/dist/actions/get-working-times.cjs +7 -7
- package/dist/actions/get-working-times.cjs.map +1 -1
- package/dist/actions/get-working-times.d.cts +26 -3
- package/dist/actions/get-working-times.d.cts.map +1 -1
- package/dist/actions/get-working-times.d.mts +26 -3
- package/dist/actions/get-working-times.d.mts.map +1 -1
- package/dist/actions/get-working-times.mjs +7 -7
- package/dist/actions/get-working-times.mjs.map +1 -1
- package/dist/actions/list-appointments.cjs +19 -19
- package/dist/actions/list-appointments.cjs.map +1 -1
- package/dist/actions/list-appointments.d.cts +76 -3
- package/dist/actions/list-appointments.d.cts.map +1 -1
- package/dist/actions/list-appointments.d.mts +76 -3
- package/dist/actions/list-appointments.d.mts.map +1 -1
- package/dist/actions/list-appointments.mjs +19 -19
- package/dist/actions/list-appointments.mjs.map +1 -1
- package/dist/actions/list-vouchers.cjs +19 -19
- package/dist/actions/list-vouchers.cjs.map +1 -1
- package/dist/actions/list-vouchers.d.cts +45 -3
- package/dist/actions/list-vouchers.d.cts.map +1 -1
- package/dist/actions/list-vouchers.d.mts +45 -3
- package/dist/actions/list-vouchers.d.mts.map +1 -1
- package/dist/actions/list-vouchers.mjs +19 -19
- package/dist/actions/list-vouchers.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +7 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +7 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/put-service.cjs +3 -3
- package/dist/actions/put-service.cjs.map +1 -1
- package/dist/actions/put-service.d.cts +239 -3
- package/dist/actions/put-service.d.cts.map +1 -1
- package/dist/actions/put-service.d.mts +239 -3
- package/dist/actions/put-service.d.mts.map +1 -1
- package/dist/actions/put-service.mjs +3 -3
- package/dist/actions/put-service.mjs.map +1 -1
- package/dist/actions/update-absence.cjs +3 -3
- package/dist/actions/update-absence.cjs.map +1 -1
- package/dist/actions/update-absence.d.cts +27 -3
- package/dist/actions/update-absence.d.cts.map +1 -1
- package/dist/actions/update-absence.d.mts +27 -3
- package/dist/actions/update-absence.d.mts.map +1 -1
- package/dist/actions/update-absence.mjs +3 -3
- package/dist/actions/update-absence.mjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.cjs +2 -2
- package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.d.cts +21 -3
- package/dist/actions/update-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/update-anchortime-by-date.d.mts +21 -3
- package/dist/actions/update-anchortime-by-date.d.mts.map +1 -1
- package/dist/actions/update-anchortime-by-date.mjs +2 -2
- package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/update-anchortime.cjs +4 -4
- package/dist/actions/update-anchortime.cjs.map +1 -1
- package/dist/actions/update-anchortime.d.cts +25 -3
- package/dist/actions/update-anchortime.d.cts.map +1 -1
- package/dist/actions/update-anchortime.d.mts +25 -3
- package/dist/actions/update-anchortime.d.mts.map +1 -1
- package/dist/actions/update-anchortime.mjs +4 -4
- package/dist/actions/update-anchortime.mjs.map +1 -1
- package/dist/actions/update-appointment.cjs +2 -2
- package/dist/actions/update-appointment.cjs.map +1 -1
- package/dist/actions/update-appointment.d.cts +121 -3
- package/dist/actions/update-appointment.d.cts.map +1 -1
- package/dist/actions/update-appointment.d.mts +121 -3
- package/dist/actions/update-appointment.d.mts.map +1 -1
- package/dist/actions/update-appointment.mjs +2 -2
- package/dist/actions/update-appointment.mjs.map +1 -1
- package/dist/actions/update-calendar-return-time.cjs +3 -3
- package/dist/actions/update-calendar-return-time.cjs.map +1 -1
- package/dist/actions/update-calendar-return-time.d.cts +25 -3
- package/dist/actions/update-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/update-calendar-return-time.d.mts +25 -3
- package/dist/actions/update-calendar-return-time.d.mts.map +1 -1
- package/dist/actions/update-calendar-return-time.mjs +3 -3
- package/dist/actions/update-calendar-return-time.mjs.map +1 -1
- package/dist/actions/update-calendar.cjs +4 -4
- package/dist/actions/update-calendar.cjs.map +1 -1
- package/dist/actions/update-calendar.d.cts +35 -3
- package/dist/actions/update-calendar.d.cts.map +1 -1
- package/dist/actions/update-calendar.d.mts +35 -3
- package/dist/actions/update-calendar.d.mts.map +1 -1
- package/dist/actions/update-calendar.mjs +4 -4
- package/dist/actions/update-calendar.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +5 -5
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +25 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +25 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +5 -5
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-resource.cjs +4 -4
- package/dist/actions/update-resource.cjs.map +1 -1
- package/dist/actions/update-resource.d.cts +21 -3
- package/dist/actions/update-resource.d.cts.map +1 -1
- package/dist/actions/update-resource.d.mts +21 -3
- package/dist/actions/update-resource.d.mts.map +1 -1
- package/dist/actions/update-resource.mjs +4 -4
- package/dist/actions/update-resource.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +2 -2
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +61 -3
- package/dist/actions/update-service-group.d.cts.map +1 -1
- package/dist/actions/update-service-group.d.mts +61 -3
- package/dist/actions/update-service-group.d.mts.map +1 -1
- package/dist/actions/update-service-group.mjs +2 -2
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-service.cjs.map +1 -1
- package/dist/actions/update-service.d.cts +21 -3
- package/dist/actions/update-service.d.cts.map +1 -1
- package/dist/actions/update-service.d.mts +21 -3
- package/dist/actions/update-service.d.mts.map +1 -1
- package/dist/actions/update-service.mjs.map +1 -1
- package/dist/actions/update-sync-appointment.cjs +3 -3
- package/dist/actions/update-sync-appointment.cjs.map +1 -1
- package/dist/actions/update-sync-appointment.d.cts +39 -3
- package/dist/actions/update-sync-appointment.d.cts.map +1 -1
- package/dist/actions/update-sync-appointment.d.mts +39 -3
- package/dist/actions/update-sync-appointment.d.mts.map +1 -1
- package/dist/actions/update-sync-appointment.mjs +3 -3
- package/dist/actions/update-sync-appointment.mjs.map +1 -1
- package/dist/actions/update-usermapping.cjs +2 -2
- package/dist/actions/update-usermapping.cjs.map +1 -1
- package/dist/actions/update-usermapping.d.cts +30 -3
- package/dist/actions/update-usermapping.d.cts.map +1 -1
- package/dist/actions/update-usermapping.d.mts +30 -3
- package/dist/actions/update-usermapping.d.mts.map +1 -1
- package/dist/actions/update-usermapping.mjs +2 -2
- package/dist/actions/update-usermapping.mjs.map +1 -1
- package/dist/actions/update-voucher.cjs +4 -4
- package/dist/actions/update-voucher.cjs.map +1 -1
- package/dist/actions/update-voucher.d.cts +19 -3
- package/dist/actions/update-voucher.d.cts.map +1 -1
- package/dist/actions/update-voucher.d.mts +19 -3
- package/dist/actions/update-voucher.d.mts.map +1 -1
- package/dist/actions/update-voucher.mjs +4 -4
- package/dist/actions/update-voucher.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +3 -3
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +17 -3
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +17 -3
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +3 -3
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/update-working-times-date.cjs +2 -2
- package/dist/actions/update-working-times-date.cjs.map +1 -1
- package/dist/actions/update-working-times-date.d.cts +39 -3
- package/dist/actions/update-working-times-date.d.cts.map +1 -1
- package/dist/actions/update-working-times-date.d.mts +39 -3
- package/dist/actions/update-working-times-date.d.mts.map +1 -1
- package/dist/actions/update-working-times-date.mjs +2 -2
- package/dist/actions/update-working-times-date.mjs.map +1 -1
- package/dist/actions/update-working-times.cjs +2 -2
- package/dist/actions/update-working-times.cjs.map +1 -1
- package/dist/actions/update-working-times.d.cts +61 -3
- package/dist/actions/update-working-times.d.cts.map +1 -1
- package/dist/actions/update-working-times.d.mts +61 -3
- package/dist/actions/update-working-times.d.mts.map +1 -1
- package/dist/actions/update-working-times.mjs +2 -2
- package/dist/actions/update-working-times.mjs.map +1 -1
- package/dist/catalog.cjs +24 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +23 -0
- package/dist/catalog.d.mts +23 -0
- package/dist/catalog.mjs +24 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-working-times.ts
|
|
4
4
|
const EterminGetWorkingTimesInput = zod.z.object({ calendarid: zod.z.number().int().describe("Identifier of the calendar to retrieve working times for") }).describe("Request model for retrieving working times of a calendar.");
|
|
5
5
|
const EterminGetWorkingTimes_WorkingTimeSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier of the working time entry"),
|
|
7
|
-
todate: zod.z.string().describe("End date for this working time period (YYYY-MM-DD)"),
|
|
8
|
-
endtime: zod.z.string().describe("End time of the working period (HH:MM:SS)"),
|
|
9
|
-
fromdate: zod.z.string().describe("Start date for this working time period (YYYY-MM-DD)"),
|
|
10
|
-
starttime: zod.z.string().describe("Start time of the working period (HH:MM:SS)"),
|
|
11
|
-
calendarid: zod.z.number().int().describe("Calendar identifier this entry belongs to")
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the working time entry").nullable(),
|
|
7
|
+
todate: zod.z.string().describe("End date for this working time period (YYYY-MM-DD)").nullable(),
|
|
8
|
+
endtime: zod.z.string().describe("End time of the working period (HH:MM:SS)").nullable(),
|
|
9
|
+
fromdate: zod.z.string().describe("Start date for this working time period (YYYY-MM-DD)").nullable(),
|
|
10
|
+
starttime: zod.z.string().describe("Start time of the working period (HH:MM:SS)").nullable(),
|
|
11
|
+
calendarid: zod.z.number().int().describe("Calendar identifier this entry belongs to").nullable()
|
|
12
12
|
}).passthrough().describe("Model representing a single working time entry for a calendar.");
|
|
13
|
-
const EterminGetWorkingTimesOutput = zod.z.object({ details: zod.z.array(EterminGetWorkingTimes_WorkingTimeSchema).describe("List of working time entries for the specified calendar").
|
|
13
|
+
const EterminGetWorkingTimesOutput = zod.z.object({ details: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(EterminGetWorkingTimes_WorkingTimeSchema).describe("List of working time entries for the specified calendar").optional()) }).describe("Response model containing working time entries for a calendar.");
|
|
14
14
|
const eterminGetWorkingTimes = require_action.action("ETERMIN_GET_WORKING_TIMES", {
|
|
15
15
|
slug: "etermin-get-working-times",
|
|
16
16
|
name: "Get Working Times",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-working-times.cjs","names":["z","action"],"sources":["../../src/actions/get-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetWorkingTimesInput
|
|
1
|
+
{"version":3,"file":"get-working-times.cjs","names":["z","action"],"sources":["../../src/actions/get-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetWorkingTimesInput = z.object({\n calendarid: z.number().int().describe(\"Identifier of the calendar to retrieve working times for\"),\n}).describe(\"Request model for retrieving working times of a calendar.\");\nconst EterminGetWorkingTimes_WorkingTimeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the working time entry\").nullable(),\n todate: z.string().describe(\"End date for this working time period (YYYY-MM-DD)\").nullable(),\n endtime: z.string().describe(\"End time of the working period (HH:MM:SS)\").nullable(),\n fromdate: z.string().describe(\"Start date for this working time period (YYYY-MM-DD)\").nullable(),\n starttime: z.string().describe(\"Start time of the working period (HH:MM:SS)\").nullable(),\n calendarid: z.number().int().describe(\"Calendar identifier this entry belongs to\").nullable(),\n}).passthrough().describe(\"Model representing a single working time entry for a calendar.\");\nexport const EterminGetWorkingTimesOutput = z.object({\n details: z.preprocess((value) => (value === null ? undefined : value), z.array(EterminGetWorkingTimes_WorkingTimeSchema).describe(\"List of working time entries for the specified calendar\").optional()),\n}).describe(\"Response model containing working time entries for a calendar.\");\n\nexport const eterminGetWorkingTimes = action(\"ETERMIN_GET_WORKING_TIMES\", {\n slug: \"etermin-get-working-times\",\n name: \"Get Working Times\",\n description: \"Tool to retrieve working times for a specific calendar. Use when confirming available time slots before booking appointments.\",\n input: EterminGetWorkingTimesInput,\n output: EterminGetWorkingTimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,EAClG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,EACzM,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-working-times.d.ts
|
|
4
|
-
declare const EterminGetWorkingTimesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminGetWorkingTimesInput: z.ZodObject<{
|
|
5
|
+
calendarid: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const EterminGetWorkingTimesOutput: z.ZodObject<{
|
|
8
|
+
details: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
todate: z.ZodNullable<z.ZodString>;
|
|
11
|
+
endtime: z.ZodNullable<z.ZodString>;
|
|
12
|
+
fromdate: z.ZodNullable<z.ZodString>;
|
|
13
|
+
starttime: z.ZodNullable<z.ZodString>;
|
|
14
|
+
calendarid: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const eterminGetWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
calendarid: number;
|
|
19
|
+
}, {
|
|
20
|
+
details?: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
id: number | null;
|
|
23
|
+
todate: string | null;
|
|
24
|
+
endtime: string | null;
|
|
25
|
+
fromdate: string | null;
|
|
26
|
+
starttime: string | null;
|
|
27
|
+
calendarid: number | null;
|
|
28
|
+
}[] | undefined;
|
|
29
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { eterminGetWorkingTimes };
|
|
9
32
|
//# sourceMappingURL=get-working-times.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-working-times.d.cts","names":[],"sources":["../../src/actions/get-working-times.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-working-times.d.cts","names":[],"sources":["../../src/actions/get-working-times.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-working-times.d.ts
|
|
4
|
-
declare const EterminGetWorkingTimesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminGetWorkingTimesInput: z.ZodObject<{
|
|
5
|
+
calendarid: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const EterminGetWorkingTimesOutput: z.ZodObject<{
|
|
8
|
+
details: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
todate: z.ZodNullable<z.ZodString>;
|
|
11
|
+
endtime: z.ZodNullable<z.ZodString>;
|
|
12
|
+
fromdate: z.ZodNullable<z.ZodString>;
|
|
13
|
+
starttime: z.ZodNullable<z.ZodString>;
|
|
14
|
+
calendarid: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const eterminGetWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
calendarid: number;
|
|
19
|
+
}, {
|
|
20
|
+
details?: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
id: number | null;
|
|
23
|
+
todate: string | null;
|
|
24
|
+
endtime: string | null;
|
|
25
|
+
fromdate: string | null;
|
|
26
|
+
starttime: string | null;
|
|
27
|
+
calendarid: number | null;
|
|
28
|
+
}[] | undefined;
|
|
29
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { eterminGetWorkingTimes };
|
|
9
32
|
//# sourceMappingURL=get-working-times.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-working-times.d.mts","names":[],"sources":["../../src/actions/get-working-times.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-working-times.d.mts","names":[],"sources":["../../src/actions/get-working-times.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -3,19 +3,19 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-working-times.ts
|
|
4
4
|
const EterminGetWorkingTimesInput = z.object({ calendarid: z.number().int().describe("Identifier of the calendar to retrieve working times for") }).describe("Request model for retrieving working times of a calendar.");
|
|
5
5
|
const EterminGetWorkingTimes_WorkingTimeSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier of the working time entry"),
|
|
7
|
-
todate: z.string().describe("End date for this working time period (YYYY-MM-DD)"),
|
|
8
|
-
endtime: z.string().describe("End time of the working period (HH:MM:SS)"),
|
|
9
|
-
fromdate: z.string().describe("Start date for this working time period (YYYY-MM-DD)"),
|
|
10
|
-
starttime: z.string().describe("Start time of the working period (HH:MM:SS)"),
|
|
11
|
-
calendarid: z.number().int().describe("Calendar identifier this entry belongs to")
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the working time entry").nullable(),
|
|
7
|
+
todate: z.string().describe("End date for this working time period (YYYY-MM-DD)").nullable(),
|
|
8
|
+
endtime: z.string().describe("End time of the working period (HH:MM:SS)").nullable(),
|
|
9
|
+
fromdate: z.string().describe("Start date for this working time period (YYYY-MM-DD)").nullable(),
|
|
10
|
+
starttime: z.string().describe("Start time of the working period (HH:MM:SS)").nullable(),
|
|
11
|
+
calendarid: z.number().int().describe("Calendar identifier this entry belongs to").nullable()
|
|
12
12
|
}).passthrough().describe("Model representing a single working time entry for a calendar.");
|
|
13
13
|
const eterminGetWorkingTimes = action("ETERMIN_GET_WORKING_TIMES", {
|
|
14
14
|
slug: "etermin-get-working-times",
|
|
15
15
|
name: "Get Working Times",
|
|
16
16
|
description: "Tool to retrieve working times for a specific calendar. Use when confirming available time slots before booking appointments.",
|
|
17
17
|
input: EterminGetWorkingTimesInput,
|
|
18
|
-
output: z.object({ details: z.array(EterminGetWorkingTimes_WorkingTimeSchema).describe("List of working time entries for the specified calendar").
|
|
18
|
+
output: z.object({ details: z.preprocess((value) => value === null ? void 0 : value, z.array(EterminGetWorkingTimes_WorkingTimeSchema).describe("List of working time entries for the specified calendar").optional()) }).describe("Response model containing working time entries for a calendar.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { eterminGetWorkingTimes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-working-times.mjs","names":[],"sources":["../../src/actions/get-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetWorkingTimesInput
|
|
1
|
+
{"version":3,"file":"get-working-times.mjs","names":[],"sources":["../../src/actions/get-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetWorkingTimesInput = z.object({\n calendarid: z.number().int().describe(\"Identifier of the calendar to retrieve working times for\"),\n}).describe(\"Request model for retrieving working times of a calendar.\");\nconst EterminGetWorkingTimes_WorkingTimeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the working time entry\").nullable(),\n todate: z.string().describe(\"End date for this working time period (YYYY-MM-DD)\").nullable(),\n endtime: z.string().describe(\"End time of the working period (HH:MM:SS)\").nullable(),\n fromdate: z.string().describe(\"Start date for this working time period (YYYY-MM-DD)\").nullable(),\n starttime: z.string().describe(\"Start time of the working period (HH:MM:SS)\").nullable(),\n calendarid: z.number().int().describe(\"Calendar identifier this entry belongs to\").nullable(),\n}).passthrough().describe(\"Model representing a single working time entry for a calendar.\");\nexport const EterminGetWorkingTimesOutput = z.object({\n details: z.preprocess((value) => (value === null ? undefined : value), z.array(EterminGetWorkingTimes_WorkingTimeSchema).describe(\"List of working time entries for the specified calendar\").optional()),\n}).describe(\"Response model containing working time entries for a calendar.\");\n\nexport const eterminGetWorkingTimes = action(\"ETERMIN_GET_WORKING_TIMES\", {\n slug: \"etermin-get-working-times\",\n name: \"Get Working Times\",\n description: \"Tool to retrieve working times for a specific calendar. Use when confirming available time slots before booking appointments.\",\n input: EterminGetWorkingTimesInput,\n output: EterminGetWorkingTimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,EAClG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAK1F,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,EACzM,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -17,25 +17,25 @@ const EterminListAppointmentsInput = zod.z.object({
|
|
|
17
17
|
bycreationdate: zod.z.boolean().describe("Changes start/end parameters to filter by creation date instead").optional()
|
|
18
18
|
}).describe("Request model for listing appointments from eTermin with filtering options.\nAll parameters are optional - at least one parameter is recommended for filtering.");
|
|
19
19
|
const EterminListAppointments_AppointmentSchema = zod.z.object({
|
|
20
|
-
Email: zod.z.string().describe("Customer's email address").
|
|
21
|
-
Notes: zod.z.string().describe("Additional notes for the appointment").
|
|
22
|
-
Phone: zod.z.string().describe("Customer's phone number").
|
|
23
|
-
Price: zod.z.number().describe("Price of the appointment").
|
|
24
|
-
Status: zod.z.number().int().describe("Current status of the appointment").
|
|
25
|
-
Capacity: zod.z.number().int().describe("Number of participants for the appointment").
|
|
26
|
-
Currency: zod.z.string().describe("Currency code for the price (e.g., EUR)").
|
|
27
|
-
LastName: zod.z.string().describe("Customer's last name").
|
|
28
|
-
FirstName: zod.z.string().describe("Customer's first name").
|
|
29
|
-
ServiceID: zod.z.number().int().describe("ID of the service for this appointment").
|
|
30
|
-
CalendarID: zod.z.number().int().describe("ID of the calendar this appointment belongs to").
|
|
31
|
-
Salutation: zod.z.string().describe("Customer's salutation (e.g., Mr., Mrs.)").
|
|
32
|
-
EndDateTime: zod.z.string().describe("Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)").
|
|
33
|
-
ServiceName: zod.z.string().describe("Name of the service for this appointment").
|
|
34
|
-
StartDateTime: zod.z.string().describe("Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)").
|
|
35
|
-
AppointmentUID: zod.z.string().describe("Unique identifier for the appointment").
|
|
36
|
-
BookingDateUTC: zod.z.string().describe("Date when the appointment was booked in UTC").
|
|
37
|
-
EndDateTimeUTC: zod.z.string().describe("Appointment end date/time in UTC (format: yyyyMMdd HHmmss)").
|
|
38
|
-
StartDateTimeUTC: zod.z.string().describe("Appointment start date/time in UTC (format: yyyyMMdd HHmmss)").
|
|
20
|
+
Email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Customer's email address").optional()),
|
|
21
|
+
Notes: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Additional notes for the appointment").optional()),
|
|
22
|
+
Phone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Customer's phone number").optional()),
|
|
23
|
+
Price: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Price of the appointment").optional()),
|
|
24
|
+
Status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Current status of the appointment").optional()),
|
|
25
|
+
Capacity: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of participants for the appointment").optional()),
|
|
26
|
+
Currency: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Currency code for the price (e.g., EUR)").optional()),
|
|
27
|
+
LastName: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Customer's last name").optional()),
|
|
28
|
+
FirstName: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Customer's first name").optional()),
|
|
29
|
+
ServiceID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the service for this appointment").optional()),
|
|
30
|
+
CalendarID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the calendar this appointment belongs to").optional()),
|
|
31
|
+
Salutation: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Customer's salutation (e.g., Mr., Mrs.)").optional()),
|
|
32
|
+
EndDateTime: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)").optional()),
|
|
33
|
+
ServiceName: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the service for this appointment").optional()),
|
|
34
|
+
StartDateTime: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)").optional()),
|
|
35
|
+
AppointmentUID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Unique identifier for the appointment").optional()),
|
|
36
|
+
BookingDateUTC: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Date when the appointment was booked in UTC").optional()),
|
|
37
|
+
EndDateTimeUTC: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Appointment end date/time in UTC (format: yyyyMMdd HHmmss)").optional()),
|
|
38
|
+
StartDateTimeUTC: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Appointment start date/time in UTC (format: yyyyMMdd HHmmss)").optional())
|
|
39
39
|
}).passthrough().describe("Model representing an appointment in eTermin.");
|
|
40
40
|
const EterminListAppointmentsOutput = zod.z.object({ appointments: zod.z.array(EterminListAppointments_AppointmentSchema).describe("List of appointments matching the filter criteria") }).describe("Response model containing a list of appointments from eTermin.");
|
|
41
41
|
const eterminListAppointments = require_action.action("ETERMIN_LIST_APPOINTMENTS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-appointments.cjs","names":["z","action"],"sources":["../../src/actions/list-appointments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListAppointmentsInput
|
|
1
|
+
{"version":3,"file":"list-appointments.cjs","names":["z","action"],"sources":["../../src/actions/list-appointments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListAppointmentsInput = z.object({\n id: z.string().describe(\"ID of an appointment (relates to the ExternalID)\").optional(),\n wl: z.boolean().describe(\"Set to true to get all appointments on the Waiting List\").optional(),\n cid: z.number().int().describe(\"Use customer ID to see related appointments\").optional(),\n end: z.string().describe(\"End date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n pbl: z.boolean().describe(\"Set to true to get all appointments on the Reservation List\").optional(),\n appid: z.number().int().describe(\"ID of an appointment (relates to the ID)\").optional(),\n email: z.string().describe(\"Use email address to see related appointments\").optional(),\n start: z.string().describe(\"Start date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n limited: z.boolean().describe(\"Reduces response information for bulk appointment queries\").optional(),\n calendarid: z.string().describe(\"IDs of the calendars to get appointments from\").optional(),\n noholidays: z.boolean().describe(\"Shows only regular appointments, excludes holidays/blocks\").optional(),\n noholidays2: z.boolean().describe(\"Shows only appointments where bookingtype is not Holiday\").optional(),\n bycreationdate: z.boolean().describe(\"Changes start/end parameters to filter by creation date instead\").optional(),\n}).describe(\"Request model for listing appointments from eTermin with filtering options.\\nAll parameters are optional - at least one parameter is recommended for filtering.\");\nconst EterminListAppointments_AppointmentSchema = z.object({\n Email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's email address\").optional()),\n Notes: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Additional notes for the appointment\").optional()),\n Phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's phone number\").optional()),\n Price: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Price of the appointment\").optional()),\n Status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Current status of the appointment\").optional()),\n Capacity: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of participants for the appointment\").optional()),\n Currency: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Currency code for the price (e.g., EUR)\").optional()),\n LastName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's last name\").optional()),\n FirstName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's first name\").optional()),\n ServiceID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the service for this appointment\").optional()),\n CalendarID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar this appointment belongs to\").optional()),\n Salutation: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's salutation (e.g., Mr., Mrs.)\").optional()),\n EndDateTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)\").optional()),\n ServiceName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the service for this appointment\").optional()),\n StartDateTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)\").optional()),\n AppointmentUID: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier for the appointment\").optional()),\n BookingDateUTC: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Date when the appointment was booked in UTC\").optional()),\n EndDateTimeUTC: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Appointment end date/time in UTC (format: yyyyMMdd HHmmss)\").optional()),\n StartDateTimeUTC: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Appointment start date/time in UTC (format: yyyyMMdd HHmmss)\").optional()),\n}).passthrough().describe(\"Model representing an appointment in eTermin.\");\nexport const EterminListAppointmentsOutput = z.object({\n appointments: z.array(EterminListAppointments_AppointmentSchema).describe(\"List of appointments matching the filter criteria\"),\n}).describe(\"Response model containing a list of appointments from eTermin.\");\n\nexport const eterminListAppointments = action(\"ETERMIN_LIST_APPOINTMENTS\", {\n slug: \"etermin-list-appointments\",\n name: \"List Appointments\",\n description: \"Tool to retrieve a filtered list of appointments from eTermin in a specified date range. Use when you need to search for appointments by date range, calendar, customer, or other criteria. Returns appointment details including date/time, customer info, and service information.\",\n input: EterminListAppointmentsInput,\n output: EterminListAppointmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrF,IAAIA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC5G,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACvG,gBAA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AC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CAC3J,gBAAgBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;CAC1K,kBAAkBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC;AAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,mDAAmD,EAC/H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,82 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-appointments.d.ts
|
|
4
|
-
declare const EterminListAppointmentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminListAppointmentsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
wl: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
cid: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
end: z.ZodOptional<z.ZodString>;
|
|
9
|
+
pbl: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
appid: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12
|
+
start: z.ZodOptional<z.ZodString>;
|
|
13
|
+
limited: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
calendarid: z.ZodOptional<z.ZodString>;
|
|
15
|
+
noholidays: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
noholidays2: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
bycreationdate: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const EterminListAppointmentsOutput: z.ZodObject<{
|
|
20
|
+
appointments: z.ZodArray<z.ZodObject<{
|
|
21
|
+
Email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
Notes: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
Phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
Price: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
Status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
26
|
+
Capacity: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
27
|
+
Currency: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
LastName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
FirstName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
ServiceID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
31
|
+
CalendarID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
Salutation: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
EndDateTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
ServiceName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
StartDateTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
AppointmentUID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
BookingDateUTC: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
38
|
+
EndDateTimeUTC: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
StartDateTimeUTC: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const eterminListAppointments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
id?: string | undefined;
|
|
44
|
+
wl?: boolean | undefined;
|
|
45
|
+
cid?: number | undefined;
|
|
46
|
+
end?: string | undefined;
|
|
47
|
+
pbl?: boolean | undefined;
|
|
48
|
+
appid?: number | undefined;
|
|
49
|
+
email?: string | undefined;
|
|
50
|
+
start?: string | undefined;
|
|
51
|
+
limited?: boolean | undefined;
|
|
52
|
+
calendarid?: string | undefined;
|
|
53
|
+
noholidays?: boolean | undefined;
|
|
54
|
+
noholidays2?: boolean | undefined;
|
|
55
|
+
bycreationdate?: boolean | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
appointments: {
|
|
58
|
+
[x: string]: unknown;
|
|
59
|
+
Email?: string | undefined;
|
|
60
|
+
Notes?: string | undefined;
|
|
61
|
+
Phone?: string | undefined;
|
|
62
|
+
Price?: number | undefined;
|
|
63
|
+
Status?: number | undefined;
|
|
64
|
+
Capacity?: number | undefined;
|
|
65
|
+
Currency?: string | undefined;
|
|
66
|
+
LastName?: string | undefined;
|
|
67
|
+
FirstName?: string | undefined;
|
|
68
|
+
ServiceID?: number | undefined;
|
|
69
|
+
CalendarID?: number | undefined;
|
|
70
|
+
Salutation?: string | undefined;
|
|
71
|
+
EndDateTime?: string | undefined;
|
|
72
|
+
ServiceName?: string | undefined;
|
|
73
|
+
StartDateTime?: string | undefined;
|
|
74
|
+
AppointmentUID?: string | undefined;
|
|
75
|
+
BookingDateUTC?: string | undefined;
|
|
76
|
+
EndDateTimeUTC?: string | undefined;
|
|
77
|
+
StartDateTimeUTC?: string | undefined;
|
|
78
|
+
}[];
|
|
79
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
80
|
//#endregion
|
|
8
81
|
export { eterminListAppointments };
|
|
9
82
|
//# sourceMappingURL=list-appointments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-appointments.d.cts","names":[],"sources":["../../src/actions/list-appointments.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"list-appointments.d.cts","names":[],"sources":["../../src/actions/list-appointments.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAoC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,82 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-appointments.d.ts
|
|
4
|
-
declare const EterminListAppointmentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminListAppointmentsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
wl: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
cid: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
end: z.ZodOptional<z.ZodString>;
|
|
9
|
+
pbl: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
appid: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12
|
+
start: z.ZodOptional<z.ZodString>;
|
|
13
|
+
limited: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
calendarid: z.ZodOptional<z.ZodString>;
|
|
15
|
+
noholidays: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
noholidays2: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
bycreationdate: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const EterminListAppointmentsOutput: z.ZodObject<{
|
|
20
|
+
appointments: z.ZodArray<z.ZodObject<{
|
|
21
|
+
Email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
Notes: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
Phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
Price: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
Status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
26
|
+
Capacity: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
27
|
+
Currency: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
LastName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
FirstName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
ServiceID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
31
|
+
CalendarID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
Salutation: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
EndDateTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
ServiceName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
StartDateTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
AppointmentUID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
BookingDateUTC: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
38
|
+
EndDateTimeUTC: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
StartDateTimeUTC: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const eterminListAppointments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
id?: string | undefined;
|
|
44
|
+
wl?: boolean | undefined;
|
|
45
|
+
cid?: number | undefined;
|
|
46
|
+
end?: string | undefined;
|
|
47
|
+
pbl?: boolean | undefined;
|
|
48
|
+
appid?: number | undefined;
|
|
49
|
+
email?: string | undefined;
|
|
50
|
+
start?: string | undefined;
|
|
51
|
+
limited?: boolean | undefined;
|
|
52
|
+
calendarid?: string | undefined;
|
|
53
|
+
noholidays?: boolean | undefined;
|
|
54
|
+
noholidays2?: boolean | undefined;
|
|
55
|
+
bycreationdate?: boolean | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
appointments: {
|
|
58
|
+
[x: string]: unknown;
|
|
59
|
+
Email?: string | undefined;
|
|
60
|
+
Notes?: string | undefined;
|
|
61
|
+
Phone?: string | undefined;
|
|
62
|
+
Price?: number | undefined;
|
|
63
|
+
Status?: number | undefined;
|
|
64
|
+
Capacity?: number | undefined;
|
|
65
|
+
Currency?: string | undefined;
|
|
66
|
+
LastName?: string | undefined;
|
|
67
|
+
FirstName?: string | undefined;
|
|
68
|
+
ServiceID?: number | undefined;
|
|
69
|
+
CalendarID?: number | undefined;
|
|
70
|
+
Salutation?: string | undefined;
|
|
71
|
+
EndDateTime?: string | undefined;
|
|
72
|
+
ServiceName?: string | undefined;
|
|
73
|
+
StartDateTime?: string | undefined;
|
|
74
|
+
AppointmentUID?: string | undefined;
|
|
75
|
+
BookingDateUTC?: string | undefined;
|
|
76
|
+
EndDateTimeUTC?: string | undefined;
|
|
77
|
+
StartDateTimeUTC?: string | undefined;
|
|
78
|
+
}[];
|
|
79
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
80
|
//#endregion
|
|
8
81
|
export { eterminListAppointments };
|
|
9
82
|
//# sourceMappingURL=list-appointments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-appointments.d.mts","names":[],"sources":["../../src/actions/list-appointments.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"list-appointments.d.mts","names":[],"sources":["../../src/actions/list-appointments.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAoC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -17,25 +17,25 @@ const EterminListAppointmentsInput = z.object({
|
|
|
17
17
|
bycreationdate: z.boolean().describe("Changes start/end parameters to filter by creation date instead").optional()
|
|
18
18
|
}).describe("Request model for listing appointments from eTermin with filtering options.\nAll parameters are optional - at least one parameter is recommended for filtering.");
|
|
19
19
|
const EterminListAppointments_AppointmentSchema = z.object({
|
|
20
|
-
Email: z.string().describe("Customer's email address").
|
|
21
|
-
Notes: z.string().describe("Additional notes for the appointment").
|
|
22
|
-
Phone: z.string().describe("Customer's phone number").
|
|
23
|
-
Price: z.number().describe("Price of the appointment").
|
|
24
|
-
Status: z.number().int().describe("Current status of the appointment").
|
|
25
|
-
Capacity: z.number().int().describe("Number of participants for the appointment").
|
|
26
|
-
Currency: z.string().describe("Currency code for the price (e.g., EUR)").
|
|
27
|
-
LastName: z.string().describe("Customer's last name").
|
|
28
|
-
FirstName: z.string().describe("Customer's first name").
|
|
29
|
-
ServiceID: z.number().int().describe("ID of the service for this appointment").
|
|
30
|
-
CalendarID: z.number().int().describe("ID of the calendar this appointment belongs to").
|
|
31
|
-
Salutation: z.string().describe("Customer's salutation (e.g., Mr., Mrs.)").
|
|
32
|
-
EndDateTime: z.string().describe("Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)").
|
|
33
|
-
ServiceName: z.string().describe("Name of the service for this appointment").
|
|
34
|
-
StartDateTime: z.string().describe("Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)").
|
|
35
|
-
AppointmentUID: z.string().describe("Unique identifier for the appointment").
|
|
36
|
-
BookingDateUTC: z.string().describe("Date when the appointment was booked in UTC").
|
|
37
|
-
EndDateTimeUTC: z.string().describe("Appointment end date/time in UTC (format: yyyyMMdd HHmmss)").
|
|
38
|
-
StartDateTimeUTC: z.string().describe("Appointment start date/time in UTC (format: yyyyMMdd HHmmss)").
|
|
20
|
+
Email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Customer's email address").optional()),
|
|
21
|
+
Notes: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Additional notes for the appointment").optional()),
|
|
22
|
+
Phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Customer's phone number").optional()),
|
|
23
|
+
Price: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Price of the appointment").optional()),
|
|
24
|
+
Status: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Current status of the appointment").optional()),
|
|
25
|
+
Capacity: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of participants for the appointment").optional()),
|
|
26
|
+
Currency: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Currency code for the price (e.g., EUR)").optional()),
|
|
27
|
+
LastName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Customer's last name").optional()),
|
|
28
|
+
FirstName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Customer's first name").optional()),
|
|
29
|
+
ServiceID: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the service for this appointment").optional()),
|
|
30
|
+
CalendarID: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the calendar this appointment belongs to").optional()),
|
|
31
|
+
Salutation: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Customer's salutation (e.g., Mr., Mrs.)").optional()),
|
|
32
|
+
EndDateTime: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)").optional()),
|
|
33
|
+
ServiceName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the service for this appointment").optional()),
|
|
34
|
+
StartDateTime: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)").optional()),
|
|
35
|
+
AppointmentUID: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Unique identifier for the appointment").optional()),
|
|
36
|
+
BookingDateUTC: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Date when the appointment was booked in UTC").optional()),
|
|
37
|
+
EndDateTimeUTC: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Appointment end date/time in UTC (format: yyyyMMdd HHmmss)").optional()),
|
|
38
|
+
StartDateTimeUTC: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Appointment start date/time in UTC (format: yyyyMMdd HHmmss)").optional())
|
|
39
39
|
}).passthrough().describe("Model representing an appointment in eTermin.");
|
|
40
40
|
const eterminListAppointments = action("ETERMIN_LIST_APPOINTMENTS", {
|
|
41
41
|
slug: "etermin-list-appointments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-appointments.mjs","names":[],"sources":["../../src/actions/list-appointments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListAppointmentsInput
|
|
1
|
+
{"version":3,"file":"list-appointments.mjs","names":[],"sources":["../../src/actions/list-appointments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListAppointmentsInput = z.object({\n id: z.string().describe(\"ID of an appointment (relates to the ExternalID)\").optional(),\n wl: z.boolean().describe(\"Set to true to get all appointments on the Waiting List\").optional(),\n cid: z.number().int().describe(\"Use customer ID to see related appointments\").optional(),\n end: z.string().describe(\"End date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n pbl: z.boolean().describe(\"Set to true to get all appointments on the Reservation List\").optional(),\n appid: z.number().int().describe(\"ID of an appointment (relates to the ID)\").optional(),\n email: z.string().describe(\"Use email address to see related appointments\").optional(),\n start: z.string().describe(\"Start date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n limited: z.boolean().describe(\"Reduces response information for bulk appointment queries\").optional(),\n calendarid: z.string().describe(\"IDs of the calendars to get appointments from\").optional(),\n noholidays: z.boolean().describe(\"Shows only regular appointments, excludes holidays/blocks\").optional(),\n noholidays2: z.boolean().describe(\"Shows only appointments where bookingtype is not Holiday\").optional(),\n bycreationdate: z.boolean().describe(\"Changes start/end parameters to filter by creation date instead\").optional(),\n}).describe(\"Request model for listing appointments from eTermin with filtering options.\\nAll parameters are optional - at least one parameter is recommended for filtering.\");\nconst EterminListAppointments_AppointmentSchema = z.object({\n Email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's email address\").optional()),\n Notes: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Additional notes for the appointment\").optional()),\n Phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's phone number\").optional()),\n Price: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Price of the appointment\").optional()),\n Status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Current status of the appointment\").optional()),\n Capacity: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of participants for the appointment\").optional()),\n Currency: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Currency code for the price (e.g., EUR)\").optional()),\n LastName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's last name\").optional()),\n FirstName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's first name\").optional()),\n ServiceID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the service for this appointment\").optional()),\n CalendarID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar this appointment belongs to\").optional()),\n Salutation: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer's salutation (e.g., Mr., Mrs.)\").optional()),\n EndDateTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)\").optional()),\n ServiceName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the service for this appointment\").optional()),\n StartDateTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)\").optional()),\n AppointmentUID: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier for the appointment\").optional()),\n BookingDateUTC: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Date when the appointment was booked in UTC\").optional()),\n EndDateTimeUTC: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Appointment end date/time in UTC (format: yyyyMMdd HHmmss)\").optional()),\n StartDateTimeUTC: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Appointment start date/time in UTC (format: yyyyMMdd HHmmss)\").optional()),\n}).passthrough().describe(\"Model representing an appointment in eTermin.\");\nexport const EterminListAppointmentsOutput = z.object({\n appointments: z.array(EterminListAppointments_AppointmentSchema).describe(\"List of appointments matching the filter criteria\"),\n}).describe(\"Response model containing a list of appointments from eTermin.\");\n\nexport const eterminListAppointments = action(\"ETERMIN_LIST_APPOINTMENTS\", {\n slug: \"etermin-list-appointments\",\n name: \"List Appointments\",\n description: \"Tool to retrieve a filtered list of appointments from eTermin in a specified date range. Use when you need to search for appointments by date range, calendar, customer, or other criteria. Returns appointment details including date/time, customer info, and service information.\",\n input: EterminListAppointmentsInput,\n output: EterminListAppointmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrF,IAAI,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC5G,KA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