@keystrokehq/etermin 0.1.1 → 0.1.3
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 +4 -4
- package/dist/actions/assign-calendar-service.cjs.map +1 -1
- package/dist/actions/assign-calendar-service.d.cts +5 -9
- package/dist/actions/assign-calendar-service.d.mts +5 -9
- package/dist/actions/assign-calendar-service.mjs +4 -4
- 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.cjs +1 -1
- package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/create-anchortime-by-date.d.cts +2 -5
- package/dist/actions/create-anchortime-by-date.d.mts +2 -5
- package/dist/actions/create-anchortime-by-date.mjs +1 -1
- package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/create-anchortime.cjs +1 -1
- package/dist/actions/create-anchortime.cjs.map +1 -1
- package/dist/actions/create-anchortime.d.cts +3 -6
- package/dist/actions/create-anchortime.d.mts +3 -6
- package/dist/actions/create-anchortime.mjs +1 -1
- package/dist/actions/create-anchortime.mjs.map +1 -1
- package/dist/actions/create-appointment-sync.cjs +2 -2
- package/dist/actions/create-appointment-sync.cjs.map +1 -1
- package/dist/actions/create-appointment-sync.d.cts +3 -7
- package/dist/actions/create-appointment-sync.d.mts +3 -7
- package/dist/actions/create-appointment-sync.mjs +2 -2
- package/dist/actions/create-appointment-sync.mjs.map +1 -1
- package/dist/actions/create-appointment.cjs +7 -7
- package/dist/actions/create-appointment.cjs.map +1 -1
- package/dist/actions/create-appointment.d.cts +8 -15
- package/dist/actions/create-appointment.d.mts +8 -15
- package/dist/actions/create-appointment.mjs +7 -7
- package/dist/actions/create-appointment.mjs.map +1 -1
- package/dist/actions/create-calendar-return-time.cjs +2 -2
- package/dist/actions/create-calendar-return-time.cjs.map +1 -1
- package/dist/actions/create-calendar-return-time.d.cts +4 -8
- package/dist/actions/create-calendar-return-time.d.mts +4 -8
- package/dist/actions/create-calendar-return-time.mjs +2 -2
- package/dist/actions/create-calendar-return-time.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -1
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +2 -8
- package/dist/actions/create-contact.d.mts +2 -8
- package/dist/actions/create-contact.mjs +1 -1
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +4 -4
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +5 -9
- package/dist/actions/create-service-group.d.mts +5 -9
- package/dist/actions/create-service-group.mjs +4 -4
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-service.cjs +4 -4
- package/dist/actions/create-service.cjs.map +1 -1
- package/dist/actions/create-service.d.cts +5 -9
- package/dist/actions/create-service.d.mts +5 -9
- package/dist/actions/create-service.mjs +4 -4
- package/dist/actions/create-service.mjs.map +1 -1
- package/dist/actions/create-user.cjs +2 -2
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -7
- package/dist/actions/create-user.d.mts +3 -7
- package/dist/actions/create-user.mjs +2 -2
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/create-usermapping.cjs +4 -4
- package/dist/actions/create-usermapping.cjs.map +1 -1
- package/dist/actions/create-usermapping.d.cts +5 -9
- package/dist/actions/create-usermapping.d.mts +5 -9
- package/dist/actions/create-usermapping.mjs +4 -4
- package/dist/actions/create-usermapping.mjs.map +1 -1
- package/dist/actions/create-voucher.cjs +3 -3
- package/dist/actions/create-voucher.cjs.map +1 -1
- package/dist/actions/create-voucher.d.cts +4 -13
- package/dist/actions/create-voucher.d.mts +4 -13
- package/dist/actions/create-voucher.mjs +3 -3
- package/dist/actions/create-voucher.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +3 -3
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +4 -9
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +4 -9
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +3 -3
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/create-working-time.cjs +1 -1
- package/dist/actions/create-working-time.cjs.map +1 -1
- package/dist/actions/create-working-time.d.cts +2 -5
- package/dist/actions/create-working-time.d.mts +2 -5
- package/dist/actions/create-working-time.mjs +1 -1
- package/dist/actions/create-working-time.mjs.map +1 -1
- package/dist/actions/create-working-times-date.cjs +4 -4
- package/dist/actions/create-working-times-date.cjs.map +1 -1
- package/dist/actions/create-working-times-date.d.cts +5 -9
- package/dist/actions/create-working-times-date.d.mts +5 -9
- package/dist/actions/create-working-times-date.mjs +4 -4
- package/dist/actions/create-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-absence.cjs +2 -2
- package/dist/actions/delete-absence.cjs.map +1 -1
- package/dist/actions/delete-absence.d.cts +3 -7
- package/dist/actions/delete-absence.d.mts +3 -7
- package/dist/actions/delete-absence.mjs +2 -2
- package/dist/actions/delete-absence.mjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.cjs +3 -3
- package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.cts +4 -8
- package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.d.mts +4 -8
- package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
- package/dist/actions/delete-anchortime-by-date.mjs +3 -3
- package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/delete-anchortime.cjs +2 -2
- package/dist/actions/delete-anchortime.cjs.map +1 -1
- package/dist/actions/delete-anchortime.d.cts +3 -6
- package/dist/actions/delete-anchortime.d.mts +3 -6
- package/dist/actions/delete-anchortime.mjs +2 -2
- package/dist/actions/delete-anchortime.mjs.map +1 -1
- package/dist/actions/delete-appointment-sync.cjs +2 -2
- package/dist/actions/delete-appointment-sync.cjs.map +1 -1
- package/dist/actions/delete-appointment-sync.d.cts +3 -7
- package/dist/actions/delete-appointment-sync.d.mts +3 -7
- package/dist/actions/delete-appointment-sync.mjs +2 -2
- package/dist/actions/delete-appointment-sync.mjs.map +1 -1
- package/dist/actions/delete-appointment.cjs +3 -3
- package/dist/actions/delete-appointment.cjs.map +1 -1
- package/dist/actions/delete-appointment.d.cts +4 -8
- package/dist/actions/delete-appointment.d.cts.map +1 -1
- package/dist/actions/delete-appointment.d.mts +4 -8
- package/dist/actions/delete-appointment.d.mts.map +1 -1
- package/dist/actions/delete-appointment.mjs +3 -3
- package/dist/actions/delete-appointment.mjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.cjs +2 -2
- package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
- package/dist/actions/delete-calendar-return-time.d.cts +3 -6
- package/dist/actions/delete-calendar-return-time.d.mts +3 -6
- package/dist/actions/delete-calendar-return-time.mjs +2 -2
- package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
- package/dist/actions/delete-calendar-service.cjs +2 -2
- package/dist/actions/delete-calendar-service.cjs.map +1 -1
- package/dist/actions/delete-calendar-service.d.cts +3 -6
- package/dist/actions/delete-calendar-service.d.mts +3 -6
- package/dist/actions/delete-calendar-service.mjs +2 -2
- package/dist/actions/delete-calendar-service.mjs.map +1 -1
- package/dist/actions/delete-calendar.cjs +2 -2
- package/dist/actions/delete-calendar.cjs.map +1 -1
- package/dist/actions/delete-calendar.d.cts +3 -7
- package/dist/actions/delete-calendar.d.mts +3 -7
- package/dist/actions/delete-calendar.mjs +2 -2
- package/dist/actions/delete-calendar.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +2 -2
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -6
- package/dist/actions/delete-contact.d.mts +3 -6
- package/dist/actions/delete-contact.mjs +2 -2
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-resource.cjs +2 -2
- package/dist/actions/delete-resource.cjs.map +1 -1
- package/dist/actions/delete-resource.d.cts +3 -8
- package/dist/actions/delete-resource.d.mts +3 -8
- package/dist/actions/delete-resource.mjs +2 -2
- package/dist/actions/delete-resource.mjs.map +1 -1
- package/dist/actions/delete-service.cjs +4 -4
- package/dist/actions/delete-service.cjs.map +1 -1
- package/dist/actions/delete-service.d.cts +5 -9
- package/dist/actions/delete-service.d.mts +5 -9
- package/dist/actions/delete-service.mjs +4 -4
- package/dist/actions/delete-service.mjs.map +1 -1
- package/dist/actions/delete-servicegroup.cjs +3 -3
- package/dist/actions/delete-servicegroup.cjs.map +1 -1
- package/dist/actions/delete-servicegroup.d.cts +4 -7
- package/dist/actions/delete-servicegroup.d.mts +4 -7
- package/dist/actions/delete-servicegroup.mjs +3 -3
- package/dist/actions/delete-servicegroup.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +2 -2
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -6
- package/dist/actions/delete-user.d.mts +3 -6
- package/dist/actions/delete-user.mjs +2 -2
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/delete-usermapping.cjs +3 -3
- package/dist/actions/delete-usermapping.cjs.map +1 -1
- package/dist/actions/delete-usermapping.d.cts +4 -7
- package/dist/actions/delete-usermapping.d.mts +4 -7
- package/dist/actions/delete-usermapping.mjs +3 -3
- package/dist/actions/delete-usermapping.mjs.map +1 -1
- package/dist/actions/delete-voucher.cjs +2 -2
- package/dist/actions/delete-voucher.cjs.map +1 -1
- package/dist/actions/delete-voucher.d.cts +3 -6
- package/dist/actions/delete-voucher.d.mts +3 -6
- package/dist/actions/delete-voucher.mjs +2 -2
- package/dist/actions/delete-voucher.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +3 -3
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +4 -7
- package/dist/actions/delete-webhook.d.mts +4 -7
- package/dist/actions/delete-webhook.mjs +3 -3
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/delete-working-times-date.cjs +3 -3
- package/dist/actions/delete-working-times-date.cjs.map +1 -1
- package/dist/actions/delete-working-times-date.d.cts +4 -7
- package/dist/actions/delete-working-times-date.d.mts +4 -7
- package/dist/actions/delete-working-times-date.mjs +3 -3
- package/dist/actions/delete-working-times-date.mjs.map +1 -1
- package/dist/actions/delete-working-times.cjs +3 -3
- package/dist/actions/delete-working-times.cjs.map +1 -1
- package/dist/actions/delete-working-times.d.cts +4 -7
- package/dist/actions/delete-working-times.d.mts +4 -7
- package/dist/actions/delete-working-times.mjs +3 -3
- 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 +9 -19
- package/dist/actions/get-absences.d.mts +9 -19
- package/dist/actions/get-absences.mjs +7 -7
- package/dist/actions/get-absences.mjs.map +1 -1
- package/dist/actions/get-anchortime-date.cjs +6 -6
- package/dist/actions/get-anchortime-date.cjs.map +1 -1
- package/dist/actions/get-anchortime-date.d.cts +7 -16
- package/dist/actions/get-anchortime-date.d.mts +7 -16
- package/dist/actions/get-anchortime-date.mjs +6 -6
- package/dist/actions/get-anchortime-date.mjs.map +1 -1
- package/dist/actions/get-anchortimes.cjs +6 -6
- package/dist/actions/get-anchortimes.cjs.map +1 -1
- package/dist/actions/get-anchortimes.d.cts +7 -16
- package/dist/actions/get-anchortimes.d.mts +7 -16
- package/dist/actions/get-anchortimes.mjs +6 -6
- package/dist/actions/get-anchortimes.mjs.map +1 -1
- package/dist/actions/get-appointment-sync.cjs +74 -74
- package/dist/actions/get-appointment-sync.cjs.map +1 -1
- package/dist/actions/get-appointment-sync.d.cts +75 -152
- package/dist/actions/get-appointment-sync.d.mts +75 -152
- package/dist/actions/get-appointment-sync.mjs +74 -74
- package/dist/actions/get-appointment-sync.mjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.cjs +7 -7
- package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
- package/dist/actions/get-bookingpage-logs.d.cts +8 -16
- package/dist/actions/get-bookingpage-logs.d.mts +8 -16
- package/dist/actions/get-bookingpage-logs.mjs +7 -7
- 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 +11 -23
- package/dist/actions/get-calendar-return-time.d.mts +11 -23
- 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 +6 -6
- package/dist/actions/get-calendars.cjs.map +1 -1
- package/dist/actions/get-calendars.d.cts +7 -18
- package/dist/actions/get-calendars.d.cts.map +1 -1
- package/dist/actions/get-calendars.d.mts +7 -18
- package/dist/actions/get-calendars.d.mts.map +1 -1
- package/dist/actions/get-calendars.mjs +6 -6
- package/dist/actions/get-calendars.mjs.map +1 -1
- package/dist/actions/get-calendarservice.cjs +4 -4
- package/dist/actions/get-calendarservice.cjs.map +1 -1
- package/dist/actions/get-calendarservice.d.cts +5 -12
- package/dist/actions/get-calendarservice.d.mts +5 -12
- package/dist/actions/get-calendarservice.mjs +4 -4
- package/dist/actions/get-calendarservice.mjs.map +1 -1
- package/dist/actions/get-company.cjs +20 -20
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +21 -44
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +21 -44
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +20 -20
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +51 -51
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +52 -105
- package/dist/actions/get-contact-by-id.d.mts +52 -105
- package/dist/actions/get-contact-by-id.mjs +51 -51
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +51 -51
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +52 -105
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +52 -105
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +51 -51
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-deleted-appointments.cjs +19 -19
- package/dist/actions/get-deleted-appointments.cjs.map +1 -1
- package/dist/actions/get-deleted-appointments.d.cts +20 -42
- package/dist/actions/get-deleted-appointments.d.mts +20 -42
- package/dist/actions/get-deleted-appointments.mjs +19 -19
- package/dist/actions/get-deleted-appointments.mjs.map +1 -1
- package/dist/actions/get-message-logs.cjs +11 -11
- package/dist/actions/get-message-logs.cjs.map +1 -1
- package/dist/actions/get-message-logs.d.cts +12 -24
- package/dist/actions/get-message-logs.d.mts +12 -24
- package/dist/actions/get-message-logs.mjs +11 -11
- package/dist/actions/get-message-logs.mjs.map +1 -1
- package/dist/actions/get-rating.cjs +12 -12
- package/dist/actions/get-rating.cjs.map +1 -1
- package/dist/actions/get-rating.d.cts +13 -28
- package/dist/actions/get-rating.d.cts.map +1 -1
- package/dist/actions/get-rating.d.mts +13 -28
- package/dist/actions/get-rating.d.mts.map +1 -1
- package/dist/actions/get-rating.mjs +12 -12
- package/dist/actions/get-rating.mjs.map +1 -1
- package/dist/actions/get-service-by-id.cjs +5 -5
- package/dist/actions/get-service-by-id.cjs.map +1 -1
- package/dist/actions/get-service-by-id.d.cts +6 -23
- package/dist/actions/get-service-by-id.d.mts +6 -23
- package/dist/actions/get-service-by-id.mjs +5 -5
- package/dist/actions/get-service-by-id.mjs.map +1 -1
- package/dist/actions/get-service-calendar.cjs +1 -1
- package/dist/actions/get-service-calendar.cjs.map +1 -1
- package/dist/actions/get-service-calendar.d.cts +2 -7
- package/dist/actions/get-service-calendar.d.mts +2 -7
- package/dist/actions/get-service-calendar.mjs +1 -1
- package/dist/actions/get-service-calendar.mjs.map +1 -1
- package/dist/actions/get-servicegroup.cjs +26 -26
- package/dist/actions/get-servicegroup.cjs.map +1 -1
- package/dist/actions/get-servicegroup.d.cts +27 -56
- package/dist/actions/get-servicegroup.d.mts +27 -56
- package/dist/actions/get-servicegroup.mjs +26 -26
- package/dist/actions/get-servicegroup.mjs.map +1 -1
- package/dist/actions/get-services.cjs +5 -5
- package/dist/actions/get-services.cjs.map +1 -1
- package/dist/actions/get-services.d.cts +6 -23
- package/dist/actions/get-services.d.cts.map +1 -1
- package/dist/actions/get-services.d.mts +6 -23
- package/dist/actions/get-services.d.mts.map +1 -1
- package/dist/actions/get-services.mjs +5 -5
- package/dist/actions/get-services.mjs.map +1 -1
- package/dist/actions/get-survey-results.cjs +8 -8
- package/dist/actions/get-survey-results.cjs.map +1 -1
- package/dist/actions/get-survey-results.d.cts +9 -18
- package/dist/actions/get-survey-results.d.mts +9 -18
- package/dist/actions/get-survey-results.mjs +8 -8
- package/dist/actions/get-survey-results.mjs.map +1 -1
- package/dist/actions/get-timeslots.cjs +5 -5
- package/dist/actions/get-timeslots.cjs.map +1 -1
- package/dist/actions/get-timeslots.d.cts +6 -14
- package/dist/actions/get-timeslots.d.mts +6 -14
- package/dist/actions/get-timeslots.mjs +5 -5
- package/dist/actions/get-timeslots.mjs.map +1 -1
- package/dist/actions/get-usermapping.cjs +8 -8
- package/dist/actions/get-usermapping.cjs.map +1 -1
- package/dist/actions/get-usermapping.d.cts +9 -20
- package/dist/actions/get-usermapping.d.mts +9 -20
- package/dist/actions/get-usermapping.mjs +8 -8
- package/dist/actions/get-usermapping.mjs.map +1 -1
- package/dist/actions/get-users.cjs +28 -28
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +29 -60
- package/dist/actions/get-users.d.cts.map +1 -1
- package/dist/actions/get-users.d.mts +29 -60
- package/dist/actions/get-users.d.mts.map +1 -1
- package/dist/actions/get-users.mjs +28 -28
- 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 +3 -12
- package/dist/actions/get-working-times-date.d.mts +3 -12
- 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 +3 -13
- package/dist/actions/get-working-times.d.mts +3 -13
- 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 +20 -20
- package/dist/actions/list-appointments.cjs.map +1 -1
- package/dist/actions/list-appointments.d.cts +21 -44
- package/dist/actions/list-appointments.d.mts +21 -44
- package/dist/actions/list-appointments.mjs +20 -20
- package/dist/actions/list-appointments.mjs.map +1 -1
- package/dist/actions/list-vouchers.cjs +20 -20
- package/dist/actions/list-vouchers.cjs.map +1 -1
- package/dist/actions/list-vouchers.d.cts +22 -43
- package/dist/actions/list-vouchers.d.cts.map +1 -1
- package/dist/actions/list-vouchers.d.mts +22 -43
- package/dist/actions/list-vouchers.d.mts.map +1 -1
- package/dist/actions/list-vouchers.mjs +20 -20
- package/dist/actions/list-vouchers.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -1
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +2 -4
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +2 -4
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -1
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/put-service.cjs +4 -4
- package/dist/actions/put-service.cjs.map +1 -1
- package/dist/actions/put-service.d.cts +5 -9
- package/dist/actions/put-service.d.mts +5 -9
- package/dist/actions/put-service.mjs +4 -4
- package/dist/actions/put-service.mjs.map +1 -1
- package/dist/actions/update-absence.cjs +2 -2
- package/dist/actions/update-absence.cjs.map +1 -1
- package/dist/actions/update-absence.d.cts +3 -7
- package/dist/actions/update-absence.d.mts +3 -7
- package/dist/actions/update-absence.mjs +2 -2
- package/dist/actions/update-absence.mjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.cjs +2 -2
- package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
- package/dist/actions/update-anchortime-by-date.d.cts +3 -6
- package/dist/actions/update-anchortime-by-date.d.mts +3 -6
- package/dist/actions/update-anchortime-by-date.mjs +2 -2
- package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
- package/dist/actions/update-anchortime.cjs +3 -3
- package/dist/actions/update-anchortime.cjs.map +1 -1
- package/dist/actions/update-anchortime.d.cts +4 -9
- package/dist/actions/update-anchortime.d.mts +4 -9
- package/dist/actions/update-anchortime.mjs +3 -3
- package/dist/actions/update-anchortime.mjs.map +1 -1
- package/dist/actions/update-appointment.cjs +1 -1
- package/dist/actions/update-appointment.cjs.map +1 -1
- package/dist/actions/update-appointment.d.cts +2 -5
- package/dist/actions/update-appointment.d.mts +2 -5
- package/dist/actions/update-appointment.mjs +1 -1
- package/dist/actions/update-appointment.mjs.map +1 -1
- package/dist/actions/update-calendar-return-time.cjs +2 -2
- package/dist/actions/update-calendar-return-time.cjs.map +1 -1
- package/dist/actions/update-calendar-return-time.d.cts +3 -7
- package/dist/actions/update-calendar-return-time.d.mts +3 -7
- package/dist/actions/update-calendar-return-time.mjs +2 -2
- package/dist/actions/update-calendar-return-time.mjs.map +1 -1
- package/dist/actions/update-calendar.cjs +3 -3
- package/dist/actions/update-calendar.cjs.map +1 -1
- package/dist/actions/update-calendar.d.cts +4 -9
- package/dist/actions/update-calendar.d.mts +4 -9
- package/dist/actions/update-calendar.mjs +3 -3
- package/dist/actions/update-calendar.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +4 -4
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +5 -11
- package/dist/actions/update-contact.d.mts +5 -11
- package/dist/actions/update-contact.mjs +4 -4
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-resource.cjs +2 -2
- package/dist/actions/update-resource.cjs.map +1 -1
- package/dist/actions/update-resource.d.cts +3 -8
- package/dist/actions/update-resource.d.mts +3 -8
- package/dist/actions/update-resource.mjs +2 -2
- package/dist/actions/update-resource.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +1 -1
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +2 -5
- package/dist/actions/update-service-group.d.mts +2 -5
- package/dist/actions/update-service-group.mjs +1 -1
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-service.cjs +1 -1
- package/dist/actions/update-service.cjs.map +1 -1
- package/dist/actions/update-service.d.cts +2 -4
- package/dist/actions/update-service.d.cts.map +1 -1
- package/dist/actions/update-service.d.mts +2 -4
- package/dist/actions/update-service.d.mts.map +1 -1
- package/dist/actions/update-service.mjs +1 -1
- package/dist/actions/update-service.mjs.map +1 -1
- package/dist/actions/update-sync-appointment.cjs +2 -2
- package/dist/actions/update-sync-appointment.cjs.map +1 -1
- package/dist/actions/update-sync-appointment.d.cts +3 -7
- package/dist/actions/update-sync-appointment.d.mts +3 -7
- package/dist/actions/update-sync-appointment.mjs +2 -2
- package/dist/actions/update-sync-appointment.mjs.map +1 -1
- package/dist/actions/update-usermapping.cjs +3 -3
- package/dist/actions/update-usermapping.cjs.map +1 -1
- package/dist/actions/update-usermapping.d.cts +4 -7
- package/dist/actions/update-usermapping.d.mts +4 -7
- package/dist/actions/update-usermapping.mjs +3 -3
- package/dist/actions/update-usermapping.mjs.map +1 -1
- package/dist/actions/update-voucher.cjs +2 -2
- package/dist/actions/update-voucher.cjs.map +1 -1
- package/dist/actions/update-voucher.d.cts +4 -9
- package/dist/actions/update-voucher.d.mts +4 -9
- package/dist/actions/update-voucher.mjs +2 -2
- package/dist/actions/update-voucher.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +4 -4
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +6 -10
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +6 -10
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +4 -4
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/update-working-times-date.cjs +3 -3
- package/dist/actions/update-working-times-date.cjs.map +1 -1
- package/dist/actions/update-working-times-date.d.cts +4 -7
- package/dist/actions/update-working-times-date.d.mts +4 -7
- package/dist/actions/update-working-times-date.mjs +3 -3
- package/dist/actions/update-working-times-date.mjs.map +1 -1
- package/dist/actions/update-working-times.cjs +3 -3
- package/dist/actions/update-working-times.cjs.map +1 -1
- package/dist/actions/update-working-times.d.cts +4 -7
- package/dist/actions/update-working-times.d.mts +4 -7
- package/dist/actions/update-working-times.mjs +3 -3
- package/dist/actions/update-working-times.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -117,10 +117,10 @@ declare const EterminPutServiceInput: z.ZodObject<{
|
|
|
117
117
|
multiservicedurationcalcmethod: z.ZodOptional<z.ZodNumber>;
|
|
118
118
|
}, z.core.$strip>;
|
|
119
119
|
declare const EterminPutServiceOutput: z.ZodObject<{
|
|
120
|
-
ID: z.
|
|
121
|
-
Status: z.
|
|
122
|
-
StatusMsg: z.
|
|
123
|
-
}, z.core.$
|
|
120
|
+
ID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
122
|
+
StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
}, z.core.$loose>;
|
|
124
124
|
declare const eterminPutService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
125
125
|
id: number;
|
|
126
126
|
PM0?: number | undefined;
|
|
@@ -235,11 +235,7 @@ declare const eterminPutService: import("@keystrokehq/action").WorkflowActionDef
|
|
|
235
235
|
externalreferencecalname?: string | undefined;
|
|
236
236
|
externalreferencelocation?: string | undefined;
|
|
237
237
|
multiservicedurationcalcmethod?: number | undefined;
|
|
238
|
-
},
|
|
239
|
-
ID?: number | undefined;
|
|
240
|
-
Status?: number | undefined;
|
|
241
|
-
StatusMsg?: string | undefined;
|
|
242
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
238
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
243
239
|
//#endregion
|
|
244
240
|
export { eterminPutService };
|
|
245
241
|
//# sourceMappingURL=put-service.d.cts.map
|
|
@@ -117,10 +117,10 @@ declare const EterminPutServiceInput: z.ZodObject<{
|
|
|
117
117
|
multiservicedurationcalcmethod: z.ZodOptional<z.ZodNumber>;
|
|
118
118
|
}, z.core.$strip>;
|
|
119
119
|
declare const EterminPutServiceOutput: z.ZodObject<{
|
|
120
|
-
ID: z.
|
|
121
|
-
Status: z.
|
|
122
|
-
StatusMsg: z.
|
|
123
|
-
}, z.core.$
|
|
120
|
+
ID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
|
+
Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
122
|
+
StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
}, z.core.$loose>;
|
|
124
124
|
declare const eterminPutService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
125
125
|
id: number;
|
|
126
126
|
PM0?: number | undefined;
|
|
@@ -235,11 +235,7 @@ declare const eterminPutService: import("@keystrokehq/action").WorkflowActionDef
|
|
|
235
235
|
externalreferencecalname?: string | undefined;
|
|
236
236
|
externalreferencelocation?: string | undefined;
|
|
237
237
|
multiservicedurationcalcmethod?: number | undefined;
|
|
238
|
-
},
|
|
239
|
-
ID?: number | undefined;
|
|
240
|
-
Status?: number | undefined;
|
|
241
|
-
StatusMsg?: string | undefined;
|
|
242
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
238
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
243
239
|
//#endregion
|
|
244
240
|
export { eterminPutService };
|
|
245
241
|
//# sourceMappingURL=put-service.d.mts.map
|
|
@@ -120,10 +120,10 @@ const eterminPutService = action("ETERMIN_PUT_SERVICE", {
|
|
|
120
120
|
multiservicedurationcalcmethod: z.number().int().describe("Defines how the duration is calculated if multiple services are selected (0 = all durations are summed up, 1 = only duration of the longest service, 2 = all durations are halfed, 3 = like 2 except the longest service)").optional()
|
|
121
121
|
}).describe("Request model for updating a service in eTermin via PUT /service endpoint."),
|
|
122
122
|
output: z.object({
|
|
123
|
-
ID: z.
|
|
124
|
-
Status: z.
|
|
125
|
-
StatusMsg: z.
|
|
126
|
-
}).describe("Response model for the PUT service operation.")
|
|
123
|
+
ID: z.number().describe("ID of the updated service").nullable().optional(),
|
|
124
|
+
Status: z.number().describe("Status code of the operation").nullable().optional(),
|
|
125
|
+
StatusMsg: z.string().describe("Status message describing the result. Since there are more tables that get updated, you get the message 3 records updated").nullable().optional()
|
|
126
|
+
}).passthrough().describe("Response model for the PUT service operation.")
|
|
127
127
|
});
|
|
128
128
|
//#endregion
|
|
129
129
|
export { eterminPutService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-service.mjs","names":[],"sources":["../../src/actions/put-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminPutServiceInput = z.object({\n id: z.number().int().describe(\"ID of the service to update\"),\n PM0: z.number().int().describe(\"Shows online payment options (1 = enabled, 0 = disabled)\").optional(),\n PM1: z.number().int().describe(\"Shows on site payment options (1 = enabled, 0 = disabled)\").optional(),\n PM2: z.number().int().describe(\"Shows by invoice payment options (1 = enabled, 0 = disabled)\").optional(),\n vat: z.number().int().describe(\"Defines the vat rate of the service\").optional(),\n mpbs: z.number().int().describe(\"Defines if the price is multiplied by the amount of booked appointments\").optional(),\n ssca: z.number().int().describe(\"Defines if in the calendar selection the entry all calendars is shown (0 = no, 1 = yes)\").optional(),\n tags: z.string().describe(\"ID of the tags that the contact gets after booking\").optional(),\n image: z.string().describe(\"Image of the service\").optional(),\n price: z.number().describe(\"Price of the service\").optional(),\n rrule: z.string().describe(\"Defines the RRULE for this service\").optional(),\n infode: z.string().describe(\"Additional description of the service in german. For other languages use serviceLANGUAGECODE e.g. infoen\").optional(),\n jscode: z.string().describe(\"Used for JavaScript code that will be executed after the booking of the appointment (for example to redirect to another website)\").optional(),\n wowing: z.number().int().describe(\"Set to 0 if the Wowing interface should be disabled for this service\").optional(),\n cluster: z.number().int().describe(\"Defines if the cluster is applied to this service (1 = enabled, 0 = disabled)\").optional(),\n enabled: z.boolean().describe(\"Defines if the service is shown in the frontend\").optional(),\n uselogo: z.boolean().describe(\"True, if the the picture of this service should be used for the email logo\").optional(),\n currency: z.string().describe(\"Defines the currency of the service\").optional(),\n extramin: z.number().int().describe(\"Defines total wrap up time\").optional(),\n feedback: z.number().int().describe(\"Set to 0 if the feedback checkbox should not be shown\").optional(),\n nrappsel: z.number().int().describe(\"Defines the maximum / minimum amount of appointments that MUST be selected on the booking page if multiappointment is true (in this service or globally)\").optional(),\n rangeend: z.number().int().describe(\"Days range for the new appointment\").optional(),\n showindb: z.boolean().describe(\"Defines if the service is shown in the most booked area of the Dashboard\").optional(),\n appattrib: z.number().int().describe(\"Defines which attribute is set automatically in appointment. Attributes are binary encoded (1st attribute = 1, 2nd = 2, 3rd = 4; 1st + 2nd = 3)\").optional(),\n appfuture: z.number().int().describe(\"Time the appointment can be booked in the future in days\").optional(),\n infotxtp2: z.string().describe(\"A special placeholder %INFOTEXTP2% for page 2 of the booking page\").optional(),\n maxappsel: z.number().int().describe(\"Defines the maximum amount of appointments that can be selected on the booking page if multiappointment is true (in this service or globally)\").optional(),\n mstextpos: z.number().int().describe(\"Defines the position of capseltext (0 = above selection, 1 = to the right)\").optional(),\n servicede: z.string().describe(\"Name of the service in german. For other languages use serviceLANGUAGECODE e.g. serviceen\").optional(),\n showavcap: z.number().int().describe(\"Defines if the available capacity is shown in time slots (0 = no, 1 = yes)\").optional(),\n sortorder: z.number().int().describe(\"Defines the position in the servicegroup\").optional(),\n emailtxtde: z.string().describe(\"A special placeholder %SERVICETEXT% for emails, use other language codes to set the text (for example emailtxten for english)\").optional(),\n rangestart: z.number().int().describe(\"Days after the last appoinment\").optional(),\n showcalpic: z.number().int().describe(\"Defines if in the calendar picture is shown after the timeslot is selected (0 = no, 1 = yes)\").optional(),\n startedapp: z.number().int().describe(\"Time the appointment can be booked if already started in minutes (has to be a negative value)\").optional(),\n tagscancel: z.string().describe(\"ID of the tags that the contact gets after cancellation of the appointment\").optional(),\n addapphours: z.number().int().describe(\"Hours after the first appointment, where a second appointment is booked\").optional(),\n appdeadline: z.number().int().describe(\"Time the appointment must be booked in advance in minutes\").optional(),\n bookingtype: z.number().int().describe(\"Defines the bookingtype (0 = appointment, 1 = no appointment booking allowed, 2 = 'negative' appointment, 3 = reservation list, 4 = voucher sale)\").optional(),\n emailsender: z.string().describe(\"Defines the sender adress of the email for this service\").optional(),\n infodisplay: z.number().int().describe(\"Defines where the information is shown (0 = below service name, 1 = informationtext page 2, 2 = summary after booking, 3 = below service name and summary after booking)\").optional(),\n maxcapacity: z.number().describe(\"Sets the maximum capacity of the service\").optional(),\n maxminslots: z.boolean().describe(\"Defines if nrappsel is maximum (0) or minimum (1)\").optional(),\n notearlyapp: z.number().int().describe(\"Defines if the customer should get an email if an earlier appointment is available (0 = not active, 1 = for appointments that were cancelled online, 2 = for appointments cancelled online and manually, 3 = like 1 but per calendar, 4 = like 2 but per calendar)\").optional(),\n showcalname: z.number().int().describe(\"Defines if in the calendar name is shown in the time slot (0 = no, 1 = yes)\").optional(),\n waitinglist: z.number().int().describe(\"Defines if the waiting list should be available (0 = no, 1 = yes)\").optional(),\n abbreviation: z.string().describe(\"abbreviation of the service\").optional(),\n capseltextde: z.string().describe(\"Defines the text if there is a capacity selection on that service, use other language codes to set the text (for example capseltexten for english)\").optional(),\n extramintype: z.number().int().describe(\"0 if extramin should not be applied if differenttimeresource is true, 1 if extramin should be added to timeslotminutesresend\").optional(),\n limitbooking: z.number().int().describe(\"Defines if this service can be booked a limited amount of times per customer (0 = no, 1 = yes)\").optional(),\n limitservice: z.number().int().describe(\"Defines if the limitation only applies to this specific service\").optional(),\n priceinfopos: z.number().int().describe(\"Defines where the pricesuffix is shown (0 = left side, 1 = right side)\").optional(),\n showinternal: z.boolean().describe(\"Defines if the service is shown in the backend\").optional(),\n voucherfield: z.number().int().describe(\"Defines if the voucherfield is shown (0 = not shown, 1 = shown, 2 = shown and mandatory)\").optional(),\n workloadperc: z.number().int().describe(\"Defines the percentage of time slots that are not shown\").optional(),\n bookingminute: z.number().int().describe(\"Defines when the timeslots are shown (61 = no restrictions, 0 = every full hour, 31 = every full and half hour, 15 or 30 or 45 = x minutes after a full hour)\").optional(),\n pricesuffixde: z.string().describe(\"Additional information for the price, use other language codes to set the text (for example emailtxten for english)\").optional(),\n reminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n canceldeadline: z.number().int().describe(\"Time the appointment can be cancelled in hours\").optional(),\n capacitynonsel: z.number().describe(\"Sets the capacity if selected on the booking page (needs showcapselectionbox to be false)\").optional(),\n enablecapacity: z.boolean().describe(\"True to enable the capacity of the service\").optional(),\n hideserviceids: z.string().describe(\"Service(s) that should be hidden, if this service is selected\").optional(),\n issubscription: z.boolean().describe(\"Defines if the service is a subscription\").optional(),\n reminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group\").optional(),\n showserviceids: z.string().describe(\"Service(s) that have to be selected to show this service\").optional(),\n timeslotformat: z.number().int().describe(\"Defines how the timeslots are shown on page 2 on the bookingpage (0 = starttime - endtime, 1 = starttime, 2 = only date, 3 = calendar week, 4 = like 0 but with dates, 5 = startdate only)\").optional(),\n calcdrivingtime: z.number().int().describe(\"Defines if driving time should be calculated (0 = no, 1 = yes)\").optional(),\n customerconfirm: z.number().int().describe(\"Defines if the customer needs to confirm the appointment (1 = enabled, 0 = disabled; doesn't work with online payments or vendorconfirmation)\").optional(),\n infotextinslots: z.boolean().describe(\"True, if the info text should be shown in the slot text in page 2 of the booking page\").optional(),\n multiservicemax: z.number().int().describe(\"Defines the maximum amount that can be choosen for multi service selection\").optional(),\n multiservicemin: z.number().int().describe(\"Defines the minimum amount that can be choosen for multi service selection\").optional(),\n multiservicesel: z.boolean().describe(\"True, if the service can be booked multiple times after another. This won't work if the parameter enablecapacity is true aswell\").optional(),\n paymentduration: z.number().int().describe(\"Defines the payment term for LexOffice\").optional(),\n pricediffperday: z.boolean().describe(\"Defines if different prices per weekday are applied\").optional(),\n smsconfirmation: z.number().int().describe(\"Defines if a SMS confirmation is sent after booking (1 = enabled, 0 = disabled)\").optional(),\n timeslotminutes: z.number().int().describe(\"Duration of the service in minutes\").optional(),\n dayselectiontype: z.number().int().describe(\"Defines how page 2 shows the available days (0 = Calendar, 1 = list of days)\").optional(),\n multiappointment: z.number().int().describe(\"Defines if multiple appointments can be booked in one booking (0 = no, 1 = yes)\").optional(),\n nrappseladjacent: z.boolean().describe(\"True, if the selected appointments have to be adjacent\").optional(),\n timeslotcombined: z.number().int().describe(\"Defines the time of the appointment if booked with another service. differenttimecombined has to be true\").optional(),\n calendarselection: z.number().int().describe(\"Defines if the calendar selection should be shown (0 = no, 1 = yes)\").optional(),\n externalreference: z.string().describe(\"Used for a tag ID or external reference after booking\").optional(),\n limitappointments: z.number().int().describe(\"Defines how many appointments can be booked per customer\").optional(),\n nrtimeslotentries: z.number().int().describe(\"Defines the maximum amount of time slots that are shown\").optional(),\n priceispercentage: z.boolean().describe(\"True if price is a percentage\").optional(),\n maxcapacityusersel: z.number().describe(\"Sets the maximum capacity the user can set on the booking page (needs showcapselectionbox to be true)\").optional(),\n vendorconfirmation: z.number().int().describe(\"Defines if the appointment provider needs to manually confirm the appointment (0 = manually, 1 = automatically)\").optional(),\n wowingautomationid: z.number().int().describe(\"Defines the Woing Automation ID\").optional(),\n appointmentlocation: z.number().int().describe(\"Defines the location of the appointment\").optional(),\n customerconfirmtime: z.number().int().describe(\"Time in minutes the customer has time to confirm the appointment (customerconfirm must be set to 1)\").optional(),\n showcapselectionbox: z.boolean().describe(\"True if the customer is able to select the capacity\").optional(),\n allowonlythisservice: z.boolean().describe(\"If there are multiple services with capacity available at the same time, this option prevents that they will get mixed, if set to true\").optional(),\n fillcalendarstrategy: z.number().int().describe(\"Defines how the calender should be filled (0 = standard, 1 = random, 2 = round Robin, 3 = sequential, 4 = skills, 5 = strict round Robin)\").optional(),\n multiplypricewithcap: z.boolean().describe(\"Defines if the price is multiplied with the capacity\").optional(),\n nrappseladjacenttype: z.number().int().describe(\"0 = the date and time need to be adjacent, 1 = only the day need to be adjacent\").optional(),\n severalcalendarsused: z.boolean().describe(\"True, if the service can only be booked if another calendar is available\").optional(),\n differenttimecombined: z.boolean().describe(\"True, if the service has a different time if booked with another service\").optional(),\n differenttimeresource: z.boolean().describe(\"True if you want to add pre- or post processing times\").optional(),\n externalreferencedate: z.string().describe(\"ID of a field that should contain the date of the appointment\").optional(),\n limitappointmentstype: z.number().int().describe(\"Defines how the appointments are limited (0 = per booking day, 1 = per week, 2 = per month, 3 = per year, 4 = per booked day)\").optional(),\n specificrangenextslot: z.boolean().describe(\"True, if the next appointment needs to be after a specific timeframe\").optional(),\n timeslotminutesresend: z.number().int().describe(\"Busy until minute (use a number greater than timeslotminutes to have a post-processing time)\").optional(),\n appointmentlocationtext: z.string().describe(\"Defines the location text if appointmentlocation = 3\").optional(),\n externalreferencecancel: z.string().describe(\"ID of a field that should contain the cancellation link of the appointment\").optional(),\n externalreferencechange: z.string().describe(\"Used for a tag ID or external reference after a change of the appointment\").optional(),\n externalreferencedelete: z.string().describe(\"Used for a tag ID or external reference after cancellation of the appointment\").optional(),\n paymentamountisabsolute: z.number().int().describe(\"Defines if paymentamountpercentage is abolute or a percentage (1 = absolute, 0 = percentage)\").optional(),\n paymentamountpercentage: z.number().int().describe(\"Defines the payment amount that needs to be paid at the end of booking\").optional(),\n timeslotminutesresstart: z.number().int().describe(\"Busy by minute (use negative number to have a pre-processing time)\").optional(),\n externalreferencecalname: z.string().describe(\"ID of a field that should contain the calendar name of the appointment\").optional(),\n externalreferencelocation: z.string().describe(\"ID of a field that should contain the location of the appointment\").optional(),\n multiservicedurationcalcmethod: z.number().int().describe(\"Defines how the duration is calculated if multiple services are selected (0 = all durations are summed up, 1 = only duration of the longest service, 2 = all durations are halfed, 3 = like 2 except the longest service)\").optional(),\n}).describe(\"Request model for updating a service in eTermin via PUT /service endpoint.\");\nexport const EterminPutServiceOutput = z.object({\n ID: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"ID of the updated service\").optional()),\n Status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Status code of the operation\").optional()),\n StatusMsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result. Since there are more tables that get updated, you get the message 3 records updated\").optional()),\n}).describe(\"Response model for the PUT service operation.\");\n\nexport const eterminPutService = action(\"ETERMIN_PUT_SERVICE\", {\n slug: \"etermin-put-service\",\n name: \"Update Service via PUT\",\n description: \"Tool to update a service in eTermin. Use when you need to modify service settings or configuration.\",\n input: EterminPutServiceInput,\n output: EterminPutServiceOutput,\n});\n"],"mappings":";;AA6HA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7HoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACpG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACxG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACjJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,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ACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"put-service.mjs","names":[],"sources":["../../src/actions/put-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminPutServiceInput = z.object({\n id: z.number().int().describe(\"ID of the service to update\"),\n PM0: z.number().int().describe(\"Shows online payment options (1 = enabled, 0 = disabled)\").optional(),\n PM1: z.number().int().describe(\"Shows on site payment options (1 = enabled, 0 = disabled)\").optional(),\n PM2: z.number().int().describe(\"Shows by invoice payment options (1 = enabled, 0 = disabled)\").optional(),\n vat: z.number().int().describe(\"Defines the vat rate of the service\").optional(),\n mpbs: z.number().int().describe(\"Defines if the price is multiplied by the amount of booked appointments\").optional(),\n ssca: z.number().int().describe(\"Defines if in the calendar selection the entry all calendars is shown (0 = no, 1 = yes)\").optional(),\n tags: z.string().describe(\"ID of the tags that the contact gets after booking\").optional(),\n image: z.string().describe(\"Image of the service\").optional(),\n price: z.number().describe(\"Price of the service\").optional(),\n rrule: z.string().describe(\"Defines the RRULE for this service\").optional(),\n infode: z.string().describe(\"Additional description of the service in german. For other languages use serviceLANGUAGECODE e.g. infoen\").optional(),\n jscode: z.string().describe(\"Used for JavaScript code that will be executed after the booking of the appointment (for example to redirect to another website)\").optional(),\n wowing: z.number().int().describe(\"Set to 0 if the Wowing interface should be disabled for this service\").optional(),\n cluster: z.number().int().describe(\"Defines if the cluster is applied to this service (1 = enabled, 0 = disabled)\").optional(),\n enabled: z.boolean().describe(\"Defines if the service is shown in the frontend\").optional(),\n uselogo: z.boolean().describe(\"True, if the the picture of this service should be used for the email logo\").optional(),\n currency: z.string().describe(\"Defines the currency of the service\").optional(),\n extramin: z.number().int().describe(\"Defines total wrap up time\").optional(),\n feedback: z.number().int().describe(\"Set to 0 if the feedback checkbox should not be shown\").optional(),\n nrappsel: z.number().int().describe(\"Defines the maximum / minimum amount of appointments that MUST be selected on the booking page if multiappointment is true (in this service or globally)\").optional(),\n rangeend: z.number().int().describe(\"Days range for the new appointment\").optional(),\n showindb: z.boolean().describe(\"Defines if the service is shown in the most booked area of the Dashboard\").optional(),\n appattrib: z.number().int().describe(\"Defines which attribute is set automatically in appointment. Attributes are binary encoded (1st attribute = 1, 2nd = 2, 3rd = 4; 1st + 2nd = 3)\").optional(),\n appfuture: z.number().int().describe(\"Time the appointment can be booked in the future in days\").optional(),\n infotxtp2: z.string().describe(\"A special placeholder %INFOTEXTP2% for page 2 of the booking page\").optional(),\n maxappsel: z.number().int().describe(\"Defines the maximum amount of appointments that can be selected on the booking page if multiappointment is true (in this service or globally)\").optional(),\n mstextpos: z.number().int().describe(\"Defines the position of capseltext (0 = above selection, 1 = to the right)\").optional(),\n servicede: z.string().describe(\"Name of the service in german. For other languages use serviceLANGUAGECODE e.g. serviceen\").optional(),\n showavcap: z.number().int().describe(\"Defines if the available capacity is shown in time slots (0 = no, 1 = yes)\").optional(),\n sortorder: z.number().int().describe(\"Defines the position in the servicegroup\").optional(),\n emailtxtde: z.string().describe(\"A special placeholder %SERVICETEXT% for emails, use other language codes to set the text (for example emailtxten for english)\").optional(),\n rangestart: z.number().int().describe(\"Days after the last appoinment\").optional(),\n showcalpic: z.number().int().describe(\"Defines if in the calendar picture is shown after the timeslot is selected (0 = no, 1 = yes)\").optional(),\n startedapp: z.number().int().describe(\"Time the appointment can be booked if already started in minutes (has to be a negative value)\").optional(),\n tagscancel: z.string().describe(\"ID of the tags that the contact gets after cancellation of the appointment\").optional(),\n addapphours: z.number().int().describe(\"Hours after the first appointment, where a second appointment is booked\").optional(),\n appdeadline: z.number().int().describe(\"Time the appointment must be booked in advance in minutes\").optional(),\n bookingtype: z.number().int().describe(\"Defines the bookingtype (0 = appointment, 1 = no appointment booking allowed, 2 = 'negative' appointment, 3 = reservation list, 4 = voucher sale)\").optional(),\n emailsender: z.string().describe(\"Defines the sender adress of the email for this service\").optional(),\n infodisplay: z.number().int().describe(\"Defines where the information is shown (0 = below service name, 1 = informationtext page 2, 2 = summary after booking, 3 = below service name and summary after booking)\").optional(),\n maxcapacity: z.number().describe(\"Sets the maximum capacity of the service\").optional(),\n maxminslots: z.boolean().describe(\"Defines if nrappsel is maximum (0) or minimum (1)\").optional(),\n notearlyapp: z.number().int().describe(\"Defines if the customer should get an email if an earlier appointment is available (0 = not active, 1 = for appointments that were cancelled online, 2 = for appointments cancelled online and manually, 3 = like 1 but per calendar, 4 = like 2 but per calendar)\").optional(),\n showcalname: z.number().int().describe(\"Defines if in the calendar name is shown in the time slot (0 = no, 1 = yes)\").optional(),\n waitinglist: z.number().int().describe(\"Defines if the waiting list should be available (0 = no, 1 = yes)\").optional(),\n abbreviation: z.string().describe(\"abbreviation of the service\").optional(),\n capseltextde: z.string().describe(\"Defines the text if there is a capacity selection on that service, use other language codes to set the text (for example capseltexten for english)\").optional(),\n extramintype: z.number().int().describe(\"0 if extramin should not be applied if differenttimeresource is true, 1 if extramin should be added to timeslotminutesresend\").optional(),\n limitbooking: z.number().int().describe(\"Defines if this service can be booked a limited amount of times per customer (0 = no, 1 = yes)\").optional(),\n limitservice: z.number().int().describe(\"Defines if the limitation only applies to this specific service\").optional(),\n priceinfopos: z.number().int().describe(\"Defines where the pricesuffix is shown (0 = left side, 1 = right side)\").optional(),\n showinternal: z.boolean().describe(\"Defines if the service is shown in the backend\").optional(),\n voucherfield: z.number().int().describe(\"Defines if the voucherfield is shown (0 = not shown, 1 = shown, 2 = shown and mandatory)\").optional(),\n workloadperc: z.number().int().describe(\"Defines the percentage of time slots that are not shown\").optional(),\n bookingminute: z.number().int().describe(\"Defines when the timeslots are shown (61 = no restrictions, 0 = every full hour, 31 = every full and half hour, 15 or 30 or 45 = x minutes after a full hour)\").optional(),\n pricesuffixde: z.string().describe(\"Additional information for the price, use other language codes to set the text (for example emailtxten for english)\").optional(),\n reminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n canceldeadline: z.number().int().describe(\"Time the appointment can be cancelled in hours\").optional(),\n capacitynonsel: z.number().describe(\"Sets the capacity if selected on the booking page (needs showcapselectionbox to be false)\").optional(),\n enablecapacity: z.boolean().describe(\"True to enable the capacity of the service\").optional(),\n hideserviceids: z.string().describe(\"Service(s) that should be hidden, if this service is selected\").optional(),\n issubscription: z.boolean().describe(\"Defines if the service is a subscription\").optional(),\n reminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group\").optional(),\n showserviceids: z.string().describe(\"Service(s) that have to be selected to show this service\").optional(),\n timeslotformat: z.number().int().describe(\"Defines how the timeslots are shown on page 2 on the bookingpage (0 = starttime - endtime, 1 = starttime, 2 = only date, 3 = calendar week, 4 = like 0 but with dates, 5 = startdate only)\").optional(),\n calcdrivingtime: z.number().int().describe(\"Defines if driving time should be calculated (0 = no, 1 = yes)\").optional(),\n customerconfirm: z.number().int().describe(\"Defines if the customer needs to confirm the appointment (1 = enabled, 0 = disabled; doesn't work with online payments or vendorconfirmation)\").optional(),\n infotextinslots: z.boolean().describe(\"True, if the info text should be shown in the slot text in page 2 of the booking page\").optional(),\n multiservicemax: z.number().int().describe(\"Defines the maximum amount that can be choosen for multi service selection\").optional(),\n multiservicemin: z.number().int().describe(\"Defines the minimum amount that can be choosen for multi service selection\").optional(),\n multiservicesel: z.boolean().describe(\"True, if the service can be booked multiple times after another. This won't work if the parameter enablecapacity is true aswell\").optional(),\n paymentduration: z.number().int().describe(\"Defines the payment term for LexOffice\").optional(),\n pricediffperday: z.boolean().describe(\"Defines if different prices per weekday are applied\").optional(),\n smsconfirmation: z.number().int().describe(\"Defines if a SMS confirmation is sent after booking (1 = enabled, 0 = disabled)\").optional(),\n timeslotminutes: z.number().int().describe(\"Duration of the service in minutes\").optional(),\n dayselectiontype: z.number().int().describe(\"Defines how page 2 shows the available days (0 = Calendar, 1 = list of days)\").optional(),\n multiappointment: z.number().int().describe(\"Defines if multiple appointments can be booked in one booking (0 = no, 1 = yes)\").optional(),\n nrappseladjacent: z.boolean().describe(\"True, if the selected appointments have to be adjacent\").optional(),\n timeslotcombined: z.number().int().describe(\"Defines the time of the appointment if booked with another service. differenttimecombined has to be true\").optional(),\n calendarselection: z.number().int().describe(\"Defines if the calendar selection should be shown (0 = no, 1 = yes)\").optional(),\n externalreference: z.string().describe(\"Used for a tag ID or external reference after booking\").optional(),\n limitappointments: z.number().int().describe(\"Defines how many appointments can be booked per customer\").optional(),\n nrtimeslotentries: z.number().int().describe(\"Defines the maximum amount of time slots that are shown\").optional(),\n priceispercentage: z.boolean().describe(\"True if price is a percentage\").optional(),\n maxcapacityusersel: z.number().describe(\"Sets the maximum capacity the user can set on the booking page (needs showcapselectionbox to be true)\").optional(),\n vendorconfirmation: z.number().int().describe(\"Defines if the appointment provider needs to manually confirm the appointment (0 = manually, 1 = automatically)\").optional(),\n wowingautomationid: z.number().int().describe(\"Defines the Woing Automation ID\").optional(),\n appointmentlocation: z.number().int().describe(\"Defines the location of the appointment\").optional(),\n customerconfirmtime: z.number().int().describe(\"Time in minutes the customer has time to confirm the appointment (customerconfirm must be set to 1)\").optional(),\n showcapselectionbox: z.boolean().describe(\"True if the customer is able to select the capacity\").optional(),\n allowonlythisservice: z.boolean().describe(\"If there are multiple services with capacity available at the same time, this option prevents that they will get mixed, if set to true\").optional(),\n fillcalendarstrategy: z.number().int().describe(\"Defines how the calender should be filled (0 = standard, 1 = random, 2 = round Robin, 3 = sequential, 4 = skills, 5 = strict round Robin)\").optional(),\n multiplypricewithcap: z.boolean().describe(\"Defines if the price is multiplied with the capacity\").optional(),\n nrappseladjacenttype: z.number().int().describe(\"0 = the date and time need to be adjacent, 1 = only the day need to be adjacent\").optional(),\n severalcalendarsused: z.boolean().describe(\"True, if the service can only be booked if another calendar is available\").optional(),\n differenttimecombined: z.boolean().describe(\"True, if the service has a different time if booked with another service\").optional(),\n differenttimeresource: z.boolean().describe(\"True if you want to add pre- or post processing times\").optional(),\n externalreferencedate: z.string().describe(\"ID of a field that should contain the date of the appointment\").optional(),\n limitappointmentstype: z.number().int().describe(\"Defines how the appointments are limited (0 = per booking day, 1 = per week, 2 = per month, 3 = per year, 4 = per booked day)\").optional(),\n specificrangenextslot: z.boolean().describe(\"True, if the next appointment needs to be after a specific timeframe\").optional(),\n timeslotminutesresend: z.number().int().describe(\"Busy until minute (use a number greater than timeslotminutes to have a post-processing time)\").optional(),\n appointmentlocationtext: z.string().describe(\"Defines the location text if appointmentlocation = 3\").optional(),\n externalreferencecancel: z.string().describe(\"ID of a field that should contain the cancellation link of the appointment\").optional(),\n externalreferencechange: z.string().describe(\"Used for a tag ID or external reference after a change of the appointment\").optional(),\n externalreferencedelete: z.string().describe(\"Used for a tag ID or external reference after cancellation of the appointment\").optional(),\n paymentamountisabsolute: z.number().int().describe(\"Defines if paymentamountpercentage is abolute or a percentage (1 = absolute, 0 = percentage)\").optional(),\n paymentamountpercentage: z.number().int().describe(\"Defines the payment amount that needs to be paid at the end of booking\").optional(),\n timeslotminutesresstart: z.number().int().describe(\"Busy by minute (use negative number to have a pre-processing time)\").optional(),\n externalreferencecalname: z.string().describe(\"ID of a field that should contain the calendar name of the appointment\").optional(),\n externalreferencelocation: z.string().describe(\"ID of a field that should contain the location of the appointment\").optional(),\n multiservicedurationcalcmethod: z.number().int().describe(\"Defines how the duration is calculated if multiple services are selected (0 = all durations are summed up, 1 = only duration of the longest service, 2 = all durations are halfed, 3 = like 2 except the longest service)\").optional(),\n}).describe(\"Request model for updating a service in eTermin via PUT /service endpoint.\");\nexport const EterminPutServiceOutput = z.object({\n ID: z.number().describe(\"ID of the updated service\").nullable().optional(),\n Status: z.number().describe(\"Status code of the operation\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result. Since there are more tables that get updated, you get the message 3 records updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for the PUT service operation.\");\n\nexport const eterminPutService = action(\"ETERMIN_PUT_SERVICE\", {\n slug: \"etermin-put-service\",\n name: \"Update Service via PUT\",\n description: \"Tool to update a service in eTermin. Use when you need to modify service settings or configuration.\",\n input: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AS,4EAA4E,CAAC,CAAC,SAAS;EACpI,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACnI,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACvI,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC5J,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACtI,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACjI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC7H,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CAClS,CAAC,CAAC,CAAC,SAAS,4EAWH;CACP,QAXqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ const EterminUpdateAbsenceInput = zod.z.object({
|
|
|
13
13
|
const EterminUpdateAbsenceOutput = zod.z.object({
|
|
14
14
|
message: zod.z.string().describe("Status message from the API").nullable(),
|
|
15
15
|
success: zod.z.boolean().describe("Whether the absence update was successful").nullable(),
|
|
16
|
-
records_updated: zod.z.
|
|
17
|
-
}).describe("Response model for updating an absence.");
|
|
16
|
+
records_updated: zod.z.number().int().describe("Number of records updated").nullable().optional()
|
|
17
|
+
}).passthrough().describe("Response model for updating an absence.");
|
|
18
18
|
const eterminUpdateAbsence = require_action.action("ETERMIN_UPDATE_ABSENCE", {
|
|
19
19
|
slug: "etermin-update-absence",
|
|
20
20
|
name: "Update Absence",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-absence.cjs","names":["z","action"],"sources":["../../src/actions/update-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAbsenceInput = z.object({\n id: z.number().int().describe(\"ID of the absence to update\"),\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic\").optional(),\n reason: z.string().describe(\"Reason or note for the absence\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence (nwtype has to be true)\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\").optional(),\n}).describe(\"Request model for updating an absence (non-working time) in eTermin.\");\nexport const EterminUpdateAbsenceOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the absence update was successful\").nullable(),\n records_updated: z.
|
|
1
|
+
{"version":3,"file":"update-absence.cjs","names":["z","action"],"sources":["../../src/actions/update-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAbsenceInput = z.object({\n id: z.number().int().describe(\"ID of the absence to update\"),\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic\").optional(),\n reason: z.string().describe(\"Reason or note for the absence\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence (nwtype has to be true)\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\").optional(),\n}).describe(\"Request model for updating an absence (non-working time) in eTermin.\");\nexport const EterminUpdateAbsenceOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the absence update was successful\").nullable(),\n records_updated: z.number().int().describe(\"Number of records updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating an absence.\");\n\nexport const eterminUpdateAbsence = action(\"ETERMIN_UPDATE_ABSENCE\", {\n slug: \"etermin-update-absence\",\n name: \"Update Absence\",\n description: \"Tool to update an absence (non-working time) for a calendar in eTermin. Use when you need to modify an existing absence's dates, reason, or settings.\",\n input: EterminUpdateAbsenceInput,\n output: EterminUpdateAbsenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAClH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ declare const EterminUpdateAbsenceInput: z.ZodObject<{
|
|
|
13
13
|
declare const EterminUpdateAbsenceOutput: z.ZodObject<{
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
-
records_updated: z.
|
|
17
|
-
}, z.core.$
|
|
16
|
+
records_updated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const eterminUpdateAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
id: number;
|
|
20
20
|
nwtype?: boolean | undefined;
|
|
@@ -23,11 +23,7 @@ declare const eterminUpdateAbsence: import("@keystrokehq/action").WorkflowAction
|
|
|
23
23
|
startdate?: string | undefined;
|
|
24
24
|
dynamicdays?: number | undefined;
|
|
25
25
|
appcalendarid?: number | undefined;
|
|
26
|
-
},
|
|
27
|
-
message: string | null;
|
|
28
|
-
success: boolean | null;
|
|
29
|
-
records_updated?: number | undefined;
|
|
30
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
27
|
//#endregion
|
|
32
28
|
export { eterminUpdateAbsence };
|
|
33
29
|
//# sourceMappingURL=update-absence.d.cts.map
|
|
@@ -13,8 +13,8 @@ declare const EterminUpdateAbsenceInput: z.ZodObject<{
|
|
|
13
13
|
declare const EterminUpdateAbsenceOutput: z.ZodObject<{
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
-
records_updated: z.
|
|
17
|
-
}, z.core.$
|
|
16
|
+
records_updated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const eterminUpdateAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
id: number;
|
|
20
20
|
nwtype?: boolean | undefined;
|
|
@@ -23,11 +23,7 @@ declare const eterminUpdateAbsence: import("@keystrokehq/action").WorkflowAction
|
|
|
23
23
|
startdate?: string | undefined;
|
|
24
24
|
dynamicdays?: number | undefined;
|
|
25
25
|
appcalendarid?: number | undefined;
|
|
26
|
-
},
|
|
27
|
-
message: string | null;
|
|
28
|
-
success: boolean | null;
|
|
29
|
-
records_updated?: number | undefined;
|
|
30
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
27
|
//#endregion
|
|
32
28
|
export { eterminUpdateAbsence };
|
|
33
29
|
//# sourceMappingURL=update-absence.d.mts.map
|
|
@@ -16,8 +16,8 @@ const eterminUpdateAbsence = action("ETERMIN_UPDATE_ABSENCE", {
|
|
|
16
16
|
output: z.object({
|
|
17
17
|
message: z.string().describe("Status message from the API").nullable(),
|
|
18
18
|
success: z.boolean().describe("Whether the absence update was successful").nullable(),
|
|
19
|
-
records_updated: z.
|
|
20
|
-
}).describe("Response model for updating an absence.")
|
|
19
|
+
records_updated: z.number().int().describe("Number of records updated").nullable().optional()
|
|
20
|
+
}).passthrough().describe("Response model for updating an absence.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { eterminUpdateAbsence };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-absence.mjs","names":[],"sources":["../../src/actions/update-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAbsenceInput = z.object({\n id: z.number().int().describe(\"ID of the absence to update\"),\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic\").optional(),\n reason: z.string().describe(\"Reason or note for the absence\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence (nwtype has to be true)\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\").optional(),\n}).describe(\"Request model for updating an absence (non-working time) in eTermin.\");\nexport const EterminUpdateAbsenceOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the absence update was successful\").nullable(),\n records_updated: z.
|
|
1
|
+
{"version":3,"file":"update-absence.mjs","names":[],"sources":["../../src/actions/update-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAbsenceInput = z.object({\n id: z.number().int().describe(\"ID of the absence to update\"),\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic\").optional(),\n reason: z.string().describe(\"Reason or note for the absence\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence (nwtype has to be true)\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\").optional(),\n}).describe(\"Request model for updating an absence (non-working time) in eTermin.\");\nexport const EterminUpdateAbsenceOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the absence update was successful\").nullable(),\n records_updated: z.number().int().describe(\"Number of records updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating an absence.\");\n\nexport const eterminUpdateAbsence = action(\"ETERMIN_UPDATE_ABSENCE\", {\n slug: \"etermin-update-absence\",\n name: \"Update Absence\",\n description: \"Tool to update an absence (non-working time) for a calendar in eTermin. Use when you need to modify an existing absence's dates, reason, or settings.\",\n input: EterminUpdateAbsenceInput,\n output: EterminUpdateAbsenceOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EAC3D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAClH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,sEAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -9,9 +9,9 @@ const EterminUpdateAnchortimeByDateInput = zod.z.object({
|
|
|
9
9
|
ignoreonceappbooked: zod.z.boolean().describe("If true, the anchortime will be ignored once an appointment is booked this day.")
|
|
10
10
|
}).describe("Request model for updating anchortimes by date in eTermin.");
|
|
11
11
|
const EterminUpdateAnchortimeByDateOutput = zod.z.object({
|
|
12
|
-
message: zod.z.
|
|
12
|
+
message: zod.z.string().describe("Response message from the API, typically indicates number of records updated.").nullable().optional(),
|
|
13
13
|
success: zod.z.boolean().describe("Indicates whether the update operation was successful.").nullable()
|
|
14
|
-
}).describe("Response model for updating anchortimes by date.");
|
|
14
|
+
}).passthrough().describe("Response model for updating anchortimes by date.");
|
|
15
15
|
const eterminUpdateAnchortimeByDate = require_action.action("ETERMIN_UPDATE_ANCHORTIME_BY_DATE", {
|
|
16
16
|
slug: "etermin-update-anchortime-by-date",
|
|
17
17
|
name: "Update Anchortime By Date",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/update-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update.\"),\n reason: z.string().describe(\"Reason why this anchortime is created or updated.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Calendar - Get calendar details' function to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for updating anchortimes by date in eTermin.\");\nexport const EterminUpdateAnchortimeByDateOutput = z.object({\n message: z.
|
|
1
|
+
{"version":3,"file":"update-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/update-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update.\"),\n reason: z.string().describe(\"Reason why this anchortime is created or updated.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Calendar - Get calendar details' function to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for updating anchortimes by date in eTermin.\");\nexport const EterminUpdateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically indicates number of records updated.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for updating anchortimes by date.\");\n\nexport const eterminUpdateAnchortimeByDate = action(\"ETERMIN_UPDATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-update-anchortime-by-date\",\n name: \"Update Anchortime By Date\",\n description: \"Tool to update anchortimes by date in eTermin. Use when you need to modify an existing anchortime's schedule. Anchortimes define recurring time slots for appointments on specific dates.\",\n input: EterminUpdateAnchortimeByDateInput,\n output: EterminUpdateAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH;CAC1J,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;AAC7H,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,19 +9,16 @@ declare const EterminUpdateAnchortimeByDateInput: z.ZodObject<{
|
|
|
9
9
|
ignoreonceappbooked: z.ZodBoolean;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const EterminUpdateAnchortimeByDateOutput: z.ZodObject<{
|
|
12
|
-
message: z.
|
|
12
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eterminUpdateAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
id: number;
|
|
17
17
|
startdate: string;
|
|
18
18
|
calendarid: number;
|
|
19
19
|
ignoreonceappbooked: boolean;
|
|
20
20
|
reason?: string | undefined;
|
|
21
|
-
},
|
|
22
|
-
success: boolean | null;
|
|
23
|
-
message?: string | undefined;
|
|
24
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { eterminUpdateAnchortimeByDate };
|
|
27
24
|
//# sourceMappingURL=update-anchortime-by-date.d.cts.map
|
|
@@ -9,19 +9,16 @@ declare const EterminUpdateAnchortimeByDateInput: z.ZodObject<{
|
|
|
9
9
|
ignoreonceappbooked: z.ZodBoolean;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const EterminUpdateAnchortimeByDateOutput: z.ZodObject<{
|
|
12
|
-
message: z.
|
|
12
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eterminUpdateAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
id: number;
|
|
17
17
|
startdate: string;
|
|
18
18
|
calendarid: number;
|
|
19
19
|
ignoreonceappbooked: boolean;
|
|
20
20
|
reason?: string | undefined;
|
|
21
|
-
},
|
|
22
|
-
success: boolean | null;
|
|
23
|
-
message?: string | undefined;
|
|
24
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { eterminUpdateAnchortimeByDate };
|
|
27
24
|
//# sourceMappingURL=update-anchortime-by-date.d.mts.map
|
|
@@ -12,9 +12,9 @@ const eterminUpdateAnchortimeByDate = action("ETERMIN_UPDATE_ANCHORTIME_BY_DATE"
|
|
|
12
12
|
ignoreonceappbooked: z.boolean().describe("If true, the anchortime will be ignored once an appointment is booked this day.")
|
|
13
13
|
}).describe("Request model for updating anchortimes by date in eTermin."),
|
|
14
14
|
output: z.object({
|
|
15
|
-
message: z.
|
|
15
|
+
message: z.string().describe("Response message from the API, typically indicates number of records updated.").nullable().optional(),
|
|
16
16
|
success: z.boolean().describe("Indicates whether the update operation was successful.").nullable()
|
|
17
|
-
}).describe("Response model for updating anchortimes by date.")
|
|
17
|
+
}).passthrough().describe("Response model for updating anchortimes by date.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { eterminUpdateAnchortimeByDate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/update-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update.\"),\n reason: z.string().describe(\"Reason why this anchortime is created or updated.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Calendar - Get calendar details' function to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for updating anchortimes by date in eTermin.\");\nexport const EterminUpdateAnchortimeByDateOutput = z.object({\n message: z.
|
|
1
|
+
{"version":3,"file":"update-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/update-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update.\"),\n reason: z.string().describe(\"Reason why this anchortime is created or updated.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Calendar - Get calendar details' function to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for updating anchortimes by date in eTermin.\");\nexport const EterminUpdateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically indicates number of records updated.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for updating anchortimes by date.\");\n\nexport const eterminUpdateAnchortimeByDate = action(\"ETERMIN_UPDATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-update-anchortime-by-date\",\n name: \"Update Anchortime By Date\",\n description: \"Tool to update anchortimes by date in eTermin. Use when you need to modify an existing anchortime's schedule. Anchortimes define recurring time slots for appointments on specific dates.\",\n input: EterminUpdateAnchortimeByDateInput,\n output: EterminUpdateAnchortimeByDateOutput,\n});\n"],"mappings":";;AAgBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH;EAC1J,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC7H,CAAC,CAAC,CAAC,SAAS,4DAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -11,9 +11,9 @@ const EterminUpdateAnchortimeInput = zod.z.object({
|
|
|
11
11
|
const EterminUpdateAnchortimeOutput = zod.z.object({
|
|
12
12
|
message: zod.z.string().describe("Status message from the API.").nullable(),
|
|
13
13
|
success: zod.z.boolean().describe("Whether the anchortime update was successful.").nullable(),
|
|
14
|
-
anchortimeId: zod.z.
|
|
15
|
-
recordsUpdated: zod.z.
|
|
16
|
-
}).describe("Response model for updating an anchortime.");
|
|
14
|
+
anchortimeId: zod.z.string().describe("The ID of the updated anchortime.").nullable().optional(),
|
|
15
|
+
recordsUpdated: zod.z.number().int().describe("Number of records updated.").nullable().optional()
|
|
16
|
+
}).passthrough().describe("Response model for updating an anchortime.");
|
|
17
17
|
const eterminUpdateAnchortime = require_action.action("ETERMIN_UPDATE_ANCHORTIME", {
|
|
18
18
|
slug: "etermin-update-anchortime",
|
|
19
19
|
name: "Update Anchortime",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/update-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update. This is required to identify which anchortime to modify.\"),\n weekday: z.number().int().describe(\"ID of the weekday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\").optional(),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour time), e.g. '17:00' or '18:00'.\").optional(),\n calendarId: z.number().int().describe(\"ID of the calendar. Use the get_calendars action to get a list with all available calendars.\").optional(),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked on this day.\").optional(),\n}).describe(\"Request model for updating an anchortime in eTermin.\");\nexport const EterminUpdateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the anchortime update was successful.\").nullable(),\n anchortimeId: z.
|
|
1
|
+
{"version":3,"file":"update-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/update-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update. This is required to identify which anchortime to modify.\"),\n weekday: z.number().int().describe(\"ID of the weekday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\").optional(),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour time), e.g. '17:00' or '18:00'.\").optional(),\n calendarId: z.number().int().describe(\"ID of the calendar. Use the get_calendars action to get a list with all available calendars.\").optional(),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked on this day.\").optional(),\n}).describe(\"Request model for updating an anchortime in eTermin.\");\nexport const EterminUpdateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the anchortime update was successful.\").nullable(),\n anchortimeId: z.string().describe(\"The ID of the updated anchortime.\").nullable().optional(),\n recordsUpdated: z.number().int().describe(\"Number of records updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating an anchortime.\");\n\nexport const eterminUpdateAnchortime = action(\"ETERMIN_UPDATE_ANCHORTIME\", {\n slug: \"etermin-update-anchortime\",\n name: \"Update Anchortime\",\n description: \"Update an existing anchortime in eTermin. Use this to modify anchortime settings such as start time, weekday, calendar assignment, or booking ignore behavior. The anchortime ID must be provided to identify which anchortime to update.\",\n input: EterminUpdateAnchortimeInput,\n output: EterminUpdateAnchortimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC9J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC/I,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,21 +11,16 @@ declare const EterminUpdateAnchortimeInput: z.ZodObject<{
|
|
|
11
11
|
declare const EterminUpdateAnchortimeOutput: z.ZodObject<{
|
|
12
12
|
message: z.ZodNullable<z.ZodString>;
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
anchortimeId: z.
|
|
15
|
-
recordsUpdated: z.
|
|
16
|
-
}, z.core.$
|
|
14
|
+
anchortimeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const eterminUpdateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
id: number;
|
|
19
19
|
weekday?: number | undefined;
|
|
20
20
|
starttime?: string | undefined;
|
|
21
21
|
calendarId?: number | undefined;
|
|
22
22
|
ignoreonceappbooked?: boolean | undefined;
|
|
23
|
-
},
|
|
24
|
-
message: string | null;
|
|
25
|
-
success: boolean | null;
|
|
26
|
-
anchortimeId?: string | undefined;
|
|
27
|
-
recordsUpdated?: number | undefined;
|
|
28
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { eterminUpdateAnchortime };
|
|
31
26
|
//# sourceMappingURL=update-anchortime.d.cts.map
|
|
@@ -11,21 +11,16 @@ declare const EterminUpdateAnchortimeInput: z.ZodObject<{
|
|
|
11
11
|
declare const EterminUpdateAnchortimeOutput: z.ZodObject<{
|
|
12
12
|
message: z.ZodNullable<z.ZodString>;
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
anchortimeId: z.
|
|
15
|
-
recordsUpdated: z.
|
|
16
|
-
}, z.core.$
|
|
14
|
+
anchortimeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const eterminUpdateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
id: number;
|
|
19
19
|
weekday?: number | undefined;
|
|
20
20
|
starttime?: string | undefined;
|
|
21
21
|
calendarId?: number | undefined;
|
|
22
22
|
ignoreonceappbooked?: boolean | undefined;
|
|
23
|
-
},
|
|
24
|
-
message: string | null;
|
|
25
|
-
success: boolean | null;
|
|
26
|
-
anchortimeId?: string | undefined;
|
|
27
|
-
recordsUpdated?: number | undefined;
|
|
28
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
24
|
//#endregion
|
|
30
25
|
export { eterminUpdateAnchortime };
|
|
31
26
|
//# sourceMappingURL=update-anchortime.d.mts.map
|
|
@@ -14,9 +14,9 @@ const eterminUpdateAnchortime = action("ETERMIN_UPDATE_ANCHORTIME", {
|
|
|
14
14
|
output: z.object({
|
|
15
15
|
message: z.string().describe("Status message from the API.").nullable(),
|
|
16
16
|
success: z.boolean().describe("Whether the anchortime update was successful.").nullable(),
|
|
17
|
-
anchortimeId: z.
|
|
18
|
-
recordsUpdated: z.
|
|
19
|
-
}).describe("Response model for updating an anchortime.")
|
|
17
|
+
anchortimeId: z.string().describe("The ID of the updated anchortime.").nullable().optional(),
|
|
18
|
+
recordsUpdated: z.number().int().describe("Number of records updated.").nullable().optional()
|
|
19
|
+
}).passthrough().describe("Response model for updating an anchortime.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { eterminUpdateAnchortime };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-anchortime.mjs","names":[],"sources":["../../src/actions/update-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update. This is required to identify which anchortime to modify.\"),\n weekday: z.number().int().describe(\"ID of the weekday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\").optional(),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour time), e.g. '17:00' or '18:00'.\").optional(),\n calendarId: z.number().int().describe(\"ID of the calendar. Use the get_calendars action to get a list with all available calendars.\").optional(),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked on this day.\").optional(),\n}).describe(\"Request model for updating an anchortime in eTermin.\");\nexport const EterminUpdateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the anchortime update was successful.\").nullable(),\n anchortimeId: z.
|
|
1
|
+
{"version":3,"file":"update-anchortime.mjs","names":[],"sources":["../../src/actions/update-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update. This is required to identify which anchortime to modify.\"),\n weekday: z.number().int().describe(\"ID of the weekday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\").optional(),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour time), e.g. '17:00' or '18:00'.\").optional(),\n calendarId: z.number().int().describe(\"ID of the calendar. Use the get_calendars action to get a list with all available calendars.\").optional(),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked on this day.\").optional(),\n}).describe(\"Request model for updating an anchortime in eTermin.\");\nexport const EterminUpdateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the anchortime update was successful.\").nullable(),\n anchortimeId: z.string().describe(\"The ID of the updated anchortime.\").nullable().optional(),\n recordsUpdated: z.number().int().describe(\"Number of records updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating an anchortime.\");\n\nexport const eterminUpdateAnchortime = action(\"ETERMIN_UPDATE_ANCHORTIME\", {\n slug: \"etermin-update-anchortime\",\n name: \"Update Anchortime\",\n description: \"Update an existing anchortime in eTermin. Use this to modify anchortime settings such as start time, weekday, calendar assignment, or booking ignore behavior. The anchortime ID must be provided to identify which anchortime to update.\",\n input: EterminUpdateAnchortimeInput,\n output: EterminUpdateAnchortimeOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F;EACxH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EAC9J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACvH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC/I,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,sDAYH;CACP,QAZ2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -61,7 +61,7 @@ const EterminUpdateAppointmentInput = zod.z.object({
|
|
|
61
61
|
const EterminUpdateAppointmentOutput = zod.z.object({
|
|
62
62
|
message: zod.z.string().describe("Response message from the API").nullable(),
|
|
63
63
|
success: zod.z.boolean().describe("Indicates whether the appointment update was successful").nullable()
|
|
64
|
-
}).describe("Response model for the appointment update operation.");
|
|
64
|
+
}).passthrough().describe("Response model for the appointment update operation.");
|
|
65
65
|
const eterminUpdateAppointment = require_action.action("ETERMIN_UPDATE_APPOINTMENT", {
|
|
66
66
|
slug: "etermin-update-appointment",
|
|
67
67
|
name: "Update Appointment",
|