@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
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["etermin","executeEterminTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { etermin } from \"./app\";\nimport { executeEterminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["etermin","executeEterminTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { etermin } from \"./app\";\nimport { executeEterminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return etermin.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeEterminTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { etermin } from \"./app\";\nimport { executeEterminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { etermin } from \"./app\";\nimport { executeEterminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return etermin.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeEterminTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -6,9 +6,9 @@ const EterminAssignCalendarServiceInput = zod.z.object({
|
|
|
6
6
|
calendarid: zod.z.string().describe("ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.")
|
|
7
7
|
}).describe("Request model for assigning a service to a calendar in eTermin.");
|
|
8
8
|
const EterminAssignCalendarServiceOutput = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Unique identifier for the created calendar-service assignment.").
|
|
10
|
-
serviceid: zod.z.number().int().describe("ID of the service that was assigned to the calendar.").
|
|
11
|
-
calendarid: zod.z.number().int().describe("ID of the calendar that the service was assigned to.").
|
|
9
|
+
id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the created calendar-service assignment.").optional()),
|
|
10
|
+
serviceid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the service that was assigned to the calendar.").optional()),
|
|
11
|
+
calendarid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the calendar that the service was assigned to.").optional())
|
|
12
12
|
}).describe("Response model for calendar service assignment operation in eTermin.");
|
|
13
13
|
const eterminAssignCalendarService = require_action.action("ETERMIN_ASSIGN_CALENDAR_SERVICE", {
|
|
14
14
|
slug: "etermin-assign-calendar-service",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-calendar-service.cjs","names":["z","action"],"sources":["../../src/actions/assign-calendar-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminAssignCalendarServiceInput
|
|
1
|
+
{"version":3,"file":"assign-calendar-service.cjs","names":["z","action"],"sources":["../../src/actions/assign-calendar-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminAssignCalendarServiceInput = z.object({\n serviceid: z.string().describe(\"ID of the service to assign to the calendar. Use Get Services action to retrieve service IDs.\"),\n calendarid: z.string().describe(\"ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.\"),\n}).describe(\"Request model for assigning a service to a calendar in eTermin.\");\nexport const EterminAssignCalendarServiceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the created calendar-service assignment.\").optional()),\n serviceid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the service that was assigned to the calendar.\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar that the service was assigned to.\").optional()),\n}).describe(\"Response model for calendar service assignment operation in eTermin.\");\n\nexport const eterminAssignCalendarService = action(\"ETERMIN_ASSIGN_CALENDAR_SERVICE\", {\n slug: \"etermin-assign-calendar-service\",\n name: \"Assign Calendar Service\",\n description: \"Tool to assign a service to a calendar in eTermin. Use when you need to link a specific service to a calendar/employee resource, making the service available for that calendar.\",\n input: EterminAssignCalendarServiceInput,\n output: EterminAssignCalendarServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACnI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;CACxK,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CACrK,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;AACxK,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/assign-calendar-service.d.ts
|
|
4
|
-
declare const EterminAssignCalendarServiceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminAssignCalendarServiceInput: z.ZodObject<{
|
|
5
|
+
serviceid: z.ZodString;
|
|
6
|
+
calendarid: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const EterminAssignCalendarServiceOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
10
|
+
serviceid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
11
|
+
calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const eterminAssignCalendarService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
serviceid: string;
|
|
15
|
+
calendarid: string;
|
|
16
|
+
}, {
|
|
17
|
+
id?: number | undefined;
|
|
18
|
+
serviceid?: number | undefined;
|
|
19
|
+
calendarid?: number | undefined;
|
|
20
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { eterminAssignCalendarService };
|
|
9
23
|
//# sourceMappingURL=assign-calendar-service.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-calendar-service.d.cts","names":[],"sources":["../../src/actions/assign-calendar-service.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"assign-calendar-service.d.cts","names":[],"sources":["../../src/actions/assign-calendar-service.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/assign-calendar-service.d.ts
|
|
4
|
-
declare const EterminAssignCalendarServiceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminAssignCalendarServiceInput: z.ZodObject<{
|
|
5
|
+
serviceid: z.ZodString;
|
|
6
|
+
calendarid: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const EterminAssignCalendarServiceOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
10
|
+
serviceid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
11
|
+
calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const eterminAssignCalendarService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
serviceid: string;
|
|
15
|
+
calendarid: string;
|
|
16
|
+
}, {
|
|
17
|
+
id?: number | undefined;
|
|
18
|
+
serviceid?: number | undefined;
|
|
19
|
+
calendarid?: number | undefined;
|
|
20
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { eterminAssignCalendarService };
|
|
9
23
|
//# sourceMappingURL=assign-calendar-service.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-calendar-service.d.mts","names":[],"sources":["../../src/actions/assign-calendar-service.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"assign-calendar-service.d.mts","names":[],"sources":["../../src/actions/assign-calendar-service.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -9,9 +9,9 @@ const eterminAssignCalendarService = action("ETERMIN_ASSIGN_CALENDAR_SERVICE", {
|
|
|
9
9
|
calendarid: z.string().describe("ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.")
|
|
10
10
|
}).describe("Request model for assigning a service to a calendar in eTermin."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
id: z.number().int().describe("Unique identifier for the created calendar-service assignment.").
|
|
13
|
-
serviceid: z.number().int().describe("ID of the service that was assigned to the calendar.").
|
|
14
|
-
calendarid: z.number().int().describe("ID of the calendar that the service was assigned to.").
|
|
12
|
+
id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the created calendar-service assignment.").optional()),
|
|
13
|
+
serviceid: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the service that was assigned to the calendar.").optional()),
|
|
14
|
+
calendarid: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the calendar that the service was assigned to.").optional())
|
|
15
15
|
}).describe("Response model for calendar service assignment operation in eTermin.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-calendar-service.mjs","names":[],"sources":["../../src/actions/assign-calendar-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminAssignCalendarServiceInput
|
|
1
|
+
{"version":3,"file":"assign-calendar-service.mjs","names":[],"sources":["../../src/actions/assign-calendar-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminAssignCalendarServiceInput = z.object({\n serviceid: z.string().describe(\"ID of the service to assign to the calendar. Use Get Services action to retrieve service IDs.\"),\n calendarid: z.string().describe(\"ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.\"),\n}).describe(\"Request model for assigning a service to a calendar in eTermin.\");\nexport const EterminAssignCalendarServiceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the created calendar-service assignment.\").optional()),\n serviceid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the service that was assigned to the calendar.\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar that the service was assigned to.\").optional()),\n}).describe(\"Response model for calendar service assignment operation in eTermin.\");\n\nexport const eterminAssignCalendarService = action(\"ETERMIN_ASSIGN_CALENDAR_SERVICE\", {\n slug: \"etermin-assign-calendar-service\",\n name: \"Assign Calendar Service\",\n description: \"Tool to assign a service to a calendar in eTermin. Use when you need to link a specific service to a calendar/employee resource, making the service available for that calendar.\",\n input: EterminAssignCalendarServiceInput,\n output: EterminAssignCalendarServiceOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACnI,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXgD,EAAE,OAAO;EACzD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;EACxK,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;EACrK,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CACxK,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
|
|
@@ -11,9 +11,9 @@ const EterminCreateAbsenceInput = zod.z.object({
|
|
|
11
11
|
dynamicdaysduration: zod.z.number().int().describe("Number of days for the dynamic absence to last (nwtype has to be 1).").optional()
|
|
12
12
|
}).describe("Request model for creating an absence (non-working time) in eTermin.");
|
|
13
13
|
const EterminCreateAbsenceOutput = zod.z.object({
|
|
14
|
-
id: zod.z.number().int().describe("Unique identifier of the created absence entry").
|
|
15
|
-
status: zod.z.number().int().describe("HTTP status code of the response").
|
|
16
|
-
statusmsg: zod.z.string().describe("Status message describing the result of the operation").
|
|
14
|
+
id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the created absence entry").optional()),
|
|
15
|
+
status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("HTTP status code of the response").optional()),
|
|
16
|
+
statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message describing the result of the operation").optional())
|
|
17
17
|
}).passthrough().describe("Response model for creating an absence in eTermin.");
|
|
18
18
|
const eterminCreateAbsence = require_action.action("ETERMIN_CREATE_ABSENCE", {
|
|
19
19
|
slug: "etermin-create-absence",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-absence.cjs","names":["z","action"],"sources":["../../src/actions/create-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAbsenceInput
|
|
1
|
+
{"version":3,"file":"create-absence.cjs","names":["z","action"],"sources":["../../src/actions/create-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAbsenceInput = z.object({\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic.\").optional(),\n reason: z.string().describe(\"Reason or note for the absence.\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence to begin (nwtype has to be 1).\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the \\\"Get Calendars\\\" action to get a list with all available calendars.\"),\n dynamicdaysduration: z.number().int().describe(\"Number of days for the dynamic absence to last (nwtype has to be 1).\").optional(),\n}).describe(\"Request model for creating an absence (non-working time) in eTermin.\");\nexport const EterminCreateAbsenceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created absence entry\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result of the operation\").optional()),\n}).passthrough().describe(\"Response model for creating an absence in eTermin.\");\n\nexport const eterminCreateAbsence = action(\"ETERMIN_CREATE_ABSENCE\", {\n slug: \"etermin-create-absence\",\n name: \"Create Absence\",\n description: \"Tool to create an absence (non-working time) for a specific calendar. Use when you need to block time on a calendar for unavailability such as vacations, sick leave, or other non-working periods.\",\n input: EterminCreateAbsenceInput,\n output: EterminCreateAbsenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACzH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;CAC3I,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CACxJ,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC9I,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;AAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-absence.d.ts
|
|
4
|
-
declare const EterminCreateAbsenceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminCreateAbsenceInput: z.ZodObject<{
|
|
5
|
+
nwtype: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7
|
+
enddate: z.ZodString;
|
|
8
|
+
startdate: z.ZodString;
|
|
9
|
+
dynamicdays: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
appcalendarid: z.ZodNumber;
|
|
11
|
+
dynamicdaysduration: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const EterminCreateAbsenceOutput: z.ZodObject<{
|
|
14
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
15
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
16
|
+
statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const eterminCreateAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
enddate: string;
|
|
20
|
+
startdate: string;
|
|
21
|
+
appcalendarid: number;
|
|
22
|
+
nwtype?: boolean | undefined;
|
|
23
|
+
reason?: string | undefined;
|
|
24
|
+
dynamicdays?: number | undefined;
|
|
25
|
+
dynamicdaysduration?: number | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
id?: number | undefined;
|
|
29
|
+
status?: number | undefined;
|
|
30
|
+
statusmsg?: string | undefined;
|
|
31
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { eterminCreateAbsence };
|
|
9
34
|
//# sourceMappingURL=create-absence.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-absence.d.cts","names":[],"sources":["../../src/actions/create-absence.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"create-absence.d.cts","names":[],"sources":["../../src/actions/create-absence.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-absence.d.ts
|
|
4
|
-
declare const EterminCreateAbsenceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminCreateAbsenceInput: z.ZodObject<{
|
|
5
|
+
nwtype: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7
|
+
enddate: z.ZodString;
|
|
8
|
+
startdate: z.ZodString;
|
|
9
|
+
dynamicdays: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
appcalendarid: z.ZodNumber;
|
|
11
|
+
dynamicdaysduration: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const EterminCreateAbsenceOutput: z.ZodObject<{
|
|
14
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
15
|
+
status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
16
|
+
statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const eterminCreateAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
enddate: string;
|
|
20
|
+
startdate: string;
|
|
21
|
+
appcalendarid: number;
|
|
22
|
+
nwtype?: boolean | undefined;
|
|
23
|
+
reason?: string | undefined;
|
|
24
|
+
dynamicdays?: number | undefined;
|
|
25
|
+
dynamicdaysduration?: number | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
id?: number | undefined;
|
|
29
|
+
status?: number | undefined;
|
|
30
|
+
statusmsg?: string | undefined;
|
|
31
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { eterminCreateAbsence };
|
|
9
34
|
//# sourceMappingURL=create-absence.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-absence.d.mts","names":[],"sources":["../../src/actions/create-absence.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"create-absence.d.mts","names":[],"sources":["../../src/actions/create-absence.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -14,9 +14,9 @@ const eterminCreateAbsence = action("ETERMIN_CREATE_ABSENCE", {
|
|
|
14
14
|
dynamicdaysduration: z.number().int().describe("Number of days for the dynamic absence to last (nwtype has to be 1).").optional()
|
|
15
15
|
}).describe("Request model for creating an absence (non-working time) in eTermin."),
|
|
16
16
|
output: z.object({
|
|
17
|
-
id: z.number().int().describe("Unique identifier of the created absence entry").
|
|
18
|
-
status: z.number().int().describe("HTTP status code of the response").
|
|
19
|
-
statusmsg: z.string().describe("Status message describing the result of the operation").
|
|
17
|
+
id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the created absence entry").optional()),
|
|
18
|
+
status: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("HTTP status code of the response").optional()),
|
|
19
|
+
statusmsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message describing the result of the operation").optional())
|
|
20
20
|
}).passthrough().describe("Response model for creating an absence in eTermin.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-absence.mjs","names":[],"sources":["../../src/actions/create-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAbsenceInput
|
|
1
|
+
{"version":3,"file":"create-absence.mjs","names":[],"sources":["../../src/actions/create-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAbsenceInput = z.object({\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic.\").optional(),\n reason: z.string().describe(\"Reason or note for the absence.\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence to begin (nwtype has to be 1).\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the \\\"Get Calendars\\\" action to get a list with all available calendars.\"),\n dynamicdaysduration: z.number().int().describe(\"Number of days for the dynamic absence to last (nwtype has to be 1).\").optional(),\n}).describe(\"Request model for creating an absence (non-working time) in eTermin.\");\nexport const EterminCreateAbsenceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created absence entry\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result of the operation\").optional()),\n}).passthrough().describe(\"Response model for creating an absence in eTermin.\");\n\nexport const eterminCreateAbsence = action(\"ETERMIN_CREATE_ABSENCE\", {\n slug: \"etermin-create-absence\",\n name: \"Create Absence\",\n description: \"Tool to create an absence (non-working time) for a specific calendar. Use when you need to block time on a calendar for unavailability such as vacations, sick leave, or other non-working periods.\",\n input: EterminCreateAbsenceInput,\n output: EterminCreateAbsenceOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACzH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;EAC3I,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,sEAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;EACxJ,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EAC9I,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;CAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const EterminCreateAnchortimeByDateInput = zod.z.object({
|
|
|
8
8
|
ignoreonceappbooked: zod.z.boolean().describe("If true, the anchortime will be ignored once an appointment is booked this day.")
|
|
9
9
|
}).describe("Request model for creating anchortimes by date.");
|
|
10
10
|
const EterminCreateAnchortimeByDateOutput = zod.z.object({
|
|
11
|
-
message: zod.z.string().describe("Response message from the API, typically 'Created successfully!' on success."),
|
|
12
|
-
success: zod.z.boolean().describe("Indicates whether the anchortime was created successfully.")
|
|
11
|
+
message: zod.z.string().describe("Response message from the API, typically 'Created successfully!' on success.").nullable(),
|
|
12
|
+
success: zod.z.boolean().describe("Indicates whether the anchortime was created successfully.").nullable()
|
|
13
13
|
}).describe("Response model for creating anchortimes by date.");
|
|
14
14
|
const eterminCreateAnchortimeByDate = require_action.action("ETERMIN_CREATE_ANCHORTIME_BY_DATE", {
|
|
15
15
|
slug: "etermin-create-anchortime-by-date",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/create-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeByDateInput
|
|
1
|
+
{"version":3,"file":"create-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/create-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeByDateInput = z.object({\n reason: z.string().describe(\"Reason why this anchortime is created. Optional explanation for this time block.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format is yyyy-MM-dd HH:mm (e.g., '2026-03-15 10:00').\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for creating anchortimes by date.\");\nexport const EterminCreateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically 'Created successfully!' on success.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).describe(\"Response model for creating anchortimes by date.\");\n\nexport const eterminCreateAnchortimeByDate = action(\"ETERMIN_CREATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-create-anchortime-by-date\",\n name: \"Create Anchortime by Date\",\n description: \"Tool to create anchortimes by date. Use when you need to block specific time slots on a calendar. Anchortimes define blocked periods for calendar scheduling where appointments cannot be booked.\",\n input: EterminCreateAnchortimeByDateInput,\n output: EterminCreateAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;CACtI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;AAC7H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-anchortime-by-date.d.ts
|
|
4
|
-
declare const EterminCreateAnchortimeByDateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminCreateAnchortimeByDateInput: z.ZodObject<{
|
|
5
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6
|
+
startdate: z.ZodString;
|
|
7
|
+
calendarid: z.ZodNumber;
|
|
8
|
+
ignoreonceappbooked: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const EterminCreateAnchortimeByDateOutput: z.ZodObject<{
|
|
11
|
+
message: z.ZodNullable<z.ZodString>;
|
|
12
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const eterminCreateAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
startdate: string;
|
|
16
|
+
calendarid: number;
|
|
17
|
+
ignoreonceappbooked: boolean;
|
|
18
|
+
reason?: string | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
message: string | null;
|
|
21
|
+
success: boolean | null;
|
|
22
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { eterminCreateAnchortimeByDate };
|
|
9
25
|
//# sourceMappingURL=create-anchortime-by-date.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-anchortime-by-date.d.cts","names":[],"sources":["../../src/actions/create-anchortime-by-date.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"create-anchortime-by-date.d.cts","names":[],"sources":["../../src/actions/create-anchortime-by-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAMlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-anchortime-by-date.d.ts
|
|
4
|
-
declare const EterminCreateAnchortimeByDateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminCreateAnchortimeByDateInput: z.ZodObject<{
|
|
5
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6
|
+
startdate: z.ZodString;
|
|
7
|
+
calendarid: z.ZodNumber;
|
|
8
|
+
ignoreonceappbooked: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const EterminCreateAnchortimeByDateOutput: z.ZodObject<{
|
|
11
|
+
message: z.ZodNullable<z.ZodString>;
|
|
12
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const eterminCreateAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
startdate: string;
|
|
16
|
+
calendarid: number;
|
|
17
|
+
ignoreonceappbooked: boolean;
|
|
18
|
+
reason?: string | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
message: string | null;
|
|
21
|
+
success: boolean | null;
|
|
22
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { eterminCreateAnchortimeByDate };
|
|
9
25
|
//# sourceMappingURL=create-anchortime-by-date.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-anchortime-by-date.d.mts","names":[],"sources":["../../src/actions/create-anchortime-by-date.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"create-anchortime-by-date.d.mts","names":[],"sources":["../../src/actions/create-anchortime-by-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAMlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -11,8 +11,8 @@ const eterminCreateAnchortimeByDate = action("ETERMIN_CREATE_ANCHORTIME_BY_DATE"
|
|
|
11
11
|
ignoreonceappbooked: z.boolean().describe("If true, the anchortime will be ignored once an appointment is booked this day.")
|
|
12
12
|
}).describe("Request model for creating anchortimes by date."),
|
|
13
13
|
output: z.object({
|
|
14
|
-
message: z.string().describe("Response message from the API, typically 'Created successfully!' on success."),
|
|
15
|
-
success: z.boolean().describe("Indicates whether the anchortime was created successfully.")
|
|
14
|
+
message: z.string().describe("Response message from the API, typically 'Created successfully!' on success.").nullable(),
|
|
15
|
+
success: z.boolean().describe("Indicates whether the anchortime was created successfully.").nullable()
|
|
16
16
|
}).describe("Response model for creating anchortimes by date.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/create-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeByDateInput
|
|
1
|
+
{"version":3,"file":"create-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/create-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeByDateInput = z.object({\n reason: z.string().describe(\"Reason why this anchortime is created. Optional explanation for this time block.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format is yyyy-MM-dd HH:mm (e.g., '2026-03-15 10:00').\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for creating anchortimes by date.\");\nexport const EterminCreateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically 'Created successfully!' on success.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).describe(\"Response model for creating anchortimes by date.\");\n\nexport const eterminCreateAnchortimeByDate = action(\"ETERMIN_CREATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-create-anchortime-by-date\",\n name: \"Create Anchortime by Date\",\n description: \"Tool to create anchortimes by date. Use when you need to block specific time slots on a calendar. Anchortimes define blocked periods for calendar scheduling where appointments cannot be booked.\",\n input: EterminCreateAnchortimeByDateInput,\n output: EterminCreateAnchortimeByDateOutput,\n});\n"],"mappings":";;AAeA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;EACtI,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC7H,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -16,8 +16,8 @@ const EterminCreateAnchortimeInput = zod.z.object({
|
|
|
16
16
|
ignoreonceappbooked: zod.z.boolean().describe("If true, the anchortime will be ignored once an appointment is booked for this day. If false, the anchortime remains active regardless of bookings.")
|
|
17
17
|
}).describe("Request parameters for creating an anchortime in eTermin.\n\nAnchortimes define recurring time slots in a calendar for appointment scheduling.");
|
|
18
18
|
const EterminCreateAnchortimeOutput = zod.z.object({
|
|
19
|
-
message: zod.z.string().describe("Status message from the API indicating the result of the operation."),
|
|
20
|
-
success: zod.z.boolean().describe("Indicates whether the anchortime was created successfully.")
|
|
19
|
+
message: zod.z.string().describe("Status message from the API indicating the result of the operation.").nullable(),
|
|
20
|
+
success: zod.z.boolean().describe("Indicates whether the anchortime was created successfully.").nullable()
|
|
21
21
|
}).describe("Response schema after creating an anchortime in eTermin.");
|
|
22
22
|
const eterminCreateAnchortime = require_action.action("ETERMIN_CREATE_ANCHORTIME", {
|
|
23
23
|
slug: "etermin-create-anchortime",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/create-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeInput
|
|
1
|
+
{"version":3,"file":"create-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/create-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeInput = z.object({\n weekday: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"Day of the week for the anchortime. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\"),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour). This defines when the recurring time slot begins.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to retrieve a list of all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked for this day. If false, the anchortime remains active regardless of bookings.\"),\n}).describe(\"Request parameters for creating an anchortime in eTermin.\\n\\nAnchortimes define recurring time slots in a calendar for appointment scheduling.\");\nexport const EterminCreateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API indicating the result of the operation.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).describe(\"Response schema after creating an anchortime in eTermin.\");\n\nexport const eterminCreateAnchortime = action(\"ETERMIN_CREATE_ANCHORTIME\", {\n slug: \"etermin-create-anchortime\",\n name: \"Create Anchortime\",\n description: \"Tool to create anchortimes (recurring time slots) in a calendar. Use when you need to define regular appointment availability.\",\n input: EterminCreateAnchortimeInput,\n output: EterminCreateAnchortimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI;CAC/P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ;AACjM,CAAC,CAAC,CAAC,SAAS,gJAAgJ;AAC5J,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-anchortime.d.ts
|
|
4
|
-
declare const EterminCreateAnchortimeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminCreateAnchortimeInput: z.ZodObject<{
|
|
5
|
+
weekday: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>]>;
|
|
6
|
+
starttime: z.ZodString;
|
|
7
|
+
calendarid: z.ZodNumber;
|
|
8
|
+
ignoreonceappbooked: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const EterminCreateAnchortimeOutput: z.ZodObject<{
|
|
11
|
+
message: z.ZodNullable<z.ZodString>;
|
|
12
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const eterminCreateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
weekday: 1 | 3 | 2 | 4 | 5 | 6 | 7;
|
|
16
|
+
starttime: string;
|
|
17
|
+
calendarid: number;
|
|
18
|
+
ignoreonceappbooked: boolean;
|
|
19
|
+
}, {
|
|
20
|
+
message: string | null;
|
|
21
|
+
success: boolean | null;
|
|
22
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { eterminCreateAnchortime };
|
|
9
25
|
//# sourceMappingURL=create-anchortime.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-anchortime.d.cts","names":[],"sources":["../../src/actions/create-anchortime.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"create-anchortime.d.cts","names":[],"sources":["../../src/actions/create-anchortime.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-anchortime.d.ts
|
|
4
|
-
declare const EterminCreateAnchortimeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const EterminCreateAnchortimeInput: z.ZodObject<{
|
|
5
|
+
weekday: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>]>;
|
|
6
|
+
starttime: z.ZodString;
|
|
7
|
+
calendarid: z.ZodNumber;
|
|
8
|
+
ignoreonceappbooked: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const EterminCreateAnchortimeOutput: z.ZodObject<{
|
|
11
|
+
message: z.ZodNullable<z.ZodString>;
|
|
12
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const eterminCreateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
weekday: 1 | 3 | 2 | 4 | 5 | 6 | 7;
|
|
16
|
+
starttime: string;
|
|
17
|
+
calendarid: number;
|
|
18
|
+
ignoreonceappbooked: boolean;
|
|
19
|
+
}, {
|
|
20
|
+
message: string | null;
|
|
21
|
+
success: boolean | null;
|
|
22
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { eterminCreateAnchortime };
|
|
9
25
|
//# sourceMappingURL=create-anchortime.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-anchortime.d.mts","names":[],"sources":["../../src/actions/create-anchortime.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"create-anchortime.d.mts","names":[],"sources":["../../src/actions/create-anchortime.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -19,8 +19,8 @@ const eterminCreateAnchortime = action("ETERMIN_CREATE_ANCHORTIME", {
|
|
|
19
19
|
ignoreonceappbooked: z.boolean().describe("If true, the anchortime will be ignored once an appointment is booked for this day. If false, the anchortime remains active regardless of bookings.")
|
|
20
20
|
}).describe("Request parameters for creating an anchortime in eTermin.\n\nAnchortimes define recurring time slots in a calendar for appointment scheduling."),
|
|
21
21
|
output: z.object({
|
|
22
|
-
message: z.string().describe("Status message from the API indicating the result of the operation."),
|
|
23
|
-
success: z.boolean().describe("Indicates whether the anchortime was created successfully.")
|
|
22
|
+
message: z.string().describe("Status message from the API indicating the result of the operation.").nullable(),
|
|
23
|
+
success: z.boolean().describe("Indicates whether the anchortime was created successfully.").nullable()
|
|
24
24
|
}).describe("Response schema after creating an anchortime in eTermin.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-anchortime.mjs","names":[],"sources":["../../src/actions/create-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeInput
|
|
1
|
+
{"version":3,"file":"create-anchortime.mjs","names":[],"sources":["../../src/actions/create-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeInput = z.object({\n weekday: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"Day of the week for the anchortime. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\"),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour). This defines when the recurring time slot begins.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to retrieve a list of all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked for this day. If false, the anchortime remains active regardless of bookings.\"),\n}).describe(\"Request parameters for creating an anchortime in eTermin.\\n\\nAnchortimes define recurring time slots in a calendar for appointment scheduling.\");\nexport const EterminCreateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API indicating the result of the operation.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).describe(\"Response schema after creating an anchortime in eTermin.\");\n\nexport const eterminCreateAnchortime = action(\"ETERMIN_CREATE_ANCHORTIME\", {\n slug: \"etermin-create-anchortime\",\n name: \"Create Anchortime\",\n description: \"Tool to create anchortimes (recurring time slots) in a calendar. Use when you need to define regular appointment availability.\",\n input: EterminCreateAnchortimeInput,\n output: EterminCreateAnchortimeOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO;EACnD,SAAS,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI;EAC/P,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;EACzI,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ;CACjM,CAAC,CAAC,CAAC,SAAS,gJAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -18,9 +18,9 @@ const EterminCreateAppointmentSyncInput = zod.z.object({
|
|
|
18
18
|
recurrenceparentid: zod.z.string().describe("ID of the parent recurring appointment if this is part of a recurring series").optional()
|
|
19
19
|
}).describe("Request model for creating an appointment via sync in eTermin.\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00).");
|
|
20
20
|
const EterminCreateAppointmentSyncOutput = zod.z.object({
|
|
21
|
-
message: zod.z.string().describe("Status message describing the result of the operation"),
|
|
22
|
-
success: zod.z.boolean().describe("Indicates whether the appointment was successfully created"),
|
|
23
|
-
appointment_id: zod.z.string().describe("The ID of the created appointment, if available").
|
|
21
|
+
message: zod.z.string().describe("Status message describing the result of the operation").nullable(),
|
|
22
|
+
success: zod.z.boolean().describe("Indicates whether the appointment was successfully created").nullable(),
|
|
23
|
+
appointment_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The ID of the created appointment, if available").optional())
|
|
24
24
|
}).describe("Response model for creating an appointment via sync in eTermin.");
|
|
25
25
|
const eterminCreateAppointmentSync = require_action.action("ETERMIN_CREATE_APPOINTMENT_SYNC", {
|
|
26
26
|
slug: "etermin-create-appointment-sync",
|