@keystrokehq/etermin 0.1.5 → 0.1.6
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 +1 -0
- package/dist/actions/assign-calendar-service.cjs.map +1 -1
- package/dist/actions/assign-calendar-service.d.cts +3 -22
- package/dist/actions/assign-calendar-service.d.cts.map +1 -1
- package/dist/actions/assign-calendar-service.d.mts +3 -22
- package/dist/actions/assign-calendar-service.d.mts.map +1 -1
- package/dist/actions/assign-calendar-service.mjs +1 -0
- package/dist/actions/assign-calendar-service.mjs.map +1 -1
- package/dist/actions/create-absence.cjs +1 -0
- package/dist/actions/create-absence.cjs.map +1 -1
- package/dist/actions/create-absence.d.cts +3 -27
- package/dist/actions/create-absence.d.cts.map +1 -1
- package/dist/actions/create-absence.d.mts +3 -27
- package/dist/actions/create-absence.d.mts.map +1 -1
- package/dist/actions/create-absence.mjs +1 -0
- package/dist/actions/create-absence.mjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.cjs +1 -0
- package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.cts +3 -24
- package/dist/actions/create-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.mts +3 -24
- package/dist/actions/create-anchortime-by-date.d.mts.map +1 -1
- package/dist/actions/create-anchortime-by-date.mjs +1 -0
- package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/create-anchortime.cjs +1 -0
- package/dist/actions/create-anchortime.cjs.map +1 -1
- package/dist/actions/create-anchortime.d.cts +3 -24
- package/dist/actions/create-anchortime.d.cts.map +1 -1
- package/dist/actions/create-anchortime.d.mts +3 -24
- package/dist/actions/create-anchortime.d.mts.map +1 -1
- package/dist/actions/create-anchortime.mjs +1 -0
- package/dist/actions/create-anchortime.mjs.map +1 -1
- package/dist/actions/create-appointment-sync.cjs +1 -0
- package/dist/actions/create-appointment-sync.cjs.map +1 -1
- package/dist/actions/create-appointment-sync.d.cts +3 -34
- package/dist/actions/create-appointment-sync.d.cts.map +1 -1
- package/dist/actions/create-appointment-sync.d.mts +3 -34
- package/dist/actions/create-appointment-sync.d.mts.map +1 -1
- package/dist/actions/create-appointment-sync.mjs +1 -0
- package/dist/actions/create-appointment-sync.mjs.map +1 -1
- package/dist/actions/create-appointment.cjs +1 -0
- package/dist/actions/create-appointment.cjs.map +1 -1
- package/dist/actions/create-appointment.d.cts +3 -92
- package/dist/actions/create-appointment.d.cts.map +1 -1
- package/dist/actions/create-appointment.d.mts +3 -92
- package/dist/actions/create-appointment.d.mts.map +1 -1
- package/dist/actions/create-appointment.mjs +1 -0
- package/dist/actions/create-appointment.mjs.map +1 -1
- package/dist/actions/create-calendar-return-time.cjs +1 -0
- package/dist/actions/create-calendar-return-time.cjs.map +1 -1
- package/dist/actions/create-calendar-return-time.d.cts +3 -25
- package/dist/actions/create-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/create-calendar-return-time.d.mts +3 -25
- package/dist/actions/create-calendar-return-time.d.mts.map +1 -1
- package/dist/actions/create-calendar-return-time.mjs +1 -0
- package/dist/actions/create-calendar-return-time.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -23
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -23
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +1 -0
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +3 -34
- package/dist/actions/create-service-group.d.cts.map +1 -1
- package/dist/actions/create-service-group.d.mts +3 -34
- package/dist/actions/create-service-group.d.mts.map +1 -1
- package/dist/actions/create-service-group.mjs +1 -0
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-service.cjs +1 -0
- package/dist/actions/create-service.cjs.map +1 -1
- package/dist/actions/create-service.d.cts +3 -132
- package/dist/actions/create-service.d.cts.map +1 -1
- package/dist/actions/create-service.d.mts +3 -132
- package/dist/actions/create-service.d.mts.map +1 -1
- package/dist/actions/create-service.mjs +1 -0
- package/dist/actions/create-service.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -27
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -27
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/create-usermapping.cjs +1 -0
- package/dist/actions/create-usermapping.cjs.map +1 -1
- package/dist/actions/create-usermapping.d.cts +3 -26
- package/dist/actions/create-usermapping.d.cts.map +1 -1
- package/dist/actions/create-usermapping.d.mts +3 -26
- package/dist/actions/create-usermapping.d.mts.map +1 -1
- package/dist/actions/create-usermapping.mjs +1 -0
- package/dist/actions/create-usermapping.mjs.map +1 -1
- package/dist/actions/create-voucher.cjs +1 -0
- package/dist/actions/create-voucher.cjs.map +1 -1
- package/dist/actions/create-voucher.d.cts +3 -25
- package/dist/actions/create-voucher.d.cts.map +1 -1
- package/dist/actions/create-voucher.d.mts +3 -25
- package/dist/actions/create-voucher.d.mts.map +1 -1
- package/dist/actions/create-voucher.mjs +1 -0
- package/dist/actions/create-voucher.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -27
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -27
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/create-working-time.cjs +1 -0
- package/dist/actions/create-working-time.cjs.map +1 -1
- package/dist/actions/create-working-time.d.cts +3 -32
- package/dist/actions/create-working-time.d.cts.map +1 -1
- package/dist/actions/create-working-time.d.mts +3 -32
- package/dist/actions/create-working-time.d.mts.map +1 -1
- package/dist/actions/create-working-time.mjs +1 -0
- package/dist/actions/create-working-time.mjs.map +1 -1
- package/dist/actions/create-working-times-date.cjs +1 -0
- package/dist/actions/create-working-times-date.cjs.map +1 -1
- package/dist/actions/create-working-times-date.d.cts +3 -33
- package/dist/actions/create-working-times-date.d.cts.map +1 -1
- package/dist/actions/create-working-times-date.d.mts +3 -33
- package/dist/actions/create-working-times-date.d.mts.map +1 -1
- package/dist/actions/create-working-times-date.mjs +1 -0
- package/dist/actions/create-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-absence.cjs +1 -0
- package/dist/actions/delete-absence.cjs.map +1 -1
- package/dist/actions/delete-absence.d.cts +3 -21
- package/dist/actions/delete-absence.d.cts.map +1 -1
- package/dist/actions/delete-absence.d.mts +3 -21
- package/dist/actions/delete-absence.d.mts.map +1 -1
- package/dist/actions/delete-absence.mjs +1 -0
- package/dist/actions/delete-absence.mjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.cjs +1 -0
- package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.cts +3 -21
- package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.mts +3 -21
- package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.mjs +1 -0
- package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/delete-anchortime.cjs +1 -0
- package/dist/actions/delete-anchortime.cjs.map +1 -1
- package/dist/actions/delete-anchortime.d.cts +3 -21
- package/dist/actions/delete-anchortime.d.cts.map +1 -1
- package/dist/actions/delete-anchortime.d.mts +3 -21
- package/dist/actions/delete-anchortime.d.mts.map +1 -1
- package/dist/actions/delete-anchortime.mjs +1 -0
- package/dist/actions/delete-anchortime.mjs.map +1 -1
- package/dist/actions/delete-appointment-sync.cjs +1 -0
- package/dist/actions/delete-appointment-sync.cjs.map +1 -1
- package/dist/actions/delete-appointment-sync.d.cts +3 -23
- package/dist/actions/delete-appointment-sync.d.cts.map +1 -1
- package/dist/actions/delete-appointment-sync.d.mts +3 -23
- package/dist/actions/delete-appointment-sync.d.mts.map +1 -1
- package/dist/actions/delete-appointment-sync.mjs +1 -0
- package/dist/actions/delete-appointment-sync.mjs.map +1 -1
- package/dist/actions/delete-appointment.cjs +1 -0
- package/dist/actions/delete-appointment.cjs.map +1 -1
- package/dist/actions/delete-appointment.d.cts +3 -21
- package/dist/actions/delete-appointment.d.cts.map +1 -1
- package/dist/actions/delete-appointment.d.mts +3 -21
- package/dist/actions/delete-appointment.d.mts.map +1 -1
- package/dist/actions/delete-appointment.mjs +1 -0
- package/dist/actions/delete-appointment.mjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.cjs +1 -0
- package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.d.cts +3 -21
- package/dist/actions/delete-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/delete-calendar-return-time.d.mts +3 -21
- package/dist/actions/delete-calendar-return-time.d.mts.map +1 -1
- package/dist/actions/delete-calendar-return-time.mjs +1 -0
- package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
- package/dist/actions/delete-calendar-service.cjs +1 -0
- package/dist/actions/delete-calendar-service.cjs.map +1 -1
- package/dist/actions/delete-calendar-service.d.cts +3 -22
- package/dist/actions/delete-calendar-service.d.cts.map +1 -1
- package/dist/actions/delete-calendar-service.d.mts +3 -22
- package/dist/actions/delete-calendar-service.d.mts.map +1 -1
- package/dist/actions/delete-calendar-service.mjs +1 -0
- package/dist/actions/delete-calendar-service.mjs.map +1 -1
- package/dist/actions/delete-calendar.cjs +1 -0
- package/dist/actions/delete-calendar.cjs.map +1 -1
- package/dist/actions/delete-calendar.d.cts +3 -21
- package/dist/actions/delete-calendar.d.cts.map +1 -1
- package/dist/actions/delete-calendar.d.mts +3 -21
- package/dist/actions/delete-calendar.d.mts.map +1 -1
- package/dist/actions/delete-calendar.mjs +1 -0
- package/dist/actions/delete-calendar.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -21
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -21
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-resource.cjs +1 -0
- package/dist/actions/delete-resource.cjs.map +1 -1
- package/dist/actions/delete-resource.d.cts +3 -22
- package/dist/actions/delete-resource.d.cts.map +1 -1
- package/dist/actions/delete-resource.d.mts +3 -22
- package/dist/actions/delete-resource.d.mts.map +1 -1
- package/dist/actions/delete-resource.mjs +1 -0
- package/dist/actions/delete-resource.mjs.map +1 -1
- package/dist/actions/delete-service.cjs +1 -0
- package/dist/actions/delete-service.cjs.map +1 -1
- package/dist/actions/delete-service.d.cts +3 -21
- package/dist/actions/delete-service.d.cts.map +1 -1
- package/dist/actions/delete-service.d.mts +3 -21
- package/dist/actions/delete-service.d.mts.map +1 -1
- package/dist/actions/delete-service.mjs +1 -0
- package/dist/actions/delete-service.mjs.map +1 -1
- package/dist/actions/delete-servicegroup.cjs +1 -0
- package/dist/actions/delete-servicegroup.cjs.map +1 -1
- package/dist/actions/delete-servicegroup.d.cts +3 -21
- package/dist/actions/delete-servicegroup.d.cts.map +1 -1
- package/dist/actions/delete-servicegroup.d.mts +3 -21
- package/dist/actions/delete-servicegroup.d.mts.map +1 -1
- package/dist/actions/delete-servicegroup.mjs +1 -0
- package/dist/actions/delete-servicegroup.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -21
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -21
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/delete-usermapping.cjs +1 -0
- package/dist/actions/delete-usermapping.cjs.map +1 -1
- package/dist/actions/delete-usermapping.d.cts +3 -21
- package/dist/actions/delete-usermapping.d.cts.map +1 -1
- package/dist/actions/delete-usermapping.d.mts +3 -21
- package/dist/actions/delete-usermapping.d.mts.map +1 -1
- package/dist/actions/delete-usermapping.mjs +1 -0
- package/dist/actions/delete-usermapping.mjs.map +1 -1
- package/dist/actions/delete-voucher.cjs +1 -0
- package/dist/actions/delete-voucher.cjs.map +1 -1
- package/dist/actions/delete-voucher.d.cts +3 -21
- package/dist/actions/delete-voucher.d.cts.map +1 -1
- package/dist/actions/delete-voucher.d.mts +3 -21
- package/dist/actions/delete-voucher.d.mts.map +1 -1
- package/dist/actions/delete-voucher.mjs +1 -0
- package/dist/actions/delete-voucher.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -21
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -21
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/delete-working-times-date.cjs +1 -0
- package/dist/actions/delete-working-times-date.cjs.map +1 -1
- package/dist/actions/delete-working-times-date.d.cts +3 -22
- package/dist/actions/delete-working-times-date.d.cts.map +1 -1
- package/dist/actions/delete-working-times-date.d.mts +3 -22
- package/dist/actions/delete-working-times-date.d.mts.map +1 -1
- package/dist/actions/delete-working-times-date.mjs +1 -0
- package/dist/actions/delete-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-working-times.cjs +1 -0
- package/dist/actions/delete-working-times.cjs.map +1 -1
- package/dist/actions/delete-working-times.d.cts +3 -22
- package/dist/actions/delete-working-times.d.cts.map +1 -1
- package/dist/actions/delete-working-times.d.mts +3 -22
- package/dist/actions/delete-working-times.d.mts.map +1 -1
- package/dist/actions/delete-working-times.mjs +1 -0
- package/dist/actions/delete-working-times.mjs.map +1 -1
- package/dist/actions/get-absences.cjs +1 -0
- package/dist/actions/get-absences.cjs.map +1 -1
- package/dist/actions/get-absences.d.cts +3 -21
- package/dist/actions/get-absences.d.cts.map +1 -1
- package/dist/actions/get-absences.d.mts +3 -21
- package/dist/actions/get-absences.d.mts.map +1 -1
- package/dist/actions/get-absences.mjs +1 -0
- package/dist/actions/get-absences.mjs.map +1 -1
- package/dist/actions/get-anchortime-date.cjs +1 -0
- package/dist/actions/get-anchortime-date.cjs.map +1 -1
- package/dist/actions/get-anchortime-date.d.cts +3 -21
- package/dist/actions/get-anchortime-date.d.cts.map +1 -1
- package/dist/actions/get-anchortime-date.d.mts +3 -21
- package/dist/actions/get-anchortime-date.d.mts.map +1 -1
- package/dist/actions/get-anchortime-date.mjs +1 -0
- package/dist/actions/get-anchortime-date.mjs.map +1 -1
- package/dist/actions/get-anchortimes.cjs +1 -0
- package/dist/actions/get-anchortimes.cjs.map +1 -1
- package/dist/actions/get-anchortimes.d.cts +3 -21
- package/dist/actions/get-anchortimes.d.cts.map +1 -1
- package/dist/actions/get-anchortimes.d.mts +3 -21
- package/dist/actions/get-anchortimes.d.mts.map +1 -1
- package/dist/actions/get-anchortimes.mjs +1 -0
- package/dist/actions/get-anchortimes.mjs.map +1 -1
- package/dist/actions/get-appointment-sync.cjs +1 -0
- package/dist/actions/get-appointment-sync.cjs.map +1 -1
- package/dist/actions/get-appointment-sync.d.cts +3 -21
- package/dist/actions/get-appointment-sync.d.cts.map +1 -1
- package/dist/actions/get-appointment-sync.d.mts +3 -21
- package/dist/actions/get-appointment-sync.d.mts.map +1 -1
- package/dist/actions/get-appointment-sync.mjs +1 -0
- package/dist/actions/get-appointment-sync.mjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.cjs +1 -0
- package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.cts +3 -22
- package/dist/actions/get-bookingpage-logs.d.cts.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.mts +3 -22
- package/dist/actions/get-bookingpage-logs.d.mts.map +1 -1
- package/dist/actions/get-bookingpage-logs.mjs +1 -0
- package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
- package/dist/actions/get-calendar-return-time.cjs +1 -0
- package/dist/actions/get-calendar-return-time.cjs.map +1 -1
- package/dist/actions/get-calendar-return-time.d.cts +3 -21
- package/dist/actions/get-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/get-calendar-return-time.d.mts +3 -21
- package/dist/actions/get-calendar-return-time.d.mts.map +1 -1
- package/dist/actions/get-calendar-return-time.mjs +1 -0
- package/dist/actions/get-calendar-return-time.mjs.map +1 -1
- package/dist/actions/get-calendars.cjs +1 -0
- package/dist/actions/get-calendars.cjs.map +1 -1
- package/dist/actions/get-calendars.d.cts +3 -19
- package/dist/actions/get-calendars.d.cts.map +1 -1
- package/dist/actions/get-calendars.d.mts +3 -19
- package/dist/actions/get-calendars.d.mts.map +1 -1
- package/dist/actions/get-calendars.mjs +1 -0
- package/dist/actions/get-calendars.mjs.map +1 -1
- package/dist/actions/get-calendarservice.cjs +1 -0
- package/dist/actions/get-calendarservice.cjs.map +1 -1
- package/dist/actions/get-calendarservice.d.cts +3 -21
- package/dist/actions/get-calendarservice.d.cts.map +1 -1
- package/dist/actions/get-calendarservice.d.mts +3 -21
- package/dist/actions/get-calendarservice.d.mts.map +1 -1
- package/dist/actions/get-calendarservice.mjs +1 -0
- package/dist/actions/get-calendarservice.mjs.map +1 -1
- package/dist/actions/get-company.cjs +1 -0
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +3 -19
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +3 -19
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +1 -0
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +1 -0
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +3 -25
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +3 -25
- package/dist/actions/get-contact-by-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-id.mjs +1 -0
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +1 -0
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +3 -19
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +3 -19
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +1 -0
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-deleted-appointments.cjs +1 -0
- package/dist/actions/get-deleted-appointments.cjs.map +1 -1
- package/dist/actions/get-deleted-appointments.d.cts +3 -22
- package/dist/actions/get-deleted-appointments.d.cts.map +1 -1
- package/dist/actions/get-deleted-appointments.d.mts +3 -22
- package/dist/actions/get-deleted-appointments.d.mts.map +1 -1
- package/dist/actions/get-deleted-appointments.mjs +1 -0
- package/dist/actions/get-deleted-appointments.mjs.map +1 -1
- package/dist/actions/get-message-logs.cjs +1 -0
- package/dist/actions/get-message-logs.cjs.map +1 -1
- package/dist/actions/get-message-logs.d.cts +3 -23
- package/dist/actions/get-message-logs.d.cts.map +1 -1
- package/dist/actions/get-message-logs.d.mts +3 -23
- package/dist/actions/get-message-logs.d.mts.map +1 -1
- package/dist/actions/get-message-logs.mjs +1 -0
- package/dist/actions/get-message-logs.mjs.map +1 -1
- package/dist/actions/get-rating.cjs +1 -0
- package/dist/actions/get-rating.cjs.map +1 -1
- package/dist/actions/get-rating.d.cts +3 -19
- package/dist/actions/get-rating.d.cts.map +1 -1
- package/dist/actions/get-rating.d.mts +3 -19
- package/dist/actions/get-rating.d.mts.map +1 -1
- package/dist/actions/get-rating.mjs +1 -0
- package/dist/actions/get-rating.mjs.map +1 -1
- package/dist/actions/get-service-by-id.cjs +1 -0
- package/dist/actions/get-service-by-id.cjs.map +1 -1
- package/dist/actions/get-service-by-id.d.cts +3 -21
- package/dist/actions/get-service-by-id.d.cts.map +1 -1
- package/dist/actions/get-service-by-id.d.mts +3 -21
- package/dist/actions/get-service-by-id.d.mts.map +1 -1
- package/dist/actions/get-service-by-id.mjs +1 -0
- package/dist/actions/get-service-by-id.mjs.map +1 -1
- package/dist/actions/get-service-calendar.cjs +1 -0
- package/dist/actions/get-service-calendar.cjs.map +1 -1
- package/dist/actions/get-service-calendar.d.cts +3 -21
- package/dist/actions/get-service-calendar.d.cts.map +1 -1
- package/dist/actions/get-service-calendar.d.mts +3 -21
- package/dist/actions/get-service-calendar.d.mts.map +1 -1
- package/dist/actions/get-service-calendar.mjs +1 -0
- package/dist/actions/get-service-calendar.mjs.map +1 -1
- package/dist/actions/get-servicegroup.cjs +1 -0
- package/dist/actions/get-servicegroup.cjs.map +1 -1
- package/dist/actions/get-servicegroup.d.cts +3 -22
- package/dist/actions/get-servicegroup.d.cts.map +1 -1
- package/dist/actions/get-servicegroup.d.mts +3 -22
- package/dist/actions/get-servicegroup.d.mts.map +1 -1
- package/dist/actions/get-servicegroup.mjs +1 -0
- package/dist/actions/get-servicegroup.mjs.map +1 -1
- package/dist/actions/get-services.cjs +1 -0
- package/dist/actions/get-services.cjs.map +1 -1
- package/dist/actions/get-services.d.cts +3 -19
- package/dist/actions/get-services.d.cts.map +1 -1
- package/dist/actions/get-services.d.mts +3 -19
- package/dist/actions/get-services.d.mts.map +1 -1
- package/dist/actions/get-services.mjs +1 -0
- package/dist/actions/get-services.mjs.map +1 -1
- package/dist/actions/get-survey-results.cjs +1 -0
- package/dist/actions/get-survey-results.cjs.map +1 -1
- package/dist/actions/get-survey-results.d.cts +3 -22
- package/dist/actions/get-survey-results.d.cts.map +1 -1
- package/dist/actions/get-survey-results.d.mts +3 -22
- package/dist/actions/get-survey-results.d.mts.map +1 -1
- package/dist/actions/get-survey-results.mjs +1 -0
- package/dist/actions/get-survey-results.mjs.map +1 -1
- package/dist/actions/get-timeslots.cjs +1 -0
- package/dist/actions/get-timeslots.cjs.map +1 -1
- package/dist/actions/get-timeslots.d.cts +3 -22
- package/dist/actions/get-timeslots.d.cts.map +1 -1
- package/dist/actions/get-timeslots.d.mts +3 -22
- package/dist/actions/get-timeslots.d.mts.map +1 -1
- package/dist/actions/get-timeslots.mjs +1 -0
- package/dist/actions/get-timeslots.mjs.map +1 -1
- package/dist/actions/get-usermapping.cjs +1 -0
- package/dist/actions/get-usermapping.cjs.map +1 -1
- package/dist/actions/get-usermapping.d.cts +3 -21
- package/dist/actions/get-usermapping.d.cts.map +1 -1
- package/dist/actions/get-usermapping.d.mts +3 -21
- package/dist/actions/get-usermapping.d.mts.map +1 -1
- package/dist/actions/get-usermapping.mjs +1 -0
- package/dist/actions/get-usermapping.mjs.map +1 -1
- package/dist/actions/get-users.cjs +1 -0
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +3 -19
- package/dist/actions/get-users.d.cts.map +1 -1
- package/dist/actions/get-users.d.mts +3 -19
- package/dist/actions/get-users.d.mts.map +1 -1
- package/dist/actions/get-users.mjs +1 -0
- package/dist/actions/get-users.mjs.map +1 -1
- package/dist/actions/get-working-times-date.cjs +1 -0
- package/dist/actions/get-working-times-date.cjs.map +1 -1
- package/dist/actions/get-working-times-date.d.cts +3 -21
- package/dist/actions/get-working-times-date.d.cts.map +1 -1
- package/dist/actions/get-working-times-date.d.mts +3 -21
- package/dist/actions/get-working-times-date.d.mts.map +1 -1
- package/dist/actions/get-working-times-date.mjs +1 -0
- package/dist/actions/get-working-times-date.mjs.map +1 -1
- package/dist/actions/get-working-times.cjs +1 -0
- package/dist/actions/get-working-times.cjs.map +1 -1
- package/dist/actions/get-working-times.d.cts +3 -21
- package/dist/actions/get-working-times.d.cts.map +1 -1
- package/dist/actions/get-working-times.d.mts +3 -21
- package/dist/actions/get-working-times.d.mts.map +1 -1
- package/dist/actions/get-working-times.mjs +1 -0
- package/dist/actions/get-working-times.mjs.map +1 -1
- package/dist/actions/list-appointments.cjs +1 -0
- package/dist/actions/list-appointments.cjs.map +1 -1
- package/dist/actions/list-appointments.d.cts +3 -33
- package/dist/actions/list-appointments.d.cts.map +1 -1
- package/dist/actions/list-appointments.d.mts +3 -33
- package/dist/actions/list-appointments.d.mts.map +1 -1
- package/dist/actions/list-appointments.mjs +1 -0
- package/dist/actions/list-appointments.mjs.map +1 -1
- package/dist/actions/list-vouchers.cjs +1 -0
- package/dist/actions/list-vouchers.cjs.map +1 -1
- package/dist/actions/list-vouchers.d.cts +3 -19
- package/dist/actions/list-vouchers.d.cts.map +1 -1
- package/dist/actions/list-vouchers.d.mts +3 -19
- package/dist/actions/list-vouchers.d.mts.map +1 -1
- package/dist/actions/list-vouchers.mjs +1 -0
- package/dist/actions/list-vouchers.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -19
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -19
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/put-service.cjs +1 -0
- package/dist/actions/put-service.cjs.map +1 -1
- package/dist/actions/put-service.d.cts +3 -133
- package/dist/actions/put-service.d.cts.map +1 -1
- package/dist/actions/put-service.d.mts +3 -133
- package/dist/actions/put-service.d.mts.map +1 -1
- package/dist/actions/put-service.mjs +1 -0
- package/dist/actions/put-service.mjs.map +1 -1
- package/dist/actions/update-absence.cjs +1 -0
- package/dist/actions/update-absence.cjs.map +1 -1
- package/dist/actions/update-absence.d.cts +3 -27
- package/dist/actions/update-absence.d.cts.map +1 -1
- package/dist/actions/update-absence.d.mts +3 -27
- package/dist/actions/update-absence.d.mts.map +1 -1
- package/dist/actions/update-absence.mjs +1 -0
- package/dist/actions/update-absence.mjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.cjs +1 -0
- package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.d.cts +3 -25
- package/dist/actions/update-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/update-anchortime-by-date.d.mts +3 -25
- package/dist/actions/update-anchortime-by-date.d.mts.map +1 -1
- package/dist/actions/update-anchortime-by-date.mjs +1 -0
- package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/update-anchortime.cjs +1 -0
- package/dist/actions/update-anchortime.cjs.map +1 -1
- package/dist/actions/update-anchortime.d.cts +3 -25
- package/dist/actions/update-anchortime.d.cts.map +1 -1
- package/dist/actions/update-anchortime.d.mts +3 -25
- package/dist/actions/update-anchortime.d.mts.map +1 -1
- package/dist/actions/update-anchortime.mjs +1 -0
- package/dist/actions/update-anchortime.mjs.map +1 -1
- package/dist/actions/update-appointment.cjs +1 -0
- package/dist/actions/update-appointment.cjs.map +1 -1
- package/dist/actions/update-appointment.d.cts +3 -75
- package/dist/actions/update-appointment.d.cts.map +1 -1
- package/dist/actions/update-appointment.d.mts +3 -75
- package/dist/actions/update-appointment.d.mts.map +1 -1
- package/dist/actions/update-appointment.mjs +1 -0
- package/dist/actions/update-appointment.mjs.map +1 -1
- package/dist/actions/update-calendar-return-time.cjs +1 -0
- package/dist/actions/update-calendar-return-time.cjs.map +1 -1
- package/dist/actions/update-calendar-return-time.d.cts +3 -26
- package/dist/actions/update-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/update-calendar-return-time.d.mts +3 -26
- package/dist/actions/update-calendar-return-time.d.mts.map +1 -1
- package/dist/actions/update-calendar-return-time.mjs +1 -0
- package/dist/actions/update-calendar-return-time.mjs.map +1 -1
- package/dist/actions/update-calendar.cjs +1 -0
- package/dist/actions/update-calendar.cjs.map +1 -1
- package/dist/actions/update-calendar.d.cts +3 -30
- package/dist/actions/update-calendar.d.cts.map +1 -1
- package/dist/actions/update-calendar.d.mts +3 -30
- package/dist/actions/update-calendar.d.mts.map +1 -1
- package/dist/actions/update-calendar.mjs +1 -0
- package/dist/actions/update-calendar.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -24
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -24
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-resource.cjs +1 -0
- package/dist/actions/update-resource.cjs.map +1 -1
- package/dist/actions/update-resource.d.cts +3 -23
- package/dist/actions/update-resource.d.cts.map +1 -1
- package/dist/actions/update-resource.d.mts +3 -23
- package/dist/actions/update-resource.d.mts.map +1 -1
- package/dist/actions/update-resource.mjs +1 -0
- package/dist/actions/update-resource.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +1 -0
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +3 -45
- package/dist/actions/update-service-group.d.cts.map +1 -1
- package/dist/actions/update-service-group.d.mts +3 -45
- package/dist/actions/update-service-group.d.mts.map +1 -1
- package/dist/actions/update-service-group.mjs +1 -0
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-service.cjs +1 -0
- package/dist/actions/update-service.cjs.map +1 -1
- package/dist/actions/update-service.d.cts +3 -26
- package/dist/actions/update-service.d.cts.map +1 -1
- package/dist/actions/update-service.d.mts +3 -26
- package/dist/actions/update-service.d.mts.map +1 -1
- package/dist/actions/update-service.mjs +1 -0
- package/dist/actions/update-service.mjs.map +1 -1
- package/dist/actions/update-sync-appointment.cjs +1 -0
- package/dist/actions/update-sync-appointment.cjs.map +1 -1
- package/dist/actions/update-sync-appointment.d.cts +3 -33
- package/dist/actions/update-sync-appointment.d.cts.map +1 -1
- package/dist/actions/update-sync-appointment.d.mts +3 -33
- package/dist/actions/update-sync-appointment.d.mts.map +1 -1
- package/dist/actions/update-sync-appointment.mjs +1 -0
- package/dist/actions/update-sync-appointment.mjs.map +1 -1
- package/dist/actions/update-usermapping.cjs +1 -0
- package/dist/actions/update-usermapping.cjs.map +1 -1
- package/dist/actions/update-usermapping.d.cts +3 -27
- package/dist/actions/update-usermapping.d.cts.map +1 -1
- package/dist/actions/update-usermapping.d.mts +3 -27
- package/dist/actions/update-usermapping.d.mts.map +1 -1
- package/dist/actions/update-usermapping.mjs +1 -0
- package/dist/actions/update-usermapping.mjs.map +1 -1
- package/dist/actions/update-voucher.cjs +1 -0
- package/dist/actions/update-voucher.cjs.map +1 -1
- package/dist/actions/update-voucher.d.cts +3 -22
- package/dist/actions/update-voucher.d.cts.map +1 -1
- package/dist/actions/update-voucher.d.mts +3 -22
- package/dist/actions/update-voucher.d.mts.map +1 -1
- package/dist/actions/update-voucher.mjs +1 -0
- package/dist/actions/update-voucher.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -22
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -22
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/update-working-times-date.cjs +1 -0
- package/dist/actions/update-working-times-date.cjs.map +1 -1
- package/dist/actions/update-working-times-date.d.cts +3 -34
- package/dist/actions/update-working-times-date.d.cts.map +1 -1
- package/dist/actions/update-working-times-date.d.mts +3 -34
- package/dist/actions/update-working-times-date.d.mts.map +1 -1
- package/dist/actions/update-working-times-date.mjs +1 -0
- package/dist/actions/update-working-times-date.mjs.map +1 -1
- package/dist/actions/update-working-times.cjs +1 -0
- package/dist/actions/update-working-times.cjs.map +1 -1
- package/dist/actions/update-working-times.d.cts +3 -33
- package/dist/actions/update-working-times.d.cts.map +1 -1
- package/dist/actions/update-working-times.d.mts +3 -33
- package/dist/actions/update-working-times.d.mts.map +1 -1
- package/dist/actions/update-working-times.mjs +1 -0
- package/dist/actions/update-working-times.mjs.map +1 -1
- package/dist/app.cjs +7 -6
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { etermin } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-service.d.ts
|
|
@@ -120,138 +122,7 @@ declare const EterminCreateServiceOutput: z.ZodObject<{
|
|
|
120
122
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
123
|
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
124
|
}, z.core.$loose>;
|
|
123
|
-
declare const eterminCreateService:
|
|
124
|
-
servicede: string;
|
|
125
|
-
servicegroupid: number;
|
|
126
|
-
timeslotminutes: number;
|
|
127
|
-
PM0?: number | undefined;
|
|
128
|
-
PM1?: number | undefined;
|
|
129
|
-
PM2?: number | undefined;
|
|
130
|
-
vat?: number | undefined;
|
|
131
|
-
mpbs?: number | undefined;
|
|
132
|
-
ssca?: number | undefined;
|
|
133
|
-
tags?: string | undefined;
|
|
134
|
-
image?: string | undefined;
|
|
135
|
-
price?: number | undefined;
|
|
136
|
-
rrule?: string | undefined;
|
|
137
|
-
infode?: string | undefined;
|
|
138
|
-
jscode?: string | undefined;
|
|
139
|
-
wowing?: number | undefined;
|
|
140
|
-
cluster?: number | undefined;
|
|
141
|
-
enabled?: boolean | undefined;
|
|
142
|
-
uselogo?: boolean | undefined;
|
|
143
|
-
currency?: string | undefined;
|
|
144
|
-
extramin?: number | undefined;
|
|
145
|
-
feedback?: number | undefined;
|
|
146
|
-
nrappsel?: number | undefined;
|
|
147
|
-
rangeend?: number | undefined;
|
|
148
|
-
showindb?: boolean | undefined;
|
|
149
|
-
appattrib?: number | undefined;
|
|
150
|
-
appfuture?: number | undefined;
|
|
151
|
-
infotxtp2?: string | undefined;
|
|
152
|
-
maxappsel?: number | undefined;
|
|
153
|
-
mstextpos?: number | undefined;
|
|
154
|
-
showavcap?: number | undefined;
|
|
155
|
-
sortorder?: number | undefined;
|
|
156
|
-
emailtxtde?: string | undefined;
|
|
157
|
-
rangestart?: number | undefined;
|
|
158
|
-
showcalpic?: number | undefined;
|
|
159
|
-
startedapp?: number | undefined;
|
|
160
|
-
tagscancel?: string | undefined;
|
|
161
|
-
addapphours?: number | undefined;
|
|
162
|
-
appdeadline?: number | undefined;
|
|
163
|
-
bookingtype?: number | undefined;
|
|
164
|
-
emailsender?: string | undefined;
|
|
165
|
-
infodisplay?: number | undefined;
|
|
166
|
-
maxcapacity?: number | undefined;
|
|
167
|
-
maxminslots?: boolean | undefined;
|
|
168
|
-
notearlyapp?: number | undefined;
|
|
169
|
-
showcalname?: number | undefined;
|
|
170
|
-
waitinglist?: number | undefined;
|
|
171
|
-
abbreviation?: string | undefined;
|
|
172
|
-
capseltextde?: string | undefined;
|
|
173
|
-
extramintype?: number | undefined;
|
|
174
|
-
limitbooking?: number | undefined;
|
|
175
|
-
limitservice?: number | undefined;
|
|
176
|
-
priceinfopos?: number | undefined;
|
|
177
|
-
showinternal?: boolean | undefined;
|
|
178
|
-
voucherfield?: number | undefined;
|
|
179
|
-
workloadperc?: number | undefined;
|
|
180
|
-
bookingminute?: number | undefined;
|
|
181
|
-
pricesuffixde?: string | undefined;
|
|
182
|
-
reminderhours?: number | undefined;
|
|
183
|
-
canceldeadline?: number | undefined;
|
|
184
|
-
capacitynonsel?: number | undefined;
|
|
185
|
-
enablecapacity?: boolean | undefined;
|
|
186
|
-
hideserviceids?: string | undefined;
|
|
187
|
-
issubscription?: boolean | undefined;
|
|
188
|
-
reminderhours2?: number | undefined;
|
|
189
|
-
showserviceids?: string | undefined;
|
|
190
|
-
timeslotformat?: number | undefined;
|
|
191
|
-
calcdrivingtime?: number | undefined;
|
|
192
|
-
customerconfirm?: number | undefined;
|
|
193
|
-
infotextinslots?: boolean | undefined;
|
|
194
|
-
multiservicemax?: number | undefined;
|
|
195
|
-
multiservicemin?: number | undefined;
|
|
196
|
-
multiservicesel?: boolean | undefined;
|
|
197
|
-
paymentduration?: number | undefined;
|
|
198
|
-
pricediffperday?: boolean | undefined;
|
|
199
|
-
smsconfirmation?: number | undefined;
|
|
200
|
-
dayselectiontype?: number | undefined;
|
|
201
|
-
multiappointment?: number | undefined;
|
|
202
|
-
nrappseladjacent?: boolean | undefined;
|
|
203
|
-
timeslotcombined?: number | undefined;
|
|
204
|
-
calendarselection?: number | undefined;
|
|
205
|
-
externalreference?: string | undefined;
|
|
206
|
-
limitappointments?: number | undefined;
|
|
207
|
-
nrtimeslotentries?: number | undefined;
|
|
208
|
-
priceispercentage?: boolean | undefined;
|
|
209
|
-
maxcapacityusersel?: number | undefined;
|
|
210
|
-
vendorconfirmation?: number | undefined;
|
|
211
|
-
wowingautomationid?: number | undefined;
|
|
212
|
-
appointmentlocation?: number | undefined;
|
|
213
|
-
customerconfirmtime?: number | undefined;
|
|
214
|
-
showcapselectionbox?: boolean | undefined;
|
|
215
|
-
allowonlythisservice?: boolean | undefined;
|
|
216
|
-
fillcalendarstrategy?: number | undefined;
|
|
217
|
-
multiplypricewithcap?: boolean | undefined;
|
|
218
|
-
nrappseladjacenttype?: number | undefined;
|
|
219
|
-
severalcalendarsused?: boolean | undefined;
|
|
220
|
-
differenttimecombined?: boolean | undefined;
|
|
221
|
-
differenttimeresource?: boolean | undefined;
|
|
222
|
-
externalreferencedate?: string | undefined;
|
|
223
|
-
limitappointmentstype?: number | undefined;
|
|
224
|
-
specificrangenextslot?: boolean | undefined;
|
|
225
|
-
timeslotminutesresend?: number | undefined;
|
|
226
|
-
appointmentlocationtext?: string | undefined;
|
|
227
|
-
externalreferencecancel?: string | undefined;
|
|
228
|
-
externalreferencechange?: string | undefined;
|
|
229
|
-
externalreferencedelete?: string | undefined;
|
|
230
|
-
paymentamountisabsolute?: number | undefined;
|
|
231
|
-
paymentamountpercentage?: number | undefined;
|
|
232
|
-
timeslotminutesresstart?: number | undefined;
|
|
233
|
-
externalreferencecalname?: string | undefined;
|
|
234
|
-
externalreferencelocation?: string | undefined;
|
|
235
|
-
multiservicedurationcalcmethod?: number | undefined;
|
|
236
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
237
|
-
connectionId: z.ZodString;
|
|
238
|
-
entityId: z.ZodString;
|
|
239
|
-
instanceId: z.ZodString;
|
|
240
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
241
|
-
bearer_token: z.ZodString;
|
|
242
|
-
generic_api_key: z.ZodString;
|
|
243
|
-
generic_secret: z.ZodString;
|
|
244
|
-
generic_id: z.ZodString;
|
|
245
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
246
|
-
connectionId: z.ZodString;
|
|
247
|
-
entityId: z.ZodString;
|
|
248
|
-
instanceId: z.ZodString;
|
|
249
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
250
|
-
bearer_token: z.ZodString;
|
|
251
|
-
generic_api_key: z.ZodString;
|
|
252
|
-
generic_secret: z.ZodString;
|
|
253
|
-
generic_id: z.ZodString;
|
|
254
|
-
}, z.core.$strip>>]>;
|
|
125
|
+
declare const eterminCreateService: AppAction<typeof EterminCreateServiceInput, typeof EterminCreateServiceOutput, typeof etermin.credential>;
|
|
255
126
|
//#endregion
|
|
256
127
|
export { eterminCreateService };
|
|
257
128
|
//# sourceMappingURL=create-service.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-service.d.mts","names":[],"sources":["../../src/actions/create-service.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-service.d.mts","names":[],"sources":["../../src/actions/create-service.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkHzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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.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}).passthrough().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,I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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,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-service.mjs","names":[],"sources":["../../src/actions/create-service.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { etermin } from \"../app\";\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}).passthrough().describe(\"Response model for newly created service in eTermin.\");\n\nexport const eterminCreateService: AppAction<\n typeof EterminCreateServiceInput,\n typeof EterminCreateServiceOutput,\n typeof etermin.credential\n> = 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":";;;AA8HA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhIuC,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,C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,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { etermin } from \"../app\";\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}).passthrough().describe(\"Response schema after creating a new eTermin user.\");\n\nexport const eterminCreateUser: AppAction<\n typeof EterminCreateUserInput,\n typeof EterminCreateUserOutput,\n typeof etermin.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { etermin } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-user.d.ts
|
|
@@ -19,33 +21,7 @@ declare const EterminCreateUserOutput: z.ZodObject<{
|
|
|
19
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const eterminCreateUser:
|
|
23
|
-
email: string;
|
|
24
|
-
password: string;
|
|
25
|
-
last_name: string;
|
|
26
|
-
first_name: string;
|
|
27
|
-
role?: "client" | "employee" | "admin" | undefined;
|
|
28
|
-
phone?: string | undefined;
|
|
29
|
-
locale?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
bearer_token: z.ZodString;
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_secret: z.ZodString;
|
|
38
|
-
generic_id: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
bearer_token: z.ZodString;
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
generic_secret: z.ZodString;
|
|
47
|
-
generic_id: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const eterminCreateUser: AppAction<typeof EterminCreateUserInput, typeof EterminCreateUserOutput, typeof etermin.credential>;
|
|
49
25
|
//#endregion
|
|
50
26
|
export { eterminCreateUser };
|
|
51
27
|
//# sourceMappingURL=create-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { etermin } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-user.d.ts
|
|
@@ -19,33 +21,7 @@ declare const EterminCreateUserOutput: z.ZodObject<{
|
|
|
19
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const eterminCreateUser:
|
|
23
|
-
email: string;
|
|
24
|
-
password: string;
|
|
25
|
-
last_name: string;
|
|
26
|
-
first_name: string;
|
|
27
|
-
role?: "client" | "employee" | "admin" | undefined;
|
|
28
|
-
phone?: string | undefined;
|
|
29
|
-
locale?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
bearer_token: z.ZodString;
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_secret: z.ZodString;
|
|
38
|
-
generic_id: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
bearer_token: z.ZodString;
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
generic_secret: z.ZodString;
|
|
47
|
-
generic_id: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const eterminCreateUser: AppAction<typeof EterminCreateUserInput, typeof EterminCreateUserOutput, typeof etermin.credential>;
|
|
49
25
|
//#endregion
|
|
50
26
|
export { eterminCreateUser };
|
|
51
27
|
//# sourceMappingURL=create-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { etermin } from \"../app\";\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}).passthrough().describe(\"Response schema after creating a new eTermin user.\");\n\nexport const eterminCreateUser: AppAction<\n typeof EterminCreateUserInput,\n typeof EterminCreateUserOutput,\n typeof etermin.credential\n> = 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":";;;AAqBA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBoC,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,qDAeH;CACP,QAfqC,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,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -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.number().int().describe(\"Unique identifier of the created usermapping\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created usermapping in eTermin.\");\n\nexport const eterminCreateUsermapping = action(\"ETERMIN_CREATE_USERMAPPING\", {\n slug: \"etermin-create-usermapping\",\n name: \"Create Usermapping\",\n description: \"Tool to create a new usermapping in eTermin. Use when you need to map phone numbers or other values to specific calendars and service groups.\",\n input: EterminCreateUsermappingInput,\n output: EterminCreateUsermappingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { etermin } from \"../app\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created usermapping\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created usermapping in eTermin.\");\n\nexport const eterminCreateUsermapping: AppAction<\n typeof EterminCreateUsermappingInput,\n typeof EterminCreateUsermappingOutput,\n typeof etermin.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { etermin } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-usermapping.d.ts
|
|
@@ -23,32 +25,7 @@ declare const EterminCreateUsermappingOutput: z.ZodObject<{
|
|
|
23
25
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
26
|
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const eterminCreateUsermapping:
|
|
27
|
-
calendarid: number;
|
|
28
|
-
servicegroupid: number;
|
|
29
|
-
value?: string | undefined;
|
|
30
|
-
valueto?: number | undefined;
|
|
31
|
-
valuefrom?: number | undefined;
|
|
32
|
-
valuetype?: "equals" | "from_to" | "last_two_digits" | "last_three_digits" | "last_digit" | "first_digit" | "first_two_digits" | "first_three_digits" | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
bearer_token: z.ZodString;
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
generic_secret: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
bearer_token: z.ZodString;
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
generic_secret: z.ZodString;
|
|
50
|
-
generic_id: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const eterminCreateUsermapping: AppAction<typeof EterminCreateUsermappingInput, typeof EterminCreateUsermappingOutput, typeof etermin.credential>;
|
|
52
29
|
//#endregion
|
|
53
30
|
export { eterminCreateUsermapping };
|
|
54
31
|
//# sourceMappingURL=create-usermapping.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-usermapping.d.cts","names":[],"sources":["../../src/actions/create-usermapping.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-usermapping.d.cts","names":[],"sources":["../../src/actions/create-usermapping.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { etermin } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-usermapping.d.ts
|
|
@@ -23,32 +25,7 @@ declare const EterminCreateUsermappingOutput: z.ZodObject<{
|
|
|
23
25
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
26
|
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const eterminCreateUsermapping:
|
|
27
|
-
calendarid: number;
|
|
28
|
-
servicegroupid: number;
|
|
29
|
-
value?: string | undefined;
|
|
30
|
-
valueto?: number | undefined;
|
|
31
|
-
valuefrom?: number | undefined;
|
|
32
|
-
valuetype?: "equals" | "from_to" | "last_two_digits" | "last_three_digits" | "last_digit" | "first_digit" | "first_two_digits" | "first_three_digits" | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
bearer_token: z.ZodString;
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
generic_secret: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"etermin", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
bearer_token: z.ZodString;
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
generic_secret: z.ZodString;
|
|
50
|
-
generic_id: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const eterminCreateUsermapping: AppAction<typeof EterminCreateUsermappingInput, typeof EterminCreateUsermappingOutput, typeof etermin.credential>;
|
|
52
29
|
//#endregion
|
|
53
30
|
export { eterminCreateUsermapping };
|
|
54
31
|
//# sourceMappingURL=create-usermapping.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-usermapping.d.mts","names":[],"sources":["../../src/actions/create-usermapping.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-usermapping.d.mts","names":[],"sources":["../../src/actions/create-usermapping.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-usermapping.mjs","names":[],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created usermapping\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created usermapping in eTermin.\");\n\nexport const eterminCreateUsermapping = action(\"ETERMIN_CREATE_USERMAPPING\", {\n slug: \"etermin-create-usermapping\",\n name: \"Create Usermapping\",\n description: \"Tool to create a new usermapping in eTermin. Use when you need to map phone numbers or other values to specific calendars and service groups.\",\n input: EterminCreateUsermappingInput,\n output: EterminCreateUsermappingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-usermapping.mjs","names":[],"sources":["../../src/actions/create-usermapping.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { etermin } from \"../app\";\n\nexport const EterminCreateUsermappingInput = z.object({\n value: z.string().describe(\"Value that should be matched (valuetype must be equals, last_two_digits, or last_three_digits). If you use last x digits, only use x digits for the value.\").optional(),\n valueto: z.number().int().describe(\"Last number that works for this range (valuetype must be from_to).\").optional(),\n valuefrom: z.number().int().describe(\"First number that works for this range (valuetype must be from_to).\").optional(),\n valuetype: z.enum([\"equals\", \"from_to\", \"last_two_digits\", \"last_three_digits\", \"last_digit\", \"first_digit\", \"first_two_digits\", \"first_three_digits\"]).describe(\"Type of number search for usermapping.\").optional(),\n calendarid: z.number().int().describe(\"Calendar ID to associate with the usermapping. Must be a valid CalendarID from GET /api/calendar. Required field - using invalid values like -1 will cause an error.\"),\n servicegroupid: z.number().int().describe(\"Service group ID to associate with the usermapping. Must be a valid ServicegroupID from GET /api/servicegroup. Required field - using invalid values like -1 will cause an error.\"),\n}).describe(\"Request model for creating a new usermapping in eTermin.\");\nexport const EterminCreateUsermappingOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created usermapping\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created usermapping in eTermin.\");\n\nexport const eterminCreateUsermapping: AppAction<\n typeof EterminCreateUsermappingInput,\n typeof EterminCreateUsermappingOutput,\n typeof etermin.credential\n> = 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":";;;AAoBA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB2C,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,0DAeH;CACP,QAf4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.cjs","names":["z","action"],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).passthrough().describe(\"Response model for a newly created voucher in eTermin.\");\n\nexport const eterminCreateVoucher = action(\"ETERMIN_CREATE_VOUCHER\", {\n slug: \"etermin-create-voucher\",\n name: \"Create Voucher\",\n description: \"Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.\",\n input: EterminCreateVoucherInput,\n output: EterminCreateVoucherOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-voucher.cjs","names":["z","action"],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { etermin } from \"../app\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).passthrough().describe(\"Response model for a newly created voucher in eTermin.\");\n\nexport const eterminCreateVoucher: AppAction<\n typeof EterminCreateVoucherInput,\n typeof EterminCreateVoucherOutput,\n typeof etermin.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACpH,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACvN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACxG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,C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