@keystrokehq/etermin 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/assign-calendar-service.cjs +3 -3
- package/dist/actions/assign-calendar-service.cjs.map +1 -1
- package/dist/actions/assign-calendar-service.d.cts +4 -8
- package/dist/actions/assign-calendar-service.d.mts +4 -8
- package/dist/actions/assign-calendar-service.mjs +3 -3
- package/dist/actions/assign-calendar-service.mjs.map +1 -1
- package/dist/actions/create-absence.cjs +3 -3
- package/dist/actions/create-absence.cjs.map +1 -1
- package/dist/actions/create-absence.d.cts +4 -9
- package/dist/actions/create-absence.d.mts +4 -9
- package/dist/actions/create-absence.mjs +3 -3
- package/dist/actions/create-absence.mjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.cts +1 -4
- package/dist/actions/create-anchortime-by-date.d.mts +1 -4
- package/dist/actions/create-anchortime.d.cts +2 -5
- package/dist/actions/create-anchortime.d.mts +2 -5
- package/dist/actions/create-appointment-sync.cjs +1 -1
- package/dist/actions/create-appointment-sync.cjs.map +1 -1
- package/dist/actions/create-appointment-sync.d.cts +2 -6
- package/dist/actions/create-appointment-sync.d.mts +2 -6
- package/dist/actions/create-appointment-sync.mjs +1 -1
- package/dist/actions/create-appointment-sync.mjs.map +1 -1
- package/dist/actions/create-appointment.cjs +6 -6
- package/dist/actions/create-appointment.cjs.map +1 -1
- package/dist/actions/create-appointment.d.cts +7 -14
- package/dist/actions/create-appointment.d.mts +7 -14
- package/dist/actions/create-appointment.mjs +6 -6
- package/dist/actions/create-appointment.mjs.map +1 -1
- package/dist/actions/create-calendar-return-time.cjs +1 -1
- package/dist/actions/create-calendar-return-time.cjs.map +1 -1
- package/dist/actions/create-calendar-return-time.d.cts +3 -7
- package/dist/actions/create-calendar-return-time.d.mts +3 -7
- package/dist/actions/create-calendar-return-time.mjs +1 -1
- package/dist/actions/create-calendar-return-time.mjs.map +1 -1
- package/dist/actions/create-contact.d.cts +1 -7
- package/dist/actions/create-contact.d.mts +1 -7
- package/dist/actions/create-service-group.cjs +3 -3
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +4 -8
- package/dist/actions/create-service-group.d.mts +4 -8
- package/dist/actions/create-service-group.mjs +3 -3
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-service.cjs +3 -3
- package/dist/actions/create-service.cjs.map +1 -1
- package/dist/actions/create-service.d.cts +4 -8
- package/dist/actions/create-service.d.mts +4 -8
- package/dist/actions/create-service.mjs +3 -3
- package/dist/actions/create-service.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -1
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +2 -6
- package/dist/actions/create-user.d.mts +2 -6
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/create-usermapping.cjs +3 -3
- package/dist/actions/create-usermapping.cjs.map +1 -1
- package/dist/actions/create-usermapping.d.cts +4 -8
- package/dist/actions/create-usermapping.d.mts +4 -8
- package/dist/actions/create-usermapping.mjs +3 -3
- package/dist/actions/create-usermapping.mjs.map +1 -1
- package/dist/actions/create-voucher.cjs +2 -2
- package/dist/actions/create-voucher.cjs.map +1 -1
- package/dist/actions/create-voucher.d.cts +3 -12
- package/dist/actions/create-voucher.d.mts +3 -12
- package/dist/actions/create-voucher.mjs +2 -2
- package/dist/actions/create-voucher.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +2 -2
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -8
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -8
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +2 -2
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/create-working-time.d.cts +1 -4
- package/dist/actions/create-working-time.d.mts +1 -4
- package/dist/actions/create-working-times-date.cjs +3 -3
- package/dist/actions/create-working-times-date.cjs.map +1 -1
- package/dist/actions/create-working-times-date.d.cts +4 -8
- package/dist/actions/create-working-times-date.d.mts +4 -8
- package/dist/actions/create-working-times-date.mjs +3 -3
- package/dist/actions/create-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-absence.cjs +1 -1
- package/dist/actions/delete-absence.cjs.map +1 -1
- package/dist/actions/delete-absence.d.cts +2 -6
- package/dist/actions/delete-absence.d.mts +2 -6
- package/dist/actions/delete-absence.mjs +1 -1
- package/dist/actions/delete-absence.mjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.cjs +2 -2
- package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.cts +3 -7
- package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.mts +3 -7
- package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.mjs +2 -2
- package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/delete-anchortime.cjs +1 -1
- package/dist/actions/delete-anchortime.cjs.map +1 -1
- package/dist/actions/delete-anchortime.d.cts +2 -5
- package/dist/actions/delete-anchortime.d.mts +2 -5
- package/dist/actions/delete-anchortime.mjs +1 -1
- package/dist/actions/delete-anchortime.mjs.map +1 -1
- package/dist/actions/delete-appointment-sync.cjs +1 -1
- package/dist/actions/delete-appointment-sync.cjs.map +1 -1
- package/dist/actions/delete-appointment-sync.d.cts +2 -6
- package/dist/actions/delete-appointment-sync.d.mts +2 -6
- package/dist/actions/delete-appointment-sync.mjs +1 -1
- package/dist/actions/delete-appointment-sync.mjs.map +1 -1
- package/dist/actions/delete-appointment.cjs +2 -2
- package/dist/actions/delete-appointment.cjs.map +1 -1
- package/dist/actions/delete-appointment.d.cts +3 -7
- package/dist/actions/delete-appointment.d.cts.map +1 -1
- package/dist/actions/delete-appointment.d.mts +3 -7
- package/dist/actions/delete-appointment.d.mts.map +1 -1
- package/dist/actions/delete-appointment.mjs +2 -2
- package/dist/actions/delete-appointment.mjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.cjs +1 -1
- package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.d.cts +2 -5
- package/dist/actions/delete-calendar-return-time.d.mts +2 -5
- package/dist/actions/delete-calendar-return-time.mjs +1 -1
- package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
- package/dist/actions/delete-calendar-service.cjs +1 -1
- package/dist/actions/delete-calendar-service.cjs.map +1 -1
- package/dist/actions/delete-calendar-service.d.cts +2 -5
- package/dist/actions/delete-calendar-service.d.mts +2 -5
- package/dist/actions/delete-calendar-service.mjs +1 -1
- package/dist/actions/delete-calendar-service.mjs.map +1 -1
- package/dist/actions/delete-calendar.cjs +1 -1
- package/dist/actions/delete-calendar.cjs.map +1 -1
- package/dist/actions/delete-calendar.d.cts +2 -6
- package/dist/actions/delete-calendar.d.mts +2 -6
- package/dist/actions/delete-calendar.mjs +1 -1
- package/dist/actions/delete-calendar.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +2 -5
- package/dist/actions/delete-contact.d.mts +2 -5
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-resource.cjs +1 -1
- package/dist/actions/delete-resource.cjs.map +1 -1
- package/dist/actions/delete-resource.d.cts +2 -7
- package/dist/actions/delete-resource.d.mts +2 -7
- package/dist/actions/delete-resource.mjs +1 -1
- package/dist/actions/delete-resource.mjs.map +1 -1
- package/dist/actions/delete-service.cjs +3 -3
- package/dist/actions/delete-service.cjs.map +1 -1
- package/dist/actions/delete-service.d.cts +4 -8
- package/dist/actions/delete-service.d.mts +4 -8
- package/dist/actions/delete-service.mjs +3 -3
- package/dist/actions/delete-service.mjs.map +1 -1
- package/dist/actions/delete-servicegroup.cjs +2 -2
- package/dist/actions/delete-servicegroup.cjs.map +1 -1
- package/dist/actions/delete-servicegroup.d.cts +3 -6
- package/dist/actions/delete-servicegroup.d.mts +3 -6
- package/dist/actions/delete-servicegroup.mjs +2 -2
- package/dist/actions/delete-servicegroup.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +2 -5
- package/dist/actions/delete-user.d.mts +2 -5
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/delete-usermapping.cjs +2 -2
- package/dist/actions/delete-usermapping.cjs.map +1 -1
- package/dist/actions/delete-usermapping.d.cts +3 -6
- package/dist/actions/delete-usermapping.d.mts +3 -6
- package/dist/actions/delete-usermapping.mjs +2 -2
- package/dist/actions/delete-usermapping.mjs.map +1 -1
- package/dist/actions/delete-voucher.cjs +1 -1
- package/dist/actions/delete-voucher.cjs.map +1 -1
- package/dist/actions/delete-voucher.d.cts +2 -5
- package/dist/actions/delete-voucher.d.mts +2 -5
- package/dist/actions/delete-voucher.mjs +1 -1
- package/dist/actions/delete-voucher.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +2 -2
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -6
- package/dist/actions/delete-webhook.d.mts +3 -6
- package/dist/actions/delete-webhook.mjs +2 -2
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/delete-working-times-date.cjs +2 -2
- package/dist/actions/delete-working-times-date.cjs.map +1 -1
- package/dist/actions/delete-working-times-date.d.cts +3 -6
- package/dist/actions/delete-working-times-date.d.mts +3 -6
- package/dist/actions/delete-working-times-date.mjs +2 -2
- package/dist/actions/delete-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-working-times.cjs +2 -2
- package/dist/actions/delete-working-times.cjs.map +1 -1
- package/dist/actions/delete-working-times.d.cts +3 -6
- package/dist/actions/delete-working-times.d.mts +3 -6
- package/dist/actions/delete-working-times.mjs +2 -2
- package/dist/actions/delete-working-times.mjs.map +1 -1
- package/dist/actions/get-absences.cjs +7 -7
- package/dist/actions/get-absences.cjs.map +1 -1
- package/dist/actions/get-absences.d.cts +8 -18
- package/dist/actions/get-absences.d.mts +8 -18
- package/dist/actions/get-absences.mjs +7 -7
- package/dist/actions/get-absences.mjs.map +1 -1
- package/dist/actions/get-anchortime-date.cjs +5 -5
- package/dist/actions/get-anchortime-date.cjs.map +1 -1
- package/dist/actions/get-anchortime-date.d.cts +6 -15
- package/dist/actions/get-anchortime-date.d.mts +6 -15
- package/dist/actions/get-anchortime-date.mjs +5 -5
- package/dist/actions/get-anchortime-date.mjs.map +1 -1
- package/dist/actions/get-anchortimes.cjs +5 -5
- package/dist/actions/get-anchortimes.cjs.map +1 -1
- package/dist/actions/get-anchortimes.d.cts +6 -15
- package/dist/actions/get-anchortimes.d.mts +6 -15
- package/dist/actions/get-anchortimes.mjs +5 -5
- package/dist/actions/get-anchortimes.mjs.map +1 -1
- package/dist/actions/get-appointment-sync.cjs +73 -73
- package/dist/actions/get-appointment-sync.cjs.map +1 -1
- package/dist/actions/get-appointment-sync.d.cts +74 -151
- package/dist/actions/get-appointment-sync.d.mts +74 -151
- package/dist/actions/get-appointment-sync.mjs +73 -73
- package/dist/actions/get-appointment-sync.mjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.cjs +5 -5
- package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.cts +6 -14
- package/dist/actions/get-bookingpage-logs.d.mts +6 -14
- package/dist/actions/get-bookingpage-logs.mjs +5 -5
- package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
- package/dist/actions/get-calendar-return-time.cjs +9 -9
- package/dist/actions/get-calendar-return-time.cjs.map +1 -1
- package/dist/actions/get-calendar-return-time.d.cts +10 -22
- package/dist/actions/get-calendar-return-time.d.mts +10 -22
- package/dist/actions/get-calendar-return-time.mjs +9 -9
- package/dist/actions/get-calendar-return-time.mjs.map +1 -1
- package/dist/actions/get-calendars.cjs +5 -5
- package/dist/actions/get-calendars.cjs.map +1 -1
- package/dist/actions/get-calendars.d.cts +6 -17
- package/dist/actions/get-calendars.d.cts.map +1 -1
- package/dist/actions/get-calendars.d.mts +6 -17
- package/dist/actions/get-calendars.d.mts.map +1 -1
- package/dist/actions/get-calendars.mjs +5 -5
- package/dist/actions/get-calendars.mjs.map +1 -1
- package/dist/actions/get-calendarservice.cjs +3 -3
- package/dist/actions/get-calendarservice.cjs.map +1 -1
- package/dist/actions/get-calendarservice.d.cts +4 -11
- package/dist/actions/get-calendarservice.d.mts +4 -11
- package/dist/actions/get-calendarservice.mjs +3 -3
- package/dist/actions/get-calendarservice.mjs.map +1 -1
- package/dist/actions/get-company.cjs +19 -19
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +20 -43
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +20 -43
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +19 -19
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +49 -49
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +50 -103
- package/dist/actions/get-contact-by-id.d.mts +50 -103
- package/dist/actions/get-contact-by-id.mjs +49 -49
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +49 -49
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +50 -103
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +50 -103
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +49 -49
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-deleted-appointments.cjs +18 -18
- package/dist/actions/get-deleted-appointments.cjs.map +1 -1
- package/dist/actions/get-deleted-appointments.d.cts +19 -41
- package/dist/actions/get-deleted-appointments.d.mts +19 -41
- package/dist/actions/get-deleted-appointments.mjs +18 -18
- package/dist/actions/get-deleted-appointments.mjs.map +1 -1
- package/dist/actions/get-message-logs.cjs +9 -9
- package/dist/actions/get-message-logs.cjs.map +1 -1
- package/dist/actions/get-message-logs.d.cts +10 -22
- package/dist/actions/get-message-logs.d.mts +10 -22
- package/dist/actions/get-message-logs.mjs +9 -9
- package/dist/actions/get-message-logs.mjs.map +1 -1
- package/dist/actions/get-rating.cjs +11 -11
- package/dist/actions/get-rating.cjs.map +1 -1
- package/dist/actions/get-rating.d.cts +12 -27
- package/dist/actions/get-rating.d.cts.map +1 -1
- package/dist/actions/get-rating.d.mts +12 -27
- package/dist/actions/get-rating.d.mts.map +1 -1
- package/dist/actions/get-rating.mjs +11 -11
- package/dist/actions/get-rating.mjs.map +1 -1
- package/dist/actions/get-service-by-id.cjs +4 -4
- package/dist/actions/get-service-by-id.cjs.map +1 -1
- package/dist/actions/get-service-by-id.d.cts +5 -22
- package/dist/actions/get-service-by-id.d.mts +5 -22
- package/dist/actions/get-service-by-id.mjs +4 -4
- package/dist/actions/get-service-by-id.mjs.map +1 -1
- package/dist/actions/get-service-calendar.d.cts +1 -6
- package/dist/actions/get-service-calendar.d.mts +1 -6
- package/dist/actions/get-servicegroup.cjs +25 -25
- package/dist/actions/get-servicegroup.cjs.map +1 -1
- package/dist/actions/get-servicegroup.d.cts +26 -55
- package/dist/actions/get-servicegroup.d.mts +26 -55
- package/dist/actions/get-servicegroup.mjs +25 -25
- package/dist/actions/get-servicegroup.mjs.map +1 -1
- package/dist/actions/get-services.cjs +4 -4
- package/dist/actions/get-services.cjs.map +1 -1
- package/dist/actions/get-services.d.cts +5 -22
- package/dist/actions/get-services.d.cts.map +1 -1
- package/dist/actions/get-services.d.mts +5 -22
- package/dist/actions/get-services.d.mts.map +1 -1
- package/dist/actions/get-services.mjs +4 -4
- package/dist/actions/get-services.mjs.map +1 -1
- package/dist/actions/get-survey-results.cjs +6 -6
- package/dist/actions/get-survey-results.cjs.map +1 -1
- package/dist/actions/get-survey-results.d.cts +7 -16
- package/dist/actions/get-survey-results.d.mts +7 -16
- package/dist/actions/get-survey-results.mjs +6 -6
- package/dist/actions/get-survey-results.mjs.map +1 -1
- package/dist/actions/get-timeslots.cjs +4 -4
- package/dist/actions/get-timeslots.cjs.map +1 -1
- package/dist/actions/get-timeslots.d.cts +5 -13
- package/dist/actions/get-timeslots.d.mts +5 -13
- package/dist/actions/get-timeslots.mjs +4 -4
- package/dist/actions/get-timeslots.mjs.map +1 -1
- package/dist/actions/get-usermapping.cjs +7 -7
- package/dist/actions/get-usermapping.cjs.map +1 -1
- package/dist/actions/get-usermapping.d.cts +8 -19
- package/dist/actions/get-usermapping.d.mts +8 -19
- package/dist/actions/get-usermapping.mjs +7 -7
- package/dist/actions/get-usermapping.mjs.map +1 -1
- package/dist/actions/get-users.cjs +26 -26
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +27 -58
- package/dist/actions/get-users.d.cts.map +1 -1
- package/dist/actions/get-users.d.mts +27 -58
- package/dist/actions/get-users.d.mts.map +1 -1
- package/dist/actions/get-users.mjs +26 -26
- package/dist/actions/get-users.mjs.map +1 -1
- package/dist/actions/get-working-times-date.cjs +1 -1
- package/dist/actions/get-working-times-date.cjs.map +1 -1
- package/dist/actions/get-working-times-date.d.cts +2 -11
- package/dist/actions/get-working-times-date.d.mts +2 -11
- package/dist/actions/get-working-times-date.mjs +1 -1
- package/dist/actions/get-working-times-date.mjs.map +1 -1
- package/dist/actions/get-working-times.cjs +1 -1
- package/dist/actions/get-working-times.cjs.map +1 -1
- package/dist/actions/get-working-times.d.cts +2 -12
- package/dist/actions/get-working-times.d.mts +2 -12
- package/dist/actions/get-working-times.mjs +1 -1
- package/dist/actions/get-working-times.mjs.map +1 -1
- package/dist/actions/list-appointments.cjs +19 -19
- package/dist/actions/list-appointments.cjs.map +1 -1
- package/dist/actions/list-appointments.d.cts +20 -43
- package/dist/actions/list-appointments.d.mts +20 -43
- package/dist/actions/list-appointments.mjs +19 -19
- package/dist/actions/list-appointments.mjs.map +1 -1
- package/dist/actions/list-vouchers.cjs +19 -19
- package/dist/actions/list-vouchers.cjs.map +1 -1
- package/dist/actions/list-vouchers.d.cts +20 -41
- package/dist/actions/list-vouchers.d.cts.map +1 -1
- package/dist/actions/list-vouchers.d.mts +20 -41
- package/dist/actions/list-vouchers.d.mts.map +1 -1
- package/dist/actions/list-vouchers.mjs +19 -19
- package/dist/actions/list-vouchers.mjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +1 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +1 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/put-service.cjs +3 -3
- package/dist/actions/put-service.cjs.map +1 -1
- package/dist/actions/put-service.d.cts +4 -8
- package/dist/actions/put-service.d.mts +4 -8
- package/dist/actions/put-service.mjs +3 -3
- package/dist/actions/put-service.mjs.map +1 -1
- package/dist/actions/update-absence.cjs +1 -1
- package/dist/actions/update-absence.cjs.map +1 -1
- package/dist/actions/update-absence.d.cts +2 -6
- package/dist/actions/update-absence.d.mts +2 -6
- package/dist/actions/update-absence.mjs +1 -1
- package/dist/actions/update-absence.mjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.cjs +1 -1
- package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.d.cts +2 -5
- package/dist/actions/update-anchortime-by-date.d.mts +2 -5
- package/dist/actions/update-anchortime-by-date.mjs +1 -1
- package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/update-anchortime.cjs +2 -2
- package/dist/actions/update-anchortime.cjs.map +1 -1
- package/dist/actions/update-anchortime.d.cts +3 -8
- package/dist/actions/update-anchortime.d.mts +3 -8
- package/dist/actions/update-anchortime.mjs +2 -2
- package/dist/actions/update-anchortime.mjs.map +1 -1
- package/dist/actions/update-appointment.d.cts +1 -4
- package/dist/actions/update-appointment.d.mts +1 -4
- package/dist/actions/update-calendar-return-time.cjs +1 -1
- package/dist/actions/update-calendar-return-time.cjs.map +1 -1
- package/dist/actions/update-calendar-return-time.d.cts +2 -6
- package/dist/actions/update-calendar-return-time.d.mts +2 -6
- package/dist/actions/update-calendar-return-time.mjs +1 -1
- package/dist/actions/update-calendar-return-time.mjs.map +1 -1
- package/dist/actions/update-calendar.cjs +2 -2
- package/dist/actions/update-calendar.cjs.map +1 -1
- package/dist/actions/update-calendar.d.cts +3 -8
- package/dist/actions/update-calendar.d.mts +3 -8
- package/dist/actions/update-calendar.mjs +2 -2
- package/dist/actions/update-calendar.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +3 -3
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +4 -10
- package/dist/actions/update-contact.d.mts +4 -10
- package/dist/actions/update-contact.mjs +3 -3
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-resource.cjs +1 -1
- package/dist/actions/update-resource.cjs.map +1 -1
- package/dist/actions/update-resource.d.cts +2 -7
- package/dist/actions/update-resource.d.mts +2 -7
- package/dist/actions/update-resource.mjs +1 -1
- package/dist/actions/update-resource.mjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +1 -4
- package/dist/actions/update-service-group.d.mts +1 -4
- package/dist/actions/update-service.d.cts +1 -3
- package/dist/actions/update-service.d.cts.map +1 -1
- package/dist/actions/update-service.d.mts +1 -3
- package/dist/actions/update-service.d.mts.map +1 -1
- package/dist/actions/update-sync-appointment.cjs +1 -1
- package/dist/actions/update-sync-appointment.cjs.map +1 -1
- package/dist/actions/update-sync-appointment.d.cts +2 -6
- package/dist/actions/update-sync-appointment.d.mts +2 -6
- package/dist/actions/update-sync-appointment.mjs +1 -1
- package/dist/actions/update-sync-appointment.mjs.map +1 -1
- package/dist/actions/update-usermapping.cjs +2 -2
- package/dist/actions/update-usermapping.cjs.map +1 -1
- package/dist/actions/update-usermapping.d.cts +3 -6
- package/dist/actions/update-usermapping.d.mts +3 -6
- package/dist/actions/update-usermapping.mjs +2 -2
- package/dist/actions/update-usermapping.mjs.map +1 -1
- package/dist/actions/update-voucher.d.cts +1 -6
- package/dist/actions/update-voucher.d.mts +1 -6
- package/dist/actions/update-webhook.cjs +2 -2
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -7
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -7
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +2 -2
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/update-working-times-date.cjs +2 -2
- package/dist/actions/update-working-times-date.cjs.map +1 -1
- package/dist/actions/update-working-times-date.d.cts +3 -6
- package/dist/actions/update-working-times-date.d.mts +3 -6
- package/dist/actions/update-working-times-date.mjs +2 -2
- package/dist/actions/update-working-times-date.mjs.map +1 -1
- package/dist/actions/update-working-times.cjs +2 -2
- package/dist/actions/update-working-times.cjs.map +1 -1
- package/dist/actions/update-working-times.d.cts +3 -6
- package/dist/actions/update-working-times.d.mts +3 -6
- package/dist/actions/update-working-times.mjs +2 -2
- package/dist/actions/update-working-times.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-appointments.cjs","names":["z","action"],"sources":["../../src/actions/list-appointments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListAppointmentsInput = z.object({\n id: z.string().describe(\"ID of an appointment (relates to the ExternalID)\").optional(),\n wl: z.boolean().describe(\"Set to true to get all appointments on the Waiting List\").optional(),\n cid: z.number().int().describe(\"Use customer ID to see related appointments\").optional(),\n end: z.string().describe(\"End date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n pbl: z.boolean().describe(\"Set to true to get all appointments on the Reservation List\").optional(),\n appid: z.number().int().describe(\"ID of an appointment (relates to the ID)\").optional(),\n email: z.string().describe(\"Use email address to see related appointments\").optional(),\n start: z.string().describe(\"Start date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n limited: z.boolean().describe(\"Reduces response information for bulk appointment queries\").optional(),\n calendarid: z.string().describe(\"IDs of the calendars to get appointments from\").optional(),\n noholidays: z.boolean().describe(\"Shows only regular appointments, excludes holidays/blocks\").optional(),\n noholidays2: z.boolean().describe(\"Shows only appointments where bookingtype is not Holiday\").optional(),\n bycreationdate: z.boolean().describe(\"Changes start/end parameters to filter by creation date instead\").optional(),\n}).describe(\"Request model for listing appointments from eTermin with filtering options.\\nAll parameters are optional - at least one parameter is recommended for filtering.\");\nconst EterminListAppointments_AppointmentSchema = z.object({\n Email: z.
|
|
1
|
+
{"version":3,"file":"list-appointments.cjs","names":["z","action"],"sources":["../../src/actions/list-appointments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListAppointmentsInput = z.object({\n id: z.string().describe(\"ID of an appointment (relates to the ExternalID)\").optional(),\n wl: z.boolean().describe(\"Set to true to get all appointments on the Waiting List\").optional(),\n cid: z.number().int().describe(\"Use customer ID to see related appointments\").optional(),\n end: z.string().describe(\"End date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n pbl: z.boolean().describe(\"Set to true to get all appointments on the Reservation List\").optional(),\n appid: z.number().int().describe(\"ID of an appointment (relates to the ID)\").optional(),\n email: z.string().describe(\"Use email address to see related appointments\").optional(),\n start: z.string().describe(\"Start date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n limited: z.boolean().describe(\"Reduces response information for bulk appointment queries\").optional(),\n calendarid: z.string().describe(\"IDs of the calendars to get appointments from\").optional(),\n noholidays: z.boolean().describe(\"Shows only regular appointments, excludes holidays/blocks\").optional(),\n noholidays2: z.boolean().describe(\"Shows only appointments where bookingtype is not Holiday\").optional(),\n bycreationdate: z.boolean().describe(\"Changes start/end parameters to filter by creation date instead\").optional(),\n}).describe(\"Request model for listing appointments from eTermin with filtering options.\\nAll parameters are optional - at least one parameter is recommended for filtering.\");\nconst EterminListAppointments_AppointmentSchema = z.object({\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Notes: z.string().describe(\"Additional notes for the appointment\").nullable().optional(),\n Phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n Price: z.number().describe(\"Price of the appointment\").nullable().optional(),\n Status: z.number().int().describe(\"Current status of the appointment\").nullable().optional(),\n Capacity: z.number().int().describe(\"Number of participants for the appointment\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\").nullable().optional(),\n LastName: z.string().describe(\"Customer's last name\").nullable().optional(),\n FirstName: z.string().describe(\"Customer's first name\").nullable().optional(),\n ServiceID: z.number().int().describe(\"ID of the service for this appointment\").nullable().optional(),\n CalendarID: z.number().int().describe(\"ID of the calendar this appointment belongs to\").nullable().optional(),\n Salutation: z.string().describe(\"Customer's salutation (e.g., Mr., Mrs.)\").nullable().optional(),\n EndDateTime: z.string().describe(\"Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)\").nullable().optional(),\n ServiceName: z.string().describe(\"Name of the service for this appointment\").nullable().optional(),\n StartDateTime: z.string().describe(\"Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)\").nullable().optional(),\n AppointmentUID: z.string().describe(\"Unique identifier for the appointment\").nullable().optional(),\n BookingDateUTC: z.string().describe(\"Date when the appointment was booked in UTC\").nullable().optional(),\n EndDateTimeUTC: z.string().describe(\"Appointment end date/time in UTC (format: yyyyMMdd HHmmss)\").nullable().optional(),\n StartDateTimeUTC: z.string().describe(\"Appointment start date/time in UTC (format: yyyyMMdd HHmmss)\").nullable().optional(),\n}).passthrough().describe(\"Model representing an appointment in eTermin.\");\nexport const EterminListAppointmentsOutput = z.object({\n appointments: z.array(EterminListAppointments_AppointmentSchema).describe(\"List of appointments matching the filter criteria\"),\n}).describe(\"Response model containing a list of appointments from eTermin.\");\n\nexport const eterminListAppointments = action(\"ETERMIN_LIST_APPOINTMENTS\", {\n slug: \"etermin-list-appointments\",\n name: \"List Appointments\",\n description: \"Tool to retrieve a filtered list of appointments from eTermin in a specified date range. Use when you need to search for appointments by date range, calendar, customer, or other criteria. Returns appointment details including date/time, customer info, and service information.\",\n input: EterminListAppointmentsInput,\n output: EterminListAppointmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrF,IAAIA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC5G,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,QAAQ,C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a;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,25 +18,25 @@ declare const EterminListAppointmentsInput: z.ZodObject<{
|
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
declare const EterminListAppointmentsOutput: z.ZodObject<{
|
|
20
20
|
appointments: z.ZodArray<z.ZodObject<{
|
|
21
|
-
Email: z.
|
|
22
|
-
Notes: z.
|
|
23
|
-
Phone: z.
|
|
24
|
-
Price: z.
|
|
25
|
-
Status: z.
|
|
26
|
-
Capacity: z.
|
|
27
|
-
Currency: z.
|
|
28
|
-
LastName: z.
|
|
29
|
-
FirstName: z.
|
|
30
|
-
ServiceID: z.
|
|
31
|
-
CalendarID: z.
|
|
32
|
-
Salutation: z.
|
|
33
|
-
EndDateTime: z.
|
|
34
|
-
ServiceName: z.
|
|
35
|
-
StartDateTime: z.
|
|
36
|
-
AppointmentUID: z.
|
|
37
|
-
BookingDateUTC: z.
|
|
38
|
-
EndDateTimeUTC: z.
|
|
39
|
-
StartDateTimeUTC: z.
|
|
21
|
+
Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
Notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
Phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
Price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
Capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
LastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
ServiceID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
CalendarID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
+
Salutation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
EndDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
ServiceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
StartDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
AppointmentUID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
BookingDateUTC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
EndDateTimeUTC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
StartDateTimeUTC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
}, z.core.$loose>>;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
42
|
declare const eterminListAppointments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -53,30 +53,7 @@ declare const eterminListAppointments: import("@keystrokehq/action").WorkflowAct
|
|
|
53
53
|
noholidays?: boolean | undefined;
|
|
54
54
|
noholidays2?: boolean | undefined;
|
|
55
55
|
bycreationdate?: boolean | undefined;
|
|
56
|
-
},
|
|
57
|
-
appointments: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
Email?: string | undefined;
|
|
60
|
-
Notes?: string | undefined;
|
|
61
|
-
Phone?: string | undefined;
|
|
62
|
-
Price?: number | undefined;
|
|
63
|
-
Status?: number | undefined;
|
|
64
|
-
Capacity?: number | undefined;
|
|
65
|
-
Currency?: string | undefined;
|
|
66
|
-
LastName?: string | undefined;
|
|
67
|
-
FirstName?: string | undefined;
|
|
68
|
-
ServiceID?: number | undefined;
|
|
69
|
-
CalendarID?: number | undefined;
|
|
70
|
-
Salutation?: string | undefined;
|
|
71
|
-
EndDateTime?: string | undefined;
|
|
72
|
-
ServiceName?: string | undefined;
|
|
73
|
-
StartDateTime?: string | undefined;
|
|
74
|
-
AppointmentUID?: string | undefined;
|
|
75
|
-
BookingDateUTC?: string | undefined;
|
|
76
|
-
EndDateTimeUTC?: string | undefined;
|
|
77
|
-
StartDateTimeUTC?: string | undefined;
|
|
78
|
-
}[];
|
|
79
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
80
57
|
//#endregion
|
|
81
58
|
export { eterminListAppointments };
|
|
82
59
|
//# sourceMappingURL=list-appointments.d.cts.map
|
|
@@ -18,25 +18,25 @@ declare const EterminListAppointmentsInput: z.ZodObject<{
|
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
declare const EterminListAppointmentsOutput: z.ZodObject<{
|
|
20
20
|
appointments: z.ZodArray<z.ZodObject<{
|
|
21
|
-
Email: z.
|
|
22
|
-
Notes: z.
|
|
23
|
-
Phone: z.
|
|
24
|
-
Price: z.
|
|
25
|
-
Status: z.
|
|
26
|
-
Capacity: z.
|
|
27
|
-
Currency: z.
|
|
28
|
-
LastName: z.
|
|
29
|
-
FirstName: z.
|
|
30
|
-
ServiceID: z.
|
|
31
|
-
CalendarID: z.
|
|
32
|
-
Salutation: z.
|
|
33
|
-
EndDateTime: z.
|
|
34
|
-
ServiceName: z.
|
|
35
|
-
StartDateTime: z.
|
|
36
|
-
AppointmentUID: z.
|
|
37
|
-
BookingDateUTC: z.
|
|
38
|
-
EndDateTimeUTC: z.
|
|
39
|
-
StartDateTimeUTC: z.
|
|
21
|
+
Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
Notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
Phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
Price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
Capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
LastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
ServiceID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
CalendarID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
+
Salutation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
EndDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
ServiceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
StartDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
AppointmentUID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
BookingDateUTC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
EndDateTimeUTC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
StartDateTimeUTC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
}, z.core.$loose>>;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
42
|
declare const eterminListAppointments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -53,30 +53,7 @@ declare const eterminListAppointments: import("@keystrokehq/action").WorkflowAct
|
|
|
53
53
|
noholidays?: boolean | undefined;
|
|
54
54
|
noholidays2?: boolean | undefined;
|
|
55
55
|
bycreationdate?: boolean | undefined;
|
|
56
|
-
},
|
|
57
|
-
appointments: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
Email?: string | undefined;
|
|
60
|
-
Notes?: string | undefined;
|
|
61
|
-
Phone?: string | undefined;
|
|
62
|
-
Price?: number | undefined;
|
|
63
|
-
Status?: number | undefined;
|
|
64
|
-
Capacity?: number | undefined;
|
|
65
|
-
Currency?: string | undefined;
|
|
66
|
-
LastName?: string | undefined;
|
|
67
|
-
FirstName?: string | undefined;
|
|
68
|
-
ServiceID?: number | undefined;
|
|
69
|
-
CalendarID?: number | undefined;
|
|
70
|
-
Salutation?: string | undefined;
|
|
71
|
-
EndDateTime?: string | undefined;
|
|
72
|
-
ServiceName?: string | undefined;
|
|
73
|
-
StartDateTime?: string | undefined;
|
|
74
|
-
AppointmentUID?: string | undefined;
|
|
75
|
-
BookingDateUTC?: string | undefined;
|
|
76
|
-
EndDateTimeUTC?: string | undefined;
|
|
77
|
-
StartDateTimeUTC?: string | undefined;
|
|
78
|
-
}[];
|
|
79
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
80
57
|
//#endregion
|
|
81
58
|
export { eterminListAppointments };
|
|
82
59
|
//# sourceMappingURL=list-appointments.d.mts.map
|
|
@@ -17,25 +17,25 @@ const EterminListAppointmentsInput = z.object({
|
|
|
17
17
|
bycreationdate: z.boolean().describe("Changes start/end parameters to filter by creation date instead").optional()
|
|
18
18
|
}).describe("Request model for listing appointments from eTermin with filtering options.\nAll parameters are optional - at least one parameter is recommended for filtering.");
|
|
19
19
|
const EterminListAppointments_AppointmentSchema = z.object({
|
|
20
|
-
Email: z.
|
|
21
|
-
Notes: z.
|
|
22
|
-
Phone: z.
|
|
23
|
-
Price: z.
|
|
24
|
-
Status: z.
|
|
25
|
-
Capacity: z.
|
|
26
|
-
Currency: z.
|
|
27
|
-
LastName: z.
|
|
28
|
-
FirstName: z.
|
|
29
|
-
ServiceID: z.
|
|
30
|
-
CalendarID: z.
|
|
31
|
-
Salutation: z.
|
|
32
|
-
EndDateTime: z.
|
|
33
|
-
ServiceName: z.
|
|
34
|
-
StartDateTime: z.
|
|
35
|
-
AppointmentUID: z.
|
|
36
|
-
BookingDateUTC: z.
|
|
37
|
-
EndDateTimeUTC: z.
|
|
38
|
-
StartDateTimeUTC: z.
|
|
20
|
+
Email: z.string().describe("Customer's email address").nullable().optional(),
|
|
21
|
+
Notes: z.string().describe("Additional notes for the appointment").nullable().optional(),
|
|
22
|
+
Phone: z.string().describe("Customer's phone number").nullable().optional(),
|
|
23
|
+
Price: z.number().describe("Price of the appointment").nullable().optional(),
|
|
24
|
+
Status: z.number().int().describe("Current status of the appointment").nullable().optional(),
|
|
25
|
+
Capacity: z.number().int().describe("Number of participants for the appointment").nullable().optional(),
|
|
26
|
+
Currency: z.string().describe("Currency code for the price (e.g., EUR)").nullable().optional(),
|
|
27
|
+
LastName: z.string().describe("Customer's last name").nullable().optional(),
|
|
28
|
+
FirstName: z.string().describe("Customer's first name").nullable().optional(),
|
|
29
|
+
ServiceID: z.number().int().describe("ID of the service for this appointment").nullable().optional(),
|
|
30
|
+
CalendarID: z.number().int().describe("ID of the calendar this appointment belongs to").nullable().optional(),
|
|
31
|
+
Salutation: z.string().describe("Customer's salutation (e.g., Mr., Mrs.)").nullable().optional(),
|
|
32
|
+
EndDateTime: z.string().describe("Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)").nullable().optional(),
|
|
33
|
+
ServiceName: z.string().describe("Name of the service for this appointment").nullable().optional(),
|
|
34
|
+
StartDateTime: z.string().describe("Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)").nullable().optional(),
|
|
35
|
+
AppointmentUID: z.string().describe("Unique identifier for the appointment").nullable().optional(),
|
|
36
|
+
BookingDateUTC: z.string().describe("Date when the appointment was booked in UTC").nullable().optional(),
|
|
37
|
+
EndDateTimeUTC: z.string().describe("Appointment end date/time in UTC (format: yyyyMMdd HHmmss)").nullable().optional(),
|
|
38
|
+
StartDateTimeUTC: z.string().describe("Appointment start date/time in UTC (format: yyyyMMdd HHmmss)").nullable().optional()
|
|
39
39
|
}).passthrough().describe("Model representing an appointment in eTermin.");
|
|
40
40
|
const eterminListAppointments = action("ETERMIN_LIST_APPOINTMENTS", {
|
|
41
41
|
slug: "etermin-list-appointments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-appointments.mjs","names":[],"sources":["../../src/actions/list-appointments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListAppointmentsInput = z.object({\n id: z.string().describe(\"ID of an appointment (relates to the ExternalID)\").optional(),\n wl: z.boolean().describe(\"Set to true to get all appointments on the Waiting List\").optional(),\n cid: z.number().int().describe(\"Use customer ID to see related appointments\").optional(),\n end: z.string().describe(\"End date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n pbl: z.boolean().describe(\"Set to true to get all appointments on the Reservation List\").optional(),\n appid: z.number().int().describe(\"ID of an appointment (relates to the ID)\").optional(),\n email: z.string().describe(\"Use email address to see related appointments\").optional(),\n start: z.string().describe(\"Start date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n limited: z.boolean().describe(\"Reduces response information for bulk appointment queries\").optional(),\n calendarid: z.string().describe(\"IDs of the calendars to get appointments from\").optional(),\n noholidays: z.boolean().describe(\"Shows only regular appointments, excludes holidays/blocks\").optional(),\n noholidays2: z.boolean().describe(\"Shows only appointments where bookingtype is not Holiday\").optional(),\n bycreationdate: z.boolean().describe(\"Changes start/end parameters to filter by creation date instead\").optional(),\n}).describe(\"Request model for listing appointments from eTermin with filtering options.\\nAll parameters are optional - at least one parameter is recommended for filtering.\");\nconst EterminListAppointments_AppointmentSchema = z.object({\n Email: z.
|
|
1
|
+
{"version":3,"file":"list-appointments.mjs","names":[],"sources":["../../src/actions/list-appointments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListAppointmentsInput = z.object({\n id: z.string().describe(\"ID of an appointment (relates to the ExternalID)\").optional(),\n wl: z.boolean().describe(\"Set to true to get all appointments on the Waiting List\").optional(),\n cid: z.number().int().describe(\"Use customer ID to see related appointments\").optional(),\n end: z.string().describe(\"End date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n pbl: z.boolean().describe(\"Set to true to get all appointments on the Reservation List\").optional(),\n appid: z.number().int().describe(\"ID of an appointment (relates to the ID)\").optional(),\n email: z.string().describe(\"Use email address to see related appointments\").optional(),\n start: z.string().describe(\"Start date for filtering appointments between dates (format: yyyy-mm-dd)\").optional(),\n limited: z.boolean().describe(\"Reduces response information for bulk appointment queries\").optional(),\n calendarid: z.string().describe(\"IDs of the calendars to get appointments from\").optional(),\n noholidays: z.boolean().describe(\"Shows only regular appointments, excludes holidays/blocks\").optional(),\n noholidays2: z.boolean().describe(\"Shows only appointments where bookingtype is not Holiday\").optional(),\n bycreationdate: z.boolean().describe(\"Changes start/end parameters to filter by creation date instead\").optional(),\n}).describe(\"Request model for listing appointments from eTermin with filtering options.\\nAll parameters are optional - at least one parameter is recommended for filtering.\");\nconst EterminListAppointments_AppointmentSchema = z.object({\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Notes: z.string().describe(\"Additional notes for the appointment\").nullable().optional(),\n Phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n Price: z.number().describe(\"Price of the appointment\").nullable().optional(),\n Status: z.number().int().describe(\"Current status of the appointment\").nullable().optional(),\n Capacity: z.number().int().describe(\"Number of participants for the appointment\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\").nullable().optional(),\n LastName: z.string().describe(\"Customer's last name\").nullable().optional(),\n FirstName: z.string().describe(\"Customer's first name\").nullable().optional(),\n ServiceID: z.number().int().describe(\"ID of the service for this appointment\").nullable().optional(),\n CalendarID: z.number().int().describe(\"ID of the calendar this appointment belongs to\").nullable().optional(),\n Salutation: z.string().describe(\"Customer's salutation (e.g., Mr., Mrs.)\").nullable().optional(),\n EndDateTime: z.string().describe(\"Appointment end date/time in local timezone (format: yyyyMMdd HHmmss)\").nullable().optional(),\n ServiceName: z.string().describe(\"Name of the service for this appointment\").nullable().optional(),\n StartDateTime: z.string().describe(\"Appointment start date/time in local timezone (format: yyyyMMdd HHmmss)\").nullable().optional(),\n AppointmentUID: z.string().describe(\"Unique identifier for the appointment\").nullable().optional(),\n BookingDateUTC: z.string().describe(\"Date when the appointment was booked in UTC\").nullable().optional(),\n EndDateTimeUTC: z.string().describe(\"Appointment end date/time in UTC (format: yyyyMMdd HHmmss)\").nullable().optional(),\n StartDateTimeUTC: z.string().describe(\"Appointment start date/time in UTC (format: yyyyMMdd HHmmss)\").nullable().optional(),\n}).passthrough().describe(\"Model representing an appointment in eTermin.\");\nexport const EterminListAppointmentsOutput = z.object({\n appointments: z.array(EterminListAppointments_AppointmentSchema).describe(\"List of appointments matching the filter criteria\"),\n}).describe(\"Response model containing a list of appointments from eTermin.\");\n\nexport const eterminListAppointments = action(\"ETERMIN_LIST_APPOINTMENTS\", {\n slug: \"etermin-list-appointments\",\n name: \"List Appointments\",\n description: \"Tool to retrieve a filtered list of appointments from eTermin in a specified date range. Use when you need to search for appointments by date range, calendar, customer, or other criteria. Returns appointment details including date/time, customer info, and service information.\",\n input: EterminListAppointmentsInput,\n output: EterminListAppointmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrF,IAAI,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC5G,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAA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O,EACpD,cAAc,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,mDAAmD,EAC/H,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -3,26 +3,26 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-vouchers.ts
|
|
4
4
|
const EterminListVouchersInput = zod.z.object({}).describe("Request model for listing all vouchers in your eTermin account. No parameters required.");
|
|
5
5
|
const EterminListVouchers_VoucherSchema = zod.z.object({
|
|
6
|
-
id: zod.z.
|
|
7
|
-
iid: zod.z.
|
|
8
|
-
Currency: zod.z.
|
|
9
|
-
ValidFrom: zod.z.
|
|
10
|
-
PriceWoVAT: zod.z.
|
|
11
|
-
ValidUntil: zod.z.
|
|
12
|
-
Description: zod.z.
|
|
13
|
-
validxtimes: zod.z.
|
|
14
|
-
IsPercentage: zod.z.
|
|
15
|
-
PriceInclVAT: zod.z.
|
|
16
|
-
SendReminder: zod.z.
|
|
17
|
-
ContingentMax: zod.z.
|
|
18
|
-
CustomerEMail: zod.z.
|
|
19
|
-
PriceOriginal: zod.z.
|
|
20
|
-
ServicesAssigned: zod.z.
|
|
21
|
-
CalendarsAssigned: zod.z.
|
|
22
|
-
ContingentCounter: zod.z.
|
|
23
|
-
OneTimeValidPerEMail: zod.z.
|
|
6
|
+
id: zod.z.string().describe("The voucher code (e.g., 'DISCOUNT20', 'SUMMER2025')").nullable().optional(),
|
|
7
|
+
iid: zod.z.number().int().describe("Internal numeric identifier for the voucher").nullable().optional(),
|
|
8
|
+
Currency: zod.z.string().describe("Currency code (e.g., 'EUR', 'USD')").nullable().optional(),
|
|
9
|
+
ValidFrom: zod.z.string().describe("Start date when voucher becomes valid (ISO 8601 format)").nullable().optional(),
|
|
10
|
+
PriceWoVAT: zod.z.number().describe("Discount amount excluding VAT (if IsPercentage is false)").nullable().optional(),
|
|
11
|
+
ValidUntil: zod.z.string().describe("Expiration date of the voucher (ISO 8601 format)").nullable().optional(),
|
|
12
|
+
Description: zod.z.string().describe("Optional description of the voucher").nullable().optional(),
|
|
13
|
+
validxtimes: zod.z.number().int().describe("Number of times the voucher can be redeemed per customer").nullable().optional(),
|
|
14
|
+
IsPercentage: zod.z.boolean().describe("If true, discount is a percentage; if false, discount is a fixed amount").nullable().optional(),
|
|
15
|
+
PriceInclVAT: zod.z.number().describe("Discount amount including VAT (if IsPercentage is false)").nullable().optional(),
|
|
16
|
+
SendReminder: zod.z.boolean().describe("Whether to send reminder emails about voucher expiration").nullable().optional(),
|
|
17
|
+
ContingentMax: zod.z.number().int().describe("Maximum number of times this voucher can be used").nullable().optional(),
|
|
18
|
+
CustomerEMail: zod.z.string().describe("Customer email if voucher is assigned to a specific customer").nullable().optional(),
|
|
19
|
+
PriceOriginal: zod.z.number().describe("Original price before discount").nullable().optional(),
|
|
20
|
+
ServicesAssigned: zod.z.string().describe("Comma-separated list of service IDs this voucher is valid for").nullable().optional(),
|
|
21
|
+
CalendarsAssigned: zod.z.string().describe("Comma-separated list of calendar IDs this voucher is valid for").nullable().optional(),
|
|
22
|
+
ContingentCounter: zod.z.number().int().describe("Number of times this voucher has been used").nullable().optional(),
|
|
23
|
+
OneTimeValidPerEMail: zod.z.boolean().describe("If true, voucher can only be used once per email address").nullable().optional()
|
|
24
24
|
}).describe("Represents a voucher/discount code in eTermin.");
|
|
25
|
-
const EterminListVouchersOutput = zod.z.object({ vouchers: zod.z.
|
|
25
|
+
const EterminListVouchersOutput = zod.z.object({ vouchers: zod.z.array(EterminListVouchers_VoucherSchema).describe("List of vouchers. Each voucher contains details like code, discount amount, validity period, and usage restrictions.").nullable().optional() }).describe("Response model containing all vouchers in the eTermin account.");
|
|
26
26
|
const eterminListVouchers = require_action.action("ETERMIN_LIST_VOUCHERS", {
|
|
27
27
|
slug: "etermin-list-vouchers",
|
|
28
28
|
name: "List Vouchers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vouchers.cjs","names":["z","action"],"sources":["../../src/actions/list-vouchers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListVouchersInput = z.object({}).describe(\"Request model for listing all vouchers in your eTermin account. No parameters required.\");\nconst EterminListVouchers_VoucherSchema = z.object({\n id: z.
|
|
1
|
+
{"version":3,"file":"list-vouchers.cjs","names":["z","action"],"sources":["../../src/actions/list-vouchers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminListVouchersInput = z.object({}).describe(\"Request model for listing all vouchers in your eTermin account. No parameters required.\");\nconst EterminListVouchers_VoucherSchema = z.object({\n id: z.string().describe(\"The voucher code (e.g., 'DISCOUNT20', 'SUMMER2025')\").nullable().optional(),\n iid: z.number().int().describe(\"Internal numeric identifier for the voucher\").nullable().optional(),\n Currency: z.string().describe(\"Currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n ValidFrom: z.string().describe(\"Start date when voucher becomes valid (ISO 8601 format)\").nullable().optional(),\n PriceWoVAT: z.number().describe(\"Discount amount excluding VAT (if IsPercentage is false)\").nullable().optional(),\n ValidUntil: z.string().describe(\"Expiration date of the voucher (ISO 8601 format)\").nullable().optional(),\n Description: z.string().describe(\"Optional description of the voucher\").nullable().optional(),\n validxtimes: z.number().int().describe(\"Number of times the voucher can be redeemed per customer\").nullable().optional(),\n IsPercentage: z.boolean().describe(\"If true, discount is a percentage; if false, discount is a fixed amount\").nullable().optional(),\n PriceInclVAT: z.number().describe(\"Discount amount including VAT (if IsPercentage is false)\").nullable().optional(),\n SendReminder: z.boolean().describe(\"Whether to send reminder emails about voucher expiration\").nullable().optional(),\n ContingentMax: z.number().int().describe(\"Maximum number of times this voucher can be used\").nullable().optional(),\n CustomerEMail: z.string().describe(\"Customer email if voucher is assigned to a specific customer\").nullable().optional(),\n PriceOriginal: z.number().describe(\"Original price before discount\").nullable().optional(),\n ServicesAssigned: z.string().describe(\"Comma-separated list of service IDs this voucher is valid for\").nullable().optional(),\n CalendarsAssigned: z.string().describe(\"Comma-separated list of calendar IDs this voucher is valid for\").nullable().optional(),\n ContingentCounter: z.number().int().describe(\"Number of times this voucher has been used\").nullable().optional(),\n OneTimeValidPerEMail: z.boolean().describe(\"If true, voucher can only be used once per email address\").nullable().optional(),\n}).describe(\"Represents a voucher/discount code in eTermin.\");\nexport const EterminListVouchersOutput = z.object({\n vouchers: z.array(EterminListVouchers_VoucherSchema).describe(\"List of vouchers. Each voucher contains details like code, discount amount, validity period, and usage restrictions.\").nullable().optional(),\n}).describe(\"Response model containing all vouchers in the eTermin account.\");\n\nexport const eterminListVouchers = action(\"ETERMIN_LIST_VOUCHERS\", {\n slug: \"etermin-list-vouchers\",\n name: \"List Vouchers\",\n description: \"Retrieve all vouchers (discount codes) from your eTermin account. Use this tool when you need to: - View all active and expired vouchers - Check voucher usage statistics (ContingentCounter vs ContingentMax) - Find voucher codes to share with customers - Monitor voucher validity periods Returns a list of vouchers with their discount values, validity dates, and usage restrictions.\",\n input: EterminListVouchersInput,\n output: EterminListVouchersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACvJ,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CA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BAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5M,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -3,49 +3,28 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-vouchers.d.ts
|
|
4
4
|
declare const EterminListVouchersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const EterminListVouchersOutput: z.ZodObject<{
|
|
6
|
-
vouchers: z.
|
|
7
|
-
id: z.
|
|
8
|
-
iid: z.
|
|
9
|
-
Currency: z.
|
|
10
|
-
ValidFrom: z.
|
|
11
|
-
PriceWoVAT: z.
|
|
12
|
-
ValidUntil: z.
|
|
13
|
-
Description: z.
|
|
14
|
-
validxtimes: z.
|
|
15
|
-
IsPercentage: z.
|
|
16
|
-
PriceInclVAT: z.
|
|
17
|
-
SendReminder: z.
|
|
18
|
-
ContingentMax: z.
|
|
19
|
-
CustomerEMail: z.
|
|
20
|
-
PriceOriginal: z.
|
|
21
|
-
ServicesAssigned: z.
|
|
22
|
-
CalendarsAssigned: z.
|
|
23
|
-
ContingentCounter: z.
|
|
24
|
-
OneTimeValidPerEMail: z.
|
|
6
|
+
vouchers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
iid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
ValidFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
PriceWoVAT: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
ValidUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
validxtimes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
IsPercentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
+
PriceInclVAT: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
SendReminder: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
ContingentMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
CustomerEMail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
PriceOriginal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
ServicesAssigned: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
CalendarsAssigned: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
ContingentCounter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
OneTimeValidPerEMail: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
25
|
}, z.core.$strip>>>>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
|
-
declare const eterminListVouchers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>,
|
|
28
|
-
vouchers?: {
|
|
29
|
-
id?: string | undefined;
|
|
30
|
-
iid?: number | undefined;
|
|
31
|
-
Currency?: string | undefined;
|
|
32
|
-
ValidFrom?: string | undefined;
|
|
33
|
-
PriceWoVAT?: number | undefined;
|
|
34
|
-
ValidUntil?: string | undefined;
|
|
35
|
-
Description?: string | undefined;
|
|
36
|
-
validxtimes?: number | undefined;
|
|
37
|
-
IsPercentage?: boolean | undefined;
|
|
38
|
-
PriceInclVAT?: number | undefined;
|
|
39
|
-
SendReminder?: boolean | undefined;
|
|
40
|
-
ContingentMax?: number | undefined;
|
|
41
|
-
CustomerEMail?: string | undefined;
|
|
42
|
-
PriceOriginal?: number | undefined;
|
|
43
|
-
ServicesAssigned?: string | undefined;
|
|
44
|
-
CalendarsAssigned?: string | undefined;
|
|
45
|
-
ContingentCounter?: number | undefined;
|
|
46
|
-
OneTimeValidPerEMail?: boolean | undefined;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const eterminListVouchers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
28
|
//#endregion
|
|
50
29
|
export { eterminListVouchers };
|
|
51
30
|
//# sourceMappingURL=list-vouchers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vouchers.d.cts","names":[],"sources":["../../src/actions/list-vouchers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA"}
|
|
1
|
+
{"version":3,"file":"list-vouchers.d.cts","names":[],"sources":["../../src/actions/list-vouchers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,49 +3,28 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-vouchers.d.ts
|
|
4
4
|
declare const EterminListVouchersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const EterminListVouchersOutput: z.ZodObject<{
|
|
6
|
-
vouchers: z.
|
|
7
|
-
id: z.
|
|
8
|
-
iid: z.
|
|
9
|
-
Currency: z.
|
|
10
|
-
ValidFrom: z.
|
|
11
|
-
PriceWoVAT: z.
|
|
12
|
-
ValidUntil: z.
|
|
13
|
-
Description: z.
|
|
14
|
-
validxtimes: z.
|
|
15
|
-
IsPercentage: z.
|
|
16
|
-
PriceInclVAT: z.
|
|
17
|
-
SendReminder: z.
|
|
18
|
-
ContingentMax: z.
|
|
19
|
-
CustomerEMail: z.
|
|
20
|
-
PriceOriginal: z.
|
|
21
|
-
ServicesAssigned: z.
|
|
22
|
-
CalendarsAssigned: z.
|
|
23
|
-
ContingentCounter: z.
|
|
24
|
-
OneTimeValidPerEMail: z.
|
|
6
|
+
vouchers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
iid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
ValidFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
PriceWoVAT: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
ValidUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
validxtimes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
IsPercentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
+
PriceInclVAT: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
SendReminder: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
ContingentMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
CustomerEMail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
PriceOriginal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
ServicesAssigned: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
CalendarsAssigned: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
ContingentCounter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
OneTimeValidPerEMail: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
25
|
}, z.core.$strip>>>>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
|
-
declare const eterminListVouchers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>,
|
|
28
|
-
vouchers?: {
|
|
29
|
-
id?: string | undefined;
|
|
30
|
-
iid?: number | undefined;
|
|
31
|
-
Currency?: string | undefined;
|
|
32
|
-
ValidFrom?: string | undefined;
|
|
33
|
-
PriceWoVAT?: number | undefined;
|
|
34
|
-
ValidUntil?: string | undefined;
|
|
35
|
-
Description?: string | undefined;
|
|
36
|
-
validxtimes?: number | undefined;
|
|
37
|
-
IsPercentage?: boolean | undefined;
|
|
38
|
-
PriceInclVAT?: number | undefined;
|
|
39
|
-
SendReminder?: boolean | undefined;
|
|
40
|
-
ContingentMax?: number | undefined;
|
|
41
|
-
CustomerEMail?: string | undefined;
|
|
42
|
-
PriceOriginal?: number | undefined;
|
|
43
|
-
ServicesAssigned?: string | undefined;
|
|
44
|
-
CalendarsAssigned?: string | undefined;
|
|
45
|
-
ContingentCounter?: number | undefined;
|
|
46
|
-
OneTimeValidPerEMail?: boolean | undefined;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const eterminListVouchers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
28
|
//#endregion
|
|
50
29
|
export { eterminListVouchers };
|
|
51
30
|
//# sourceMappingURL=list-vouchers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-vouchers.d.mts","names":[],"sources":["../../src/actions/list-vouchers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA"}
|
|
1
|
+
{"version":3,"file":"list-vouchers.d.mts","names":[],"sources":["../../src/actions/list-vouchers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|