@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-appointment.cjs","names":["z","action"],"sources":["../../src/actions/update-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAppointmentInput = z.object({\n id: z.string().describe(\"ID of the appointment that you want to modify\"),\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 19:00)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 3.00€ = 300)\").optional(),\n zip: z.string().describe(\"Zip code\").optional(),\n city: z.string().describe(\"City\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (1 = yes, 0 = no)\").optional(),\n email: z.string().describe(\"E-Mail of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n title: z.string().describe(\"Title of the person\").optional(),\n street: z.string().describe(\"Street\").optional(),\n msgtype: z.boolean().describe(\"ID of the template that is sent to the customer with the API call\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n lastname: z.string().describe(\"Lastname of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list with all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n firstname: z.string().describe(\"Firstname of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (1 = yes, 0 = no)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the startdate the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule (e.g., DTSTART:20171126T083000Z DTEND:20181126T090000Z RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;)\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider, set to 1 if the appointment got confirmed\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (1 = yes, 0 = no)\").optional(),\n linkedappidmanual: z.number().int().describe(\"AppID of the linked app if the calendar linking should be applied after two appointments are booked. Keep in mind to update the second appointment as well\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n}).describe(\"Request model for updating an existing appointment in eTermin.\\nOnly the appointment ID is required; all other fields are optional and will only update if provided.\");\nexport const EterminUpdateAppointmentOutput = z.object({\n message: z.string().describe(\"Response message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment update was successful\").nullable(),\n}).describe(\"Response model for the appointment update operation.\");\n\nexport const eterminUpdateAppointment = action(\"ETERMIN_UPDATE_APPOINTMENT\", {\n slug: \"etermin-update-appointment\",\n name: \"Update Appointment\",\n description: \"Tool to update an existing appointment in eTermin. Use when you need to modify appointment details such as date/time, customer information, or service details. Only the appointment ID is required; provide only the fields you want to update.\",\n input: EterminUpdateAppointmentInput,\n output: EterminUpdateAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC7H,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS;CAC3C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,C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EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-appointment.cjs","names":["z","action"],"sources":["../../src/actions/update-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAppointmentInput = z.object({\n id: z.string().describe(\"ID of the appointment that you want to modify\"),\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 19:00)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 3.00€ = 300)\").optional(),\n zip: z.string().describe(\"Zip code\").optional(),\n city: z.string().describe(\"City\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (1 = yes, 0 = no)\").optional(),\n email: z.string().describe(\"E-Mail of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n title: z.string().describe(\"Title of the person\").optional(),\n street: z.string().describe(\"Street\").optional(),\n msgtype: z.boolean().describe(\"ID of the template that is sent to the customer with the API call\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n lastname: z.string().describe(\"Lastname of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list with all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n firstname: z.string().describe(\"Firstname of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (1 = yes, 0 = no)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the startdate the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule (e.g., DTSTART:20171126T083000Z DTEND:20181126T090000Z RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;)\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider, set to 1 if the appointment got confirmed\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (1 = yes, 0 = no)\").optional(),\n linkedappidmanual: z.number().int().describe(\"AppID of the linked app if the calendar linking should be applied after two appointments are booked. Keep in mind to update the second appointment as well\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n}).describe(\"Request model for updating an existing appointment in eTermin.\\nOnly the appointment ID is required; all other fields are optional and will only update if provided.\");\nexport const EterminUpdateAppointmentOutput = z.object({\n message: z.string().describe(\"Response message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment update was successful\").nullable(),\n}).passthrough().describe(\"Response model for the appointment update operation.\");\n\nexport const eterminUpdateAppointment = action(\"ETERMIN_UPDATE_APPOINTMENT\", {\n slug: \"etermin-update-appointment\",\n name: \"Update Appointment\",\n description: \"Tool to update an existing appointment in eTermin. Use when you need to modify appointment details such as date/time, customer information, or service details. Only the appointment ID is required; provide only the fields you want to update.\",\n input: EterminUpdateAppointmentInput,\n output: EterminUpdateAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC7H,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,C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AiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAClL,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACpN,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAChJ,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,sKAAsK;AAClL,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -61,7 +61,7 @@ declare const EterminUpdateAppointmentInput: z.ZodObject<{
|
|
|
61
61
|
declare const EterminUpdateAppointmentOutput: z.ZodObject<{
|
|
62
62
|
message: z.ZodNullable<z.ZodString>;
|
|
63
63
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>;
|
|
65
65
|
declare const eterminUpdateAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
66
66
|
id: string;
|
|
67
67
|
end?: string | undefined;
|
|
@@ -118,10 +118,7 @@ declare const eterminUpdateAppointment: import("@keystrokehq/action").WorkflowAc
|
|
|
118
118
|
servicesinclsgtext?: string | undefined;
|
|
119
119
|
appointmentreminderhours?: number | undefined;
|
|
120
120
|
appointmentreminderhours2?: number | undefined;
|
|
121
|
-
},
|
|
122
|
-
message: string | null;
|
|
123
|
-
success: boolean | null;
|
|
124
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
121
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
125
122
|
//#endregion
|
|
126
123
|
export { eterminUpdateAppointment };
|
|
127
124
|
//# sourceMappingURL=update-appointment.d.cts.map
|
|
@@ -61,7 +61,7 @@ declare const EterminUpdateAppointmentInput: z.ZodObject<{
|
|
|
61
61
|
declare const EterminUpdateAppointmentOutput: z.ZodObject<{
|
|
62
62
|
message: z.ZodNullable<z.ZodString>;
|
|
63
63
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>;
|
|
65
65
|
declare const eterminUpdateAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
66
66
|
id: string;
|
|
67
67
|
end?: string | undefined;
|
|
@@ -118,10 +118,7 @@ declare const eterminUpdateAppointment: import("@keystrokehq/action").WorkflowAc
|
|
|
118
118
|
servicesinclsgtext?: string | undefined;
|
|
119
119
|
appointmentreminderhours?: number | undefined;
|
|
120
120
|
appointmentreminderhours2?: number | undefined;
|
|
121
|
-
},
|
|
122
|
-
message: string | null;
|
|
123
|
-
success: boolean | null;
|
|
124
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
121
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
125
122
|
//#endregion
|
|
126
123
|
export { eterminUpdateAppointment };
|
|
127
124
|
//# sourceMappingURL=update-appointment.d.mts.map
|
|
@@ -64,7 +64,7 @@ const eterminUpdateAppointment = action("ETERMIN_UPDATE_APPOINTMENT", {
|
|
|
64
64
|
output: z.object({
|
|
65
65
|
message: z.string().describe("Response message from the API").nullable(),
|
|
66
66
|
success: z.boolean().describe("Indicates whether the appointment update was successful").nullable()
|
|
67
|
-
}).describe("Response model for the appointment update operation.")
|
|
67
|
+
}).passthrough().describe("Response model for the appointment update operation.")
|
|
68
68
|
});
|
|
69
69
|
//#endregion
|
|
70
70
|
export { eterminUpdateAppointment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-appointment.mjs","names":[],"sources":["../../src/actions/update-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAppointmentInput = z.object({\n id: z.string().describe(\"ID of the appointment that you want to modify\"),\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 19:00)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 3.00€ = 300)\").optional(),\n zip: z.string().describe(\"Zip code\").optional(),\n city: z.string().describe(\"City\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (1 = yes, 0 = no)\").optional(),\n email: z.string().describe(\"E-Mail of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n title: z.string().describe(\"Title of the person\").optional(),\n street: z.string().describe(\"Street\").optional(),\n msgtype: z.boolean().describe(\"ID of the template that is sent to the customer with the API call\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n lastname: z.string().describe(\"Lastname of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list with all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n firstname: z.string().describe(\"Firstname of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (1 = yes, 0 = no)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the startdate the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule (e.g., DTSTART:20171126T083000Z DTEND:20181126T090000Z RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;)\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider, set to 1 if the appointment got confirmed\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (1 = yes, 0 = no)\").optional(),\n linkedappidmanual: z.number().int().describe(\"AppID of the linked app if the calendar linking should be applied after two appointments are booked. Keep in mind to update the second appointment as well\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n}).describe(\"Request model for updating an existing appointment in eTermin.\\nOnly the appointment ID is required; all other fields are optional and will only update if provided.\");\nexport const EterminUpdateAppointmentOutput = z.object({\n message: z.string().describe(\"Response message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment update was successful\").nullable(),\n}).describe(\"Response model for the appointment update operation.\");\n\nexport const eterminUpdateAppointment = action(\"ETERMIN_UPDATE_APPOINTMENT\", {\n slug: \"etermin-update-appointment\",\n name: \"Update Appointment\",\n description: \"Tool to update an existing appointment in eTermin. Use when you need to modify appointment details such as date/time, customer information, or service details. Only the appointment ID is required; provide only the fields you want to update.\",\n input: EterminUpdateAppointmentInput,\n output: EterminUpdateAppointmentOutput,\n});\n"],"mappings":";;AAkEA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,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AAS;EAC1H,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EACpN,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAChJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,sKAUH;CACP,QAV4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-appointment.mjs","names":[],"sources":["../../src/actions/update-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAppointmentInput = z.object({\n id: z.string().describe(\"ID of the appointment that you want to modify\"),\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 19:00)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 3.00€ = 300)\").optional(),\n zip: z.string().describe(\"Zip code\").optional(),\n city: z.string().describe(\"City\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (1 = yes, 0 = no)\").optional(),\n email: z.string().describe(\"E-Mail of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2017-10-24 18:00)\").optional(),\n title: z.string().describe(\"Title of the person\").optional(),\n street: z.string().describe(\"Street\").optional(),\n msgtype: z.boolean().describe(\"ID of the template that is sent to the customer with the API call\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n lastname: z.string().describe(\"Lastname of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list with all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n firstname: z.string().describe(\"Firstname of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (1 = yes, 0 = no)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the startdate the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule (e.g., DTSTART:20171126T083000Z DTEND:20181126T090000Z RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;)\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider, set to 1 if the appointment got confirmed\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (1 = yes, 0 = no)\").optional(),\n linkedappidmanual: z.number().int().describe(\"AppID of the linked app if the calendar linking should be applied after two appointments are booked. Keep in mind to update the second appointment as well\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n}).describe(\"Request model for updating an existing appointment in eTermin.\\nOnly the appointment ID is required; all other fields are optional and will only update if provided.\");\nexport const EterminUpdateAppointmentOutput = z.object({\n message: z.string().describe(\"Response message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment update was successful\").nullable(),\n}).passthrough().describe(\"Response model for the appointment update operation.\");\n\nexport const eterminUpdateAppointment = action(\"ETERMIN_UPDATE_APPOINTMENT\", {\n slug: \"etermin-update-appointment\",\n name: \"Update Appointment\",\n description: \"Tool to update an existing appointment in eTermin. Use when you need to modify appointment details such as date/time, customer information, or service details. Only the appointment ID is required; provide only the fields you want to update.\",\n input: EterminUpdateAppointmentInput,\n output: EterminUpdateAppointmentOutput,\n});\n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ClL,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EACpN,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAChJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,sKAUH;CACP,QAV4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ const EterminUpdateCalendarReturnTimeInput = zod.z.object({
|
|
|
12
12
|
const EterminUpdateCalendarReturnTimeOutput = zod.z.object({
|
|
13
13
|
message: zod.z.string().describe("Status message from the API").nullable(),
|
|
14
14
|
success: zod.z.boolean().describe("Whether the return time update was successful").nullable(),
|
|
15
|
-
recordsUpdated: zod.z.
|
|
16
|
-
}).describe("Response model for updating a calendar return time.");
|
|
15
|
+
recordsUpdated: zod.z.number().int().describe("Number of records updated").nullable().optional()
|
|
16
|
+
}).passthrough().describe("Response model for updating a calendar return time.");
|
|
17
17
|
const eterminUpdateCalendarReturnTime = require_action.action("ETERMIN_UPDATE_CALENDAR_RETURN_TIME", {
|
|
18
18
|
slug: "etermin-update-calendar-return-time",
|
|
19
19
|
name: "Update Calendar Return Time",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-calendar-return-time.cjs","names":["z","action"],"sources":["../../src/actions/update-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarReturnTimeInput = z.object({\n id: z.number().int().describe(\"ID of the return time to update\"),\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this for return times that span midnight.\").optional(),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 18:00)\").optional(),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 10:00)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the Get Calendars action to get a list of available calendars.\").optional(),\n weekdayidx: z.number().int().describe(\"ID of the weekday: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday\").optional(),\n}).describe(\"Request model for updating a calendar return time in eTermin.\");\nexport const EterminUpdateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the return time update was successful\").nullable(),\n recordsUpdated: z.
|
|
1
|
+
{"version":3,"file":"update-calendar-return-time.cjs","names":["z","action"],"sources":["../../src/actions/update-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarReturnTimeInput = z.object({\n id: z.number().int().describe(\"ID of the return time to update\"),\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this for return times that span midnight.\").optional(),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 18:00)\").optional(),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 10:00)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the Get Calendars action to get a list of available calendars.\").optional(),\n weekdayidx: z.number().int().describe(\"ID of the weekday: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday\").optional(),\n}).describe(\"Request model for updating a calendar return time in eTermin.\");\nexport const EterminUpdateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the return time update was successful\").nullable(),\n recordsUpdated: z.number().int().describe(\"Number of records updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a calendar return time.\");\n\nexport const eterminUpdateCalendarReturnTime = action(\"ETERMIN_UPDATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-update-calendar-return-time\",\n name: \"Update Calendar Return Time\",\n description: \"Tool to update a return time for a calendar in eTermin. Use when modifying existing return time settings such as start time, end time, weekday, or overnight settings.\",\n input: EterminUpdateCalendarReturnTimeInput,\n output: EterminUpdateCalendarReturnTimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ declare const EterminUpdateCalendarReturnTimeInput: z.ZodObject<{
|
|
|
12
12
|
declare const EterminUpdateCalendarReturnTimeOutput: z.ZodObject<{
|
|
13
13
|
message: z.ZodNullable<z.ZodString>;
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
-
recordsUpdated: z.
|
|
16
|
-
}, z.core.$
|
|
15
|
+
recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const eterminUpdateCalendarReturnTime: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
id: number;
|
|
19
19
|
newday?: boolean | undefined;
|
|
@@ -21,11 +21,7 @@ declare const eterminUpdateCalendarReturnTime: import("@keystrokehq/action").Wor
|
|
|
21
21
|
starttime?: string | undefined;
|
|
22
22
|
calendarid?: number | undefined;
|
|
23
23
|
weekdayidx?: number | undefined;
|
|
24
|
-
},
|
|
25
|
-
message: string | null;
|
|
26
|
-
success: boolean | null;
|
|
27
|
-
recordsUpdated?: number | undefined;
|
|
28
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
25
|
//#endregion
|
|
30
26
|
export { eterminUpdateCalendarReturnTime };
|
|
31
27
|
//# sourceMappingURL=update-calendar-return-time.d.cts.map
|
|
@@ -12,8 +12,8 @@ declare const EterminUpdateCalendarReturnTimeInput: z.ZodObject<{
|
|
|
12
12
|
declare const EterminUpdateCalendarReturnTimeOutput: z.ZodObject<{
|
|
13
13
|
message: z.ZodNullable<z.ZodString>;
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
-
recordsUpdated: z.
|
|
16
|
-
}, z.core.$
|
|
15
|
+
recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const eterminUpdateCalendarReturnTime: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
id: number;
|
|
19
19
|
newday?: boolean | undefined;
|
|
@@ -21,11 +21,7 @@ declare const eterminUpdateCalendarReturnTime: import("@keystrokehq/action").Wor
|
|
|
21
21
|
starttime?: string | undefined;
|
|
22
22
|
calendarid?: number | undefined;
|
|
23
23
|
weekdayidx?: number | undefined;
|
|
24
|
-
},
|
|
25
|
-
message: string | null;
|
|
26
|
-
success: boolean | null;
|
|
27
|
-
recordsUpdated?: number | undefined;
|
|
28
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
25
|
//#endregion
|
|
30
26
|
export { eterminUpdateCalendarReturnTime };
|
|
31
27
|
//# sourceMappingURL=update-calendar-return-time.d.mts.map
|
|
@@ -15,8 +15,8 @@ const eterminUpdateCalendarReturnTime = action("ETERMIN_UPDATE_CALENDAR_RETURN_T
|
|
|
15
15
|
output: z.object({
|
|
16
16
|
message: z.string().describe("Status message from the API").nullable(),
|
|
17
17
|
success: z.boolean().describe("Whether the return time update was successful").nullable(),
|
|
18
|
-
recordsUpdated: z.
|
|
19
|
-
}).describe("Response model for updating a calendar return time.")
|
|
18
|
+
recordsUpdated: z.number().int().describe("Number of records updated").nullable().optional()
|
|
19
|
+
}).passthrough().describe("Response model for updating a calendar return time.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { eterminUpdateCalendarReturnTime };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-calendar-return-time.mjs","names":[],"sources":["../../src/actions/update-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarReturnTimeInput = z.object({\n id: z.number().int().describe(\"ID of the return time to update\"),\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this for return times that span midnight.\").optional(),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 18:00)\").optional(),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 10:00)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the Get Calendars action to get a list of available calendars.\").optional(),\n weekdayidx: z.number().int().describe(\"ID of the weekday: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday\").optional(),\n}).describe(\"Request model for updating a calendar return time in eTermin.\");\nexport const EterminUpdateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the return time update was successful\").nullable(),\n recordsUpdated: z.
|
|
1
|
+
{"version":3,"file":"update-calendar-return-time.mjs","names":[],"sources":["../../src/actions/update-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarReturnTimeInput = z.object({\n id: z.number().int().describe(\"ID of the return time to update\"),\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this for return times that span midnight.\").optional(),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 18:00)\").optional(),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 10:00)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the Get Calendars action to get a list of available calendars.\").optional(),\n weekdayidx: z.number().int().describe(\"ID of the weekday: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday\").optional(),\n}).describe(\"Request model for updating a calendar return time in eTermin.\");\nexport const EterminUpdateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the return time update was successful\").nullable(),\n recordsUpdated: z.number().int().describe(\"Number of records updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a calendar return time.\");\n\nexport const eterminUpdateCalendarReturnTime = action(\"ETERMIN_UPDATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-update-calendar-return-time\",\n name: \"Update Calendar Return Time\",\n description: \"Tool to update a return time for a calendar in eTermin. Use when modifying existing return time settings such as start time, end time, weekday, or overnight settings.\",\n input: EterminUpdateCalendarReturnTimeInput,\n output: EterminUpdateCalendarReturnTimeOutput,\n});\n"],"mappings":";;AAkBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAC/D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -16,9 +16,9 @@ const EterminUpdateCalendarInput = zod.z.object({
|
|
|
16
16
|
const EterminUpdateCalendarOutput = zod.z.object({
|
|
17
17
|
message: zod.z.string().describe("Status message from the API.").nullable(),
|
|
18
18
|
success: zod.z.boolean().describe("Whether the calendar update was successful.").nullable(),
|
|
19
|
-
calendarId: zod.z.
|
|
20
|
-
recordsUpdated: zod.z.
|
|
21
|
-
}).describe("Response model for updating a calendar.");
|
|
19
|
+
calendarId: zod.z.string().describe("The ID of the updated calendar.").nullable().optional(),
|
|
20
|
+
recordsUpdated: zod.z.number().int().describe("Number of records updated.").nullable().optional()
|
|
21
|
+
}).passthrough().describe("Response model for updating a calendar.");
|
|
22
22
|
const eterminUpdateCalendar = require_action.action("ETERMIN_UPDATE_CALENDAR", {
|
|
23
23
|
slug: "etermin-update-calendar",
|
|
24
24
|
name: "Update Calendar",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-calendar.cjs","names":["z","action"],"sources":["../../src/actions/update-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarInput = z.object({\n enabled: z.boolean().describe(\"Whether the calendar is enabled for bookings.\").optional(),\n calendarId: z.string().describe(\"The unique identifier of the calendar to update. Obtain from get_calendars action.\"),\n maxCapacity: z.number().int().describe(\"Maximum capacity when capacity is enabled.\").optional(),\n minCapacity: z.number().int().describe(\"Minimum capacity when capacity is enabled.\").optional(),\n calendarName: z.string().describe(\"New name for the calendar.\").optional(),\n descriptionDE: z.string().describe(\"German description of the calendar.\").optional(),\n descriptionEN: z.string().describe(\"English description of the calendar.\").optional(),\n enableCapacity: z.boolean().describe(\"Enable capacity limits for concurrent appointments.\").optional(),\n timeSlotMinutes: z.number().int().describe(\"Time slot interval in minutes.\").optional(),\n externalReference: z.string().describe(\"External reference identifier for the calendar.\").optional(),\n}).describe(\"Request model for updating a calendar in eTermin.\");\nexport const EterminUpdateCalendarOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the calendar update was successful.\").nullable(),\n calendarId: z.
|
|
1
|
+
{"version":3,"file":"update-calendar.cjs","names":["z","action"],"sources":["../../src/actions/update-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarInput = z.object({\n enabled: z.boolean().describe(\"Whether the calendar is enabled for bookings.\").optional(),\n calendarId: z.string().describe(\"The unique identifier of the calendar to update. Obtain from get_calendars action.\"),\n maxCapacity: z.number().int().describe(\"Maximum capacity when capacity is enabled.\").optional(),\n minCapacity: z.number().int().describe(\"Minimum capacity when capacity is enabled.\").optional(),\n calendarName: z.string().describe(\"New name for the calendar.\").optional(),\n descriptionDE: z.string().describe(\"German description of the calendar.\").optional(),\n descriptionEN: z.string().describe(\"English description of the calendar.\").optional(),\n enableCapacity: z.boolean().describe(\"Enable capacity limits for concurrent appointments.\").optional(),\n timeSlotMinutes: z.number().int().describe(\"Time slot interval in minutes.\").optional(),\n externalReference: z.string().describe(\"External reference identifier for the calendar.\").optional(),\n}).describe(\"Request model for updating a calendar in eTermin.\");\nexport const EterminUpdateCalendarOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the calendar update was successful.\").nullable(),\n calendarId: z.string().describe(\"The ID of the updated calendar.\").nullable().optional(),\n recordsUpdated: z.number().int().describe(\"Number of records updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a calendar.\");\n\nexport const eterminUpdateCalendar = action(\"ETERMIN_UPDATE_CALENDAR\", {\n slug: \"etermin-update-calendar\",\n name: \"Update Calendar\",\n description: \"Update an existing calendar in eTermin. Use this tool to modify calendar settings such as name, description, capacity settings, and other configuration options. You must provide the calendar_id obtained from the get_calendars action. The eTermin API uses PUT /api/calendar with form-urlencoded data, where the calendar to update is specified by the 'id' parameter.\",\n input: EterminUpdateCalendarInput,\n output: EterminUpdateCalendarOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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,yCAAyC;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,9 +16,9 @@ declare const EterminUpdateCalendarInput: z.ZodObject<{
|
|
|
16
16
|
declare const EterminUpdateCalendarOutput: z.ZodObject<{
|
|
17
17
|
message: z.ZodNullable<z.ZodString>;
|
|
18
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
-
calendarId: z.
|
|
20
|
-
recordsUpdated: z.
|
|
21
|
-
}, z.core.$
|
|
19
|
+
calendarId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const eterminUpdateCalendar: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
calendarId: string;
|
|
24
24
|
enabled?: boolean | undefined;
|
|
@@ -30,12 +30,7 @@ declare const eterminUpdateCalendar: import("@keystrokehq/action").WorkflowActio
|
|
|
30
30
|
enableCapacity?: boolean | undefined;
|
|
31
31
|
timeSlotMinutes?: number | undefined;
|
|
32
32
|
externalReference?: string | undefined;
|
|
33
|
-
},
|
|
34
|
-
message: string | null;
|
|
35
|
-
success: boolean | null;
|
|
36
|
-
calendarId?: string | undefined;
|
|
37
|
-
recordsUpdated?: number | undefined;
|
|
38
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
34
|
//#endregion
|
|
40
35
|
export { eterminUpdateCalendar };
|
|
41
36
|
//# sourceMappingURL=update-calendar.d.cts.map
|
|
@@ -16,9 +16,9 @@ declare const EterminUpdateCalendarInput: z.ZodObject<{
|
|
|
16
16
|
declare const EterminUpdateCalendarOutput: z.ZodObject<{
|
|
17
17
|
message: z.ZodNullable<z.ZodString>;
|
|
18
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
-
calendarId: z.
|
|
20
|
-
recordsUpdated: z.
|
|
21
|
-
}, z.core.$
|
|
19
|
+
calendarId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const eterminUpdateCalendar: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
calendarId: string;
|
|
24
24
|
enabled?: boolean | undefined;
|
|
@@ -30,12 +30,7 @@ declare const eterminUpdateCalendar: import("@keystrokehq/action").WorkflowActio
|
|
|
30
30
|
enableCapacity?: boolean | undefined;
|
|
31
31
|
timeSlotMinutes?: number | undefined;
|
|
32
32
|
externalReference?: string | undefined;
|
|
33
|
-
},
|
|
34
|
-
message: string | null;
|
|
35
|
-
success: boolean | null;
|
|
36
|
-
calendarId?: string | undefined;
|
|
37
|
-
recordsUpdated?: number | undefined;
|
|
38
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
34
|
//#endregion
|
|
40
35
|
export { eterminUpdateCalendar };
|
|
41
36
|
//# sourceMappingURL=update-calendar.d.mts.map
|
|
@@ -19,9 +19,9 @@ const eterminUpdateCalendar = action("ETERMIN_UPDATE_CALENDAR", {
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
message: z.string().describe("Status message from the API.").nullable(),
|
|
21
21
|
success: z.boolean().describe("Whether the calendar update was successful.").nullable(),
|
|
22
|
-
calendarId: z.
|
|
23
|
-
recordsUpdated: z.
|
|
24
|
-
}).describe("Response model for updating a calendar.")
|
|
22
|
+
calendarId: z.string().describe("The ID of the updated calendar.").nullable().optional(),
|
|
23
|
+
recordsUpdated: z.number().int().describe("Number of records updated.").nullable().optional()
|
|
24
|
+
}).passthrough().describe("Response model for updating a calendar.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { eterminUpdateCalendar };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-calendar.mjs","names":[],"sources":["../../src/actions/update-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarInput = z.object({\n enabled: z.boolean().describe(\"Whether the calendar is enabled for bookings.\").optional(),\n calendarId: z.string().describe(\"The unique identifier of the calendar to update. Obtain from get_calendars action.\"),\n maxCapacity: z.number().int().describe(\"Maximum capacity when capacity is enabled.\").optional(),\n minCapacity: z.number().int().describe(\"Minimum capacity when capacity is enabled.\").optional(),\n calendarName: z.string().describe(\"New name for the calendar.\").optional(),\n descriptionDE: z.string().describe(\"German description of the calendar.\").optional(),\n descriptionEN: z.string().describe(\"English description of the calendar.\").optional(),\n enableCapacity: z.boolean().describe(\"Enable capacity limits for concurrent appointments.\").optional(),\n timeSlotMinutes: z.number().int().describe(\"Time slot interval in minutes.\").optional(),\n externalReference: z.string().describe(\"External reference identifier for the calendar.\").optional(),\n}).describe(\"Request model for updating a calendar in eTermin.\");\nexport const EterminUpdateCalendarOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the calendar update was successful.\").nullable(),\n calendarId: z.
|
|
1
|
+
{"version":3,"file":"update-calendar.mjs","names":[],"sources":["../../src/actions/update-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarInput = z.object({\n enabled: z.boolean().describe(\"Whether the calendar is enabled for bookings.\").optional(),\n calendarId: z.string().describe(\"The unique identifier of the calendar to update. Obtain from get_calendars action.\"),\n maxCapacity: z.number().int().describe(\"Maximum capacity when capacity is enabled.\").optional(),\n minCapacity: z.number().int().describe(\"Minimum capacity when capacity is enabled.\").optional(),\n calendarName: z.string().describe(\"New name for the calendar.\").optional(),\n descriptionDE: z.string().describe(\"German description of the calendar.\").optional(),\n descriptionEN: z.string().describe(\"English description of the calendar.\").optional(),\n enableCapacity: z.boolean().describe(\"Enable capacity limits for concurrent appointments.\").optional(),\n timeSlotMinutes: z.number().int().describe(\"Time slot interval in minutes.\").optional(),\n externalReference: z.string().describe(\"External reference identifier for the calendar.\").optional(),\n}).describe(\"Request model for updating a calendar in eTermin.\");\nexport const EterminUpdateCalendarOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the calendar update was successful.\").nullable(),\n calendarId: z.string().describe(\"The ID of the updated calendar.\").nullable().optional(),\n recordsUpdated: z.number().int().describe(\"Number of records updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a calendar.\");\n\nexport const eterminUpdateCalendar = action(\"ETERMIN_UPDATE_CALENDAR\", {\n slug: \"etermin-update-calendar\",\n name: \"Update Calendar\",\n description: \"Update an existing calendar in eTermin. Use this tool to modify calendar settings such as name, description, capacity settings, and other configuration options. You must provide the calendar_id obtained from the get_calendars action. The eTermin API uses PUT /api/calendar with form-urlencoded data, where the calendar to update is specified by the 'id' parameter.\",\n input: EterminUpdateCalendarInput,\n output: EterminUpdateCalendarOutput,\n});\n"],"mappings":";;AAuBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,mDAYH;CACP,QAZyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -9,11 +9,11 @@ const EterminUpdateContactInput = zod.z.object({
|
|
|
9
9
|
}).describe("Request model for updating an existing contact in eTermin.");
|
|
10
10
|
const EterminUpdateContactOutput = zod.z.object({
|
|
11
11
|
id: zod.z.number().int().describe("Unique identifier of the contact").nullable(),
|
|
12
|
-
email: zod.z.
|
|
13
|
-
lastname: zod.z.
|
|
14
|
-
firstname: zod.z.
|
|
12
|
+
email: zod.z.string().describe("Email address of the contact. May be empty if not provided.").nullable().optional(),
|
|
13
|
+
lastname: zod.z.string().default("").describe("Last name of the contact").nullable().optional(),
|
|
14
|
+
firstname: zod.z.string().default("").describe("First name of the contact").nullable().optional(),
|
|
15
15
|
created_at: zod.z.string().describe("Timestamp when the contact was originally created").nullable()
|
|
16
|
-
}).describe("Response model for the updated contact in eTermin.");
|
|
16
|
+
}).passthrough().describe("Response model for the updated contact in eTermin.");
|
|
17
17
|
const eterminUpdateContact = require_action.action("ETERMIN_UPDATE_CONTACT", {
|
|
18
18
|
slug: "etermin-update-contact",
|
|
19
19
|
name: "Update Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.
|
|
1
|
+
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact. May be empty if not provided.\").nullable().optional(),\n lastname: z.string().default(\"\").describe(\"Last name of the contact\").nullable().optional(),\n firstname: z.string().default(\"\").describe(\"First name of the contact\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was originally created\").nullable(),\n}).passthrough().describe(\"Response model for the updated contact in eTermin.\");\n\nexport const eterminUpdateContact = action(\"ETERMIN_UPDATE_CONTACT\", {\n slug: \"etermin-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in eTermin. Use when you need to modify contact details by ID after confirming it exists.\",\n input: EterminUpdateContactInput,\n output: EterminUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,23 +9,17 @@ declare const EterminUpdateContactInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const EterminUpdateContactOutput: z.ZodObject<{
|
|
11
11
|
id: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
email: z.
|
|
13
|
-
lastname: z.
|
|
14
|
-
firstname: z.
|
|
12
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
lastname: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
14
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
15
15
|
created_at: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const eterminUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
contact_id: number;
|
|
19
19
|
email?: string | undefined;
|
|
20
20
|
lastname?: string | undefined;
|
|
21
21
|
firstname?: string | undefined;
|
|
22
|
-
},
|
|
23
|
-
id: number | null;
|
|
24
|
-
created_at: string | null;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
lastname?: string | undefined;
|
|
27
|
-
firstname?: string | undefined;
|
|
28
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
23
|
//#endregion
|
|
30
24
|
export { eterminUpdateContact };
|
|
31
25
|
//# sourceMappingURL=update-contact.d.cts.map
|
|
@@ -9,23 +9,17 @@ declare const EterminUpdateContactInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const EterminUpdateContactOutput: z.ZodObject<{
|
|
11
11
|
id: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
email: z.
|
|
13
|
-
lastname: z.
|
|
14
|
-
firstname: z.
|
|
12
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
lastname: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
14
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
15
15
|
created_at: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const eterminUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
contact_id: number;
|
|
19
19
|
email?: string | undefined;
|
|
20
20
|
lastname?: string | undefined;
|
|
21
21
|
firstname?: string | undefined;
|
|
22
|
-
},
|
|
23
|
-
id: number | null;
|
|
24
|
-
created_at: string | null;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
lastname?: string | undefined;
|
|
27
|
-
firstname?: string | undefined;
|
|
28
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
23
|
//#endregion
|
|
30
24
|
export { eterminUpdateContact };
|
|
31
25
|
//# sourceMappingURL=update-contact.d.mts.map
|
|
@@ -12,11 +12,11 @@ const eterminUpdateContact = action("ETERMIN_UPDATE_CONTACT", {
|
|
|
12
12
|
}).describe("Request model for updating an existing contact in eTermin."),
|
|
13
13
|
output: z.object({
|
|
14
14
|
id: z.number().int().describe("Unique identifier of the contact").nullable(),
|
|
15
|
-
email: z.
|
|
16
|
-
lastname: z.
|
|
17
|
-
firstname: z.
|
|
15
|
+
email: z.string().describe("Email address of the contact. May be empty if not provided.").nullable().optional(),
|
|
16
|
+
lastname: z.string().default("").describe("Last name of the contact").nullable().optional(),
|
|
17
|
+
firstname: z.string().default("").describe("First name of the contact").nullable().optional(),
|
|
18
18
|
created_at: z.string().describe("Timestamp when the contact was originally created").nullable()
|
|
19
|
-
}).describe("Response model for the updated contact in eTermin.")
|
|
19
|
+
}).passthrough().describe("Response model for the updated contact in eTermin.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { eterminUpdateContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact. May be empty if not provided.\").nullable().optional(),\n lastname: z.string().default(\"\").describe(\"Last name of the contact\").nullable().optional(),\n firstname: z.string().default(\"\").describe(\"First name of the contact\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was originally created\").nullable(),\n}).passthrough().describe(\"Response model for the updated contact in eTermin.\");\n\nexport const eterminUpdateContact = action(\"ETERMIN_UPDATE_CONTACT\", {\n slug: \"etermin-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in eTermin. Use when you need to modify contact details by ID after confirming it exists.\",\n input: EterminUpdateContactInput,\n output: EterminUpdateContactOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACpF,CAAC,CAAC,CAAC,SAAS,4DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const EterminUpdateResourceOutput = zod.z.object({
|
|
|
10
10
|
status: zod.z.string().describe("HTTP status code returned by the API.").nullable(),
|
|
11
11
|
message: zod.z.string().describe("Status message from the API describing the result.").nullable(),
|
|
12
12
|
success: zod.z.boolean().describe("Whether the update operation was successful.").nullable(),
|
|
13
|
-
resource_id: zod.z.
|
|
14
|
-
}).describe("Response from updating an eTermin resource.");
|
|
13
|
+
resource_id: zod.z.string().describe("The ID of the updated resource, if returned by the API.").nullable().optional()
|
|
14
|
+
}).passthrough().describe("Response from updating an eTermin resource.");
|
|
15
15
|
const eterminUpdateResource = require_action.action("ETERMIN_UPDATE_RESOURCE", {
|
|
16
16
|
slug: "etermin-update-resource",
|
|
17
17
|
name: "Update Resource",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-resource.cjs","names":["z","action"],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.
|
|
1
|
+
{"version":3,"file":"update-resource.cjs","names":["z","action"],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.string().describe(\"The ID of the updated resource, if returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;CAChU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;AACnL,CAAC,CAAC,CAAC,SAAS,+LAA+L;AAC3M,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,18 +10,13 @@ declare const EterminUpdateResourceOutput: z.ZodObject<{
|
|
|
10
10
|
status: z.ZodNullable<z.ZodString>;
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
resource_id: z.
|
|
14
|
-
}, z.core.$
|
|
13
|
+
resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const eterminUpdateResource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
data: Record<string, unknown>;
|
|
17
17
|
resource: string;
|
|
18
18
|
resourceId: string;
|
|
19
|
-
},
|
|
20
|
-
status: string | null;
|
|
21
|
-
message: string | null;
|
|
22
|
-
success: boolean | null;
|
|
23
|
-
resource_id?: string | undefined;
|
|
24
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
20
|
//#endregion
|
|
26
21
|
export { eterminUpdateResource };
|
|
27
22
|
//# sourceMappingURL=update-resource.d.cts.map
|