@keystrokehq/etermin 0.1.2 → 0.1.3
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/package.json +1 -1
|
@@ -16,7 +16,7 @@ const eterminUpdateContact = action("ETERMIN_UPDATE_CONTACT", {
|
|
|
16
16
|
lastname: z.string().default("").describe("Last name of the contact").nullable().optional(),
|
|
17
17
|
firstname: z.string().default("").describe("First name of the contact").nullable().optional(),
|
|
18
18
|
created_at: z.string().describe("Timestamp when the contact was originally created").nullable()
|
|
19
|
-
}).describe("Response model for the updated contact in eTermin.")
|
|
19
|
+
}).passthrough().describe("Response model for the updated contact in eTermin.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { eterminUpdateContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact. May be empty if not provided.\").nullable().optional(),\n lastname: z.string().default(\"\").describe(\"Last name of the contact\").nullable().optional(),\n firstname: z.string().default(\"\").describe(\"First name of the contact\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was originally created\").nullable(),\n}).describe(\"Response model for the updated contact in eTermin.\");\n\nexport const eterminUpdateContact = action(\"ETERMIN_UPDATE_CONTACT\", {\n slug: \"etermin-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in eTermin. Use when you need to modify contact details by ID after confirming it exists.\",\n input: EterminUpdateContactInput,\n output: EterminUpdateContactOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACpF,CAAC,CAAC,CAAC,SAAS,4DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact. May be empty if not provided.\").nullable().optional(),\n lastname: z.string().default(\"\").describe(\"Last name of the contact\").nullable().optional(),\n firstname: z.string().default(\"\").describe(\"First name of the contact\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was originally created\").nullable(),\n}).passthrough().describe(\"Response model for the updated contact in eTermin.\");\n\nexport const eterminUpdateContact = action(\"ETERMIN_UPDATE_CONTACT\", {\n slug: \"etermin-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in eTermin. Use when you need to modify contact details by ID after confirming it exists.\",\n input: EterminUpdateContactInput,\n output: EterminUpdateContactOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACpF,CAAC,CAAC,CAAC,SAAS,4DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const EterminUpdateResourceOutput = zod.z.object({
|
|
|
11
11
|
message: zod.z.string().describe("Status message from the API describing the result.").nullable(),
|
|
12
12
|
success: zod.z.boolean().describe("Whether the update operation was successful.").nullable(),
|
|
13
13
|
resource_id: zod.z.string().describe("The ID of the updated resource, if returned by the API.").nullable().optional()
|
|
14
|
-
}).describe("Response from updating an eTermin resource.");
|
|
14
|
+
}).passthrough().describe("Response from updating an eTermin resource.");
|
|
15
15
|
const eterminUpdateResource = require_action.action("ETERMIN_UPDATE_RESOURCE", {
|
|
16
16
|
slug: "etermin-update-resource",
|
|
17
17
|
name: "Update Resource",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-resource.cjs","names":["z","action"],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.string().describe(\"The ID of the updated resource, if returned by the API.\").nullable().optional(),\n}).describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;CAChU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;AACnL,CAAC,CAAC,CAAC,SAAS,+LAA+L;AAC3M,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"update-resource.cjs","names":["z","action"],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.string().describe(\"The ID of the updated resource, if returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;CAChU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;AACnL,CAAC,CAAC,CAAC,SAAS,+LAA+L;AAC3M,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const EterminUpdateResourceOutput: z.ZodObject<{
|
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
13
|
resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eterminUpdateResource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
data: Record<string, unknown>;
|
|
17
17
|
resource: string;
|
|
@@ -11,7 +11,7 @@ declare const EterminUpdateResourceOutput: z.ZodObject<{
|
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
13
|
resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eterminUpdateResource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
data: Record<string, unknown>;
|
|
17
17
|
resource: string;
|
|
@@ -14,7 +14,7 @@ const eterminUpdateResource = action("ETERMIN_UPDATE_RESOURCE", {
|
|
|
14
14
|
message: z.string().describe("Status message from the API describing the result.").nullable(),
|
|
15
15
|
success: z.boolean().describe("Whether the update operation was successful.").nullable(),
|
|
16
16
|
resource_id: z.string().describe("The ID of the updated resource, if returned by the API.").nullable().optional()
|
|
17
|
-
}).describe("Response from updating an eTermin resource.")
|
|
17
|
+
}).passthrough().describe("Response from updating an eTermin resource.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { eterminUpdateResource };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-resource.mjs","names":[],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.string().describe(\"The ID of the updated resource, if returned by the API.\").nullable().optional(),\n}).describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;EAChU,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;CACnL,CAAC,CAAC,CAAC,SAAS,+LAYH;CACP,QAZyC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-resource.mjs","names":[],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.string().describe(\"The ID of the updated resource, if returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;EAChU,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;CACnL,CAAC,CAAC,CAAC,SAAS,+LAYH;CACP,QAZyC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -31,7 +31,7 @@ const EterminUpdateServiceGroupInput = zod.z.object({
|
|
|
31
31
|
const EterminUpdateServiceGroupOutput = zod.z.object({
|
|
32
32
|
status: zod.z.number().int().describe("Status code from the API response.").nullable(),
|
|
33
33
|
statusmsg: zod.z.string().describe("Status message from the API response.").nullable()
|
|
34
|
-
}).describe("Response model for updating a service group.");
|
|
34
|
+
}).passthrough().describe("Response model for updating a service group.");
|
|
35
35
|
const eterminUpdateServiceGroup = require_action.action("ETERMIN_UPDATE_SERVICE_GROUP", {
|
|
36
36
|
slug: "etermin-update-service-group",
|
|
37
37
|
name: "Update Service Group",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service-group.cjs","names":["z","action"],"sources":["../../src/actions/update-service-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceGroupInput = z.object({\n regex: z.string().describe(\"Is a validation rule. Can be used if you want to have your location written in a certain way (servicegrouptype has to be 5)\").optional(),\n enabled: z.boolean().describe(\"False if the service group should not appear on the bookingpage (only via direct link or for internal services)\").optional(),\n pageidx: z.number().int().describe(\"If set to 1 the service group will be shown on a second service selection page. Default value is 0\").optional(),\n collapse: z.boolean().describe(\"True if the service group is shown collapsed as default (need showtoggle to be true)\").optional(),\n showprice: z.boolean().describe(\"Defines if the price of the service is shown\").optional(),\n errormsgde: z.string().describe(\"Error message, if the regex isn't valid or a wrong number on the number search is used. For other languages use errormsgLANGUAGECODE e.g. errormsgen (servicegrouptype has to be 5 or 9)\").optional(),\n isoptional: z.boolean().describe(\"Defines if a selection of a service is mandatory\").optional(),\n showtoggle: z.boolean().describe(\"True if the service group can be collapsed\").optional(),\n selminprice: z.number().int().describe(\"The price of every minute selection interval (servicegrouptype has to be 10)\").optional(),\n showimgfull: z.boolean().describe(\"True if the picture of the service should be shown as big as possible\").optional(),\n displayindex: z.number().int().describe(\"Index in which order the service group should be shown.\"),\n showduration: z.boolean().describe(\"Defines if the duration of the service is shown\").optional(),\n showinsummary: z.boolean().describe(\"False if the selected service should not appear in the summary box\").optional(),\n selminduration: z.number().int().describe(\"The interval of minutes you can switch up or down with the minute selection (servicegrouptype has to be 10)\").optional(),\n servicegroupde: z.string().describe(\"Name of the service group in German. For other languages use servicegroupLANGUAGECODE e.g. servicegroupen\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group that gets updated.\"),\n answerselection: z.number().int().describe(\"Selection type for services (0 = Single selection; 1 = Multi selection; 2 = list selection). Has to be -1 if servicegrouptype is not 0!\").optional(),\n answersortorder: z.number().int().describe(\"Defines in which order the services are shown (0 = according to position in service; 1 = Ascending by name; 2 = Descending by name)\").optional(),\n additionaltextde: z.string().describe(\"Additional information of the service group in German. For other languages use additionaltextLANGUAGECODE e.g. additionaltexten\").optional(),\n nrservicecolumns: z.number().int().describe(\"Defines how many columns the services should be displayed in\").optional(),\n servicegrouptype: z.number().int().describe(\"Defines the service group type (0 = Service selection; 2 = Text field; 5 = location selection; 8 = Day amount selection; 9 = Number search; 10 = Minutes amount selection)\").optional(),\n countrylimitation: z.string().describe(\"Language codes that are supported by the location lookup (servicegrouptype has to be 5)\").optional(),\n addtextdisplaymode: z.number().int().describe(\"Defines the location of the additional text (0 = via Tooltip; 1 = under the name of the service group)\").optional(),\n showinemailsummary: z.boolean().describe(\"False if the selected service should not appear in the summary of the emails\").optional(),\n showwhencertainanswerselected: z.string().describe(\"List of services that have to be selected to show this service group. Set to -1 if the service group should be shown initially\").optional(),\n}).describe(\"Request model for updating a service group in eTermin.\");\nexport const EterminUpdateServiceGroupOutput = z.object({\n status: z.number().int().describe(\"Status code from the API response.\").nullable(),\n statusmsg: z.string().describe(\"Status message from the API response.\").nullable(),\n}).describe(\"Response model for updating a service group.\");\n\nexport const eterminUpdateServiceGroup = action(\"ETERMIN_UPDATE_SERVICE_GROUP\", {\n slug: \"etermin-update-service-group\",\n name: \"Update Service Group\",\n description: \"Tool to update an existing service group in eTermin. Use when you need to modify service group properties such as name, display settings, or selection behavior.\",\n input: EterminUpdateServiceGroupInput,\n output: EterminUpdateServiceGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC1J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACrO,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAChI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACpH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CACjG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAClK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC1J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAC/L,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAC3L,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAClL,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACnO,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC3I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACjK,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAClI,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AAChM,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"update-service-group.cjs","names":["z","action"],"sources":["../../src/actions/update-service-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceGroupInput = z.object({\n regex: z.string().describe(\"Is a validation rule. Can be used if you want to have your location written in a certain way (servicegrouptype has to be 5)\").optional(),\n enabled: z.boolean().describe(\"False if the service group should not appear on the bookingpage (only via direct link or for internal services)\").optional(),\n pageidx: z.number().int().describe(\"If set to 1 the service group will be shown on a second service selection page. Default value is 0\").optional(),\n collapse: z.boolean().describe(\"True if the service group is shown collapsed as default (need showtoggle to be true)\").optional(),\n showprice: z.boolean().describe(\"Defines if the price of the service is shown\").optional(),\n errormsgde: z.string().describe(\"Error message, if the regex isn't valid or a wrong number on the number search is used. For other languages use errormsgLANGUAGECODE e.g. errormsgen (servicegrouptype has to be 5 or 9)\").optional(),\n isoptional: z.boolean().describe(\"Defines if a selection of a service is mandatory\").optional(),\n showtoggle: z.boolean().describe(\"True if the service group can be collapsed\").optional(),\n selminprice: z.number().int().describe(\"The price of every minute selection interval (servicegrouptype has to be 10)\").optional(),\n showimgfull: z.boolean().describe(\"True if the picture of the service should be shown as big as possible\").optional(),\n displayindex: z.number().int().describe(\"Index in which order the service group should be shown.\"),\n showduration: z.boolean().describe(\"Defines if the duration of the service is shown\").optional(),\n showinsummary: z.boolean().describe(\"False if the selected service should not appear in the summary box\").optional(),\n selminduration: z.number().int().describe(\"The interval of minutes you can switch up or down with the minute selection (servicegrouptype has to be 10)\").optional(),\n servicegroupde: z.string().describe(\"Name of the service group in German. For other languages use servicegroupLANGUAGECODE e.g. servicegroupen\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group that gets updated.\"),\n answerselection: z.number().int().describe(\"Selection type for services (0 = Single selection; 1 = Multi selection; 2 = list selection). Has to be -1 if servicegrouptype is not 0!\").optional(),\n answersortorder: z.number().int().describe(\"Defines in which order the services are shown (0 = according to position in service; 1 = Ascending by name; 2 = Descending by name)\").optional(),\n additionaltextde: z.string().describe(\"Additional information of the service group in German. For other languages use additionaltextLANGUAGECODE e.g. additionaltexten\").optional(),\n nrservicecolumns: z.number().int().describe(\"Defines how many columns the services should be displayed in\").optional(),\n servicegrouptype: z.number().int().describe(\"Defines the service group type (0 = Service selection; 2 = Text field; 5 = location selection; 8 = Day amount selection; 9 = Number search; 10 = Minutes amount selection)\").optional(),\n countrylimitation: z.string().describe(\"Language codes that are supported by the location lookup (servicegrouptype has to be 5)\").optional(),\n addtextdisplaymode: z.number().int().describe(\"Defines the location of the additional text (0 = via Tooltip; 1 = under the name of the service group)\").optional(),\n showinemailsummary: z.boolean().describe(\"False if the selected service should not appear in the summary of the emails\").optional(),\n showwhencertainanswerselected: z.string().describe(\"List of services that have to be selected to show this service group. Set to -1 if the service group should be shown initially\").optional(),\n}).describe(\"Request model for updating a service group in eTermin.\");\nexport const EterminUpdateServiceGroupOutput = z.object({\n status: z.number().int().describe(\"Status code from the API response.\").nullable(),\n statusmsg: z.string().describe(\"Status message from the API response.\").nullable(),\n}).passthrough().describe(\"Response model for updating a service group.\");\n\nexport const eterminUpdateServiceGroup = action(\"ETERMIN_UPDATE_SERVICE_GROUP\", {\n slug: \"etermin-update-service-group\",\n name: \"Update Service Group\",\n description: \"Tool to update an existing service group in eTermin. Use when you need to modify service group properties such as name, display settings, or selection behavior.\",\n input: EterminUpdateServiceGroupInput,\n output: EterminUpdateServiceGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC1J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACrO,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAChI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACpH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CACjG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAClK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC1J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAC/L,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAC3L,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAClL,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACnO,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC3I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACjK,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAClI,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AAChM,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -31,7 +31,7 @@ declare const EterminUpdateServiceGroupInput: z.ZodObject<{
|
|
|
31
31
|
declare const EterminUpdateServiceGroupOutput: z.ZodObject<{
|
|
32
32
|
status: z.ZodNullable<z.ZodNumber>;
|
|
33
33
|
statusmsg: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const eterminUpdateServiceGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
displayindex: number;
|
|
37
37
|
servicegroupid: number;
|
|
@@ -31,7 +31,7 @@ declare const EterminUpdateServiceGroupInput: z.ZodObject<{
|
|
|
31
31
|
declare const EterminUpdateServiceGroupOutput: z.ZodObject<{
|
|
32
32
|
status: z.ZodNullable<z.ZodNumber>;
|
|
33
33
|
statusmsg: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const eterminUpdateServiceGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
displayindex: number;
|
|
37
37
|
servicegroupid: number;
|
|
@@ -34,7 +34,7 @@ const eterminUpdateServiceGroup = action("ETERMIN_UPDATE_SERVICE_GROUP", {
|
|
|
34
34
|
output: z.object({
|
|
35
35
|
status: z.number().int().describe("Status code from the API response.").nullable(),
|
|
36
36
|
statusmsg: z.string().describe("Status message from the API response.").nullable()
|
|
37
|
-
}).describe("Response model for updating a service group.")
|
|
37
|
+
}).passthrough().describe("Response model for updating a service group.")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { eterminUpdateServiceGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service-group.mjs","names":[],"sources":["../../src/actions/update-service-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceGroupInput = z.object({\n regex: z.string().describe(\"Is a validation rule. Can be used if you want to have your location written in a certain way (servicegrouptype has to be 5)\").optional(),\n enabled: z.boolean().describe(\"False if the service group should not appear on the bookingpage (only via direct link or for internal services)\").optional(),\n pageidx: z.number().int().describe(\"If set to 1 the service group will be shown on a second service selection page. Default value is 0\").optional(),\n collapse: z.boolean().describe(\"True if the service group is shown collapsed as default (need showtoggle to be true)\").optional(),\n showprice: z.boolean().describe(\"Defines if the price of the service is shown\").optional(),\n errormsgde: z.string().describe(\"Error message, if the regex isn't valid or a wrong number on the number search is used. For other languages use errormsgLANGUAGECODE e.g. errormsgen (servicegrouptype has to be 5 or 9)\").optional(),\n isoptional: z.boolean().describe(\"Defines if a selection of a service is mandatory\").optional(),\n showtoggle: z.boolean().describe(\"True if the service group can be collapsed\").optional(),\n selminprice: z.number().int().describe(\"The price of every minute selection interval (servicegrouptype has to be 10)\").optional(),\n showimgfull: z.boolean().describe(\"True if the picture of the service should be shown as big as possible\").optional(),\n displayindex: z.number().int().describe(\"Index in which order the service group should be shown.\"),\n showduration: z.boolean().describe(\"Defines if the duration of the service is shown\").optional(),\n showinsummary: z.boolean().describe(\"False if the selected service should not appear in the summary box\").optional(),\n selminduration: z.number().int().describe(\"The interval of minutes you can switch up or down with the minute selection (servicegrouptype has to be 10)\").optional(),\n servicegroupde: z.string().describe(\"Name of the service group in German. For other languages use servicegroupLANGUAGECODE e.g. servicegroupen\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group that gets updated.\"),\n answerselection: z.number().int().describe(\"Selection type for services (0 = Single selection; 1 = Multi selection; 2 = list selection). Has to be -1 if servicegrouptype is not 0!\").optional(),\n answersortorder: z.number().int().describe(\"Defines in which order the services are shown (0 = according to position in service; 1 = Ascending by name; 2 = Descending by name)\").optional(),\n additionaltextde: z.string().describe(\"Additional information of the service group in German. For other languages use additionaltextLANGUAGECODE e.g. additionaltexten\").optional(),\n nrservicecolumns: z.number().int().describe(\"Defines how many columns the services should be displayed in\").optional(),\n servicegrouptype: z.number().int().describe(\"Defines the service group type (0 = Service selection; 2 = Text field; 5 = location selection; 8 = Day amount selection; 9 = Number search; 10 = Minutes amount selection)\").optional(),\n countrylimitation: z.string().describe(\"Language codes that are supported by the location lookup (servicegrouptype has to be 5)\").optional(),\n addtextdisplaymode: z.number().int().describe(\"Defines the location of the additional text (0 = via Tooltip; 1 = under the name of the service group)\").optional(),\n showinemailsummary: z.boolean().describe(\"False if the selected service should not appear in the summary of the emails\").optional(),\n showwhencertainanswerselected: z.string().describe(\"List of services that have to be selected to show this service group. Set to -1 if the service group should be shown initially\").optional(),\n}).describe(\"Request model for updating a service group in eTermin.\");\nexport const EterminUpdateServiceGroupOutput = z.object({\n status: z.number().int().describe(\"Status code from the API response.\").nullable(),\n statusmsg: z.string().describe(\"Status message from the API response.\").nullable(),\n}).describe(\"Response model for updating a service group.\");\n\nexport const eterminUpdateServiceGroup = action(\"ETERMIN_UPDATE_SERVICE_GROUP\", {\n slug: \"etermin-update-service-group\",\n name: \"Update Service Group\",\n description: \"Tool to update an existing service group in eTermin. Use when you need to modify service group properties such as name, display settings, or selection behavior.\",\n input: EterminUpdateServiceGroupInput,\n output: EterminUpdateServiceGroupOutput,\n});\n"],"mappings":";;AAoCA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApC4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EAC1J,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAClJ,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAChI,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;EACrO,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAChI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACpH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EACjG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EAClK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EAC1J,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;EAC/L,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EAC3L,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EAClL,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;EACnO,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAC3I,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACjK,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAClI,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAChM,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-service-group.mjs","names":[],"sources":["../../src/actions/update-service-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceGroupInput = z.object({\n regex: z.string().describe(\"Is a validation rule. Can be used if you want to have your location written in a certain way (servicegrouptype has to be 5)\").optional(),\n enabled: z.boolean().describe(\"False if the service group should not appear on the bookingpage (only via direct link or for internal services)\").optional(),\n pageidx: z.number().int().describe(\"If set to 1 the service group will be shown on a second service selection page. Default value is 0\").optional(),\n collapse: z.boolean().describe(\"True if the service group is shown collapsed as default (need showtoggle to be true)\").optional(),\n showprice: z.boolean().describe(\"Defines if the price of the service is shown\").optional(),\n errormsgde: z.string().describe(\"Error message, if the regex isn't valid or a wrong number on the number search is used. For other languages use errormsgLANGUAGECODE e.g. errormsgen (servicegrouptype has to be 5 or 9)\").optional(),\n isoptional: z.boolean().describe(\"Defines if a selection of a service is mandatory\").optional(),\n showtoggle: z.boolean().describe(\"True if the service group can be collapsed\").optional(),\n selminprice: z.number().int().describe(\"The price of every minute selection interval (servicegrouptype has to be 10)\").optional(),\n showimgfull: z.boolean().describe(\"True if the picture of the service should be shown as big as possible\").optional(),\n displayindex: z.number().int().describe(\"Index in which order the service group should be shown.\"),\n showduration: z.boolean().describe(\"Defines if the duration of the service is shown\").optional(),\n showinsummary: z.boolean().describe(\"False if the selected service should not appear in the summary box\").optional(),\n selminduration: z.number().int().describe(\"The interval of minutes you can switch up or down with the minute selection (servicegrouptype has to be 10)\").optional(),\n servicegroupde: z.string().describe(\"Name of the service group in German. For other languages use servicegroupLANGUAGECODE e.g. servicegroupen\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group that gets updated.\"),\n answerselection: z.number().int().describe(\"Selection type for services (0 = Single selection; 1 = Multi selection; 2 = list selection). Has to be -1 if servicegrouptype is not 0!\").optional(),\n answersortorder: z.number().int().describe(\"Defines in which order the services are shown (0 = according to position in service; 1 = Ascending by name; 2 = Descending by name)\").optional(),\n additionaltextde: z.string().describe(\"Additional information of the service group in German. For other languages use additionaltextLANGUAGECODE e.g. additionaltexten\").optional(),\n nrservicecolumns: z.number().int().describe(\"Defines how many columns the services should be displayed in\").optional(),\n servicegrouptype: z.number().int().describe(\"Defines the service group type (0 = Service selection; 2 = Text field; 5 = location selection; 8 = Day amount selection; 9 = Number search; 10 = Minutes amount selection)\").optional(),\n countrylimitation: z.string().describe(\"Language codes that are supported by the location lookup (servicegrouptype has to be 5)\").optional(),\n addtextdisplaymode: z.number().int().describe(\"Defines the location of the additional text (0 = via Tooltip; 1 = under the name of the service group)\").optional(),\n showinemailsummary: z.boolean().describe(\"False if the selected service should not appear in the summary of the emails\").optional(),\n showwhencertainanswerselected: z.string().describe(\"List of services that have to be selected to show this service group. Set to -1 if the service group should be shown initially\").optional(),\n}).describe(\"Request model for updating a service group in eTermin.\");\nexport const EterminUpdateServiceGroupOutput = z.object({\n status: z.number().int().describe(\"Status code from the API response.\").nullable(),\n statusmsg: z.string().describe(\"Status message from the API response.\").nullable(),\n}).passthrough().describe(\"Response model for updating a service group.\");\n\nexport const eterminUpdateServiceGroup = action(\"ETERMIN_UPDATE_SERVICE_GROUP\", {\n slug: \"etermin-update-service-group\",\n name: \"Update Service Group\",\n description: \"Tool to update an existing service group in eTermin. Use when you need to modify service group properties such as name, display settings, or selection behavior.\",\n input: EterminUpdateServiceGroupInput,\n output: EterminUpdateServiceGroupOutput,\n});\n"],"mappings":";;AAoCA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApC4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EAC1J,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAClJ,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAChI,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;EACrO,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAChI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACpH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EACjG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EAClK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EAC1J,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;EAC/L,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EAC3L,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EAClL,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;EACnO,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAC3I,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACjK,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAClI,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAChM,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const EterminUpdateServiceInput = zod.z.object({
|
|
|
9
9
|
description: zod.z.string().describe("New description of the service (sets both German and English info text).").optional(),
|
|
10
10
|
servicegroupid: zod.z.number().int().describe("ID of the service group this service belongs to. Required by the eTermin API.").optional()
|
|
11
11
|
}).describe("Request model for updating an existing service in eTermin.");
|
|
12
|
-
const EterminUpdateServiceOutput = zod.z.object({ service: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Updated service object returned by eTermin") }).describe("Response model for updated service.");
|
|
12
|
+
const EterminUpdateServiceOutput = zod.z.object({ service: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Updated service object returned by eTermin") }).passthrough().describe("Response model for updated service.");
|
|
13
13
|
const eterminUpdateService = require_action.action("ETERMIN_UPDATE_SERVICE", {
|
|
14
14
|
slug: "etermin-update-service",
|
|
15
15
|
name: "Update Service",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service.cjs","names":["z","action"],"sources":["../../src/actions/update-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceInput = z.object({\n name: z.string().describe(\"New name of the service (sets both German and English names).\").optional(),\n price: z.number().describe(\"New price of the service, must be non-negative.\").optional(),\n duration: z.number().int().describe(\"New duration of the service in minutes (timeslotminutes), must be at least 1.\").optional(),\n service_id: z.string().describe(\"Unique identifier (id) of the service to update.\"),\n description: z.string().describe(\"New description of the service (sets both German and English info text).\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to. Required by the eTermin API.\").optional(),\n}).describe(\"Request model for updating an existing service in eTermin.\");\nexport const EterminUpdateServiceOutput = z.object({\n service: z.record(z.string(), z.unknown()).describe(\"Updated service object returned by eTermin\"),\n}).describe(\"Response model for updated service.\");\n\nexport const eterminUpdateService = action(\"ETERMIN_UPDATE_SERVICE\", {\n slug: \"etermin-update-service\",\n name: \"Update Service\",\n description: \"Tool to update an existing service. Use when you need to modify service details after confirming the service ID.\",\n input: EterminUpdateServiceInput,\n output: EterminUpdateServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,EAClG,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"update-service.cjs","names":["z","action"],"sources":["../../src/actions/update-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceInput = z.object({\n name: z.string().describe(\"New name of the service (sets both German and English names).\").optional(),\n price: z.number().describe(\"New price of the service, must be non-negative.\").optional(),\n duration: z.number().int().describe(\"New duration of the service in minutes (timeslotminutes), must be at least 1.\").optional(),\n service_id: z.string().describe(\"Unique identifier (id) of the service to update.\"),\n description: z.string().describe(\"New description of the service (sets both German and English info text).\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to. Required by the eTermin API.\").optional(),\n}).describe(\"Request model for updating an existing service in eTermin.\");\nexport const EterminUpdateServiceOutput = z.object({\n service: z.record(z.string(), z.unknown()).describe(\"Updated service object returned by eTermin\"),\n}).passthrough().describe(\"Response model for updated service.\");\n\nexport const eterminUpdateService = action(\"ETERMIN_UPDATE_SERVICE\", {\n slug: \"etermin-update-service\",\n name: \"Update Service\",\n description: \"Tool to update an existing service. Use when you need to modify service details after confirming the service ID.\",\n input: EterminUpdateServiceInput,\n output: EterminUpdateServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const EterminUpdateServiceInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const EterminUpdateServiceOutput: z.ZodObject<{
|
|
13
13
|
service: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eterminUpdateService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
service_id: string;
|
|
17
17
|
name?: string | undefined;
|
|
@@ -11,7 +11,7 @@ declare const EterminUpdateServiceInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const EterminUpdateServiceOutput: z.ZodObject<{
|
|
13
13
|
service: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eterminUpdateService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
service_id: string;
|
|
17
17
|
name?: string | undefined;
|
|
@@ -12,7 +12,7 @@ const eterminUpdateService = action("ETERMIN_UPDATE_SERVICE", {
|
|
|
12
12
|
description: z.string().describe("New description of the service (sets both German and English info text).").optional(),
|
|
13
13
|
servicegroupid: z.number().int().describe("ID of the service group this service belongs to. Required by the eTermin API.").optional()
|
|
14
14
|
}).describe("Request model for updating an existing service in eTermin."),
|
|
15
|
-
output: z.object({ service: z.record(z.string(), z.unknown()).describe("Updated service object returned by eTermin") }).describe("Response model for updated service.")
|
|
15
|
+
output: z.object({ service: z.record(z.string(), z.unknown()).describe("Updated service object returned by eTermin") }).passthrough().describe("Response model for updated service.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { eterminUpdateService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service.mjs","names":[],"sources":["../../src/actions/update-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceInput = z.object({\n name: z.string().describe(\"New name of the service (sets both German and English names).\").optional(),\n price: z.number().describe(\"New price of the service, must be non-negative.\").optional(),\n duration: z.number().int().describe(\"New duration of the service in minutes (timeslotminutes), must be at least 1.\").optional(),\n service_id: z.string().describe(\"Unique identifier (id) of the service to update.\"),\n description: z.string().describe(\"New description of the service (sets both German and English info text).\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to. Required by the eTermin API.\").optional(),\n}).describe(\"Request model for updating an existing service in eTermin.\");\nexport const EterminUpdateServiceOutput = z.object({\n service: z.record(z.string(), z.unknown()).describe(\"Updated service object returned by eTermin\"),\n}).describe(\"Response model for updated service.\");\n\nexport const eterminUpdateService = action(\"ETERMIN_UPDATE_SERVICE\", {\n slug: \"etermin-update-service\",\n name: \"Update Service\",\n description: \"Tool to update an existing service. Use when you need to modify service details after confirming the service ID.\",\n input: EterminUpdateServiceInput,\n output: EterminUpdateServiceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,EAClG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-service.mjs","names":[],"sources":["../../src/actions/update-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceInput = z.object({\n name: z.string().describe(\"New name of the service (sets both German and English names).\").optional(),\n price: z.number().describe(\"New price of the service, must be non-negative.\").optional(),\n duration: z.number().int().describe(\"New duration of the service in minutes (timeslotminutes), must be at least 1.\").optional(),\n service_id: z.string().describe(\"Unique identifier (id) of the service to update.\"),\n description: z.string().describe(\"New description of the service (sets both German and English info text).\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to. Required by the eTermin API.\").optional(),\n}).describe(\"Request model for updating an existing service in eTermin.\");\nexport const EterminUpdateServiceOutput = z.object({\n service: z.record(z.string(), z.unknown()).describe(\"Updated service object returned by eTermin\"),\n}).passthrough().describe(\"Response model for updated service.\");\n\nexport const eterminUpdateService = action(\"ETERMIN_UPDATE_SERVICE\", {\n slug: \"etermin-update-service\",\n name: \"Update Service\",\n description: \"Tool to update an existing service. Use when you need to modify service details after confirming the service ID.\",\n input: EterminUpdateServiceInput,\n output: EterminUpdateServiceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const EterminUpdateSyncAppointmentOutput = zod.z.object({
|
|
|
20
20
|
message: zod.z.string().describe("Status message describing the result of the operation").nullable(),
|
|
21
21
|
success: zod.z.boolean().describe("Indicates whether the appointment was successfully updated").nullable(),
|
|
22
22
|
records_updated: zod.z.number().int().describe("Number of appointment records that were updated").nullable().optional()
|
|
23
|
-
}).describe("Response model for updating a synchronised appointment in eTermin.");
|
|
23
|
+
}).passthrough().describe("Response model for updating a synchronised appointment in eTermin.");
|
|
24
24
|
const eterminUpdateSyncAppointment = require_action.action("ETERMIN_UPDATE_SYNC_APPOINTMENT", {
|
|
25
25
|
slug: "etermin-update-sync-appointment",
|
|
26
26
|
name: "Update Synchronised Appointment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sync-appointment.cjs","names":["z","action"],"sources":["../../src/actions/update-sync-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateSyncAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 12:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment is located\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment to update (ExternalID in UUID format)\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for updating a synchronised appointment in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).\");\nexport const EterminUpdateSyncAppointmentOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully updated\").nullable(),\n records_updated: z.number().int().describe(\"Number of appointment records that were updated\").nullable().optional(),\n}).describe(\"Response model for updating a synchronised appointment in eTermin.\");\n\nexport const eterminUpdateSyncAppointment = action(\"ETERMIN_UPDATE_SYNC_APPOINTMENT\", {\n slug: \"etermin-update-sync-appointment\",\n name: \"Update Synchronised Appointment\",\n description: \"Tool to update a synchronised appointment in eTermin. Use when you need to modify an existing synced appointment with updated date/time, location, or other details. Requires the appointment ID (ExternalID) and updated date/time in both local and UTC formats.\",\n input: EterminUpdateSyncAppointmentInput,\n output: EterminUpdateSyncAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,oEAAoE;
|
|
1
|
+
{"version":3,"file":"update-sync-appointment.cjs","names":["z","action"],"sources":["../../src/actions/update-sync-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateSyncAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 12:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment is located\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment to update (ExternalID in UUID format)\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for updating a synchronised appointment in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).\");\nexport const EterminUpdateSyncAppointmentOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully updated\").nullable(),\n records_updated: z.number().int().describe(\"Number of appointment records that were updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a synchronised appointment in eTermin.\");\n\nexport const eterminUpdateSyncAppointment = action(\"ETERMIN_UPDATE_SYNC_APPOINTMENT\", {\n slug: \"etermin-update-sync-appointment\",\n name: \"Update Synchronised Appointment\",\n description: \"Tool to update a synchronised appointment in eTermin. Use when you need to modify an existing synced appointment with updated date/time, location, or other details. Requires the appointment ID (ExternalID) and updated date/time in both local and UTC formats.\",\n input: EterminUpdateSyncAppointmentInput,\n output: EterminUpdateSyncAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const EterminUpdateSyncAppointmentOutput: z.ZodObject<{
|
|
|
20
20
|
message: z.ZodNullable<z.ZodString>;
|
|
21
21
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
22
22
|
records_updated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
end: string;
|
|
26
26
|
start: string;
|
|
@@ -20,7 +20,7 @@ declare const EterminUpdateSyncAppointmentOutput: z.ZodObject<{
|
|
|
20
20
|
message: z.ZodNullable<z.ZodString>;
|
|
21
21
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
22
22
|
records_updated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
end: string;
|
|
26
26
|
start: string;
|
|
@@ -23,7 +23,7 @@ const eterminUpdateSyncAppointment = action("ETERMIN_UPDATE_SYNC_APPOINTMENT", {
|
|
|
23
23
|
message: z.string().describe("Status message describing the result of the operation").nullable(),
|
|
24
24
|
success: z.boolean().describe("Indicates whether the appointment was successfully updated").nullable(),
|
|
25
25
|
records_updated: z.number().int().describe("Number of appointment records that were updated").nullable().optional()
|
|
26
|
-
}).describe("Response model for updating a synchronised appointment in eTermin.")
|
|
26
|
+
}).passthrough().describe("Response model for updating a synchronised appointment in eTermin.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { eterminUpdateSyncAppointment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sync-appointment.mjs","names":[],"sources":["../../src/actions/update-sync-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateSyncAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 12:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment is located\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment to update (ExternalID in UUID format)\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for updating a synchronised appointment in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).\");\nexport const EterminUpdateSyncAppointmentOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully updated\").nullable(),\n records_updated: z.number().int().describe(\"Number of appointment records that were updated\").nullable().optional(),\n}).describe(\"Response model for updating a synchronised appointment in eTermin.\");\n\nexport const eterminUpdateSyncAppointment = action(\"ETERMIN_UPDATE_SYNC_APPOINTMENT\", {\n slug: \"etermin-update-sync-appointment\",\n name: \"Update Synchronised Appointment\",\n description: \"Tool to update a synchronised appointment in eTermin. Use when you need to modify an existing synced appointment with updated date/time, location, or other details. Requires the appointment ID (ExternalID) and updated date/time in both local and UTC formats.\",\n input: EterminUpdateSyncAppointmentInput,\n output: EterminUpdateSyncAppointmentOutput,\n});\n"],"mappings":";;AAyBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,qJAWH;CACP,QAXgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-sync-appointment.mjs","names":[],"sources":["../../src/actions/update-sync-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateSyncAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 12:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment is located\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment to update (ExternalID in UUID format)\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for updating a synchronised appointment in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).\");\nexport const EterminUpdateSyncAppointmentOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully updated\").nullable(),\n records_updated: z.number().int().describe(\"Number of appointment records that were updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a synchronised appointment in eTermin.\");\n\nexport const eterminUpdateSyncAppointment = action(\"ETERMIN_UPDATE_SYNC_APPOINTMENT\", {\n slug: \"etermin-update-sync-appointment\",\n name: \"Update Synchronised Appointment\",\n description: \"Tool to update a synchronised appointment in eTermin. Use when you need to modify an existing synced appointment with updated date/time, location, or other details. Requires the appointment ID (ExternalID) and updated date/time in both local and UTC formats.\",\n input: EterminUpdateSyncAppointmentInput,\n output: EterminUpdateSyncAppointmentOutput,\n});\n"],"mappings":";;AAyBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,qJAWH;CACP,QAXgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const EterminUpdateUsermappingInput = zod.z.object({
|
|
|
18
18
|
const EterminUpdateUsermappingOutput = zod.z.object({
|
|
19
19
|
status: zod.z.number().describe("HTTP status code of the update operation").nullable().optional(),
|
|
20
20
|
statusmsg: zod.z.string().describe("Status message indicating the result, e.g., '1 records updated!'").nullable().optional()
|
|
21
|
-
}).describe("Response model for updating a usermapping in eTermin.");
|
|
21
|
+
}).passthrough().describe("Response model for updating a usermapping in eTermin.");
|
|
22
22
|
const eterminUpdateUsermapping = require_action.action("ETERMIN_UPDATE_USERMAPPING", {
|
|
23
23
|
slug: "etermin-update-usermapping",
|
|
24
24
|
name: "Update Usermapping",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/update-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateUsermappingInput = z.object({\n id: z.number().int().describe(\"ID of the usermapping to update. Obtain from list usermappings endpoint.\"),\n value: z.number().int().describe(\"Value to match when valuetype is 0 (equals), 2 (last 2 digits), or 3 (last 3 digits). Required unless valuetype is 1.\").optional(),\n valueto: z.number().int().describe(\"Last number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuefrom: z.number().int().describe(\"First number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuetype: z.enum([\"0\", \"1\", \"2\", \"3\"]).describe(\"Type of number search: '0' for exact match, '1' for range, '2' for last 2 digits, '3' for last 3 digits.\"),\n calendarid: z.string().describe(\"Comma-separated list of calendar IDs that work with this search value. Default is -1 for all calendars.\").optional(),\n servicegroupid: z.string().describe(\"Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.\").optional(),\n}).describe(\"Request model for updating a usermapping in eTermin.\");\nexport const EterminUpdateUsermappingOutput = z.object({\n status: z.number().describe(\"HTTP status code of the update operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result, e.g., '1 records updated!'\").nullable().optional(),\n}).describe(\"Response model for updating a usermapping in eTermin.\");\n\nexport const eterminUpdateUsermapping = action(\"ETERMIN_UPDATE_USERMAPPING\", {\n slug: \"etermin-update-usermapping\",\n name: \"Update Usermapping\",\n description: \"Update an existing usermapping in eTermin. Use this when you need to modify usermapping search criteria, calendar assignments, or service group mappings.\",\n input: EterminUpdateUsermappingInput,\n output: EterminUpdateUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACpI,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAC3J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"update-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/update-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateUsermappingInput = z.object({\n id: z.number().int().describe(\"ID of the usermapping to update. Obtain from list usermappings endpoint.\"),\n value: z.number().int().describe(\"Value to match when valuetype is 0 (equals), 2 (last 2 digits), or 3 (last 3 digits). Required unless valuetype is 1.\").optional(),\n valueto: z.number().int().describe(\"Last number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuefrom: z.number().int().describe(\"First number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuetype: z.enum([\"0\", \"1\", \"2\", \"3\"]).describe(\"Type of number search: '0' for exact match, '1' for range, '2' for last 2 digits, '3' for last 3 digits.\"),\n calendarid: z.string().describe(\"Comma-separated list of calendar IDs that work with this search value. Default is -1 for all calendars.\").optional(),\n servicegroupid: z.string().describe(\"Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.\").optional(),\n}).describe(\"Request model for updating a usermapping in eTermin.\");\nexport const EterminUpdateUsermappingOutput = z.object({\n status: z.number().describe(\"HTTP status code of the update operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result, e.g., '1 records updated!'\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a usermapping in eTermin.\");\n\nexport const eterminUpdateUsermapping = action(\"ETERMIN_UPDATE_USERMAPPING\", {\n slug: \"etermin-update-usermapping\",\n name: \"Update Usermapping\",\n description: \"Update an existing usermapping in eTermin. Use this when you need to modify usermapping search criteria, calendar assignments, or service group mappings.\",\n input: EterminUpdateUsermappingInput,\n output: EterminUpdateUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACpI,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAC3J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const EterminUpdateUsermappingInput: z.ZodObject<{
|
|
|
18
18
|
declare const EterminUpdateUsermappingOutput: z.ZodObject<{
|
|
19
19
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
id: number;
|
|
24
24
|
valuetype: "0" | "1" | "2" | "3";
|
|
@@ -18,7 +18,7 @@ declare const EterminUpdateUsermappingInput: z.ZodObject<{
|
|
|
18
18
|
declare const EterminUpdateUsermappingOutput: z.ZodObject<{
|
|
19
19
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
id: number;
|
|
24
24
|
valuetype: "0" | "1" | "2" | "3";
|
|
@@ -21,7 +21,7 @@ const eterminUpdateUsermapping = action("ETERMIN_UPDATE_USERMAPPING", {
|
|
|
21
21
|
output: z.object({
|
|
22
22
|
status: z.number().describe("HTTP status code of the update operation").nullable().optional(),
|
|
23
23
|
statusmsg: z.string().describe("Status message indicating the result, e.g., '1 records updated!'").nullable().optional()
|
|
24
|
-
}).describe("Response model for updating a usermapping in eTermin.")
|
|
24
|
+
}).passthrough().describe("Response model for updating a usermapping in eTermin.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { eterminUpdateUsermapping };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-usermapping.mjs","names":[],"sources":["../../src/actions/update-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateUsermappingInput = z.object({\n id: z.number().int().describe(\"ID of the usermapping to update. Obtain from list usermappings endpoint.\"),\n value: z.number().int().describe(\"Value to match when valuetype is 0 (equals), 2 (last 2 digits), or 3 (last 3 digits). Required unless valuetype is 1.\").optional(),\n valueto: z.number().int().describe(\"Last number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuefrom: z.number().int().describe(\"First number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuetype: z.enum([\"0\", \"1\", \"2\", \"3\"]).describe(\"Type of number search: '0' for exact match, '1' for range, '2' for last 2 digits, '3' for last 3 digits.\"),\n calendarid: z.string().describe(\"Comma-separated list of calendar IDs that work with this search value. Default is -1 for all calendars.\").optional(),\n servicegroupid: z.string().describe(\"Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.\").optional(),\n}).describe(\"Request model for updating a usermapping in eTermin.\");\nexport const EterminUpdateUsermappingOutput = z.object({\n status: z.number().describe(\"HTTP status code of the update operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result, e.g., '1 records updated!'\").nullable().optional(),\n}).describe(\"Response model for updating a usermapping in eTermin.\");\n\nexport const eterminUpdateUsermapping = action(\"ETERMIN_UPDATE_USERMAPPING\", {\n slug: \"etermin-update-usermapping\",\n name: \"Update Usermapping\",\n description: \"Update an existing usermapping in eTermin. Use this when you need to modify usermapping search criteria, calendar assignments, or service group mappings.\",\n input: EterminUpdateUsermappingInput,\n output: EterminUpdateUsermappingOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACpI,WAAW,EAAE,KAAK;GAAC;GAAK;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,0GAA0G;EAC3J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACpJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-usermapping.mjs","names":[],"sources":["../../src/actions/update-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateUsermappingInput = z.object({\n id: z.number().int().describe(\"ID of the usermapping to update. Obtain from list usermappings endpoint.\"),\n value: z.number().int().describe(\"Value to match when valuetype is 0 (equals), 2 (last 2 digits), or 3 (last 3 digits). Required unless valuetype is 1.\").optional(),\n valueto: z.number().int().describe(\"Last number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuefrom: z.number().int().describe(\"First number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuetype: z.enum([\"0\", \"1\", \"2\", \"3\"]).describe(\"Type of number search: '0' for exact match, '1' for range, '2' for last 2 digits, '3' for last 3 digits.\"),\n calendarid: z.string().describe(\"Comma-separated list of calendar IDs that work with this search value. Default is -1 for all calendars.\").optional(),\n servicegroupid: z.string().describe(\"Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.\").optional(),\n}).describe(\"Request model for updating a usermapping in eTermin.\");\nexport const EterminUpdateUsermappingOutput = z.object({\n status: z.number().describe(\"HTTP status code of the update operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result, e.g., '1 records updated!'\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a usermapping in eTermin.\");\n\nexport const eterminUpdateUsermapping = action(\"ETERMIN_UPDATE_USERMAPPING\", {\n slug: \"etermin-update-usermapping\",\n name: \"Update Usermapping\",\n description: \"Update an existing usermapping in eTermin. Use this when you need to modify usermapping search criteria, calendar assignments, or service group mappings.\",\n input: EterminUpdateUsermappingInput,\n output: EterminUpdateUsermappingOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACpI,WAAW,EAAE,KAAK;GAAC;GAAK;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,0GAA0G;EAC3J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACpJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/update-voucher.ts
|
|
4
4
|
const EterminUpdateVoucherInput = zod.z.object({
|
|
5
|
-
data: zod.z.
|
|
5
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool)."),
|
|
6
6
|
voucherId: zod.z.union([zod.z.number().int(), zod.z.string()])
|
|
7
7
|
});
|
|
8
8
|
const EterminUpdateVoucherOutput = zod.z.object({
|
|
@@ -10,7 +10,7 @@ const EterminUpdateVoucherOutput = zod.z.object({
|
|
|
10
10
|
success: zod.z.boolean().describe("Whether the voucher update was successful.").nullable(),
|
|
11
11
|
voucher_id: zod.z.string().describe("The ID of the voucher that was updated (code or numeric ID).").nullable(),
|
|
12
12
|
status_code: zod.z.number().int().describe("HTTP status code from the API response.").nullable()
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const eterminUpdateVoucher = require_action.action("ETERMIN_UPDATE_VOUCHER", {
|
|
15
15
|
slug: "etermin-update-voucher",
|
|
16
16
|
name: "Update Voucher",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-voucher.cjs","names":["z","action"],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"update-voucher.cjs","names":["z","action"],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool).\"),\n voucherId: z.union([z.number().int(), z.string()]),\n});\nexport const EterminUpdateVoucherOutput = z.object({\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable(),\n success: z.boolean().describe(\"Whether the voucher update was successful.\").nullable(),\n voucher_id: z.string().describe(\"The ID of the voucher that was updated (code or numeric ID).\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n}).passthrough();\n\nexport const eterminUpdateVoucher = action(\"ETERMIN_UPDATE_VOUCHER\", {\n slug: \"etermin-update-voucher\",\n name: \"Update Voucher\",\n description: \"Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.\",\n input: EterminUpdateVoucherInput,\n output: EterminUpdateVoucherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6WAA6W;CAC9Z,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACnD,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-voucher.d.ts
|
|
4
4
|
declare const EterminUpdateVoucherInput: z.ZodObject<{
|
|
5
|
-
data: z.
|
|
5
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
voucherId: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const EterminUpdateVoucherOutput: z.ZodObject<{
|
|
@@ -10,9 +10,9 @@ declare const EterminUpdateVoucherOutput: z.ZodObject<{
|
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
11
|
voucher_id: z.ZodNullable<z.ZodString>;
|
|
12
12
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
-
data: Record<string,
|
|
15
|
+
data: Record<string, unknown>;
|
|
16
16
|
voucherId: string | number;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-voucher.d.ts
|
|
4
4
|
declare const EterminUpdateVoucherInput: z.ZodObject<{
|
|
5
|
-
data: z.
|
|
5
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
voucherId: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const EterminUpdateVoucherOutput: z.ZodObject<{
|
|
@@ -10,9 +10,9 @@ declare const EterminUpdateVoucherOutput: z.ZodObject<{
|
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
11
|
voucher_id: z.ZodNullable<z.ZodString>;
|
|
12
12
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
-
data: Record<string,
|
|
15
|
+
data: Record<string, unknown>;
|
|
16
16
|
voucherId: string | number;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
@@ -5,7 +5,7 @@ const eterminUpdateVoucher = action("ETERMIN_UPDATE_VOUCHER", {
|
|
|
5
5
|
name: "Update Voucher",
|
|
6
6
|
description: "Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
data: z.
|
|
8
|
+
data: z.record(z.string(), z.unknown()).describe("Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool)."),
|
|
9
9
|
voucherId: z.union([z.number().int(), z.string()])
|
|
10
10
|
}),
|
|
11
11
|
output: z.object({
|
|
@@ -13,7 +13,7 @@ const eterminUpdateVoucher = action("ETERMIN_UPDATE_VOUCHER", {
|
|
|
13
13
|
success: z.boolean().describe("Whether the voucher update was successful.").nullable(),
|
|
14
14
|
voucher_id: z.string().describe("The ID of the voucher that was updated (code or numeric ID).").nullable(),
|
|
15
15
|
status_code: z.number().int().describe("HTTP status code from the API response.").nullable()
|
|
16
|
-
})
|
|
16
|
+
}).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { eterminUpdateVoucher };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-voucher.mjs","names":[],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"update-voucher.mjs","names":[],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool).\"),\n voucherId: z.union([z.number().int(), z.string()]),\n});\nexport const EterminUpdateVoucherOutput = z.object({\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable(),\n success: z.boolean().describe(\"Whether the voucher update was successful.\").nullable(),\n voucher_id: z.string().describe(\"The ID of the voucher that was updated (code or numeric ID).\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n}).passthrough();\n\nexport const eterminUpdateVoucher = action(\"ETERMIN_UPDATE_VOUCHER\", {\n slug: \"etermin-update-voucher\",\n name: \"Update Voucher\",\n description: \"Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.\",\n input: EterminUpdateVoucherInput,\n output: EterminUpdateVoucherOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6WAA6W;EAC9Z,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CACnD,CAYS;CACP,QAZwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|