@keystrokehq/etermin 0.1.2 → 0.1.4
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/actions/assign-calendar-service.cjs +1 -1
- package/dist/actions/assign-calendar-service.cjs.map +1 -1
- package/dist/actions/assign-calendar-service.d.cts +1 -1
- package/dist/actions/assign-calendar-service.d.mts +1 -1
- package/dist/actions/assign-calendar-service.mjs +1 -1
- package/dist/actions/assign-calendar-service.mjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.cjs +1 -1
- package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.cts +1 -1
- package/dist/actions/create-anchortime-by-date.d.mts +1 -1
- package/dist/actions/create-anchortime-by-date.mjs +1 -1
- package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/create-anchortime.cjs +1 -1
- package/dist/actions/create-anchortime.cjs.map +1 -1
- package/dist/actions/create-anchortime.d.cts +2 -2
- package/dist/actions/create-anchortime.d.mts +2 -2
- package/dist/actions/create-anchortime.mjs +1 -1
- package/dist/actions/create-anchortime.mjs.map +1 -1
- package/dist/actions/create-appointment-sync.cjs +1 -1
- package/dist/actions/create-appointment-sync.cjs.map +1 -1
- package/dist/actions/create-appointment-sync.d.cts +1 -1
- package/dist/actions/create-appointment-sync.d.mts +1 -1
- package/dist/actions/create-appointment-sync.mjs +1 -1
- package/dist/actions/create-appointment-sync.mjs.map +1 -1
- package/dist/actions/create-appointment.cjs +1 -1
- package/dist/actions/create-appointment.cjs.map +1 -1
- package/dist/actions/create-appointment.d.cts +1 -1
- package/dist/actions/create-appointment.d.mts +1 -1
- package/dist/actions/create-appointment.mjs +1 -1
- package/dist/actions/create-appointment.mjs.map +1 -1
- package/dist/actions/create-calendar-return-time.cjs +1 -1
- package/dist/actions/create-calendar-return-time.cjs.map +1 -1
- package/dist/actions/create-calendar-return-time.d.cts +2 -2
- package/dist/actions/create-calendar-return-time.d.mts +2 -2
- package/dist/actions/create-calendar-return-time.mjs +1 -1
- package/dist/actions/create-calendar-return-time.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -1
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +1 -1
- package/dist/actions/create-contact.d.mts +1 -1
- package/dist/actions/create-contact.mjs +1 -1
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +1 -1
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +1 -1
- package/dist/actions/create-service-group.d.mts +1 -1
- package/dist/actions/create-service-group.mjs +1 -1
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-service.cjs +1 -1
- package/dist/actions/create-service.cjs.map +1 -1
- package/dist/actions/create-service.d.cts +1 -1
- package/dist/actions/create-service.d.mts +1 -1
- package/dist/actions/create-service.mjs +1 -1
- package/dist/actions/create-service.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -1
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +1 -1
- package/dist/actions/create-user.d.mts +1 -1
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/create-usermapping.cjs +1 -1
- package/dist/actions/create-usermapping.cjs.map +1 -1
- package/dist/actions/create-usermapping.d.cts +1 -1
- package/dist/actions/create-usermapping.d.mts +1 -1
- package/dist/actions/create-usermapping.mjs +1 -1
- package/dist/actions/create-usermapping.mjs.map +1 -1
- package/dist/actions/create-voucher.cjs +1 -1
- package/dist/actions/create-voucher.cjs.map +1 -1
- package/dist/actions/create-voucher.d.cts +1 -1
- package/dist/actions/create-voucher.d.mts +1 -1
- package/dist/actions/create-voucher.mjs +1 -1
- package/dist/actions/create-voucher.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +2 -2
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +2 -2
- package/dist/actions/create-webhook.d.mts +2 -2
- package/dist/actions/create-webhook.mjs +2 -2
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/create-working-time.cjs +1 -1
- package/dist/actions/create-working-time.cjs.map +1 -1
- package/dist/actions/create-working-time.d.cts +1 -1
- package/dist/actions/create-working-time.d.mts +1 -1
- package/dist/actions/create-working-time.mjs +1 -1
- package/dist/actions/create-working-time.mjs.map +1 -1
- package/dist/actions/create-working-times-date.cjs +1 -1
- package/dist/actions/create-working-times-date.cjs.map +1 -1
- package/dist/actions/create-working-times-date.d.cts +1 -1
- package/dist/actions/create-working-times-date.d.mts +1 -1
- package/dist/actions/create-working-times-date.mjs +1 -1
- package/dist/actions/create-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-absence.cjs +1 -1
- package/dist/actions/delete-absence.cjs.map +1 -1
- package/dist/actions/delete-absence.d.cts +1 -1
- package/dist/actions/delete-absence.d.mts +1 -1
- package/dist/actions/delete-absence.mjs +1 -1
- package/dist/actions/delete-absence.mjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.cjs +2 -2
- package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.cts +2 -2
- package/dist/actions/delete-anchortime-by-date.d.mts +2 -2
- package/dist/actions/delete-anchortime-by-date.mjs +2 -2
- package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/delete-anchortime.cjs +1 -1
- package/dist/actions/delete-anchortime.cjs.map +1 -1
- package/dist/actions/delete-anchortime.d.cts +1 -1
- package/dist/actions/delete-anchortime.d.mts +1 -1
- package/dist/actions/delete-anchortime.mjs +1 -1
- package/dist/actions/delete-anchortime.mjs.map +1 -1
- package/dist/actions/delete-appointment-sync.cjs +1 -1
- package/dist/actions/delete-appointment-sync.cjs.map +1 -1
- package/dist/actions/delete-appointment-sync.d.cts +1 -1
- package/dist/actions/delete-appointment-sync.d.mts +1 -1
- package/dist/actions/delete-appointment-sync.mjs +1 -1
- package/dist/actions/delete-appointment-sync.mjs.map +1 -1
- package/dist/actions/delete-appointment.cjs +1 -1
- package/dist/actions/delete-appointment.cjs.map +1 -1
- package/dist/actions/delete-appointment.d.cts +1 -1
- package/dist/actions/delete-appointment.d.mts +1 -1
- package/dist/actions/delete-appointment.mjs +1 -1
- package/dist/actions/delete-appointment.mjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.cjs +1 -1
- package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.d.cts +1 -1
- package/dist/actions/delete-calendar-return-time.d.mts +1 -1
- package/dist/actions/delete-calendar-return-time.mjs +1 -1
- package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
- package/dist/actions/delete-calendar-service.cjs +1 -1
- package/dist/actions/delete-calendar-service.cjs.map +1 -1
- package/dist/actions/delete-calendar-service.d.cts +1 -1
- package/dist/actions/delete-calendar-service.d.mts +1 -1
- package/dist/actions/delete-calendar-service.mjs +1 -1
- package/dist/actions/delete-calendar-service.mjs.map +1 -1
- package/dist/actions/delete-calendar.cjs +1 -1
- package/dist/actions/delete-calendar.cjs.map +1 -1
- package/dist/actions/delete-calendar.d.cts +1 -1
- package/dist/actions/delete-calendar.d.mts +1 -1
- package/dist/actions/delete-calendar.mjs +1 -1
- package/dist/actions/delete-calendar.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-resource.cjs +1 -1
- package/dist/actions/delete-resource.cjs.map +1 -1
- package/dist/actions/delete-resource.d.cts +1 -1
- package/dist/actions/delete-resource.d.mts +1 -1
- package/dist/actions/delete-resource.mjs +1 -1
- package/dist/actions/delete-resource.mjs.map +1 -1
- package/dist/actions/delete-service.cjs +1 -1
- package/dist/actions/delete-service.cjs.map +1 -1
- package/dist/actions/delete-service.d.cts +1 -1
- package/dist/actions/delete-service.d.mts +1 -1
- package/dist/actions/delete-service.mjs +1 -1
- package/dist/actions/delete-service.mjs.map +1 -1
- package/dist/actions/delete-servicegroup.cjs +1 -1
- package/dist/actions/delete-servicegroup.cjs.map +1 -1
- package/dist/actions/delete-servicegroup.d.cts +1 -1
- package/dist/actions/delete-servicegroup.d.mts +1 -1
- package/dist/actions/delete-servicegroup.mjs +1 -1
- package/dist/actions/delete-servicegroup.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +1 -1
- package/dist/actions/delete-user.d.mts +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/delete-usermapping.cjs +1 -1
- package/dist/actions/delete-usermapping.cjs.map +1 -1
- package/dist/actions/delete-usermapping.d.cts +1 -1
- package/dist/actions/delete-usermapping.d.mts +1 -1
- package/dist/actions/delete-usermapping.mjs +1 -1
- package/dist/actions/delete-usermapping.mjs.map +1 -1
- package/dist/actions/delete-voucher.cjs +1 -1
- package/dist/actions/delete-voucher.cjs.map +1 -1
- package/dist/actions/delete-voucher.d.cts +1 -1
- package/dist/actions/delete-voucher.d.mts +1 -1
- package/dist/actions/delete-voucher.mjs +1 -1
- package/dist/actions/delete-voucher.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/delete-working-times-date.cjs +1 -1
- package/dist/actions/delete-working-times-date.cjs.map +1 -1
- package/dist/actions/delete-working-times-date.d.cts +1 -1
- package/dist/actions/delete-working-times-date.d.mts +1 -1
- package/dist/actions/delete-working-times-date.mjs +1 -1
- package/dist/actions/delete-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-working-times.cjs +1 -1
- package/dist/actions/delete-working-times.cjs.map +1 -1
- package/dist/actions/delete-working-times.d.cts +1 -1
- package/dist/actions/delete-working-times.d.mts +1 -1
- package/dist/actions/delete-working-times.mjs +1 -1
- package/dist/actions/delete-working-times.mjs.map +1 -1
- package/dist/actions/get-absences.cjs +1 -1
- package/dist/actions/get-absences.cjs.map +1 -1
- package/dist/actions/get-absences.d.cts +1 -1
- package/dist/actions/get-absences.d.mts +1 -1
- package/dist/actions/get-absences.mjs +1 -1
- package/dist/actions/get-absences.mjs.map +1 -1
- package/dist/actions/get-anchortime-date.cjs +1 -1
- package/dist/actions/get-anchortime-date.cjs.map +1 -1
- package/dist/actions/get-anchortime-date.d.cts +1 -1
- package/dist/actions/get-anchortime-date.d.mts +1 -1
- package/dist/actions/get-anchortime-date.mjs +1 -1
- package/dist/actions/get-anchortime-date.mjs.map +1 -1
- package/dist/actions/get-anchortimes.cjs +1 -1
- package/dist/actions/get-anchortimes.cjs.map +1 -1
- package/dist/actions/get-anchortimes.d.cts +1 -1
- package/dist/actions/get-anchortimes.d.mts +1 -1
- package/dist/actions/get-anchortimes.mjs +1 -1
- package/dist/actions/get-anchortimes.mjs.map +1 -1
- package/dist/actions/get-appointment-sync.cjs +1 -1
- package/dist/actions/get-appointment-sync.cjs.map +1 -1
- package/dist/actions/get-appointment-sync.d.cts +1 -1
- package/dist/actions/get-appointment-sync.d.mts +1 -1
- package/dist/actions/get-appointment-sync.mjs +1 -1
- package/dist/actions/get-appointment-sync.mjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.cjs +2 -2
- package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.cts +2 -2
- package/dist/actions/get-bookingpage-logs.d.mts +2 -2
- package/dist/actions/get-bookingpage-logs.mjs +2 -2
- package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
- package/dist/actions/get-calendar-return-time.cjs +1 -1
- package/dist/actions/get-calendar-return-time.cjs.map +1 -1
- package/dist/actions/get-calendar-return-time.d.cts +1 -1
- package/dist/actions/get-calendar-return-time.d.mts +1 -1
- package/dist/actions/get-calendar-return-time.mjs +1 -1
- package/dist/actions/get-calendar-return-time.mjs.map +1 -1
- package/dist/actions/get-calendars.cjs +1 -1
- package/dist/actions/get-calendars.cjs.map +1 -1
- package/dist/actions/get-calendars.d.cts +1 -1
- package/dist/actions/get-calendars.d.mts +1 -1
- package/dist/actions/get-calendars.mjs +1 -1
- package/dist/actions/get-calendars.mjs.map +1 -1
- package/dist/actions/get-calendarservice.cjs +1 -1
- package/dist/actions/get-calendarservice.cjs.map +1 -1
- package/dist/actions/get-calendarservice.d.cts +1 -1
- package/dist/actions/get-calendarservice.d.mts +1 -1
- package/dist/actions/get-calendarservice.mjs +1 -1
- package/dist/actions/get-calendarservice.mjs.map +1 -1
- package/dist/actions/get-company.cjs +1 -1
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +1 -1
- package/dist/actions/get-company.d.mts +1 -1
- package/dist/actions/get-company.mjs +1 -1
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +2 -2
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +2 -2
- package/dist/actions/get-contact-by-id.d.mts +2 -2
- package/dist/actions/get-contact-by-id.mjs +2 -2
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +2 -2
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +2 -2
- package/dist/actions/get-contacts.d.mts +2 -2
- package/dist/actions/get-contacts.mjs +2 -2
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-deleted-appointments.cjs +1 -1
- package/dist/actions/get-deleted-appointments.cjs.map +1 -1
- package/dist/actions/get-deleted-appointments.d.cts +1 -1
- package/dist/actions/get-deleted-appointments.d.mts +1 -1
- package/dist/actions/get-deleted-appointments.mjs +1 -1
- package/dist/actions/get-deleted-appointments.mjs.map +1 -1
- package/dist/actions/get-message-logs.cjs +2 -2
- package/dist/actions/get-message-logs.cjs.map +1 -1
- package/dist/actions/get-message-logs.d.cts +2 -2
- package/dist/actions/get-message-logs.d.mts +2 -2
- package/dist/actions/get-message-logs.mjs +2 -2
- package/dist/actions/get-message-logs.mjs.map +1 -1
- package/dist/actions/get-rating.cjs +1 -1
- package/dist/actions/get-rating.cjs.map +1 -1
- package/dist/actions/get-rating.d.cts +1 -1
- package/dist/actions/get-rating.d.mts +1 -1
- package/dist/actions/get-rating.mjs +1 -1
- package/dist/actions/get-rating.mjs.map +1 -1
- package/dist/actions/get-service-by-id.cjs +1 -1
- package/dist/actions/get-service-by-id.cjs.map +1 -1
- package/dist/actions/get-service-by-id.d.cts +1 -1
- package/dist/actions/get-service-by-id.d.mts +1 -1
- package/dist/actions/get-service-by-id.mjs +1 -1
- 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 +1 -1
- package/dist/actions/get-service-calendar.d.mts +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 +1 -1
- package/dist/actions/get-servicegroup.cjs.map +1 -1
- package/dist/actions/get-servicegroup.d.cts +1 -1
- package/dist/actions/get-servicegroup.d.mts +1 -1
- package/dist/actions/get-servicegroup.mjs +1 -1
- package/dist/actions/get-servicegroup.mjs.map +1 -1
- package/dist/actions/get-services.cjs +1 -1
- package/dist/actions/get-services.cjs.map +1 -1
- package/dist/actions/get-services.d.cts +1 -1
- package/dist/actions/get-services.d.mts +1 -1
- package/dist/actions/get-services.mjs +1 -1
- package/dist/actions/get-services.mjs.map +1 -1
- package/dist/actions/get-survey-results.cjs +2 -2
- package/dist/actions/get-survey-results.cjs.map +1 -1
- package/dist/actions/get-survey-results.d.cts +2 -2
- package/dist/actions/get-survey-results.d.mts +2 -2
- package/dist/actions/get-survey-results.mjs +2 -2
- package/dist/actions/get-survey-results.mjs.map +1 -1
- package/dist/actions/get-timeslots.cjs +1 -1
- package/dist/actions/get-timeslots.cjs.map +1 -1
- package/dist/actions/get-timeslots.d.cts +1 -1
- package/dist/actions/get-timeslots.d.mts +1 -1
- package/dist/actions/get-timeslots.mjs +1 -1
- package/dist/actions/get-timeslots.mjs.map +1 -1
- package/dist/actions/get-usermapping.cjs +1 -1
- package/dist/actions/get-usermapping.cjs.map +1 -1
- package/dist/actions/get-usermapping.d.cts +1 -1
- package/dist/actions/get-usermapping.d.mts +1 -1
- package/dist/actions/get-usermapping.mjs +1 -1
- package/dist/actions/get-usermapping.mjs.map +1 -1
- package/dist/actions/get-users.cjs +2 -2
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +2 -2
- package/dist/actions/get-users.d.mts +2 -2
- package/dist/actions/get-users.mjs +2 -2
- package/dist/actions/get-users.mjs.map +1 -1
- package/dist/actions/get-working-times-date.cjs +1 -1
- package/dist/actions/get-working-times-date.cjs.map +1 -1
- package/dist/actions/get-working-times-date.d.cts +1 -1
- package/dist/actions/get-working-times-date.d.mts +1 -1
- package/dist/actions/get-working-times-date.mjs +1 -1
- package/dist/actions/get-working-times-date.mjs.map +1 -1
- package/dist/actions/get-working-times.cjs +1 -1
- package/dist/actions/get-working-times.cjs.map +1 -1
- package/dist/actions/get-working-times.d.cts +1 -1
- package/dist/actions/get-working-times.d.mts +1 -1
- package/dist/actions/get-working-times.mjs +1 -1
- package/dist/actions/get-working-times.mjs.map +1 -1
- package/dist/actions/list-appointments.cjs +1 -1
- package/dist/actions/list-appointments.cjs.map +1 -1
- package/dist/actions/list-appointments.d.cts +1 -1
- package/dist/actions/list-appointments.d.mts +1 -1
- package/dist/actions/list-appointments.mjs +1 -1
- package/dist/actions/list-appointments.mjs.map +1 -1
- package/dist/actions/list-vouchers.cjs +2 -2
- package/dist/actions/list-vouchers.cjs.map +1 -1
- package/dist/actions/list-vouchers.d.cts +2 -2
- package/dist/actions/list-vouchers.d.mts +2 -2
- package/dist/actions/list-vouchers.mjs +2 -2
- package/dist/actions/list-vouchers.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -1
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +1 -1
- package/dist/actions/list-webhooks.d.mts +1 -1
- package/dist/actions/list-webhooks.mjs +1 -1
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/put-service.cjs +1 -1
- package/dist/actions/put-service.cjs.map +1 -1
- package/dist/actions/put-service.d.cts +1 -1
- package/dist/actions/put-service.d.mts +1 -1
- package/dist/actions/put-service.mjs +1 -1
- package/dist/actions/put-service.mjs.map +1 -1
- package/dist/actions/update-absence.cjs +1 -1
- package/dist/actions/update-absence.cjs.map +1 -1
- package/dist/actions/update-absence.d.cts +1 -1
- package/dist/actions/update-absence.d.mts +1 -1
- package/dist/actions/update-absence.mjs +1 -1
- package/dist/actions/update-absence.mjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.cjs +1 -1
- package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.d.cts +1 -1
- package/dist/actions/update-anchortime-by-date.d.mts +1 -1
- package/dist/actions/update-anchortime-by-date.mjs +1 -1
- package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/update-anchortime.cjs +1 -1
- package/dist/actions/update-anchortime.cjs.map +1 -1
- package/dist/actions/update-anchortime.d.cts +1 -1
- package/dist/actions/update-anchortime.d.mts +1 -1
- package/dist/actions/update-anchortime.mjs +1 -1
- package/dist/actions/update-anchortime.mjs.map +1 -1
- package/dist/actions/update-appointment.cjs +1 -1
- package/dist/actions/update-appointment.cjs.map +1 -1
- package/dist/actions/update-appointment.d.cts +1 -1
- package/dist/actions/update-appointment.d.mts +1 -1
- package/dist/actions/update-appointment.mjs +1 -1
- package/dist/actions/update-appointment.mjs.map +1 -1
- package/dist/actions/update-calendar-return-time.cjs +1 -1
- package/dist/actions/update-calendar-return-time.cjs.map +1 -1
- package/dist/actions/update-calendar-return-time.d.cts +1 -1
- package/dist/actions/update-calendar-return-time.d.mts +1 -1
- package/dist/actions/update-calendar-return-time.mjs +1 -1
- package/dist/actions/update-calendar-return-time.mjs.map +1 -1
- package/dist/actions/update-calendar.cjs +1 -1
- package/dist/actions/update-calendar.cjs.map +1 -1
- package/dist/actions/update-calendar.d.cts +1 -1
- package/dist/actions/update-calendar.d.mts +1 -1
- package/dist/actions/update-calendar.mjs +1 -1
- package/dist/actions/update-calendar.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +1 -1
- package/dist/actions/update-contact.d.mts +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-resource.cjs +1 -1
- package/dist/actions/update-resource.cjs.map +1 -1
- package/dist/actions/update-resource.d.cts +1 -1
- package/dist/actions/update-resource.d.mts +1 -1
- package/dist/actions/update-resource.mjs +1 -1
- package/dist/actions/update-resource.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +1 -1
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +1 -1
- package/dist/actions/update-service-group.d.mts +1 -1
- package/dist/actions/update-service-group.mjs +1 -1
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-service.cjs +1 -1
- package/dist/actions/update-service.cjs.map +1 -1
- package/dist/actions/update-service.d.cts +1 -1
- package/dist/actions/update-service.d.mts +1 -1
- package/dist/actions/update-service.mjs +1 -1
- package/dist/actions/update-service.mjs.map +1 -1
- package/dist/actions/update-sync-appointment.cjs +1 -1
- package/dist/actions/update-sync-appointment.cjs.map +1 -1
- package/dist/actions/update-sync-appointment.d.cts +1 -1
- package/dist/actions/update-sync-appointment.d.mts +1 -1
- package/dist/actions/update-sync-appointment.mjs +1 -1
- package/dist/actions/update-sync-appointment.mjs.map +1 -1
- package/dist/actions/update-usermapping.cjs +1 -1
- package/dist/actions/update-usermapping.cjs.map +1 -1
- package/dist/actions/update-usermapping.d.cts +1 -1
- package/dist/actions/update-usermapping.d.mts +1 -1
- package/dist/actions/update-usermapping.mjs +1 -1
- package/dist/actions/update-usermapping.mjs.map +1 -1
- package/dist/actions/update-voucher.cjs +2 -2
- package/dist/actions/update-voucher.cjs.map +1 -1
- package/dist/actions/update-voucher.d.cts +3 -3
- package/dist/actions/update-voucher.d.mts +3 -3
- package/dist/actions/update-voucher.mjs +2 -2
- 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 +4 -4
- package/dist/actions/update-webhook.d.mts +4 -4
- 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 +1 -1
- package/dist/actions/update-working-times-date.cjs.map +1 -1
- package/dist/actions/update-working-times-date.d.cts +1 -1
- package/dist/actions/update-working-times-date.d.mts +1 -1
- package/dist/actions/update-working-times-date.mjs +1 -1
- package/dist/actions/update-working-times-date.mjs.map +1 -1
- package/dist/actions/update-working-times.cjs +1 -1
- package/dist/actions/update-working-times.cjs.map +1 -1
- package/dist/actions/update-working-times.d.cts +1 -1
- package/dist/actions/update-working-times.d.mts +1 -1
- package/dist/actions/update-working-times.mjs +1 -1
- package/dist/actions/update-working-times.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ declare const EterminCreateUsermappingOutput: z.ZodObject<{
|
|
|
22
22
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const eterminCreateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
calendarid: number;
|
|
28
28
|
servicegroupid: number;
|
|
@@ -25,7 +25,7 @@ const eterminCreateUsermapping = action("ETERMIN_CREATE_USERMAPPING", {
|
|
|
25
25
|
id: z.number().int().describe("Unique identifier of the created usermapping").nullable().optional(),
|
|
26
26
|
status: z.number().int().describe("HTTP status code of the operation").nullable().optional(),
|
|
27
27
|
statusmsg: z.string().describe("Status message describing the result").nullable().optional()
|
|
28
|
-
}).describe("Response model for a newly created usermapping in eTermin.")
|
|
28
|
+
}).passthrough().describe("Response model for a newly created usermapping in eTermin.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { eterminCreateUsermapping };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-usermapping.mjs","names":[],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created usermapping\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).describe(\"Response model for a newly created usermapping in eTermin.\");\n\nexport const eterminCreateUsermapping = action(\"ETERMIN_CREATE_USERMAPPING\", {\n slug: \"etermin-create-usermapping\",\n name: \"Create Usermapping\",\n description: \"Tool to create a new usermapping in eTermin. Use when you need to map phone numbers or other values to specific calendars and service groups.\",\n input: EterminCreateUsermappingInput,\n output: EterminCreateUsermappingOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EAClM,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,KAAK;GAAC;GAAU;GAAW;GAAmB;GAAqB;GAAc;GAAe;GAAoB;EAAoB,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sKAAsK;EAC5M,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mLAAmL;CAC/N,CAAC,CAAC,CAAC,SAAS,0DAWH;CACP,QAX4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-usermapping.mjs","names":[],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created usermapping\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created usermapping in eTermin.\");\n\nexport const eterminCreateUsermapping = action(\"ETERMIN_CREATE_USERMAPPING\", {\n slug: \"etermin-create-usermapping\",\n name: \"Create Usermapping\",\n description: \"Tool to create a new usermapping in eTermin. Use when you need to map phone numbers or other values to specific calendars and service groups.\",\n input: EterminCreateUsermappingInput,\n output: EterminCreateUsermappingOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EAClM,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,KAAK;GAAC;GAAU;GAAW;GAAmB;GAAqB;GAAc;GAAe;GAAoB;EAAoB,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sKAAsK;EAC5M,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mLAAmL;CAC/N,CAAC,CAAC,CAAC,SAAS,0DAWH;CACP,QAX4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const EterminCreateVoucherOutput = zod.z.object({
|
|
|
17
17
|
discount: zod.z.number().describe("The discount value that was set.").nullable(),
|
|
18
18
|
valid_to: zod.z.string().describe("End date of voucher validity (YYYY-MM-DD).").nullable(),
|
|
19
19
|
valid_from: zod.z.string().describe("Start date of voucher validity (YYYY-MM-DD).").nullable()
|
|
20
|
-
}).describe("Response model for a newly created voucher in eTermin.");
|
|
20
|
+
}).passthrough().describe("Response model for a newly created voucher in eTermin.");
|
|
21
21
|
const eterminCreateVoucher = require_action.action("ETERMIN_CREATE_VOUCHER", {
|
|
22
22
|
slug: "etermin-create-voucher",
|
|
23
23
|
name: "Create Voucher",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.cjs","names":["z","action"],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).describe(\"Response model for a newly created voucher in eTermin.\");\n\nexport const eterminCreateVoucher = action(\"ETERMIN_CREATE_VOUCHER\", {\n slug: \"etermin-create-voucher\",\n name: \"Create Voucher\",\n description: \"Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.\",\n input: EterminCreateVoucherInput,\n output: EterminCreateVoucherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACpH,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACvN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACxG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"create-voucher.cjs","names":["z","action"],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).passthrough().describe(\"Response model for a newly created voucher in eTermin.\");\n\nexport const eterminCreateVoucher = action(\"ETERMIN_CREATE_VOUCHER\", {\n slug: \"etermin-create-voucher\",\n name: \"Create Voucher\",\n description: \"Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.\",\n input: EterminCreateVoucherInput,\n output: EterminCreateVoucherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACpH,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACvN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACxG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const EterminCreateVoucherOutput: z.ZodObject<{
|
|
|
20
20
|
discount: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
valid_to: z.ZodNullable<z.ZodString>;
|
|
22
22
|
valid_from: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const eterminCreateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
code: string;
|
|
26
26
|
type: "percent" | "absolute";
|
|
@@ -20,7 +20,7 @@ declare const EterminCreateVoucherOutput: z.ZodObject<{
|
|
|
20
20
|
discount: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
valid_to: z.ZodNullable<z.ZodString>;
|
|
22
22
|
valid_from: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const eterminCreateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
code: string;
|
|
26
26
|
type: "percent" | "absolute";
|
|
@@ -20,7 +20,7 @@ const eterminCreateVoucher = action("ETERMIN_CREATE_VOUCHER", {
|
|
|
20
20
|
discount: z.number().describe("The discount value that was set.").nullable(),
|
|
21
21
|
valid_to: z.string().describe("End date of voucher validity (YYYY-MM-DD).").nullable(),
|
|
22
22
|
valid_from: z.string().describe("Start date of voucher validity (YYYY-MM-DD).").nullable()
|
|
23
|
-
}).describe("Response model for a newly created voucher in eTermin.")
|
|
23
|
+
}).passthrough().describe("Response model for a newly created voucher in eTermin.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { eterminCreateVoucher };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.mjs","names":[],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).describe(\"Response model for a newly created voucher in eTermin.\");\n\nexport const eterminCreateVoucher = action(\"ETERMIN_CREATE_VOUCHER\", {\n slug: \"etermin-create-voucher\",\n name: \"Create Voucher\",\n description: \"Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.\",\n input: EterminCreateVoucherInput,\n output: EterminCreateVoucherOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACpH,MAAM,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G;EAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;EACvN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,sDAgBH;CACP,QAhBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-voucher.mjs","names":[],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).passthrough().describe(\"Response model for a newly created voucher in eTermin.\");\n\nexport const eterminCreateVoucher = action(\"ETERMIN_CREATE_VOUCHER\", {\n slug: \"etermin-create-voucher\",\n name: \"Create Voucher\",\n description: \"Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.\",\n input: EterminCreateVoucherInput,\n output: EterminCreateVoucherOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACpH,MAAM,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G;EAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;EACvN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,sDAgBH;CACP,QAhBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -14,8 +14,8 @@ const EterminCreateWebhookOutput = zod.z.object({
|
|
|
14
14
|
message: zod.z.string().describe("Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.").nullable(),
|
|
15
15
|
success: zod.z.boolean().describe("Whether the webhook was successfully created via API.").nullable(),
|
|
16
16
|
lastError: zod.z.string().describe("Details of the last error encountered when trying API endpoints.").nullable().optional(),
|
|
17
|
-
webhookData: zod.z.
|
|
18
|
-
}).describe("Response model for creating a webhook in eTermin.\n\nContains the API response when successful, or a graceful message when\nwebhook creation via API is not supported for the current tenant.");
|
|
17
|
+
webhookData: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Webhook configuration data returned by the API if creation was successful.").nullable().optional()
|
|
18
|
+
}).passthrough().describe("Response model for creating a webhook in eTermin.\n\nContains the API response when successful, or a graceful message when\nwebhook creation via API is not supported for the current tenant.");
|
|
19
19
|
const eterminCreateWebhook = require_action.action("ETERMIN_CREATE_WEBHOOK", {
|
|
20
20
|
slug: "etermin-create-webhook",
|
|
21
21
|
name: "Create Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.record(z.string(), z.unknown()).describe(\"Webhook configuration data returned by the API if creation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;CAC9M,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACjL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACvL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,SAAS,6UAA6U;AACzV,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACvL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+LAA+L;AAEzN,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,8 +14,8 @@ declare const EterminCreateWebhookOutput: z.ZodObject<{
|
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
webhookData: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
-
}, z.core.$
|
|
17
|
+
webhookData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const eterminCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
url: string;
|
|
21
21
|
active?: boolean | undefined;
|
|
@@ -14,8 +14,8 @@ declare const EterminCreateWebhookOutput: z.ZodObject<{
|
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
webhookData: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
-
}, z.core.$
|
|
17
|
+
webhookData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const eterminCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
url: string;
|
|
21
21
|
active?: boolean | undefined;
|
|
@@ -17,8 +17,8 @@ const eterminCreateWebhook = action("ETERMIN_CREATE_WEBHOOK", {
|
|
|
17
17
|
message: z.string().describe("Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.").nullable(),
|
|
18
18
|
success: z.boolean().describe("Whether the webhook was successfully created via API.").nullable(),
|
|
19
19
|
lastError: z.string().describe("Details of the last error encountered when trying API endpoints.").nullable().optional(),
|
|
20
|
-
webhookData: z.
|
|
21
|
-
}).describe("Response model for creating a webhook in eTermin.\n\nContains the API response when successful, or a graceful message when\nwebhook creation via API is not supported for the current tenant.")
|
|
20
|
+
webhookData: z.record(z.string(), z.unknown()).describe("Webhook configuration data returned by the API if creation was successful.").nullable().optional()
|
|
21
|
+
}).passthrough().describe("Response model for creating a webhook in eTermin.\n\nContains the API response when successful, or a graceful message when\nwebhook creation via API is not supported for the current tenant.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { eterminCreateWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.record(z.string(), z.unknown()).describe(\"Webhook configuration data returned by the API if creation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;EAC9M,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACjL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;EACvL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACtK,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,SAAS,6UAYH;CACP,QAZwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACvL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+LAOhB;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const EterminCreateWorkingTimeInput = zod.z.object({
|
|
|
18
18
|
const EterminCreateWorkingTimeOutput = zod.z.object({
|
|
19
19
|
status: zod.z.number().int().describe("HTTP status code of the response").nullable(),
|
|
20
20
|
statusmsg: zod.z.string().describe("Status message describing the result of the operation").nullable()
|
|
21
|
-
}).describe("Response model for creating a working time slot in eTermin.");
|
|
21
|
+
}).passthrough().describe("Response model for creating a working time slot in eTermin.");
|
|
22
22
|
const eterminCreateWorkingTime = require_action.action("ETERMIN_CREATE_WORKING_TIME", {
|
|
23
23
|
slug: "etermin-create-working-time",
|
|
24
24
|
name: "Create Working Time",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-time.cjs","names":["z","action"],"sources":["../../src/actions/create-working-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimeInput = z.object({\n end: z.string().describe(\"End time of the working time slot in HH:MM format (e.g., '17:00')\"),\n start: z.string().describe(\"Start time of the working time slot in HH:MM format (e.g., '09:00')\"),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not be considered yet. Omit or set to 1 to enable immediately\").optional(),\n nrapps: z.number().int().describe(\"Number of appointments bookable in this working slot. Use -1 for unlimited appointments\").optional(),\n weekday: z.string().describe(\"Weekday ID(s) for this working time slot. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday. Multiple weekdays can be specified separated by commas (e.g., '2,3,5' for Monday, Tuesday, Thursday)\"),\n slottype: z.number().int().describe(\"Type of slot: 0 = valid for both internal and external (online booked) appointments (default), 1 = only valid for internal (manually entered) appointments\").optional(),\n weektype: z.number().int().describe(\"Defines the interval for the time slot: 0 = Every week, 1 = Odd weeks, 2 = Even weeks, 3 = First occurrence in month, 4 = Second occurrence in month, 5 = Third occurrence in month, 6 = Fourth occurrence in month, 7 = Every 3 weeks first occurrence, 8 = Every 3 weeks second occurrence, 9 = Every 3 weeks third occurrence, 10 = Fifth occurrence in month, 11 = Every 4 weeks first occurrence, 12 = Every 4 weeks second occurrence, 13 = Every 4 weeks third occurrence, 14 = Every 4 weeks fourth occurrence\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to associate with this working time slot\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that are valid with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how service validity is checked: 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a new working time slot in eTermin.\");\nexport const EterminCreateWorkingTimeOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n}).describe(\"Response model for creating a working time slot in eTermin.\");\n\nexport const eterminCreateWorkingTime = action(\"ETERMIN_CREATE_WORKING_TIME\", {\n slug: \"etermin-create-working-time\",\n name: \"Create Working Time\",\n description: \"Tool to create a new working time slot in eTermin. Use when defining available time slots for appointments on a calendar.\",\n input: EterminCreateWorkingTimeInput,\n output: EterminCreateWorkingTimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4OAA4O;CACzQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC3M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wfAAwf,CAAC,CAAC,SAAS;CACviB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;AACvR,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"create-working-time.cjs","names":["z","action"],"sources":["../../src/actions/create-working-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimeInput = z.object({\n end: z.string().describe(\"End time of the working time slot in HH:MM format (e.g., '17:00')\"),\n start: z.string().describe(\"Start time of the working time slot in HH:MM format (e.g., '09:00')\"),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not be considered yet. Omit or set to 1 to enable immediately\").optional(),\n nrapps: z.number().int().describe(\"Number of appointments bookable in this working slot. Use -1 for unlimited appointments\").optional(),\n weekday: z.string().describe(\"Weekday ID(s) for this working time slot. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday. Multiple weekdays can be specified separated by commas (e.g., '2,3,5' for Monday, Tuesday, Thursday)\"),\n slottype: z.number().int().describe(\"Type of slot: 0 = valid for both internal and external (online booked) appointments (default), 1 = only valid for internal (manually entered) appointments\").optional(),\n weektype: z.number().int().describe(\"Defines the interval for the time slot: 0 = Every week, 1 = Odd weeks, 2 = Even weeks, 3 = First occurrence in month, 4 = Second occurrence in month, 5 = Third occurrence in month, 6 = Fourth occurrence in month, 7 = Every 3 weeks first occurrence, 8 = Every 3 weeks second occurrence, 9 = Every 3 weeks third occurrence, 10 = Fifth occurrence in month, 11 = Every 4 weeks first occurrence, 12 = Every 4 weeks second occurrence, 13 = Every 4 weeks third occurrence, 14 = Every 4 weeks fourth occurrence\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to associate with this working time slot\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that are valid with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how service validity is checked: 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a new working time slot in eTermin.\");\nexport const EterminCreateWorkingTimeOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response model for creating a working time slot in eTermin.\");\n\nexport const eterminCreateWorkingTime = action(\"ETERMIN_CREATE_WORKING_TIME\", {\n slug: \"etermin-create-working-time\",\n name: \"Create Working Time\",\n description: \"Tool to create a new working time slot in eTermin. Use when defining available time slots for appointments on a calendar.\",\n input: EterminCreateWorkingTimeInput,\n output: EterminCreateWorkingTimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4OAA4O;CACzQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC3M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wfAAwf,CAAC,CAAC,SAAS;CACviB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;AACvR,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const EterminCreateWorkingTimeInput: z.ZodObject<{
|
|
|
18
18
|
declare const EterminCreateWorkingTimeOutput: z.ZodObject<{
|
|
19
19
|
status: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
statusmsg: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const eterminCreateWorkingTime: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
end: string;
|
|
24
24
|
start: string;
|
|
@@ -18,7 +18,7 @@ declare const EterminCreateWorkingTimeInput: z.ZodObject<{
|
|
|
18
18
|
declare const EterminCreateWorkingTimeOutput: z.ZodObject<{
|
|
19
19
|
status: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
statusmsg: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const eterminCreateWorkingTime: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
end: string;
|
|
24
24
|
start: string;
|
|
@@ -21,7 +21,7 @@ const eterminCreateWorkingTime = action("ETERMIN_CREATE_WORKING_TIME", {
|
|
|
21
21
|
output: z.object({
|
|
22
22
|
status: z.number().int().describe("HTTP status code of the response").nullable(),
|
|
23
23
|
statusmsg: z.string().describe("Status message describing the result of the operation").nullable()
|
|
24
|
-
}).describe("Response model for creating a working time slot in eTermin.")
|
|
24
|
+
}).passthrough().describe("Response model for creating a working time slot in eTermin.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { eterminCreateWorkingTime };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-time.mjs","names":[],"sources":["../../src/actions/create-working-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimeInput = z.object({\n end: z.string().describe(\"End time of the working time slot in HH:MM format (e.g., '17:00')\"),\n start: z.string().describe(\"Start time of the working time slot in HH:MM format (e.g., '09:00')\"),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not be considered yet. Omit or set to 1 to enable immediately\").optional(),\n nrapps: z.number().int().describe(\"Number of appointments bookable in this working slot. Use -1 for unlimited appointments\").optional(),\n weekday: z.string().describe(\"Weekday ID(s) for this working time slot. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday. Multiple weekdays can be specified separated by commas (e.g., '2,3,5' for Monday, Tuesday, Thursday)\"),\n slottype: z.number().int().describe(\"Type of slot: 0 = valid for both internal and external (online booked) appointments (default), 1 = only valid for internal (manually entered) appointments\").optional(),\n weektype: z.number().int().describe(\"Defines the interval for the time slot: 0 = Every week, 1 = Odd weeks, 2 = Even weeks, 3 = First occurrence in month, 4 = Second occurrence in month, 5 = Third occurrence in month, 6 = Fourth occurrence in month, 7 = Every 3 weeks first occurrence, 8 = Every 3 weeks second occurrence, 9 = Every 3 weeks third occurrence, 10 = Fifth occurrence in month, 11 = Every 4 weeks first occurrence, 12 = Every 4 weeks second occurrence, 13 = Every 4 weeks third occurrence, 14 = Every 4 weeks fourth occurrence\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to associate with this working time slot\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that are valid with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how service validity is checked: 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a new working time slot in eTermin.\");\nexport const EterminCreateWorkingTimeOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n}).describe(\"Response model for creating a working time slot in eTermin.\");\n\nexport const eterminCreateWorkingTime = action(\"ETERMIN_CREATE_WORKING_TIME\", {\n slug: \"etermin-create-working-time\",\n name: \"Create Working Time\",\n description: \"Tool to create a new working time slot in eTermin. Use when defining available time slots for appointments on a calendar.\",\n input: EterminCreateWorkingTimeInput,\n output: EterminCreateWorkingTimeOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACvJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4OAA4O;EACzQ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EAC3M,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wfAAwf,CAAC,CAAC,SAAS;EACviB,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC9H,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;CACvR,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-working-time.mjs","names":[],"sources":["../../src/actions/create-working-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimeInput = z.object({\n end: z.string().describe(\"End time of the working time slot in HH:MM format (e.g., '17:00')\"),\n start: z.string().describe(\"Start time of the working time slot in HH:MM format (e.g., '09:00')\"),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not be considered yet. Omit or set to 1 to enable immediately\").optional(),\n nrapps: z.number().int().describe(\"Number of appointments bookable in this working slot. Use -1 for unlimited appointments\").optional(),\n weekday: z.string().describe(\"Weekday ID(s) for this working time slot. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday. Multiple weekdays can be specified separated by commas (e.g., '2,3,5' for Monday, Tuesday, Thursday)\"),\n slottype: z.number().int().describe(\"Type of slot: 0 = valid for both internal and external (online booked) appointments (default), 1 = only valid for internal (manually entered) appointments\").optional(),\n weektype: z.number().int().describe(\"Defines the interval for the time slot: 0 = Every week, 1 = Odd weeks, 2 = Even weeks, 3 = First occurrence in month, 4 = Second occurrence in month, 5 = Third occurrence in month, 6 = Fourth occurrence in month, 7 = Every 3 weeks first occurrence, 8 = Every 3 weeks second occurrence, 9 = Every 3 weeks third occurrence, 10 = Fifth occurrence in month, 11 = Every 4 weeks first occurrence, 12 = Every 4 weeks second occurrence, 13 = Every 4 weeks third occurrence, 14 = Every 4 weeks fourth occurrence\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to associate with this working time slot\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that are valid with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how service validity is checked: 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a new working time slot in eTermin.\");\nexport const EterminCreateWorkingTimeOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response model for creating a working time slot in eTermin.\");\n\nexport const eterminCreateWorkingTime = action(\"ETERMIN_CREATE_WORKING_TIME\", {\n slug: \"etermin-create-working-time\",\n name: \"Create Working Time\",\n description: \"Tool to create a new working time slot in eTermin. Use when defining available time slots for appointments on a calendar.\",\n input: EterminCreateWorkingTimeInput,\n output: EterminCreateWorkingTimeOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACvJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4OAA4O;EACzQ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EAC3M,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wfAAwf,CAAC,CAAC,SAAS;EACviB,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC9H,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;CACvR,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const EterminCreateWorkingTimesDateOutput = zod.z.object({
|
|
|
20
20
|
ID: zod.z.number().int().describe("Unique identifier of the created working time slot").nullable().optional(),
|
|
21
21
|
Status: zod.z.number().int().describe("HTTP status code of the response").nullable().optional(),
|
|
22
22
|
StatusMsg: zod.z.string().describe("Status message describing the result").nullable().optional()
|
|
23
|
-
}).describe("Response model after creating a working times date slot.");
|
|
23
|
+
}).passthrough().describe("Response model after creating a working times date slot.");
|
|
24
24
|
const eterminCreateWorkingTimesDate = require_action.action("ETERMIN_CREATE_WORKING_TIMES_DATE", {
|
|
25
25
|
slug: "etermin-create-working-times-date",
|
|
26
26
|
name: "Create Working Times Date",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"true, if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to create the working time slot for\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"true, if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"true, if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.number().int().describe(\"Unique identifier of the created working time slot\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;AACpS,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"create-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"true, if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to create the working time slot for\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"true, if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"true, if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.number().int().describe(\"Unique identifier of the created working time slot\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;AACpS,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const EterminCreateWorkingTimesDateOutput: z.ZodObject<{
|
|
|
20
20
|
ID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const eterminCreateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
end: string;
|
|
26
26
|
start: string;
|
|
@@ -20,7 +20,7 @@ declare const EterminCreateWorkingTimesDateOutput: z.ZodObject<{
|
|
|
20
20
|
ID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const eterminCreateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
end: string;
|
|
26
26
|
start: string;
|
|
@@ -23,7 +23,7 @@ const eterminCreateWorkingTimesDate = action("ETERMIN_CREATE_WORKING_TIMES_DATE"
|
|
|
23
23
|
ID: z.number().int().describe("Unique identifier of the created working time slot").nullable().optional(),
|
|
24
24
|
Status: z.number().int().describe("HTTP status code of the response").nullable().optional(),
|
|
25
25
|
StatusMsg: z.string().describe("Status message describing the result").nullable().optional()
|
|
26
|
-
}).describe("Response model after creating a working times date slot.")
|
|
26
|
+
}).passthrough().describe("Response model after creating a working times date slot.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { eterminCreateWorkingTimesDate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-times-date.mjs","names":[],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"true, if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to create the working time slot for\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"true, if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"true, if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.number().int().describe(\"Unique identifier of the created working time slot\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;AAyBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;EACnN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACpS,CAAC,CAAC,CAAC,SAAS,uDAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-working-times-date.mjs","names":[],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"true, if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to create the working time slot for\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"true, if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"true, if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.number().int().describe(\"Unique identifier of the created working time slot\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;AAyBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;EACnN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACpS,CAAC,CAAC,CAAC,SAAS,uDAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const EterminDeleteAbsenceOutput = zod.z.object({
|
|
|
6
6
|
id: zod.z.number().int().describe("The ID of the absence that was deleted").nullable(),
|
|
7
7
|
message: zod.z.string().describe("Status message from the API, if any").nullable().optional(),
|
|
8
8
|
success: zod.z.boolean().describe("Whether the delete operation was successful").nullable()
|
|
9
|
-
}).describe("Response model for delete absence operation.");
|
|
9
|
+
}).passthrough().describe("Response model for delete absence operation.");
|
|
10
10
|
const eterminDeleteAbsence = require_action.action("ETERMIN_DELETE_ABSENCE", {
|
|
11
11
|
slug: "etermin-delete-absence",
|
|
12
12
|
name: "Delete Absence",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-absence.cjs","names":["z","action"],"sources":["../../src/actions/delete-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAbsenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.\"),\n}).describe(\"Request model for deleting an absence (non-working time) from eTermin.\");\nexport const EterminDeleteAbsenceOutput = z.object({\n id: z.number().int().describe(\"The ID of the absence that was deleted\").nullable(),\n message: z.string().describe(\"Status message from the API, if any\").nullable().optional(),\n success: z.boolean().describe(\"Whether the delete operation was successful\").nullable(),\n}).describe(\"Response model for delete absence operation.\");\n\nexport const eterminDeleteAbsence = action(\"ETERMIN_DELETE_ABSENCE\", {\n slug: \"etermin-delete-absence\",\n name: \"Delete Absence\",\n description: \"Tool to delete an absence (non-working time) from a calendar. Use when you need to remove a blocked time period from a calendar's availability.\",\n input: EterminDeleteAbsenceInput,\n output: EterminDeleteAbsenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"delete-absence.cjs","names":["z","action"],"sources":["../../src/actions/delete-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAbsenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.\"),\n}).describe(\"Request model for deleting an absence (non-working time) from eTermin.\");\nexport const EterminDeleteAbsenceOutput = z.object({\n id: z.number().int().describe(\"The ID of the absence that was deleted\").nullable(),\n message: z.string().describe(\"Status message from the API, if any\").nullable().optional(),\n success: z.boolean().describe(\"Whether the delete operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete absence operation.\");\n\nexport const eterminDeleteAbsence = action(\"ETERMIN_DELETE_ABSENCE\", {\n slug: \"etermin-delete-absence\",\n name: \"Delete Absence\",\n description: \"Tool to delete an absence (non-working time) from a calendar. Use when you need to remove a blocked time period from a calendar's availability.\",\n input: EterminDeleteAbsenceInput,\n output: EterminDeleteAbsenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const EterminDeleteAbsenceOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const eterminDeleteAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: number;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const EterminDeleteAbsenceOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const eterminDeleteAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: number;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const eterminDeleteAbsence = action("ETERMIN_DELETE_ABSENCE", {
|
|
|
9
9
|
id: z.number().int().describe("The ID of the absence that was deleted").nullable(),
|
|
10
10
|
message: z.string().describe("Status message from the API, if any").nullable().optional(),
|
|
11
11
|
success: z.boolean().describe("Whether the delete operation was successful").nullable()
|
|
12
|
-
}).describe("Response model for delete absence operation.")
|
|
12
|
+
}).passthrough().describe("Response model for delete absence operation.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { eterminDeleteAbsence };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-absence.mjs","names":[],"sources":["../../src/actions/delete-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAbsenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.\"),\n}).describe(\"Request model for deleting an absence (non-working time) from eTermin.\");\nexport const EterminDeleteAbsenceOutput = z.object({\n id: z.number().int().describe(\"The ID of the absence that was deleted\").nullable(),\n message: z.string().describe(\"Status message from the API, if any\").nullable().optional(),\n success: z.boolean().describe(\"Whether the delete operation was successful\").nullable(),\n}).describe(\"Response model for delete absence operation.\");\n\nexport const eterminDeleteAbsence = action(\"ETERMIN_DELETE_ABSENCE\", {\n slug: \"etermin-delete-absence\",\n name: \"Delete Absence\",\n description: \"Tool to delete an absence (non-working time) from a calendar. Use when you need to remove a blocked time period from a calendar's availability.\",\n input: EterminDeleteAbsenceInput,\n output: EterminDeleteAbsenceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wEAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-absence.mjs","names":[],"sources":["../../src/actions/delete-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAbsenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.\"),\n}).describe(\"Request model for deleting an absence (non-working time) from eTermin.\");\nexport const EterminDeleteAbsenceOutput = z.object({\n id: z.number().int().describe(\"The ID of the absence that was deleted\").nullable(),\n message: z.string().describe(\"Status message from the API, if any\").nullable().optional(),\n success: z.boolean().describe(\"Whether the delete operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete absence operation.\");\n\nexport const eterminDeleteAbsence = action(\"ETERMIN_DELETE_ABSENCE\", {\n slug: \"etermin-delete-absence\",\n name: \"Delete Absence\",\n description: \"Tool to delete an absence (non-working time) from a calendar. Use when you need to remove a blocked time period from a calendar's availability.\",\n input: EterminDeleteAbsenceInput,\n output: EterminDeleteAbsenceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wEAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/delete-anchortime-by-date.ts
|
|
4
4
|
const EterminDeleteAnchortimeByDateInput = zod.z.object({ id: zod.z.number().int().describe("ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.") }).describe("Request parameters for deleting an anchortime by date from eTermin.");
|
|
5
5
|
const EterminDeleteAnchortimeByDateOutput = zod.z.object({
|
|
6
|
-
data: zod.z.
|
|
6
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional response data from the API, if any. Typically null for DELETE operations.").nullable().optional(),
|
|
7
7
|
error: zod.z.string().describe("Error message if the operation failed, otherwise null.").nullable().optional(),
|
|
8
8
|
successfull: zod.z.boolean().describe("Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).").nullable()
|
|
9
|
-
}).describe("Response schema for delete anchortime by date action.\nThe API returns a standardized response format with success indicator and optional error message.");
|
|
9
|
+
}).passthrough().describe("Response schema for delete anchortime by date action.\nThe API returns a standardized response format with success indicator and optional error message.");
|
|
10
10
|
const eterminDeleteAnchortimeByDate = require_action.action("ETERMIN_DELETE_ANCHORTIME_BY_DATE", {
|
|
11
11
|
slug: "etermin-delete-anchortime-by-date",
|
|
12
12
|
name: "Delete Anchortime By Date",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.\"),\n}).describe(\"Request parameters for deleting an anchortime by date from eTermin.\");\nexport const EterminDeleteAnchortimeByDateOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"delete-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.\"),\n}).describe(\"Request parameters for deleting an anchortime by date from eTermin.\");\nexport const EterminDeleteAnchortimeByDateOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional response data from the API, if any. Typically null for DELETE operations.\").nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed, otherwise null.\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).\").nullable(),\n}).passthrough().describe(\"Response schema for delete anchortime by date action.\\nThe API returns a standardized response format with success indicator and optional error message.\");\n\nexport const eterminDeleteAnchortimeByDate = action(\"ETERMIN_DELETE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-delete-anchortime-by-date\",\n name: \"Delete Anchortime By Date\",\n description: \"Delete an anchortime by date using its ID. Use when you need to remove a specific anchortime entry by date. Returns a success indicator along with any error messages if the deletion fails.\",\n input: EterminDeleteAnchortimeByDateInput,\n output: EterminDeleteAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,EAC3H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAA0J;AAEpL,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,10 +5,10 @@ declare const EterminDeleteAnchortimeByDateInput: z.ZodObject<{
|
|
|
5
5
|
id: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const EterminDeleteAnchortimeByDateOutput: z.ZodObject<{
|
|
8
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
9
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
successfull: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const eterminDeleteAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: number;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,10 +5,10 @@ declare const EterminDeleteAnchortimeByDateInput: z.ZodObject<{
|
|
|
5
5
|
id: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const EterminDeleteAnchortimeByDateOutput: z.ZodObject<{
|
|
8
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
9
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
successfull: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const eterminDeleteAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: number;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,10 +6,10 @@ const eterminDeleteAnchortimeByDate = action("ETERMIN_DELETE_ANCHORTIME_BY_DATE"
|
|
|
6
6
|
description: "Delete an anchortime by date using its ID. Use when you need to remove a specific anchortime entry by date. Returns a success indicator along with any error messages if the deletion fails.",
|
|
7
7
|
input: z.object({ id: z.number().int().describe("ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.") }).describe("Request parameters for deleting an anchortime by date from eTermin."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
data: z.
|
|
9
|
+
data: z.record(z.string(), z.unknown()).describe("Additional response data from the API, if any. Typically null for DELETE operations.").nullable().optional(),
|
|
10
10
|
error: z.string().describe("Error message if the operation failed, otherwise null.").nullable().optional(),
|
|
11
11
|
successfull: z.boolean().describe("Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).").nullable()
|
|
12
|
-
}).describe("Response schema for delete anchortime by date action.\nThe API returns a standardized response format with success indicator and optional error message.")
|
|
12
|
+
}).passthrough().describe("Response schema for delete anchortime by date action.\nThe API returns a standardized response format with success indicator and optional error message.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { eterminDeleteAnchortimeByDate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.\"),\n}).describe(\"Request parameters for deleting an anchortime by date from eTermin.\");\nexport const EterminDeleteAnchortimeByDateOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"delete-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.\"),\n}).describe(\"Request parameters for deleting an anchortime by date from eTermin.\");\nexport const EterminDeleteAnchortimeByDateOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional response data from the API, if any. Typically null for DELETE operations.\").nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed, otherwise null.\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).\").nullable(),\n}).passthrough().describe(\"Response schema for delete anchortime by date action.\\nThe API returns a standardized response format with success indicator and optional error message.\");\n\nexport const eterminDeleteAnchortimeByDate = action(\"ETERMIN_DELETE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-delete-anchortime-by-date\",\n name: \"Delete Anchortime By Date\",\n description: \"Delete an anchortime by date using its ID. Use when you need to remove a specific anchortime entry by date. Returns a success indicator along with any error messages if the deletion fails.\",\n input: EterminDeleteAnchortimeByDateInput,\n output: EterminDeleteAnchortimeByDateOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO,EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,EAC3H,CAAC,CAAC,CAAC,SAAS,qEAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const EterminDeleteAnchortimeInput = zod.z.object({ id: zod.z.number().int().des
|
|
|
5
5
|
const EterminDeleteAnchortimeOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("").describe("Additional message about the deletion result").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Whether the anchortime was successfully deleted").nullable()
|
|
8
|
-
}).describe("Response schema for delete anchortime action.");
|
|
8
|
+
}).passthrough().describe("Response schema for delete anchortime action.");
|
|
9
9
|
const eterminDeleteAnchortime = require_action.action("ETERMIN_DELETE_ANCHORTIME", {
|
|
10
10
|
slug: "etermin-delete-anchortime",
|
|
11
11
|
name: "Delete Anchortime",
|