@keystrokehq/etermin 0.1.4 → 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 -4
- package/dist/actions/assign-calendar-service.d.cts.map +1 -1
- package/dist/actions/assign-calendar-service.d.mts +3 -4
- 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 -9
- package/dist/actions/create-absence.d.cts.map +1 -1
- package/dist/actions/create-absence.d.mts +3 -9
- 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 -6
- package/dist/actions/create-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.mts +3 -6
- 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 -6
- package/dist/actions/create-anchortime.d.cts.map +1 -1
- package/dist/actions/create-anchortime.d.mts +3 -6
- 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 -16
- package/dist/actions/create-appointment-sync.d.cts.map +1 -1
- package/dist/actions/create-appointment-sync.d.mts +3 -16
- 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 -74
- package/dist/actions/create-appointment.d.cts.map +1 -1
- package/dist/actions/create-appointment.d.mts +3 -74
- 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 -7
- package/dist/actions/create-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/create-calendar-return-time.d.mts +3 -7
- 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 -5
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -5
- 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 -16
- package/dist/actions/create-service-group.d.cts.map +1 -1
- package/dist/actions/create-service-group.d.mts +3 -16
- 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 -114
- package/dist/actions/create-service.d.cts.map +1 -1
- package/dist/actions/create-service.d.mts +3 -114
- 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 -9
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -9
- 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 -8
- package/dist/actions/create-usermapping.d.cts.map +1 -1
- package/dist/actions/create-usermapping.d.mts +3 -8
- 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 -7
- package/dist/actions/create-voucher.d.cts.map +1 -1
- package/dist/actions/create-voucher.d.mts +3 -7
- 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 -9
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -9
- 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 -14
- package/dist/actions/create-working-time.d.cts.map +1 -1
- package/dist/actions/create-working-time.d.mts +3 -14
- 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 -15
- package/dist/actions/create-working-times-date.d.cts.map +1 -1
- package/dist/actions/create-working-times-date.d.mts +3 -15
- 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 -3
- package/dist/actions/delete-absence.d.cts.map +1 -1
- package/dist/actions/delete-absence.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-anchortime.d.cts.map +1 -1
- package/dist/actions/delete-anchortime.d.mts +3 -3
- 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 -5
- package/dist/actions/delete-appointment-sync.d.cts.map +1 -1
- package/dist/actions/delete-appointment-sync.d.mts +3 -5
- 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 -3
- package/dist/actions/delete-appointment.d.cts.map +1 -1
- package/dist/actions/delete-appointment.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/delete-calendar-return-time.d.mts +3 -3
- 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 -4
- package/dist/actions/delete-calendar-service.d.cts.map +1 -1
- package/dist/actions/delete-calendar-service.d.mts +3 -4
- 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 -3
- package/dist/actions/delete-calendar.d.cts.map +1 -1
- package/dist/actions/delete-calendar.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -3
- 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 -4
- package/dist/actions/delete-resource.d.cts.map +1 -1
- package/dist/actions/delete-resource.d.mts +3 -4
- 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 -3
- package/dist/actions/delete-service.d.cts.map +1 -1
- package/dist/actions/delete-service.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-servicegroup.d.cts.map +1 -1
- package/dist/actions/delete-servicegroup.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-usermapping.d.cts.map +1 -1
- package/dist/actions/delete-usermapping.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-voucher.d.cts.map +1 -1
- package/dist/actions/delete-voucher.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- 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 -4
- package/dist/actions/delete-working-times-date.d.cts.map +1 -1
- package/dist/actions/delete-working-times-date.d.mts +3 -4
- 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 -4
- package/dist/actions/delete-working-times.d.cts.map +1 -1
- package/dist/actions/delete-working-times.d.mts +3 -4
- 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 -3
- package/dist/actions/get-absences.d.cts.map +1 -1
- package/dist/actions/get-absences.d.mts +3 -3
- 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 -3
- package/dist/actions/get-anchortime-date.d.cts.map +1 -1
- package/dist/actions/get-anchortime-date.d.mts +3 -3
- 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 -3
- package/dist/actions/get-anchortimes.d.cts.map +1 -1
- package/dist/actions/get-anchortimes.d.mts +3 -3
- 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 -3
- package/dist/actions/get-appointment-sync.d.cts.map +1 -1
- package/dist/actions/get-appointment-sync.d.mts +3 -3
- 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 -4
- package/dist/actions/get-bookingpage-logs.d.cts.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.mts +3 -4
- 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 -3
- package/dist/actions/get-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/get-calendar-return-time.d.mts +3 -3
- 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 -1
- package/dist/actions/get-calendars.d.cts.map +1 -1
- package/dist/actions/get-calendars.d.mts +3 -1
- 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 -3
- package/dist/actions/get-calendarservice.d.cts.map +1 -1
- package/dist/actions/get-calendarservice.d.mts +3 -3
- 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 -1
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +3 -1
- 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 -7
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +3 -7
- 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 -1
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +3 -1
- 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 -4
- package/dist/actions/get-deleted-appointments.d.cts.map +1 -1
- package/dist/actions/get-deleted-appointments.d.mts +3 -4
- 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 -5
- package/dist/actions/get-message-logs.d.cts.map +1 -1
- package/dist/actions/get-message-logs.d.mts +3 -5
- 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 -1
- package/dist/actions/get-rating.d.cts.map +1 -1
- package/dist/actions/get-rating.d.mts +3 -1
- 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 -3
- package/dist/actions/get-service-by-id.d.cts.map +1 -1
- package/dist/actions/get-service-by-id.d.mts +3 -3
- 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 -3
- package/dist/actions/get-service-calendar.d.cts.map +1 -1
- package/dist/actions/get-service-calendar.d.mts +3 -3
- 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 -4
- package/dist/actions/get-servicegroup.d.cts.map +1 -1
- package/dist/actions/get-servicegroup.d.mts +3 -4
- 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 -1
- package/dist/actions/get-services.d.cts.map +1 -1
- package/dist/actions/get-services.d.mts +3 -1
- 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 -4
- package/dist/actions/get-survey-results.d.cts.map +1 -1
- package/dist/actions/get-survey-results.d.mts +3 -4
- 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 -4
- package/dist/actions/get-timeslots.d.cts.map +1 -1
- package/dist/actions/get-timeslots.d.mts +3 -4
- 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 -3
- package/dist/actions/get-usermapping.d.cts.map +1 -1
- package/dist/actions/get-usermapping.d.mts +3 -3
- 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 -1
- package/dist/actions/get-users.d.cts.map +1 -1
- package/dist/actions/get-users.d.mts +3 -1
- 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 -3
- package/dist/actions/get-working-times-date.d.cts.map +1 -1
- package/dist/actions/get-working-times-date.d.mts +3 -3
- 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 -3
- package/dist/actions/get-working-times.d.cts.map +1 -1
- package/dist/actions/get-working-times.d.mts +3 -3
- 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 -15
- package/dist/actions/list-appointments.d.cts.map +1 -1
- package/dist/actions/list-appointments.d.mts +3 -15
- 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 -1
- package/dist/actions/list-vouchers.d.cts.map +1 -1
- package/dist/actions/list-vouchers.d.mts +3 -1
- 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 -1
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -1
- 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 -115
- package/dist/actions/put-service.d.cts.map +1 -1
- package/dist/actions/put-service.d.mts +3 -115
- 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 -9
- package/dist/actions/update-absence.d.cts.map +1 -1
- package/dist/actions/update-absence.d.mts +3 -9
- 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 -7
- package/dist/actions/update-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/update-anchortime-by-date.d.mts +3 -7
- 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 -7
- package/dist/actions/update-anchortime.d.cts.map +1 -1
- package/dist/actions/update-anchortime.d.mts +3 -7
- 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 -57
- package/dist/actions/update-appointment.d.cts.map +1 -1
- package/dist/actions/update-appointment.d.mts +3 -57
- 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 -8
- package/dist/actions/update-calendar-return-time.d.cts.map +1 -1
- package/dist/actions/update-calendar-return-time.d.mts +3 -8
- 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 -12
- package/dist/actions/update-calendar.d.cts.map +1 -1
- package/dist/actions/update-calendar.d.mts +3 -12
- 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 -6
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -6
- 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 -5
- package/dist/actions/update-resource.d.cts.map +1 -1
- package/dist/actions/update-resource.d.mts +3 -5
- 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 -27
- package/dist/actions/update-service-group.d.cts.map +1 -1
- package/dist/actions/update-service-group.d.mts +3 -27
- 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 -8
- package/dist/actions/update-service.d.cts.map +1 -1
- package/dist/actions/update-service.d.mts +3 -8
- 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 -15
- package/dist/actions/update-sync-appointment.d.cts.map +1 -1
- package/dist/actions/update-sync-appointment.d.mts +3 -15
- 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 -9
- package/dist/actions/update-usermapping.d.cts.map +1 -1
- package/dist/actions/update-usermapping.d.mts +3 -9
- 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 -4
- package/dist/actions/update-voucher.d.cts.map +1 -1
- package/dist/actions/update-voucher.d.mts +3 -4
- 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 -4
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -4
- 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 -16
- package/dist/actions/update-working-times-date.d.cts.map +1 -1
- package/dist/actions/update-working-times-date.d.mts +3 -16
- 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 -15
- package/dist/actions/update-working-times.d.cts.map +1 -1
- package/dist/actions/update-working-times.d.mts +3 -15
- 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 +11 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +10 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +10 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +8 -2
- 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.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,15 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const eterminCreateUser: AppAction<typeof EterminCreateUserInput, typeof EterminCreateUserOutput, typeof etermin.credential>;
|
|
31
25
|
//#endregion
|
|
32
26
|
export { eterminCreateUser };
|
|
33
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,15 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const eterminCreateUser: AppAction<typeof EterminCreateUserInput, typeof EterminCreateUserOutput, typeof etermin.credential>;
|
|
31
25
|
//#endregion
|
|
32
26
|
export { eterminCreateUser };
|
|
33
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,14 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const eterminCreateUsermapping: AppAction<typeof EterminCreateUsermappingInput, typeof EterminCreateUsermappingOutput, typeof etermin.credential>;
|
|
34
29
|
//#endregion
|
|
35
30
|
export { eterminCreateUsermapping };
|
|
36
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,14 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const eterminCreateUsermapping: AppAction<typeof EterminCreateUsermappingInput, typeof EterminCreateUsermappingOutput, typeof etermin.credential>;
|
|
34
29
|
//#endregion
|
|
35
30
|
export { eterminCreateUsermapping };
|
|
36
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,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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-voucher.d.ts
|
|
@@ -21,13 +23,7 @@ declare const EterminCreateVoucherOutput: z.ZodObject<{
|
|
|
21
23
|
valid_to: z.ZodNullable<z.ZodString>;
|
|
22
24
|
valid_from: z.ZodNullable<z.ZodString>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const eterminCreateVoucher:
|
|
25
|
-
code: string;
|
|
26
|
-
type: "percent" | "absolute";
|
|
27
|
-
discount: number;
|
|
28
|
-
valid_to: string;
|
|
29
|
-
valid_from: string;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const eterminCreateVoucher: AppAction<typeof EterminCreateVoucherInput, typeof EterminCreateVoucherOutput, typeof etermin.credential>;
|
|
31
27
|
//#endregion
|
|
32
28
|
export { eterminCreateVoucher };
|
|
33
29
|
//# sourceMappingURL=create-voucher.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.d.cts","names":[],"sources":["../../src/actions/create-voucher.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-voucher.d.cts","names":[],"sources":["../../src/actions/create-voucher.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAW1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-voucher.d.ts
|
|
@@ -21,13 +23,7 @@ declare const EterminCreateVoucherOutput: z.ZodObject<{
|
|
|
21
23
|
valid_to: z.ZodNullable<z.ZodString>;
|
|
22
24
|
valid_from: z.ZodNullable<z.ZodString>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const eterminCreateVoucher:
|
|
25
|
-
code: string;
|
|
26
|
-
type: "percent" | "absolute";
|
|
27
|
-
discount: number;
|
|
28
|
-
valid_to: string;
|
|
29
|
-
valid_from: string;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const eterminCreateVoucher: AppAction<typeof EterminCreateVoucherInput, typeof EterminCreateVoucherOutput, typeof etermin.credential>;
|
|
31
27
|
//#endregion
|
|
32
28
|
export { eterminCreateVoucher };
|
|
33
29
|
//# sourceMappingURL=create-voucher.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.d.mts","names":[],"sources":["../../src/actions/create-voucher.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-voucher.d.mts","names":[],"sources":["../../src/actions/create-voucher.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAW1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.mjs","names":[],"sources":["../../src/actions/create-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateVoucherInput = z.object({\n code: z.string().describe(\"Unique voucher code that customers will use. Must be unique within your eTermin account.\"),\n type: z.enum([\"percent\", \"absolute\"]).describe(\"Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.\"),\n discount: z.number().describe(\"Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).\"),\n valid_to: z.string().describe(\"End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.\"),\n valid_from: z.string().describe(\"Start date from which the voucher becomes valid. Format: YYYY-MM-DD.\"),\n}).describe(\"Request model for creating a new voucher in eTermin.\");\nexport const EterminCreateVoucherOutput = z.object({\n iid: z.number().int().describe(\"Internal eTermin ID of the created voucher, if available.\").nullable().optional(),\n code: z.string().describe(\"The voucher code that was created.\").nullable(),\n type: z.string().describe(\"The discount type ('percent' or 'absolute').\").nullable(),\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable().optional(),\n success: z.boolean().describe(\"Whether the voucher was created successfully.\").nullable(),\n discount: z.number().describe(\"The discount value that was set.\").nullable(),\n valid_to: z.string().describe(\"End date of voucher validity (YYYY-MM-DD).\").nullable(),\n valid_from: z.string().describe(\"Start date of voucher validity (YYYY-MM-DD).\").nullable(),\n}).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.mjs","names":[],"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":";;;AAwBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACpH,MAAM,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G;EAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;EACvN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACxG,CAAC,CAAC,CAAC,SAAS,sDAoBH;CACP,QApBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.record(z.string(), z.unknown()).describe(\"Webhook configuration data returned by the API if creation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.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 EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.record(z.string(), z.unknown()).describe(\"Webhook configuration data returned by the API if creation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook: AppAction<\n typeof EterminCreateWebhookInput,\n typeof EterminCreateWebhookOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;CAC9M,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACjL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACvL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AAC3M,CAAC,CAAC,CAAC,SAAS,6UAA6U;AACzV,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACvL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+LAA+L;AAEzN,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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-webhook.d.ts
|
|
@@ -16,15 +18,7 @@ declare const EterminCreateWebhookOutput: z.ZodObject<{
|
|
|
16
18
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
webhookData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const eterminCreateWebhook:
|
|
20
|
-
url: string;
|
|
21
|
-
active?: boolean | undefined;
|
|
22
|
-
format?: string | undefined;
|
|
23
|
-
secretKey?: string | undefined;
|
|
24
|
-
headerName?: string | undefined;
|
|
25
|
-
headerValue?: string | undefined;
|
|
26
|
-
use_form_encoding?: boolean | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const eterminCreateWebhook: AppAction<typeof EterminCreateWebhookInput, typeof EterminCreateWebhookOutput, typeof etermin.credential>;
|
|
28
22
|
//#endregion
|
|
29
23
|
export { eterminCreateWebhook };
|
|
30
24
|
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-webhook.d.ts
|
|
@@ -16,15 +18,7 @@ declare const EterminCreateWebhookOutput: z.ZodObject<{
|
|
|
16
18
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
webhookData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const eterminCreateWebhook:
|
|
20
|
-
url: string;
|
|
21
|
-
active?: boolean | undefined;
|
|
22
|
-
format?: string | undefined;
|
|
23
|
-
secretKey?: string | undefined;
|
|
24
|
-
headerName?: string | undefined;
|
|
25
|
-
headerValue?: string | undefined;
|
|
26
|
-
use_form_encoding?: boolean | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const eterminCreateWebhook: AppAction<typeof EterminCreateWebhookInput, typeof EterminCreateWebhookOutput, typeof etermin.credential>;
|
|
28
22
|
//#endregion
|
|
29
23
|
export { eterminCreateWebhook };
|
|
30
24
|
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.record(z.string(), z.unknown()).describe(\"Webhook configuration data returned by the API if creation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.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 EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.record(z.string(), z.unknown()).describe(\"Webhook configuration data returned by the API if creation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook: AppAction<\n typeof EterminCreateWebhookInput,\n typeof EterminCreateWebhookOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;EAC9M,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACjL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;EACvL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACtK,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,SAAS,6UAgBH;CACP,QAhBwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACvL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+LAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-time.cjs","names":["z","action"],"sources":["../../src/actions/create-working-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimeInput = z.object({\n end: z.string().describe(\"End time of the working time slot in HH:MM format (e.g., '17:00')\"),\n start: z.string().describe(\"Start time of the working time slot in HH:MM format (e.g., '09:00')\"),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not be considered yet. Omit or set to 1 to enable immediately\").optional(),\n nrapps: z.number().int().describe(\"Number of appointments bookable in this working slot. Use -1 for unlimited appointments\").optional(),\n weekday: z.string().describe(\"Weekday ID(s) for this working time slot. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday. Multiple weekdays can be specified separated by commas (e.g., '2,3,5' for Monday, Tuesday, Thursday)\"),\n slottype: z.number().int().describe(\"Type of slot: 0 = valid for both internal and external (online booked) appointments (default), 1 = only valid for internal (manually entered) appointments\").optional(),\n weektype: z.number().int().describe(\"Defines the interval for the time slot: 0 = Every week, 1 = Odd weeks, 2 = Even weeks, 3 = First occurrence in month, 4 = Second occurrence in month, 5 = Third occurrence in month, 6 = Fourth occurrence in month, 7 = Every 3 weeks first occurrence, 8 = Every 3 weeks second occurrence, 9 = Every 3 weeks third occurrence, 10 = Fifth occurrence in month, 11 = Every 4 weeks first occurrence, 12 = Every 4 weeks second occurrence, 13 = Every 4 weeks third occurrence, 14 = Every 4 weeks fourth occurrence\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to associate with this working time slot\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that are valid with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how service validity is checked: 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a new working time slot in eTermin.\");\nexport const EterminCreateWorkingTimeOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response model for creating a working time slot in eTermin.\");\n\nexport const eterminCreateWorkingTime = action(\"ETERMIN_CREATE_WORKING_TIME\", {\n slug: \"etermin-create-working-time\",\n name: \"Create Working Time\",\n description: \"Tool to create a new working time slot in eTermin. Use when defining available time slots for appointments on a calendar.\",\n input: EterminCreateWorkingTimeInput,\n output: EterminCreateWorkingTimeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-working-time.cjs","names":["z","action"],"sources":["../../src/actions/create-working-time.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 EterminCreateWorkingTimeInput = z.object({\n end: z.string().describe(\"End time of the working time slot in HH:MM format (e.g., '17:00')\"),\n start: z.string().describe(\"Start time of the working time slot in HH:MM format (e.g., '09:00')\"),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not be considered yet. Omit or set to 1 to enable immediately\").optional(),\n nrapps: z.number().int().describe(\"Number of appointments bookable in this working slot. Use -1 for unlimited appointments\").optional(),\n weekday: z.string().describe(\"Weekday ID(s) for this working time slot. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday. Multiple weekdays can be specified separated by commas (e.g., '2,3,5' for Monday, Tuesday, Thursday)\"),\n slottype: z.number().int().describe(\"Type of slot: 0 = valid for both internal and external (online booked) appointments (default), 1 = only valid for internal (manually entered) appointments\").optional(),\n weektype: z.number().int().describe(\"Defines the interval for the time slot: 0 = Every week, 1 = Odd weeks, 2 = Even weeks, 3 = First occurrence in month, 4 = Second occurrence in month, 5 = Third occurrence in month, 6 = Fourth occurrence in month, 7 = Every 3 weeks first occurrence, 8 = Every 3 weeks second occurrence, 9 = Every 3 weeks third occurrence, 10 = Fifth occurrence in month, 11 = Every 4 weeks first occurrence, 12 = Every 4 weeks second occurrence, 13 = Every 4 weeks third occurrence, 14 = Every 4 weeks fourth occurrence\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to associate with this working time slot\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that are valid with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how service validity is checked: 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a new working time slot in eTermin.\");\nexport const EterminCreateWorkingTimeOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response model for creating a working time slot in eTermin.\");\n\nexport const eterminCreateWorkingTime: AppAction<\n typeof EterminCreateWorkingTimeInput,\n typeof EterminCreateWorkingTimeOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_WORKING_TIME\", {\n slug: \"etermin-create-working-time\",\n name: \"Create Working Time\",\n description: \"Tool to create a new working time slot in eTermin. Use when defining available time slots for appointments on a calendar.\",\n input: EterminCreateWorkingTimeInput,\n output: EterminCreateWorkingTimeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4OAA4O;CACzQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAC3M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wfAAwf,CAAC,CAAC,SAAS;CACviB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;AACvR,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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-working-time.d.ts
|
|
@@ -19,20 +21,7 @@ declare const EterminCreateWorkingTimeOutput: z.ZodObject<{
|
|
|
19
21
|
status: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
statusmsg: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const eterminCreateWorkingTime:
|
|
23
|
-
end: string;
|
|
24
|
-
start: string;
|
|
25
|
-
weekday: string;
|
|
26
|
-
calendarid: number;
|
|
27
|
-
enable?: number | undefined;
|
|
28
|
-
nrapps?: number | undefined;
|
|
29
|
-
slottype?: number | undefined;
|
|
30
|
-
weektype?: number | undefined;
|
|
31
|
-
locationid?: number | undefined;
|
|
32
|
-
calendarintervalid?: number | undefined;
|
|
33
|
-
validwithserviceid?: string | undefined;
|
|
34
|
-
allserviceidsrequired?: number | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const eterminCreateWorkingTime: AppAction<typeof EterminCreateWorkingTimeInput, typeof EterminCreateWorkingTimeOutput, typeof etermin.credential>;
|
|
36
25
|
//#endregion
|
|
37
26
|
export { eterminCreateWorkingTime };
|
|
38
27
|
//# sourceMappingURL=create-working-time.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-time.d.cts","names":[],"sources":["../../src/actions/create-working-time.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-working-time.d.cts","names":[],"sources":["../../src/actions/create-working-time.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,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-working-time.d.ts
|
|
@@ -19,20 +21,7 @@ declare const EterminCreateWorkingTimeOutput: z.ZodObject<{
|
|
|
19
21
|
status: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
statusmsg: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const eterminCreateWorkingTime:
|
|
23
|
-
end: string;
|
|
24
|
-
start: string;
|
|
25
|
-
weekday: string;
|
|
26
|
-
calendarid: number;
|
|
27
|
-
enable?: number | undefined;
|
|
28
|
-
nrapps?: number | undefined;
|
|
29
|
-
slottype?: number | undefined;
|
|
30
|
-
weektype?: number | undefined;
|
|
31
|
-
locationid?: number | undefined;
|
|
32
|
-
calendarintervalid?: number | undefined;
|
|
33
|
-
validwithserviceid?: string | undefined;
|
|
34
|
-
allserviceidsrequired?: number | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const eterminCreateWorkingTime: AppAction<typeof EterminCreateWorkingTimeInput, typeof EterminCreateWorkingTimeOutput, typeof etermin.credential>;
|
|
36
25
|
//#endregion
|
|
37
26
|
export { eterminCreateWorkingTime };
|
|
38
27
|
//# sourceMappingURL=create-working-time.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-time.d.mts","names":[],"sources":["../../src/actions/create-working-time.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-working-time.d.mts","names":[],"sources":["../../src/actions/create-working-time.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-time.mjs","names":[],"sources":["../../src/actions/create-working-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimeInput = z.object({\n end: z.string().describe(\"End time of the working time slot in HH:MM format (e.g., '17:00')\"),\n start: z.string().describe(\"Start time of the working time slot in HH:MM format (e.g., '09:00')\"),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not be considered yet. Omit or set to 1 to enable immediately\").optional(),\n nrapps: z.number().int().describe(\"Number of appointments bookable in this working slot. Use -1 for unlimited appointments\").optional(),\n weekday: z.string().describe(\"Weekday ID(s) for this working time slot. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday. Multiple weekdays can be specified separated by commas (e.g., '2,3,5' for Monday, Tuesday, Thursday)\"),\n slottype: z.number().int().describe(\"Type of slot: 0 = valid for both internal and external (online booked) appointments (default), 1 = only valid for internal (manually entered) appointments\").optional(),\n weektype: z.number().int().describe(\"Defines the interval for the time slot: 0 = Every week, 1 = Odd weeks, 2 = Even weeks, 3 = First occurrence in month, 4 = Second occurrence in month, 5 = Third occurrence in month, 6 = Fourth occurrence in month, 7 = Every 3 weeks first occurrence, 8 = Every 3 weeks second occurrence, 9 = Every 3 weeks third occurrence, 10 = Fifth occurrence in month, 11 = Every 4 weeks first occurrence, 12 = Every 4 weeks second occurrence, 13 = Every 4 weeks third occurrence, 14 = Every 4 weeks fourth occurrence\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to associate with this working time slot\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that are valid with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how service validity is checked: 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a new working time slot in eTermin.\");\nexport const EterminCreateWorkingTimeOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response model for creating a working time slot in eTermin.\");\n\nexport const eterminCreateWorkingTime = action(\"ETERMIN_CREATE_WORKING_TIME\", {\n slug: \"etermin-create-working-time\",\n name: \"Create Working Time\",\n description: \"Tool to create a new working time slot in eTermin. Use when defining available time slots for appointments on a calendar.\",\n input: EterminCreateWorkingTimeInput,\n output: EterminCreateWorkingTimeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-working-time.mjs","names":[],"sources":["../../src/actions/create-working-time.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 EterminCreateWorkingTimeInput = z.object({\n end: z.string().describe(\"End time of the working time slot in HH:MM format (e.g., '17:00')\"),\n start: z.string().describe(\"Start time of the working time slot in HH:MM format (e.g., '09:00')\"),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not be considered yet. Omit or set to 1 to enable immediately\").optional(),\n nrapps: z.number().int().describe(\"Number of appointments bookable in this working slot. Use -1 for unlimited appointments\").optional(),\n weekday: z.string().describe(\"Weekday ID(s) for this working time slot. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday. Multiple weekdays can be specified separated by commas (e.g., '2,3,5' for Monday, Tuesday, Thursday)\"),\n slottype: z.number().int().describe(\"Type of slot: 0 = valid for both internal and external (online booked) appointments (default), 1 = only valid for internal (manually entered) appointments\").optional(),\n weektype: z.number().int().describe(\"Defines the interval for the time slot: 0 = Every week, 1 = Odd weeks, 2 = Even weeks, 3 = First occurrence in month, 4 = Second occurrence in month, 5 = Third occurrence in month, 6 = Fourth occurrence in month, 7 = Every 3 weeks first occurrence, 8 = Every 3 weeks second occurrence, 9 = Every 3 weeks third occurrence, 10 = Fifth occurrence in month, 11 = Every 4 weeks first occurrence, 12 = Every 4 weeks second occurrence, 13 = Every 4 weeks third occurrence, 14 = Every 4 weeks fourth occurrence\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to associate with this working time slot\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that are valid with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how service validity is checked: 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a new working time slot in eTermin.\");\nexport const EterminCreateWorkingTimeOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response model for creating a working time slot in eTermin.\");\n\nexport const eterminCreateWorkingTime: AppAction<\n typeof EterminCreateWorkingTimeInput,\n typeof EterminCreateWorkingTimeOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_WORKING_TIME\", {\n slug: \"etermin-create-working-time\",\n name: \"Create Working Time\",\n description: \"Tool to create a new working time slot in eTermin. Use when defining available time slots for appointments on a calendar.\",\n input: EterminCreateWorkingTimeInput,\n output: EterminCreateWorkingTimeOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACvJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4OAA4O;EACzQ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EAC3M,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wfAAwf,CAAC,CAAC,SAAS;EACviB,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC9H,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;CACvR,CAAC,CAAC,CAAC,SAAS,gEAcH;CACP,QAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"true, if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to create the working time slot for\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"true, if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"true, if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.number().int().describe(\"Unique identifier of the created working time slot\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/create-working-times-date.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 EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"true, if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar to create the working time slot for\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"true, if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"true, if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.number().int().describe(\"Unique identifier of the created working time slot\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate: AppAction<\n typeof EterminCreateWorkingTimesDateInput,\n typeof EterminCreateWorkingTimesDateOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;AACpS,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|