@keystrokehq/etermin 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/assign-calendar-service.cjs +3 -3
- package/dist/actions/assign-calendar-service.cjs.map +1 -1
- package/dist/actions/assign-calendar-service.d.cts +4 -8
- package/dist/actions/assign-calendar-service.d.mts +4 -8
- package/dist/actions/assign-calendar-service.mjs +3 -3
- package/dist/actions/assign-calendar-service.mjs.map +1 -1
- package/dist/actions/create-absence.cjs +3 -3
- package/dist/actions/create-absence.cjs.map +1 -1
- package/dist/actions/create-absence.d.cts +4 -9
- package/dist/actions/create-absence.d.mts +4 -9
- package/dist/actions/create-absence.mjs +3 -3
- package/dist/actions/create-absence.mjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.cts +1 -4
- package/dist/actions/create-anchortime-by-date.d.mts +1 -4
- package/dist/actions/create-anchortime.d.cts +2 -5
- package/dist/actions/create-anchortime.d.mts +2 -5
- 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 +2 -6
- package/dist/actions/create-appointment-sync.d.mts +2 -6
- 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 +6 -6
- package/dist/actions/create-appointment.cjs.map +1 -1
- package/dist/actions/create-appointment.d.cts +7 -14
- package/dist/actions/create-appointment.d.mts +7 -14
- package/dist/actions/create-appointment.mjs +6 -6
- package/dist/actions/create-appointment.mjs.map +1 -1
- package/dist/actions/create-calendar-return-time.cjs +1 -1
- package/dist/actions/create-calendar-return-time.cjs.map +1 -1
- package/dist/actions/create-calendar-return-time.d.cts +3 -7
- package/dist/actions/create-calendar-return-time.d.mts +3 -7
- 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.d.cts +1 -7
- package/dist/actions/create-contact.d.mts +1 -7
- package/dist/actions/create-service-group.cjs +3 -3
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +4 -8
- package/dist/actions/create-service-group.d.mts +4 -8
- package/dist/actions/create-service-group.mjs +3 -3
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-service.cjs +3 -3
- package/dist/actions/create-service.cjs.map +1 -1
- package/dist/actions/create-service.d.cts +4 -8
- package/dist/actions/create-service.d.mts +4 -8
- package/dist/actions/create-service.mjs +3 -3
- 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 +2 -6
- package/dist/actions/create-user.d.mts +2 -6
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/create-usermapping.cjs +3 -3
- package/dist/actions/create-usermapping.cjs.map +1 -1
- package/dist/actions/create-usermapping.d.cts +4 -8
- package/dist/actions/create-usermapping.d.mts +4 -8
- package/dist/actions/create-usermapping.mjs +3 -3
- package/dist/actions/create-usermapping.mjs.map +1 -1
- package/dist/actions/create-voucher.cjs +2 -2
- package/dist/actions/create-voucher.cjs.map +1 -1
- package/dist/actions/create-voucher.d.cts +3 -12
- package/dist/actions/create-voucher.d.mts +3 -12
- package/dist/actions/create-voucher.mjs +2 -2
- 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 +3 -8
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -8
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +2 -2
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/create-working-time.d.cts +1 -4
- package/dist/actions/create-working-time.d.mts +1 -4
- package/dist/actions/create-working-times-date.cjs +3 -3
- package/dist/actions/create-working-times-date.cjs.map +1 -1
- package/dist/actions/create-working-times-date.d.cts +4 -8
- package/dist/actions/create-working-times-date.d.mts +4 -8
- package/dist/actions/create-working-times-date.mjs +3 -3
- package/dist/actions/create-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-absence.cjs +1 -1
- package/dist/actions/delete-absence.cjs.map +1 -1
- package/dist/actions/delete-absence.d.cts +2 -6
- package/dist/actions/delete-absence.d.mts +2 -6
- 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 +3 -7
- package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.mts +3 -7
- package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
- 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 +2 -5
- package/dist/actions/delete-anchortime.d.mts +2 -5
- 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 +2 -6
- package/dist/actions/delete-appointment-sync.d.mts +2 -6
- 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 +2 -2
- package/dist/actions/delete-appointment.cjs.map +1 -1
- package/dist/actions/delete-appointment.d.cts +3 -7
- package/dist/actions/delete-appointment.d.cts.map +1 -1
- package/dist/actions/delete-appointment.d.mts +3 -7
- package/dist/actions/delete-appointment.d.mts.map +1 -1
- package/dist/actions/delete-appointment.mjs +2 -2
- 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 +2 -5
- package/dist/actions/delete-calendar-return-time.d.mts +2 -5
- 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 +2 -5
- package/dist/actions/delete-calendar-service.d.mts +2 -5
- 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 +2 -6
- package/dist/actions/delete-calendar.d.mts +2 -6
- 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 +2 -5
- package/dist/actions/delete-contact.d.mts +2 -5
- 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 +2 -7
- package/dist/actions/delete-resource.d.mts +2 -7
- package/dist/actions/delete-resource.mjs +1 -1
- package/dist/actions/delete-resource.mjs.map +1 -1
- package/dist/actions/delete-service.cjs +3 -3
- package/dist/actions/delete-service.cjs.map +1 -1
- package/dist/actions/delete-service.d.cts +4 -8
- package/dist/actions/delete-service.d.mts +4 -8
- package/dist/actions/delete-service.mjs +3 -3
- package/dist/actions/delete-service.mjs.map +1 -1
- package/dist/actions/delete-servicegroup.cjs +2 -2
- package/dist/actions/delete-servicegroup.cjs.map +1 -1
- package/dist/actions/delete-servicegroup.d.cts +3 -6
- package/dist/actions/delete-servicegroup.d.mts +3 -6
- package/dist/actions/delete-servicegroup.mjs +2 -2
- 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 +2 -5
- package/dist/actions/delete-user.d.mts +2 -5
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/delete-usermapping.cjs +2 -2
- package/dist/actions/delete-usermapping.cjs.map +1 -1
- package/dist/actions/delete-usermapping.d.cts +3 -6
- package/dist/actions/delete-usermapping.d.mts +3 -6
- package/dist/actions/delete-usermapping.mjs +2 -2
- 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 +2 -5
- package/dist/actions/delete-voucher.d.mts +2 -5
- package/dist/actions/delete-voucher.mjs +1 -1
- package/dist/actions/delete-voucher.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +2 -2
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -6
- package/dist/actions/delete-webhook.d.mts +3 -6
- package/dist/actions/delete-webhook.mjs +2 -2
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/delete-working-times-date.cjs +2 -2
- package/dist/actions/delete-working-times-date.cjs.map +1 -1
- package/dist/actions/delete-working-times-date.d.cts +3 -6
- package/dist/actions/delete-working-times-date.d.mts +3 -6
- package/dist/actions/delete-working-times-date.mjs +2 -2
- package/dist/actions/delete-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-working-times.cjs +2 -2
- package/dist/actions/delete-working-times.cjs.map +1 -1
- package/dist/actions/delete-working-times.d.cts +3 -6
- package/dist/actions/delete-working-times.d.mts +3 -6
- package/dist/actions/delete-working-times.mjs +2 -2
- package/dist/actions/delete-working-times.mjs.map +1 -1
- package/dist/actions/get-absences.cjs +7 -7
- package/dist/actions/get-absences.cjs.map +1 -1
- package/dist/actions/get-absences.d.cts +8 -18
- package/dist/actions/get-absences.d.mts +8 -18
- package/dist/actions/get-absences.mjs +7 -7
- package/dist/actions/get-absences.mjs.map +1 -1
- package/dist/actions/get-anchortime-date.cjs +5 -5
- package/dist/actions/get-anchortime-date.cjs.map +1 -1
- package/dist/actions/get-anchortime-date.d.cts +6 -15
- package/dist/actions/get-anchortime-date.d.mts +6 -15
- package/dist/actions/get-anchortime-date.mjs +5 -5
- package/dist/actions/get-anchortime-date.mjs.map +1 -1
- package/dist/actions/get-anchortimes.cjs +5 -5
- package/dist/actions/get-anchortimes.cjs.map +1 -1
- package/dist/actions/get-anchortimes.d.cts +6 -15
- package/dist/actions/get-anchortimes.d.mts +6 -15
- package/dist/actions/get-anchortimes.mjs +5 -5
- package/dist/actions/get-anchortimes.mjs.map +1 -1
- package/dist/actions/get-appointment-sync.cjs +73 -73
- package/dist/actions/get-appointment-sync.cjs.map +1 -1
- package/dist/actions/get-appointment-sync.d.cts +74 -151
- package/dist/actions/get-appointment-sync.d.mts +74 -151
- package/dist/actions/get-appointment-sync.mjs +73 -73
- package/dist/actions/get-appointment-sync.mjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.cjs +5 -5
- package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.cts +6 -14
- package/dist/actions/get-bookingpage-logs.d.mts +6 -14
- package/dist/actions/get-bookingpage-logs.mjs +5 -5
- package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
- package/dist/actions/get-calendar-return-time.cjs +9 -9
- package/dist/actions/get-calendar-return-time.cjs.map +1 -1
- package/dist/actions/get-calendar-return-time.d.cts +10 -22
- package/dist/actions/get-calendar-return-time.d.mts +10 -22
- package/dist/actions/get-calendar-return-time.mjs +9 -9
- package/dist/actions/get-calendar-return-time.mjs.map +1 -1
- package/dist/actions/get-calendars.cjs +5 -5
- package/dist/actions/get-calendars.cjs.map +1 -1
- package/dist/actions/get-calendars.d.cts +6 -17
- package/dist/actions/get-calendars.d.cts.map +1 -1
- package/dist/actions/get-calendars.d.mts +6 -17
- package/dist/actions/get-calendars.d.mts.map +1 -1
- package/dist/actions/get-calendars.mjs +5 -5
- package/dist/actions/get-calendars.mjs.map +1 -1
- package/dist/actions/get-calendarservice.cjs +3 -3
- package/dist/actions/get-calendarservice.cjs.map +1 -1
- package/dist/actions/get-calendarservice.d.cts +4 -11
- package/dist/actions/get-calendarservice.d.mts +4 -11
- package/dist/actions/get-calendarservice.mjs +3 -3
- package/dist/actions/get-calendarservice.mjs.map +1 -1
- package/dist/actions/get-company.cjs +19 -19
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +20 -43
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +20 -43
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +19 -19
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +49 -49
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +50 -103
- package/dist/actions/get-contact-by-id.d.mts +50 -103
- package/dist/actions/get-contact-by-id.mjs +49 -49
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +49 -49
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +50 -103
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +50 -103
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +49 -49
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-deleted-appointments.cjs +18 -18
- package/dist/actions/get-deleted-appointments.cjs.map +1 -1
- package/dist/actions/get-deleted-appointments.d.cts +19 -41
- package/dist/actions/get-deleted-appointments.d.mts +19 -41
- package/dist/actions/get-deleted-appointments.mjs +18 -18
- package/dist/actions/get-deleted-appointments.mjs.map +1 -1
- package/dist/actions/get-message-logs.cjs +9 -9
- package/dist/actions/get-message-logs.cjs.map +1 -1
- package/dist/actions/get-message-logs.d.cts +10 -22
- package/dist/actions/get-message-logs.d.mts +10 -22
- package/dist/actions/get-message-logs.mjs +9 -9
- package/dist/actions/get-message-logs.mjs.map +1 -1
- package/dist/actions/get-rating.cjs +11 -11
- package/dist/actions/get-rating.cjs.map +1 -1
- package/dist/actions/get-rating.d.cts +12 -27
- package/dist/actions/get-rating.d.cts.map +1 -1
- package/dist/actions/get-rating.d.mts +12 -27
- package/dist/actions/get-rating.d.mts.map +1 -1
- package/dist/actions/get-rating.mjs +11 -11
- package/dist/actions/get-rating.mjs.map +1 -1
- package/dist/actions/get-service-by-id.cjs +4 -4
- package/dist/actions/get-service-by-id.cjs.map +1 -1
- package/dist/actions/get-service-by-id.d.cts +5 -22
- package/dist/actions/get-service-by-id.d.mts +5 -22
- package/dist/actions/get-service-by-id.mjs +4 -4
- package/dist/actions/get-service-by-id.mjs.map +1 -1
- package/dist/actions/get-service-calendar.d.cts +1 -6
- package/dist/actions/get-service-calendar.d.mts +1 -6
- package/dist/actions/get-servicegroup.cjs +25 -25
- package/dist/actions/get-servicegroup.cjs.map +1 -1
- package/dist/actions/get-servicegroup.d.cts +26 -55
- package/dist/actions/get-servicegroup.d.mts +26 -55
- package/dist/actions/get-servicegroup.mjs +25 -25
- package/dist/actions/get-servicegroup.mjs.map +1 -1
- package/dist/actions/get-services.cjs +4 -4
- package/dist/actions/get-services.cjs.map +1 -1
- package/dist/actions/get-services.d.cts +5 -22
- package/dist/actions/get-services.d.cts.map +1 -1
- package/dist/actions/get-services.d.mts +5 -22
- package/dist/actions/get-services.d.mts.map +1 -1
- package/dist/actions/get-services.mjs +4 -4
- package/dist/actions/get-services.mjs.map +1 -1
- package/dist/actions/get-survey-results.cjs +6 -6
- package/dist/actions/get-survey-results.cjs.map +1 -1
- package/dist/actions/get-survey-results.d.cts +7 -16
- package/dist/actions/get-survey-results.d.mts +7 -16
- package/dist/actions/get-survey-results.mjs +6 -6
- package/dist/actions/get-survey-results.mjs.map +1 -1
- package/dist/actions/get-timeslots.cjs +4 -4
- package/dist/actions/get-timeslots.cjs.map +1 -1
- package/dist/actions/get-timeslots.d.cts +5 -13
- package/dist/actions/get-timeslots.d.mts +5 -13
- package/dist/actions/get-timeslots.mjs +4 -4
- package/dist/actions/get-timeslots.mjs.map +1 -1
- package/dist/actions/get-usermapping.cjs +7 -7
- package/dist/actions/get-usermapping.cjs.map +1 -1
- package/dist/actions/get-usermapping.d.cts +8 -19
- package/dist/actions/get-usermapping.d.mts +8 -19
- package/dist/actions/get-usermapping.mjs +7 -7
- package/dist/actions/get-usermapping.mjs.map +1 -1
- package/dist/actions/get-users.cjs +26 -26
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +27 -58
- package/dist/actions/get-users.d.cts.map +1 -1
- package/dist/actions/get-users.d.mts +27 -58
- package/dist/actions/get-users.d.mts.map +1 -1
- package/dist/actions/get-users.mjs +26 -26
- 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 +2 -11
- package/dist/actions/get-working-times-date.d.mts +2 -11
- 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 +2 -12
- package/dist/actions/get-working-times.d.mts +2 -12
- 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 +19 -19
- package/dist/actions/list-appointments.cjs.map +1 -1
- package/dist/actions/list-appointments.d.cts +20 -43
- package/dist/actions/list-appointments.d.mts +20 -43
- package/dist/actions/list-appointments.mjs +19 -19
- package/dist/actions/list-appointments.mjs.map +1 -1
- package/dist/actions/list-vouchers.cjs +19 -19
- package/dist/actions/list-vouchers.cjs.map +1 -1
- package/dist/actions/list-vouchers.d.cts +20 -41
- package/dist/actions/list-vouchers.d.cts.map +1 -1
- package/dist/actions/list-vouchers.d.mts +20 -41
- package/dist/actions/list-vouchers.d.mts.map +1 -1
- package/dist/actions/list-vouchers.mjs +19 -19
- package/dist/actions/list-vouchers.mjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +1 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +1 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/put-service.cjs +3 -3
- package/dist/actions/put-service.cjs.map +1 -1
- package/dist/actions/put-service.d.cts +4 -8
- package/dist/actions/put-service.d.mts +4 -8
- package/dist/actions/put-service.mjs +3 -3
- 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 +2 -6
- package/dist/actions/update-absence.d.mts +2 -6
- 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 +2 -5
- package/dist/actions/update-anchortime-by-date.d.mts +2 -5
- 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 +2 -2
- package/dist/actions/update-anchortime.cjs.map +1 -1
- package/dist/actions/update-anchortime.d.cts +3 -8
- package/dist/actions/update-anchortime.d.mts +3 -8
- package/dist/actions/update-anchortime.mjs +2 -2
- package/dist/actions/update-anchortime.mjs.map +1 -1
- package/dist/actions/update-appointment.d.cts +1 -4
- package/dist/actions/update-appointment.d.mts +1 -4
- 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 +2 -6
- package/dist/actions/update-calendar-return-time.d.mts +2 -6
- 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 +2 -2
- package/dist/actions/update-calendar.cjs.map +1 -1
- package/dist/actions/update-calendar.d.cts +3 -8
- package/dist/actions/update-calendar.d.mts +3 -8
- package/dist/actions/update-calendar.mjs +2 -2
- package/dist/actions/update-calendar.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +3 -3
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +4 -10
- package/dist/actions/update-contact.d.mts +4 -10
- package/dist/actions/update-contact.mjs +3 -3
- 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 +2 -7
- package/dist/actions/update-resource.d.mts +2 -7
- package/dist/actions/update-resource.mjs +1 -1
- package/dist/actions/update-resource.mjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +1 -4
- package/dist/actions/update-service-group.d.mts +1 -4
- package/dist/actions/update-service.d.cts +1 -3
- package/dist/actions/update-service.d.cts.map +1 -1
- package/dist/actions/update-service.d.mts +1 -3
- package/dist/actions/update-service.d.mts.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 +2 -6
- package/dist/actions/update-sync-appointment.d.mts +2 -6
- 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 +2 -2
- package/dist/actions/update-usermapping.cjs.map +1 -1
- package/dist/actions/update-usermapping.d.cts +3 -6
- package/dist/actions/update-usermapping.d.mts +3 -6
- package/dist/actions/update-usermapping.mjs +2 -2
- package/dist/actions/update-usermapping.mjs.map +1 -1
- package/dist/actions/update-voucher.d.cts +1 -6
- package/dist/actions/update-voucher.d.mts +1 -6
- package/dist/actions/update-webhook.cjs +2 -2
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -7
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -7
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +2 -2
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/update-working-times-date.cjs +2 -2
- package/dist/actions/update-working-times-date.cjs.map +1 -1
- package/dist/actions/update-working-times-date.d.cts +3 -6
- package/dist/actions/update-working-times-date.d.mts +3 -6
- package/dist/actions/update-working-times-date.mjs +2 -2
- package/dist/actions/update-working-times-date.mjs.map +1 -1
- package/dist/actions/update-working-times.cjs +2 -2
- package/dist/actions/update-working-times.cjs.map +1 -1
- package/dist/actions/update-working-times.d.cts +3 -6
- package/dist/actions/update-working-times.d.mts +3 -6
- package/dist/actions/update-working-times.mjs +2 -2
- package/dist/actions/update-working-times.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -116,9 +116,9 @@ declare const EterminCreateServiceInput: z.ZodObject<{
|
|
|
116
116
|
multiservicedurationcalcmethod: z.ZodOptional<z.ZodNumber>;
|
|
117
117
|
}, z.core.$strip>;
|
|
118
118
|
declare const EterminCreateServiceOutput: z.ZodObject<{
|
|
119
|
-
id: z.
|
|
120
|
-
status: z.
|
|
121
|
-
statusmsg: z.
|
|
119
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
120
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
|
+
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
122
|
}, z.core.$strip>;
|
|
123
123
|
declare const eterminCreateService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
124
124
|
servicede: string;
|
|
@@ -233,11 +233,7 @@ declare const eterminCreateService: import("@keystrokehq/action").WorkflowAction
|
|
|
233
233
|
externalreferencecalname?: string | undefined;
|
|
234
234
|
externalreferencelocation?: string | undefined;
|
|
235
235
|
multiservicedurationcalcmethod?: number | undefined;
|
|
236
|
-
},
|
|
237
|
-
id?: number | undefined;
|
|
238
|
-
status?: number | undefined;
|
|
239
|
-
statusmsg?: string | undefined;
|
|
240
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
236
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
241
237
|
//#endregion
|
|
242
238
|
export { eterminCreateService };
|
|
243
239
|
//# sourceMappingURL=create-service.d.mts.map
|
|
@@ -119,9 +119,9 @@ const eterminCreateService = action("ETERMIN_CREATE_SERVICE", {
|
|
|
119
119
|
multiservicedurationcalcmethod: z.number().int().describe("Defines how the duration is calculated if multiple services are selected (0 = all durations are summed up, 1 = only duration of the longest service, 2 = all durations are halfed, 3 = like 2 except the longest service)").optional()
|
|
120
120
|
}).describe("Request model for creating a new service in eTermin."),
|
|
121
121
|
output: z.object({
|
|
122
|
-
id: z.
|
|
123
|
-
status: z.
|
|
124
|
-
statusmsg: z.
|
|
122
|
+
id: z.number().describe("Unique identifier of the newly created service").nullable().optional(),
|
|
123
|
+
status: z.number().describe("HTTP status code of the response").nullable().optional(),
|
|
124
|
+
statusmsg: z.string().describe("Status message describing the result of the operation").nullable().optional()
|
|
125
125
|
}).describe("Response model for newly created service in eTermin.")
|
|
126
126
|
});
|
|
127
127
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-service.mjs","names":[],"sources":["../../src/actions/create-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateServiceInput = z.object({\n PM0: z.number().int().describe(\"Shows online payment options (1 = enabled, 0 = disabled)\").optional(),\n PM1: z.number().int().describe(\"Shows on site payment options (1 = enabled, 0 = disabled)\").optional(),\n PM2: z.number().int().describe(\"Shows by invoice payment options (1 = enabled, 0 = disabled)\").optional(),\n vat: z.number().int().describe(\"Defines the vat rate of the service\").optional(),\n mpbs: z.number().int().describe(\"Defines if the price is multiplied by the amount of booked appointments\").optional(),\n ssca: z.number().int().describe(\"Defines if in the calendar selection the entry all calendars is shown (0 = no, 1 = yes)\").optional(),\n tags: z.string().describe(\"ID of the tags that the contact gets after booking\").optional(),\n image: z.string().describe(\"Image of the service\").optional(),\n price: z.number().describe(\"Price of the service\").optional(),\n rrule: z.string().describe(\"Defines the RRULE for this service\").optional(),\n infode: z.string().describe(\"Additional description of the service in German. For other languages use infoLANGUAGECODE e.g. infoen\").optional(),\n jscode: z.string().describe(\"Used for JavaScript code that will be executed after the booking of the appointment (for example to redirect to another website)\").optional(),\n wowing: z.number().int().describe(\"Set to 0 if the Wowing interface should be disabled for this service\").optional(),\n cluster: z.number().int().describe(\"Defines if the cluster is applied to this service (1 = enabled, 0 = disabled)\").optional(),\n enabled: z.boolean().describe(\"Defines if the service is shown in the frontend\").optional(),\n uselogo: z.boolean().describe(\"True, if the picture of this service should be used for the email logo\").optional(),\n currency: z.string().describe(\"Defines the currency of the service\").optional(),\n extramin: z.number().int().describe(\"Defines total wrap up time\").optional(),\n feedback: z.number().int().describe(\"Set to 0 if the feedback checkbox should not be shown\").optional(),\n nrappsel: z.number().int().describe(\"Defines the maximum / minimum amount of appointments that MUST be selected on the booking page if multiappointment is true (in this service or globally)\").optional(),\n rangeend: z.number().int().describe(\"Days range for the new appointment\").optional(),\n showindb: z.boolean().describe(\"Defines if the service is shown in the most booked area of the Dashboard\").optional(),\n appattrib: z.number().int().describe(\"Defines which attribute is set automatically in appointment. Attributes are binary encoded (1st attribute = 1, 2nd = 2, 3rd = 4; 1st + 2nd = 3)\").optional(),\n appfuture: z.number().int().describe(\"Time the appointment can be booked in the future in days\").optional(),\n infotxtp2: z.string().describe(\"A special placeholder %INFOTEXTP2% for page 2 of the booking page\").optional(),\n maxappsel: z.number().int().describe(\"Defines the maximum amount of appointments that can be selected on the booking page if multiappointment is true (in this service or globally)\").optional(),\n mstextpos: z.number().int().describe(\"Defines the position of capseltext (0 = above selection, 1 = to the right)\").optional(),\n servicede: z.string().describe(\"Name of the service in German. For other languages use serviceLANGUAGECODE e.g. serviceen\"),\n showavcap: z.number().int().describe(\"Defines if the available capacity is shown in time slots (0 = no, 1 = yes)\").optional(),\n sortorder: z.number().int().describe(\"Defines the position in the servicegroup\").optional(),\n emailtxtde: z.string().describe(\"A special placeholder %SERVICETEXT% for emails, use other language codes to set the text (for example emailtxten for english)\").optional(),\n rangestart: z.number().int().describe(\"Days after the last appoinment\").optional(),\n showcalpic: z.number().int().describe(\"Defines if in the calendar picture is shown after the timeslot is selected (0 = no, 1 = yes)\").optional(),\n startedapp: z.number().int().describe(\"Time the appointment can be booked if already started in minutes (has to be a negative value)\").optional(),\n tagscancel: z.string().describe(\"ID of the tags that the contact gets after cancellation of the appointment\").optional(),\n addapphours: z.number().int().describe(\"Hours after the first appointment, where a second appointment is booked\").optional(),\n appdeadline: z.number().int().describe(\"Time the appointment must be booked in advance in minutes\").optional(),\n bookingtype: z.number().int().describe(\"Defines the bookingtype (0 = appointment, 1 = no appointment booking allowed, 2 = 'negative' appointment, 3 = reservation list, 4 = voucher sale)\").optional(),\n emailsender: z.string().describe(\"Defines the sender address of the email for this service\").optional(),\n infodisplay: z.number().int().describe(\"Defines where the information is shown (0 = below service name, 1 = informationtext page 2, 2 = summary after booking, 3 = below service name and summary after booking)\").optional(),\n maxcapacity: z.number().describe(\"Sets the maximum capacity of the service\").optional(),\n maxminslots: z.boolean().describe(\"Defines if nrappsel is maximum (false) or minimum (true)\").optional(),\n notearlyapp: z.number().int().describe(\"Defines if the customer should get an email if an earlier appointment is available (0 = not active, 1 = for appointments that were cancelled online, 2 = for appointments cancelled online and manually, 3 = like 1 but per calendar, 4 = like 2 but per calendar)\").optional(),\n showcalname: z.number().int().describe(\"Defines if in the calendar name is shown in the time slot (0 = no, 1 = yes)\").optional(),\n waitinglist: z.number().int().describe(\"Defines if the waiting list should be available (0 = no, 1 = yes)\").optional(),\n abbreviation: z.string().describe(\"Abbreviation of the service\").optional(),\n capseltextde: z.string().describe(\"Defines the text if there is a capacity selection on that service, use other language codes to set the text (for example capseltexten for english)\").optional(),\n extramintype: z.number().int().describe(\"0 if extramin should not be applied if differenttimeresource is true, 1 if extramin should be added to timeslotminutesresend\").optional(),\n limitbooking: z.number().int().describe(\"Defines if this service can be booked a limited amount of times per customer (0 = no, 1 = yes)\").optional(),\n limitservice: z.number().int().describe(\"Defines if the limitation only applies to this specific service\").optional(),\n priceinfopos: z.number().int().describe(\"Defines where the pricesuffix is shown (0 = left side, 1 = right side)\").optional(),\n showinternal: z.boolean().describe(\"Defines if the service is shown in the backend\").optional(),\n voucherfield: z.number().int().describe(\"Defines if the voucherfield is shown (0 = not shown, 1 = shown, 2 = shown and mandatory)\").optional(),\n workloadperc: z.number().int().describe(\"Defines the percentage of time slots that are not shown\").optional(),\n bookingminute: z.number().int().describe(\"Defines when the timeslots are shown (61 = no restrictions, 0 = every full hour, 31 = every full and half hour, 15 or 30 or 45 = x minutes after a full hour)\").optional(),\n pricesuffixde: z.string().describe(\"Additional information for the price, use other language codes to set the text (for example pricesuffixen for english)\").optional(),\n reminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n canceldeadline: z.number().int().describe(\"Time the appointment can be cancelled in hours\").optional(),\n capacitynonsel: z.number().describe(\"Sets the capacity if selected on the booking page (needs showcapselectionbox to be false)\").optional(),\n enablecapacity: z.boolean().describe(\"True to enable the capacity of the service\").optional(),\n hideserviceids: z.string().describe(\"Service(s) that should be hidden, if this service is selected\").optional(),\n issubscription: z.boolean().describe(\"Defines if the service is a subscription\").optional(),\n reminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to\"),\n showserviceids: z.string().describe(\"Service(s) that have to be selected to show this service\").optional(),\n timeslotformat: z.number().int().describe(\"Defines how the timeslots are shown on page 2 on the bookingpage (0 = starttime - endtime, 1 = starttime, 2 = only date, 3 = calendar week, 4 = like 0 but with dates, 5 = startdate only)\").optional(),\n calcdrivingtime: z.number().int().describe(\"Defines if driving time should be calculated (0 = no, 1 = yes)\").optional(),\n customerconfirm: z.number().int().describe(\"Defines if the customer needs to confirm the appointment (1 = enabled, 0 = disabled; doesn't work with online payments or vendorconfirmation)\").optional(),\n infotextinslots: z.boolean().describe(\"True, if the info text should be shown in the slot text in page 2 of the booking page\").optional(),\n multiservicemax: z.number().int().describe(\"Defines the maximum amount that can be choosen for multi service selection\").optional(),\n multiservicemin: z.number().int().describe(\"Defines the minimum amount that can be choosen for multi service selection\").optional(),\n multiservicesel: z.boolean().describe(\"True, if the service can be booked multiple times after another. This won't work if the parameter enablecapacity is true aswell\").optional(),\n paymentduration: z.number().int().describe(\"Defines the payment term for LexOffice\").optional(),\n pricediffperday: z.boolean().describe(\"Defines if different prices per weekday are applied\").optional(),\n smsconfirmation: z.number().int().describe(\"Defines if a SMS confirmation is sent after booking (1 = enabled, 0 = disabled)\").optional(),\n timeslotminutes: z.number().int().describe(\"Duration of the service in minutes\"),\n dayselectiontype: z.number().int().describe(\"Defines how page 2 shows the available days (0 = Calendar, 1 = list of days)\").optional(),\n multiappointment: z.number().int().describe(\"Defines if multiple appointments can be booked in one booking (0 = no, 1 = yes)\").optional(),\n nrappseladjacent: z.boolean().describe(\"True, if the selected appointments have to be adjacent\").optional(),\n timeslotcombined: z.number().int().describe(\"Defines the time of the appointment if booked with another service. differenttimecombined has to be true\").optional(),\n calendarselection: z.number().int().describe(\"Defines if the calendar selection should be shown (0 = no, 1 = yes)\").optional(),\n externalreference: z.string().describe(\"Used for a tag ID or external reference after booking\").optional(),\n limitappointments: z.number().int().describe(\"Defines how many appointments can be booked per customer\").optional(),\n nrtimeslotentries: z.number().int().describe(\"Defines the maximum amount of time slots that are shown\").optional(),\n priceispercentage: z.boolean().describe(\"True if price is a percentage\").optional(),\n maxcapacityusersel: z.number().describe(\"Sets the maximum capacity the user can set on the booking page (needs showcapselectionbox to be true)\").optional(),\n vendorconfirmation: z.number().int().describe(\"Defines if the appointment provider needs to manually confirm the appointment (0 = manually, 1 = automatically)\").optional(),\n wowingautomationid: z.number().int().describe(\"Defines the Woing Automation ID\").optional(),\n appointmentlocation: z.number().int().describe(\"Defines the location of the appointment\").optional(),\n customerconfirmtime: z.number().int().describe(\"Time in minutes the customer has time to confirm the appointment (customerconfirm must be set to 1)\").optional(),\n showcapselectionbox: z.boolean().describe(\"True if the customer is able to select the capacity\").optional(),\n allowonlythisservice: z.boolean().describe(\"If there are multiple services with capacity available at the same time, this option prevents that they will get mixed, if set to true\").optional(),\n fillcalendarstrategy: z.number().int().describe(\"Defines how the calender should be filled (0 = standard, 1 = random, 2 = round Robin, 3 = sequential, 4 = skills, 5 = strict round Robin)\").optional(),\n multiplypricewithcap: z.boolean().describe(\"Defines if the price is multiplied with the capacity\").optional(),\n nrappseladjacenttype: z.number().int().describe(\"0 = the date and time need to be adjacent, 1 = only the day need to be adjacent\").optional(),\n severalcalendarsused: z.boolean().describe(\"True, if the service can only be booked if another calendar is available\").optional(),\n differenttimecombined: z.boolean().describe(\"True, if the service has a different time if booked with another service\").optional(),\n differenttimeresource: z.boolean().describe(\"True if you want to add pre- or post processing times\").optional(),\n externalreferencedate: z.string().describe(\"ID of a field that should contain the date of the appointment\").optional(),\n limitappointmentstype: z.number().int().describe(\"Defines how the appointments are limited (0 = per booking day, 1 = per week, 2 = per month, 3 = per year, 4 = per booked day)\").optional(),\n specificrangenextslot: z.boolean().describe(\"True, if the next appointment needs to be after a specific timeframe\").optional(),\n timeslotminutesresend: z.number().int().describe(\"Busy until minute (use a number greater than timeslotminutes to have a post-processing time)\").optional(),\n appointmentlocationtext: z.string().describe(\"Defines the location text if appointmentlocation = 3\").optional(),\n externalreferencecancel: z.string().describe(\"ID of a field that should contain the cancellation link of the appointment\").optional(),\n externalreferencechange: z.string().describe(\"Used for a tag ID or external reference after a change of the appointment\").optional(),\n externalreferencedelete: z.string().describe(\"Used for a tag ID or external reference after cancellation of the appointment\").optional(),\n paymentamountisabsolute: z.number().int().describe(\"Defines if paymentamountpercentage is absolute or a percentage (1 = absolute, 0 = percentage)\").optional(),\n paymentamountpercentage: z.number().int().describe(\"Defines the payment amount that needs to be paid at the end of booking\").optional(),\n timeslotminutesresstart: z.number().int().describe(\"Busy by minute (use negative number to have a pre-processing time)\").optional(),\n externalreferencecalname: z.string().describe(\"ID of a field that should contain the calendar name of the appointment\").optional(),\n externalreferencelocation: z.string().describe(\"ID of a field that should contain the location of the appointment\").optional(),\n multiservicedurationcalcmethod: z.number().int().describe(\"Defines how the duration is calculated if multiple services are selected (0 = all durations are summed up, 1 = only duration of the longest service, 2 = all durations are halfed, 3 = like 2 except the longest service)\").optional(),\n}).describe(\"Request model for creating a new service in eTermin.\");\nexport const EterminCreateServiceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Unique identifier of the newly created service\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result of the operation\").optional()),\n}).describe(\"Response model for newly created service in eTermin.\");\n\nexport const eterminCreateService = action(\"ETERMIN_CREATE_SERVICE\", {\n slug: \"etermin-create-service\",\n name: \"Create Service\",\n description: \"Tool to create a new service in eTermin. Use when you need to add a service to a service group with specified duration and settings.\",\n input: EterminCreateServiceInput,\n output: EterminCreateServiceOutput,\n});\n"],"mappings":";;AA4HA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5HuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACpG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACxG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAC9I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EACzK,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,SAAS,E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A2E,CAAC,CAAC,SAAS;EACnI,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACvI,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC7J,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACtI,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACjI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC7H,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CAClS,CAAC,CAAC,CAAC,SAAS,sDAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;EAClJ,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EACxI,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;CAClK,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-service.mjs","names":[],"sources":["../../src/actions/create-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateServiceInput = z.object({\n PM0: z.number().int().describe(\"Shows online payment options (1 = enabled, 0 = disabled)\").optional(),\n PM1: z.number().int().describe(\"Shows on site payment options (1 = enabled, 0 = disabled)\").optional(),\n PM2: z.number().int().describe(\"Shows by invoice payment options (1 = enabled, 0 = disabled)\").optional(),\n vat: z.number().int().describe(\"Defines the vat rate of the service\").optional(),\n mpbs: z.number().int().describe(\"Defines if the price is multiplied by the amount of booked appointments\").optional(),\n ssca: z.number().int().describe(\"Defines if in the calendar selection the entry all calendars is shown (0 = no, 1 = yes)\").optional(),\n tags: z.string().describe(\"ID of the tags that the contact gets after booking\").optional(),\n image: z.string().describe(\"Image of the service\").optional(),\n price: z.number().describe(\"Price of the service\").optional(),\n rrule: z.string().describe(\"Defines the RRULE for this service\").optional(),\n infode: z.string().describe(\"Additional description of the service in German. For other languages use infoLANGUAGECODE e.g. infoen\").optional(),\n jscode: z.string().describe(\"Used for JavaScript code that will be executed after the booking of the appointment (for example to redirect to another website)\").optional(),\n wowing: z.number().int().describe(\"Set to 0 if the Wowing interface should be disabled for this service\").optional(),\n cluster: z.number().int().describe(\"Defines if the cluster is applied to this service (1 = enabled, 0 = disabled)\").optional(),\n enabled: z.boolean().describe(\"Defines if the service is shown in the frontend\").optional(),\n uselogo: z.boolean().describe(\"True, if the picture of this service should be used for the email logo\").optional(),\n currency: z.string().describe(\"Defines the currency of the service\").optional(),\n extramin: z.number().int().describe(\"Defines total wrap up time\").optional(),\n feedback: z.number().int().describe(\"Set to 0 if the feedback checkbox should not be shown\").optional(),\n nrappsel: z.number().int().describe(\"Defines the maximum / minimum amount of appointments that MUST be selected on the booking page if multiappointment is true (in this service or globally)\").optional(),\n rangeend: z.number().int().describe(\"Days range for the new appointment\").optional(),\n showindb: z.boolean().describe(\"Defines if the service is shown in the most booked area of the Dashboard\").optional(),\n appattrib: z.number().int().describe(\"Defines which attribute is set automatically in appointment. Attributes are binary encoded (1st attribute = 1, 2nd = 2, 3rd = 4; 1st + 2nd = 3)\").optional(),\n appfuture: z.number().int().describe(\"Time the appointment can be booked in the future in days\").optional(),\n infotxtp2: z.string().describe(\"A special placeholder %INFOTEXTP2% for page 2 of the booking page\").optional(),\n maxappsel: z.number().int().describe(\"Defines the maximum amount of appointments that can be selected on the booking page if multiappointment is true (in this service or globally)\").optional(),\n mstextpos: z.number().int().describe(\"Defines the position of capseltext (0 = above selection, 1 = to the right)\").optional(),\n servicede: z.string().describe(\"Name of the service in German. For other languages use serviceLANGUAGECODE e.g. serviceen\"),\n showavcap: z.number().int().describe(\"Defines if the available capacity is shown in time slots (0 = no, 1 = yes)\").optional(),\n sortorder: z.number().int().describe(\"Defines the position in the servicegroup\").optional(),\n emailtxtde: z.string().describe(\"A special placeholder %SERVICETEXT% for emails, use other language codes to set the text (for example emailtxten for english)\").optional(),\n rangestart: z.number().int().describe(\"Days after the last appoinment\").optional(),\n showcalpic: z.number().int().describe(\"Defines if in the calendar picture is shown after the timeslot is selected (0 = no, 1 = yes)\").optional(),\n startedapp: z.number().int().describe(\"Time the appointment can be booked if already started in minutes (has to be a negative value)\").optional(),\n tagscancel: z.string().describe(\"ID of the tags that the contact gets after cancellation of the appointment\").optional(),\n addapphours: z.number().int().describe(\"Hours after the first appointment, where a second appointment is booked\").optional(),\n appdeadline: z.number().int().describe(\"Time the appointment must be booked in advance in minutes\").optional(),\n bookingtype: z.number().int().describe(\"Defines the bookingtype (0 = appointment, 1 = no appointment booking allowed, 2 = 'negative' appointment, 3 = reservation list, 4 = voucher sale)\").optional(),\n emailsender: z.string().describe(\"Defines the sender address of the email for this service\").optional(),\n infodisplay: z.number().int().describe(\"Defines where the information is shown (0 = below service name, 1 = informationtext page 2, 2 = summary after booking, 3 = below service name and summary after booking)\").optional(),\n maxcapacity: z.number().describe(\"Sets the maximum capacity of the service\").optional(),\n maxminslots: z.boolean().describe(\"Defines if nrappsel is maximum (false) or minimum (true)\").optional(),\n notearlyapp: z.number().int().describe(\"Defines if the customer should get an email if an earlier appointment is available (0 = not active, 1 = for appointments that were cancelled online, 2 = for appointments cancelled online and manually, 3 = like 1 but per calendar, 4 = like 2 but per calendar)\").optional(),\n showcalname: z.number().int().describe(\"Defines if in the calendar name is shown in the time slot (0 = no, 1 = yes)\").optional(),\n waitinglist: z.number().int().describe(\"Defines if the waiting list should be available (0 = no, 1 = yes)\").optional(),\n abbreviation: z.string().describe(\"Abbreviation of the service\").optional(),\n capseltextde: z.string().describe(\"Defines the text if there is a capacity selection on that service, use other language codes to set the text (for example capseltexten for english)\").optional(),\n extramintype: z.number().int().describe(\"0 if extramin should not be applied if differenttimeresource is true, 1 if extramin should be added to timeslotminutesresend\").optional(),\n limitbooking: z.number().int().describe(\"Defines if this service can be booked a limited amount of times per customer (0 = no, 1 = yes)\").optional(),\n limitservice: z.number().int().describe(\"Defines if the limitation only applies to this specific service\").optional(),\n priceinfopos: z.number().int().describe(\"Defines where the pricesuffix is shown (0 = left side, 1 = right side)\").optional(),\n showinternal: z.boolean().describe(\"Defines if the service is shown in the backend\").optional(),\n voucherfield: z.number().int().describe(\"Defines if the voucherfield is shown (0 = not shown, 1 = shown, 2 = shown and mandatory)\").optional(),\n workloadperc: z.number().int().describe(\"Defines the percentage of time slots that are not shown\").optional(),\n bookingminute: z.number().int().describe(\"Defines when the timeslots are shown (61 = no restrictions, 0 = every full hour, 31 = every full and half hour, 15 or 30 or 45 = x minutes after a full hour)\").optional(),\n pricesuffixde: z.string().describe(\"Additional information for the price, use other language codes to set the text (for example pricesuffixen for english)\").optional(),\n reminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n canceldeadline: z.number().int().describe(\"Time the appointment can be cancelled in hours\").optional(),\n capacitynonsel: z.number().describe(\"Sets the capacity if selected on the booking page (needs showcapselectionbox to be false)\").optional(),\n enablecapacity: z.boolean().describe(\"True to enable the capacity of the service\").optional(),\n hideserviceids: z.string().describe(\"Service(s) that should be hidden, if this service is selected\").optional(),\n issubscription: z.boolean().describe(\"Defines if the service is a subscription\").optional(),\n reminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to\"),\n showserviceids: z.string().describe(\"Service(s) that have to be selected to show this service\").optional(),\n timeslotformat: z.number().int().describe(\"Defines how the timeslots are shown on page 2 on the bookingpage (0 = starttime - endtime, 1 = starttime, 2 = only date, 3 = calendar week, 4 = like 0 but with dates, 5 = startdate only)\").optional(),\n calcdrivingtime: z.number().int().describe(\"Defines if driving time should be calculated (0 = no, 1 = yes)\").optional(),\n customerconfirm: z.number().int().describe(\"Defines if the customer needs to confirm the appointment (1 = enabled, 0 = disabled; doesn't work with online payments or vendorconfirmation)\").optional(),\n infotextinslots: z.boolean().describe(\"True, if the info text should be shown in the slot text in page 2 of the booking page\").optional(),\n multiservicemax: z.number().int().describe(\"Defines the maximum amount that can be choosen for multi service selection\").optional(),\n multiservicemin: z.number().int().describe(\"Defines the minimum amount that can be choosen for multi service selection\").optional(),\n multiservicesel: z.boolean().describe(\"True, if the service can be booked multiple times after another. This won't work if the parameter enablecapacity is true aswell\").optional(),\n paymentduration: z.number().int().describe(\"Defines the payment term for LexOffice\").optional(),\n pricediffperday: z.boolean().describe(\"Defines if different prices per weekday are applied\").optional(),\n smsconfirmation: z.number().int().describe(\"Defines if a SMS confirmation is sent after booking (1 = enabled, 0 = disabled)\").optional(),\n timeslotminutes: z.number().int().describe(\"Duration of the service in minutes\"),\n dayselectiontype: z.number().int().describe(\"Defines how page 2 shows the available days (0 = Calendar, 1 = list of days)\").optional(),\n multiappointment: z.number().int().describe(\"Defines if multiple appointments can be booked in one booking (0 = no, 1 = yes)\").optional(),\n nrappseladjacent: z.boolean().describe(\"True, if the selected appointments have to be adjacent\").optional(),\n timeslotcombined: z.number().int().describe(\"Defines the time of the appointment if booked with another service. differenttimecombined has to be true\").optional(),\n calendarselection: z.number().int().describe(\"Defines if the calendar selection should be shown (0 = no, 1 = yes)\").optional(),\n externalreference: z.string().describe(\"Used for a tag ID or external reference after booking\").optional(),\n limitappointments: z.number().int().describe(\"Defines how many appointments can be booked per customer\").optional(),\n nrtimeslotentries: z.number().int().describe(\"Defines the maximum amount of time slots that are shown\").optional(),\n priceispercentage: z.boolean().describe(\"True if price is a percentage\").optional(),\n maxcapacityusersel: z.number().describe(\"Sets the maximum capacity the user can set on the booking page (needs showcapselectionbox to be true)\").optional(),\n vendorconfirmation: z.number().int().describe(\"Defines if the appointment provider needs to manually confirm the appointment (0 = manually, 1 = automatically)\").optional(),\n wowingautomationid: z.number().int().describe(\"Defines the Woing Automation ID\").optional(),\n appointmentlocation: z.number().int().describe(\"Defines the location of the appointment\").optional(),\n customerconfirmtime: z.number().int().describe(\"Time in minutes the customer has time to confirm the appointment (customerconfirm must be set to 1)\").optional(),\n showcapselectionbox: z.boolean().describe(\"True if the customer is able to select the capacity\").optional(),\n allowonlythisservice: z.boolean().describe(\"If there are multiple services with capacity available at the same time, this option prevents that they will get mixed, if set to true\").optional(),\n fillcalendarstrategy: z.number().int().describe(\"Defines how the calender should be filled (0 = standard, 1 = random, 2 = round Robin, 3 = sequential, 4 = skills, 5 = strict round Robin)\").optional(),\n multiplypricewithcap: z.boolean().describe(\"Defines if the price is multiplied with the capacity\").optional(),\n nrappseladjacenttype: z.number().int().describe(\"0 = the date and time need to be adjacent, 1 = only the day need to be adjacent\").optional(),\n severalcalendarsused: z.boolean().describe(\"True, if the service can only be booked if another calendar is available\").optional(),\n differenttimecombined: z.boolean().describe(\"True, if the service has a different time if booked with another service\").optional(),\n differenttimeresource: z.boolean().describe(\"True if you want to add pre- or post processing times\").optional(),\n externalreferencedate: z.string().describe(\"ID of a field that should contain the date of the appointment\").optional(),\n limitappointmentstype: z.number().int().describe(\"Defines how the appointments are limited (0 = per booking day, 1 = per week, 2 = per month, 3 = per year, 4 = per booked day)\").optional(),\n specificrangenextslot: z.boolean().describe(\"True, if the next appointment needs to be after a specific timeframe\").optional(),\n timeslotminutesresend: z.number().int().describe(\"Busy until minute (use a number greater than timeslotminutes to have a post-processing time)\").optional(),\n appointmentlocationtext: z.string().describe(\"Defines the location text if appointmentlocation = 3\").optional(),\n externalreferencecancel: z.string().describe(\"ID of a field that should contain the cancellation link of the appointment\").optional(),\n externalreferencechange: z.string().describe(\"Used for a tag ID or external reference after a change of the appointment\").optional(),\n externalreferencedelete: z.string().describe(\"Used for a tag ID or external reference after cancellation of the appointment\").optional(),\n paymentamountisabsolute: z.number().int().describe(\"Defines if paymentamountpercentage is absolute or a percentage (1 = absolute, 0 = percentage)\").optional(),\n paymentamountpercentage: z.number().int().describe(\"Defines the payment amount that needs to be paid at the end of booking\").optional(),\n timeslotminutesresstart: z.number().int().describe(\"Busy by minute (use negative number to have a pre-processing time)\").optional(),\n externalreferencecalname: z.string().describe(\"ID of a field that should contain the calendar name of the appointment\").optional(),\n externalreferencelocation: z.string().describe(\"ID of a field that should contain the location of the appointment\").optional(),\n multiservicedurationcalcmethod: z.number().int().describe(\"Defines how the duration is calculated if multiple services are selected (0 = all durations are summed up, 1 = only duration of the longest service, 2 = all durations are halfed, 3 = like 2 except the longest service)\").optional(),\n}).describe(\"Request model for creating a new service in eTermin.\");\nexport const EterminCreateServiceOutput = z.object({\n id: z.number().describe(\"Unique identifier of the newly created service\").nullable().optional(),\n status: z.number().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable().optional(),\n}).describe(\"Response model for newly created service in eTermin.\");\n\nexport const eterminCreateService = action(\"ETERMIN_CREATE_SERVICE\", {\n slug: \"etermin-create-service\",\n name: \"Create Service\",\n description: \"Tool to create a new service in eTermin. Use when you need to add a service to a service group with specified duration and settings.\",\n input: EterminCreateServiceInput,\n output: EterminCreateServiceOutput,\n});\n"],"mappings":";;AA4HA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5HuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACpG,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yB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACjI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC7H,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CAClS,CAAC,CAAC,CAAC,SAAS,sDAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const EterminCreateUserInput = zod.z.object({
|
|
|
16
16
|
}).describe("Request parameters for creating a new eTermin user.");
|
|
17
17
|
const EterminCreateUserOutput = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("Unique identifier of the created user (UUID string).").nullable(),
|
|
19
|
-
message: zod.z.
|
|
19
|
+
message: zod.z.string().describe("Additional message or error detail from the API.").nullable().optional(),
|
|
20
20
|
success: zod.z.boolean().describe("Indicates if the user creation was successful.").nullable()
|
|
21
21
|
}).describe("Response schema after creating a new eTermin user.");
|
|
22
22
|
const eterminCreateUser = require_action.action("ETERMIN_CREATE_USER", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUserInput = z.object({\n role: z.enum([\"client\", \"employee\", \"admin\"]).default(\"client\").describe(\"Role assigned to the new user.\").optional(),\n email: z.string().describe(\"Email address of the new user.\"),\n phone: z.string().describe(\"Optional phone number of the new user.\").optional(),\n locale: z.string().describe(\"Optional locale code, e.g., 'en' or 'de'.\").optional(),\n password: z.string().describe(\"Password for the new user, at least 6 characters.\"),\n last_name: z.string().describe(\"Last name of the new user.\"),\n first_name: z.string().describe(\"First name of the new user.\"),\n}).describe(\"Request parameters for creating a new eTermin user.\");\nexport const EterminCreateUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created user (UUID string).\").nullable(),\n message: z.
|
|
1
|
+
{"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUserInput = z.object({\n role: z.enum([\"client\", \"employee\", \"admin\"]).default(\"client\").describe(\"Role assigned to the new user.\").optional(),\n email: z.string().describe(\"Email address of the new user.\"),\n phone: z.string().describe(\"Optional phone number of the new user.\").optional(),\n locale: z.string().describe(\"Optional locale code, e.g., 'en' or 'de'.\").optional(),\n password: z.string().describe(\"Password for the new user, at least 6 characters.\"),\n last_name: z.string().describe(\"Last name of the new user.\"),\n first_name: z.string().describe(\"First name of the new user.\"),\n}).describe(\"Request parameters for creating a new eTermin user.\");\nexport const EterminCreateUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created user (UUID string).\").nullable(),\n message: z.string().describe(\"Additional message or error detail from the API.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the user creation was successful.\").nullable(),\n}).describe(\"Response schema after creating a new eTermin user.\");\n\nexport const eterminCreateUser = action(\"ETERMIN_CREATE_USER\", {\n slug: \"etermin-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user. Use when you need to add users to eTermin after collecting their details.\",\n input: EterminCreateUserInput,\n output: EterminCreateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAY;CAAO,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC/D,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const EterminCreateUserInput: z.ZodObject<{
|
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const EterminCreateUserOutput: z.ZodObject<{
|
|
18
18
|
id: z.ZodNullable<z.ZodString>;
|
|
19
|
-
message: z.
|
|
19
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
22
|
declare const eterminCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -27,11 +27,7 @@ declare const eterminCreateUser: import("@keystrokehq/action").WorkflowActionDef
|
|
|
27
27
|
role?: "client" | "employee" | "admin" | undefined;
|
|
28
28
|
phone?: string | undefined;
|
|
29
29
|
locale?: string | undefined;
|
|
30
|
-
},
|
|
31
|
-
id: string | null;
|
|
32
|
-
success: boolean | null;
|
|
33
|
-
message?: string | undefined;
|
|
34
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
31
|
//#endregion
|
|
36
32
|
export { eterminCreateUser };
|
|
37
33
|
//# sourceMappingURL=create-user.d.cts.map
|
|
@@ -16,7 +16,7 @@ declare const EterminCreateUserInput: z.ZodObject<{
|
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const EterminCreateUserOutput: z.ZodObject<{
|
|
18
18
|
id: z.ZodNullable<z.ZodString>;
|
|
19
|
-
message: z.
|
|
19
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
22
|
declare const eterminCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -27,11 +27,7 @@ declare const eterminCreateUser: import("@keystrokehq/action").WorkflowActionDef
|
|
|
27
27
|
role?: "client" | "employee" | "admin" | undefined;
|
|
28
28
|
phone?: string | undefined;
|
|
29
29
|
locale?: string | undefined;
|
|
30
|
-
},
|
|
31
|
-
id: string | null;
|
|
32
|
-
success: boolean | null;
|
|
33
|
-
message?: string | undefined;
|
|
34
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
31
|
//#endregion
|
|
36
32
|
export { eterminCreateUser };
|
|
37
33
|
//# sourceMappingURL=create-user.d.mts.map
|
|
@@ -19,7 +19,7 @@ const eterminCreateUser = action("ETERMIN_CREATE_USER", {
|
|
|
19
19
|
}).describe("Request parameters for creating a new eTermin user."),
|
|
20
20
|
output: z.object({
|
|
21
21
|
id: z.string().describe("Unique identifier of the created user (UUID string).").nullable(),
|
|
22
|
-
message: z.
|
|
22
|
+
message: z.string().describe("Additional message or error detail from the API.").nullable().optional(),
|
|
23
23
|
success: z.boolean().describe("Indicates if the user creation was successful.").nullable()
|
|
24
24
|
}).describe("Response schema after creating a new eTermin user.")
|
|
25
25
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUserInput = z.object({\n role: z.enum([\"client\", \"employee\", \"admin\"]).default(\"client\").describe(\"Role assigned to the new user.\").optional(),\n email: z.string().describe(\"Email address of the new user.\"),\n phone: z.string().describe(\"Optional phone number of the new user.\").optional(),\n locale: z.string().describe(\"Optional locale code, e.g., 'en' or 'de'.\").optional(),\n password: z.string().describe(\"Password for the new user, at least 6 characters.\"),\n last_name: z.string().describe(\"Last name of the new user.\"),\n first_name: z.string().describe(\"First name of the new user.\"),\n}).describe(\"Request parameters for creating a new eTermin user.\");\nexport const EterminCreateUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created user (UUID string).\").nullable(),\n message: z.
|
|
1
|
+
{"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUserInput = z.object({\n role: z.enum([\"client\", \"employee\", \"admin\"]).default(\"client\").describe(\"Role assigned to the new user.\").optional(),\n email: z.string().describe(\"Email address of the new user.\"),\n phone: z.string().describe(\"Optional phone number of the new user.\").optional(),\n locale: z.string().describe(\"Optional locale code, e.g., 'en' or 'de'.\").optional(),\n password: z.string().describe(\"Password for the new user, at least 6 characters.\"),\n last_name: z.string().describe(\"Last name of the new user.\"),\n first_name: z.string().describe(\"First name of the new user.\"),\n}).describe(\"Request parameters for creating a new eTermin user.\");\nexport const EterminCreateUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created user (UUID string).\").nullable(),\n message: z.string().describe(\"Additional message or error detail from the API.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the user creation was successful.\").nullable(),\n}).describe(\"Response schema after creating a new eTermin user.\");\n\nexport const eterminCreateUser = action(\"ETERMIN_CREATE_USER\", {\n slug: \"etermin-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user. Use when you need to add users to eTermin after collecting their details.\",\n input: EterminCreateUserInput,\n output: EterminCreateUserOutput,\n});\n"],"mappings":";;AAmBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBoC,EAAE,OAAO;EAC7C,MAAM,EAAE,KAAK;GAAC;GAAU;GAAY;EAAO,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC/D,CAAC,CAAC,CAAC,SAAS,qDAWH;CACP,QAXqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -19,9 +19,9 @@ const EterminCreateUsermappingInput = zod.z.object({
|
|
|
19
19
|
servicegroupid: zod.z.number().int().describe("Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.")
|
|
20
20
|
}).describe("Request model for creating a new usermapping in eTermin.");
|
|
21
21
|
const EterminCreateUsermappingOutput = zod.z.object({
|
|
22
|
-
id: zod.z.
|
|
23
|
-
status: zod.z.
|
|
24
|
-
statusmsg: zod.z.
|
|
22
|
+
id: zod.z.number().int().describe("Unique identifier of the created usermapping").nullable().optional(),
|
|
23
|
+
status: zod.z.number().int().describe("HTTP status code of the operation").nullable().optional(),
|
|
24
|
+
statusmsg: zod.z.string().describe("Status message describing the result").nullable().optional()
|
|
25
25
|
}).describe("Response model for a newly created usermapping in eTermin.");
|
|
26
26
|
const eterminCreateUsermapping = require_action.action("ETERMIN_CREATE_USERMAPPING", {
|
|
27
27
|
slug: "etermin-create-usermapping",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.
|
|
1
|
+
{"version":3,"file":"create-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created usermapping\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).describe(\"Response model for a newly created usermapping in eTermin.\");\n\nexport const eterminCreateUsermapping = action(\"ETERMIN_CREATE_USERMAPPING\", {\n slug: \"etermin-create-usermapping\",\n name: \"Create Usermapping\",\n description: \"Tool to create a new usermapping in eTermin. Use when you need to map phone numbers or other values to specific calendars and service groups.\",\n input: EterminCreateUsermappingInput,\n output: EterminCreateUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAClM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;EAAmB;EAAqB;EAAc;EAAe;EAAoB;CAAoB,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sKAAsK;CAC5M,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mLAAmL;AAC/N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,9 +19,9 @@ declare const EterminCreateUsermappingInput: z.ZodObject<{
|
|
|
19
19
|
servicegroupid: z.ZodNumber;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const EterminCreateUsermappingOutput: z.ZodObject<{
|
|
22
|
-
id: z.
|
|
23
|
-
status: z.
|
|
24
|
-
statusmsg: z.
|
|
22
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
declare const eterminCreateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
calendarid: number;
|
|
@@ -30,11 +30,7 @@ declare const eterminCreateUsermapping: import("@keystrokehq/action").WorkflowAc
|
|
|
30
30
|
valueto?: number | undefined;
|
|
31
31
|
valuefrom?: number | undefined;
|
|
32
32
|
valuetype?: "equals" | "from_to" | "last_two_digits" | "last_three_digits" | "last_digit" | "first_digit" | "first_two_digits" | "first_three_digits" | undefined;
|
|
33
|
-
},
|
|
34
|
-
id?: number | undefined;
|
|
35
|
-
status?: number | undefined;
|
|
36
|
-
statusmsg?: string | undefined;
|
|
37
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
34
|
//#endregion
|
|
39
35
|
export { eterminCreateUsermapping };
|
|
40
36
|
//# sourceMappingURL=create-usermapping.d.cts.map
|
|
@@ -19,9 +19,9 @@ declare const EterminCreateUsermappingInput: z.ZodObject<{
|
|
|
19
19
|
servicegroupid: z.ZodNumber;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const EterminCreateUsermappingOutput: z.ZodObject<{
|
|
22
|
-
id: z.
|
|
23
|
-
status: z.
|
|
24
|
-
statusmsg: z.
|
|
22
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
declare const eterminCreateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
calendarid: number;
|
|
@@ -30,11 +30,7 @@ declare const eterminCreateUsermapping: import("@keystrokehq/action").WorkflowAc
|
|
|
30
30
|
valueto?: number | undefined;
|
|
31
31
|
valuefrom?: number | undefined;
|
|
32
32
|
valuetype?: "equals" | "from_to" | "last_two_digits" | "last_three_digits" | "last_digit" | "first_digit" | "first_two_digits" | "first_three_digits" | undefined;
|
|
33
|
-
},
|
|
34
|
-
id?: number | undefined;
|
|
35
|
-
status?: number | undefined;
|
|
36
|
-
statusmsg?: string | undefined;
|
|
37
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
34
|
//#endregion
|
|
39
35
|
export { eterminCreateUsermapping };
|
|
40
36
|
//# sourceMappingURL=create-usermapping.d.mts.map
|
|
@@ -22,9 +22,9 @@ const eterminCreateUsermapping = action("ETERMIN_CREATE_USERMAPPING", {
|
|
|
22
22
|
servicegroupid: z.number().int().describe("Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.")
|
|
23
23
|
}).describe("Request model for creating a new usermapping in eTermin."),
|
|
24
24
|
output: z.object({
|
|
25
|
-
id: z.
|
|
26
|
-
status: z.
|
|
27
|
-
statusmsg: z.
|
|
25
|
+
id: z.number().int().describe("Unique identifier of the created usermapping").nullable().optional(),
|
|
26
|
+
status: z.number().int().describe("HTTP status code of the operation").nullable().optional(),
|
|
27
|
+
statusmsg: z.string().describe("Status message describing the result").nullable().optional()
|
|
28
28
|
}).describe("Response model for a newly created usermapping in eTermin.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-usermapping.mjs","names":[],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.
|
|
1
|
+
{"version":3,"file":"create-usermapping.mjs","names":[],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created usermapping\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).describe(\"Response model for a newly created usermapping in eTermin.\");\n\nexport const eterminCreateUsermapping = action(\"ETERMIN_CREATE_USERMAPPING\", {\n slug: \"etermin-create-usermapping\",\n name: \"Create Usermapping\",\n description: \"Tool to create a new usermapping in eTermin. Use when you need to map phone numbers or other values to specific calendars and service groups.\",\n input: EterminCreateUsermappingInput,\n output: EterminCreateUsermappingOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EAClM,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,KAAK;GAAC;GAAU;GAAW;GAAmB;GAAqB;GAAc;GAAe;GAAoB;EAAoB,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sKAAsK;EAC5M,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mLAAmL;CAC/N,CAAC,CAAC,CAAC,SAAS,0DAWH;CACP,QAX4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
@@ -9,10 +9,10 @@ const EterminCreateVoucherInput = zod.z.object({
|
|
|
9
9
|
valid_from: zod.z.string().describe("Start date from which the voucher becomes valid. Format: YYYY-MM-DD.")
|
|
10
10
|
}).describe("Request model for creating a new voucher in eTermin.");
|
|
11
11
|
const EterminCreateVoucherOutput = zod.z.object({
|
|
12
|
-
iid: zod.z.
|
|
12
|
+
iid: zod.z.number().int().describe("Internal eTermin ID of the created voucher, if available.").nullable().optional(),
|
|
13
13
|
code: zod.z.string().describe("The voucher code that was created.").nullable(),
|
|
14
14
|
type: zod.z.string().describe("The discount type ('percent' or 'absolute').").nullable(),
|
|
15
|
-
message: zod.z.
|
|
15
|
+
message: zod.z.string().describe("Status message from the API (e.g., 'Voucher created successfully!').").nullable().optional(),
|
|
16
16
|
success: zod.z.boolean().describe("Whether the voucher was created successfully.").nullable(),
|
|
17
17
|
discount: zod.z.number().describe("The discount value that was set.").nullable(),
|
|
18
18
|
valid_to: zod.z.string().describe("End date of voucher validity (YYYY-MM-DD).").nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.cjs","names":["z","action"],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.
|
|
1
|
+
{"version":3,"file":"create-voucher.cjs","names":["z","action"],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).describe(\"Response model for a newly created voucher in eTermin.\");\n\nexport const eterminCreateVoucher = action(\"ETERMIN_CREATE_VOUCHER\", {\n slug: \"etermin-create-voucher\",\n name: \"Create Voucher\",\n description: \"Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.\",\n input: EterminCreateVoucherInput,\n output: EterminCreateVoucherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACpH,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACvN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACxG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,10 +12,10 @@ declare const EterminCreateVoucherInput: z.ZodObject<{
|
|
|
12
12
|
valid_from: z.ZodString;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const EterminCreateVoucherOutput: z.ZodObject<{
|
|
15
|
-
iid: z.
|
|
15
|
+
iid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
code: z.ZodNullable<z.ZodString>;
|
|
17
17
|
type: z.ZodNullable<z.ZodString>;
|
|
18
|
-
message: z.
|
|
18
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
20
20
|
discount: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
valid_to: z.ZodNullable<z.ZodString>;
|
|
@@ -27,16 +27,7 @@ declare const eterminCreateVoucher: import("@keystrokehq/action").WorkflowAction
|
|
|
27
27
|
discount: number;
|
|
28
28
|
valid_to: string;
|
|
29
29
|
valid_from: string;
|
|
30
|
-
},
|
|
31
|
-
code: string | null;
|
|
32
|
-
type: string | null;
|
|
33
|
-
success: boolean | null;
|
|
34
|
-
discount: number | null;
|
|
35
|
-
valid_to: string | null;
|
|
36
|
-
valid_from: string | null;
|
|
37
|
-
iid?: number | undefined;
|
|
38
|
-
message?: string | undefined;
|
|
39
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
40
31
|
//#endregion
|
|
41
32
|
export { eterminCreateVoucher };
|
|
42
33
|
//# sourceMappingURL=create-voucher.d.cts.map
|
|
@@ -12,10 +12,10 @@ declare const EterminCreateVoucherInput: z.ZodObject<{
|
|
|
12
12
|
valid_from: z.ZodString;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const EterminCreateVoucherOutput: z.ZodObject<{
|
|
15
|
-
iid: z.
|
|
15
|
+
iid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
code: z.ZodNullable<z.ZodString>;
|
|
17
17
|
type: z.ZodNullable<z.ZodString>;
|
|
18
|
-
message: z.
|
|
18
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
20
20
|
discount: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
valid_to: z.ZodNullable<z.ZodString>;
|
|
@@ -27,16 +27,7 @@ declare const eterminCreateVoucher: import("@keystrokehq/action").WorkflowAction
|
|
|
27
27
|
discount: number;
|
|
28
28
|
valid_to: string;
|
|
29
29
|
valid_from: string;
|
|
30
|
-
},
|
|
31
|
-
code: string | null;
|
|
32
|
-
type: string | null;
|
|
33
|
-
success: boolean | null;
|
|
34
|
-
discount: number | null;
|
|
35
|
-
valid_to: string | null;
|
|
36
|
-
valid_from: string | null;
|
|
37
|
-
iid?: number | undefined;
|
|
38
|
-
message?: string | undefined;
|
|
39
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
40
31
|
//#endregion
|
|
41
32
|
export { eterminCreateVoucher };
|
|
42
33
|
//# sourceMappingURL=create-voucher.d.mts.map
|
|
@@ -12,10 +12,10 @@ const eterminCreateVoucher = action("ETERMIN_CREATE_VOUCHER", {
|
|
|
12
12
|
valid_from: z.string().describe("Start date from which the voucher becomes valid. Format: YYYY-MM-DD.")
|
|
13
13
|
}).describe("Request model for creating a new voucher in eTermin."),
|
|
14
14
|
output: z.object({
|
|
15
|
-
iid: z.
|
|
15
|
+
iid: z.number().int().describe("Internal eTermin ID of the created voucher, if available.").nullable().optional(),
|
|
16
16
|
code: z.string().describe("The voucher code that was created.").nullable(),
|
|
17
17
|
type: z.string().describe("The discount type ('percent' or 'absolute').").nullable(),
|
|
18
|
-
message: z.
|
|
18
|
+
message: z.string().describe("Status message from the API (e.g., 'Voucher created successfully!').").nullable().optional(),
|
|
19
19
|
success: z.boolean().describe("Whether the voucher was created successfully.").nullable(),
|
|
20
20
|
discount: z.number().describe("The discount value that was set.").nullable(),
|
|
21
21
|
valid_to: z.string().describe("End date of voucher validity (YYYY-MM-DD).").nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.mjs","names":[],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.
|
|
1
|
+
{"version":3,"file":"create-voucher.mjs","names":[],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).describe(\"Response model for a newly created voucher in eTermin.\");\n\nexport const eterminCreateVoucher = action(\"ETERMIN_CREATE_VOUCHER\", {\n slug: \"etermin-create-voucher\",\n name: \"Create Voucher\",\n description: \"Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.\",\n input: EterminCreateVoucherInput,\n output: EterminCreateVoucherOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACpH,MAAM,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G;EAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;EACvN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,sDAgBH;CACP,QAhBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ const EterminCreateWebhookInput = zod.z.object({
|
|
|
13
13
|
const EterminCreateWebhookOutput = zod.z.object({
|
|
14
14
|
message: zod.z.string().describe("Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.").nullable(),
|
|
15
15
|
success: zod.z.boolean().describe("Whether the webhook was successfully created via API.").nullable(),
|
|
16
|
-
lastError: zod.z.
|
|
17
|
-
webhookData: zod.z.
|
|
16
|
+
lastError: zod.z.string().describe("Details of the last error encountered when trying API endpoints.").nullable().optional(),
|
|
17
|
+
webhookData: zod.z.object({}).describe("Webhook configuration data returned by the API if creation was successful.").nullable().optional()
|
|
18
18
|
}).describe("Response model for creating a webhook in eTermin.\n\nContains the API response when successful, or a graceful message when\nwebhook creation via API is not supported for the current tenant.");
|
|
19
19
|
const eterminCreateWebhook = require_action.action("ETERMIN_CREATE_WEBHOOK", {
|
|
20
20
|
slug: "etermin-create-webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.object({}).describe(\"Webhook configuration data returned by the API if creation was successful.\").nullable().optional(),\n}).describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CACh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.ZodObject<{
|
|
|
13
13
|
declare const EterminCreateWebhookOutput: z.ZodObject<{
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
-
lastError: z.
|
|
17
|
-
webhookData: z.
|
|
16
|
+
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
webhookData: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
declare const eterminCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
url: string;
|
|
@@ -24,12 +24,7 @@ declare const eterminCreateWebhook: import("@keystrokehq/action").WorkflowAction
|
|
|
24
24
|
headerName?: string | undefined;
|
|
25
25
|
headerValue?: string | undefined;
|
|
26
26
|
use_form_encoding?: boolean | undefined;
|
|
27
|
-
},
|
|
28
|
-
message: string | null;
|
|
29
|
-
success: boolean | null;
|
|
30
|
-
lastError?: string | undefined;
|
|
31
|
-
webhookData?: Record<string, never> | undefined;
|
|
32
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
28
|
//#endregion
|
|
34
29
|
export { eterminCreateWebhook };
|
|
35
30
|
//# sourceMappingURL=create-webhook.d.cts.map
|