@keystrokehq/netsuite 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/async-get-job-status.cjs +29 -0
- package/dist/actions/async-get-job-status.cjs.map +1 -0
- package/dist/actions/async-get-job-status.d.cts +9 -0
- package/dist/actions/async-get-job-status.d.cts.map +1 -0
- package/dist/actions/async-get-job-status.d.mts +9 -0
- package/dist/actions/async-get-job-status.d.mts.map +1 -0
- package/dist/actions/async-get-job-status.mjs +28 -0
- package/dist/actions/async-get-job-status.mjs.map +1 -0
- package/dist/actions/async-get-job-task-result.cjs +22 -0
- package/dist/actions/async-get-job-task-result.cjs.map +1 -0
- package/dist/actions/async-get-job-task-result.d.cts +9 -0
- package/dist/actions/async-get-job-task-result.d.cts.map +1 -0
- package/dist/actions/async-get-job-task-result.d.mts +9 -0
- package/dist/actions/async-get-job-task-result.d.mts.map +1 -0
- package/dist/actions/async-get-job-task-result.mjs +19 -0
- package/dist/actions/async-get-job-task-result.mjs.map +1 -0
- package/dist/actions/async-get-job-task.cjs +19 -0
- package/dist/actions/async-get-job-task.cjs.map +1 -0
- package/dist/actions/async-get-job-task.d.cts +9 -0
- package/dist/actions/async-get-job-task.d.cts.map +1 -0
- package/dist/actions/async-get-job-task.d.mts +9 -0
- package/dist/actions/async-get-job-task.d.mts.map +1 -0
- package/dist/actions/async-get-job-task.mjs +16 -0
- package/dist/actions/async-get-job-task.mjs.map +1 -0
- package/dist/actions/create-customer-payment.cjs +34 -0
- package/dist/actions/create-customer-payment.cjs.map +1 -0
- package/dist/actions/create-customer-payment.d.cts +9 -0
- package/dist/actions/create-customer-payment.d.cts.map +1 -0
- package/dist/actions/create-customer-payment.d.mts +9 -0
- package/dist/actions/create-customer-payment.d.mts.map +1 -0
- package/dist/actions/create-customer-payment.mjs +31 -0
- package/dist/actions/create-customer-payment.mjs.map +1 -0
- package/dist/actions/create-customer.cjs +34 -0
- package/dist/actions/create-customer.cjs.map +1 -0
- package/dist/actions/create-customer.d.cts +9 -0
- package/dist/actions/create-customer.d.cts.map +1 -0
- package/dist/actions/create-customer.d.mts +9 -0
- package/dist/actions/create-customer.d.mts.map +1 -0
- package/dist/actions/create-customer.mjs +31 -0
- package/dist/actions/create-customer.mjs.map +1 -0
- package/dist/actions/create-employee.cjs +34 -0
- package/dist/actions/create-employee.cjs.map +1 -0
- package/dist/actions/create-employee.d.cts +9 -0
- package/dist/actions/create-employee.d.cts.map +1 -0
- package/dist/actions/create-employee.d.mts +9 -0
- package/dist/actions/create-employee.d.mts.map +1 -0
- package/dist/actions/create-employee.mjs +31 -0
- package/dist/actions/create-employee.mjs.map +1 -0
- package/dist/actions/create-invoice.cjs +34 -0
- package/dist/actions/create-invoice.cjs.map +1 -0
- package/dist/actions/create-invoice.d.cts +9 -0
- package/dist/actions/create-invoice.d.cts.map +1 -0
- package/dist/actions/create-invoice.d.mts +9 -0
- package/dist/actions/create-invoice.d.mts.map +1 -0
- package/dist/actions/create-invoice.mjs +31 -0
- package/dist/actions/create-invoice.mjs.map +1 -0
- package/dist/actions/create-item.cjs +49 -0
- package/dist/actions/create-item.cjs.map +1 -0
- package/dist/actions/create-item.d.cts +9 -0
- package/dist/actions/create-item.d.cts.map +1 -0
- package/dist/actions/create-item.d.mts +9 -0
- package/dist/actions/create-item.d.mts.map +1 -0
- package/dist/actions/create-item.mjs +46 -0
- package/dist/actions/create-item.mjs.map +1 -0
- package/dist/actions/create-journal-entry.cjs +34 -0
- package/dist/actions/create-journal-entry.cjs.map +1 -0
- package/dist/actions/create-journal-entry.d.cts +9 -0
- package/dist/actions/create-journal-entry.d.cts.map +1 -0
- package/dist/actions/create-journal-entry.d.mts +9 -0
- package/dist/actions/create-journal-entry.d.mts.map +1 -0
- package/dist/actions/create-journal-entry.mjs +31 -0
- package/dist/actions/create-journal-entry.mjs.map +1 -0
- package/dist/actions/create-jwt-client-assertion.cjs +25 -0
- package/dist/actions/create-jwt-client-assertion.cjs.map +1 -0
- package/dist/actions/create-jwt-client-assertion.d.cts +9 -0
- package/dist/actions/create-jwt-client-assertion.d.cts.map +1 -0
- package/dist/actions/create-jwt-client-assertion.d.mts +9 -0
- package/dist/actions/create-jwt-client-assertion.d.mts.map +1 -0
- package/dist/actions/create-jwt-client-assertion.mjs +22 -0
- package/dist/actions/create-jwt-client-assertion.mjs.map +1 -0
- package/dist/actions/create-purchase-order.cjs +45 -0
- package/dist/actions/create-purchase-order.cjs.map +1 -0
- package/dist/actions/create-purchase-order.d.cts +9 -0
- package/dist/actions/create-purchase-order.d.cts.map +1 -0
- package/dist/actions/create-purchase-order.d.mts +9 -0
- package/dist/actions/create-purchase-order.d.mts.map +1 -0
- package/dist/actions/create-purchase-order.mjs +42 -0
- package/dist/actions/create-purchase-order.mjs.map +1 -0
- package/dist/actions/create-record.cjs +36 -0
- package/dist/actions/create-record.cjs.map +1 -0
- package/dist/actions/create-record.d.cts +9 -0
- package/dist/actions/create-record.d.cts.map +1 -0
- package/dist/actions/create-record.d.mts +9 -0
- package/dist/actions/create-record.d.mts.map +1 -0
- package/dist/actions/create-record.mjs +33 -0
- package/dist/actions/create-record.mjs.map +1 -0
- package/dist/actions/create-sales-order.cjs +49 -0
- package/dist/actions/create-sales-order.cjs.map +1 -0
- package/dist/actions/create-sales-order.d.cts +9 -0
- package/dist/actions/create-sales-order.d.cts.map +1 -0
- package/dist/actions/create-sales-order.d.mts +9 -0
- package/dist/actions/create-sales-order.d.mts.map +1 -0
- package/dist/actions/create-sales-order.mjs +46 -0
- package/dist/actions/create-sales-order.mjs.map +1 -0
- package/dist/actions/create-vendor-bill.cjs +34 -0
- package/dist/actions/create-vendor-bill.cjs.map +1 -0
- package/dist/actions/create-vendor-bill.d.cts +9 -0
- package/dist/actions/create-vendor-bill.d.cts.map +1 -0
- package/dist/actions/create-vendor-bill.d.mts +9 -0
- package/dist/actions/create-vendor-bill.d.mts.map +1 -0
- package/dist/actions/create-vendor-bill.mjs +31 -0
- package/dist/actions/create-vendor-bill.mjs.map +1 -0
- package/dist/actions/create-vendor.cjs +34 -0
- package/dist/actions/create-vendor.cjs.map +1 -0
- package/dist/actions/create-vendor.d.cts +9 -0
- package/dist/actions/create-vendor.d.cts.map +1 -0
- package/dist/actions/create-vendor.d.mts +9 -0
- package/dist/actions/create-vendor.d.mts.map +1 -0
- package/dist/actions/create-vendor.mjs +31 -0
- package/dist/actions/create-vendor.mjs.map +1 -0
- package/dist/actions/delete-customer-payment.cjs +16 -0
- package/dist/actions/delete-customer-payment.cjs.map +1 -0
- package/dist/actions/delete-customer-payment.d.cts +9 -0
- package/dist/actions/delete-customer-payment.d.cts.map +1 -0
- package/dist/actions/delete-customer-payment.d.mts +9 -0
- package/dist/actions/delete-customer-payment.d.mts.map +1 -0
- package/dist/actions/delete-customer-payment.mjs +13 -0
- package/dist/actions/delete-customer-payment.mjs.map +1 -0
- package/dist/actions/delete-customer.cjs +16 -0
- package/dist/actions/delete-customer.cjs.map +1 -0
- package/dist/actions/delete-customer.d.cts +9 -0
- package/dist/actions/delete-customer.d.cts.map +1 -0
- package/dist/actions/delete-customer.d.mts +9 -0
- package/dist/actions/delete-customer.d.mts.map +1 -0
- package/dist/actions/delete-customer.mjs +13 -0
- package/dist/actions/delete-customer.mjs.map +1 -0
- package/dist/actions/delete-employee.cjs +16 -0
- package/dist/actions/delete-employee.cjs.map +1 -0
- package/dist/actions/delete-employee.d.cts +9 -0
- package/dist/actions/delete-employee.d.cts.map +1 -0
- package/dist/actions/delete-employee.d.mts +9 -0
- package/dist/actions/delete-employee.d.mts.map +1 -0
- package/dist/actions/delete-employee.mjs +13 -0
- package/dist/actions/delete-employee.mjs.map +1 -0
- package/dist/actions/delete-invoice.cjs +16 -0
- package/dist/actions/delete-invoice.cjs.map +1 -0
- package/dist/actions/delete-invoice.d.cts +9 -0
- package/dist/actions/delete-invoice.d.cts.map +1 -0
- package/dist/actions/delete-invoice.d.mts +9 -0
- package/dist/actions/delete-invoice.d.mts.map +1 -0
- package/dist/actions/delete-invoice.mjs +13 -0
- package/dist/actions/delete-invoice.mjs.map +1 -0
- package/dist/actions/delete-item-fulfillment.cjs +25 -0
- package/dist/actions/delete-item-fulfillment.cjs.map +1 -0
- package/dist/actions/delete-item-fulfillment.d.cts +9 -0
- package/dist/actions/delete-item-fulfillment.d.cts.map +1 -0
- package/dist/actions/delete-item-fulfillment.d.mts +9 -0
- package/dist/actions/delete-item-fulfillment.d.mts.map +1 -0
- package/dist/actions/delete-item-fulfillment.mjs +22 -0
- package/dist/actions/delete-item-fulfillment.mjs.map +1 -0
- package/dist/actions/delete-item-receipt.cjs +16 -0
- package/dist/actions/delete-item-receipt.cjs.map +1 -0
- package/dist/actions/delete-item-receipt.d.cts +9 -0
- package/dist/actions/delete-item-receipt.d.cts.map +1 -0
- package/dist/actions/delete-item-receipt.d.mts +9 -0
- package/dist/actions/delete-item-receipt.d.mts.map +1 -0
- package/dist/actions/delete-item-receipt.mjs +13 -0
- package/dist/actions/delete-item-receipt.mjs.map +1 -0
- package/dist/actions/delete-item.cjs +25 -0
- package/dist/actions/delete-item.cjs.map +1 -0
- package/dist/actions/delete-item.d.cts +9 -0
- package/dist/actions/delete-item.d.cts.map +1 -0
- package/dist/actions/delete-item.d.mts +9 -0
- package/dist/actions/delete-item.d.mts.map +1 -0
- package/dist/actions/delete-item.mjs +22 -0
- package/dist/actions/delete-item.mjs.map +1 -0
- package/dist/actions/delete-journal-entry.cjs +20 -0
- package/dist/actions/delete-journal-entry.cjs.map +1 -0
- package/dist/actions/delete-journal-entry.d.cts +9 -0
- package/dist/actions/delete-journal-entry.d.cts.map +1 -0
- package/dist/actions/delete-journal-entry.d.mts +9 -0
- package/dist/actions/delete-journal-entry.d.mts.map +1 -0
- package/dist/actions/delete-journal-entry.mjs +17 -0
- package/dist/actions/delete-journal-entry.mjs.map +1 -0
- package/dist/actions/delete-purchase-order.cjs +16 -0
- package/dist/actions/delete-purchase-order.cjs.map +1 -0
- package/dist/actions/delete-purchase-order.d.cts +9 -0
- package/dist/actions/delete-purchase-order.d.cts.map +1 -0
- package/dist/actions/delete-purchase-order.d.mts +9 -0
- package/dist/actions/delete-purchase-order.d.mts.map +1 -0
- package/dist/actions/delete-purchase-order.mjs +13 -0
- package/dist/actions/delete-purchase-order.mjs.map +1 -0
- package/dist/actions/delete-sales-order.cjs +16 -0
- package/dist/actions/delete-sales-order.cjs.map +1 -0
- package/dist/actions/delete-sales-order.d.cts +9 -0
- package/dist/actions/delete-sales-order.d.cts.map +1 -0
- package/dist/actions/delete-sales-order.d.mts +9 -0
- package/dist/actions/delete-sales-order.d.mts.map +1 -0
- package/dist/actions/delete-sales-order.mjs +13 -0
- package/dist/actions/delete-sales-order.mjs.map +1 -0
- package/dist/actions/delete-vendor-payment.cjs +16 -0
- package/dist/actions/delete-vendor-payment.cjs.map +1 -0
- package/dist/actions/delete-vendor-payment.d.cts +9 -0
- package/dist/actions/delete-vendor-payment.d.cts.map +1 -0
- package/dist/actions/delete-vendor-payment.d.mts +9 -0
- package/dist/actions/delete-vendor-payment.d.mts.map +1 -0
- package/dist/actions/delete-vendor-payment.mjs +13 -0
- package/dist/actions/delete-vendor-payment.mjs.map +1 -0
- package/dist/actions/execute-dataset.cjs +31 -0
- package/dist/actions/execute-dataset.cjs.map +1 -0
- package/dist/actions/execute-dataset.d.cts +9 -0
- package/dist/actions/execute-dataset.d.cts.map +1 -0
- package/dist/actions/execute-dataset.d.mts +9 -0
- package/dist/actions/execute-dataset.d.mts.map +1 -0
- package/dist/actions/execute-dataset.mjs +30 -0
- package/dist/actions/execute-dataset.mjs.map +1 -0
- package/dist/actions/get-customer-payment.cjs +28 -0
- package/dist/actions/get-customer-payment.cjs.map +1 -0
- package/dist/actions/get-customer-payment.d.cts +9 -0
- package/dist/actions/get-customer-payment.d.cts.map +1 -0
- package/dist/actions/get-customer-payment.d.mts +9 -0
- package/dist/actions/get-customer-payment.d.mts.map +1 -0
- package/dist/actions/get-customer-payment.mjs +27 -0
- package/dist/actions/get-customer-payment.mjs.map +1 -0
- package/dist/actions/get-customer.cjs +27 -0
- package/dist/actions/get-customer.cjs.map +1 -0
- package/dist/actions/get-customer.d.cts +9 -0
- package/dist/actions/get-customer.d.cts.map +1 -0
- package/dist/actions/get-customer.d.mts +9 -0
- package/dist/actions/get-customer.d.mts.map +1 -0
- package/dist/actions/get-customer.mjs +26 -0
- package/dist/actions/get-customer.mjs.map +1 -0
- package/dist/actions/get-datacenter-urls.cjs +23 -0
- package/dist/actions/get-datacenter-urls.cjs.map +1 -0
- package/dist/actions/get-datacenter-urls.d.cts +9 -0
- package/dist/actions/get-datacenter-urls.d.cts.map +1 -0
- package/dist/actions/get-datacenter-urls.d.mts +9 -0
- package/dist/actions/get-datacenter-urls.d.mts.map +1 -0
- package/dist/actions/get-datacenter-urls.mjs +20 -0
- package/dist/actions/get-datacenter-urls.mjs.map +1 -0
- package/dist/actions/get-employee.cjs +27 -0
- package/dist/actions/get-employee.cjs.map +1 -0
- package/dist/actions/get-employee.d.cts +9 -0
- package/dist/actions/get-employee.d.cts.map +1 -0
- package/dist/actions/get-employee.d.mts +9 -0
- package/dist/actions/get-employee.d.mts.map +1 -0
- package/dist/actions/get-employee.mjs +26 -0
- package/dist/actions/get-employee.mjs.map +1 -0
- package/dist/actions/get-governance-limits.cjs +25 -0
- package/dist/actions/get-governance-limits.cjs.map +1 -0
- package/dist/actions/get-governance-limits.d.cts +9 -0
- package/dist/actions/get-governance-limits.d.cts.map +1 -0
- package/dist/actions/get-governance-limits.d.mts +9 -0
- package/dist/actions/get-governance-limits.d.mts.map +1 -0
- package/dist/actions/get-governance-limits.mjs +22 -0
- package/dist/actions/get-governance-limits.mjs.map +1 -0
- package/dist/actions/get-invoice.cjs +28 -0
- package/dist/actions/get-invoice.cjs.map +1 -0
- package/dist/actions/get-invoice.d.cts +9 -0
- package/dist/actions/get-invoice.d.cts.map +1 -0
- package/dist/actions/get-invoice.d.mts +9 -0
- package/dist/actions/get-invoice.d.mts.map +1 -0
- package/dist/actions/get-invoice.mjs +27 -0
- package/dist/actions/get-invoice.mjs.map +1 -0
- package/dist/actions/get-item-fulfillment.cjs +24 -0
- package/dist/actions/get-item-fulfillment.cjs.map +1 -0
- package/dist/actions/get-item-fulfillment.d.cts +9 -0
- package/dist/actions/get-item-fulfillment.d.cts.map +1 -0
- package/dist/actions/get-item-fulfillment.d.mts +9 -0
- package/dist/actions/get-item-fulfillment.d.mts.map +1 -0
- package/dist/actions/get-item-fulfillment.mjs +21 -0
- package/dist/actions/get-item-fulfillment.mjs.map +1 -0
- package/dist/actions/get-item-receipt.cjs +27 -0
- package/dist/actions/get-item-receipt.cjs.map +1 -0
- package/dist/actions/get-item-receipt.d.cts +9 -0
- package/dist/actions/get-item-receipt.d.cts.map +1 -0
- package/dist/actions/get-item-receipt.d.mts +9 -0
- package/dist/actions/get-item-receipt.d.mts.map +1 -0
- package/dist/actions/get-item-receipt.mjs +26 -0
- package/dist/actions/get-item-receipt.mjs.map +1 -0
- package/dist/actions/get-item.cjs +24 -0
- package/dist/actions/get-item.cjs.map +1 -0
- package/dist/actions/get-item.d.cts +9 -0
- package/dist/actions/get-item.d.cts.map +1 -0
- package/dist/actions/get-item.d.mts +9 -0
- package/dist/actions/get-item.d.mts.map +1 -0
- package/dist/actions/get-item.mjs +21 -0
- package/dist/actions/get-item.mjs.map +1 -0
- package/dist/actions/get-journal-entry.cjs +24 -0
- package/dist/actions/get-journal-entry.cjs.map +1 -0
- package/dist/actions/get-journal-entry.d.cts +9 -0
- package/dist/actions/get-journal-entry.d.cts.map +1 -0
- package/dist/actions/get-journal-entry.d.mts +9 -0
- package/dist/actions/get-journal-entry.d.mts.map +1 -0
- package/dist/actions/get-journal-entry.mjs +21 -0
- package/dist/actions/get-journal-entry.mjs.map +1 -0
- package/dist/actions/get-purchase-order.cjs +28 -0
- package/dist/actions/get-purchase-order.cjs.map +1 -0
- package/dist/actions/get-purchase-order.d.cts +9 -0
- package/dist/actions/get-purchase-order.d.cts.map +1 -0
- package/dist/actions/get-purchase-order.d.mts +9 -0
- package/dist/actions/get-purchase-order.d.mts.map +1 -0
- package/dist/actions/get-purchase-order.mjs +27 -0
- package/dist/actions/get-purchase-order.mjs.map +1 -0
- package/dist/actions/get-record-metadata.cjs +19 -0
- package/dist/actions/get-record-metadata.cjs.map +1 -0
- package/dist/actions/get-record-metadata.d.cts +9 -0
- package/dist/actions/get-record-metadata.d.cts.map +1 -0
- package/dist/actions/get-record-metadata.d.mts +9 -0
- package/dist/actions/get-record-metadata.d.mts.map +1 -0
- package/dist/actions/get-record-metadata.mjs +16 -0
- package/dist/actions/get-record-metadata.mjs.map +1 -0
- package/dist/actions/get-reference-select-field.cjs +29 -0
- package/dist/actions/get-reference-select-field.cjs.map +1 -0
- package/dist/actions/get-reference-select-field.d.cts +9 -0
- package/dist/actions/get-reference-select-field.d.cts.map +1 -0
- package/dist/actions/get-reference-select-field.d.mts +9 -0
- package/dist/actions/get-reference-select-field.d.mts.map +1 -0
- package/dist/actions/get-reference-select-field.mjs +28 -0
- package/dist/actions/get-reference-select-field.mjs.map +1 -0
- package/dist/actions/get-sales-order.cjs +23 -0
- package/dist/actions/get-sales-order.cjs.map +1 -0
- package/dist/actions/get-sales-order.d.cts +9 -0
- package/dist/actions/get-sales-order.d.cts.map +1 -0
- package/dist/actions/get-sales-order.d.mts +9 -0
- package/dist/actions/get-sales-order.d.mts.map +1 -0
- package/dist/actions/get-sales-order.mjs +20 -0
- package/dist/actions/get-sales-order.mjs.map +1 -0
- package/dist/actions/get-server-time.cjs +16 -0
- package/dist/actions/get-server-time.cjs.map +1 -0
- package/dist/actions/get-server-time.d.cts +9 -0
- package/dist/actions/get-server-time.d.cts.map +1 -0
- package/dist/actions/get-server-time.d.mts +9 -0
- package/dist/actions/get-server-time.d.mts.map +1 -0
- package/dist/actions/get-server-time.mjs +13 -0
- package/dist/actions/get-server-time.mjs.map +1 -0
- package/dist/actions/get-sublist-collection.cjs +33 -0
- package/dist/actions/get-sublist-collection.cjs.map +1 -0
- package/dist/actions/get-sublist-collection.d.cts +9 -0
- package/dist/actions/get-sublist-collection.d.cts.map +1 -0
- package/dist/actions/get-sublist-collection.d.mts +9 -0
- package/dist/actions/get-sublist-collection.d.mts.map +1 -0
- package/dist/actions/get-sublist-collection.mjs +32 -0
- package/dist/actions/get-sublist-collection.mjs.map +1 -0
- package/dist/actions/get-sublist-line.cjs +25 -0
- package/dist/actions/get-sublist-line.cjs.map +1 -0
- package/dist/actions/get-sublist-line.d.cts +9 -0
- package/dist/actions/get-sublist-line.d.cts.map +1 -0
- package/dist/actions/get-sublist-line.d.mts +9 -0
- package/dist/actions/get-sublist-line.d.mts.map +1 -0
- package/dist/actions/get-sublist-line.mjs +22 -0
- package/dist/actions/get-sublist-line.mjs.map +1 -0
- package/dist/actions/get-subrecord.cjs +27 -0
- package/dist/actions/get-subrecord.cjs.map +1 -0
- package/dist/actions/get-subrecord.d.cts +9 -0
- package/dist/actions/get-subrecord.d.cts.map +1 -0
- package/dist/actions/get-subrecord.d.mts +9 -0
- package/dist/actions/get-subrecord.d.mts.map +1 -0
- package/dist/actions/get-subrecord.mjs +26 -0
- package/dist/actions/get-subrecord.mjs.map +1 -0
- package/dist/actions/get-vendor-bill.cjs +27 -0
- package/dist/actions/get-vendor-bill.cjs.map +1 -0
- package/dist/actions/get-vendor-bill.d.cts +9 -0
- package/dist/actions/get-vendor-bill.d.cts.map +1 -0
- package/dist/actions/get-vendor-bill.d.mts +9 -0
- package/dist/actions/get-vendor-bill.d.mts.map +1 -0
- package/dist/actions/get-vendor-bill.mjs +26 -0
- package/dist/actions/get-vendor-bill.mjs.map +1 -0
- package/dist/actions/get-vendor-payment.cjs +27 -0
- package/dist/actions/get-vendor-payment.cjs.map +1 -0
- package/dist/actions/get-vendor-payment.d.cts +9 -0
- package/dist/actions/get-vendor-payment.d.cts.map +1 -0
- package/dist/actions/get-vendor-payment.d.mts +9 -0
- package/dist/actions/get-vendor-payment.d.mts.map +1 -0
- package/dist/actions/get-vendor-payment.mjs +26 -0
- package/dist/actions/get-vendor-payment.mjs.map +1 -0
- package/dist/actions/get-vendor.cjs +24 -0
- package/dist/actions/get-vendor.cjs.map +1 -0
- package/dist/actions/get-vendor.d.cts +9 -0
- package/dist/actions/get-vendor.d.cts.map +1 -0
- package/dist/actions/get-vendor.d.mts +9 -0
- package/dist/actions/get-vendor.d.mts.map +1 -0
- package/dist/actions/get-vendor.mjs +21 -0
- package/dist/actions/get-vendor.mjs.map +1 -0
- package/dist/actions/index.cjs +171 -0
- package/dist/actions/index.d.cts +86 -0
- package/dist/actions/index.d.mts +86 -0
- package/dist/actions/index.mjs +86 -0
- package/dist/actions/list-customer-payments.cjs +35 -0
- package/dist/actions/list-customer-payments.cjs.map +1 -0
- package/dist/actions/list-customer-payments.d.cts +9 -0
- package/dist/actions/list-customer-payments.d.cts.map +1 -0
- package/dist/actions/list-customer-payments.d.mts +9 -0
- package/dist/actions/list-customer-payments.d.mts.map +1 -0
- package/dist/actions/list-customer-payments.mjs +34 -0
- package/dist/actions/list-customer-payments.mjs.map +1 -0
- package/dist/actions/list-datasets.cjs +40 -0
- package/dist/actions/list-datasets.cjs.map +1 -0
- package/dist/actions/list-datasets.d.cts +9 -0
- package/dist/actions/list-datasets.d.cts.map +1 -0
- package/dist/actions/list-datasets.d.mts +9 -0
- package/dist/actions/list-datasets.d.mts.map +1 -0
- package/dist/actions/list-datasets.mjs +39 -0
- package/dist/actions/list-datasets.mjs.map +1 -0
- package/dist/actions/list-employees.cjs +35 -0
- package/dist/actions/list-employees.cjs.map +1 -0
- package/dist/actions/list-employees.d.cts +9 -0
- package/dist/actions/list-employees.d.cts.map +1 -0
- package/dist/actions/list-employees.d.mts +9 -0
- package/dist/actions/list-employees.d.mts.map +1 -0
- package/dist/actions/list-employees.mjs +34 -0
- package/dist/actions/list-employees.mjs.map +1 -0
- package/dist/actions/list-integrations.cjs +33 -0
- package/dist/actions/list-integrations.cjs.map +1 -0
- package/dist/actions/list-integrations.d.cts +9 -0
- package/dist/actions/list-integrations.d.cts.map +1 -0
- package/dist/actions/list-integrations.d.mts +9 -0
- package/dist/actions/list-integrations.d.mts.map +1 -0
- package/dist/actions/list-integrations.mjs +32 -0
- package/dist/actions/list-integrations.mjs.map +1 -0
- package/dist/actions/list-invoices.cjs +35 -0
- package/dist/actions/list-invoices.cjs.map +1 -0
- package/dist/actions/list-invoices.d.cts +9 -0
- package/dist/actions/list-invoices.d.cts.map +1 -0
- package/dist/actions/list-invoices.d.mts +9 -0
- package/dist/actions/list-invoices.d.mts.map +1 -0
- package/dist/actions/list-invoices.mjs +34 -0
- package/dist/actions/list-invoices.mjs.map +1 -0
- package/dist/actions/list-item-fulfillments.cjs +35 -0
- package/dist/actions/list-item-fulfillments.cjs.map +1 -0
- package/dist/actions/list-item-fulfillments.d.cts +9 -0
- package/dist/actions/list-item-fulfillments.d.cts.map +1 -0
- package/dist/actions/list-item-fulfillments.d.mts +9 -0
- package/dist/actions/list-item-fulfillments.d.mts.map +1 -0
- package/dist/actions/list-item-fulfillments.mjs +34 -0
- package/dist/actions/list-item-fulfillments.mjs.map +1 -0
- package/dist/actions/list-item-receipts.cjs +35 -0
- package/dist/actions/list-item-receipts.cjs.map +1 -0
- package/dist/actions/list-item-receipts.d.cts +9 -0
- package/dist/actions/list-item-receipts.d.cts.map +1 -0
- package/dist/actions/list-item-receipts.d.mts +9 -0
- package/dist/actions/list-item-receipts.d.mts.map +1 -0
- package/dist/actions/list-item-receipts.mjs +34 -0
- package/dist/actions/list-item-receipts.mjs.map +1 -0
- package/dist/actions/list-journal-entries.cjs +35 -0
- package/dist/actions/list-journal-entries.cjs.map +1 -0
- package/dist/actions/list-journal-entries.d.cts +9 -0
- package/dist/actions/list-journal-entries.d.cts.map +1 -0
- package/dist/actions/list-journal-entries.d.mts +9 -0
- package/dist/actions/list-journal-entries.d.mts.map +1 -0
- package/dist/actions/list-journal-entries.mjs +34 -0
- package/dist/actions/list-journal-entries.mjs.map +1 -0
- package/dist/actions/list-metadata-catalog.cjs +28 -0
- package/dist/actions/list-metadata-catalog.cjs.map +1 -0
- package/dist/actions/list-metadata-catalog.d.cts +9 -0
- package/dist/actions/list-metadata-catalog.d.cts.map +1 -0
- package/dist/actions/list-metadata-catalog.d.mts +9 -0
- package/dist/actions/list-metadata-catalog.d.mts.map +1 -0
- package/dist/actions/list-metadata-catalog.mjs +27 -0
- package/dist/actions/list-metadata-catalog.mjs.map +1 -0
- package/dist/actions/list-purchase-orders.cjs +35 -0
- package/dist/actions/list-purchase-orders.cjs.map +1 -0
- package/dist/actions/list-purchase-orders.d.cts +9 -0
- package/dist/actions/list-purchase-orders.d.cts.map +1 -0
- package/dist/actions/list-purchase-orders.d.mts +9 -0
- package/dist/actions/list-purchase-orders.d.mts.map +1 -0
- package/dist/actions/list-purchase-orders.mjs +34 -0
- package/dist/actions/list-purchase-orders.mjs.map +1 -0
- package/dist/actions/list-records.cjs +36 -0
- package/dist/actions/list-records.cjs.map +1 -0
- package/dist/actions/list-records.d.cts +9 -0
- package/dist/actions/list-records.d.cts.map +1 -0
- package/dist/actions/list-records.d.mts +9 -0
- package/dist/actions/list-records.d.mts.map +1 -0
- package/dist/actions/list-records.mjs +35 -0
- package/dist/actions/list-records.mjs.map +1 -0
- package/dist/actions/list-sales-orders.cjs +35 -0
- package/dist/actions/list-sales-orders.cjs.map +1 -0
- package/dist/actions/list-sales-orders.d.cts +9 -0
- package/dist/actions/list-sales-orders.d.cts.map +1 -0
- package/dist/actions/list-sales-orders.d.mts +9 -0
- package/dist/actions/list-sales-orders.d.mts.map +1 -0
- package/dist/actions/list-sales-orders.mjs +34 -0
- package/dist/actions/list-sales-orders.mjs.map +1 -0
- package/dist/actions/list-vendor-payments.cjs +35 -0
- package/dist/actions/list-vendor-payments.cjs.map +1 -0
- package/dist/actions/list-vendor-payments.d.cts +9 -0
- package/dist/actions/list-vendor-payments.d.cts.map +1 -0
- package/dist/actions/list-vendor-payments.d.mts +9 -0
- package/dist/actions/list-vendor-payments.d.mts.map +1 -0
- package/dist/actions/list-vendor-payments.mjs +34 -0
- package/dist/actions/list-vendor-payments.mjs.map +1 -0
- package/dist/actions/o-auth2-authorize-account-domain.cjs +31 -0
- package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -0
- package/dist/actions/o-auth2-authorize-account-domain.d.cts +9 -0
- package/dist/actions/o-auth2-authorize-account-domain.d.cts.map +1 -0
- package/dist/actions/o-auth2-authorize-account-domain.d.mts +9 -0
- package/dist/actions/o-auth2-authorize-account-domain.d.mts.map +1 -0
- package/dist/actions/o-auth2-authorize-account-domain.mjs +28 -0
- package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -0
- package/dist/actions/o-auth2-authorize-system-domain.cjs +31 -0
- package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -0
- package/dist/actions/o-auth2-authorize-system-domain.d.cts +9 -0
- package/dist/actions/o-auth2-authorize-system-domain.d.cts.map +1 -0
- package/dist/actions/o-auth2-authorize-system-domain.d.mts +9 -0
- package/dist/actions/o-auth2-authorize-system-domain.d.mts.map +1 -0
- package/dist/actions/o-auth2-authorize-system-domain.mjs +28 -0
- package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -0
- package/dist/actions/o-auth2-logout.cjs +20 -0
- package/dist/actions/o-auth2-logout.cjs.map +1 -0
- package/dist/actions/o-auth2-logout.d.cts +9 -0
- package/dist/actions/o-auth2-logout.d.cts.map +1 -0
- package/dist/actions/o-auth2-logout.d.mts +9 -0
- package/dist/actions/o-auth2-logout.d.mts.map +1 -0
- package/dist/actions/o-auth2-logout.mjs +17 -0
- package/dist/actions/o-auth2-logout.mjs.map +1 -0
- package/dist/actions/o-auth2-revoke-refresh-token.cjs +23 -0
- package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -0
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts +9 -0
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts.map +1 -0
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts +9 -0
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts.map +1 -0
- package/dist/actions/o-auth2-revoke-refresh-token.mjs +20 -0
- package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -0
- package/dist/actions/o-auth2-token-authorization-code.cjs +29 -0
- package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -0
- package/dist/actions/o-auth2-token-authorization-code.d.cts +9 -0
- package/dist/actions/o-auth2-token-authorization-code.d.cts.map +1 -0
- package/dist/actions/o-auth2-token-authorization-code.d.mts +9 -0
- package/dist/actions/o-auth2-token-authorization-code.d.mts.map +1 -0
- package/dist/actions/o-auth2-token-authorization-code.mjs +26 -0
- package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -0
- package/dist/actions/o-auth2-token-client-credentials.cjs +25 -0
- package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -0
- package/dist/actions/o-auth2-token-client-credentials.d.cts +9 -0
- package/dist/actions/o-auth2-token-client-credentials.d.cts.map +1 -0
- package/dist/actions/o-auth2-token-client-credentials.d.mts +9 -0
- package/dist/actions/o-auth2-token-client-credentials.d.mts.map +1 -0
- package/dist/actions/o-auth2-token-client-credentials.mjs +22 -0
- package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -0
- package/dist/actions/o-auth2-token-refresh.cjs +26 -0
- package/dist/actions/o-auth2-token-refresh.cjs.map +1 -0
- package/dist/actions/o-auth2-token-refresh.d.cts +9 -0
- package/dist/actions/o-auth2-token-refresh.d.cts.map +1 -0
- package/dist/actions/o-auth2-token-refresh.d.mts +9 -0
- package/dist/actions/o-auth2-token-refresh.d.mts.map +1 -0
- package/dist/actions/o-auth2-token-refresh.mjs +23 -0
- package/dist/actions/o-auth2-token-refresh.mjs.map +1 -0
- package/dist/actions/oauth2-get-jwks-keys.cjs +26 -0
- package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -0
- package/dist/actions/oauth2-get-jwks-keys.d.cts +9 -0
- package/dist/actions/oauth2-get-jwks-keys.d.cts.map +1 -0
- package/dist/actions/oauth2-get-jwks-keys.d.mts +9 -0
- package/dist/actions/oauth2-get-jwks-keys.d.mts.map +1 -0
- package/dist/actions/oauth2-get-jwks-keys.mjs +25 -0
- package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -0
- package/dist/actions/run-suiteql-query.cjs +32 -0
- package/dist/actions/run-suiteql-query.cjs.map +1 -0
- package/dist/actions/run-suiteql-query.d.cts +9 -0
- package/dist/actions/run-suiteql-query.d.cts.map +1 -0
- package/dist/actions/run-suiteql-query.d.mts +9 -0
- package/dist/actions/run-suiteql-query.d.mts.map +1 -0
- package/dist/actions/run-suiteql-query.mjs +31 -0
- package/dist/actions/run-suiteql-query.mjs.map +1 -0
- package/dist/actions/transform-record.cjs +29 -0
- package/dist/actions/transform-record.cjs.map +1 -0
- package/dist/actions/transform-record.d.cts +9 -0
- package/dist/actions/transform-record.d.cts.map +1 -0
- package/dist/actions/transform-record.d.mts +9 -0
- package/dist/actions/transform-record.d.mts.map +1 -0
- package/dist/actions/transform-record.mjs +26 -0
- package/dist/actions/transform-record.mjs.map +1 -0
- package/dist/actions/update-customer-payment.cjs +34 -0
- package/dist/actions/update-customer-payment.cjs.map +1 -0
- package/dist/actions/update-customer-payment.d.cts +9 -0
- package/dist/actions/update-customer-payment.d.cts.map +1 -0
- package/dist/actions/update-customer-payment.d.mts +9 -0
- package/dist/actions/update-customer-payment.d.mts.map +1 -0
- package/dist/actions/update-customer-payment.mjs +31 -0
- package/dist/actions/update-customer-payment.mjs.map +1 -0
- package/dist/actions/update-customer.cjs +34 -0
- package/dist/actions/update-customer.cjs.map +1 -0
- package/dist/actions/update-customer.d.cts +9 -0
- package/dist/actions/update-customer.d.cts.map +1 -0
- package/dist/actions/update-customer.d.mts +9 -0
- package/dist/actions/update-customer.d.mts.map +1 -0
- package/dist/actions/update-customer.mjs +31 -0
- package/dist/actions/update-customer.mjs.map +1 -0
- package/dist/actions/update-employee.cjs +36 -0
- package/dist/actions/update-employee.cjs.map +1 -0
- package/dist/actions/update-employee.d.cts +9 -0
- package/dist/actions/update-employee.d.cts.map +1 -0
- package/dist/actions/update-employee.d.mts +9 -0
- package/dist/actions/update-employee.d.mts.map +1 -0
- package/dist/actions/update-employee.mjs +33 -0
- package/dist/actions/update-employee.mjs.map +1 -0
- package/dist/actions/update-invoice.cjs +34 -0
- package/dist/actions/update-invoice.cjs.map +1 -0
- package/dist/actions/update-invoice.d.cts +9 -0
- package/dist/actions/update-invoice.d.cts.map +1 -0
- package/dist/actions/update-invoice.d.mts +9 -0
- package/dist/actions/update-invoice.d.mts.map +1 -0
- package/dist/actions/update-invoice.mjs +31 -0
- package/dist/actions/update-invoice.mjs.map +1 -0
- package/dist/actions/update-item-fulfillment.cjs +36 -0
- package/dist/actions/update-item-fulfillment.cjs.map +1 -0
- package/dist/actions/update-item-fulfillment.d.cts +9 -0
- package/dist/actions/update-item-fulfillment.d.cts.map +1 -0
- package/dist/actions/update-item-fulfillment.d.mts +9 -0
- package/dist/actions/update-item-fulfillment.d.mts.map +1 -0
- package/dist/actions/update-item-fulfillment.mjs +33 -0
- package/dist/actions/update-item-fulfillment.mjs.map +1 -0
- package/dist/actions/update-item-receipt.cjs +36 -0
- package/dist/actions/update-item-receipt.cjs.map +1 -0
- package/dist/actions/update-item-receipt.d.cts +9 -0
- package/dist/actions/update-item-receipt.d.cts.map +1 -0
- package/dist/actions/update-item-receipt.d.mts +9 -0
- package/dist/actions/update-item-receipt.d.mts.map +1 -0
- package/dist/actions/update-item-receipt.mjs +33 -0
- package/dist/actions/update-item-receipt.mjs.map +1 -0
- package/dist/actions/update-item.cjs +37 -0
- package/dist/actions/update-item.cjs.map +1 -0
- package/dist/actions/update-item.d.cts +9 -0
- package/dist/actions/update-item.d.cts.map +1 -0
- package/dist/actions/update-item.d.mts +9 -0
- package/dist/actions/update-item.d.mts.map +1 -0
- package/dist/actions/update-item.mjs +34 -0
- package/dist/actions/update-item.mjs.map +1 -0
- package/dist/actions/update-journal-entry.cjs +36 -0
- package/dist/actions/update-journal-entry.cjs.map +1 -0
- package/dist/actions/update-journal-entry.d.cts +9 -0
- package/dist/actions/update-journal-entry.d.cts.map +1 -0
- package/dist/actions/update-journal-entry.d.mts +9 -0
- package/dist/actions/update-journal-entry.d.mts.map +1 -0
- package/dist/actions/update-journal-entry.mjs +33 -0
- package/dist/actions/update-journal-entry.mjs.map +1 -0
- package/dist/actions/update-purchase-order.cjs +35 -0
- package/dist/actions/update-purchase-order.cjs.map +1 -0
- package/dist/actions/update-purchase-order.d.cts +9 -0
- package/dist/actions/update-purchase-order.d.cts.map +1 -0
- package/dist/actions/update-purchase-order.d.mts +9 -0
- package/dist/actions/update-purchase-order.d.mts.map +1 -0
- package/dist/actions/update-purchase-order.mjs +32 -0
- package/dist/actions/update-purchase-order.mjs.map +1 -0
- package/dist/actions/update-sales-order.cjs +34 -0
- package/dist/actions/update-sales-order.cjs.map +1 -0
- package/dist/actions/update-sales-order.d.cts +9 -0
- package/dist/actions/update-sales-order.d.cts.map +1 -0
- package/dist/actions/update-sales-order.d.mts +9 -0
- package/dist/actions/update-sales-order.d.mts.map +1 -0
- package/dist/actions/update-sales-order.mjs +31 -0
- package/dist/actions/update-sales-order.mjs.map +1 -0
- package/dist/actions/update-vendor-bill.cjs +36 -0
- package/dist/actions/update-vendor-bill.cjs.map +1 -0
- package/dist/actions/update-vendor-bill.d.cts +9 -0
- package/dist/actions/update-vendor-bill.d.cts.map +1 -0
- package/dist/actions/update-vendor-bill.d.mts +9 -0
- package/dist/actions/update-vendor-bill.d.mts.map +1 -0
- package/dist/actions/update-vendor-bill.mjs +33 -0
- package/dist/actions/update-vendor-bill.mjs.map +1 -0
- package/dist/actions/update-vendor-payment.cjs +36 -0
- package/dist/actions/update-vendor-payment.cjs.map +1 -0
- package/dist/actions/update-vendor-payment.d.cts +9 -0
- package/dist/actions/update-vendor-payment.d.cts.map +1 -0
- package/dist/actions/update-vendor-payment.d.mts +9 -0
- package/dist/actions/update-vendor-payment.d.mts.map +1 -0
- package/dist/actions/update-vendor-payment.mjs +33 -0
- package/dist/actions/update-vendor-payment.mjs.map +1 -0
- package/dist/actions/update-vendor.cjs +34 -0
- package/dist/actions/update-vendor.cjs.map +1 -0
- package/dist/actions/update-vendor.d.cts +9 -0
- package/dist/actions/update-vendor.d.cts.map +1 -0
- package/dist/actions/update-vendor.d.mts +9 -0
- package/dist/actions/update-vendor.d.mts.map +1 -0
- package/dist/actions/update-vendor.mjs +31 -0
- package/dist/actions/update-vendor.mjs.map +1 -0
- package/dist/actions/upsert-record-by-external-id.cjs +23 -0
- package/dist/actions/upsert-record-by-external-id.cjs.map +1 -0
- package/dist/actions/upsert-record-by-external-id.d.cts +9 -0
- package/dist/actions/upsert-record-by-external-id.d.cts.map +1 -0
- package/dist/actions/upsert-record-by-external-id.d.mts +9 -0
- package/dist/actions/upsert-record-by-external-id.d.mts.map +1 -0
- package/dist/actions/upsert-record-by-external-id.mjs +20 -0
- package/dist/actions/upsert-record-by-external-id.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +176 -0
- package/dist/index.d.cts +88 -0
- package/dist/index.d.mts +88 -0
- package/dist/index.mjs +89 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer-payment.d.cts","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAOjD;AAAA,cACW,mCAAA,EAAqC,CAAA,CAAE,UAGlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-customer-payment.d.ts
|
|
4
|
+
declare const NetsuiteUpdateCustomerPaymentInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateCustomerPaymentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateCustomerPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateCustomerPayment };
|
|
9
|
+
//# sourceMappingURL=update-customer-payment.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer-payment.d.mts","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAOjD;AAAA,cACW,mCAAA,EAAqC,CAAA,CAAE,UAGlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const netsuiteUpdateCustomerPayment = action("NETSUITE_UPDATE_CUSTOMER_PAYMENT", {
|
|
4
|
+
slug: "netsuite-update-customer-payment",
|
|
5
|
+
name: "Update Customer Payment",
|
|
6
|
+
description: "Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("Internal identifier of the customer payment record to update."),
|
|
9
|
+
data: z.record(z.string(), z.unknown()).describe("Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\"memo\": \"Payment received\", \"toBeEmailed\": true}"),
|
|
10
|
+
prefer: z.string().describe("Use 'respond-async' to request asynchronous processing.").optional(),
|
|
11
|
+
idempotency_key: z.string().describe("RFC4122 UUID string to use as idempotency key for async requests.").optional(),
|
|
12
|
+
property_name_validation: z.enum([
|
|
13
|
+
"Error",
|
|
14
|
+
"Warning",
|
|
15
|
+
"Ignore"
|
|
16
|
+
]).describe("Strictness level for property name validation: Error, Warning, or Ignore.").optional(),
|
|
17
|
+
property_value_validation: z.enum([
|
|
18
|
+
"Error",
|
|
19
|
+
"Warning",
|
|
20
|
+
"Ignore"
|
|
21
|
+
]).describe("Strictness level for property value validation: Error, Warning, or Ignore.").optional()
|
|
22
|
+
}),
|
|
23
|
+
output: z.object({
|
|
24
|
+
location: z.string().describe("URL of the updated customer payment record or async job status.").nullable().optional(),
|
|
25
|
+
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { netsuiteUpdateCustomerPayment };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=update-customer-payment.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer-payment.mjs","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerPaymentInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateCustomerPayment = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yTAAyT;EAC1W,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAUS;CACP,QAV+D,EAAE,OAAO;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-customer.ts
|
|
4
|
+
const NetsuiteUpdateCustomerInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs."),
|
|
6
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'})."),
|
|
7
|
+
prefer: zod.z.string().describe("Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.").optional(),
|
|
8
|
+
idempotency_key: zod.z.string().describe("RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.").optional(),
|
|
9
|
+
property_name_validation: zod.z.enum([
|
|
10
|
+
"Error",
|
|
11
|
+
"Warning",
|
|
12
|
+
"Ignore"
|
|
13
|
+
]).describe("How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).").optional(),
|
|
14
|
+
property_value_validation: zod.z.enum([
|
|
15
|
+
"Error",
|
|
16
|
+
"Warning",
|
|
17
|
+
"Ignore"
|
|
18
|
+
]).describe("How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).").optional()
|
|
19
|
+
});
|
|
20
|
+
const NetsuiteUpdateCustomerOutput = zod.z.object({
|
|
21
|
+
location: zod.z.string().describe("URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.").nullable().optional(),
|
|
22
|
+
preference_applied: zod.z.string().describe("Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.").nullable().optional()
|
|
23
|
+
});
|
|
24
|
+
const netsuiteUpdateCustomer = require_action.action("NETSUITE_UPDATE_CUSTOMER", {
|
|
25
|
+
slug: "netsuite-update-customer",
|
|
26
|
+
name: "Update Customer",
|
|
27
|
+
description: "Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.",
|
|
28
|
+
input: NetsuiteUpdateCustomerInput,
|
|
29
|
+
output: NetsuiteUpdateCustomerOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.netsuiteUpdateCustomer = netsuiteUpdateCustomer;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=update-customer.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs.\"),\n data: z.record(z.string(), z.unknown()).describe(\"JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'}).\"),\n prefer: z.string().describe(\"Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).\").optional(),\n});\nexport const NetsuiteUpdateCustomerOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateCustomer = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC3H,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yWAAyW;CAC1Z,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CACnQ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACpP,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxP,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;AACxQ,CAAC;AACD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvP,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjL,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-customer.d.ts
|
|
4
|
+
declare const NetsuiteUpdateCustomerInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateCustomerOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateCustomer };
|
|
9
|
+
//# sourceMappingURL=update-customer.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAO1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-customer.d.ts
|
|
4
|
+
declare const NetsuiteUpdateCustomerInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateCustomerOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateCustomer };
|
|
9
|
+
//# sourceMappingURL=update-customer.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAO1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const netsuiteUpdateCustomer = action("NETSUITE_UPDATE_CUSTOMER", {
|
|
4
|
+
slug: "netsuite-update-customer",
|
|
5
|
+
name: "Update Customer",
|
|
6
|
+
description: "Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.string().describe("Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs."),
|
|
9
|
+
data: z.record(z.string(), z.unknown()).describe("JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'})."),
|
|
10
|
+
prefer: z.string().describe("Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.").optional(),
|
|
11
|
+
idempotency_key: z.string().describe("RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.").optional(),
|
|
12
|
+
property_name_validation: z.enum([
|
|
13
|
+
"Error",
|
|
14
|
+
"Warning",
|
|
15
|
+
"Ignore"
|
|
16
|
+
]).describe("How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).").optional(),
|
|
17
|
+
property_value_validation: z.enum([
|
|
18
|
+
"Error",
|
|
19
|
+
"Warning",
|
|
20
|
+
"Ignore"
|
|
21
|
+
]).describe("How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).").optional()
|
|
22
|
+
}),
|
|
23
|
+
output: z.object({
|
|
24
|
+
location: z.string().describe("URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.").nullable().optional(),
|
|
25
|
+
preference_applied: z.string().describe("Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.").nullable().optional()
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { netsuiteUpdateCustomer };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=update-customer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs.\"),\n data: z.record(z.string(), z.unknown()).describe(\"JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'}).\"),\n prefer: z.string().describe(\"Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).\").optional(),\n});\nexport const NetsuiteUpdateCustomerOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateCustomer = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC3H,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yWAAyW;EAC1Z,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;EACnQ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;EACpP,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;EACxP,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CACxQ,CAUS;CACP,QAVwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvP,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-employee.ts
|
|
4
|
+
const NetsuiteUpdateEmployeeInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("Internal ID or external ID (prefixed with 'eid:') of the employee record to update."),
|
|
6
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Employee record JSON object containing fields to update; omitted fields remain unchanged."),
|
|
7
|
+
Prefer: zod.z.string().describe("Use 'respond-async' to request asynchronous processing.").optional(),
|
|
8
|
+
replace: zod.z.string().describe("Comma-separated list of body fields or sublists to replace or target.").optional(),
|
|
9
|
+
replaceSelectedFields: zod.z.boolean().describe("When true, only the fields named in 'replace' and explicitly set to null in the request are deleted.").optional(),
|
|
10
|
+
"X-NetSuite-Idempotency-Key": zod.z.string().describe("UUID for idempotent async requests.").optional(),
|
|
11
|
+
"X-NetSuite-PropertyNameValidation": zod.z.enum([
|
|
12
|
+
"Error",
|
|
13
|
+
"Warning",
|
|
14
|
+
"Ignore"
|
|
15
|
+
]).describe("Controls strictness for property name validation.").optional(),
|
|
16
|
+
"X-NetSuite-PropertyValueValidation": zod.z.enum([
|
|
17
|
+
"Error",
|
|
18
|
+
"Warning",
|
|
19
|
+
"Ignore"
|
|
20
|
+
]).describe("Controls strictness for property value validation.").optional()
|
|
21
|
+
}).describe("Request model for updating a NetSuite Employee record.");
|
|
22
|
+
const NetsuiteUpdateEmployeeOutput = zod.z.object({
|
|
23
|
+
location: zod.z.string().describe("URL of the updated employee record instance.").nullable().optional(),
|
|
24
|
+
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header indicating async processing.").nullable().optional()
|
|
25
|
+
}).describe("Response model for updating a NetSuite Employee record.");
|
|
26
|
+
const netsuiteUpdateEmployee = require_action.action("NETSUITE_UPDATE_EMPLOYEE", {
|
|
27
|
+
slug: "netsuite-update-employee",
|
|
28
|
+
name: "Update Employee",
|
|
29
|
+
description: "Tool to update an employee record by ID. Use when modifying fields of an existing employee.",
|
|
30
|
+
input: NetsuiteUpdateEmployeeInput,
|
|
31
|
+
output: NetsuiteUpdateEmployeeOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.netsuiteUpdateEmployee = netsuiteUpdateEmployee;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=update-employee.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-employee.cjs","names":["z","action"],"sources":["../../src/actions/update-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateEmployeeInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal ID or external ID (prefixed with 'eid:') of the employee record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Employee record JSON object containing fields to update; omitted fields remain unchanged.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated list of body fields or sublists to replace or target.\").optional(),\n replaceSelectedFields: z.boolean().describe(\"When true, only the fields named in 'replace' and explicitly set to null in the request are deleted.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID for idempotent async requests.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for updating a NetSuite Employee record.\");\nexport const NetsuiteUpdateEmployeeOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated employee record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header indicating async processing.\").nullable().optional(),\n}).describe(\"Response model for updating a NetSuite Employee record.\");\n\nexport const netsuiteUpdateEmployee = action(\"NETSUITE_UPDATE_EMPLOYEE\", {\n slug: \"netsuite-update-employee\",\n name: \"Update Employee\",\n description: \"Tool to update an employee record by ID. Use when modifying fields of an existing employee.\",\n input: NetsuiteUpdateEmployeeInput,\n output: NetsuiteUpdateEmployeeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC7G,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7J,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClG,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-employee.d.ts
|
|
4
|
+
declare const NetsuiteUpdateEmployeeInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateEmployeeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateEmployee };
|
|
9
|
+
//# sourceMappingURL=update-employee.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-employee.d.cts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UASyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAGyB;AAAA,cAEzD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-employee.d.ts
|
|
4
|
+
declare const NetsuiteUpdateEmployeeInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateEmployeeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateEmployee };
|
|
9
|
+
//# sourceMappingURL=update-employee.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-employee.d.mts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UASyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAGyB;AAAA,cAEzD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const netsuiteUpdateEmployee = action("NETSUITE_UPDATE_EMPLOYEE", {
|
|
4
|
+
slug: "netsuite-update-employee",
|
|
5
|
+
name: "Update Employee",
|
|
6
|
+
description: "Tool to update an employee record by ID. Use when modifying fields of an existing employee.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.string().describe("Internal ID or external ID (prefixed with 'eid:') of the employee record to update."),
|
|
9
|
+
data: z.record(z.string(), z.unknown()).describe("Employee record JSON object containing fields to update; omitted fields remain unchanged."),
|
|
10
|
+
Prefer: z.string().describe("Use 'respond-async' to request asynchronous processing.").optional(),
|
|
11
|
+
replace: z.string().describe("Comma-separated list of body fields or sublists to replace or target.").optional(),
|
|
12
|
+
replaceSelectedFields: z.boolean().describe("When true, only the fields named in 'replace' and explicitly set to null in the request are deleted.").optional(),
|
|
13
|
+
"X-NetSuite-Idempotency-Key": z.string().describe("UUID for idempotent async requests.").optional(),
|
|
14
|
+
"X-NetSuite-PropertyNameValidation": z.enum([
|
|
15
|
+
"Error",
|
|
16
|
+
"Warning",
|
|
17
|
+
"Ignore"
|
|
18
|
+
]).describe("Controls strictness for property name validation.").optional(),
|
|
19
|
+
"X-NetSuite-PropertyValueValidation": z.enum([
|
|
20
|
+
"Error",
|
|
21
|
+
"Warning",
|
|
22
|
+
"Ignore"
|
|
23
|
+
]).describe("Controls strictness for property value validation.").optional()
|
|
24
|
+
}).describe("Request model for updating a NetSuite Employee record."),
|
|
25
|
+
output: z.object({
|
|
26
|
+
location: z.string().describe("URL of the updated employee record instance.").nullable().optional(),
|
|
27
|
+
preference_applied: z.string().describe("Value of the 'Preference-Applied' header indicating async processing.").nullable().optional()
|
|
28
|
+
}).describe("Response model for updating a NetSuite Employee record.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { netsuiteUpdateEmployee };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=update-employee.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-employee.mjs","names":[],"sources":["../../src/actions/update-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateEmployeeInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal ID or external ID (prefixed with 'eid:') of the employee record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Employee record JSON object containing fields to update; omitted fields remain unchanged.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated list of body fields or sublists to replace or target.\").optional(),\n replaceSelectedFields: z.boolean().describe(\"When true, only the fields named in 'replace' and explicitly set to null in the request are deleted.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID for idempotent async requests.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for updating a NetSuite Employee record.\");\nexport const NetsuiteUpdateEmployeeOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated employee record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header indicating async processing.\").nullable().optional(),\n}).describe(\"Response model for updating a NetSuite Employee record.\");\n\nexport const netsuiteUpdateEmployee = action(\"NETSUITE_UPDATE_EMPLOYEE\", {\n slug: \"netsuite-update-employee\",\n name: \"Update Employee\",\n description: \"Tool to update an employee record by ID. Use when modifying fields of an existing employee.\",\n input: NetsuiteUpdateEmployeeInput,\n output: NetsuiteUpdateEmployeeOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAC7G,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F;EAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC7J,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAClG,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-invoice.ts
|
|
4
|
+
const NetsuiteUpdateInvoiceInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("Internal identifier of the invoice record to update."),
|
|
6
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Invoice record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), email (string), dueDate (date string YYYY-MM-DD), toBeEmailed (boolean), toBePrinted (boolean), toBeFaxed (boolean), otherRefNum (string), terms (object with 'id' key), salesRep (object with 'id' key), location (object with 'id' key), customForm (object with 'id' key), and custom fields (e.g., custbody_* fields). For reference fields, provide objects with 'id' key and the internal ID as a string."),
|
|
7
|
+
prefer: zod.z.string().describe("Use 'respond-async' to request asynchronous processing.").optional(),
|
|
8
|
+
idempotency_key: zod.z.string().describe("RFC4122 UUID string to use as idempotency key for async requests.").optional(),
|
|
9
|
+
property_name_validation: zod.z.enum([
|
|
10
|
+
"Error",
|
|
11
|
+
"Warning",
|
|
12
|
+
"Ignore"
|
|
13
|
+
]).describe("Strictness level for property name validation: Error, Warning, or Ignore.").optional(),
|
|
14
|
+
property_value_validation: zod.z.enum([
|
|
15
|
+
"Error",
|
|
16
|
+
"Warning",
|
|
17
|
+
"Ignore"
|
|
18
|
+
]).describe("Strictness level for property value validation: Error, Warning, or Ignore.").optional()
|
|
19
|
+
}).describe("Request model for updating a NetSuite Invoice record.");
|
|
20
|
+
const NetsuiteUpdateInvoiceOutput = zod.z.object({
|
|
21
|
+
location: zod.z.string().describe("URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.").nullable().optional(),
|
|
22
|
+
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.").nullable().optional()
|
|
23
|
+
});
|
|
24
|
+
const netsuiteUpdateInvoice = require_action.action("NETSUITE_UPDATE_INVOICE", {
|
|
25
|
+
slug: "netsuite-update-invoice",
|
|
26
|
+
name: "Update Invoice",
|
|
27
|
+
description: "Updates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.",
|
|
28
|
+
input: NetsuiteUpdateInvoiceInput,
|
|
29
|
+
output: NetsuiteUpdateInvoiceOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.netsuiteUpdateInvoice = netsuiteUpdateInvoice;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=update-invoice.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateInvoiceInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal identifier of the invoice record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Invoice record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), email (string), dueDate (date string YYYY-MM-DD), toBeEmailed (boolean), toBePrinted (boolean), toBeFaxed (boolean), otherRefNum (string), terms (object with 'id' key), salesRep (object with 'id' key), location (object with 'id' key), customForm (object with 'id' key), and custom fields (e.g., custbody_* fields). For reference fields, provide objects with 'id' key and the internal ID as a string.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Invoice record.\");\nexport const NetsuiteUpdateInvoiceOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateInvoice = action(\"NETSUITE_UPDATE_INVOICE\", {\n slug: \"netsuite-update-invoice\",\n name: \"Update Invoice\",\n description: \"Updates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.\",\n input: NetsuiteUpdateInvoiceInput,\n output: NetsuiteUpdateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACpF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0hBAA0hB;CAC3kB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/M,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-invoice.d.ts
|
|
4
|
+
declare const NetsuiteUpdateInvoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateInvoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateInvoice };
|
|
9
|
+
//# sourceMappingURL=update-invoice.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAOyB;AAAA,cACvD,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-invoice.d.ts
|
|
4
|
+
declare const NetsuiteUpdateInvoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateInvoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateInvoice };
|
|
9
|
+
//# sourceMappingURL=update-invoice.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.d.mts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAOyB;AAAA,cACvD,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const netsuiteUpdateInvoice = action("NETSUITE_UPDATE_INVOICE", {
|
|
4
|
+
slug: "netsuite-update-invoice",
|
|
5
|
+
name: "Update Invoice",
|
|
6
|
+
description: "Updates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("Internal identifier of the invoice record to update."),
|
|
9
|
+
data: z.record(z.string(), z.unknown()).describe("Invoice record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), email (string), dueDate (date string YYYY-MM-DD), toBeEmailed (boolean), toBePrinted (boolean), toBeFaxed (boolean), otherRefNum (string), terms (object with 'id' key), salesRep (object with 'id' key), location (object with 'id' key), customForm (object with 'id' key), and custom fields (e.g., custbody_* fields). For reference fields, provide objects with 'id' key and the internal ID as a string."),
|
|
10
|
+
prefer: z.string().describe("Use 'respond-async' to request asynchronous processing.").optional(),
|
|
11
|
+
idempotency_key: z.string().describe("RFC4122 UUID string to use as idempotency key for async requests.").optional(),
|
|
12
|
+
property_name_validation: z.enum([
|
|
13
|
+
"Error",
|
|
14
|
+
"Warning",
|
|
15
|
+
"Ignore"
|
|
16
|
+
]).describe("Strictness level for property name validation: Error, Warning, or Ignore.").optional(),
|
|
17
|
+
property_value_validation: z.enum([
|
|
18
|
+
"Error",
|
|
19
|
+
"Warning",
|
|
20
|
+
"Ignore"
|
|
21
|
+
]).describe("Strictness level for property value validation: Error, Warning, or Ignore.").optional()
|
|
22
|
+
}).describe("Request model for updating a NetSuite Invoice record."),
|
|
23
|
+
output: z.object({
|
|
24
|
+
location: z.string().describe("URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.").nullable().optional(),
|
|
25
|
+
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.").nullable().optional()
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { netsuiteUpdateInvoice };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=update-invoice.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.mjs","names":[],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateInvoiceInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal identifier of the invoice record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Invoice record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), email (string), dueDate (date string YYYY-MM-DD), toBeEmailed (boolean), toBePrinted (boolean), toBeFaxed (boolean), otherRefNum (string), terms (object with 'id' key), salesRep (object with 'id' key), location (object with 'id' key), customForm (object with 'id' key), and custom fields (e.g., custbody_* fields). For reference fields, provide objects with 'id' key and the internal ID as a string.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Invoice record.\");\nexport const NetsuiteUpdateInvoiceOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateInvoice = action(\"NETSUITE_UPDATE_INVOICE\", {\n slug: \"netsuite-update-invoice\",\n name: \"Update Invoice\",\n description: \"Updates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.\",\n input: NetsuiteUpdateInvoiceInput,\n output: NetsuiteUpdateInvoiceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACpF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0hBAA0hB;EAC3kB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVuD,EAAE,OAAO;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-item-fulfillment.ts
|
|
4
|
+
const NetsuiteUpdateItemFulfillmentInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("Internal identifier of the item fulfillment record to update."),
|
|
6
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Item Fulfillment record JSON object containing fields and sublists to update; omitted fields remain unchanged."),
|
|
7
|
+
prefer: zod.z.string().describe("Use 'respond-async' to request asynchronous processing.").optional(),
|
|
8
|
+
replace: zod.z.string().describe("Comma-separated field or sublist names to fully replace with those provided in 'data'.").optional(),
|
|
9
|
+
idempotency_key: zod.z.string().describe("RFC4122 UUID string to use as idempotency key for async requests.").optional(),
|
|
10
|
+
replace_selected_fields: zod.z.boolean().default(false).describe("When true, any body fields explicitly listed and set to null are deleted.").optional(),
|
|
11
|
+
property_name_validation: zod.z.enum([
|
|
12
|
+
"Error",
|
|
13
|
+
"Warning",
|
|
14
|
+
"Ignore"
|
|
15
|
+
]).describe("Strictness level for property name validation: Error, Warning, or Ignore.").optional(),
|
|
16
|
+
property_value_validation: zod.z.enum([
|
|
17
|
+
"Error",
|
|
18
|
+
"Warning",
|
|
19
|
+
"Ignore"
|
|
20
|
+
]).describe("Strictness level for property value validation: Error, Warning, or Ignore.").optional()
|
|
21
|
+
}).describe("Request model for updating a NetSuite Item Fulfillment record.");
|
|
22
|
+
const NetsuiteUpdateItemFulfillmentOutput = zod.z.object({
|
|
23
|
+
location: zod.z.string().describe("URL of the updated item fulfillment record instance.").nullable().optional(),
|
|
24
|
+
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
25
|
+
}).describe("Response model for updated NetSuite Item Fulfillment record.");
|
|
26
|
+
const netsuiteUpdateItemFulfillment = require_action.action("NETSUITE_UPDATE_ITEM_FULFILLMENT", {
|
|
27
|
+
slug: "netsuite-update-item-fulfillment",
|
|
28
|
+
name: "Update Item Fulfillment",
|
|
29
|
+
description: "Tool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.",
|
|
30
|
+
input: NetsuiteUpdateItemFulfillmentInput,
|
|
31
|
+
output: NetsuiteUpdateItemFulfillmentOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.netsuiteUpdateItemFulfillment = netsuiteUpdateItemFulfillment;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=update-item-fulfillment.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item-fulfillment.cjs","names":["z","action"],"sources":["../../src/actions/update-item-fulfillment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemFulfillmentInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal identifier of the item fulfillment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item Fulfillment record JSON object containing fields and sublists to update; omitted fields remain unchanged.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated field or sublist names to fully replace with those provided in 'data'.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replace_selected_fields: z.boolean().default(false).describe(\"When true, any body fields explicitly listed and set to null are deleted.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Item Fulfillment record.\");\nexport const NetsuiteUpdateItemFulfillmentOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated item fulfillment record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).describe(\"Response model for updated NetSuite Item Fulfillment record.\");\n\nexport const netsuiteUpdateItemFulfillment = action(\"NETSUITE_UPDATE_ITEM_FULFILLMENT\", {\n slug: \"netsuite-update-item-fulfillment\",\n name: \"Update Item Fulfillment\",\n description: \"Tool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.\",\n input: NetsuiteUpdateItemFulfillmentInput,\n output: NetsuiteUpdateItemFulfillmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC7F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH;CACjK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACnJ,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-item-fulfillment.d.ts
|
|
4
|
+
declare const NetsuiteUpdateItemFulfillmentInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateItemFulfillmentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateItemFulfillment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateItemFulfillment };
|
|
9
|
+
//# sourceMappingURL=update-item-fulfillment.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item-fulfillment.d.cts","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAS0B;AAAA,cAChE,mCAAA,EAAqC,CAAA,CAAE,UAGuB;AAAA,cAE9D,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-item-fulfillment.d.ts
|
|
4
|
+
declare const NetsuiteUpdateItemFulfillmentInput: z.ZodTypeAny;
|
|
5
|
+
declare const NetsuiteUpdateItemFulfillmentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const netsuiteUpdateItemFulfillment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { netsuiteUpdateItemFulfillment };
|
|
9
|
+
//# sourceMappingURL=update-item-fulfillment.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item-fulfillment.d.mts","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAS0B;AAAA,cAChE,mCAAA,EAAqC,CAAA,CAAE,UAGuB;AAAA,cAE9D,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const netsuiteUpdateItemFulfillment = action("NETSUITE_UPDATE_ITEM_FULFILLMENT", {
|
|
4
|
+
slug: "netsuite-update-item-fulfillment",
|
|
5
|
+
name: "Update Item Fulfillment",
|
|
6
|
+
description: "Tool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("Internal identifier of the item fulfillment record to update."),
|
|
9
|
+
data: z.record(z.string(), z.unknown()).describe("Item Fulfillment record JSON object containing fields and sublists to update; omitted fields remain unchanged."),
|
|
10
|
+
prefer: z.string().describe("Use 'respond-async' to request asynchronous processing.").optional(),
|
|
11
|
+
replace: z.string().describe("Comma-separated field or sublist names to fully replace with those provided in 'data'.").optional(),
|
|
12
|
+
idempotency_key: z.string().describe("RFC4122 UUID string to use as idempotency key for async requests.").optional(),
|
|
13
|
+
replace_selected_fields: z.boolean().default(false).describe("When true, any body fields explicitly listed and set to null are deleted.").optional(),
|
|
14
|
+
property_name_validation: z.enum([
|
|
15
|
+
"Error",
|
|
16
|
+
"Warning",
|
|
17
|
+
"Ignore"
|
|
18
|
+
]).describe("Strictness level for property name validation: Error, Warning, or Ignore.").optional(),
|
|
19
|
+
property_value_validation: z.enum([
|
|
20
|
+
"Error",
|
|
21
|
+
"Warning",
|
|
22
|
+
"Ignore"
|
|
23
|
+
]).describe("Strictness level for property value validation: Error, Warning, or Ignore.").optional()
|
|
24
|
+
}).describe("Request model for updating a NetSuite Item Fulfillment record."),
|
|
25
|
+
output: z.object({
|
|
26
|
+
location: z.string().describe("URL of the updated item fulfillment record instance.").nullable().optional(),
|
|
27
|
+
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
28
|
+
}).describe("Response model for updated NetSuite Item Fulfillment record.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { netsuiteUpdateItemFulfillment };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=update-item-fulfillment.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item-fulfillment.mjs","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemFulfillmentInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal identifier of the item fulfillment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item Fulfillment record JSON object containing fields and sublists to update; omitted fields remain unchanged.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated field or sublist names to fully replace with those provided in 'data'.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replace_selected_fields: z.boolean().default(false).describe(\"When true, any body fields explicitly listed and set to null are deleted.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Item Fulfillment record.\");\nexport const NetsuiteUpdateItemFulfillmentOutput: z.ZodTypeAny = z.object({\n location: z.string().describe(\"URL of the updated item fulfillment record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).describe(\"Response model for updated NetSuite Item Fulfillment record.\");\n\nexport const netsuiteUpdateItemFulfillment = action(\"NETSUITE_UPDATE_ITEM_FULFILLMENT\", {\n slug: \"netsuite-update-item-fulfillment\",\n name: \"Update Item Fulfillment\",\n description: \"Tool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.\",\n input: NetsuiteUpdateItemFulfillmentInput,\n output: NetsuiteUpdateItemFulfillmentOutput,\n});\n"],"mappings":";;AAmBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH;EACjK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAChI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACnJ,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAV+D,EAAE,OAAO;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-item-receipt.ts
|
|
4
|
+
const NetsuiteUpdateItemReceiptInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("Internal identifier of the item receipt record to update."),
|
|
6
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Item receipt record JSON object containing fields to update; omitted fields remain unchanged. Set a field to null to delete its value."),
|
|
7
|
+
prefer: zod.z.string().describe("Use 'respond-async' to request asynchronous processing.").optional(),
|
|
8
|
+
replace: zod.z.string().describe("Comma-separated sublist names to fully replace (e.g., 'item').").optional(),
|
|
9
|
+
idempotency_key: zod.z.string().describe("RFC4122 UUID string to use as idempotency key for async requests.").optional(),
|
|
10
|
+
replaceSelectedFields: zod.z.boolean().default(false).describe("When true, fields to be deleted must be included in 'replace'; use with setting those fields to null in data to delete them.").optional(),
|
|
11
|
+
property_name_validation: zod.z.enum([
|
|
12
|
+
"Error",
|
|
13
|
+
"Warning",
|
|
14
|
+
"Ignore"
|
|
15
|
+
]).describe("Strictness level for property name validation: Error, Warning, or Ignore.").optional(),
|
|
16
|
+
property_value_validation: zod.z.enum([
|
|
17
|
+
"Error",
|
|
18
|
+
"Warning",
|
|
19
|
+
"Ignore"
|
|
20
|
+
]).describe("Strictness level for property value validation: Error, Warning, or Ignore.").optional()
|
|
21
|
+
}).describe("Request model for updating a NetSuite Item Receipt record.");
|
|
22
|
+
const NetsuiteUpdateItemReceiptOutput = zod.z.object({
|
|
23
|
+
location: zod.z.string().describe("URL of the updated item receipt record instance.").nullable().optional(),
|
|
24
|
+
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
25
|
+
}).describe("Response model for updating a NetSuite Item Receipt record.");
|
|
26
|
+
const netsuiteUpdateItemReceipt = require_action.action("NETSUITE_UPDATE_ITEM_RECEIPT", {
|
|
27
|
+
slug: "netsuite-update-item-receipt",
|
|
28
|
+
name: "Update Item Receipt",
|
|
29
|
+
description: "Tool to update an item receipt record by ID. Use when modifying fields of an existing item receipt.",
|
|
30
|
+
input: NetsuiteUpdateItemReceiptInput,
|
|
31
|
+
output: NetsuiteUpdateItemReceiptOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.netsuiteUpdateItemReceipt = netsuiteUpdateItemReceipt;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=update-item-receipt.cjs.map
|