@keystrokehq/repairshopr 0.1.2 → 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/actions/add-estimate-line-item.cjs +2 -2
- package/dist/actions/add-estimate-line-item.cjs.map +1 -1
- package/dist/actions/add-estimate-line-item.d.cts +2 -2
- package/dist/actions/add-estimate-line-item.d.mts +2 -2
- package/dist/actions/add-estimate-line-item.mjs +2 -2
- package/dist/actions/add-estimate-line-item.mjs.map +1 -1
- package/dist/actions/add-purchase-order-line-item.cjs +1 -1
- package/dist/actions/add-purchase-order-line-item.cjs.map +1 -1
- package/dist/actions/add-purchase-order-line-item.d.cts +1 -1
- package/dist/actions/add-purchase-order-line-item.d.mts +1 -1
- package/dist/actions/add-purchase-order-line-item.mjs +1 -1
- package/dist/actions/add-purchase-order-line-item.mjs.map +1 -1
- package/dist/actions/add-schedule-line-item.cjs +1 -1
- package/dist/actions/add-schedule-line-item.cjs.map +1 -1
- package/dist/actions/add-schedule-line-item.d.cts +1 -1
- package/dist/actions/add-schedule-line-item.d.mts +1 -1
- package/dist/actions/add-schedule-line-item.mjs +1 -1
- package/dist/actions/add-schedule-line-item.mjs.map +1 -1
- package/dist/actions/add-ticket-comment.cjs +1 -1
- package/dist/actions/add-ticket-comment.cjs.map +1 -1
- package/dist/actions/add-ticket-comment.d.cts +1 -1
- package/dist/actions/add-ticket-comment.d.mts +1 -1
- package/dist/actions/add-ticket-comment.mjs +1 -1
- package/dist/actions/add-ticket-comment.mjs.map +1 -1
- package/dist/actions/add-ticket-line-item.cjs +2 -2
- package/dist/actions/add-ticket-line-item.cjs.map +1 -1
- package/dist/actions/add-ticket-line-item.d.cts +2 -2
- package/dist/actions/add-ticket-line-item.d.mts +2 -2
- package/dist/actions/add-ticket-line-item.mjs +2 -2
- package/dist/actions/add-ticket-line-item.mjs.map +1 -1
- package/dist/actions/charge-ticket-timer.cjs +1 -1
- package/dist/actions/charge-ticket-timer.cjs.map +1 -1
- package/dist/actions/charge-ticket-timer.d.cts +1 -1
- package/dist/actions/charge-ticket-timer.d.mts +1 -1
- package/dist/actions/charge-ticket-timer.mjs +1 -1
- package/dist/actions/charge-ticket-timer.mjs.map +1 -1
- package/dist/actions/convert-estimate-to-invoice.cjs +3 -3
- package/dist/actions/convert-estimate-to-invoice.cjs.map +1 -1
- package/dist/actions/convert-estimate-to-invoice.d.cts +3 -3
- package/dist/actions/convert-estimate-to-invoice.d.mts +3 -3
- package/dist/actions/convert-estimate-to-invoice.mjs +3 -3
- package/dist/actions/convert-estimate-to-invoice.mjs.map +1 -1
- package/dist/actions/create-appointment-type.cjs +1 -1
- package/dist/actions/create-appointment-type.cjs.map +1 -1
- package/dist/actions/create-appointment-type.d.cts +1 -1
- package/dist/actions/create-appointment-type.d.mts +1 -1
- package/dist/actions/create-appointment-type.mjs +1 -1
- package/dist/actions/create-appointment-type.mjs.map +1 -1
- package/dist/actions/create-canned-response.cjs +1 -1
- package/dist/actions/create-canned-response.cjs.map +1 -1
- package/dist/actions/create-canned-response.d.cts +1 -1
- package/dist/actions/create-canned-response.d.mts +1 -1
- package/dist/actions/create-canned-response.mjs +1 -1
- package/dist/actions/create-canned-response.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 +1 -1
- package/dist/actions/create-contact.d.mts +1 -1
- package/dist/actions/create-contact.mjs +1 -1
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-contract.cjs +1 -1
- package/dist/actions/create-contract.cjs.map +1 -1
- package/dist/actions/create-contract.d.cts +1 -1
- package/dist/actions/create-contract.d.mts +1 -1
- package/dist/actions/create-contract.mjs +1 -1
- package/dist/actions/create-contract.mjs.map +1 -1
- package/dist/actions/create-invoice-line-item.cjs +3 -3
- package/dist/actions/create-invoice-line-item.cjs.map +1 -1
- package/dist/actions/create-invoice-line-item.d.cts +3 -3
- package/dist/actions/create-invoice-line-item.d.mts +3 -3
- package/dist/actions/create-invoice-line-item.mjs +3 -3
- package/dist/actions/create-invoice-line-item.mjs.map +1 -1
- package/dist/actions/create-phone.cjs +1 -1
- package/dist/actions/create-phone.cjs.map +1 -1
- package/dist/actions/create-phone.d.cts +1 -1
- package/dist/actions/create-phone.d.mts +1 -1
- package/dist/actions/create-phone.mjs +1 -1
- package/dist/actions/create-phone.mjs.map +1 -1
- package/dist/actions/create-portal-user.cjs +1 -1
- package/dist/actions/create-portal-user.cjs.map +1 -1
- package/dist/actions/create-portal-user.d.cts +1 -1
- package/dist/actions/create-portal-user.d.mts +1 -1
- package/dist/actions/create-portal-user.mjs +1 -1
- package/dist/actions/create-portal-user.mjs.map +1 -1
- package/dist/actions/create-product-serial.cjs +1 -1
- package/dist/actions/create-product-serial.cjs.map +1 -1
- package/dist/actions/create-product-serial.d.cts +1 -1
- package/dist/actions/create-product-serial.d.mts +1 -1
- package/dist/actions/create-product-serial.mjs +1 -1
- package/dist/actions/create-product-serial.mjs.map +1 -1
- package/dist/actions/create-rmm-alert.cjs +2 -2
- package/dist/actions/create-rmm-alert.cjs.map +1 -1
- package/dist/actions/create-rmm-alert.d.cts +2 -2
- package/dist/actions/create-rmm-alert.d.mts +2 -2
- package/dist/actions/create-rmm-alert.mjs +2 -2
- package/dist/actions/create-rmm-alert.mjs.map +1 -1
- package/dist/actions/create-schedule.cjs +1 -1
- package/dist/actions/create-schedule.cjs.map +1 -1
- package/dist/actions/create-schedule.d.cts +1 -1
- package/dist/actions/create-schedule.d.mts +1 -1
- package/dist/actions/create-schedule.mjs +1 -1
- package/dist/actions/create-schedule.mjs.map +1 -1
- package/dist/actions/create-ticket-timer.cjs +1 -1
- package/dist/actions/create-ticket-timer.cjs.map +1 -1
- package/dist/actions/create-ticket-timer.d.cts +1 -1
- package/dist/actions/create-ticket-timer.d.mts +1 -1
- package/dist/actions/create-ticket-timer.mjs +1 -1
- package/dist/actions/create-ticket-timer.mjs.map +1 -1
- package/dist/actions/create-ticket.cjs +5 -5
- package/dist/actions/create-ticket.cjs.map +1 -1
- package/dist/actions/create-ticket.d.cts +7 -6
- package/dist/actions/create-ticket.d.mts +7 -6
- package/dist/actions/create-ticket.mjs +5 -5
- package/dist/actions/create-ticket.mjs.map +1 -1
- package/dist/actions/create-vendor.cjs +1 -1
- package/dist/actions/create-vendor.cjs.map +1 -1
- package/dist/actions/create-vendor.d.cts +1 -1
- package/dist/actions/create-vendor.d.mts +1 -1
- package/dist/actions/create-vendor.mjs +1 -1
- package/dist/actions/create-vendor.mjs.map +1 -1
- package/dist/actions/create-wiki-page.cjs +1 -1
- package/dist/actions/create-wiki-page.cjs.map +1 -1
- package/dist/actions/create-wiki-page.d.cts +1 -1
- package/dist/actions/create-wiki-page.d.mts +1 -1
- package/dist/actions/create-wiki-page.mjs +1 -1
- package/dist/actions/create-wiki-page.mjs.map +1 -1
- package/dist/actions/delete-appointment-type.cjs +1 -1
- package/dist/actions/delete-appointment-type.cjs.map +1 -1
- package/dist/actions/delete-appointment-type.d.cts +1 -1
- package/dist/actions/delete-appointment-type.d.mts +1 -1
- package/dist/actions/delete-appointment-type.mjs +1 -1
- package/dist/actions/delete-appointment-type.mjs.map +1 -1
- package/dist/actions/delete-appointment.cjs +1 -1
- package/dist/actions/delete-appointment.cjs.map +1 -1
- package/dist/actions/delete-appointment.d.cts +1 -1
- package/dist/actions/delete-appointment.d.mts +1 -1
- package/dist/actions/delete-appointment.mjs +1 -1
- package/dist/actions/delete-appointment.mjs.map +1 -1
- package/dist/actions/delete-canned-response.cjs +1 -1
- package/dist/actions/delete-canned-response.cjs.map +1 -1
- package/dist/actions/delete-canned-response.d.cts +1 -1
- package/dist/actions/delete-canned-response.d.cts.map +1 -1
- package/dist/actions/delete-canned-response.d.mts +1 -1
- package/dist/actions/delete-canned-response.d.mts.map +1 -1
- package/dist/actions/delete-canned-response.mjs +1 -1
- package/dist/actions/delete-canned-response.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +1 -1
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-contract.cjs +1 -1
- package/dist/actions/delete-contract.cjs.map +1 -1
- package/dist/actions/delete-contract.d.cts +1 -1
- package/dist/actions/delete-contract.d.mts +1 -1
- package/dist/actions/delete-contract.mjs +1 -1
- package/dist/actions/delete-contract.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +1 -1
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +1 -1
- package/dist/actions/delete-customer.d.mts.map +1 -1
- package/dist/actions/delete-customer.mjs +1 -1
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-estimate-line-item.cjs +1 -1
- package/dist/actions/delete-estimate-line-item.cjs.map +1 -1
- package/dist/actions/delete-estimate-line-item.d.cts +1 -1
- package/dist/actions/delete-estimate-line-item.d.mts +1 -1
- package/dist/actions/delete-estimate-line-item.mjs +1 -1
- package/dist/actions/delete-estimate-line-item.mjs.map +1 -1
- package/dist/actions/delete-estimate.cjs +1 -1
- package/dist/actions/delete-estimate.cjs.map +1 -1
- package/dist/actions/delete-estimate.d.cts +1 -1
- package/dist/actions/delete-estimate.d.mts +1 -1
- package/dist/actions/delete-estimate.mjs +1 -1
- package/dist/actions/delete-estimate.mjs.map +1 -1
- package/dist/actions/delete-invoice-line-item.cjs +2 -2
- package/dist/actions/delete-invoice-line-item.cjs.map +1 -1
- package/dist/actions/delete-invoice-line-item.d.cts +2 -2
- package/dist/actions/delete-invoice-line-item.d.mts +2 -2
- package/dist/actions/delete-invoice-line-item.mjs +2 -2
- package/dist/actions/delete-invoice-line-item.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -1
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +1 -1
- package/dist/actions/delete-invoice.d.mts +1 -1
- package/dist/actions/delete-invoice.mjs +1 -1
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-phone.cjs +1 -1
- package/dist/actions/delete-phone.cjs.map +1 -1
- package/dist/actions/delete-phone.d.cts +1 -1
- package/dist/actions/delete-phone.d.mts +1 -1
- package/dist/actions/delete-phone.mjs +1 -1
- package/dist/actions/delete-phone.mjs.map +1 -1
- package/dist/actions/delete-portal-user.cjs +1 -1
- package/dist/actions/delete-portal-user.cjs.map +1 -1
- package/dist/actions/delete-portal-user.d.cts +1 -1
- package/dist/actions/delete-portal-user.d.mts +1 -1
- package/dist/actions/delete-portal-user.mjs +1 -1
- package/dist/actions/delete-portal-user.mjs.map +1 -1
- package/dist/actions/delete-rmm-alert.cjs +1 -1
- package/dist/actions/delete-rmm-alert.cjs.map +1 -1
- package/dist/actions/delete-rmm-alert.d.cts +1 -1
- package/dist/actions/delete-rmm-alert.d.cts.map +1 -1
- package/dist/actions/delete-rmm-alert.d.mts +1 -1
- package/dist/actions/delete-rmm-alert.d.mts.map +1 -1
- package/dist/actions/delete-rmm-alert.mjs +1 -1
- package/dist/actions/delete-rmm-alert.mjs.map +1 -1
- package/dist/actions/delete-schedule.cjs +1 -1
- package/dist/actions/delete-schedule.cjs.map +1 -1
- package/dist/actions/delete-schedule.d.cts +1 -1
- package/dist/actions/delete-schedule.d.mts +1 -1
- package/dist/actions/delete-schedule.mjs +1 -1
- package/dist/actions/delete-schedule.mjs.map +1 -1
- package/dist/actions/delete-ticket-timer.cjs +1 -1
- package/dist/actions/delete-ticket-timer.cjs.map +1 -1
- package/dist/actions/delete-ticket-timer.d.cts +1 -1
- package/dist/actions/delete-ticket-timer.d.mts +1 -1
- package/dist/actions/delete-ticket-timer.mjs +1 -1
- package/dist/actions/delete-ticket-timer.mjs.map +1 -1
- package/dist/actions/delete-ticket.cjs +1 -1
- package/dist/actions/delete-ticket.cjs.map +1 -1
- package/dist/actions/delete-ticket.d.cts +1 -1
- package/dist/actions/delete-ticket.d.mts +1 -1
- package/dist/actions/delete-ticket.mjs +1 -1
- package/dist/actions/delete-ticket.mjs.map +1 -1
- package/dist/actions/delete-wiki-page.cjs +1 -1
- package/dist/actions/delete-wiki-page.cjs.map +1 -1
- package/dist/actions/delete-wiki-page.d.cts +1 -1
- package/dist/actions/delete-wiki-page.d.mts +1 -1
- package/dist/actions/delete-wiki-page.mjs +1 -1
- package/dist/actions/delete-wiki-page.mjs.map +1 -1
- package/dist/actions/email-estimate.cjs +1 -1
- package/dist/actions/email-estimate.cjs.map +1 -1
- package/dist/actions/email-estimate.d.cts +1 -1
- package/dist/actions/email-estimate.d.mts +1 -1
- package/dist/actions/email-estimate.mjs +1 -1
- package/dist/actions/email-estimate.mjs.map +1 -1
- package/dist/actions/email-invoice.cjs +1 -1
- package/dist/actions/email-invoice.cjs.map +1 -1
- package/dist/actions/email-invoice.d.cts +1 -1
- package/dist/actions/email-invoice.d.mts +1 -1
- package/dist/actions/email-invoice.mjs +1 -1
- package/dist/actions/email-invoice.mjs.map +1 -1
- package/dist/actions/get-appointment-type.cjs +1 -1
- package/dist/actions/get-appointment-type.cjs.map +1 -1
- package/dist/actions/get-appointment-type.d.cts +1 -1
- package/dist/actions/get-appointment-type.d.mts +1 -1
- package/dist/actions/get-appointment-type.mjs +1 -1
- package/dist/actions/get-appointment-type.mjs.map +1 -1
- package/dist/actions/get-appointment.cjs +2 -2
- package/dist/actions/get-appointment.cjs.map +1 -1
- package/dist/actions/get-appointment.d.cts +2 -2
- package/dist/actions/get-appointment.d.mts +2 -2
- package/dist/actions/get-appointment.mjs +2 -2
- package/dist/actions/get-appointment.mjs.map +1 -1
- package/dist/actions/get-appointments.cjs +3 -3
- package/dist/actions/get-appointments.cjs.map +1 -1
- package/dist/actions/get-appointments.d.cts +3 -3
- package/dist/actions/get-appointments.d.mts +3 -3
- package/dist/actions/get-appointments.mjs +3 -3
- package/dist/actions/get-appointments.mjs.map +1 -1
- package/dist/actions/get-asset.cjs +5 -5
- package/dist/actions/get-asset.cjs.map +1 -1
- package/dist/actions/get-asset.d.cts +5 -5
- package/dist/actions/get-asset.d.mts +5 -5
- package/dist/actions/get-asset.mjs +5 -5
- package/dist/actions/get-asset.mjs.map +1 -1
- package/dist/actions/get-assets.cjs +6 -6
- package/dist/actions/get-assets.cjs.map +1 -1
- package/dist/actions/get-assets.d.cts +6 -6
- package/dist/actions/get-assets.d.mts +6 -6
- package/dist/actions/get-assets.mjs +6 -6
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-caller-id.cjs +2 -2
- package/dist/actions/get-caller-id.cjs.map +1 -1
- package/dist/actions/get-caller-id.d.cts +2 -2
- package/dist/actions/get-caller-id.d.mts +2 -2
- package/dist/actions/get-caller-id.mjs +2 -2
- package/dist/actions/get-caller-id.mjs.map +1 -1
- package/dist/actions/get-canned-response-setting.cjs +2 -2
- package/dist/actions/get-canned-response-setting.cjs.map +1 -1
- package/dist/actions/get-canned-response-setting.d.cts +2 -2
- package/dist/actions/get-canned-response-setting.d.mts +2 -2
- package/dist/actions/get-canned-response-setting.mjs +2 -2
- package/dist/actions/get-canned-response-setting.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +2 -2
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +2 -2
- package/dist/actions/get-contact.d.mts +2 -2
- package/dist/actions/get-contact.mjs +2 -2
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +3 -3
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +3 -3
- package/dist/actions/get-contacts.d.mts +3 -3
- package/dist/actions/get-contacts.mjs +3 -3
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-contract.cjs +1 -1
- package/dist/actions/get-contract.cjs.map +1 -1
- package/dist/actions/get-contract.d.cts +1 -1
- package/dist/actions/get-contract.d.mts +1 -1
- package/dist/actions/get-contract.mjs +1 -1
- package/dist/actions/get-contract.mjs.map +1 -1
- package/dist/actions/get-customer-payment-profiles.cjs +2 -2
- package/dist/actions/get-customer-payment-profiles.cjs.map +1 -1
- package/dist/actions/get-customer-payment-profiles.d.cts +2 -2
- package/dist/actions/get-customer-payment-profiles.d.mts +2 -2
- package/dist/actions/get-customer-payment-profiles.mjs +2 -2
- package/dist/actions/get-customer-payment-profiles.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -1
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +1 -1
- package/dist/actions/get-customer.d.mts +1 -1
- package/dist/actions/get-customer.mjs +1 -1
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-customers-autocomplete.cjs +2 -2
- package/dist/actions/get-customers-autocomplete.cjs.map +1 -1
- package/dist/actions/get-customers-autocomplete.d.cts +2 -2
- package/dist/actions/get-customers-autocomplete.d.mts +2 -2
- package/dist/actions/get-customers-autocomplete.mjs +2 -2
- package/dist/actions/get-customers-autocomplete.mjs.map +1 -1
- package/dist/actions/get-customers.cjs +3 -3
- package/dist/actions/get-customers.cjs.map +1 -1
- package/dist/actions/get-customers.d.cts +3 -3
- package/dist/actions/get-customers.d.mts +3 -3
- package/dist/actions/get-customers.mjs +3 -3
- package/dist/actions/get-customers.mjs.map +1 -1
- package/dist/actions/get-employee-time-clock.cjs +1 -1
- package/dist/actions/get-employee-time-clock.cjs.map +1 -1
- package/dist/actions/get-employee-time-clock.d.cts +1 -1
- package/dist/actions/get-employee-time-clock.d.mts +1 -1
- package/dist/actions/get-employee-time-clock.mjs +1 -1
- package/dist/actions/get-employee-time-clock.mjs.map +1 -1
- package/dist/actions/get-estimate.cjs +3 -3
- package/dist/actions/get-estimate.cjs.map +1 -1
- package/dist/actions/get-estimate.d.cts +3 -3
- package/dist/actions/get-estimate.d.mts +3 -3
- package/dist/actions/get-estimate.mjs +3 -3
- package/dist/actions/get-estimate.mjs.map +1 -1
- package/dist/actions/get-estimates.cjs +3 -3
- package/dist/actions/get-estimates.cjs.map +1 -1
- package/dist/actions/get-estimates.d.cts +3 -3
- package/dist/actions/get-estimates.d.mts +3 -3
- package/dist/actions/get-estimates.mjs +3 -3
- package/dist/actions/get-estimates.mjs.map +1 -1
- package/dist/actions/get-invoice-ticket.cjs +3 -3
- package/dist/actions/get-invoice-ticket.cjs.map +1 -1
- package/dist/actions/get-invoice-ticket.d.cts +3 -3
- package/dist/actions/get-invoice-ticket.d.mts +3 -3
- package/dist/actions/get-invoice-ticket.mjs +3 -3
- package/dist/actions/get-invoice-ticket.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +6 -6
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +6 -6
- package/dist/actions/get-invoice.d.mts +6 -6
- package/dist/actions/get-invoice.mjs +6 -6
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoices.cjs +3 -3
- package/dist/actions/get-invoices.cjs.map +1 -1
- package/dist/actions/get-invoices.d.cts +3 -3
- package/dist/actions/get-invoices.d.mts +3 -3
- package/dist/actions/get-invoices.mjs +3 -3
- package/dist/actions/get-invoices.mjs.map +1 -1
- package/dist/actions/get-latest-customer.cjs +1 -1
- package/dist/actions/get-latest-customer.cjs.map +1 -1
- package/dist/actions/get-latest-customer.d.cts +1 -1
- package/dist/actions/get-latest-customer.d.mts +1 -1
- package/dist/actions/get-latest-customer.mjs +1 -1
- package/dist/actions/get-latest-customer.mjs.map +1 -1
- package/dist/actions/get-lead.cjs +1 -1
- package/dist/actions/get-lead.cjs.map +1 -1
- package/dist/actions/get-lead.d.cts +1 -1
- package/dist/actions/get-lead.d.mts +1 -1
- package/dist/actions/get-lead.mjs +1 -1
- package/dist/actions/get-lead.mjs.map +1 -1
- package/dist/actions/get-leads.cjs +3 -3
- package/dist/actions/get-leads.cjs.map +1 -1
- package/dist/actions/get-leads.d.cts +3 -3
- package/dist/actions/get-leads.d.mts +3 -3
- package/dist/actions/get-leads.mjs +3 -3
- package/dist/actions/get-leads.mjs.map +1 -1
- package/dist/actions/get-me.cjs +10 -10
- package/dist/actions/get-me.cjs.map +1 -1
- package/dist/actions/get-me.d.cts +10 -10
- package/dist/actions/get-me.d.mts +10 -10
- package/dist/actions/get-me.mjs +10 -10
- package/dist/actions/get-me.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +2 -2
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +2 -2
- package/dist/actions/get-payment.d.mts +2 -2
- package/dist/actions/get-payment.mjs +2 -2
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments.cjs +4 -4
- package/dist/actions/get-payments.cjs.map +1 -1
- package/dist/actions/get-payments.d.cts +4 -4
- package/dist/actions/get-payments.d.mts +4 -4
- package/dist/actions/get-payments.mjs +4 -4
- package/dist/actions/get-payments.mjs.map +1 -1
- package/dist/actions/get-product-by-barcode.cjs +1 -1
- package/dist/actions/get-product-by-barcode.cjs.map +1 -1
- package/dist/actions/get-product-by-barcode.d.cts +1 -1
- package/dist/actions/get-product-by-barcode.d.mts +1 -1
- package/dist/actions/get-product-by-barcode.mjs +1 -1
- package/dist/actions/get-product-by-barcode.mjs.map +1 -1
- package/dist/actions/get-product-serials.cjs +2 -2
- package/dist/actions/get-product-serials.cjs.map +1 -1
- package/dist/actions/get-product-serials.d.cts +2 -2
- package/dist/actions/get-product-serials.d.mts +2 -2
- package/dist/actions/get-product-serials.mjs +2 -2
- package/dist/actions/get-product-serials.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -1
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +1 -1
- package/dist/actions/get-product.d.mts +1 -1
- package/dist/actions/get-product.mjs +1 -1
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-products-categories.cjs +2 -2
- package/dist/actions/get-products-categories.cjs.map +1 -1
- package/dist/actions/get-products-categories.d.cts +2 -2
- package/dist/actions/get-products-categories.d.mts +2 -2
- package/dist/actions/get-products-categories.mjs +2 -2
- package/dist/actions/get-products-categories.mjs.map +1 -1
- package/dist/actions/get-products.cjs +3 -3
- package/dist/actions/get-products.cjs.map +1 -1
- package/dist/actions/get-products.d.cts +3 -3
- package/dist/actions/get-products.d.mts +3 -3
- package/dist/actions/get-products.mjs +3 -3
- package/dist/actions/get-products.mjs.map +1 -1
- package/dist/actions/get-purchase-order.cjs +2 -2
- package/dist/actions/get-purchase-order.cjs.map +1 -1
- package/dist/actions/get-purchase-order.d.cts +2 -2
- package/dist/actions/get-purchase-order.d.mts +2 -2
- package/dist/actions/get-purchase-order.mjs +2 -2
- package/dist/actions/get-purchase-order.mjs.map +1 -1
- package/dist/actions/get-rmm-alert.cjs +2 -2
- package/dist/actions/get-rmm-alert.cjs.map +1 -1
- package/dist/actions/get-rmm-alert.d.cts +2 -2
- package/dist/actions/get-rmm-alert.d.mts +2 -2
- package/dist/actions/get-rmm-alert.mjs +2 -2
- package/dist/actions/get-rmm-alert.mjs.map +1 -1
- package/dist/actions/get-schedule.cjs +2 -2
- package/dist/actions/get-schedule.cjs.map +1 -1
- package/dist/actions/get-schedule.d.cts +2 -2
- package/dist/actions/get-schedule.d.mts +2 -2
- package/dist/actions/get-schedule.mjs +2 -2
- package/dist/actions/get-schedule.mjs.map +1 -1
- package/dist/actions/get-settings-printing.cjs +2 -2
- package/dist/actions/get-settings-printing.cjs.map +1 -1
- package/dist/actions/get-settings-printing.d.cts +2 -2
- package/dist/actions/get-settings-printing.d.mts +2 -2
- package/dist/actions/get-settings-printing.mjs +2 -2
- package/dist/actions/get-settings-printing.mjs.map +1 -1
- package/dist/actions/get-settings-tabs.cjs +2 -2
- package/dist/actions/get-settings-tabs.cjs.map +1 -1
- package/dist/actions/get-settings-tabs.d.cts +2 -2
- package/dist/actions/get-settings-tabs.d.mts +2 -2
- package/dist/actions/get-settings-tabs.mjs +2 -2
- package/dist/actions/get-settings-tabs.mjs.map +1 -1
- package/dist/actions/get-settings.cjs +1 -1
- package/dist/actions/get-settings.cjs.map +1 -1
- package/dist/actions/get-settings.d.cts +1 -1
- package/dist/actions/get-settings.d.mts +1 -1
- package/dist/actions/get-settings.mjs +1 -1
- package/dist/actions/get-settings.mjs.map +1 -1
- package/dist/actions/get-ticket.cjs +3 -3
- package/dist/actions/get-ticket.cjs.map +1 -1
- package/dist/actions/get-ticket.d.cts +3 -3
- package/dist/actions/get-ticket.d.mts +3 -3
- package/dist/actions/get-ticket.mjs +3 -3
- package/dist/actions/get-ticket.mjs.map +1 -1
- package/dist/actions/get-tickets-settings.cjs +9 -9
- package/dist/actions/get-tickets-settings.cjs.map +1 -1
- package/dist/actions/get-tickets-settings.d.cts +9 -9
- package/dist/actions/get-tickets-settings.d.mts +9 -9
- package/dist/actions/get-tickets-settings.mjs +9 -9
- package/dist/actions/get-tickets-settings.mjs.map +1 -1
- package/dist/actions/get-user-device.cjs +2 -2
- package/dist/actions/get-user-device.cjs.map +1 -1
- package/dist/actions/get-user-device.d.cts +2 -2
- package/dist/actions/get-user-device.d.mts +2 -2
- package/dist/actions/get-user-device.mjs +2 -2
- package/dist/actions/get-user-device.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -1
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +1 -1
- package/dist/actions/get-user.d.mts +1 -1
- package/dist/actions/get-user.mjs +1 -1
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users.cjs +2 -2
- package/dist/actions/get-users.cjs.map +1 -1
- package/dist/actions/get-users.d.cts +2 -2
- package/dist/actions/get-users.d.mts +2 -2
- package/dist/actions/get-users.mjs +2 -2
- package/dist/actions/get-users.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +1 -1
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +1 -1
- package/dist/actions/get-vendor.d.mts +1 -1
- package/dist/actions/get-vendor.mjs +1 -1
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/get-wiki-page.cjs +1 -1
- package/dist/actions/get-wiki-page.cjs.map +1 -1
- package/dist/actions/get-wiki-page.d.cts +1 -1
- package/dist/actions/get-wiki-page.d.mts +1 -1
- package/dist/actions/get-wiki-page.mjs +1 -1
- package/dist/actions/get-wiki-page.mjs.map +1 -1
- package/dist/actions/list-appointment-types.cjs +2 -2
- package/dist/actions/list-appointment-types.cjs.map +1 -1
- package/dist/actions/list-appointment-types.d.cts +2 -2
- package/dist/actions/list-appointment-types.d.mts +2 -2
- package/dist/actions/list-appointment-types.mjs +2 -2
- package/dist/actions/list-appointment-types.mjs.map +1 -1
- package/dist/actions/list-canned-responses.cjs +2 -2
- package/dist/actions/list-canned-responses.cjs.map +1 -1
- package/dist/actions/list-canned-responses.d.cts +2 -2
- package/dist/actions/list-canned-responses.d.mts +2 -2
- package/dist/actions/list-canned-responses.mjs +2 -2
- package/dist/actions/list-canned-responses.mjs.map +1 -1
- package/dist/actions/list-contracts.cjs +3 -3
- package/dist/actions/list-contracts.cjs.map +1 -1
- package/dist/actions/list-contracts.d.cts +3 -3
- package/dist/actions/list-contracts.d.mts +3 -3
- package/dist/actions/list-contracts.mjs +3 -3
- package/dist/actions/list-contracts.mjs.map +1 -1
- package/dist/actions/list-items.cjs +3 -3
- package/dist/actions/list-items.cjs.map +1 -1
- package/dist/actions/list-items.d.cts +3 -3
- package/dist/actions/list-items.d.mts +3 -3
- package/dist/actions/list-items.mjs +3 -3
- package/dist/actions/list-items.mjs.map +1 -1
- package/dist/actions/list-line-items.cjs +3 -3
- package/dist/actions/list-line-items.cjs.map +1 -1
- package/dist/actions/list-line-items.d.cts +3 -3
- package/dist/actions/list-line-items.d.mts +3 -3
- package/dist/actions/list-line-items.mjs +3 -3
- package/dist/actions/list-line-items.mjs.map +1 -1
- package/dist/actions/list-new-ticket-forms.cjs +3 -3
- package/dist/actions/list-new-ticket-forms.cjs.map +1 -1
- package/dist/actions/list-new-ticket-forms.d.cts +3 -3
- package/dist/actions/list-new-ticket-forms.d.mts +3 -3
- package/dist/actions/list-new-ticket-forms.mjs +3 -3
- package/dist/actions/list-new-ticket-forms.mjs.map +1 -1
- package/dist/actions/list-payment-methods.cjs +3 -3
- package/dist/actions/list-payment-methods.cjs.map +1 -1
- package/dist/actions/list-payment-methods.d.cts +3 -3
- package/dist/actions/list-payment-methods.d.mts +3 -3
- package/dist/actions/list-payment-methods.mjs +3 -3
- package/dist/actions/list-payment-methods.mjs.map +1 -1
- package/dist/actions/list-phones.cjs +3 -3
- package/dist/actions/list-phones.cjs.map +1 -1
- package/dist/actions/list-phones.d.cts +3 -3
- package/dist/actions/list-phones.d.mts +3 -3
- package/dist/actions/list-phones.mjs +3 -3
- package/dist/actions/list-phones.mjs.map +1 -1
- package/dist/actions/list-portal-users.cjs +3 -3
- package/dist/actions/list-portal-users.cjs.map +1 -1
- package/dist/actions/list-portal-users.d.cts +3 -3
- package/dist/actions/list-portal-users.d.mts +3 -3
- package/dist/actions/list-portal-users.mjs +3 -3
- package/dist/actions/list-portal-users.mjs.map +1 -1
- package/dist/actions/list-purchase-orders.cjs +4 -4
- package/dist/actions/list-purchase-orders.cjs.map +1 -1
- package/dist/actions/list-purchase-orders.d.cts +4 -4
- package/dist/actions/list-purchase-orders.d.mts +4 -4
- package/dist/actions/list-purchase-orders.mjs +4 -4
- package/dist/actions/list-purchase-orders.mjs.map +1 -1
- package/dist/actions/list-rmm-alerts.cjs +4 -4
- package/dist/actions/list-rmm-alerts.cjs.map +1 -1
- package/dist/actions/list-rmm-alerts.d.cts +4 -4
- package/dist/actions/list-rmm-alerts.d.mts +4 -4
- package/dist/actions/list-rmm-alerts.mjs +4 -4
- package/dist/actions/list-rmm-alerts.mjs.map +1 -1
- package/dist/actions/list-schedules.cjs +4 -4
- package/dist/actions/list-schedules.cjs.map +1 -1
- package/dist/actions/list-schedules.d.cts +4 -4
- package/dist/actions/list-schedules.d.mts +4 -4
- package/dist/actions/list-schedules.mjs +4 -4
- package/dist/actions/list-schedules.mjs.map +1 -1
- package/dist/actions/list-ticket-comments.cjs +3 -3
- package/dist/actions/list-ticket-comments.cjs.map +1 -1
- package/dist/actions/list-ticket-comments.d.cts +3 -3
- package/dist/actions/list-ticket-comments.d.mts +3 -3
- package/dist/actions/list-ticket-comments.mjs +3 -3
- package/dist/actions/list-ticket-comments.mjs.map +1 -1
- package/dist/actions/list-ticket-timers.cjs +2 -2
- package/dist/actions/list-ticket-timers.cjs.map +1 -1
- package/dist/actions/list-ticket-timers.d.cts +2 -2
- package/dist/actions/list-ticket-timers.d.mts +2 -2
- package/dist/actions/list-ticket-timers.mjs +2 -2
- package/dist/actions/list-ticket-timers.mjs.map +1 -1
- package/dist/actions/list-tickets.cjs +5 -5
- package/dist/actions/list-tickets.cjs.map +1 -1
- package/dist/actions/list-tickets.d.cts +5 -5
- package/dist/actions/list-tickets.d.mts +5 -5
- package/dist/actions/list-tickets.mjs +5 -5
- package/dist/actions/list-tickets.mjs.map +1 -1
- package/dist/actions/list-timelogs.cjs +2 -2
- package/dist/actions/list-timelogs.cjs.map +1 -1
- package/dist/actions/list-timelogs.d.cts +2 -2
- package/dist/actions/list-timelogs.d.mts +2 -2
- package/dist/actions/list-timelogs.mjs +2 -2
- package/dist/actions/list-timelogs.mjs.map +1 -1
- package/dist/actions/list-vendors.cjs +3 -3
- package/dist/actions/list-vendors.cjs.map +1 -1
- package/dist/actions/list-vendors.d.cts +3 -3
- package/dist/actions/list-vendors.d.mts +3 -3
- package/dist/actions/list-vendors.mjs +3 -3
- package/dist/actions/list-vendors.mjs.map +1 -1
- package/dist/actions/list-wiki-pages.cjs +3 -3
- package/dist/actions/list-wiki-pages.cjs.map +1 -1
- package/dist/actions/list-wiki-pages.d.cts +3 -3
- package/dist/actions/list-wiki-pages.d.mts +3 -3
- package/dist/actions/list-wiki-pages.mjs +3 -3
- package/dist/actions/list-wiki-pages.mjs.map +1 -1
- package/dist/actions/list-worksheet-results.cjs +3 -3
- package/dist/actions/list-worksheet-results.cjs.map +1 -1
- package/dist/actions/list-worksheet-results.d.cts +3 -3
- package/dist/actions/list-worksheet-results.d.mts +3 -3
- package/dist/actions/list-worksheet-results.mjs +3 -3
- package/dist/actions/list-worksheet-results.mjs.map +1 -1
- package/dist/actions/mute-rmm-alert.cjs +1 -1
- package/dist/actions/mute-rmm-alert.cjs.map +1 -1
- package/dist/actions/mute-rmm-alert.d.cts +1 -1
- package/dist/actions/mute-rmm-alert.d.mts +1 -1
- package/dist/actions/mute-rmm-alert.mjs +1 -1
- package/dist/actions/mute-rmm-alert.mjs.map +1 -1
- package/dist/actions/post-appointment.cjs +3 -3
- package/dist/actions/post-appointment.cjs.map +1 -1
- package/dist/actions/post-appointment.d.cts +3 -3
- package/dist/actions/post-appointment.d.mts +3 -3
- package/dist/actions/post-appointment.mjs +3 -3
- package/dist/actions/post-appointment.mjs.map +1 -1
- package/dist/actions/post-asset.cjs +5 -5
- package/dist/actions/post-asset.cjs.map +1 -1
- package/dist/actions/post-asset.d.cts +5 -5
- package/dist/actions/post-asset.d.mts +5 -5
- package/dist/actions/post-asset.mjs +5 -5
- package/dist/actions/post-asset.mjs.map +1 -1
- package/dist/actions/post-customer.cjs +1 -1
- package/dist/actions/post-customer.cjs.map +1 -1
- package/dist/actions/post-customer.d.cts +1 -1
- package/dist/actions/post-customer.d.mts +1 -1
- package/dist/actions/post-customer.mjs +1 -1
- package/dist/actions/post-customer.mjs.map +1 -1
- package/dist/actions/post-estimate.cjs +3 -3
- package/dist/actions/post-estimate.cjs.map +1 -1
- package/dist/actions/post-estimate.d.cts +4 -3
- package/dist/actions/post-estimate.d.mts +4 -3
- package/dist/actions/post-estimate.mjs +3 -3
- package/dist/actions/post-estimate.mjs.map +1 -1
- package/dist/actions/post-invoice.cjs +3 -3
- package/dist/actions/post-invoice.cjs.map +1 -1
- package/dist/actions/post-invoice.d.cts +4 -3
- package/dist/actions/post-invoice.d.mts +4 -3
- package/dist/actions/post-invoice.mjs +3 -3
- package/dist/actions/post-invoice.mjs.map +1 -1
- package/dist/actions/post-lead.cjs +1 -1
- package/dist/actions/post-lead.cjs.map +1 -1
- package/dist/actions/post-lead.d.cts +1 -1
- package/dist/actions/post-lead.d.mts +1 -1
- package/dist/actions/post-lead.mjs +1 -1
- package/dist/actions/post-lead.mjs.map +1 -1
- package/dist/actions/post-payment.cjs +3 -3
- package/dist/actions/post-payment.cjs.map +1 -1
- package/dist/actions/post-payment.d.cts +3 -3
- package/dist/actions/post-payment.d.mts +3 -3
- package/dist/actions/post-payment.mjs +3 -3
- package/dist/actions/post-payment.mjs.map +1 -1
- package/dist/actions/post-product-photo.cjs +2 -2
- package/dist/actions/post-product-photo.cjs.map +1 -1
- package/dist/actions/post-product-photo.d.cts +3 -2
- package/dist/actions/post-product-photo.d.mts +3 -2
- package/dist/actions/post-product-photo.mjs +2 -2
- package/dist/actions/post-product-photo.mjs.map +1 -1
- package/dist/actions/post-product.cjs +1 -1
- package/dist/actions/post-product.cjs.map +1 -1
- package/dist/actions/post-product.d.cts +1 -1
- package/dist/actions/post-product.d.mts +1 -1
- package/dist/actions/post-product.mjs +1 -1
- package/dist/actions/post-product.mjs.map +1 -1
- package/dist/actions/post-purchase-order.cjs +1 -1
- package/dist/actions/post-purchase-order.cjs.map +1 -1
- package/dist/actions/post-purchase-order.d.cts +1 -1
- package/dist/actions/post-purchase-order.d.mts +1 -1
- package/dist/actions/post-purchase-order.mjs +1 -1
- package/dist/actions/post-purchase-order.mjs.map +1 -1
- package/dist/actions/post-user-device.cjs +2 -2
- package/dist/actions/post-user-device.cjs.map +1 -1
- package/dist/actions/post-user-device.d.cts +2 -2
- package/dist/actions/post-user-device.d.mts +2 -2
- package/dist/actions/post-user-device.mjs +2 -2
- package/dist/actions/post-user-device.mjs.map +1 -1
- package/dist/actions/print-estimate.cjs +1 -1
- package/dist/actions/print-estimate.cjs.map +1 -1
- package/dist/actions/print-estimate.d.cts +1 -1
- package/dist/actions/print-estimate.d.mts +1 -1
- package/dist/actions/print-estimate.mjs +1 -1
- package/dist/actions/print-estimate.mjs.map +1 -1
- package/dist/actions/print-invoice.cjs +1 -1
- package/dist/actions/print-invoice.cjs.map +1 -1
- package/dist/actions/print-invoice.d.cts +1 -1
- package/dist/actions/print-invoice.d.mts +1 -1
- package/dist/actions/print-invoice.mjs +1 -1
- package/dist/actions/print-invoice.mjs.map +1 -1
- package/dist/actions/print-ticket.cjs +1 -1
- package/dist/actions/print-ticket.cjs.map +1 -1
- package/dist/actions/print-ticket.d.cts +1 -1
- package/dist/actions/print-ticket.d.mts +1 -1
- package/dist/actions/print-ticket.mjs +1 -1
- package/dist/actions/print-ticket.mjs.map +1 -1
- package/dist/actions/process-ticket-form.cjs +4 -4
- package/dist/actions/process-ticket-form.cjs.map +1 -1
- package/dist/actions/process-ticket-form.d.cts +7 -7
- package/dist/actions/process-ticket-form.d.mts +7 -7
- package/dist/actions/process-ticket-form.mjs +4 -4
- package/dist/actions/process-ticket-form.mjs.map +1 -1
- package/dist/actions/receive-purchase-order.cjs +1 -1
- package/dist/actions/receive-purchase-order.cjs.map +1 -1
- package/dist/actions/receive-purchase-order.d.cts +1 -1
- package/dist/actions/receive-purchase-order.d.mts +1 -1
- package/dist/actions/receive-purchase-order.mjs +1 -1
- package/dist/actions/receive-purchase-order.mjs.map +1 -1
- package/dist/actions/remove-ticket-line-item.cjs +1 -1
- package/dist/actions/remove-ticket-line-item.cjs.map +1 -1
- package/dist/actions/remove-ticket-line-item.d.cts +1 -1
- package/dist/actions/remove-ticket-line-item.d.mts +1 -1
- package/dist/actions/remove-ticket-line-item.mjs +1 -1
- package/dist/actions/remove-ticket-line-item.mjs.map +1 -1
- package/dist/actions/search-all.cjs +2 -2
- package/dist/actions/search-all.cjs.map +1 -1
- package/dist/actions/search-all.d.cts +2 -2
- package/dist/actions/search-all.d.mts +2 -2
- package/dist/actions/search-all.mjs +2 -2
- package/dist/actions/search-all.mjs.map +1 -1
- package/dist/actions/update-appointment-type.cjs +1 -1
- package/dist/actions/update-appointment-type.cjs.map +1 -1
- package/dist/actions/update-appointment-type.d.cts +1 -1
- package/dist/actions/update-appointment-type.d.mts +1 -1
- package/dist/actions/update-appointment-type.mjs +1 -1
- package/dist/actions/update-appointment-type.mjs.map +1 -1
- package/dist/actions/update-appointment.cjs +2 -2
- package/dist/actions/update-appointment.cjs.map +1 -1
- package/dist/actions/update-appointment.d.cts +2 -2
- package/dist/actions/update-appointment.d.mts +2 -2
- package/dist/actions/update-appointment.mjs +2 -2
- package/dist/actions/update-appointment.mjs.map +1 -1
- package/dist/actions/update-asset.cjs +5 -5
- package/dist/actions/update-asset.cjs.map +1 -1
- package/dist/actions/update-asset.d.cts +5 -5
- package/dist/actions/update-asset.d.mts +5 -5
- package/dist/actions/update-asset.mjs +5 -5
- package/dist/actions/update-asset.mjs.map +1 -1
- package/dist/actions/update-canned-response.cjs +1 -1
- package/dist/actions/update-canned-response.cjs.map +1 -1
- package/dist/actions/update-canned-response.d.cts +1 -1
- package/dist/actions/update-canned-response.d.mts +1 -1
- package/dist/actions/update-canned-response.mjs +1 -1
- package/dist/actions/update-canned-response.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +1 -1
- package/dist/actions/update-contact.d.mts +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-contract.cjs +1 -1
- package/dist/actions/update-contract.cjs.map +1 -1
- package/dist/actions/update-contract.d.cts +1 -1
- package/dist/actions/update-contract.d.mts +1 -1
- package/dist/actions/update-contract.mjs +1 -1
- package/dist/actions/update-contract.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -1
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +1 -1
- package/dist/actions/update-customer.d.mts +1 -1
- package/dist/actions/update-customer.mjs +1 -1
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-estimate-line-item.cjs +2 -2
- package/dist/actions/update-estimate-line-item.cjs.map +1 -1
- package/dist/actions/update-estimate-line-item.d.cts +2 -2
- package/dist/actions/update-estimate-line-item.d.mts +2 -2
- package/dist/actions/update-estimate-line-item.mjs +2 -2
- package/dist/actions/update-estimate-line-item.mjs.map +1 -1
- package/dist/actions/update-estimate.cjs +1 -1
- package/dist/actions/update-estimate.cjs.map +1 -1
- package/dist/actions/update-estimate.d.cts +1 -1
- package/dist/actions/update-estimate.d.mts +1 -1
- package/dist/actions/update-estimate.mjs +1 -1
- package/dist/actions/update-estimate.mjs.map +1 -1
- package/dist/actions/update-invoice-line-item.cjs +3 -3
- package/dist/actions/update-invoice-line-item.cjs.map +1 -1
- package/dist/actions/update-invoice-line-item.d.cts +3 -3
- package/dist/actions/update-invoice-line-item.d.mts +3 -3
- package/dist/actions/update-invoice-line-item.mjs +3 -3
- package/dist/actions/update-invoice-line-item.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +2 -2
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +2 -2
- package/dist/actions/update-invoice.d.mts +2 -2
- package/dist/actions/update-invoice.mjs +2 -2
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-lead.cjs +4 -4
- package/dist/actions/update-lead.cjs.map +1 -1
- package/dist/actions/update-lead.d.cts +6 -6
- package/dist/actions/update-lead.d.mts +6 -6
- package/dist/actions/update-lead.mjs +4 -4
- package/dist/actions/update-lead.mjs.map +1 -1
- package/dist/actions/update-phone.cjs +1 -1
- package/dist/actions/update-phone.cjs.map +1 -1
- package/dist/actions/update-phone.d.cts +1 -1
- package/dist/actions/update-phone.d.mts +1 -1
- package/dist/actions/update-phone.mjs +1 -1
- package/dist/actions/update-phone.mjs.map +1 -1
- package/dist/actions/update-portal-user.cjs +1 -1
- package/dist/actions/update-portal-user.cjs.map +1 -1
- package/dist/actions/update-portal-user.d.cts +1 -1
- package/dist/actions/update-portal-user.d.mts +1 -1
- package/dist/actions/update-portal-user.mjs +1 -1
- package/dist/actions/update-portal-user.mjs.map +1 -1
- package/dist/actions/update-product-serial.cjs +1 -1
- package/dist/actions/update-product-serial.cjs.map +1 -1
- package/dist/actions/update-product-serial.d.cts +1 -1
- package/dist/actions/update-product-serial.d.mts +1 -1
- package/dist/actions/update-product-serial.mjs +1 -1
- package/dist/actions/update-product-serial.mjs.map +1 -1
- package/dist/actions/update-product.cjs +3 -3
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +4 -4
- package/dist/actions/update-product.d.mts +4 -4
- package/dist/actions/update-product.mjs +3 -3
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/actions/update-schedule-line-item.cjs +1 -1
- package/dist/actions/update-schedule-line-item.cjs.map +1 -1
- package/dist/actions/update-schedule-line-item.d.cts +1 -1
- package/dist/actions/update-schedule-line-item.d.mts +1 -1
- package/dist/actions/update-schedule-line-item.mjs +1 -1
- package/dist/actions/update-schedule-line-item.mjs.map +1 -1
- package/dist/actions/update-schedule.cjs +2 -2
- package/dist/actions/update-schedule.cjs.map +1 -1
- package/dist/actions/update-schedule.d.cts +2 -2
- package/dist/actions/update-schedule.d.mts +2 -2
- package/dist/actions/update-schedule.mjs +2 -2
- package/dist/actions/update-schedule.mjs.map +1 -1
- package/dist/actions/update-ticket-line-item.cjs +2 -2
- package/dist/actions/update-ticket-line-item.cjs.map +1 -1
- package/dist/actions/update-ticket-line-item.d.cts +2 -2
- package/dist/actions/update-ticket-line-item.d.mts +2 -2
- package/dist/actions/update-ticket-line-item.mjs +2 -2
- package/dist/actions/update-ticket-line-item.mjs.map +1 -1
- package/dist/actions/update-ticket-timer.cjs +1 -1
- package/dist/actions/update-ticket-timer.cjs.map +1 -1
- package/dist/actions/update-ticket-timer.d.cts +1 -1
- package/dist/actions/update-ticket-timer.d.mts +1 -1
- package/dist/actions/update-ticket-timer.mjs +1 -1
- package/dist/actions/update-ticket-timer.mjs.map +1 -1
- package/dist/actions/update-ticket.cjs +5 -5
- package/dist/actions/update-ticket.cjs.map +1 -1
- package/dist/actions/update-ticket.d.cts +7 -6
- package/dist/actions/update-ticket.d.mts +7 -6
- package/dist/actions/update-ticket.mjs +5 -5
- package/dist/actions/update-ticket.mjs.map +1 -1
- package/dist/actions/update-timelog.cjs +1 -1
- package/dist/actions/update-timelog.cjs.map +1 -1
- package/dist/actions/update-timelog.d.cts +1 -1
- package/dist/actions/update-timelog.d.mts +1 -1
- package/dist/actions/update-timelog.mjs +1 -1
- package/dist/actions/update-timelog.mjs.map +1 -1
- package/dist/actions/update-user-device.cjs +2 -2
- package/dist/actions/update-user-device.cjs.map +1 -1
- package/dist/actions/update-user-device.d.cts +2 -2
- package/dist/actions/update-user-device.d.mts +2 -2
- package/dist/actions/update-user-device.mjs +2 -2
- package/dist/actions/update-user-device.mjs.map +1 -1
- package/dist/actions/update-vendor.cjs +1 -1
- package/dist/actions/update-vendor.cjs.map +1 -1
- package/dist/actions/update-vendor.d.cts +1 -1
- package/dist/actions/update-vendor.d.mts +1 -1
- package/dist/actions/update-vendor.mjs +1 -1
- package/dist/actions/update-vendor.mjs.map +1 -1
- package/dist/actions/update-wiki-page.cjs +1 -1
- package/dist/actions/update-wiki-page.cjs.map +1 -1
- package/dist/actions/update-wiki-page.d.cts +1 -1
- package/dist/actions/update-wiki-page.d.mts +1 -1
- package/dist/actions/update-wiki-page.mjs +1 -1
- package/dist/actions/update-wiki-page.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ const repairshoprChargeTicketTimer = action("REPAIRSHOPR_CHARGE_TICKET_TIMER", {
|
|
|
20
20
|
start_time: z.string().describe("Start time of the timer (ISO 8601 format)").nullable().optional(),
|
|
21
21
|
updated_at: z.string().describe("Timestamp when the timer entry was last updated (ISO 8601 format)").nullable().optional(),
|
|
22
22
|
ticket_line_item_id: z.number().int().describe("ID of the line item created when the timer was charged").nullable().optional()
|
|
23
|
-
}).describe("Response model for the charged ticket timer.")
|
|
23
|
+
}).passthrough().describe("Response model for the charged ticket timer.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { repairshoprChargeTicketTimer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-ticket-timer.mjs","names":[],"sources":["../../src/actions/charge-ticket-timer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprChargeTicketTimerInput = z.object({\n id: z.number().int().describe(\"The unique ID of the ticket containing the timer to charge.\"),\n timer_entry_id: z.number().int().describe(\"The ID of the timer entry to charge. This timer entry must exist for the specified ticket.\"),\n}).describe(\"Request model for charging a ticket timer.\");\nexport const RepairshoprChargeTicketTimerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the timer entry\").nullable(),\n notes: z.string().describe(\"Notes associated with the timer entry\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created this timer entry\").nullable().optional(),\n duration: z.number().describe(\"Duration of the timer in hours\").nullable().optional(),\n end_time: z.string().describe(\"End time of the timer (ISO 8601 format)\").nullable().optional(),\n recorded: z.boolean().describe(\"Whether the timer has been recorded/charged\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this timer entry is associated with\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the timer entry was created (ISO 8601 format)\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the timer (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the timer entry was last updated (ISO 8601 format)\").nullable().optional(),\n ticket_line_item_id: z.number().int().describe(\"ID of the line item created when the timer was charged\").nullable().optional(),\n}).describe(\"Response model for the charged ticket timer.\");\n\nexport const repairshoprChargeTicketTimer = action(\"REPAIRSHOPR_CHARGE_TICKET_TIMER\", {\n slug: \"repairshopr-charge-ticket-timer\",\n name: \"Charge Ticket Timer\",\n description: \"Tool to charge a timer entry for a specific ticket. Use when a timer entry needs to be converted to a billable line item on the ticket. Requires 'Ticket Timers - Overview' permission. The timer entry must exist and be associated with the specified ticket.\",\n input: RepairshoprChargeTicketTimerInput,\n output: RepairshoprChargeTicketTimerOutput,\n});\n"],"mappings":";;AAsBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F;CACxI,CAAC,CAAC,CAAC,SAAS,4CAmBH;CACP,QAnBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"charge-ticket-timer.mjs","names":[],"sources":["../../src/actions/charge-ticket-timer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprChargeTicketTimerInput = z.object({\n id: z.number().int().describe(\"The unique ID of the ticket containing the timer to charge.\"),\n timer_entry_id: z.number().int().describe(\"The ID of the timer entry to charge. This timer entry must exist for the specified ticket.\"),\n}).describe(\"Request model for charging a ticket timer.\");\nexport const RepairshoprChargeTicketTimerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the timer entry\").nullable(),\n notes: z.string().describe(\"Notes associated with the timer entry\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created this timer entry\").nullable().optional(),\n duration: z.number().describe(\"Duration of the timer in hours\").nullable().optional(),\n end_time: z.string().describe(\"End time of the timer (ISO 8601 format)\").nullable().optional(),\n recorded: z.boolean().describe(\"Whether the timer has been recorded/charged\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this timer entry is associated with\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the timer entry was created (ISO 8601 format)\").nullable().optional(),\n start_time: z.string().describe(\"Start time of the timer (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the timer entry was last updated (ISO 8601 format)\").nullable().optional(),\n ticket_line_item_id: z.number().int().describe(\"ID of the line item created when the timer was charged\").nullable().optional(),\n}).passthrough().describe(\"Response model for the charged ticket timer.\");\n\nexport const repairshoprChargeTicketTimer = action(\"REPAIRSHOPR_CHARGE_TICKET_TIMER\", {\n slug: \"repairshopr-charge-ticket-timer\",\n name: \"Charge Ticket Timer\",\n description: \"Tool to charge a timer entry for a specific ticket. Use when a timer entry needs to be converted to a billable line item on the ticket. Requires 'Ticket Timers - Overview' permission. The timer entry must exist and be associated with the specified ticket.\",\n input: RepairshoprChargeTicketTimerInput,\n output: RepairshoprChargeTicketTimerOutput,\n});\n"],"mappings":";;AAsBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F;CACxI,CAAC,CAAC,CAAC,SAAS,4CAmBH;CACP,QAnBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const RepairshoprConvertEstimateToInvoice_CustomerSchema = zod.z.object({
|
|
|
9
9
|
lastname: zod.z.string().describe("Customer's last name").nullable().optional(),
|
|
10
10
|
firstname: zod.z.string().describe("Customer's first name").nullable().optional(),
|
|
11
11
|
business_name: zod.z.string().describe("Business name").nullable().optional()
|
|
12
|
-
}).describe("Schema for customer information in the created invoice.");
|
|
12
|
+
}).passthrough().describe("Schema for customer information in the created invoice.");
|
|
13
13
|
const RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema = zod.z.object({
|
|
14
14
|
id: zod.z.number().int().describe("Unique identifier of the line item").nullable(),
|
|
15
15
|
cost: zod.z.number().describe("Cost amount of the item").nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema = zod.z.object({
|
|
|
21
21
|
quantity: zod.z.number().int().describe("Quantity of the item").nullable(),
|
|
22
22
|
product_id: zod.z.number().int().describe("ID of the product or service").nullable().optional(),
|
|
23
23
|
discount_percent: zod.z.number().describe("Discount percentage applied").nullable().optional()
|
|
24
|
-
}).describe("Schema for a line item in the created invoice.");
|
|
24
|
+
}).passthrough().describe("Schema for a line item in the created invoice.");
|
|
25
25
|
const RepairshoprConvertEstimateToInvoiceOutput = zod.z.object({
|
|
26
26
|
id: zod.z.number().int().describe("Unique identifier of the created invoice").nullable(),
|
|
27
27
|
tax: zod.z.string().describe("Tax amount as a string").nullable(),
|
|
@@ -46,7 +46,7 @@ const RepairshoprConvertEstimateToInvoiceOutput = zod.z.object({
|
|
|
46
46
|
verified_paid: zod.z.boolean().describe("Whether payment is verified").nullable().optional(),
|
|
47
47
|
tech_marked_paid: zod.z.boolean().describe("Whether a technician marked the invoice as paid").nullable().optional(),
|
|
48
48
|
customer_business_then_name: zod.z.string().describe("Snapshot of customer's business and name at invoice creation").nullable().optional()
|
|
49
|
-
}).describe("Response model for converting an estimate to an invoice.");
|
|
49
|
+
}).passthrough().describe("Response model for converting an estimate to an invoice.");
|
|
50
50
|
const repairshoprConvertEstimateToInvoice = require_action.action("REPAIRSHOPR_CONVERT_ESTIMATE_TO_INVOICE", {
|
|
51
51
|
slug: "repairshopr-convert-estimate-to-invoice",
|
|
52
52
|
name: "Convert Estimate to Invoice",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-estimate-to-invoice.cjs","names":["z","action"],"sources":["../../src/actions/convert-estimate-to-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprConvertEstimateToInvoiceInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the estimate to convert to an invoice\"),\n}).describe(\"Request model for converting an estimate to an invoice.\");\nconst RepairshoprConvertEstimateToInvoice_CustomerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n fullname: z.string().describe(\"Customer's full name\").nullable().optional(),\n lastname: z.string().describe(\"Customer's last name\").nullable().optional(),\n firstname: z.string().describe(\"Customer's first name\").nullable().optional(),\n business_name: z.string().describe(\"Business name\").nullable().optional(),\n}).describe(\"Schema for customer information in the created invoice.\");\nconst RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the line item\").nullable(),\n cost: z.number().describe(\"Cost amount of the item\").nullable().optional(),\n item: z.string().describe(\"SKU or identifier for the line item\").nullable().optional(),\n name: z.string().describe(\"Display name of the line item\").nullable().optional(),\n price: z.number().describe(\"Price charged for the item\").nullable(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n position: z.number().int().describe(\"Position of the item in the invoice list\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item\").nullable(),\n product_id: z.number().int().describe(\"ID of the product or service\").nullable().optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").nullable().optional(),\n}).describe(\"Schema for a line item in the created invoice.\");\nexport const RepairshoprConvertEstimateToInvoiceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created invoice\").nullable(),\n tax: z.string().describe(\"Tax amount as a string\").nullable(),\n date: z.string().describe(\"Issue date of the invoice (ISO 8601)\").nullable(),\n note: z.string().describe(\"Additional notes on the invoice\").nullable().optional(),\n total: z.string().describe(\"Total amount as a string\").nullable(),\n number: z.string().describe(\"Invoice number\").nullable(),\n is_paid: z.boolean().describe(\"Whether the invoice is fully paid\").nullable().optional(),\n pdf_url: z.string().describe(\"URL to the invoice PDF if generated\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the invoice\").nullable().optional(),\n customer: RepairshoprConvertEstimateToInvoice_CustomerSchema.nullable().optional(),\n due_date: z.string().describe(\"Due date of the invoice (YYYY-MM-DD)\").nullable().optional(),\n subtotal: z.string().describe(\"Subtotal amount as a string\").nullable(),\n po_number: z.string().describe(\"Purchase order number if provided\").nullable().optional(),\n ticket_id: z.number().int().describe(\"Associated ticket ID if any\").nullable().optional(),\n contact_id: z.number().int().describe(\"Primary contact ID for the invoice\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the invoice (ISO 8601)\").nullable(),\n line_items: z.array(RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema).describe(\"List of line items in the created invoice\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of the invoice (ISO 8601)\").nullable(),\n customer_id: z.number().int().describe(\"ID of the customer associated with the invoice\").nullable(),\n location_id: z.number().int().describe(\"Location ID associated with the invoice\").nullable().optional(),\n verified_paid: z.boolean().describe(\"Whether payment is verified\").nullable().optional(),\n tech_marked_paid: z.boolean().describe(\"Whether a technician marked the invoice as paid\").nullable().optional(),\n customer_business_then_name: z.string().describe(\"Snapshot of customer's business and name at invoice creation\").nullable().optional(),\n}).describe(\"Response model for converting an estimate to an invoice.\");\n\nexport const repairshoprConvertEstimateToInvoice = action(\"REPAIRSHOPR_CONVERT_ESTIMATE_TO_INVOICE\", {\n slug: \"repairshopr-convert-estimate-to-invoice\",\n name: \"Convert Estimate to Invoice\",\n description: \"Tool to convert an existing estimate to an invoice in RepairShopr. Use when you have an approved estimate that needs to be billed. Requires the estimate ID and appropriate permissions (\\\"Estimates - View Details\\\" and \\\"Invoices - Create\\\"). Returns the created invoice with all line items copied from the estimate.\",\n input: RepairshoprConvertEstimateToInvoiceInput,\n output: RepairshoprConvertEstimateToInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"convert-estimate-to-invoice.cjs","names":["z","action"],"sources":["../../src/actions/convert-estimate-to-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprConvertEstimateToInvoiceInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the estimate to convert to an invoice\"),\n}).describe(\"Request model for converting an estimate to an invoice.\");\nconst RepairshoprConvertEstimateToInvoice_CustomerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n fullname: z.string().describe(\"Customer's full name\").nullable().optional(),\n lastname: z.string().describe(\"Customer's last name\").nullable().optional(),\n firstname: z.string().describe(\"Customer's first name\").nullable().optional(),\n business_name: z.string().describe(\"Business name\").nullable().optional(),\n}).passthrough().describe(\"Schema for customer information in the created invoice.\");\nconst RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the line item\").nullable(),\n cost: z.number().describe(\"Cost amount of the item\").nullable().optional(),\n item: z.string().describe(\"SKU or identifier for the line item\").nullable().optional(),\n name: z.string().describe(\"Display name of the line item\").nullable().optional(),\n price: z.number().describe(\"Price charged for the item\").nullable(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n position: z.number().int().describe(\"Position of the item in the invoice list\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item\").nullable(),\n product_id: z.number().int().describe(\"ID of the product or service\").nullable().optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").nullable().optional(),\n}).passthrough().describe(\"Schema for a line item in the created invoice.\");\nexport const RepairshoprConvertEstimateToInvoiceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created invoice\").nullable(),\n tax: z.string().describe(\"Tax amount as a string\").nullable(),\n date: z.string().describe(\"Issue date of the invoice (ISO 8601)\").nullable(),\n note: z.string().describe(\"Additional notes on the invoice\").nullable().optional(),\n total: z.string().describe(\"Total amount as a string\").nullable(),\n number: z.string().describe(\"Invoice number\").nullable(),\n is_paid: z.boolean().describe(\"Whether the invoice is fully paid\").nullable().optional(),\n pdf_url: z.string().describe(\"URL to the invoice PDF if generated\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the invoice\").nullable().optional(),\n customer: RepairshoprConvertEstimateToInvoice_CustomerSchema.nullable().optional(),\n due_date: z.string().describe(\"Due date of the invoice (YYYY-MM-DD)\").nullable().optional(),\n subtotal: z.string().describe(\"Subtotal amount as a string\").nullable(),\n po_number: z.string().describe(\"Purchase order number if provided\").nullable().optional(),\n ticket_id: z.number().int().describe(\"Associated ticket ID if any\").nullable().optional(),\n contact_id: z.number().int().describe(\"Primary contact ID for the invoice\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the invoice (ISO 8601)\").nullable(),\n line_items: z.array(RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema).describe(\"List of line items in the created invoice\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of the invoice (ISO 8601)\").nullable(),\n customer_id: z.number().int().describe(\"ID of the customer associated with the invoice\").nullable(),\n location_id: z.number().int().describe(\"Location ID associated with the invoice\").nullable().optional(),\n verified_paid: z.boolean().describe(\"Whether payment is verified\").nullable().optional(),\n tech_marked_paid: z.boolean().describe(\"Whether a technician marked the invoice as paid\").nullable().optional(),\n customer_business_then_name: z.string().describe(\"Snapshot of customer's business and name at invoice creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for converting an estimate to an invoice.\");\n\nexport const repairshoprConvertEstimateToInvoice = action(\"REPAIRSHOPR_CONVERT_ESTIMATE_TO_INVOICE\", {\n slug: \"repairshopr-convert-estimate-to-invoice\",\n name: \"Convert Estimate to Invoice\",\n description: \"Tool to convert an existing estimate to an invoice in RepairShopr. Use when you have an approved estimate that needs to be billed. Requires the estimate ID and appropriate permissions (\\\"Estimates - View Details\\\" and \\\"Invoices - Create\\\"). Returns the created invoice with all line items copied from the estimate.\",\n input: RepairshoprConvertEstimateToInvoiceInput,\n output: RepairshoprConvertEstimateToInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAA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AAS;CACzF,YAAYA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ declare const RepairshoprConvertEstimateToInvoiceOutput: z.ZodObject<{
|
|
|
21
21
|
lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
subtotal: z.ZodNullable<z.ZodString>;
|
|
27
27
|
po_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,14 +39,14 @@ declare const RepairshoprConvertEstimateToInvoiceOutput: z.ZodObject<{
|
|
|
39
39
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
40
40
|
product_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
discount_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>>;
|
|
43
43
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
44
44
|
customer_id: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
location_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
verified_paid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
47
47
|
tech_marked_paid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
48
48
|
customer_business_then_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const repairshoprConvertEstimateToInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
id: number;
|
|
52
52
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -21,7 +21,7 @@ declare const RepairshoprConvertEstimateToInvoiceOutput: z.ZodObject<{
|
|
|
21
21
|
lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
subtotal: z.ZodNullable<z.ZodString>;
|
|
27
27
|
po_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,14 +39,14 @@ declare const RepairshoprConvertEstimateToInvoiceOutput: z.ZodObject<{
|
|
|
39
39
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
40
40
|
product_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
discount_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>>;
|
|
43
43
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
44
44
|
customer_id: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
location_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
verified_paid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
47
47
|
tech_marked_paid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
48
48
|
customer_business_then_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const repairshoprConvertEstimateToInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
id: number;
|
|
52
52
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const RepairshoprConvertEstimateToInvoice_CustomerSchema = z.object({
|
|
|
9
9
|
lastname: z.string().describe("Customer's last name").nullable().optional(),
|
|
10
10
|
firstname: z.string().describe("Customer's first name").nullable().optional(),
|
|
11
11
|
business_name: z.string().describe("Business name").nullable().optional()
|
|
12
|
-
}).describe("Schema for customer information in the created invoice.");
|
|
12
|
+
}).passthrough().describe("Schema for customer information in the created invoice.");
|
|
13
13
|
const RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema = z.object({
|
|
14
14
|
id: z.number().int().describe("Unique identifier of the line item").nullable(),
|
|
15
15
|
cost: z.number().describe("Cost amount of the item").nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema = z.object({
|
|
|
21
21
|
quantity: z.number().int().describe("Quantity of the item").nullable(),
|
|
22
22
|
product_id: z.number().int().describe("ID of the product or service").nullable().optional(),
|
|
23
23
|
discount_percent: z.number().describe("Discount percentage applied").nullable().optional()
|
|
24
|
-
}).describe("Schema for a line item in the created invoice.");
|
|
24
|
+
}).passthrough().describe("Schema for a line item in the created invoice.");
|
|
25
25
|
const repairshoprConvertEstimateToInvoice = action("REPAIRSHOPR_CONVERT_ESTIMATE_TO_INVOICE", {
|
|
26
26
|
slug: "repairshopr-convert-estimate-to-invoice",
|
|
27
27
|
name: "Convert Estimate to Invoice",
|
|
@@ -51,7 +51,7 @@ const repairshoprConvertEstimateToInvoice = action("REPAIRSHOPR_CONVERT_ESTIMATE
|
|
|
51
51
|
verified_paid: z.boolean().describe("Whether payment is verified").nullable().optional(),
|
|
52
52
|
tech_marked_paid: z.boolean().describe("Whether a technician marked the invoice as paid").nullable().optional(),
|
|
53
53
|
customer_business_then_name: z.string().describe("Snapshot of customer's business and name at invoice creation").nullable().optional()
|
|
54
|
-
}).describe("Response model for converting an estimate to an invoice.")
|
|
54
|
+
}).passthrough().describe("Response model for converting an estimate to an invoice.")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { repairshoprConvertEstimateToInvoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-estimate-to-invoice.mjs","names":[],"sources":["../../src/actions/convert-estimate-to-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprConvertEstimateToInvoiceInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the estimate to convert to an invoice\"),\n}).describe(\"Request model for converting an estimate to an invoice.\");\nconst RepairshoprConvertEstimateToInvoice_CustomerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n fullname: z.string().describe(\"Customer's full name\").nullable().optional(),\n lastname: z.string().describe(\"Customer's last name\").nullable().optional(),\n firstname: z.string().describe(\"Customer's first name\").nullable().optional(),\n business_name: z.string().describe(\"Business name\").nullable().optional(),\n}).describe(\"Schema for customer information in the created invoice.\");\nconst RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the line item\").nullable(),\n cost: z.number().describe(\"Cost amount of the item\").nullable().optional(),\n item: z.string().describe(\"SKU or identifier for the line item\").nullable().optional(),\n name: z.string().describe(\"Display name of the line item\").nullable().optional(),\n price: z.number().describe(\"Price charged for the item\").nullable(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n position: z.number().int().describe(\"Position of the item in the invoice list\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item\").nullable(),\n product_id: z.number().int().describe(\"ID of the product or service\").nullable().optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").nullable().optional(),\n}).describe(\"Schema for a line item in the created invoice.\");\nexport const RepairshoprConvertEstimateToInvoiceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created invoice\").nullable(),\n tax: z.string().describe(\"Tax amount as a string\").nullable(),\n date: z.string().describe(\"Issue date of the invoice (ISO 8601)\").nullable(),\n note: z.string().describe(\"Additional notes on the invoice\").nullable().optional(),\n total: z.string().describe(\"Total amount as a string\").nullable(),\n number: z.string().describe(\"Invoice number\").nullable(),\n is_paid: z.boolean().describe(\"Whether the invoice is fully paid\").nullable().optional(),\n pdf_url: z.string().describe(\"URL to the invoice PDF if generated\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the invoice\").nullable().optional(),\n customer: RepairshoprConvertEstimateToInvoice_CustomerSchema.nullable().optional(),\n due_date: z.string().describe(\"Due date of the invoice (YYYY-MM-DD)\").nullable().optional(),\n subtotal: z.string().describe(\"Subtotal amount as a string\").nullable(),\n po_number: z.string().describe(\"Purchase order number if provided\").nullable().optional(),\n ticket_id: z.number().int().describe(\"Associated ticket ID if any\").nullable().optional(),\n contact_id: z.number().int().describe(\"Primary contact ID for the invoice\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the invoice (ISO 8601)\").nullable(),\n line_items: z.array(RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema).describe(\"List of line items in the created invoice\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of the invoice (ISO 8601)\").nullable(),\n customer_id: z.number().int().describe(\"ID of the customer associated with the invoice\").nullable(),\n location_id: z.number().int().describe(\"Location ID associated with the invoice\").nullable().optional(),\n verified_paid: z.boolean().describe(\"Whether payment is verified\").nullable().optional(),\n tech_marked_paid: z.boolean().describe(\"Whether a technician marked the invoice as paid\").nullable().optional(),\n customer_business_then_name: z.string().describe(\"Snapshot of customer's business and name at invoice creation\").nullable().optional(),\n}).describe(\"Response model for converting an estimate to an invoice.\");\n\nexport const repairshoprConvertEstimateToInvoice = action(\"REPAIRSHOPR_CONVERT_ESTIMATE_TO_INVOICE\", {\n slug: \"repairshopr-convert-estimate-to-invoice\",\n name: \"Convert Estimate to Invoice\",\n description: \"Tool to convert an existing estimate to an invoice in RepairShopr. Use when you have an approved estimate that needs to be billed. Requires the estimate ID and appropriate permissions (\\\"Estimates - View Details\\\" and \\\"Invoices - Create\\\"). Returns the created invoice with all line items copied from the estimate.\",\n input: RepairshoprConvertEstimateToInvoiceInput,\n output: RepairshoprConvertEstimateToInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"convert-estimate-to-invoice.mjs","names":[],"sources":["../../src/actions/convert-estimate-to-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprConvertEstimateToInvoiceInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the estimate to convert to an invoice\"),\n}).describe(\"Request model for converting an estimate to an invoice.\");\nconst RepairshoprConvertEstimateToInvoice_CustomerSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer\").nullable(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n fullname: z.string().describe(\"Customer's full name\").nullable().optional(),\n lastname: z.string().describe(\"Customer's last name\").nullable().optional(),\n firstname: z.string().describe(\"Customer's first name\").nullable().optional(),\n business_name: z.string().describe(\"Business name\").nullable().optional(),\n}).passthrough().describe(\"Schema for customer information in the created invoice.\");\nconst RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the line item\").nullable(),\n cost: z.number().describe(\"Cost amount of the item\").nullable().optional(),\n item: z.string().describe(\"SKU or identifier for the line item\").nullable().optional(),\n name: z.string().describe(\"Display name of the line item\").nullable().optional(),\n price: z.number().describe(\"Price charged for the item\").nullable(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n position: z.number().int().describe(\"Position of the item in the invoice list\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item\").nullable(),\n product_id: z.number().int().describe(\"ID of the product or service\").nullable().optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").nullable().optional(),\n}).passthrough().describe(\"Schema for a line item in the created invoice.\");\nexport const RepairshoprConvertEstimateToInvoiceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created invoice\").nullable(),\n tax: z.string().describe(\"Tax amount as a string\").nullable(),\n date: z.string().describe(\"Issue date of the invoice (ISO 8601)\").nullable(),\n note: z.string().describe(\"Additional notes on the invoice\").nullable().optional(),\n total: z.string().describe(\"Total amount as a string\").nullable(),\n number: z.string().describe(\"Invoice number\").nullable(),\n is_paid: z.boolean().describe(\"Whether the invoice is fully paid\").nullable().optional(),\n pdf_url: z.string().describe(\"URL to the invoice PDF if generated\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the invoice\").nullable().optional(),\n customer: RepairshoprConvertEstimateToInvoice_CustomerSchema.nullable().optional(),\n due_date: z.string().describe(\"Due date of the invoice (YYYY-MM-DD)\").nullable().optional(),\n subtotal: z.string().describe(\"Subtotal amount as a string\").nullable(),\n po_number: z.string().describe(\"Purchase order number if provided\").nullable().optional(),\n ticket_id: z.number().int().describe(\"Associated ticket ID if any\").nullable().optional(),\n contact_id: z.number().int().describe(\"Primary contact ID for the invoice\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the invoice (ISO 8601)\").nullable(),\n line_items: z.array(RepairshoprConvertEstimateToInvoice_InvoiceLineItemSchema).describe(\"List of line items in the created invoice\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of the invoice (ISO 8601)\").nullable(),\n customer_id: z.number().int().describe(\"ID of the customer associated with the invoice\").nullable(),\n location_id: z.number().int().describe(\"Location ID associated with the invoice\").nullable().optional(),\n verified_paid: z.boolean().describe(\"Whether payment is verified\").nullable().optional(),\n tech_marked_paid: z.boolean().describe(\"Whether a technician marked the invoice as paid\").nullable().optional(),\n customer_business_then_name: z.string().describe(\"Snapshot of customer's business and name at invoice creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for converting an estimate to an invoice.\");\n\nexport const repairshoprConvertEstimateToInvoice = action(\"REPAIRSHOPR_CONVERT_ESTIMATE_TO_INVOICE\", {\n slug: \"repairshopr-convert-estimate-to-invoice\",\n name: \"Convert Estimate to Invoice\",\n description: \"Tool to convert an existing estimate to an invoice in RepairShopr. Use when you have an approved estimate that needs to be billed. Requires the estimate ID and appropriate permissions (\\\"Estimates - View Details\\\" and \\\"Invoices - Create\\\"). Returns the created invoice with all line items copied from the estimate.\",\n input: RepairshoprConvertEstimateToInvoiceInput,\n output: RepairshoprConvertEstimateToInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,C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C,SAAS;EACzF,YAAY,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const RepairshoprCreateAppointmentTypeOutput = zod.z.object({
|
|
|
15
15
|
location_type: zod.z.string().describe("Location type as returned by the API (string representation).").nullable().optional(),
|
|
16
16
|
email_instructions: zod.z.string().describe("Email instructions for this appointment type.").nullable().optional(),
|
|
17
17
|
location_hard_code: zod.z.string().describe("Hard-coded location string.").nullable().optional()
|
|
18
|
-
}).describe("Response schema for the created appointment type.");
|
|
18
|
+
}).passthrough().describe("Response schema for the created appointment type.");
|
|
19
19
|
const repairshoprCreateAppointmentType = require_action.action("REPAIRSHOPR_CREATE_APPOINTMENT_TYPE", {
|
|
20
20
|
slug: "repairshopr-create-appointment-type",
|
|
21
21
|
name: "Create Appointment Type",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-appointment-type.cjs","names":["z","action"],"sources":["../../src/actions/create-appointment-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateAppointmentTypeInput = z.object({\n name: z.string().describe(\"The name of the appointment type. This field is required.\"),\n location_type: z.union([z.enum([\"shop\"]).describe(\"Location type for appointments.\"), z.number().int()]),\n email_instructions: z.string().describe(\"Email instructions to be sent with appointment confirmations.\").optional(),\n location_hard_code: z.string().describe(\"Hard-coded location string. Used when location_type is set to pre-defined/hard-coded location mode.\").optional(),\n}).describe(\"Request body for creating a new appointment type.\");\nexport const RepairshoprCreateAppointmentTypeOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the appointment type.\").nullable(),\n name: z.string().describe(\"Name of the appointment type.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the appointment type was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the appointment type was last updated.\").nullable().optional(),\n location_type: z.string().describe(\"Location type as returned by the API (string representation).\").nullable().optional(),\n email_instructions: z.string().describe(\"Email instructions for this appointment type.\").nullable().optional(),\n location_hard_code: z.string().describe(\"Hard-coded location string.\").nullable().optional(),\n}).describe(\"Response schema for the created appointment type.\");\n\nexport const repairshoprCreateAppointmentType = action(\"REPAIRSHOPR_CREATE_APPOINTMENT_TYPE\", {\n slug: \"repairshopr-create-appointment-type\",\n name: \"Create Appointment Type\",\n description: \"Tool to create a new appointment type in RepairShopr. Use when defining appointment categories with specific location settings. Requires Global Admin permission.\",\n input: RepairshoprCreateAppointmentTypeInput,\n output: RepairshoprCreateAppointmentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACrF,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAiC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"create-appointment-type.cjs","names":["z","action"],"sources":["../../src/actions/create-appointment-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateAppointmentTypeInput = z.object({\n name: z.string().describe(\"The name of the appointment type. This field is required.\"),\n location_type: z.union([z.enum([\"shop\"]).describe(\"Location type for appointments.\"), z.number().int()]),\n email_instructions: z.string().describe(\"Email instructions to be sent with appointment confirmations.\").optional(),\n location_hard_code: z.string().describe(\"Hard-coded location string. Used when location_type is set to pre-defined/hard-coded location mode.\").optional(),\n}).describe(\"Request body for creating a new appointment type.\");\nexport const RepairshoprCreateAppointmentTypeOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the appointment type.\").nullable(),\n name: z.string().describe(\"Name of the appointment type.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the appointment type was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the appointment type was last updated.\").nullable().optional(),\n location_type: z.string().describe(\"Location type as returned by the API (string representation).\").nullable().optional(),\n email_instructions: z.string().describe(\"Email instructions for this appointment type.\").nullable().optional(),\n location_hard_code: z.string().describe(\"Hard-coded location string.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the created appointment type.\");\n\nexport const repairshoprCreateAppointmentType = action(\"REPAIRSHOPR_CREATE_APPOINTMENT_TYPE\", {\n slug: \"repairshopr-create-appointment-type\",\n name: \"Create Appointment Type\",\n description: \"Tool to create a new appointment type in RepairShopr. Use when defining appointment categories with specific location settings. Requires Global Admin permission.\",\n input: RepairshoprCreateAppointmentTypeInput,\n output: RepairshoprCreateAppointmentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACrF,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAiC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const RepairshoprCreateAppointmentTypeOutput: z.ZodObject<{
|
|
|
17
17
|
location_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
email_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
location_hard_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const repairshoprCreateAppointmentType: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
name: string;
|
|
23
23
|
location_type: number | "shop";
|
|
@@ -17,7 +17,7 @@ declare const RepairshoprCreateAppointmentTypeOutput: z.ZodObject<{
|
|
|
17
17
|
location_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
email_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
location_hard_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const repairshoprCreateAppointmentType: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
name: string;
|
|
23
23
|
location_type: number | "shop";
|
|
@@ -18,7 +18,7 @@ const repairshoprCreateAppointmentType = action("REPAIRSHOPR_CREATE_APPOINTMENT_
|
|
|
18
18
|
location_type: z.string().describe("Location type as returned by the API (string representation).").nullable().optional(),
|
|
19
19
|
email_instructions: z.string().describe("Email instructions for this appointment type.").nullable().optional(),
|
|
20
20
|
location_hard_code: z.string().describe("Hard-coded location string.").nullable().optional()
|
|
21
|
-
}).describe("Response schema for the created appointment type.")
|
|
21
|
+
}).passthrough().describe("Response schema for the created appointment type.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { repairshoprCreateAppointmentType };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-appointment-type.mjs","names":[],"sources":["../../src/actions/create-appointment-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateAppointmentTypeInput = z.object({\n name: z.string().describe(\"The name of the appointment type. This field is required.\"),\n location_type: z.union([z.enum([\"shop\"]).describe(\"Location type for appointments.\"), z.number().int()]),\n email_instructions: z.string().describe(\"Email instructions to be sent with appointment confirmations.\").optional(),\n location_hard_code: z.string().describe(\"Hard-coded location string. Used when location_type is set to pre-defined/hard-coded location mode.\").optional(),\n}).describe(\"Request body for creating a new appointment type.\");\nexport const RepairshoprCreateAppointmentTypeOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the appointment type.\").nullable(),\n name: z.string().describe(\"Name of the appointment type.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the appointment type was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the appointment type was last updated.\").nullable().optional(),\n location_type: z.string().describe(\"Location type as returned by the API (string representation).\").nullable().optional(),\n email_instructions: z.string().describe(\"Email instructions for this appointment type.\").nullable().optional(),\n location_hard_code: z.string().describe(\"Hard-coded location string.\").nullable().optional(),\n}).describe(\"Response schema for the created appointment type.\");\n\nexport const repairshoprCreateAppointmentType = action(\"REPAIRSHOPR_CREATE_APPOINTMENT_TYPE\", {\n slug: \"repairshopr-create-appointment-type\",\n name: \"Create Appointment Type\",\n description: \"Tool to create a new appointment type in RepairShopr. Use when defining appointment categories with specific location settings. Requires Global Admin permission.\",\n input: RepairshoprCreateAppointmentTypeInput,\n output: RepairshoprCreateAppointmentTypeOutput,\n});\n"],"mappings":";;AAoBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACrF,eAAe,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAiC,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,mDAeH;CACP,QAfoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-appointment-type.mjs","names":[],"sources":["../../src/actions/create-appointment-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateAppointmentTypeInput = z.object({\n name: z.string().describe(\"The name of the appointment type. This field is required.\"),\n location_type: z.union([z.enum([\"shop\"]).describe(\"Location type for appointments.\"), z.number().int()]),\n email_instructions: z.string().describe(\"Email instructions to be sent with appointment confirmations.\").optional(),\n location_hard_code: z.string().describe(\"Hard-coded location string. Used when location_type is set to pre-defined/hard-coded location mode.\").optional(),\n}).describe(\"Request body for creating a new appointment type.\");\nexport const RepairshoprCreateAppointmentTypeOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the appointment type.\").nullable(),\n name: z.string().describe(\"Name of the appointment type.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the appointment type was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the appointment type was last updated.\").nullable().optional(),\n location_type: z.string().describe(\"Location type as returned by the API (string representation).\").nullable().optional(),\n email_instructions: z.string().describe(\"Email instructions for this appointment type.\").nullable().optional(),\n location_hard_code: z.string().describe(\"Hard-coded location string.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the created appointment type.\");\n\nexport const repairshoprCreateAppointmentType = action(\"REPAIRSHOPR_CREATE_APPOINTMENT_TYPE\", {\n slug: \"repairshopr-create-appointment-type\",\n name: \"Create Appointment Type\",\n description: \"Tool to create a new appointment type in RepairShopr. Use when defining appointment categories with specific location settings. Requires Global Admin permission.\",\n input: RepairshoprCreateAppointmentTypeInput,\n output: RepairshoprCreateAppointmentTypeOutput,\n});\n"],"mappings":";;AAoBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACrF,eAAe,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAiC,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,mDAeH;CACP,QAfoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const RepairshoprCreateCannedResponseOutput = zod.z.object({
|
|
|
15
15
|
created_at: zod.z.string().describe("Timestamp when the canned response was created.").nullable().optional(),
|
|
16
16
|
updated_at: zod.z.string().describe("Timestamp when the canned response was last updated.").nullable().optional(),
|
|
17
17
|
canned_response_category_id: zod.z.number().int().describe("The ID of the category assigned to this canned response.").nullable().optional()
|
|
18
|
-
}).describe("Response schema for creating a new canned response.");
|
|
18
|
+
}).passthrough().describe("Response schema for creating a new canned response.");
|
|
19
19
|
const repairshoprCreateCannedResponse = require_action.action("REPAIRSHOPR_CREATE_CANNED_RESPONSE", {
|
|
20
20
|
slug: "repairshopr-create-canned-response",
|
|
21
21
|
name: "Create Canned Response",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-canned-response.cjs","names":["z","action"],"sources":["../../src/actions/create-canned-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateCannedResponseInput = z.object({\n body: z.string().describe(\"The body/content of the canned response. This is required.\"),\n title: z.string().describe(\"The title of the canned response. This is required.\"),\n subject: z.string().describe(\"The subject line for the canned response.\").optional(),\n canned_response_category_id: z.number().int().describe(\"The ID of the category to assign this canned response to.\").optional(),\n}).describe(\"Request body for creating a new canned response.\");\nexport const RepairshoprCreateCannedResponseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the canned response.\").nullable(),\n body: z.string().describe(\"The body/content of the canned response.\").nullable().optional(),\n title: z.string().describe(\"The title of the canned response.\").nullable().optional(),\n subject: z.string().describe(\"The subject line for the canned response.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the canned response was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the canned response was last updated.\").nullable().optional(),\n canned_response_category_id: z.number().int().describe(\"The ID of the category assigned to this canned response.\").nullable().optional(),\n}).describe(\"Response schema for creating a new canned response.\");\n\nexport const repairshoprCreateCannedResponse = action(\"REPAIRSHOPR_CREATE_CANNED_RESPONSE\", {\n slug: \"repairshopr-create-canned-response\",\n name: \"Create Canned Response\",\n description: \"Tool to create a new Canned Response. Use when you need to add a pre-formatted response template for tickets. Requires 'Ticket Canned Responses - Manage' permission.\",\n input: RepairshoprCreateCannedResponseInput,\n output: RepairshoprCreateCannedResponseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"create-canned-response.cjs","names":["z","action"],"sources":["../../src/actions/create-canned-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateCannedResponseInput = z.object({\n body: z.string().describe(\"The body/content of the canned response. This is required.\"),\n title: z.string().describe(\"The title of the canned response. This is required.\"),\n subject: z.string().describe(\"The subject line for the canned response.\").optional(),\n canned_response_category_id: z.number().int().describe(\"The ID of the category to assign this canned response to.\").optional(),\n}).describe(\"Request body for creating a new canned response.\");\nexport const RepairshoprCreateCannedResponseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the canned response.\").nullable(),\n body: z.string().describe(\"The body/content of the canned response.\").nullable().optional(),\n title: z.string().describe(\"The title of the canned response.\").nullable().optional(),\n subject: z.string().describe(\"The subject line for the canned response.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the canned response was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the canned response was last updated.\").nullable().optional(),\n canned_response_category_id: z.number().int().describe(\"The ID of the category assigned to this canned response.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a new canned response.\");\n\nexport const repairshoprCreateCannedResponse = action(\"REPAIRSHOPR_CREATE_CANNED_RESPONSE\", {\n slug: \"repairshopr-create-canned-response\",\n name: \"Create Canned Response\",\n description: \"Tool to create a new Canned Response. Use when you need to add a pre-formatted response template for tickets. Requires 'Ticket Canned Responses - Manage' permission.\",\n input: RepairshoprCreateCannedRes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CC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const RepairshoprCreateCannedResponseOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
canned_response_category_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const repairshoprCreateCannedResponse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
body: string;
|
|
21
21
|
title: string;
|
|
@@ -15,7 +15,7 @@ declare const RepairshoprCreateCannedResponseOutput: z.ZodObject<{
|
|
|
15
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
canned_response_category_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const repairshoprCreateCannedResponse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
body: string;
|
|
21
21
|
title: string;
|
|
@@ -18,7 +18,7 @@ const repairshoprCreateCannedResponse = action("REPAIRSHOPR_CREATE_CANNED_RESPON
|
|
|
18
18
|
created_at: z.string().describe("Timestamp when the canned response was created.").nullable().optional(),
|
|
19
19
|
updated_at: z.string().describe("Timestamp when the canned response was last updated.").nullable().optional(),
|
|
20
20
|
canned_response_category_id: z.number().int().describe("The ID of the category assigned to this canned response.").nullable().optional()
|
|
21
|
-
}).describe("Response schema for creating a new canned response.")
|
|
21
|
+
}).passthrough().describe("Response schema for creating a new canned response.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { repairshoprCreateCannedResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-canned-response.mjs","names":[],"sources":["../../src/actions/create-canned-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateCannedResponseInput = z.object({\n body: z.string().describe(\"The body/content of the canned response. This is required.\"),\n title: z.string().describe(\"The title of the canned response. This is required.\"),\n subject: z.string().describe(\"The subject line for the canned response.\").optional(),\n canned_response_category_id: z.number().int().describe(\"The ID of the category to assign this canned response to.\").optional(),\n}).describe(\"Request body for creating a new canned response.\");\nexport const RepairshoprCreateCannedResponseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the canned response.\").nullable(),\n body: z.string().describe(\"The body/content of the canned response.\").nullable().optional(),\n title: z.string().describe(\"The title of the canned response.\").nullable().optional(),\n subject: z.string().describe(\"The subject line for the canned response.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the canned response was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the canned response was last updated.\").nullable().optional(),\n canned_response_category_id: z.number().int().describe(\"The ID of the category assigned to this canned response.\").nullable().optional(),\n}).describe(\"Response schema for creating a new canned response.\");\n\nexport const repairshoprCreateCannedResponse = action(\"REPAIRSHOPR_CREATE_CANNED_RESPONSE\", {\n slug: \"repairshopr-create-canned-response\",\n name: \"Create Canned Response\",\n description: \"Tool to create a new Canned Response. Use when you need to add a pre-formatted response template for tickets. Requires 'Ticket Canned Responses - Manage' permission.\",\n input: RepairshoprCreateCannedResponseInput,\n output: RepairshoprCreateCannedResponseOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACnF,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,kDAeH;CACP,QAfmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-canned-response.mjs","names":[],"sources":["../../src/actions/create-canned-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateCannedResponseInput = z.object({\n body: z.string().describe(\"The body/content of the canned response. This is required.\"),\n title: z.string().describe(\"The title of the canned response. This is required.\"),\n subject: z.string().describe(\"The subject line for the canned response.\").optional(),\n canned_response_category_id: z.number().int().describe(\"The ID of the category to assign this canned response to.\").optional(),\n}).describe(\"Request body for creating a new canned response.\");\nexport const RepairshoprCreateCannedResponseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the canned response.\").nullable(),\n body: z.string().describe(\"The body/content of the canned response.\").nullable().optional(),\n title: z.string().describe(\"The title of the canned response.\").nullable().optional(),\n subject: z.string().describe(\"The subject line for the canned response.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the canned response was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the canned response was last updated.\").nullable().optional(),\n canned_response_category_id: z.number().int().describe(\"The ID of the category assigned to this canned response.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a new canned response.\");\n\nexport const repairshoprCreateCannedResponse = action(\"REPAIRSHOPR_CREATE_CANNED_RESPONSE\", {\n slug: \"repairshopr-create-canned-response\",\n name: \"Create Canned Response\",\n description: \"Tool to create a new Canned Response. Use when you need to add a pre-formatted response template for tickets. Requires 'Ticket Canned Responses - Manage' permission.\",\n input: RepairshoprCreateCannedResponseInput,\n output: RepairshoprCreateCannedResponseOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACnF,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,kDAeH;CACP,QAfmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -42,7 +42,7 @@ const RepairshoprCreateContactOutput = zod.z.object({
|
|
|
42
42
|
processed_mobile: zod.z.string().describe("Processed mobile number.").nullable().optional(),
|
|
43
43
|
since_updated_at: zod.z.string().describe("Timestamp since last update.").nullable().optional(),
|
|
44
44
|
ticket_matching_emails: zod.z.string().describe("Ticket matching emails.").nullable().optional()
|
|
45
|
-
}).describe("Response schema for creating a new contact.");
|
|
45
|
+
}).passthrough().describe("Response schema for creating a new contact.");
|
|
46
46
|
const repairshoprCreateContact = require_action.action("REPAIRSHOPR_CREATE_CONTACT", {
|
|
47
47
|
slug: "repairshopr-create-contact",
|
|
48
48
|
name: "Create Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateContactInput = z.object({\n zip: z.string().describe(\"ZIP or postal code of the contact's address.\").optional(),\n city: z.string().describe(\"City of the contact's address.\").optional(),\n name: z.string().describe(\"Name of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact.\").optional(),\n notes: z.string().describe(\"Additional notes about the contact.\").optional(),\n phone: z.string().describe(\"Phone number of the contact.\").optional(),\n state: z.string().describe(\"State of the contact's address.\").optional(),\n mobile: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n address1: z.string().describe(\"Primary address line of the contact.\").optional(),\n address2: z.string().describe(\"Secondary address line of the contact.\").optional(),\n customer_id: z.number().int().describe(\"Customer ID to associate the contact with. Required field.\"),\n}).describe(\"Request body for creating a new contact.\");\nexport const RepairshoprCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable(),\n zip: z.string().describe(\"Postal code.\").nullable().optional(),\n city: z.string().describe(\"City.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address.\").nullable().optional(),\n notes: z.string().describe(\"Notes.\").nullable().optional(),\n phone: z.string().describe(\"Phone number.\").nullable().optional(),\n state: z.string().describe(\"State.\").nullable().optional(),\n mobile: z.string().describe(\"Mobile number.\").nullable().optional(),\n opt_out: z.boolean().describe(\"Whether contact has opted out of marketing.\").nullable(),\n address1: z.string().describe(\"Primary address line.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line.\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n tag_list: z.array(z.string()).describe(\"List of tags associated with the contact.\").nullable().optional(),\n extension: z.string().describe(\"Phone extension if provided.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n vendor_id: z.number().int().describe(\"Associated Vendor ID if any.\").nullable().optional(),\n account_id: z.number().int().describe(\"Associated Account ID.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"Custom properties.\"),\n updated_at: z.string().describe(\"Update timestamp.\").nullable(),\n customer_id: z.number().int().describe(\"Associated Customer ID.\").nullable(),\n msft_entra_user: z.record(z.string(), z.unknown()).describe(\"Microsoft Entra user information.\").nullable().optional(),\n processed_phone: z.string().describe(\"Processed phone number.\").nullable().optional(),\n processed_mobile: z.string().describe(\"Processed mobile number.\").nullable().optional(),\n since_updated_at: z.string().describe(\"Timestamp since last update.\").nullable().optional(),\n ticket_matching_emails: z.string().describe(\"Ticket matching emails.\").nullable().optional(),\n}).describe(\"Response schema for creating a new contact.\");\n\nexport const repairshoprCreateContact = action(\"REPAIRSHOPR_CREATE_CONTACT\", {\n slug: \"repairshopr-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact associated with a customer. Use when you need to add a contact record to a customer account. Requires 'Customers - Edit' permission.\",\n input: RepairshoprCreateContactInput,\n output: RepairshoprCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO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AAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateContactInput = z.object({\n zip: z.string().describe(\"ZIP or postal code of the contact's address.\").optional(),\n city: z.string().describe(\"City of the contact's address.\").optional(),\n name: z.string().describe(\"Name of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact.\").optional(),\n notes: z.string().describe(\"Additional notes about the contact.\").optional(),\n phone: z.string().describe(\"Phone number of the contact.\").optional(),\n state: z.string().describe(\"State of the contact's address.\").optional(),\n mobile: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n address1: z.string().describe(\"Primary address line of the contact.\").optional(),\n address2: z.string().describe(\"Secondary address line of the contact.\").optional(),\n customer_id: z.number().int().describe(\"Customer ID to associate the contact with. Required field.\"),\n}).describe(\"Request body for creating a new contact.\");\nexport const RepairshoprCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable(),\n zip: z.string().describe(\"Postal code.\").nullable().optional(),\n city: z.string().describe(\"City.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address.\").nullable().optional(),\n notes: z.string().describe(\"Notes.\").nullable().optional(),\n phone: z.string().describe(\"Phone number.\").nullable().optional(),\n state: z.string().describe(\"State.\").nullable().optional(),\n mobile: z.string().describe(\"Mobile number.\").nullable().optional(),\n opt_out: z.boolean().describe(\"Whether contact has opted out of marketing.\").nullable(),\n address1: z.string().describe(\"Primary address line.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line.\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n tag_list: z.array(z.string()).describe(\"List of tags associated with the contact.\").nullable().optional(),\n extension: z.string().describe(\"Phone extension if provided.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n vendor_id: z.number().int().describe(\"Associated Vendor ID if any.\").nullable().optional(),\n account_id: z.number().int().describe(\"Associated Account ID.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"Custom properties.\"),\n updated_at: z.string().describe(\"Update timestamp.\").nullable(),\n customer_id: z.number().int().describe(\"Associated Customer ID.\").nullable(),\n msft_entra_user: z.record(z.string(), z.unknown()).describe(\"Microsoft Entra user information.\").nullable().optional(),\n processed_phone: z.string().describe(\"Processed phone number.\").nullable().optional(),\n processed_mobile: z.string().describe(\"Processed mobile number.\").nullable().optional(),\n since_updated_at: z.string().describe(\"Timestamp since last update.\").nullable().optional(),\n ticket_matching_emails: z.string().describe(\"Ticket matching emails.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a new contact.\");\n\nexport const repairshoprCreateContact = action(\"REPAIRSHOPR_CREATE_CONTACT\", {\n slug: \"repairshopr-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact associated with a customer. Use when you need to add a contact record to a customer account. Requires 'Customers - Edit' permission.\",\n input: RepairshoprCreateContactInput,\n output: RepairshoprCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,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ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
since_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
ticket_matching_emails: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const repairshoprCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
customer_id: number;
|
|
48
48
|
zip?: string | undefined;
|
|
@@ -42,7 +42,7 @@ declare const RepairshoprCreateContactOutput: z.ZodObject<{
|
|
|
42
42
|
processed_mobile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
since_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
ticket_matching_emails: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const repairshoprCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
customer_id: number;
|
|
48
48
|
zip?: string | undefined;
|
|
@@ -45,7 +45,7 @@ const repairshoprCreateContact = action("REPAIRSHOPR_CREATE_CONTACT", {
|
|
|
45
45
|
processed_mobile: z.string().describe("Processed mobile number.").nullable().optional(),
|
|
46
46
|
since_updated_at: z.string().describe("Timestamp since last update.").nullable().optional(),
|
|
47
47
|
ticket_matching_emails: z.string().describe("Ticket matching emails.").nullable().optional()
|
|
48
|
-
}).describe("Response schema for creating a new contact.")
|
|
48
|
+
}).passthrough().describe("Response schema for creating a new contact.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { repairshoprCreateContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateContactInput = z.object({\n zip: z.string().describe(\"ZIP or postal code of the contact's address.\").optional(),\n city: z.string().describe(\"City of the contact's address.\").optional(),\n name: z.string().describe(\"Name of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact.\").optional(),\n notes: z.string().describe(\"Additional notes about the contact.\").optional(),\n phone: z.string().describe(\"Phone number of the contact.\").optional(),\n state: z.string().describe(\"State of the contact's address.\").optional(),\n mobile: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n address1: z.string().describe(\"Primary address line of the contact.\").optional(),\n address2: z.string().describe(\"Secondary address line of the contact.\").optional(),\n customer_id: z.number().int().describe(\"Customer ID to associate the contact with. Required field.\"),\n}).describe(\"Request body for creating a new contact.\");\nexport const RepairshoprCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable(),\n zip: z.string().describe(\"Postal code.\").nullable().optional(),\n city: z.string().describe(\"City.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address.\").nullable().optional(),\n notes: z.string().describe(\"Notes.\").nullable().optional(),\n phone: z.string().describe(\"Phone number.\").nullable().optional(),\n state: z.string().describe(\"State.\").nullable().optional(),\n mobile: z.string().describe(\"Mobile number.\").nullable().optional(),\n opt_out: z.boolean().describe(\"Whether contact has opted out of marketing.\").nullable(),\n address1: z.string().describe(\"Primary address line.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line.\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n tag_list: z.array(z.string()).describe(\"List of tags associated with the contact.\").nullable().optional(),\n extension: z.string().describe(\"Phone extension if provided.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n vendor_id: z.number().int().describe(\"Associated Vendor ID if any.\").nullable().optional(),\n account_id: z.number().int().describe(\"Associated Account ID.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"Custom properties.\"),\n updated_at: z.string().describe(\"Update timestamp.\").nullable(),\n customer_id: z.number().int().describe(\"Associated Customer ID.\").nullable(),\n msft_entra_user: z.record(z.string(), z.unknown()).describe(\"Microsoft Entra user information.\").nullable().optional(),\n processed_phone: z.string().describe(\"Processed phone number.\").nullable().optional(),\n processed_mobile: z.string().describe(\"Processed mobile number.\").nullable().optional(),\n since_updated_at: z.string().describe(\"Timestamp since last update.\").nullable().optional(),\n ticket_matching_emails: z.string().describe(\"Ticket matching emails.\").nullable().optional(),\n}).describe(\"Response schema for creating a new contact.\");\n\nexport const repairshoprCreateContact = action(\"REPAIRSHOPR_CREATE_CONTACT\", {\n slug: \"repairshopr-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact associated with a customer. Use when you need to add a contact record to a customer account. Requires 'Customers - Edit' permission.\",\n input: RepairshoprCreateContactInput,\n output: RepairshoprCreateContactOutput,\n});\n"],"mappings":";;AA+CA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/C2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC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BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateContactInput = z.object({\n zip: z.string().describe(\"ZIP or postal code of the contact's address.\").optional(),\n city: z.string().describe(\"City of the contact's address.\").optional(),\n name: z.string().describe(\"Name of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact.\").optional(),\n notes: z.string().describe(\"Additional notes about the contact.\").optional(),\n phone: z.string().describe(\"Phone number of the contact.\").optional(),\n state: z.string().describe(\"State of the contact's address.\").optional(),\n mobile: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n address1: z.string().describe(\"Primary address line of the contact.\").optional(),\n address2: z.string().describe(\"Secondary address line of the contact.\").optional(),\n customer_id: z.number().int().describe(\"Customer ID to associate the contact with. Required field.\"),\n}).describe(\"Request body for creating a new contact.\");\nexport const RepairshoprCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable(),\n zip: z.string().describe(\"Postal code.\").nullable().optional(),\n city: z.string().describe(\"City.\").nullable().optional(),\n name: z.string().describe(\"Name of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address.\").nullable().optional(),\n notes: z.string().describe(\"Notes.\").nullable().optional(),\n phone: z.string().describe(\"Phone number.\").nullable().optional(),\n state: z.string().describe(\"State.\").nullable().optional(),\n mobile: z.string().describe(\"Mobile number.\").nullable().optional(),\n opt_out: z.boolean().describe(\"Whether contact has opted out of marketing.\").nullable(),\n address1: z.string().describe(\"Primary address line.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line.\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n tag_list: z.array(z.string()).describe(\"List of tags associated with the contact.\").nullable().optional(),\n extension: z.string().describe(\"Phone extension if provided.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n vendor_id: z.number().int().describe(\"Associated Vendor ID if any.\").nullable().optional(),\n account_id: z.number().int().describe(\"Associated Account ID.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"Custom properties.\"),\n updated_at: z.string().describe(\"Update timestamp.\").nullable(),\n customer_id: z.number().int().describe(\"Associated Customer ID.\").nullable(),\n msft_entra_user: z.record(z.string(), z.unknown()).describe(\"Microsoft Entra user information.\").nullable().optional(),\n processed_phone: z.string().describe(\"Processed phone number.\").nullable().optional(),\n processed_mobile: z.string().describe(\"Processed mobile number.\").nullable().optional(),\n since_updated_at: z.string().describe(\"Timestamp since last update.\").nullable().optional(),\n ticket_matching_emails: z.string().describe(\"Ticket matching emails.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a new contact.\");\n\nexport const repairshoprCreateContact = action(\"REPAIRSHOPR_CREATE_CONTACT\", {\n slug: \"repairshopr-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact associated with a customer. Use when you need to add a contact record to a customer account. Requires 'Customers - Edit' permission.\",\n input: RepairshoprCreateContactInput,\n output: RepairshoprCreateContactOutput,\n});\n"],"mappings":";;AA+CA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/C2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CA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,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -29,7 +29,7 @@ const RepairshoprCreateContractOutput = zod.z.object({
|
|
|
29
29
|
apply_to_all: zod.z.boolean().describe("Whether this contract applies to all customers or assets.").nullable().optional(),
|
|
30
30
|
contract_amount: zod.z.string().describe("Amount of the contract as a string.").nullable().optional(),
|
|
31
31
|
primary_contact: zod.z.string().describe("Primary contact for this contract.").nullable().optional()
|
|
32
|
-
}).describe("Response model for a created contract.");
|
|
32
|
+
}).passthrough().describe("Response model for a created contract.");
|
|
33
33
|
const repairshoprCreateContract = require_action.action("REPAIRSHOPR_CREATE_CONTRACT", {
|
|
34
34
|
slug: "repairshopr-create-contract",
|
|
35
35
|
name: "Create Contract",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contract.cjs","names":["z","action"],"sources":["../../src/actions/create-contract.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateContractInput = z.object({\n name: z.string().describe(\"Name of the contract.\").optional(),\n sla_id: z.number().int().describe(\"ID of the Service Level Agreement associated with this contract.\").optional(),\n status: z.string().describe(\"Status of the contract (e.g., 'Active', 'Inactive', 'Pending').\").optional(),\n end_date: z.string().describe(\"End date of the contract in ISO 8601 date-time format.\").optional(),\n likelihood: z.number().int().describe(\"Likelihood score or percentage for contract completion.\").optional(),\n start_date: z.string().describe(\"Start date of the contract in ISO 8601 date-time format.\").optional(),\n customer_id: z.number().int().describe(\"ID of the customer to associate with this contract. This is a required field.\"),\n description: z.string().describe(\"Detailed description of the contract.\").optional(),\n apply_to_all: z.boolean().describe(\"Whether this contract applies to all customers or assets.\").optional(),\n contract_amount: z.string().describe(\"Amount of the contract as a string.\").optional(),\n primary_contact: z.string().describe(\"Primary contact for this contract.\").optional(),\n}).describe(\"Request body for creating a new contract.\");\nexport const RepairshoprCreateContractOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contract.\").nullable(),\n name: z.string().describe(\"Name of the contract.\").nullable().optional(),\n sla_id: z.number().int().describe(\"ID of the Service Level Agreement associated with this contract.\").nullable().optional(),\n status: z.string().describe(\"Status of the contract.\").nullable().optional(),\n end_date: z.string().describe(\"End date of the contract.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contract was created.\").nullable().optional(),\n likelihood: z.number().int().describe(\"Likelihood score or percentage for contract completion.\").nullable().optional(),\n start_date: z.string().describe(\"Start date of the contract.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contract was last updated.\").nullable().optional(),\n customer_id: z.number().int().describe(\"ID of the customer associated with this contract.\").nullable(),\n description: z.string().describe(\"Description of the contract.\").nullable().optional(),\n apply_to_all: z.boolean().describe(\"Whether this contract applies to all customers or assets.\").nullable().optional(),\n contract_amount: z.string().describe(\"Amount of the contract as a string.\").nullable().optional(),\n primary_contact: z.string().describe(\"Primary contact for this contract.\").nullable().optional(),\n}).describe(\"Response model for a created contract.\");\n\nexport const repairshoprCreateContract = action(\"REPAIRSHOPR_CREATE_CONTRACT\", {\n slug: \"repairshopr-create-contract\",\n name: \"Create Contract\",\n description: \"Tool to create a new contract for a customer. Use when you need to establish a service contract with specified terms and conditions. Requires Contracts - Edit permission.\",\n input: RepairshoprCreateContractInput,\n output: RepairshoprCreateContractOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,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AAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"create-contract.cjs","names":["z","action"],"sources":["../../src/actions/create-contract.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprCreateContractInput = z.object({\n name: z.string().describe(\"Name of the contract.\").optional(),\n sla_id: z.number().int().describe(\"ID of the Service Level Agreement associated with this contract.\").optional(),\n status: z.string().describe(\"Status of the contract (e.g., 'Active', 'Inactive', 'Pending').\").optional(),\n end_date: z.string().describe(\"End date of the contract in ISO 8601 date-time format.\").optional(),\n likelihood: z.number().int().describe(\"Likelihood score or percentage for contract completion.\").optional(),\n start_date: z.string().describe(\"Start date of the contract in ISO 8601 date-time format.\").optional(),\n customer_id: z.number().int().describe(\"ID of the customer to associate with this contract. This is a required field.\"),\n description: z.string().describe(\"Detailed description of the contract.\").optional(),\n apply_to_all: z.boolean().describe(\"Whether this contract applies to all customers or assets.\").optional(),\n contract_amount: z.string().describe(\"Amount of the contract as a string.\").optional(),\n primary_contact: z.string().describe(\"Primary contact for this contract.\").optional(),\n}).describe(\"Request body for creating a new contract.\");\nexport const RepairshoprCreateContractOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contract.\").nullable(),\n name: z.string().describe(\"Name of the contract.\").nullable().optional(),\n sla_id: z.number().int().describe(\"ID of the Service Level Agreement associated with this contract.\").nullable().optional(),\n status: z.string().describe(\"Status of the contract.\").nullable().optional(),\n end_date: z.string().describe(\"End date of the contract.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contract was created.\").nullable().optional(),\n likelihood: z.number().int().describe(\"Likelihood score or percentage for contract completion.\").nullable().optional(),\n start_date: z.string().describe(\"Start date of the contract.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contract was last updated.\").nullable().optional(),\n customer_id: z.number().int().describe(\"ID of the customer associated with this contract.\").nullable(),\n description: z.string().describe(\"Description of the contract.\").nullable().optional(),\n apply_to_all: z.boolean().describe(\"Whether this contract applies to all customers or assets.\").nullable().optional(),\n contract_amount: z.string().describe(\"Amount of the contract as a string.\").nullable().optional(),\n primary_contact: z.string().describe(\"Primary contact for this contract.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created contract.\");\n\nexport const repairshoprCreateContract = action(\"REPAIRSHOPR_CREATE_CONTRACT\", {\n slug: \"repairshopr-create-contract\",\n name: \"Create Contract\",\n description: \"Tool to create a new contract for a customer. Use when you need to establish a service contract with specified terms and conditions. Requires Contracts - Edit permission.\",\n input: RepairshoprCreateContractInput,\n output: RepairshoprCreateContractOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qC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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -29,7 +29,7 @@ declare const RepairshoprCreateContractOutput: z.ZodObject<{
|
|
|
29
29
|
apply_to_all: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
30
|
contract_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
primary_contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const repairshoprCreateContract: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
customer_id: number;
|
|
35
35
|
name?: string | undefined;
|
|
@@ -29,7 +29,7 @@ declare const RepairshoprCreateContractOutput: z.ZodObject<{
|
|
|
29
29
|
apply_to_all: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
30
|
contract_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
primary_contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const repairshoprCreateContract: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
customer_id: number;
|
|
35
35
|
name?: string | undefined;
|
|
@@ -32,7 +32,7 @@ const repairshoprCreateContract = action("REPAIRSHOPR_CREATE_CONTRACT", {
|
|
|
32
32
|
apply_to_all: z.boolean().describe("Whether this contract applies to all customers or assets.").nullable().optional(),
|
|
33
33
|
contract_amount: z.string().describe("Amount of the contract as a string.").nullable().optional(),
|
|
34
34
|
primary_contact: z.string().describe("Primary contact for this contract.").nullable().optional()
|
|
35
|
-
}).describe("Response model for a created contract.")
|
|
35
|
+
}).passthrough().describe("Response model for a created contract.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { repairshoprCreateContract };
|