@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-appointment.cjs","names":["z","action"],"sources":["../../src/actions/create-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n lnm: z.number().int().describe(\"Checks if there is a lastname, if set to 1\").optional(),\n sms: z.boolean().describe(\"Send a confirmation SMS to the phone number that was specified in the phone field (true = yes, false = no)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 19% = 1900)\").optional(),\n zip: z.string().describe(\"ZIP code of the person that booked the appointment\").optional(),\n city: z.string().describe(\"City of the person that booked the appointment\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (true = yes, false = no)\").optional(),\n email: z.string().describe(\"Email address of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone number of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n title: z.string().describe(\"Title of the person\").optional(),\n emailm: z.number().int().describe(\"Checks if there is an email, if set to 1\").optional(),\n street: z.string().describe(\"Street address of the person that booked the appointment\").optional(),\n capused: z.boolean().describe(\"True if the capacity of the appointment needs to be checked\").optional(),\n birthday: z.string().describe(\"Date of birth of the person that booked the appointment\").optional(),\n calselid: z.number().int().describe(\"Use this parameter with the value -1 to also use the Calendar Linking function (also requires a valid value for the parameter services)\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n language: z.string().describe(\"Language code, defines in which language the emails are sent\").optional(),\n lastname: z.string().describe(\"Last name of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list of all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n blacklist: z.number().int().describe(\"Checks if the email is on the blacklist, if set to 1\").optional(),\n firstname: z.string().describe(\"First name of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (true = yes, false = no)\").optional(),\n bookerinfo: z.string().describe(\"Parameter that includes information for the notification message to the appointment provider\").optional(),\n bookingurl: z.string().describe(\"Information from which URL the appointment got booked\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list of all available calendars\"),\n capmaxused: z.number().int().describe(\"Maximum capacity that can't be exceeded\").optional(),\n checkexist: z.boolean().describe(\"Checks if the appointment start/end time is available (true = yes, false = no)\").optional(),\n newsletter: z.boolean().describe(\"True if the customer accepted to get newsletters\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n agbaccepted: z.boolean().describe(\"True if customer accepted the terms of service\").optional(),\n bookingtype: z.string().describe(\"Information about how the appointment is booked\").optional(),\n confirmtime: z.number().int().describe(\"Time in minutes that the booker is able to confirm the appointment before it gets deleted\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the start date the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked the appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule. e.g. DTSTART:{20171126T083000Z} DTEND:{20171126T090000Z} RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (true = yes, false = no)\").optional(),\n confirmappointment: z.number().int().describe(\"Set to 1 to have the appointment manually confirmed by the booker. Won't work if manualconfirmed is set to 0\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n dataprivacyaccepted: z.boolean().describe(\"True if customer accepted the privacy terms\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n feedbackpermissionaccepted: z.boolean().describe(\"True if the customer should get a feedback email\").optional(),\n}).describe(\"Request model for creating a new appointment in eTermin.\");\nexport const EterminCreateAppointmentOutput = z.object({\n ID: z.string().describe(\"Unique identifier (UUID) of the created appointment\").nullable().optional(),\n IID: z.number().int().describe(\"Internal integer ID of the created appointment\").nullable().optional(),\n IIDE: z.string().describe(\"Encoded internal ID of the created appointment\").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 AdditionalInformation: z.string().describe(\"Additional information about the created appointment\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created appointment in eTermin.\");\n\nexport const eterminCreateAppointment = action(\"ETERMIN_CREATE_APPOINTMENT\", {\n slug: \"etermin-create-appointment\",\n name: \"Create Appointment\",\n description: \"Tool to create a new appointment in eTermin. Use when you need to schedule an appointment with specific start/end times and calendar. Requires at minimum the start time, end time, and calendar ID. Optionally accepts customer details, service information, pricing, and notification settings.\",\n input: EterminCreateAppointmentInput,\n output: EterminCreateAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,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AO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,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;CAC3F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-appointment.cjs","names":["z","action"],"sources":["../../src/actions/create-appointment.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 EterminCreateAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n lnm: z.number().int().describe(\"Checks if there is a lastname, if set to 1\").optional(),\n sms: z.boolean().describe(\"Send a confirmation SMS to the phone number that was specified in the phone field (true = yes, false = no)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 19% = 1900)\").optional(),\n zip: z.string().describe(\"ZIP code of the person that booked the appointment\").optional(),\n city: z.string().describe(\"City of the person that booked the appointment\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (true = yes, false = no)\").optional(),\n email: z.string().describe(\"Email address of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone number of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n title: z.string().describe(\"Title of the person\").optional(),\n emailm: z.number().int().describe(\"Checks if there is an email, if set to 1\").optional(),\n street: z.string().describe(\"Street address of the person that booked the appointment\").optional(),\n capused: z.boolean().describe(\"True if the capacity of the appointment needs to be checked\").optional(),\n birthday: z.string().describe(\"Date of birth of the person that booked the appointment\").optional(),\n calselid: z.number().int().describe(\"Use this parameter with the value -1 to also use the Calendar Linking function (also requires a valid value for the parameter services)\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n language: z.string().describe(\"Language code, defines in which language the emails are sent\").optional(),\n lastname: z.string().describe(\"Last name of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list of all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n blacklist: z.number().int().describe(\"Checks if the email is on the blacklist, if set to 1\").optional(),\n firstname: z.string().describe(\"First name of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (true = yes, false = no)\").optional(),\n bookerinfo: z.string().describe(\"Parameter that includes information for the notification message to the appointment provider\").optional(),\n bookingurl: z.string().describe(\"Information from which URL the appointment got booked\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list of all available calendars\"),\n capmaxused: z.number().int().describe(\"Maximum capacity that can't be exceeded\").optional(),\n checkexist: z.boolean().describe(\"Checks if the appointment start/end time is available (true = yes, false = no)\").optional(),\n newsletter: z.boolean().describe(\"True if the customer accepted to get newsletters\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n agbaccepted: z.boolean().describe(\"True if customer accepted the terms of service\").optional(),\n bookingtype: z.string().describe(\"Information about how the appointment is booked\").optional(),\n confirmtime: z.number().int().describe(\"Time in minutes that the booker is able to confirm the appointment before it gets deleted\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the start date the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked the appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule. e.g. DTSTART:{20171126T083000Z} DTEND:{20171126T090000Z} RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (true = yes, false = no)\").optional(),\n confirmappointment: z.number().int().describe(\"Set to 1 to have the appointment manually confirmed by the booker. Won't work if manualconfirmed is set to 0\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n dataprivacyaccepted: z.boolean().describe(\"True if customer accepted the privacy terms\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n feedbackpermissionaccepted: z.boolean().describe(\"True if the customer should get a feedback email\").optional(),\n}).describe(\"Request model for creating a new appointment in eTermin.\");\nexport const EterminCreateAppointmentOutput = z.object({\n ID: z.string().describe(\"Unique identifier (UUID) of the created appointment\").nullable().optional(),\n IID: z.number().int().describe(\"Internal integer ID of the created appointment\").nullable().optional(),\n IIDE: z.string().describe(\"Encoded internal ID of the created appointment\").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 AdditionalInformation: z.string().describe(\"Additional information about the created appointment\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created appointment in eTermin.\");\n\nexport const eterminCreateAppointment: AppAction<\n typeof EterminCreateAppointmentInput,\n typeof EterminCreateAppointmentOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_APPOINTMENT\", {\n slug: \"etermin-create-appointment\",\n name: \"Create Appointment\",\n description: \"Tool to create a new appointment in eTermin. Use when you need to schedule an appointment with specific start/end times and calendar. Requires at minimum the start time, end time, and calendar ID. Optionally accepts customer details, service information, pricing, and notification settings.\",\n input: EterminCreateAppointmentInput,\n output: EterminCreateAppointmentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA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EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,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;CAC3F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,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-appointment.d.ts
|
|
@@ -83,80 +85,7 @@ declare const EterminCreateAppointmentOutput: z.ZodObject<{
|
|
|
83
85
|
StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
86
|
AdditionalInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
87
|
}, z.core.$loose>;
|
|
86
|
-
declare const eterminCreateAppointment:
|
|
87
|
-
end: string;
|
|
88
|
-
start: string;
|
|
89
|
-
calendarid: number;
|
|
90
|
-
lnm?: number | undefined;
|
|
91
|
-
sms?: boolean | undefined;
|
|
92
|
-
vat?: number | undefined;
|
|
93
|
-
zip?: string | undefined;
|
|
94
|
-
city?: string | undefined;
|
|
95
|
-
sync?: boolean | undefined;
|
|
96
|
-
email?: string | undefined;
|
|
97
|
-
notes?: string | undefined;
|
|
98
|
-
phone?: string | undefined;
|
|
99
|
-
title?: string | undefined;
|
|
100
|
-
emailm?: number | undefined;
|
|
101
|
-
street?: string | undefined;
|
|
102
|
-
capused?: boolean | undefined;
|
|
103
|
-
birthday?: string | undefined;
|
|
104
|
-
calselid?: number | undefined;
|
|
105
|
-
capacity?: number | undefined;
|
|
106
|
-
language?: string | undefined;
|
|
107
|
-
lastname?: string | undefined;
|
|
108
|
-
location?: string | undefined;
|
|
109
|
-
pricenet?: number | undefined;
|
|
110
|
-
services?: string | undefined;
|
|
111
|
-
blacklist?: number | undefined;
|
|
112
|
-
firstname?: string | undefined;
|
|
113
|
-
sendemail?: boolean | undefined;
|
|
114
|
-
bookerinfo?: string | undefined;
|
|
115
|
-
bookingurl?: string | undefined;
|
|
116
|
-
capmaxused?: number | undefined;
|
|
117
|
-
checkexist?: boolean | undefined;
|
|
118
|
-
newsletter?: boolean | undefined;
|
|
119
|
-
pricegross?: number | undefined;
|
|
120
|
-
salutation?: string | undefined;
|
|
121
|
-
additional1?: string | undefined;
|
|
122
|
-
additional2?: string | undefined;
|
|
123
|
-
additional3?: string | undefined;
|
|
124
|
-
additional4?: string | undefined;
|
|
125
|
-
additional5?: string | undefined;
|
|
126
|
-
additional6?: string | undefined;
|
|
127
|
-
additional7?: string | undefined;
|
|
128
|
-
additional8?: string | undefined;
|
|
129
|
-
additional9?: string | undefined;
|
|
130
|
-
agbaccepted?: boolean | undefined;
|
|
131
|
-
bookingtype?: string | undefined;
|
|
132
|
-
confirmtime?: number | undefined;
|
|
133
|
-
servicesabb?: string | undefined;
|
|
134
|
-
additional10?: string | undefined;
|
|
135
|
-
additional11?: string | undefined;
|
|
136
|
-
additional12?: string | undefined;
|
|
137
|
-
additional13?: string | undefined;
|
|
138
|
-
additional14?: string | undefined;
|
|
139
|
-
additional15?: string | undefined;
|
|
140
|
-
additional16?: string | undefined;
|
|
141
|
-
additional17?: string | undefined;
|
|
142
|
-
additional18?: string | undefined;
|
|
143
|
-
additional19?: string | undefined;
|
|
144
|
-
additional20?: string | undefined;
|
|
145
|
-
calendarname?: string | undefined;
|
|
146
|
-
servicestext?: string | undefined;
|
|
147
|
-
canceldeadline?: number | undefined;
|
|
148
|
-
customernumber?: string | undefined;
|
|
149
|
-
recurrencerule?: string | undefined;
|
|
150
|
-
manualconfirmed?: number | undefined;
|
|
151
|
-
notificationmsg?: boolean | undefined;
|
|
152
|
-
confirmappointment?: number | undefined;
|
|
153
|
-
recurrenceparentid?: string | undefined;
|
|
154
|
-
servicesinclsgtext?: string | undefined;
|
|
155
|
-
dataprivacyaccepted?: boolean | undefined;
|
|
156
|
-
appointmentreminderhours?: number | undefined;
|
|
157
|
-
appointmentreminderhours2?: number | undefined;
|
|
158
|
-
feedbackpermissionaccepted?: boolean | undefined;
|
|
159
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
88
|
+
declare const eterminCreateAppointment: AppAction<typeof EterminCreateAppointmentInput, typeof EterminCreateAppointmentOutput, typeof etermin.credential>;
|
|
160
89
|
//#endregion
|
|
161
90
|
export { eterminCreateAppointment };
|
|
162
91
|
//# sourceMappingURL=create-appointment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-appointment.d.cts","names":[],"sources":["../../src/actions/create-appointment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-appointment.d.cts","names":[],"sources":["../../src/actions/create-appointment.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0E7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,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-appointment.d.ts
|
|
@@ -83,80 +85,7 @@ declare const EterminCreateAppointmentOutput: z.ZodObject<{
|
|
|
83
85
|
StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
86
|
AdditionalInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
87
|
}, z.core.$loose>;
|
|
86
|
-
declare const eterminCreateAppointment:
|
|
87
|
-
end: string;
|
|
88
|
-
start: string;
|
|
89
|
-
calendarid: number;
|
|
90
|
-
lnm?: number | undefined;
|
|
91
|
-
sms?: boolean | undefined;
|
|
92
|
-
vat?: number | undefined;
|
|
93
|
-
zip?: string | undefined;
|
|
94
|
-
city?: string | undefined;
|
|
95
|
-
sync?: boolean | undefined;
|
|
96
|
-
email?: string | undefined;
|
|
97
|
-
notes?: string | undefined;
|
|
98
|
-
phone?: string | undefined;
|
|
99
|
-
title?: string | undefined;
|
|
100
|
-
emailm?: number | undefined;
|
|
101
|
-
street?: string | undefined;
|
|
102
|
-
capused?: boolean | undefined;
|
|
103
|
-
birthday?: string | undefined;
|
|
104
|
-
calselid?: number | undefined;
|
|
105
|
-
capacity?: number | undefined;
|
|
106
|
-
language?: string | undefined;
|
|
107
|
-
lastname?: string | undefined;
|
|
108
|
-
location?: string | undefined;
|
|
109
|
-
pricenet?: number | undefined;
|
|
110
|
-
services?: string | undefined;
|
|
111
|
-
blacklist?: number | undefined;
|
|
112
|
-
firstname?: string | undefined;
|
|
113
|
-
sendemail?: boolean | undefined;
|
|
114
|
-
bookerinfo?: string | undefined;
|
|
115
|
-
bookingurl?: string | undefined;
|
|
116
|
-
capmaxused?: number | undefined;
|
|
117
|
-
checkexist?: boolean | undefined;
|
|
118
|
-
newsletter?: boolean | undefined;
|
|
119
|
-
pricegross?: number | undefined;
|
|
120
|
-
salutation?: string | undefined;
|
|
121
|
-
additional1?: string | undefined;
|
|
122
|
-
additional2?: string | undefined;
|
|
123
|
-
additional3?: string | undefined;
|
|
124
|
-
additional4?: string | undefined;
|
|
125
|
-
additional5?: string | undefined;
|
|
126
|
-
additional6?: string | undefined;
|
|
127
|
-
additional7?: string | undefined;
|
|
128
|
-
additional8?: string | undefined;
|
|
129
|
-
additional9?: string | undefined;
|
|
130
|
-
agbaccepted?: boolean | undefined;
|
|
131
|
-
bookingtype?: string | undefined;
|
|
132
|
-
confirmtime?: number | undefined;
|
|
133
|
-
servicesabb?: string | undefined;
|
|
134
|
-
additional10?: string | undefined;
|
|
135
|
-
additional11?: string | undefined;
|
|
136
|
-
additional12?: string | undefined;
|
|
137
|
-
additional13?: string | undefined;
|
|
138
|
-
additional14?: string | undefined;
|
|
139
|
-
additional15?: string | undefined;
|
|
140
|
-
additional16?: string | undefined;
|
|
141
|
-
additional17?: string | undefined;
|
|
142
|
-
additional18?: string | undefined;
|
|
143
|
-
additional19?: string | undefined;
|
|
144
|
-
additional20?: string | undefined;
|
|
145
|
-
calendarname?: string | undefined;
|
|
146
|
-
servicestext?: string | undefined;
|
|
147
|
-
canceldeadline?: number | undefined;
|
|
148
|
-
customernumber?: string | undefined;
|
|
149
|
-
recurrencerule?: string | undefined;
|
|
150
|
-
manualconfirmed?: number | undefined;
|
|
151
|
-
notificationmsg?: boolean | undefined;
|
|
152
|
-
confirmappointment?: number | undefined;
|
|
153
|
-
recurrenceparentid?: string | undefined;
|
|
154
|
-
servicesinclsgtext?: string | undefined;
|
|
155
|
-
dataprivacyaccepted?: boolean | undefined;
|
|
156
|
-
appointmentreminderhours?: number | undefined;
|
|
157
|
-
appointmentreminderhours2?: number | undefined;
|
|
158
|
-
feedbackpermissionaccepted?: boolean | undefined;
|
|
159
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
88
|
+
declare const eterminCreateAppointment: AppAction<typeof EterminCreateAppointmentInput, typeof EterminCreateAppointmentOutput, typeof etermin.credential>;
|
|
160
89
|
//#endregion
|
|
161
90
|
export { eterminCreateAppointment };
|
|
162
91
|
//# sourceMappingURL=create-appointment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-appointment.d.mts","names":[],"sources":["../../src/actions/create-appointment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-appointment.d.mts","names":[],"sources":["../../src/actions/create-appointment.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0E7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-appointment.mjs","names":[],"sources":["../../src/actions/create-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n lnm: z.number().int().describe(\"Checks if there is a lastname, if set to 1\").optional(),\n sms: z.boolean().describe(\"Send a confirmation SMS to the phone number that was specified in the phone field (true = yes, false = no)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 19% = 1900)\").optional(),\n zip: z.string().describe(\"ZIP code of the person that booked the appointment\").optional(),\n city: z.string().describe(\"City of the person that booked the appointment\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (true = yes, false = no)\").optional(),\n email: z.string().describe(\"Email address of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone number of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n title: z.string().describe(\"Title of the person\").optional(),\n emailm: z.number().int().describe(\"Checks if there is an email, if set to 1\").optional(),\n street: z.string().describe(\"Street address of the person that booked the appointment\").optional(),\n capused: z.boolean().describe(\"True if the capacity of the appointment needs to be checked\").optional(),\n birthday: z.string().describe(\"Date of birth of the person that booked the appointment\").optional(),\n calselid: z.number().int().describe(\"Use this parameter with the value -1 to also use the Calendar Linking function (also requires a valid value for the parameter services)\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n language: z.string().describe(\"Language code, defines in which language the emails are sent\").optional(),\n lastname: z.string().describe(\"Last name of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list of all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n blacklist: z.number().int().describe(\"Checks if the email is on the blacklist, if set to 1\").optional(),\n firstname: z.string().describe(\"First name of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (true = yes, false = no)\").optional(),\n bookerinfo: z.string().describe(\"Parameter that includes information for the notification message to the appointment provider\").optional(),\n bookingurl: z.string().describe(\"Information from which URL the appointment got booked\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list of all available calendars\"),\n capmaxused: z.number().int().describe(\"Maximum capacity that can't be exceeded\").optional(),\n checkexist: z.boolean().describe(\"Checks if the appointment start/end time is available (true = yes, false = no)\").optional(),\n newsletter: z.boolean().describe(\"True if the customer accepted to get newsletters\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n agbaccepted: z.boolean().describe(\"True if customer accepted the terms of service\").optional(),\n bookingtype: z.string().describe(\"Information about how the appointment is booked\").optional(),\n confirmtime: z.number().int().describe(\"Time in minutes that the booker is able to confirm the appointment before it gets deleted\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the start date the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked the appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule. e.g. DTSTART:{20171126T083000Z} DTEND:{20171126T090000Z} RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (true = yes, false = no)\").optional(),\n confirmappointment: z.number().int().describe(\"Set to 1 to have the appointment manually confirmed by the booker. Won't work if manualconfirmed is set to 0\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n dataprivacyaccepted: z.boolean().describe(\"True if customer accepted the privacy terms\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n feedbackpermissionaccepted: z.boolean().describe(\"True if the customer should get a feedback email\").optional(),\n}).describe(\"Request model for creating a new appointment in eTermin.\");\nexport const EterminCreateAppointmentOutput = z.object({\n ID: z.string().describe(\"Unique identifier (UUID) of the created appointment\").nullable().optional(),\n IID: z.number().int().describe(\"Internal integer ID of the created appointment\").nullable().optional(),\n IIDE: z.string().describe(\"Encoded internal ID of the created appointment\").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 AdditionalInformation: z.string().describe(\"Additional information about the created appointment\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created appointment in eTermin.\");\n\nexport const eterminCreateAppointment = action(\"ETERMIN_CREATE_APPOINTMENT\", {\n slug: \"etermin-create-appointment\",\n name: \"Create Appointment\",\n description: \"Tool to create a new appointment in eTermin. Use when you need to schedule an appointment with specific start/end times and calendar. Requires at minimum the start time, end time, and calendar ID. Optionally accepts customer details, service information, pricing, and notification settings.\",\n input: EterminCreateAppointmentInput,\n output: EterminCreateAppointmentOutput,\n});\n"],"mappings":";;AAuFA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvF2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAA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,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAChJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAClJ,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAd4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-appointment.mjs","names":[],"sources":["../../src/actions/create-appointment.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 EterminCreateAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n lnm: z.number().int().describe(\"Checks if there is a lastname, if set to 1\").optional(),\n sms: z.boolean().describe(\"Send a confirmation SMS to the phone number that was specified in the phone field (true = yes, false = no)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 19% = 1900)\").optional(),\n zip: z.string().describe(\"ZIP code of the person that booked the appointment\").optional(),\n city: z.string().describe(\"City of the person that booked the appointment\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (true = yes, false = no)\").optional(),\n email: z.string().describe(\"Email address of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone number of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n title: z.string().describe(\"Title of the person\").optional(),\n emailm: z.number().int().describe(\"Checks if there is an email, if set to 1\").optional(),\n street: z.string().describe(\"Street address of the person that booked the appointment\").optional(),\n capused: z.boolean().describe(\"True if the capacity of the appointment needs to be checked\").optional(),\n birthday: z.string().describe(\"Date of birth of the person that booked the appointment\").optional(),\n calselid: z.number().int().describe(\"Use this parameter with the value -1 to also use the Calendar Linking function (also requires a valid value for the parameter services)\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n language: z.string().describe(\"Language code, defines in which language the emails are sent\").optional(),\n lastname: z.string().describe(\"Last name of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list of all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n blacklist: z.number().int().describe(\"Checks if the email is on the blacklist, if set to 1\").optional(),\n firstname: z.string().describe(\"First name of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (true = yes, false = no)\").optional(),\n bookerinfo: z.string().describe(\"Parameter that includes information for the notification message to the appointment provider\").optional(),\n bookingurl: z.string().describe(\"Information from which URL the appointment got booked\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list of all available calendars\"),\n capmaxused: z.number().int().describe(\"Maximum capacity that can't be exceeded\").optional(),\n checkexist: z.boolean().describe(\"Checks if the appointment start/end time is available (true = yes, false = no)\").optional(),\n newsletter: z.boolean().describe(\"True if the customer accepted to get newsletters\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n agbaccepted: z.boolean().describe(\"True if customer accepted the terms of service\").optional(),\n bookingtype: z.string().describe(\"Information about how the appointment is booked\").optional(),\n confirmtime: z.number().int().describe(\"Time in minutes that the booker is able to confirm the appointment before it gets deleted\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the start date the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked the appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule. e.g. DTSTART:{20171126T083000Z} DTEND:{20171126T090000Z} RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (true = yes, false = no)\").optional(),\n confirmappointment: z.number().int().describe(\"Set to 1 to have the appointment manually confirmed by the booker. Won't work if manualconfirmed is set to 0\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n dataprivacyaccepted: z.boolean().describe(\"True if customer accepted the privacy terms\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n feedbackpermissionaccepted: z.boolean().describe(\"True if the customer should get a feedback email\").optional(),\n}).describe(\"Request model for creating a new appointment in eTermin.\");\nexport const EterminCreateAppointmentOutput = z.object({\n ID: z.string().describe(\"Unique identifier (UUID) of the created appointment\").nullable().optional(),\n IID: z.number().int().describe(\"Internal integer ID of the created appointment\").nullable().optional(),\n IIDE: z.string().describe(\"Encoded internal ID of the created appointment\").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 AdditionalInformation: z.string().describe(\"Additional information about the created appointment\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created appointment in eTermin.\");\n\nexport const eterminCreateAppointment: AppAction<\n typeof EterminCreateAppointmentInput,\n typeof EterminCreateAppointmentOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_APPOINTMENT\", {\n slug: \"etermin-create-appointment\",\n name: \"Create Appointment\",\n description: \"Tool to create a new appointment in eTermin. Use when you need to schedule an appointment with specific start/end times and calendar. Requires at minimum the start time, end time, and calendar ID. Optionally accepts customer details, service information, pricing, and notification settings.\",\n input: EterminCreateAppointmentInput,\n output: EterminCreateAppointmentOutput,\n});\n"],"mappings":";;;AAyFA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3F2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EAClH,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACjJ,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EACvI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,S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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-calendar-return-time.cjs","names":["z","action"],"sources":["../../src/actions/create-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateCalendarReturnTimeInput = z.object({\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this if you have a return time over midnight (e.g., 23:00 to 02:00).\"),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 17:00, 18:00). Must be a valid 24-hour time format.\"),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 09:00, 18:00). Must be a valid 24-hour time format.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' function to get a list with all available calendars.\"),\n weekdayidx: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"ID of the weekday where 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday.\"),\n}).describe(\"Request model for creating a return time in a calendar.\");\nexport const EterminCreateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the return time was created successfully\").nullable(),\n calendarid: z.number().int().describe(\"ID of the calendar where the return time was created\").nullable(),\n}).passthrough().describe(\"Response model for creating a calendar return time.\");\n\nexport const eterminCreateCalendarReturnTime = action(\"ETERMIN_CREATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-create-calendar-return-time\",\n name: \"Create Calendar Return Time\",\n description: \"Tool to create a return time for a calendar. Use when scheduling recurring return times or availability windows for a specific weekday. Return times define when a calendar resource becomes available after being occupied.\",\n input: EterminCreateCalendarReturnTimeInput,\n output: EterminCreateCalendarReturnTimeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-calendar-return-time.cjs","names":["z","action"],"sources":["../../src/actions/create-calendar-return-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 EterminCreateCalendarReturnTimeInput = z.object({\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this if you have a return time over midnight (e.g., 23:00 to 02:00).\"),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 17:00, 18:00). Must be a valid 24-hour time format.\"),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 09:00, 18:00). Must be a valid 24-hour time format.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' function to get a list with all available calendars.\"),\n weekdayidx: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"ID of the weekday where 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday.\"),\n}).describe(\"Request model for creating a return time in a calendar.\");\nexport const EterminCreateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the return time was created successfully\").nullable(),\n calendarid: z.number().int().describe(\"ID of the calendar where the return time was created\").nullable(),\n}).passthrough().describe(\"Response model for creating a calendar return time.\");\n\nexport const eterminCreateCalendarReturnTime: AppAction<\n typeof EterminCreateCalendarReturnTimeInput,\n typeof EterminCreateCalendarReturnTimeOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-create-calendar-return-time\",\n name: \"Create Calendar Return Time\",\n description: \"Tool to create a return time for a calendar. Use when scheduling recurring return times or availability windows for a specific weekday. Return times define when a calendar resource becomes available after being occupied.\",\n input: EterminCreateCalendarReturnTimeInput,\n output: EterminCreateCalendarReturnTimeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6HAA6H;CAC1J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACpI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CACxI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;CACxI,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG;AAC1O,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,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-calendar-return-time.d.ts
|
|
@@ -13,13 +15,7 @@ declare const EterminCreateCalendarReturnTimeOutput: z.ZodObject<{
|
|
|
13
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
16
|
calendarid: z.ZodNullable<z.ZodNumber>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const eterminCreateCalendarReturnTime:
|
|
17
|
-
newday: boolean;
|
|
18
|
-
endtime: string;
|
|
19
|
-
starttime: string;
|
|
20
|
-
calendarid: number;
|
|
21
|
-
weekdayidx: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const eterminCreateCalendarReturnTime: AppAction<typeof EterminCreateCalendarReturnTimeInput, typeof EterminCreateCalendarReturnTimeOutput, typeof etermin.credential>;
|
|
23
19
|
//#endregion
|
|
24
20
|
export { eterminCreateCalendarReturnTime };
|
|
25
21
|
//# sourceMappingURL=create-calendar-return-time.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-calendar-return-time.d.cts","names":[],"sources":["../../src/actions/create-calendar-return-time.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-calendar-return-time.d.cts","names":[],"sources":["../../src/actions/create-calendar-return-time.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAOpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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-calendar-return-time.d.ts
|
|
@@ -13,13 +15,7 @@ declare const EterminCreateCalendarReturnTimeOutput: z.ZodObject<{
|
|
|
13
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
16
|
calendarid: z.ZodNullable<z.ZodNumber>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const eterminCreateCalendarReturnTime:
|
|
17
|
-
newday: boolean;
|
|
18
|
-
endtime: string;
|
|
19
|
-
starttime: string;
|
|
20
|
-
calendarid: number;
|
|
21
|
-
weekdayidx: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const eterminCreateCalendarReturnTime: AppAction<typeof EterminCreateCalendarReturnTimeInput, typeof EterminCreateCalendarReturnTimeOutput, typeof etermin.credential>;
|
|
23
19
|
//#endregion
|
|
24
20
|
export { eterminCreateCalendarReturnTime };
|
|
25
21
|
//# sourceMappingURL=create-calendar-return-time.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-calendar-return-time.d.mts","names":[],"sources":["../../src/actions/create-calendar-return-time.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-calendar-return-time.d.mts","names":[],"sources":["../../src/actions/create-calendar-return-time.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAOpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-calendar-return-time.mjs","names":[],"sources":["../../src/actions/create-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateCalendarReturnTimeInput = z.object({\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this if you have a return time over midnight (e.g., 23:00 to 02:00).\"),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 17:00, 18:00). Must be a valid 24-hour time format.\"),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 09:00, 18:00). Must be a valid 24-hour time format.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' function to get a list with all available calendars.\"),\n weekdayidx: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"ID of the weekday where 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday.\"),\n}).describe(\"Request model for creating a return time in a calendar.\");\nexport const EterminCreateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the return time was created successfully\").nullable(),\n calendarid: z.number().int().describe(\"ID of the calendar where the return time was created\").nullable(),\n}).passthrough().describe(\"Response model for creating a calendar return time.\");\n\nexport const eterminCreateCalendarReturnTime = action(\"ETERMIN_CREATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-create-calendar-return-time\",\n name: \"Create Calendar Return Time\",\n description: \"Tool to create a return time for a calendar. Use when scheduling recurring return times or availability windows for a specific weekday. Return times define when a calendar resource becomes available after being occupied.\",\n input: EterminCreateCalendarReturnTimeInput,\n output: EterminCreateCalendarReturnTimeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-calendar-return-time.mjs","names":[],"sources":["../../src/actions/create-calendar-return-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 EterminCreateCalendarReturnTimeInput = z.object({\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this if you have a return time over midnight (e.g., 23:00 to 02:00).\"),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 17:00, 18:00). Must be a valid 24-hour time format.\"),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 09:00, 18:00). Must be a valid 24-hour time format.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' function to get a list with all available calendars.\"),\n weekdayidx: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"ID of the weekday where 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday.\"),\n}).describe(\"Request model for creating a return time in a calendar.\");\nexport const EterminCreateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the return time was created successfully\").nullable(),\n calendarid: z.number().int().describe(\"ID of the calendar where the return time was created\").nullable(),\n}).passthrough().describe(\"Response model for creating a calendar return time.\");\n\nexport const eterminCreateCalendarReturnTime: AppAction<\n typeof EterminCreateCalendarReturnTimeInput,\n typeof EterminCreateCalendarReturnTimeOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-create-calendar-return-time\",\n name: \"Create Calendar Return Time\",\n description: \"Tool to create a return time for a calendar. Use when scheduling recurring return times or availability windows for a specific weekday. Return times define when a calendar resource becomes available after being occupied.\",\n input: EterminCreateCalendarReturnTimeInput,\n output: EterminCreateCalendarReturnTimeOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6HAA6H;EAC1J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACpI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACxI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;EACxI,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG;CAC1O,CAAC,CAAC,CAAC,SAAS,yDAeH;CACP,QAfmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateContactInput = z.object({\n email: z.string().describe(\"Contact's email address in valid email format\"),\n lastname: z.string().describe(\"Contact's last name\"),\n firstname: z.string().describe(\"Contact's first name\"),\n}).describe(\"Request model for creating a new contact in eTermin.\");\nexport const EterminCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n lastname: z.string().describe(\"Contact's last name\").nullable(),\n firstname: z.string().describe(\"Contact's first name\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact was created\").nullable(),\n}).passthrough().describe(\"Response model for a newly created contact in eTermin.\");\n\nexport const eterminCreateContact = action(\"ETERMIN_CREATE_CONTACT\", {\n slug: \"etermin-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in eTermin. Use when you need to add a contact before scheduling appointments.\",\n input: EterminCreateContactInput,\n output: EterminCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.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 EterminCreateContactInput = z.object({\n email: z.string().describe(\"Contact's email address in valid email format\"),\n lastname: z.string().describe(\"Contact's last name\"),\n firstname: z.string().describe(\"Contact's first name\"),\n}).describe(\"Request model for creating a new contact in eTermin.\");\nexport const EterminCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n lastname: z.string().describe(\"Contact's last name\").nullable(),\n firstname: z.string().describe(\"Contact's first name\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact was created\").nullable(),\n}).passthrough().describe(\"Response model for a newly created contact in eTermin.\");\n\nexport const eterminCreateContact: AppAction<\n typeof EterminCreateContactInput,\n typeof EterminCreateContactOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_CONTACT\", {\n slug: \"etermin-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in eTermin. Use when you need to add a contact before scheduling appointments.\",\n input: EterminCreateContactInput,\n output: EterminCreateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACvD,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACrF,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-contact.d.ts
|
|
@@ -13,11 +15,7 @@ declare const EterminCreateContactOutput: z.ZodObject<{
|
|
|
13
15
|
firstname: z.ZodNullable<z.ZodString>;
|
|
14
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const eterminCreateContact:
|
|
17
|
-
email: string;
|
|
18
|
-
lastname: string;
|
|
19
|
-
firstname: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const eterminCreateContact: AppAction<typeof EterminCreateContactInput, typeof EterminCreateContactOutput, typeof etermin.credential>;
|
|
21
19
|
//#endregion
|
|
22
20
|
export { eterminCreateContact };
|
|
23
21
|
//# sourceMappingURL=create-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,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-contact.d.ts
|
|
@@ -13,11 +15,7 @@ declare const EterminCreateContactOutput: z.ZodObject<{
|
|
|
13
15
|
firstname: z.ZodNullable<z.ZodString>;
|
|
14
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const eterminCreateContact:
|
|
17
|
-
email: string;
|
|
18
|
-
lastname: string;
|
|
19
|
-
firstname: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const eterminCreateContact: AppAction<typeof EterminCreateContactInput, typeof EterminCreateContactOutput, typeof etermin.credential>;
|
|
21
19
|
//#endregion
|
|
22
20
|
export { eterminCreateContact };
|
|
23
21
|
//# sourceMappingURL=create-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateContactInput = z.object({\n email: z.string().describe(\"Contact's email address in valid email format\"),\n lastname: z.string().describe(\"Contact's last name\"),\n firstname: z.string().describe(\"Contact's first name\"),\n}).describe(\"Request model for creating a new contact in eTermin.\");\nexport const EterminCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n lastname: z.string().describe(\"Contact's last name\").nullable(),\n firstname: z.string().describe(\"Contact's first name\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact was created\").nullable(),\n}).passthrough().describe(\"Response model for a newly created contact in eTermin.\");\n\nexport const eterminCreateContact = action(\"ETERMIN_CREATE_CONTACT\", {\n slug: \"etermin-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in eTermin. Use when you need to add a contact before scheduling appointments.\",\n input: EterminCreateContactInput,\n output: EterminCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.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 EterminCreateContactInput = z.object({\n email: z.string().describe(\"Contact's email address in valid email format\"),\n lastname: z.string().describe(\"Contact's last name\"),\n firstname: z.string().describe(\"Contact's first name\"),\n}).describe(\"Request model for creating a new contact in eTermin.\");\nexport const EterminCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n lastname: z.string().describe(\"Contact's last name\").nullable(),\n firstname: z.string().describe(\"Contact's first name\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact was created\").nullable(),\n}).passthrough().describe(\"Response model for a newly created contact in eTermin.\");\n\nexport const eterminCreateContact: AppAction<\n typeof EterminCreateContactInput,\n typeof EterminCreateContactOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_CONTACT\", {\n slug: \"etermin-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in eTermin. Use when you need to add a contact before scheduling appointments.\",\n input: EterminCreateContactInput,\n output: EterminCreateContactOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,CAAC,CAAC,CAAC,SAAS,sDAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-service-group.cjs","names":["z","action"],"sources":["../../src/actions/create-service-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateServiceGroupInput = z.object({\n enabled: z.boolean().describe(\"Set to false if the service group should not appear on the booking page (only accessible via direct link or for internal services).\").optional(),\n collapse: z.boolean().describe(\"Set to true if the service group is shown collapsed as default. Requires showtoggle to be true.\").optional(),\n showprice: z.boolean().describe(\"Defines if the price of the service is shown.\").optional(),\n isoptional: z.boolean().describe(\"Defines if a selection of a service is mandatory. Set to false to make selection required.\").optional(),\n showtoggle: z.boolean().describe(\"Set to true if the service group can be collapsed.\").optional(),\n showduration: z.boolean().describe(\"Defines if the duration of the service is shown.\").optional(),\n showinsummary: z.boolean().describe(\"Set to false if the selected service should not appear in the summary box.\").optional(),\n servicegroupde: z.string().describe(\"Name of the service group in German. For other languages use servicegroupLANGUAGECODE (e.g., servicegroupen for English).\").optional(),\n answerselection: z.enum([\"Not applicable\", \"Single selection\", \"Multi selection\", \"List selection\"]).describe(\"Enum for answer selection types.\").optional(),\n additionaltextde: z.string().describe(\"Additional information of the service group in German. For other languages use additionaltextLANGUAGECODE (e.g., additionaltexten for English).\").optional(),\n nrservicecolumns: z.number().int().describe(\"Defines how many columns the services should be displayed in.\").optional(),\n servicegrouptype: z.enum([\"Service selection\", \"Text field\", \"Location selection\", \"Day amount selection\", \"Number search\", \"Minutes amount selection\"]).describe(\"Enum for service group types.\").optional(),\n addtextdisplaymode: z.enum([\"Via Tooltip\", \"Under the name\"]).describe(\"Enum for additional text display mode.\").optional(),\n showwhencertainanswerselected: z.string().describe(\"Comma-separated list of service IDs that have to be selected to show this service group. Set to '-1' if the service group should be shown initially.\").optional(),\n}).describe(\"Request model for creating a new service group in eTermin.\");\nexport const EterminCreateServiceGroupOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created service group.\").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 for a newly created service group in eTermin.\");\n\nexport const eterminCreateServiceGroup = action(\"ETERMIN_CREATE_SERVICE_GROUP\", {\n slug: \"etermin-create-service-group\",\n name: \"Create Service Group\",\n description: \"Tool to create a new service group in eTermin. Use when you need to organize services into groups for better booking page structure. Service groups help categorize services and control how they are displayed to customers during booking.\",\n input: EterminCreateServiceGroupInput,\n output: EterminCreateServiceGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-service-group.cjs","names":["z","action"],"sources":["../../src/actions/create-service-group.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 EterminCreateServiceGroupInput = z.object({\n enabled: z.boolean().describe(\"Set to false if the service group should not appear on the booking page (only accessible via direct link or for internal services).\").optional(),\n collapse: z.boolean().describe(\"Set to true if the service group is shown collapsed as default. Requires showtoggle to be true.\").optional(),\n showprice: z.boolean().describe(\"Defines if the price of the service is shown.\").optional(),\n isoptional: z.boolean().describe(\"Defines if a selection of a service is mandatory. Set to false to make selection required.\").optional(),\n showtoggle: z.boolean().describe(\"Set to true if the service group can be collapsed.\").optional(),\n showduration: z.boolean().describe(\"Defines if the duration of the service is shown.\").optional(),\n showinsummary: z.boolean().describe(\"Set to false if the selected service should not appear in the summary box.\").optional(),\n servicegroupde: z.string().describe(\"Name of the service group in German. For other languages use servicegroupLANGUAGECODE (e.g., servicegroupen for English).\").optional(),\n answerselection: z.enum([\"Not applicable\", \"Single selection\", \"Multi selection\", \"List selection\"]).describe(\"Enum for answer selection types.\").optional(),\n additionaltextde: z.string().describe(\"Additional information of the service group in German. For other languages use additionaltextLANGUAGECODE (e.g., additionaltexten for English).\").optional(),\n nrservicecolumns: z.number().int().describe(\"Defines how many columns the services should be displayed in.\").optional(),\n servicegrouptype: z.enum([\"Service selection\", \"Text field\", \"Location selection\", \"Day amount selection\", \"Number search\", \"Minutes amount selection\"]).describe(\"Enum for service group types.\").optional(),\n addtextdisplaymode: z.enum([\"Via Tooltip\", \"Under the name\"]).describe(\"Enum for additional text display mode.\").optional(),\n showwhencertainanswerselected: z.string().describe(\"Comma-separated list of service IDs that have to be selected to show this service group. Set to '-1' if the service group should be shown initially.\").optional(),\n}).describe(\"Request model for creating a new service group in eTermin.\");\nexport const EterminCreateServiceGroupOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created service group.\").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 for a newly created service group in eTermin.\");\n\nexport const eterminCreateServiceGroup: AppAction<\n typeof EterminCreateServiceGroupInput,\n typeof EterminCreateServiceGroupOutput,\n typeof etermin.credential\n> = action(\"ETERMIN_CREATE_SERVICE_GROUP\", {\n slug: \"etermin-create-service-group\",\n name: \"Create Service Group\",\n description: \"Tool to create a new service group in eTermin. Use when you need to organize services into groups for better booking page structure. Service groups help categorize services and control how they are displayed to customers during booking.\",\n input: EterminCreateServiceGroupInput,\n output: EterminCreateServiceGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAC9K,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC3I,WAAWA,IAAAA,EAAE,QAAQ,C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AS,CAAC,CAAC,SAAS;CACrG,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,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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-service-group.d.ts
|
|
@@ -37,22 +39,7 @@ declare const EterminCreateServiceGroupOutput: z.ZodObject<{
|
|
|
37
39
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const eterminCreateServiceGroup:
|
|
41
|
-
enabled?: boolean | undefined;
|
|
42
|
-
collapse?: boolean | undefined;
|
|
43
|
-
showprice?: boolean | undefined;
|
|
44
|
-
isoptional?: boolean | undefined;
|
|
45
|
-
showtoggle?: boolean | undefined;
|
|
46
|
-
showduration?: boolean | undefined;
|
|
47
|
-
showinsummary?: boolean | undefined;
|
|
48
|
-
servicegroupde?: string | undefined;
|
|
49
|
-
answerselection?: "Not applicable" | "Single selection" | "Multi selection" | "List selection" | undefined;
|
|
50
|
-
additionaltextde?: string | undefined;
|
|
51
|
-
nrservicecolumns?: number | undefined;
|
|
52
|
-
servicegrouptype?: "Service selection" | "Text field" | "Location selection" | "Day amount selection" | "Number search" | "Minutes amount selection" | undefined;
|
|
53
|
-
addtextdisplaymode?: "Via Tooltip" | "Under the name" | undefined;
|
|
54
|
-
showwhencertainanswerselected?: string | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const eterminCreateServiceGroup: AppAction<typeof EterminCreateServiceGroupInput, typeof EterminCreateServiceGroupOutput, typeof etermin.credential>;
|
|
56
43
|
//#endregion
|
|
57
44
|
export { eterminCreateServiceGroup };
|
|
58
45
|
//# sourceMappingURL=create-service-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-service-group.d.cts","names":[],"sources":["../../src/actions/create-service-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-service-group.d.cts","names":[],"sources":["../../src/actions/create-service-group.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|