@keystrokehq/repairshopr 0.1.2 → 0.1.4
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/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -36,8 +36,8 @@ const RepairshoprAddEstimateLineItem_LineItemResponseSchema = zod.z.object({
|
|
|
36
36
|
tax_rate_id: zod.z.number().int().describe("Tax rate ID applied").nullable().optional(),
|
|
37
37
|
discount_percent: zod.z.number().describe("Discount percentage applied").nullable().optional(),
|
|
38
38
|
product_category: zod.z.string().describe("Category of the product").nullable().optional()
|
|
39
|
-
}).describe("Response schema for a line item object.");
|
|
40
|
-
const RepairshoprAddEstimateLineItemOutput = zod.z.object({ line_item: RepairshoprAddEstimateLineItem_LineItemResponseSchema.nullable() }).describe("Response model for adding a line item to an estimate.");
|
|
39
|
+
}).passthrough().describe("Response schema for a line item object.");
|
|
40
|
+
const RepairshoprAddEstimateLineItemOutput = zod.z.object({ line_item: RepairshoprAddEstimateLineItem_LineItemResponseSchema.nullable() }).passthrough().describe("Response model for adding a line item to an estimate.");
|
|
41
41
|
const repairshoprAddEstimateLineItem = require_action.action("REPAIRSHOPR_ADD_ESTIMATE_LINE_ITEM", {
|
|
42
42
|
slug: "repairshopr-add-estimate-line-item",
|
|
43
43
|
name: "Add Estimate Line Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-estimate-line-item.cjs","names":["z","action"],"sources":["../../src/actions/add-estimate-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddEstimateLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the estimate to add the line item to\"),\n cost: z.number().describe(\"Cost amount of the item\").optional(),\n item: z.string().describe(\"SKU or identifier for the line item\").optional(),\n name: z.string().describe(\"Display name of the line item\").optional(),\n price: z.number().describe(\"Price charged for the item\").optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").optional(),\n user_id: z.number().int().describe(\"ID of user creating the line item\").optional(),\n position: z.number().int().describe(\"Position of the item in the estimate list\").optional(),\n quantity: z.number().describe(\"Quantity of the item\").optional(),\n tax_note: z.string().describe(\"Tax note for the item\").optional(),\n upc_code: z.string().describe(\"UPC code of the item\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product\").optional(),\n tax_rate_id: z.number().int().describe(\"Specific tax rate ID to apply\").optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").optional(),\n product_category: z.string().describe(\"Category of the product\").optional(),\n}).describe(\"Request model for adding a line item to an estimate.\");\nconst RepairshoprAddEstimateLineItem_LineItemResponseSchema = 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().optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the item\").nullable().optional(),\n position: z.number().int().describe(\"Position in the estimate list\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item\").nullable().optional(),\n tax_note: z.string().describe(\"Tax note for the item\").nullable().optional(),\n upc_code: z.string().describe(\"UPC code of the item\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601)\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601)\").nullable().optional(),\n tax_rate_id: z.number().int().describe(\"Tax rate ID applied\").nullable().optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").nullable().optional(),\n product_category: z.string().describe(\"Category of the product\").nullable().optional(),\n}).describe(\"Response schema for a line item object.\");\nexport const RepairshoprAddEstimateLineItemOutput = z.object({\n line_item: RepairshoprAddEstimateLineItem_LineItemResponseSchema.nullable(),\n}).describe(\"Response model for adding a line item to an estimate.\");\n\nexport const repairshoprAddEstimateLineItem = action(\"REPAIRSHOPR_ADD_ESTIMATE_LINE_ITEM\", {\n slug: \"repairshopr-add-estimate-line-item\",\n name: \"Add Estimate Line Item\",\n description: \"Tool to add a line item to an existing estimate. Use when you need to add products or services to an estimate in RepairShopr.\",\n input: RepairshoprAddEstimateLineItemInput,\n output: Repairsh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AAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"add-estimate-line-item.cjs","names":["z","action"],"sources":["../../src/actions/add-estimate-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddEstimateLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the estimate to add the line item to\"),\n cost: z.number().describe(\"Cost amount of the item\").optional(),\n item: z.string().describe(\"SKU or identifier for the line item\").optional(),\n name: z.string().describe(\"Display name of the line item\").optional(),\n price: z.number().describe(\"Price charged for the item\").optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").optional(),\n user_id: z.number().int().describe(\"ID of user creating the line item\").optional(),\n position: z.number().int().describe(\"Position of the item in the estimate list\").optional(),\n quantity: z.number().describe(\"Quantity of the item\").optional(),\n tax_note: z.string().describe(\"Tax note for the item\").optional(),\n upc_code: z.string().describe(\"UPC code of the item\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product\").optional(),\n tax_rate_id: z.number().int().describe(\"Specific tax rate ID to apply\").optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").optional(),\n product_category: z.string().describe(\"Category of the product\").optional(),\n}).describe(\"Request model for adding a line item to an estimate.\");\nconst RepairshoprAddEstimateLineItem_LineItemResponseSchema = 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().optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the item\").nullable().optional(),\n position: z.number().int().describe(\"Position in the estimate list\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item\").nullable().optional(),\n tax_note: z.string().describe(\"Tax note for the item\").nullable().optional(),\n upc_code: z.string().describe(\"UPC code of the item\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601)\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601)\").nullable().optional(),\n tax_rate_id: z.number().int().describe(\"Tax rate ID applied\").nullable().optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").nullable().optional(),\n product_category: z.string().describe(\"Category of the product\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a line item object.\");\nexport const RepairshoprAddEstimateLineItemOutput = z.object({\n line_item: RepairshoprAddEstimateLineItem_LineItemResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for adding a line item to an estimate.\");\n\nexport const repairshoprAddEstimateLineItem = action(\"REPAIRSHOPR_ADD_ESTIMATE_LINE_ITEM\", {\n slug: \"repairshopr-add-estimate-line-item\",\n name: \"Add Estimate Line Item\",\n description: \"Tool to add a line item to an existing estimate. Use when you need to add products or services to an estimate in RepairShopr.\",\n input: RepairshoprAddEstimateLineItemInput,\n output: RepairshoprAddEstimateLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACjF,kB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AUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,WAAW,sDAAsD,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -37,8 +37,8 @@ declare const RepairshoprAddEstimateLineItemOutput: z.ZodObject<{
|
|
|
37
37
|
tax_rate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
discount_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
product_category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const repairshoprAddEstimateLineItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
id: number;
|
|
44
44
|
cost?: number | undefined;
|
|
@@ -37,8 +37,8 @@ declare const RepairshoprAddEstimateLineItemOutput: z.ZodObject<{
|
|
|
37
37
|
tax_rate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
discount_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
product_category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const repairshoprAddEstimateLineItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
id: number;
|
|
44
44
|
cost?: number | undefined;
|
|
@@ -36,13 +36,13 @@ const RepairshoprAddEstimateLineItem_LineItemResponseSchema = z.object({
|
|
|
36
36
|
tax_rate_id: z.number().int().describe("Tax rate ID applied").nullable().optional(),
|
|
37
37
|
discount_percent: z.number().describe("Discount percentage applied").nullable().optional(),
|
|
38
38
|
product_category: z.string().describe("Category of the product").nullable().optional()
|
|
39
|
-
}).describe("Response schema for a line item object.");
|
|
39
|
+
}).passthrough().describe("Response schema for a line item object.");
|
|
40
40
|
const repairshoprAddEstimateLineItem = action("REPAIRSHOPR_ADD_ESTIMATE_LINE_ITEM", {
|
|
41
41
|
slug: "repairshopr-add-estimate-line-item",
|
|
42
42
|
name: "Add Estimate Line Item",
|
|
43
43
|
description: "Tool to add a line item to an existing estimate. Use when you need to add products or services to an estimate in RepairShopr.",
|
|
44
44
|
input: RepairshoprAddEstimateLineItemInput,
|
|
45
|
-
output: z.object({ line_item: RepairshoprAddEstimateLineItem_LineItemResponseSchema.nullable() }).describe("Response model for adding a line item to an estimate.")
|
|
45
|
+
output: z.object({ line_item: RepairshoprAddEstimateLineItem_LineItemResponseSchema.nullable() }).passthrough().describe("Response model for adding a line item to an estimate.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { repairshoprAddEstimateLineItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-estimate-line-item.mjs","names":[],"sources":["../../src/actions/add-estimate-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddEstimateLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the estimate to add the line item to\"),\n cost: z.number().describe(\"Cost amount of the item\").optional(),\n item: z.string().describe(\"SKU or identifier for the line item\").optional(),\n name: z.string().describe(\"Display name of the line item\").optional(),\n price: z.number().describe(\"Price charged for the item\").optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").optional(),\n user_id: z.number().int().describe(\"ID of user creating the line item\").optional(),\n position: z.number().int().describe(\"Position of the item in the estimate list\").optional(),\n quantity: z.number().describe(\"Quantity of the item\").optional(),\n tax_note: z.string().describe(\"Tax note for the item\").optional(),\n upc_code: z.string().describe(\"UPC code of the item\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product\").optional(),\n tax_rate_id: z.number().int().describe(\"Specific tax rate ID to apply\").optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").optional(),\n product_category: z.string().describe(\"Category of the product\").optional(),\n}).describe(\"Request model for adding a line item to an estimate.\");\nconst RepairshoprAddEstimateLineItem_LineItemResponseSchema = 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().optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the item\").nullable().optional(),\n position: z.number().int().describe(\"Position in the estimate list\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item\").nullable().optional(),\n tax_note: z.string().describe(\"Tax note for the item\").nullable().optional(),\n upc_code: z.string().describe(\"UPC code of the item\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601)\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601)\").nullable().optional(),\n tax_rate_id: z.number().int().describe(\"Tax rate ID applied\").nullable().optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").nullable().optional(),\n product_category: z.string().describe(\"Category of the product\").nullable().optional(),\n}).describe(\"Response schema for a line item object.\");\nexport const RepairshoprAddEstimateLineItemOutput = z.object({\n line_item: RepairshoprAddEstimateLineItem_LineItemResponseSchema.nullable(),\n}).describe(\"Response model for adding a line item to an estimate.\");\n\nexport const repairshoprAddEstimateLineItem = action(\"REPAIRSHOPR_ADD_ESTIMATE_LINE_ITEM\", {\n slug: \"repairshopr-add-estimate-line-item\",\n name: \"Add Estimate Line Item\",\n description: \"Tool to add a line item to an existing estimate. Use when you need to add products or services to an estimate in RepairShopr.\",\n input: RepairshoprAddEstimateLineItemInput,\n output: RepairshoprAddEstimateLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SA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,"file":"add-estimate-line-item.mjs","names":[],"sources":["../../src/actions/add-estimate-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddEstimateLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the estimate to add the line item to\"),\n cost: z.number().describe(\"Cost amount of the item\").optional(),\n item: z.string().describe(\"SKU or identifier for the line item\").optional(),\n name: z.string().describe(\"Display name of the line item\").optional(),\n price: z.number().describe(\"Price charged for the item\").optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").optional(),\n user_id: z.number().int().describe(\"ID of user creating the line item\").optional(),\n position: z.number().int().describe(\"Position of the item in the estimate list\").optional(),\n quantity: z.number().describe(\"Quantity of the item\").optional(),\n tax_note: z.string().describe(\"Tax note for the item\").optional(),\n upc_code: z.string().describe(\"UPC code of the item\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product\").optional(),\n tax_rate_id: z.number().int().describe(\"Specific tax rate ID to apply\").optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").optional(),\n product_category: z.string().describe(\"Category of the product\").optional(),\n}).describe(\"Request model for adding a line item to an estimate.\");\nconst RepairshoprAddEstimateLineItem_LineItemResponseSchema = 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().optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the item\").nullable().optional(),\n position: z.number().int().describe(\"Position in the estimate list\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item\").nullable().optional(),\n tax_note: z.string().describe(\"Tax note for the item\").nullable().optional(),\n upc_code: z.string().describe(\"UPC code of the item\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601)\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601)\").nullable().optional(),\n tax_rate_id: z.number().int().describe(\"Tax rate ID applied\").nullable().optional(),\n discount_percent: z.number().describe(\"Discount percentage applied\").nullable().optional(),\n product_category: z.string().describe(\"Category of the product\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a line item object.\");\nexport const RepairshoprAddEstimateLineItemOutput = z.object({\n line_item: RepairshoprAddEstimateLineItem_LineItemResponseSchema.nullable(),\n}).passthrough().describe(\"Response model for adding a line item to an estimate.\");\n\nexport const repairshoprAddEstimateLineItem = action(\"REPAIRSHOPR_ADD_ESTIMATE_LINE_ITEM\", {\n slug: \"repairshopr-add-estimate-line-item\",\n name: \"Add Estimate Line Item\",\n description: \"Tool to add a line item to an existing estimate. Use when you need to add products or services to an estimate in RepairShopr.\",\n input: RepairshoprAddEstimateLineItemInput,\n output: RepairshoprAddEstimateLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2C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@ const RepairshoprAddPurchaseOrderLineItemOutput = zod.z.object({
|
|
|
15
15
|
total_cost: zod.z.number().describe("Total cost for this line item (quantity * cost).").nullable().optional(),
|
|
16
16
|
updated_at: zod.z.string().describe("Timestamp when the line item was last updated (ISO 8601).").nullable().optional(),
|
|
17
17
|
purchase_order_id: zod.z.number().int().describe("ID of the purchase order this line item belongs to.").nullable().optional()
|
|
18
|
-
}).describe("Response schema for adding a line item to a purchase order.");
|
|
18
|
+
}).passthrough().describe("Response schema for adding a line item to a purchase order.");
|
|
19
19
|
const repairshoprAddPurchaseOrderLineItem = require_action.action("REPAIRSHOPR_ADD_PURCHASE_ORDER_LINE_ITEM", {
|
|
20
20
|
slug: "repairshopr-add-purchase-order-line-item",
|
|
21
21
|
name: "Add Purchase Order Line Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-purchase-order-line-item.cjs","names":["z","action"],"sources":["../../src/actions/add-purchase-order-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddPurchaseOrderLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the purchase order to add the line item to.\"),\n quantity: z.number().int().describe(\"Quantity of the product to add to the purchase order. Must be at least 1.\"),\n product_id: z.number().int().describe(\"ID of the product to add to the purchase order. The product must have 'maintain_stock' set to true.\"),\n}).describe(\"Request body for adding a product line item to a purchase order.\");\nexport const RepairshoprAddPurchaseOrderLineItemOutput = z.object({\n id: z.number().int().describe(\"ID of the purchase order line item.\").nullable().optional(),\n cost: z.number().describe(\"Cost per unit of the product.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the product in the line item.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601).\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product added to the purchase order.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost for this line item (quantity * cost).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601).\").nullable().optional(),\n purchase_order_id: z.number().int().describe(\"ID of the purchase order this line item belongs to.\").nullable().optional(),\n}).describe(\"Response schema for adding a line item to a purchase order.\");\n\nexport const repairshoprAddPurchaseOrderLineItem = action(\"REPAIRSHOPR_ADD_PURCHASE_ORDER_LINE_ITEM\", {\n slug: \"repairshopr-add-purchase-order-line-item\",\n name: \"Add Purchase Order Line Item\",\n description: \"Tool to add a product line item to an existing purchase order. Use when you need to add inventory items to a purchase order. The product must have stock tracking enabled (maintain_stock=true).\",\n input: RepairshoprAddPurchaseOrderLineItemInput,\n output: RepairshoprAddPurchaseOrderLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG;AAC7I,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"add-purchase-order-line-item.cjs","names":["z","action"],"sources":["../../src/actions/add-purchase-order-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddPurchaseOrderLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the purchase order to add the line item to.\"),\n quantity: z.number().int().describe(\"Quantity of the product to add to the purchase order. Must be at least 1.\"),\n product_id: z.number().int().describe(\"ID of the product to add to the purchase order. The product must have 'maintain_stock' set to true.\"),\n}).describe(\"Request body for adding a product line item to a purchase order.\");\nexport const RepairshoprAddPurchaseOrderLineItemOutput = z.object({\n id: z.number().int().describe(\"ID of the purchase order line item.\").nullable().optional(),\n cost: z.number().describe(\"Cost per unit of the product.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the product in the line item.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601).\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product added to the purchase order.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost for this line item (quantity * cost).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601).\").nullable().optional(),\n purchase_order_id: z.number().int().describe(\"ID of the purchase order this line item belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for adding a line item to a purchase order.\");\n\nexport const repairshoprAddPurchaseOrderLineItem = action(\"REPAIRSHOPR_ADD_PURCHASE_ORDER_LINE_ITEM\", {\n slug: \"repairshopr-add-purchase-order-line-item\",\n name: \"Add Purchase Order Line Item\",\n description: \"Tool to add a product line item to an existing purchase order. Use when you need to add inventory items to a purchase order. The product must have stock tracking enabled (maintain_stock=true).\",\n input: RepairshoprAddPurchaseOrderLineItemInput,\n output: RepairshoprAddPurchaseOrderLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG;AAC7I,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const RepairshoprAddPurchaseOrderLineItemOutput: z.ZodObject<{
|
|
|
15
15
|
total_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
purchase_order_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const repairshoprAddPurchaseOrderLineItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
id: number;
|
|
21
21
|
quantity: number;
|
|
@@ -15,7 +15,7 @@ declare const RepairshoprAddPurchaseOrderLineItemOutput: z.ZodObject<{
|
|
|
15
15
|
total_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
purchase_order_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const repairshoprAddPurchaseOrderLineItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
id: number;
|
|
21
21
|
quantity: number;
|
|
@@ -18,7 +18,7 @@ const repairshoprAddPurchaseOrderLineItem = action("REPAIRSHOPR_ADD_PURCHASE_ORD
|
|
|
18
18
|
total_cost: z.number().describe("Total cost for this line item (quantity * cost).").nullable().optional(),
|
|
19
19
|
updated_at: z.string().describe("Timestamp when the line item was last updated (ISO 8601).").nullable().optional(),
|
|
20
20
|
purchase_order_id: z.number().int().describe("ID of the purchase order this line item belongs to.").nullable().optional()
|
|
21
|
-
}).describe("Response schema for adding a line item to a purchase order.")
|
|
21
|
+
}).passthrough().describe("Response schema for adding a line item to a purchase order.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { repairshoprAddPurchaseOrderLineItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-purchase-order-line-item.mjs","names":[],"sources":["../../src/actions/add-purchase-order-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddPurchaseOrderLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the purchase order to add the line item to.\"),\n quantity: z.number().int().describe(\"Quantity of the product to add to the purchase order. Must be at least 1.\"),\n product_id: z.number().int().describe(\"ID of the product to add to the purchase order. The product must have 'maintain_stock' set to true.\"),\n}).describe(\"Request body for adding a product line item to a purchase order.\");\nexport const RepairshoprAddPurchaseOrderLineItemOutput = z.object({\n id: z.number().int().describe(\"ID of the purchase order line item.\").nullable().optional(),\n cost: z.number().describe(\"Cost per unit of the product.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the product in the line item.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601).\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product added to the purchase order.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost for this line item (quantity * cost).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601).\").nullable().optional(),\n purchase_order_id: z.number().int().describe(\"ID of the purchase order this line item belongs to.\").nullable().optional(),\n}).describe(\"Response schema for adding a line item to a purchase order.\");\n\nexport const repairshoprAddPurchaseOrderLineItem = action(\"REPAIRSHOPR_ADD_PURCHASE_ORDER_LINE_ITEM\", {\n slug: \"repairshopr-add-purchase-order-line-item\",\n name: \"Add Purchase Order Line Item\",\n description: \"Tool to add a product line item to an existing purchase order. Use when you need to add inventory items to a purchase order. The product must have stock tracking enabled (maintain_stock=true).\",\n input: RepairshoprAddPurchaseOrderLineItemInput,\n output: RepairshoprAddPurchaseOrderLineItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG;CAC7I,CAAC,CAAC,CAAC,SAAS,kEAgBH;CACP,QAhBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"add-purchase-order-line-item.mjs","names":[],"sources":["../../src/actions/add-purchase-order-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddPurchaseOrderLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the purchase order to add the line item to.\"),\n quantity: z.number().int().describe(\"Quantity of the product to add to the purchase order. Must be at least 1.\"),\n product_id: z.number().int().describe(\"ID of the product to add to the purchase order. The product must have 'maintain_stock' set to true.\"),\n}).describe(\"Request body for adding a product line item to a purchase order.\");\nexport const RepairshoprAddPurchaseOrderLineItemOutput = z.object({\n id: z.number().int().describe(\"ID of the purchase order line item.\").nullable().optional(),\n cost: z.number().describe(\"Cost per unit of the product.\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the product in the line item.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601).\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product added to the purchase order.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost for this line item (quantity * cost).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601).\").nullable().optional(),\n purchase_order_id: z.number().int().describe(\"ID of the purchase order this line item belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for adding a line item to a purchase order.\");\n\nexport const repairshoprAddPurchaseOrderLineItem = action(\"REPAIRSHOPR_ADD_PURCHASE_ORDER_LINE_ITEM\", {\n slug: \"repairshopr-add-purchase-order-line-item\",\n name: \"Add Purchase Order Line Item\",\n description: \"Tool to add a product line item to an existing purchase order. Use when you need to add inventory items to a purchase order. The product must have stock tracking enabled (maintain_stock=true).\",\n input: RepairshoprAddPurchaseOrderLineItemInput,\n output: RepairshoprAddPurchaseOrderLineItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG;CAC7I,CAAC,CAAC,CAAC,SAAS,kEAgBH;CACP,QAhBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -45,7 +45,7 @@ const RepairshoprAddScheduleLineItemOutput = zod.z.object({
|
|
|
45
45
|
contact_field_type_id: zod.z.number().int().describe("Contact field type ID").nullable().optional(),
|
|
46
46
|
saved_asset_search_id: zod.z.number().int().describe("Saved asset search ID").nullable().optional(),
|
|
47
47
|
contact_field_answer_id: zod.z.number().int().describe("Contact field answer ID").nullable().optional()
|
|
48
|
-
}).describe("Response model for the added schedule line item.");
|
|
48
|
+
}).passthrough().describe("Response model for the added schedule line item.");
|
|
49
49
|
const repairshoprAddScheduleLineItem = require_action.action("REPAIRSHOPR_ADD_SCHEDULE_LINE_ITEM", {
|
|
50
50
|
slug: "repairshopr-add-schedule-line-item",
|
|
51
51
|
name: "Add Schedule Line Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-schedule-line-item.cjs","names":["z","action"],"sources":["../../src/actions/add-schedule-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddScheduleLineItemInput = z.object({\n id: z.number().int().describe(\"The unique ID of the schedule to add the line item to\"),\n name: z.string().describe(\"Display name of the line item\").optional(),\n taxable: z.boolean().describe(\"Whether the line item is taxable\").optional(),\n user_id: z.number().int().describe(\"ID of the user creating the line item\").optional(),\n position: z.number().int().describe(\"Position of the item in the schedule list\").optional(),\n quantity: z.number().describe(\"Quantity of the item. Must be non-negative.\").optional(),\n cost_cents: z.number().int().describe(\"Cost price in cents. Must be non-negative.\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product to bill\").optional(),\n description: z.string().describe(\"Detailed description of the line item\").optional(),\n retail_cents: z.number().int().describe(\"Retail price in cents. Must be non-negative.\").optional(),\n asset_type_id: z.number().int().describe(\"ID of the asset type associated with the line item\").optional(),\n one_time_charge: z.boolean().describe(\"Whether this is a one-time charge or recurring\").optional(),\n recurring_type_id: z.enum([\"monthly\", \"quarterly\", \"semi_annually\", \"annually\", \"biweekly\", \"weekly\"]).describe(\"Recurring type for schedule line items.\").optional(),\n contact_field_type_id: z.number().int().describe(\"ID of the contact field type\").optional(),\n saved_asset_search_id: z.number().int().describe(\"ID of a saved asset search\").optional(),\n contact_field_answer_id: z.number().int().describe(\"ID of the contact field answer\").optional(),\n}).describe(\"Request model for adding a line item to an invoice schedule.\");\nexport const RepairshoprAddScheduleLineItemOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created line item\").nullable(),\n name: z.string().describe(\"Name of the line item\").nullable().optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the item\").nullable().optional(),\n position: z.number().int().describe(\"Position in the schedule list\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item\").nullable().optional(),\n cost_cents: z.number().int().describe(\"Cost in cents\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601)\").nullable().optional(),\n product_id: z.number().int().describe(\"Associated product ID\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp (ISO 8601)\").nullable().optional(),\n description: z.string().describe(\"Description of the line item\").nullable().optional(),\n retail_cents: z.number().int().describe(\"Retail price in cents\").nullable().optional(),\n asset_type_id: z.number().int().describe(\"Asset type ID\").nullable().optional(),\n one_time_charge: z.boolean().describe(\"Whether this is a one-time charge\").nullable().optional(),\n recurring_type_id: z.number().int().describe(\"Recurring type ID for the line item\").nullable().optional(),\n contact_field_type_id: z.number().int().describe(\"Contact field type ID\").nullable().optional(),\n saved_asset_search_id: z.number().int().describe(\"Saved asset search ID\").nullable().optional(),\n contact_field_answer_id: z.number().int().describe(\"Contact field answer ID\").nullable().optional(),\n}).describe(\"Response model for the added schedule line item.\");\n\nexport const repairshoprAddScheduleLineItem = action(\"REPAIRSHOPR_ADD_SCHEDULE_LINE_ITEM\", {\n slug: \"repairshopr-add-schedule-line-item\",\n name: \"Add Schedule Line Item\",\n description: \"Tool to add a line item to an invoice schedule. Use when adding recurring charges or one-time items to an existing schedule. Required permission: Recurring Invoices - Edit.\",\n input: RepairshoprAddScheduleLineItemInput,\n output: RepairshoprAddScheduleLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"add-schedule-line-item.cjs","names":["z","action"],"sources":["../../src/actions/add-schedule-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddScheduleLineItemInput = z.object({\n id: z.number().int().describe(\"The unique ID of the schedule to add the line item to\"),\n name: z.string().describe(\"Display name of the line item\").optional(),\n taxable: z.boolean().describe(\"Whether the line item is taxable\").optional(),\n user_id: z.number().int().describe(\"ID of the user creating the line item\").optional(),\n position: z.number().int().describe(\"Position of the item in the schedule list\").optional(),\n quantity: z.number().describe(\"Quantity of the item. Must be non-negative.\").optional(),\n cost_cents: z.number().int().describe(\"Cost price in cents. Must be non-negative.\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product to bill\").optional(),\n description: z.string().describe(\"Detailed description of the line item\").optional(),\n retail_cents: z.number().int().describe(\"Retail price in cents. Must be non-negative.\").optional(),\n asset_type_id: z.number().int().describe(\"ID of the asset type associated with the line item\").optional(),\n one_time_charge: z.boolean().describe(\"Whether this is a one-time charge or recurring\").optional(),\n recurring_type_id: z.enum([\"monthly\", \"quarterly\", \"semi_annually\", \"annually\", \"biweekly\", \"weekly\"]).describe(\"Recurring type for schedule line items.\").optional(),\n contact_field_type_id: z.number().int().describe(\"ID of the contact field type\").optional(),\n saved_asset_search_id: z.number().int().describe(\"ID of a saved asset search\").optional(),\n contact_field_answer_id: z.number().int().describe(\"ID of the contact field answer\").optional(),\n}).describe(\"Request model for adding a line item to an invoice schedule.\");\nexport const RepairshoprAddScheduleLineItemOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created line item\").nullable(),\n name: z.string().describe(\"Name of the line item\").nullable().optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the item\").nullable().optional(),\n position: z.number().int().describe(\"Position in the schedule list\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item\").nullable().optional(),\n cost_cents: z.number().int().describe(\"Cost in cents\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601)\").nullable().optional(),\n product_id: z.number().int().describe(\"Associated product ID\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp (ISO 8601)\").nullable().optional(),\n description: z.string().describe(\"Description of the line item\").nullable().optional(),\n retail_cents: z.number().int().describe(\"Retail price in cents\").nullable().optional(),\n asset_type_id: z.number().int().describe(\"Asset type ID\").nullable().optional(),\n one_time_charge: z.boolean().describe(\"Whether this is a one-time charge\").nullable().optional(),\n recurring_type_id: z.number().int().describe(\"Recurring type ID for the line item\").nullable().optional(),\n contact_field_type_id: z.number().int().describe(\"Contact field type ID\").nullable().optional(),\n saved_asset_search_id: z.number().int().describe(\"Saved asset search ID\").nullable().optional(),\n contact_field_answer_id: z.number().int().describe(\"Contact field answer ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for the added schedule line item.\");\n\nexport const repairshoprAddScheduleLineItem = action(\"REPAIRSHOPR_ADD_SCHEDULE_LINE_ITEM\", {\n slug: \"repairshopr-add-schedule-line-item\",\n name: \"Add Schedule Line Item\",\n description: \"Tool to add a line item to an invoice schedule. Use when adding recurring charges or one-time items to an existing schedule. Required permission: Recurring Invoices - Edit.\",\n input: RepairshoprAddScheduleLineItemInput,\n output: RepairshoprAddScheduleLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI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AAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -45,7 +45,7 @@ declare const RepairshoprAddScheduleLineItemOutput: z.ZodObject<{
|
|
|
45
45
|
contact_field_type_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
saved_asset_search_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
contact_field_answer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>;
|
|
49
49
|
declare const repairshoprAddScheduleLineItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
50
50
|
id: number;
|
|
51
51
|
name?: string | undefined;
|
|
@@ -45,7 +45,7 @@ declare const RepairshoprAddScheduleLineItemOutput: z.ZodObject<{
|
|
|
45
45
|
contact_field_type_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
saved_asset_search_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
contact_field_answer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>;
|
|
49
49
|
declare const repairshoprAddScheduleLineItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
50
50
|
id: number;
|
|
51
51
|
name?: string | undefined;
|
|
@@ -48,7 +48,7 @@ const repairshoprAddScheduleLineItem = action("REPAIRSHOPR_ADD_SCHEDULE_LINE_ITE
|
|
|
48
48
|
contact_field_type_id: z.number().int().describe("Contact field type ID").nullable().optional(),
|
|
49
49
|
saved_asset_search_id: z.number().int().describe("Saved asset search ID").nullable().optional(),
|
|
50
50
|
contact_field_answer_id: z.number().int().describe("Contact field answer ID").nullable().optional()
|
|
51
|
-
}).describe("Response model for the added schedule line item.")
|
|
51
|
+
}).passthrough().describe("Response model for the added schedule line item.")
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { repairshoprAddScheduleLineItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-schedule-line-item.mjs","names":[],"sources":["../../src/actions/add-schedule-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddScheduleLineItemInput = z.object({\n id: z.number().int().describe(\"The unique ID of the schedule to add the line item to\"),\n name: z.string().describe(\"Display name of the line item\").optional(),\n taxable: z.boolean().describe(\"Whether the line item is taxable\").optional(),\n user_id: z.number().int().describe(\"ID of the user creating the line item\").optional(),\n position: z.number().int().describe(\"Position of the item in the schedule list\").optional(),\n quantity: z.number().describe(\"Quantity of the item. Must be non-negative.\").optional(),\n cost_cents: z.number().int().describe(\"Cost price in cents. Must be non-negative.\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product to bill\").optional(),\n description: z.string().describe(\"Detailed description of the line item\").optional(),\n retail_cents: z.number().int().describe(\"Retail price in cents. Must be non-negative.\").optional(),\n asset_type_id: z.number().int().describe(\"ID of the asset type associated with the line item\").optional(),\n one_time_charge: z.boolean().describe(\"Whether this is a one-time charge or recurring\").optional(),\n recurring_type_id: z.enum([\"monthly\", \"quarterly\", \"semi_annually\", \"annually\", \"biweekly\", \"weekly\"]).describe(\"Recurring type for schedule line items.\").optional(),\n contact_field_type_id: z.number().int().describe(\"ID of the contact field type\").optional(),\n saved_asset_search_id: z.number().int().describe(\"ID of a saved asset search\").optional(),\n contact_field_answer_id: z.number().int().describe(\"ID of the contact field answer\").optional(),\n}).describe(\"Request model for adding a line item to an invoice schedule.\");\nexport const RepairshoprAddScheduleLineItemOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created line item\").nullable(),\n name: z.string().describe(\"Name of the line item\").nullable().optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the item\").nullable().optional(),\n position: z.number().int().describe(\"Position in the schedule list\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item\").nullable().optional(),\n cost_cents: z.number().int().describe(\"Cost in cents\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601)\").nullable().optional(),\n product_id: z.number().int().describe(\"Associated product ID\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp (ISO 8601)\").nullable().optional(),\n description: z.string().describe(\"Description of the line item\").nullable().optional(),\n retail_cents: z.number().int().describe(\"Retail price in cents\").nullable().optional(),\n asset_type_id: z.number().int().describe(\"Asset type ID\").nullable().optional(),\n one_time_charge: z.boolean().describe(\"Whether this is a one-time charge\").nullable().optional(),\n recurring_type_id: z.number().int().describe(\"Recurring type ID for the line item\").nullable().optional(),\n contact_field_type_id: z.number().int().describe(\"Contact field type ID\").nullable().optional(),\n saved_asset_search_id: z.number().int().describe(\"Saved asset search ID\").nullable().optional(),\n contact_field_answer_id: z.number().int().describe(\"Contact field answer ID\").nullable().optional(),\n}).describe(\"Response model for the added schedule line item.\");\n\nexport const repairshoprAddScheduleLineItem = action(\"REPAIRSHOPR_ADD_SCHEDULE_LINE_ITEM\", {\n slug: \"repairshopr-add-schedule-line-item\",\n name: \"Add Schedule Line Item\",\n description: \"Tool to add a line item to an invoice schedule. Use when adding recurring charges or one-time items to an existing schedule. Required permission: Recurring Invoices - Edit.\",\n input: RepairshoprAddScheduleLineItemInput,\n output: RepairshoprAddScheduleLineItemOutput,\n});\n"],"mappings":";;AA2CA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3CiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAA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,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"add-schedule-line-item.mjs","names":[],"sources":["../../src/actions/add-schedule-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddScheduleLineItemInput = z.object({\n id: z.number().int().describe(\"The unique ID of the schedule to add the line item to\"),\n name: z.string().describe(\"Display name of the line item\").optional(),\n taxable: z.boolean().describe(\"Whether the line item is taxable\").optional(),\n user_id: z.number().int().describe(\"ID of the user creating the line item\").optional(),\n position: z.number().int().describe(\"Position of the item in the schedule list\").optional(),\n quantity: z.number().describe(\"Quantity of the item. Must be non-negative.\").optional(),\n cost_cents: z.number().int().describe(\"Cost price in cents. Must be non-negative.\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product to bill\").optional(),\n description: z.string().describe(\"Detailed description of the line item\").optional(),\n retail_cents: z.number().int().describe(\"Retail price in cents. Must be non-negative.\").optional(),\n asset_type_id: z.number().int().describe(\"ID of the asset type associated with the line item\").optional(),\n one_time_charge: z.boolean().describe(\"Whether this is a one-time charge or recurring\").optional(),\n recurring_type_id: z.enum([\"monthly\", \"quarterly\", \"semi_annually\", \"annually\", \"biweekly\", \"weekly\"]).describe(\"Recurring type for schedule line items.\").optional(),\n contact_field_type_id: z.number().int().describe(\"ID of the contact field type\").optional(),\n saved_asset_search_id: z.number().int().describe(\"ID of a saved asset search\").optional(),\n contact_field_answer_id: z.number().int().describe(\"ID of the contact field answer\").optional(),\n}).describe(\"Request model for adding a line item to an invoice schedule.\");\nexport const RepairshoprAddScheduleLineItemOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created line item\").nullable(),\n name: z.string().describe(\"Name of the line item\").nullable().optional(),\n taxable: z.boolean().describe(\"Whether the item is taxable\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the item\").nullable().optional(),\n position: z.number().int().describe(\"Position in the schedule list\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item\").nullable().optional(),\n cost_cents: z.number().int().describe(\"Cost in cents\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601)\").nullable().optional(),\n product_id: z.number().int().describe(\"Associated product ID\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp (ISO 8601)\").nullable().optional(),\n description: z.string().describe(\"Description of the line item\").nullable().optional(),\n retail_cents: z.number().int().describe(\"Retail price in cents\").nullable().optional(),\n asset_type_id: z.number().int().describe(\"Asset type ID\").nullable().optional(),\n one_time_charge: z.boolean().describe(\"Whether this is a one-time charge\").nullable().optional(),\n recurring_type_id: z.number().int().describe(\"Recurring type ID for the line item\").nullable().optional(),\n contact_field_type_id: z.number().int().describe(\"Contact field type ID\").nullable().optional(),\n saved_asset_search_id: z.number().int().describe(\"Saved asset search ID\").nullable().optional(),\n contact_field_answer_id: z.number().int().describe(\"Contact field answer ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for the added schedule line item.\");\n\nexport const repairshoprAddScheduleLineItem = action(\"REPAIRSHOPR_ADD_SCHEDULE_LINE_ITEM\", {\n slug: \"repairshopr-add-schedule-line-item\",\n name: \"Add Schedule Line Item\",\n description: \"Tool to add a line item to an invoice schedule. Use when adding recurring charges or one-time items to an existing schedule. Required permission: Recurring Invoices - Edit.\",\n input: RepairshoprAddScheduleLineItemInput,\n output: RepairshoprAddScheduleLineItemOutput,\n});\n"],"mappings":";;AA2CA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3CiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,u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,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const RepairshoprAddTicketCommentOutput = zod.z.object({
|
|
|
20
20
|
ticket_id: zod.z.number().int().describe("ID of the ticket this comment belongs to.").nullable(),
|
|
21
21
|
created_at: zod.z.string().describe("Timestamp when the comment was created (ISO 8601).").nullable(),
|
|
22
22
|
updated_at: zod.z.string().describe("Timestamp when the comment was last updated (ISO 8601).").nullable()
|
|
23
|
-
}).describe("Response schema for adding a comment to a ticket.");
|
|
23
|
+
}).passthrough().describe("Response schema for adding a comment to a ticket.");
|
|
24
24
|
const repairshoprAddTicketComment = require_action.action("REPAIRSHOPR_ADD_TICKET_COMMENT", {
|
|
25
25
|
slug: "repairshopr-add-ticket-comment",
|
|
26
26
|
name: "Add Ticket Comment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-ticket-comment.cjs","names":["z","action"],"sources":["../../src/actions/add-ticket-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddTicketCommentInput = z.object({\n id: z.number().int().describe(\"ID of the ticket to add the comment to. Required.\"),\n body: z.string().describe(\"The text content of the comment. Required.\"),\n tech: z.string().describe(\"Technician name or identifier to associate with this comment. Optional.\").optional(),\n hidden: z.boolean().describe(\"Whether the comment should be hidden from the customer (private comment). Default is false.\").optional(),\n subject: z.string().describe(\"Subject or title of the comment. Required.\"),\n sms_body: z.string().describe(\"Optional text content to send as an SMS notification. If not provided, no SMS is sent.\").optional(),\n do_not_email: z.boolean().describe(\"If true, prevents sending an email notification to the customer about this comment. Default is false.\").optional(),\n}).describe(\"Request model for adding a comment to a ticket.\");\nexport const RepairshoprAddTicketCommentOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created comment.\").nullable(),\n body: z.string().describe(\"Text content of the comment.\").nullable().optional(),\n tech: z.string().describe(\"Technician name associated with the comment.\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the comment is hidden from the customer.\").nullable(),\n subject: z.string().describe(\"Subject of the comment.\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created the comment.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this comment belongs to.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created (ISO 8601).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the comment was last updated (ISO 8601).\").nullable(),\n}).describe(\"Response schema for adding a comment to a ticket.\");\n\nexport const repairshoprAddTicketComment = action(\"REPAIRSHOPR_ADD_TICKET_COMMENT\", {\n slug: \"repairshopr-add-ticket-comment\",\n name: \"Add Ticket Comment\",\n description: \"Tool to add a comment to an existing ticket in RepairShopr. Use when you need to add notes, updates, or responses to a ticket. Requires Tickets - Edit permission. Single-Customer Users can only access their own tickets.\",\n input: RepairshoprAddTicketCommentInput,\n output: RepairshoprAddTicketCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAA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AS;AACtG,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"add-ticket-comment.cjs","names":["z","action"],"sources":["../../src/actions/add-ticket-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddTicketCommentInput = z.object({\n id: z.number().int().describe(\"ID of the ticket to add the comment to. Required.\"),\n body: z.string().describe(\"The text content of the comment. Required.\"),\n tech: z.string().describe(\"Technician name or identifier to associate with this comment. Optional.\").optional(),\n hidden: z.boolean().describe(\"Whether the comment should be hidden from the customer (private comment). Default is false.\").optional(),\n subject: z.string().describe(\"Subject or title of the comment. Required.\"),\n sms_body: z.string().describe(\"Optional text content to send as an SMS notification. If not provided, no SMS is sent.\").optional(),\n do_not_email: z.boolean().describe(\"If true, prevents sending an email notification to the customer about this comment. Default is false.\").optional(),\n}).describe(\"Request model for adding a comment to a ticket.\");\nexport const RepairshoprAddTicketCommentOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created comment.\").nullable(),\n body: z.string().describe(\"Text content of the comment.\").nullable().optional(),\n tech: z.string().describe(\"Technician name associated with the comment.\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the comment is hidden from the customer.\").nullable(),\n subject: z.string().describe(\"Subject of the comment.\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created the comment.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this comment belongs to.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created (ISO 8601).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the comment was last updated (ISO 8601).\").nullable(),\n}).passthrough().describe(\"Response schema for adding a comment to a ticket.\");\n\nexport const repairshoprAddTicketComment = action(\"REPAIRSHOPR_ADD_TICKET_COMMENT\", {\n slug: \"repairshopr-add-ticket-comment\",\n name: \"Add Ticket Comment\",\n description: \"Tool to add a comment to an existing ticket in RepairShopr. Use when you need to add notes, updates, or responses to a ticket. Requires Tickets - Edit permission. Single-Customer Users can only access their own tickets.\",\n input: RepairshoprAddTicketCommentInput,\n output: RepairshoprAddTicketCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const RepairshoprAddTicketCommentOutput: z.ZodObject<{
|
|
|
20
20
|
ticket_id: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
created_at: z.ZodNullable<z.ZodString>;
|
|
22
22
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const repairshoprAddTicketComment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
body: string;
|
|
@@ -20,7 +20,7 @@ declare const RepairshoprAddTicketCommentOutput: z.ZodObject<{
|
|
|
20
20
|
ticket_id: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
created_at: z.ZodNullable<z.ZodString>;
|
|
22
22
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const repairshoprAddTicketComment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
body: string;
|
|
@@ -23,7 +23,7 @@ const repairshoprAddTicketComment = action("REPAIRSHOPR_ADD_TICKET_COMMENT", {
|
|
|
23
23
|
ticket_id: z.number().int().describe("ID of the ticket this comment belongs to.").nullable(),
|
|
24
24
|
created_at: z.string().describe("Timestamp when the comment was created (ISO 8601).").nullable(),
|
|
25
25
|
updated_at: z.string().describe("Timestamp when the comment was last updated (ISO 8601).").nullable()
|
|
26
|
-
}).describe("Response schema for adding a comment to a ticket.")
|
|
26
|
+
}).passthrough().describe("Response schema for adding a comment to a ticket.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { repairshoprAddTicketComment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-ticket-comment.mjs","names":[],"sources":["../../src/actions/add-ticket-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddTicketCommentInput = z.object({\n id: z.number().int().describe(\"ID of the ticket to add the comment to. Required.\"),\n body: z.string().describe(\"The text content of the comment. Required.\"),\n tech: z.string().describe(\"Technician name or identifier to associate with this comment. Optional.\").optional(),\n hidden: z.boolean().describe(\"Whether the comment should be hidden from the customer (private comment). Default is false.\").optional(),\n subject: z.string().describe(\"Subject or title of the comment. Required.\"),\n sms_body: z.string().describe(\"Optional text content to send as an SMS notification. If not provided, no SMS is sent.\").optional(),\n do_not_email: z.boolean().describe(\"If true, prevents sending an email notification to the customer about this comment. Default is false.\").optional(),\n}).describe(\"Request model for adding a comment to a ticket.\");\nexport const RepairshoprAddTicketCommentOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created comment.\").nullable(),\n body: z.string().describe(\"Text content of the comment.\").nullable().optional(),\n tech: z.string().describe(\"Technician name associated with the comment.\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the comment is hidden from the customer.\").nullable(),\n subject: z.string().describe(\"Subject of the comment.\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created the comment.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this comment belongs to.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created (ISO 8601).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the comment was last updated (ISO 8601).\").nullable(),\n}).describe(\"Response schema for adding a comment to a ticket.\");\n\nexport const repairshoprAddTicketComment = action(\"REPAIRSHOPR_ADD_TICKET_COMMENT\", {\n slug: \"repairshopr-add-ticket-comment\",\n name: \"Add Ticket Comment\",\n description: \"Tool to add a comment to an existing ticket in RepairShopr. Use when you need to add notes, updates, or responses to a ticket. Requires Tickets - Edit permission. Single-Customer Users can only access their own tickets.\",\n input: RepairshoprAddTicketCommentInput,\n output: RepairshoprAddTicketCommentOutput,\n});\n"],"mappings":";;AAyBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACjI,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,iDAiBH;CACP,QAjB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"add-ticket-comment.mjs","names":[],"sources":["../../src/actions/add-ticket-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddTicketCommentInput = z.object({\n id: z.number().int().describe(\"ID of the ticket to add the comment to. Required.\"),\n body: z.string().describe(\"The text content of the comment. Required.\"),\n tech: z.string().describe(\"Technician name or identifier to associate with this comment. Optional.\").optional(),\n hidden: z.boolean().describe(\"Whether the comment should be hidden from the customer (private comment). Default is false.\").optional(),\n subject: z.string().describe(\"Subject or title of the comment. Required.\"),\n sms_body: z.string().describe(\"Optional text content to send as an SMS notification. If not provided, no SMS is sent.\").optional(),\n do_not_email: z.boolean().describe(\"If true, prevents sending an email notification to the customer about this comment. Default is false.\").optional(),\n}).describe(\"Request model for adding a comment to a ticket.\");\nexport const RepairshoprAddTicketCommentOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the created comment.\").nullable(),\n body: z.string().describe(\"Text content of the comment.\").nullable().optional(),\n tech: z.string().describe(\"Technician name associated with the comment.\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the comment is hidden from the customer.\").nullable(),\n subject: z.string().describe(\"Subject of the comment.\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created the comment.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this comment belongs to.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created (ISO 8601).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the comment was last updated (ISO 8601).\").nullable(),\n}).passthrough().describe(\"Response schema for adding a comment to a ticket.\");\n\nexport const repairshoprAddTicketComment = action(\"REPAIRSHOPR_ADD_TICKET_COMMENT\", {\n slug: \"repairshopr-add-ticket-comment\",\n name: \"Add Ticket Comment\",\n description: \"Tool to add a comment to an existing ticket in RepairShopr. Use when you need to add notes, updates, or responses to a ticket. Requires Tickets - Edit permission. Single-Customer Users can only access their own tickets.\",\n input: RepairshoprAddTicketCommentInput,\n output: RepairshoprAddTicketCommentOutput,\n});\n"],"mappings":";;AAyBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACjI,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,iDAiBH;CACP,QAjB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -25,8 +25,8 @@ const RepairshoprAddTicketLineItem_TicketLineItemSchema = zod.z.object({
|
|
|
25
25
|
updated_at: zod.z.string().describe("Timestamp when the line item was last updated (ISO 8601).").nullable().optional(),
|
|
26
26
|
description: zod.z.string().describe("Description of the line item.").nullable().optional(),
|
|
27
27
|
price_retail: zod.z.number().describe("Retail price.").nullable().optional()
|
|
28
|
-
}).describe("Model representing a ticket line item returned by the API.");
|
|
29
|
-
const RepairshoprAddTicketLineItemOutput = zod.z.object({ line_item: RepairshoprAddTicketLineItem_TicketLineItemSchema.nullable() }).describe("Response model for adding a ticket line item.");
|
|
28
|
+
}).passthrough().describe("Model representing a ticket line item returned by the API.");
|
|
29
|
+
const RepairshoprAddTicketLineItemOutput = zod.z.object({ line_item: RepairshoprAddTicketLineItem_TicketLineItemSchema.nullable() }).passthrough().describe("Response model for adding a ticket line item.");
|
|
30
30
|
const repairshoprAddTicketLineItem = require_action.action("REPAIRSHOPR_ADD_TICKET_LINE_ITEM", {
|
|
31
31
|
slug: "repairshopr-add-ticket-line-item",
|
|
32
32
|
name: "Add Ticket Line Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-ticket-line-item.cjs","names":["z","action"],"sources":["../../src/actions/add-ticket-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddTicketLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the ticket to add the line item to. Required.\"),\n name: z.string().describe(\"Name/title of the line item. Required.\"),\n taxable: z.boolean().describe(\"Whether the line item is taxable. Defaults to false if not provided.\").optional(),\n quantity: z.number().describe(\"Quantity of the line item. Defaults to 1 if not provided.\").optional(),\n upc_code: z.string().describe(\"UPC code of the line item.\").optional(),\n price_cost: z.number().describe(\"Cost price of the line item.\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product to use for this line item.\").optional(),\n description: z.string().describe(\"Description of the line item. Required by the API.\"),\n price_retail: z.number().describe(\"Retail price of the line item.\").optional(),\n}).describe(\"Request model for adding a line item to a ticket.\");\nconst RepairshoprAddTicketLineItem_TicketLineItemSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the line item.\").nullable(),\n name: z.string().describe(\"Name of the line item.\").nullable(),\n taxable: z.boolean().describe(\"Whether the item is taxable.\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item.\").nullable().optional(),\n upc_code: z.string().describe(\"UPC code of the item.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this line item belongs to.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601).\").nullable().optional(),\n price_cost: z.number().describe(\"Cost price.\").nullable().optional(),\n product_id: z.number().int().describe(\"Product ID if linked to a product.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601).\").nullable().optional(),\n description: z.string().describe(\"Description of the line item.\").nullable().optional(),\n price_retail: z.number().describe(\"Retail price.\").nullable().optional(),\n}).describe(\"Model representing a ticket line item returned by the API.\");\nexport const RepairshoprAddTicketLineItemOutput = z.object({\n line_item: RepairshoprAddTicketLineItem_TicketLineItemSchema.nullable(),\n}).describe(\"Response model for adding a ticket line item.\");\n\nexport const repairshoprAddTicketLineItem = action(\"REPAIRSHOPR_ADD_TICKET_LINE_ITEM\", {\n slug: \"repairshopr-add-ticket-line-item\",\n name: \"Add Ticket Line Item\",\n description: \"Tool to add a line item to an existing ticket in RepairShopr. Use when you need to add products, services, or charges to a ticket. Requires Tickets - Edit permission. Single-customer users can only access their own tickets.\",\n input: RepairshoprAddTicketLineItemInput,\n output: RepairshoprAddTicketLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,cAAcA,IAA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AC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"add-ticket-line-item.cjs","names":["z","action"],"sources":["../../src/actions/add-ticket-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddTicketLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the ticket to add the line item to. Required.\"),\n name: z.string().describe(\"Name/title of the line item. Required.\"),\n taxable: z.boolean().describe(\"Whether the line item is taxable. Defaults to false if not provided.\").optional(),\n quantity: z.number().describe(\"Quantity of the line item. Defaults to 1 if not provided.\").optional(),\n upc_code: z.string().describe(\"UPC code of the line item.\").optional(),\n price_cost: z.number().describe(\"Cost price of the line item.\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product to use for this line item.\").optional(),\n description: z.string().describe(\"Description of the line item. Required by the API.\"),\n price_retail: z.number().describe(\"Retail price of the line item.\").optional(),\n}).describe(\"Request model for adding a line item to a ticket.\");\nconst RepairshoprAddTicketLineItem_TicketLineItemSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the line item.\").nullable(),\n name: z.string().describe(\"Name of the line item.\").nullable(),\n taxable: z.boolean().describe(\"Whether the item is taxable.\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item.\").nullable().optional(),\n upc_code: z.string().describe(\"UPC code of the item.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this line item belongs to.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601).\").nullable().optional(),\n price_cost: z.number().describe(\"Cost price.\").nullable().optional(),\n product_id: z.number().int().describe(\"Product ID if linked to a product.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601).\").nullable().optional(),\n description: z.string().describe(\"Description of the line item.\").nullable().optional(),\n price_retail: z.number().describe(\"Retail price.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a ticket line item returned by the API.\");\nexport const RepairshoprAddTicketLineItemOutput = z.object({\n line_item: RepairshoprAddTicketLineItem_TicketLineItemSchema.nullable(),\n}).passthrough().describe(\"Response model for adding a ticket line item.\");\n\nexport const repairshoprAddTicketLineItem = action(\"REPAIRSHOPR_ADD_TICKET_LINE_ITEM\", {\n slug: \"repairshopr-add-ticket-line-item\",\n name: \"Add Ticket Line Item\",\n description: \"Tool to add a line item to an existing ticket in RepairShopr. Use when you need to add products, services, or charges to a ticket. Requires Tickets - Edit permission. Single-customer users can only access their own tickets.\",\n input: RepairshoprAddTicketLineItemInput,\n output: RepairshoprAddTicketLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IA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AW,kDAAkD,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -26,8 +26,8 @@ declare const RepairshoprAddTicketLineItemOutput: z.ZodObject<{
|
|
|
26
26
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
price_retail: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const repairshoprAddTicketLineItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
id: number;
|
|
33
33
|
name: string;
|
|
@@ -26,8 +26,8 @@ declare const RepairshoprAddTicketLineItemOutput: z.ZodObject<{
|
|
|
26
26
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
price_retail: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const repairshoprAddTicketLineItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
id: number;
|
|
33
33
|
name: string;
|
|
@@ -25,13 +25,13 @@ const RepairshoprAddTicketLineItem_TicketLineItemSchema = z.object({
|
|
|
25
25
|
updated_at: z.string().describe("Timestamp when the line item was last updated (ISO 8601).").nullable().optional(),
|
|
26
26
|
description: z.string().describe("Description of the line item.").nullable().optional(),
|
|
27
27
|
price_retail: z.number().describe("Retail price.").nullable().optional()
|
|
28
|
-
}).describe("Model representing a ticket line item returned by the API.");
|
|
28
|
+
}).passthrough().describe("Model representing a ticket line item returned by the API.");
|
|
29
29
|
const repairshoprAddTicketLineItem = action("REPAIRSHOPR_ADD_TICKET_LINE_ITEM", {
|
|
30
30
|
slug: "repairshopr-add-ticket-line-item",
|
|
31
31
|
name: "Add Ticket Line Item",
|
|
32
32
|
description: "Tool to add a line item to an existing ticket in RepairShopr. Use when you need to add products, services, or charges to a ticket. Requires Tickets - Edit permission. Single-customer users can only access their own tickets.",
|
|
33
33
|
input: RepairshoprAddTicketLineItemInput,
|
|
34
|
-
output: z.object({ line_item: RepairshoprAddTicketLineItem_TicketLineItemSchema.nullable() }).describe("Response model for adding a ticket line item.")
|
|
34
|
+
output: z.object({ line_item: RepairshoprAddTicketLineItem_TicketLineItemSchema.nullable() }).passthrough().describe("Response model for adding a ticket line item.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { repairshoprAddTicketLineItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-ticket-line-item.mjs","names":[],"sources":["../../src/actions/add-ticket-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddTicketLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the ticket to add the line item to. Required.\"),\n name: z.string().describe(\"Name/title of the line item. Required.\"),\n taxable: z.boolean().describe(\"Whether the line item is taxable. Defaults to false if not provided.\").optional(),\n quantity: z.number().describe(\"Quantity of the line item. Defaults to 1 if not provided.\").optional(),\n upc_code: z.string().describe(\"UPC code of the line item.\").optional(),\n price_cost: z.number().describe(\"Cost price of the line item.\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product to use for this line item.\").optional(),\n description: z.string().describe(\"Description of the line item. Required by the API.\"),\n price_retail: z.number().describe(\"Retail price of the line item.\").optional(),\n}).describe(\"Request model for adding a line item to a ticket.\");\nconst RepairshoprAddTicketLineItem_TicketLineItemSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the line item.\").nullable(),\n name: z.string().describe(\"Name of the line item.\").nullable(),\n taxable: z.boolean().describe(\"Whether the item is taxable.\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item.\").nullable().optional(),\n upc_code: z.string().describe(\"UPC code of the item.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this line item belongs to.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601).\").nullable().optional(),\n price_cost: z.number().describe(\"Cost price.\").nullable().optional(),\n product_id: z.number().int().describe(\"Product ID if linked to a product.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601).\").nullable().optional(),\n description: z.string().describe(\"Description of the line item.\").nullable().optional(),\n price_retail: z.number().describe(\"Retail price.\").nullable().optional(),\n}).describe(\"Model representing a ticket line item returned by the API.\");\nexport const RepairshoprAddTicketLineItemOutput = z.object({\n line_item: RepairshoprAddTicketLineItem_TicketLineItemSchema.nullable(),\n}).describe(\"Response model for adding a ticket line item.\");\n\nexport const repairshoprAddTicketLineItem = action(\"REPAIRSHOPR_ADD_TICKET_LINE_ITEM\", {\n slug: \"repairshopr-add-ticket-line-item\",\n name: \"Add Ticket Line Item\",\n description: \"Tool to add a line item to an existing ticket in RepairShopr. Use when you need to add products, services, or charges to a ticket. Requires Tickets - Edit permission. Single-customer users can only access their own tickets.\",\n input: RepairshoprAddTicketLineItemInput,\n output: RepairshoprAddTicketLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,C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AO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"add-ticket-line-item.mjs","names":[],"sources":["../../src/actions/add-ticket-line-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprAddTicketLineItemInput = z.object({\n id: z.number().int().describe(\"ID of the ticket to add the line item to. Required.\"),\n name: z.string().describe(\"Name/title of the line item. Required.\"),\n taxable: z.boolean().describe(\"Whether the line item is taxable. Defaults to false if not provided.\").optional(),\n quantity: z.number().describe(\"Quantity of the line item. Defaults to 1 if not provided.\").optional(),\n upc_code: z.string().describe(\"UPC code of the line item.\").optional(),\n price_cost: z.number().describe(\"Cost price of the line item.\").optional(),\n product_id: z.number().int().describe(\"ID of an existing product to use for this line item.\").optional(),\n description: z.string().describe(\"Description of the line item. Required by the API.\"),\n price_retail: z.number().describe(\"Retail price of the line item.\").optional(),\n}).describe(\"Request model for adding a line item to a ticket.\");\nconst RepairshoprAddTicketLineItem_TicketLineItemSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the line item.\").nullable(),\n name: z.string().describe(\"Name of the line item.\").nullable(),\n taxable: z.boolean().describe(\"Whether the item is taxable.\").nullable().optional(),\n quantity: z.number().describe(\"Quantity of the item.\").nullable().optional(),\n upc_code: z.string().describe(\"UPC code of the item.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this line item belongs to.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the line item was created (ISO 8601).\").nullable().optional(),\n price_cost: z.number().describe(\"Cost price.\").nullable().optional(),\n product_id: z.number().int().describe(\"Product ID if linked to a product.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the line item was last updated (ISO 8601).\").nullable().optional(),\n description: z.string().describe(\"Description of the line item.\").nullable().optional(),\n price_retail: z.number().describe(\"Retail price.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a ticket line item returned by the API.\");\nexport const RepairshoprAddTicketLineItemOutput = z.object({\n line_item: RepairshoprAddTicketLineItem_TicketLineItemSchema.nullable(),\n}).passthrough().describe(\"Response model for adding a ticket line item.\");\n\nexport const repairshoprAddTicketLineItem = action(\"REPAIRSHOPR_ADD_TICKET_LINE_ITEM\", {\n slug: \"repairshopr-add-ticket-line-item\",\n name: \"Add Ticket Line Item\",\n description: \"Tool to add a line item to an existing ticket in RepairShopr. Use when you need to add products, services, or charges to a ticket. Requires Tickets - Edit permission. Single-customer users can only access their own tickets.\",\n input: RepairshoprAddTicketLineItemInput,\n output: RepairshoprAddTicketLineItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;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ACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,WAAW,kDAAkD,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const RepairshoprChargeTicketTimerOutput = zod.z.object({
|
|
|
17
17
|
start_time: zod.z.string().describe("Start time of the timer (ISO 8601 format)").nullable().optional(),
|
|
18
18
|
updated_at: zod.z.string().describe("Timestamp when the timer entry was last updated (ISO 8601 format)").nullable().optional(),
|
|
19
19
|
ticket_line_item_id: zod.z.number().int().describe("ID of the line item created when the timer was charged").nullable().optional()
|
|
20
|
-
}).describe("Response model for the charged ticket timer.");
|
|
20
|
+
}).passthrough().describe("Response model for the charged ticket timer.");
|
|
21
21
|
const repairshoprChargeTicketTimer = require_action.action("REPAIRSHOPR_CHARGE_TICKET_TIMER", {
|
|
22
22
|
slug: "repairshopr-charge-ticket-timer",
|
|
23
23
|
name: "Charge Ticket Timer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-ticket-timer.cjs","names":["z","action"],"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":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F;AACxI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"charge-ticket-timer.cjs","names":["z","action"],"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":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F;AACxI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC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
|
18
18
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
ticket_line_item_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const repairshoprChargeTicketTimer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
id: number;
|
|
23
23
|
timer_entry_id: number;
|
|
@@ -17,7 +17,7 @@ declare const RepairshoprChargeTicketTimerOutput: z.ZodObject<{
|
|
|
17
17
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
ticket_line_item_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const repairshoprChargeTicketTimer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
id: number;
|
|
23
23
|
timer_entry_id: number;
|