@keystrokehq/netsuite 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/async-get-job-status.cjs +3 -3
- package/dist/actions/async-get-job-status.cjs.map +1 -1
- package/dist/actions/async-get-job-status.d.cts +4 -4
- package/dist/actions/async-get-job-status.d.mts +4 -4
- package/dist/actions/async-get-job-status.mjs +3 -3
- package/dist/actions/async-get-job-status.mjs.map +1 -1
- package/dist/actions/async-get-job-task-result.cjs +2 -2
- package/dist/actions/async-get-job-task-result.cjs.map +1 -1
- package/dist/actions/async-get-job-task-result.d.cts +2 -2
- package/dist/actions/async-get-job-task-result.d.mts +2 -2
- package/dist/actions/async-get-job-task-result.mjs +2 -2
- package/dist/actions/async-get-job-task-result.mjs.map +1 -1
- package/dist/actions/async-get-job-task.cjs +1 -1
- package/dist/actions/async-get-job-task.cjs.map +1 -1
- package/dist/actions/async-get-job-task.d.cts +1 -1
- package/dist/actions/async-get-job-task.d.mts +1 -1
- package/dist/actions/async-get-job-task.mjs +1 -1
- package/dist/actions/async-get-job-task.mjs.map +1 -1
- package/dist/actions/create-customer-payment.cjs +1 -1
- package/dist/actions/create-customer-payment.cjs.map +1 -1
- package/dist/actions/create-customer-payment.d.cts +1 -1
- package/dist/actions/create-customer-payment.d.mts +1 -1
- package/dist/actions/create-customer-payment.mjs +1 -1
- package/dist/actions/create-customer-payment.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -1
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +1 -1
- package/dist/actions/create-customer.d.mts +1 -1
- package/dist/actions/create-customer.mjs +1 -1
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-employee.cjs +1 -1
- package/dist/actions/create-employee.cjs.map +1 -1
- package/dist/actions/create-employee.d.cts +1 -1
- package/dist/actions/create-employee.d.mts +1 -1
- package/dist/actions/create-employee.mjs +1 -1
- package/dist/actions/create-employee.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -1
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +1 -1
- package/dist/actions/create-invoice.d.mts +1 -1
- package/dist/actions/create-invoice.mjs +1 -1
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +1 -1
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +4 -4
- package/dist/actions/create-item.d.mts +4 -4
- package/dist/actions/create-item.mjs +1 -1
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-journal-entry.cjs +1 -1
- package/dist/actions/create-journal-entry.cjs.map +1 -1
- package/dist/actions/create-journal-entry.d.cts +1 -1
- package/dist/actions/create-journal-entry.d.mts +1 -1
- package/dist/actions/create-journal-entry.mjs +1 -1
- package/dist/actions/create-journal-entry.mjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.cts +1 -1
- package/dist/actions/create-jwt-client-assertion.d.mts +1 -1
- package/dist/actions/create-jwt-client-assertion.mjs +1 -1
- package/dist/actions/create-jwt-client-assertion.mjs.map +1 -1
- package/dist/actions/create-purchase-order.cjs +2 -2
- package/dist/actions/create-purchase-order.cjs.map +1 -1
- package/dist/actions/create-purchase-order.d.cts +3 -2
- package/dist/actions/create-purchase-order.d.mts +3 -2
- package/dist/actions/create-purchase-order.mjs +2 -2
- package/dist/actions/create-purchase-order.mjs.map +1 -1
- package/dist/actions/create-record.cjs +1 -1
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +1 -1
- package/dist/actions/create-record.d.mts +1 -1
- package/dist/actions/create-record.mjs +1 -1
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-sales-order.cjs +2 -2
- package/dist/actions/create-sales-order.cjs.map +1 -1
- package/dist/actions/create-sales-order.d.cts +3 -2
- package/dist/actions/create-sales-order.d.mts +3 -2
- package/dist/actions/create-sales-order.mjs +2 -2
- package/dist/actions/create-sales-order.mjs.map +1 -1
- package/dist/actions/create-vendor-bill.cjs +1 -1
- package/dist/actions/create-vendor-bill.cjs.map +1 -1
- package/dist/actions/create-vendor-bill.d.cts +1 -1
- package/dist/actions/create-vendor-bill.d.mts +1 -1
- package/dist/actions/create-vendor-bill.mjs +1 -1
- package/dist/actions/create-vendor-bill.mjs.map +1 -1
- package/dist/actions/create-vendor.cjs +1 -1
- package/dist/actions/create-vendor.cjs.map +1 -1
- package/dist/actions/create-vendor.d.cts +1 -1
- package/dist/actions/create-vendor.d.mts +1 -1
- package/dist/actions/create-vendor.mjs +1 -1
- package/dist/actions/create-vendor.mjs.map +1 -1
- package/dist/actions/delete-customer-payment.cjs +1 -1
- package/dist/actions/delete-customer-payment.cjs.map +1 -1
- package/dist/actions/delete-customer-payment.d.cts +1 -1
- package/dist/actions/delete-customer-payment.d.mts +1 -1
- package/dist/actions/delete-customer-payment.mjs +1 -1
- package/dist/actions/delete-customer-payment.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +1 -1
- package/dist/actions/delete-customer.d.mts +1 -1
- package/dist/actions/delete-customer.mjs +1 -1
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-employee.cjs +1 -1
- package/dist/actions/delete-employee.cjs.map +1 -1
- package/dist/actions/delete-employee.d.cts +1 -1
- package/dist/actions/delete-employee.d.mts +1 -1
- package/dist/actions/delete-employee.mjs +1 -1
- package/dist/actions/delete-employee.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -1
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +1 -1
- package/dist/actions/delete-invoice.d.mts +1 -1
- package/dist/actions/delete-invoice.mjs +1 -1
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.cjs +1 -1
- package/dist/actions/delete-item-fulfillment.cjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.cts +1 -1
- package/dist/actions/delete-item-fulfillment.d.mts +1 -1
- package/dist/actions/delete-item-fulfillment.mjs +1 -1
- package/dist/actions/delete-item-fulfillment.mjs.map +1 -1
- package/dist/actions/delete-item-receipt.cjs +1 -1
- package/dist/actions/delete-item-receipt.cjs.map +1 -1
- package/dist/actions/delete-item-receipt.d.cts +1 -1
- package/dist/actions/delete-item-receipt.d.mts +1 -1
- package/dist/actions/delete-item-receipt.mjs +1 -1
- package/dist/actions/delete-item-receipt.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -1
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +4 -4
- package/dist/actions/delete-item.d.mts +4 -4
- package/dist/actions/delete-item.mjs +1 -1
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-journal-entry.cjs +1 -1
- package/dist/actions/delete-journal-entry.cjs.map +1 -1
- package/dist/actions/delete-journal-entry.d.cts +1 -1
- package/dist/actions/delete-journal-entry.d.mts +1 -1
- package/dist/actions/delete-journal-entry.mjs +1 -1
- package/dist/actions/delete-journal-entry.mjs.map +1 -1
- package/dist/actions/delete-purchase-order.cjs +1 -1
- package/dist/actions/delete-purchase-order.cjs.map +1 -1
- package/dist/actions/delete-purchase-order.d.cts +1 -1
- package/dist/actions/delete-purchase-order.d.mts +1 -1
- package/dist/actions/delete-purchase-order.mjs +1 -1
- package/dist/actions/delete-purchase-order.mjs.map +1 -1
- package/dist/actions/delete-sales-order.cjs +1 -1
- package/dist/actions/delete-sales-order.cjs.map +1 -1
- package/dist/actions/delete-sales-order.d.cts +1 -1
- package/dist/actions/delete-sales-order.d.mts +1 -1
- package/dist/actions/delete-sales-order.mjs +1 -1
- package/dist/actions/delete-sales-order.mjs.map +1 -1
- package/dist/actions/delete-vendor-payment.cjs +1 -1
- package/dist/actions/delete-vendor-payment.cjs.map +1 -1
- package/dist/actions/delete-vendor-payment.d.cts +1 -1
- package/dist/actions/delete-vendor-payment.d.mts +1 -1
- package/dist/actions/delete-vendor-payment.mjs +1 -1
- package/dist/actions/delete-vendor-payment.mjs.map +1 -1
- package/dist/actions/execute-dataset.cjs +2 -2
- package/dist/actions/execute-dataset.cjs.map +1 -1
- package/dist/actions/execute-dataset.d.cts +2 -2
- package/dist/actions/execute-dataset.d.mts +2 -2
- package/dist/actions/execute-dataset.mjs +2 -2
- package/dist/actions/execute-dataset.mjs.map +1 -1
- package/dist/actions/get-customer-payment.cjs +2 -2
- package/dist/actions/get-customer-payment.cjs.map +1 -1
- package/dist/actions/get-customer-payment.d.cts +2 -2
- package/dist/actions/get-customer-payment.d.mts +2 -2
- package/dist/actions/get-customer-payment.mjs +2 -2
- package/dist/actions/get-customer-payment.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +2 -2
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +2 -2
- package/dist/actions/get-customer.d.mts +2 -2
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-datacenter-urls.cjs +1 -1
- package/dist/actions/get-datacenter-urls.cjs.map +1 -1
- package/dist/actions/get-datacenter-urls.d.cts +1 -1
- package/dist/actions/get-datacenter-urls.d.mts +1 -1
- package/dist/actions/get-datacenter-urls.mjs +1 -1
- package/dist/actions/get-datacenter-urls.mjs.map +1 -1
- package/dist/actions/get-employee.cjs +2 -2
- package/dist/actions/get-employee.cjs.map +1 -1
- package/dist/actions/get-employee.d.cts +2 -2
- package/dist/actions/get-employee.d.mts +2 -2
- package/dist/actions/get-employee.mjs +2 -2
- package/dist/actions/get-employee.mjs.map +1 -1
- package/dist/actions/get-governance-limits.cjs +1 -1
- package/dist/actions/get-governance-limits.cjs.map +1 -1
- package/dist/actions/get-governance-limits.d.cts +1 -1
- package/dist/actions/get-governance-limits.d.mts +1 -1
- package/dist/actions/get-governance-limits.mjs +1 -1
- package/dist/actions/get-governance-limits.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +2 -2
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +2 -2
- package/dist/actions/get-invoice.d.mts +2 -2
- package/dist/actions/get-invoice.mjs +2 -2
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-item-fulfillment.cjs +2 -2
- package/dist/actions/get-item-fulfillment.cjs.map +1 -1
- package/dist/actions/get-item-fulfillment.d.cts +2 -2
- package/dist/actions/get-item-fulfillment.d.mts +2 -2
- package/dist/actions/get-item-fulfillment.mjs +2 -2
- package/dist/actions/get-item-fulfillment.mjs.map +1 -1
- package/dist/actions/get-item-receipt.cjs +2 -2
- package/dist/actions/get-item-receipt.cjs.map +1 -1
- package/dist/actions/get-item-receipt.d.cts +2 -2
- package/dist/actions/get-item-receipt.d.mts +2 -2
- package/dist/actions/get-item-receipt.mjs +2 -2
- package/dist/actions/get-item-receipt.mjs.map +1 -1
- package/dist/actions/get-item.cjs +2 -2
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +2 -2
- package/dist/actions/get-item.d.mts +2 -2
- package/dist/actions/get-item.mjs +2 -2
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-journal-entry.cjs +2 -2
- package/dist/actions/get-journal-entry.cjs.map +1 -1
- package/dist/actions/get-journal-entry.d.cts +2 -2
- package/dist/actions/get-journal-entry.d.mts +2 -2
- package/dist/actions/get-journal-entry.mjs +2 -2
- package/dist/actions/get-journal-entry.mjs.map +1 -1
- package/dist/actions/get-purchase-order.cjs +2 -2
- package/dist/actions/get-purchase-order.cjs.map +1 -1
- package/dist/actions/get-purchase-order.d.cts +2 -2
- package/dist/actions/get-purchase-order.d.mts +2 -2
- package/dist/actions/get-purchase-order.mjs +2 -2
- package/dist/actions/get-purchase-order.mjs.map +1 -1
- package/dist/actions/get-record-metadata.cjs +1 -1
- package/dist/actions/get-record-metadata.cjs.map +1 -1
- package/dist/actions/get-record-metadata.d.cts +1 -1
- package/dist/actions/get-record-metadata.d.mts +1 -1
- package/dist/actions/get-record-metadata.mjs +1 -1
- package/dist/actions/get-record-metadata.mjs.map +1 -1
- package/dist/actions/get-reference-select-field.cjs +2 -2
- package/dist/actions/get-reference-select-field.cjs.map +1 -1
- package/dist/actions/get-reference-select-field.d.cts +2 -2
- package/dist/actions/get-reference-select-field.d.mts +2 -2
- package/dist/actions/get-reference-select-field.mjs +2 -2
- package/dist/actions/get-reference-select-field.mjs.map +1 -1
- package/dist/actions/get-sales-order.cjs +2 -2
- package/dist/actions/get-sales-order.cjs.map +1 -1
- package/dist/actions/get-sales-order.d.cts +2 -2
- package/dist/actions/get-sales-order.d.mts +2 -2
- package/dist/actions/get-sales-order.mjs +2 -2
- package/dist/actions/get-sales-order.mjs.map +1 -1
- package/dist/actions/get-server-time.cjs +1 -1
- package/dist/actions/get-server-time.cjs.map +1 -1
- package/dist/actions/get-server-time.d.cts +1 -1
- package/dist/actions/get-server-time.d.mts +1 -1
- package/dist/actions/get-server-time.mjs +1 -1
- package/dist/actions/get-server-time.mjs.map +1 -1
- package/dist/actions/get-sublist-collection.cjs +2 -2
- package/dist/actions/get-sublist-collection.cjs.map +1 -1
- package/dist/actions/get-sublist-collection.d.cts +2 -2
- package/dist/actions/get-sublist-collection.d.mts +2 -2
- package/dist/actions/get-sublist-collection.mjs +2 -2
- package/dist/actions/get-sublist-collection.mjs.map +1 -1
- package/dist/actions/get-sublist-line.cjs +2 -2
- package/dist/actions/get-sublist-line.cjs.map +1 -1
- package/dist/actions/get-sublist-line.d.cts +2 -2
- package/dist/actions/get-sublist-line.d.mts +2 -2
- package/dist/actions/get-sublist-line.mjs +2 -2
- package/dist/actions/get-sublist-line.mjs.map +1 -1
- package/dist/actions/get-subrecord.cjs +2 -2
- package/dist/actions/get-subrecord.cjs.map +1 -1
- package/dist/actions/get-subrecord.d.cts +2 -2
- package/dist/actions/get-subrecord.d.mts +2 -2
- package/dist/actions/get-subrecord.mjs +2 -2
- package/dist/actions/get-subrecord.mjs.map +1 -1
- package/dist/actions/get-vendor-bill.cjs +2 -2
- package/dist/actions/get-vendor-bill.cjs.map +1 -1
- package/dist/actions/get-vendor-bill.d.cts +2 -2
- package/dist/actions/get-vendor-bill.d.mts +2 -2
- package/dist/actions/get-vendor-bill.mjs +2 -2
- package/dist/actions/get-vendor-bill.mjs.map +1 -1
- package/dist/actions/get-vendor-payment.cjs +2 -2
- package/dist/actions/get-vendor-payment.cjs.map +1 -1
- package/dist/actions/get-vendor-payment.d.cts +2 -2
- package/dist/actions/get-vendor-payment.d.mts +2 -2
- package/dist/actions/get-vendor-payment.mjs +2 -2
- package/dist/actions/get-vendor-payment.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +2 -2
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +2 -2
- package/dist/actions/get-vendor.d.mts +2 -2
- package/dist/actions/get-vendor.mjs +2 -2
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/list-customer-payments.cjs +3 -3
- package/dist/actions/list-customer-payments.cjs.map +1 -1
- package/dist/actions/list-customer-payments.d.cts +4 -4
- package/dist/actions/list-customer-payments.d.mts +4 -4
- package/dist/actions/list-customer-payments.mjs +3 -3
- package/dist/actions/list-customer-payments.mjs.map +1 -1
- package/dist/actions/list-datasets.cjs +4 -4
- package/dist/actions/list-datasets.cjs.map +1 -1
- package/dist/actions/list-datasets.d.cts +4 -4
- package/dist/actions/list-datasets.d.mts +4 -4
- package/dist/actions/list-datasets.mjs +4 -4
- package/dist/actions/list-datasets.mjs.map +1 -1
- package/dist/actions/list-employees.cjs +3 -3
- package/dist/actions/list-employees.cjs.map +1 -1
- package/dist/actions/list-employees.d.cts +4 -4
- package/dist/actions/list-employees.d.mts +4 -4
- package/dist/actions/list-employees.mjs +3 -3
- package/dist/actions/list-employees.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +2 -2
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +2 -2
- package/dist/actions/list-integrations.d.mts +2 -2
- package/dist/actions/list-integrations.mjs +2 -2
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +3 -3
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +4 -4
- package/dist/actions/list-invoices.d.mts +4 -4
- package/dist/actions/list-invoices.mjs +3 -3
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-item-fulfillments.cjs +3 -3
- package/dist/actions/list-item-fulfillments.cjs.map +1 -1
- package/dist/actions/list-item-fulfillments.d.cts +4 -4
- package/dist/actions/list-item-fulfillments.d.mts +4 -4
- package/dist/actions/list-item-fulfillments.mjs +3 -3
- package/dist/actions/list-item-fulfillments.mjs.map +1 -1
- package/dist/actions/list-item-receipts.cjs +3 -3
- package/dist/actions/list-item-receipts.cjs.map +1 -1
- package/dist/actions/list-item-receipts.d.cts +4 -4
- package/dist/actions/list-item-receipts.d.mts +4 -4
- package/dist/actions/list-item-receipts.mjs +3 -3
- package/dist/actions/list-item-receipts.mjs.map +1 -1
- package/dist/actions/list-journal-entries.cjs +3 -3
- package/dist/actions/list-journal-entries.cjs.map +1 -1
- package/dist/actions/list-journal-entries.d.cts +4 -4
- package/dist/actions/list-journal-entries.d.mts +4 -4
- package/dist/actions/list-journal-entries.mjs +3 -3
- package/dist/actions/list-journal-entries.mjs.map +1 -1
- package/dist/actions/list-metadata-catalog.cjs +3 -3
- package/dist/actions/list-metadata-catalog.cjs.map +1 -1
- package/dist/actions/list-metadata-catalog.d.cts +3 -3
- package/dist/actions/list-metadata-catalog.d.mts +3 -3
- package/dist/actions/list-metadata-catalog.mjs +3 -3
- package/dist/actions/list-metadata-catalog.mjs.map +1 -1
- package/dist/actions/list-purchase-orders.cjs +3 -3
- package/dist/actions/list-purchase-orders.cjs.map +1 -1
- package/dist/actions/list-purchase-orders.d.cts +4 -4
- package/dist/actions/list-purchase-orders.d.mts +4 -4
- package/dist/actions/list-purchase-orders.mjs +3 -3
- package/dist/actions/list-purchase-orders.mjs.map +1 -1
- package/dist/actions/list-records.cjs +3 -3
- package/dist/actions/list-records.cjs.map +1 -1
- package/dist/actions/list-records.d.cts +4 -4
- package/dist/actions/list-records.d.mts +4 -4
- package/dist/actions/list-records.mjs +3 -3
- package/dist/actions/list-records.mjs.map +1 -1
- package/dist/actions/list-sales-orders.cjs +3 -3
- package/dist/actions/list-sales-orders.cjs.map +1 -1
- package/dist/actions/list-sales-orders.d.cts +4 -4
- package/dist/actions/list-sales-orders.d.mts +4 -4
- package/dist/actions/list-sales-orders.mjs +3 -3
- package/dist/actions/list-sales-orders.mjs.map +1 -1
- package/dist/actions/list-vendor-payments.cjs +3 -3
- package/dist/actions/list-vendor-payments.cjs.map +1 -1
- package/dist/actions/list-vendor-payments.d.cts +4 -4
- package/dist/actions/list-vendor-payments.d.mts +4 -4
- package/dist/actions/list-vendor-payments.mjs +3 -3
- package/dist/actions/list-vendor-payments.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.cts +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.mts +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.mjs +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.cts +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.mts +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.mjs +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-logout.cjs +1 -1
- package/dist/actions/o-auth2-logout.cjs.map +1 -1
- package/dist/actions/o-auth2-logout.d.cts +1 -1
- package/dist/actions/o-auth2-logout.d.mts +1 -1
- package/dist/actions/o-auth2-logout.mjs +1 -1
- package/dist/actions/o-auth2-logout.mjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.mjs +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.cts +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.mts +1 -1
- package/dist/actions/o-auth2-token-authorization-code.mjs +1 -1
- package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.cts +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.mts +1 -1
- package/dist/actions/o-auth2-token-client-credentials.mjs +1 -1
- package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.cts +1 -1
- package/dist/actions/o-auth2-token-refresh.d.mts +1 -1
- package/dist/actions/o-auth2-token-refresh.mjs +1 -1
- package/dist/actions/o-auth2-token-refresh.mjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.cjs +2 -2
- package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.cts +2 -2
- package/dist/actions/oauth2-get-jwks-keys.d.mts +2 -2
- package/dist/actions/oauth2-get-jwks-keys.mjs +2 -2
- package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -1
- package/dist/actions/run-suiteql-query.cjs +2 -2
- package/dist/actions/run-suiteql-query.cjs.map +1 -1
- package/dist/actions/run-suiteql-query.d.cts +3 -3
- package/dist/actions/run-suiteql-query.d.mts +3 -3
- package/dist/actions/run-suiteql-query.mjs +2 -2
- package/dist/actions/run-suiteql-query.mjs.map +1 -1
- package/dist/actions/transform-record.cjs +1 -1
- package/dist/actions/transform-record.cjs.map +1 -1
- package/dist/actions/transform-record.d.cts +1 -1
- package/dist/actions/transform-record.d.mts +1 -1
- package/dist/actions/transform-record.mjs +1 -1
- package/dist/actions/transform-record.mjs.map +1 -1
- package/dist/actions/update-customer-payment.cjs +1 -1
- package/dist/actions/update-customer-payment.cjs.map +1 -1
- package/dist/actions/update-customer-payment.d.cts +1 -1
- package/dist/actions/update-customer-payment.d.mts +1 -1
- package/dist/actions/update-customer-payment.mjs +1 -1
- package/dist/actions/update-customer-payment.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -1
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +1 -1
- package/dist/actions/update-customer.d.mts +1 -1
- package/dist/actions/update-customer.mjs +1 -1
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-employee.cjs +1 -1
- package/dist/actions/update-employee.cjs.map +1 -1
- package/dist/actions/update-employee.d.cts +1 -1
- package/dist/actions/update-employee.d.mts +1 -1
- package/dist/actions/update-employee.mjs +1 -1
- package/dist/actions/update-employee.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -1
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +1 -1
- package/dist/actions/update-invoice.d.mts +1 -1
- package/dist/actions/update-invoice.mjs +1 -1
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item-fulfillment.cjs +1 -1
- package/dist/actions/update-item-fulfillment.cjs.map +1 -1
- package/dist/actions/update-item-fulfillment.d.cts +1 -1
- package/dist/actions/update-item-fulfillment.d.mts +1 -1
- package/dist/actions/update-item-fulfillment.mjs +1 -1
- package/dist/actions/update-item-fulfillment.mjs.map +1 -1
- package/dist/actions/update-item-receipt.cjs +1 -1
- package/dist/actions/update-item-receipt.cjs.map +1 -1
- package/dist/actions/update-item-receipt.d.cts +1 -1
- package/dist/actions/update-item-receipt.d.mts +1 -1
- package/dist/actions/update-item-receipt.mjs +1 -1
- package/dist/actions/update-item-receipt.mjs.map +1 -1
- package/dist/actions/update-item.cjs +1 -1
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +1 -1
- package/dist/actions/update-item.d.mts +1 -1
- package/dist/actions/update-item.mjs +1 -1
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-journal-entry.cjs +1 -1
- package/dist/actions/update-journal-entry.cjs.map +1 -1
- package/dist/actions/update-journal-entry.d.cts +1 -1
- package/dist/actions/update-journal-entry.d.mts +1 -1
- package/dist/actions/update-journal-entry.mjs +1 -1
- package/dist/actions/update-journal-entry.mjs.map +1 -1
- package/dist/actions/update-purchase-order.cjs +1 -1
- package/dist/actions/update-purchase-order.cjs.map +1 -1
- package/dist/actions/update-purchase-order.d.cts +1 -1
- package/dist/actions/update-purchase-order.d.mts +1 -1
- package/dist/actions/update-purchase-order.mjs +1 -1
- package/dist/actions/update-purchase-order.mjs.map +1 -1
- package/dist/actions/update-sales-order.cjs +1 -1
- package/dist/actions/update-sales-order.cjs.map +1 -1
- package/dist/actions/update-sales-order.d.cts +1 -1
- package/dist/actions/update-sales-order.d.mts +1 -1
- package/dist/actions/update-sales-order.mjs +1 -1
- package/dist/actions/update-sales-order.mjs.map +1 -1
- package/dist/actions/update-vendor-bill.cjs +1 -1
- package/dist/actions/update-vendor-bill.cjs.map +1 -1
- package/dist/actions/update-vendor-bill.d.cts +1 -1
- package/dist/actions/update-vendor-bill.d.mts +1 -1
- package/dist/actions/update-vendor-bill.mjs +1 -1
- package/dist/actions/update-vendor-bill.mjs.map +1 -1
- package/dist/actions/update-vendor-payment.cjs +1 -1
- package/dist/actions/update-vendor-payment.cjs.map +1 -1
- package/dist/actions/update-vendor-payment.d.cts +1 -1
- package/dist/actions/update-vendor-payment.d.mts +1 -1
- package/dist/actions/update-vendor-payment.mjs +1 -1
- package/dist/actions/update-vendor-payment.mjs.map +1 -1
- package/dist/actions/update-vendor.cjs +1 -1
- package/dist/actions/update-vendor.cjs.map +1 -1
- package/dist/actions/update-vendor.d.cts +1 -1
- package/dist/actions/update-vendor.d.mts +1 -1
- package/dist/actions/update-vendor.mjs +1 -1
- package/dist/actions/update-vendor.mjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.cts +1 -1
- package/dist/actions/upsert-record-by-external-id.d.mts +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateEmployeeInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateEmployeeOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: string;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -25,7 +25,7 @@ const netsuiteUpdateEmployee = action("NETSUITE_UPDATE_EMPLOYEE", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
location: z.string().describe("URL of the updated employee record instance.").nullable().optional(),
|
|
27
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.")
|
|
28
|
+
}).passthrough().describe("Response model for updating a NetSuite Employee record.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { netsuiteUpdateEmployee };
|
|
@@ -1 +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.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.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,OAnByC,EAAE,OAAO;EAClD,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,QAV0C,EAAE,OAAO;EACnD,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,
|
|
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.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.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}).passthrough().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,OAnByC,EAAE,OAAO;EAClD,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,QAV0C,EAAE,OAAO;EACnD,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,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const NetsuiteUpdateInvoiceInput = zod.z.object({
|
|
|
20
20
|
const NetsuiteUpdateInvoiceOutput = zod.z.object({
|
|
21
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
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
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const netsuiteUpdateInvoice = require_action.action("NETSUITE_UPDATE_INVOICE", {
|
|
25
25
|
slug: "netsuite-update-invoice",
|
|
26
26
|
name: "Update Invoice",
|
|
@@ -1 +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.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.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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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;
|
|
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.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.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}).passthrough();\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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateInvoiceInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateInvoiceOutput: z.ZodObject<{
|
|
21
21
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const netsuiteUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateInvoiceInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateInvoiceOutput: z.ZodObject<{
|
|
21
21
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const netsuiteUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -23,7 +23,7 @@ const netsuiteUpdateInvoice = action("NETSUITE_UPDATE_INVOICE", {
|
|
|
23
23
|
output: z.object({
|
|
24
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
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
|
-
})
|
|
26
|
+
}).passthrough()
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { netsuiteUpdateInvoice };
|
|
@@ -1 +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.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.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,OAjBwC,EAAE,OAAO;EACjD,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,QAVyC,EAAE,OAAO;EAClD,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,
|
|
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.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.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}).passthrough();\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,OAjBwC,EAAE,OAAO;EACjD,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,QAVyC,EAAE,OAAO;EAClD,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const NetsuiteUpdateItemFulfillmentInput = zod.z.object({
|
|
|
22
22
|
const NetsuiteUpdateItemFulfillmentOutput = zod.z.object({
|
|
23
23
|
location: zod.z.string().describe("URL of the updated item fulfillment record instance.").nullable().optional(),
|
|
24
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.");
|
|
25
|
+
}).passthrough().describe("Response model for updated NetSuite Item Fulfillment record.");
|
|
26
26
|
const netsuiteUpdateItemFulfillment = require_action.action("NETSUITE_UPDATE_ITEM_FULFILLMENT", {
|
|
27
27
|
slug: "netsuite-update-item-fulfillment",
|
|
28
28
|
name: "Update Item Fulfillment",
|
|
@@ -1 +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.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.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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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;
|
|
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.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.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}).passthrough().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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateItemFulfillmentInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateItemFulfillmentOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateItemFulfillment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateItemFulfillmentInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateItemFulfillmentOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateItemFulfillment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -25,7 +25,7 @@ const netsuiteUpdateItemFulfillment = action("NETSUITE_UPDATE_ITEM_FULFILLMENT",
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
location: z.string().describe("URL of the updated item fulfillment record instance.").nullable().optional(),
|
|
27
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.")
|
|
28
|
+
}).passthrough().describe("Response model for updated NetSuite Item Fulfillment record.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { netsuiteUpdateItemFulfillment };
|
|
@@ -1 +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.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.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,OAnBgD,EAAE,OAAO;EACzD,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,QAViD,EAAE,OAAO;EAC1D,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,
|
|
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.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.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}).passthrough().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,OAnBgD,EAAE,OAAO;EACzD,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,QAViD,EAAE,OAAO;EAC1D,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,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const NetsuiteUpdateItemReceiptInput = zod.z.object({
|
|
|
22
22
|
const NetsuiteUpdateItemReceiptOutput = zod.z.object({
|
|
23
23
|
location: zod.z.string().describe("URL of the updated item receipt record instance.").nullable().optional(),
|
|
24
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.");
|
|
25
|
+
}).passthrough().describe("Response model for updating a NetSuite Item Receipt record.");
|
|
26
26
|
const netsuiteUpdateItemReceipt = require_action.action("NETSUITE_UPDATE_ITEM_RECEIPT", {
|
|
27
27
|
slug: "netsuite-update-item-receipt",
|
|
28
28
|
name: "Update Item Receipt",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item-receipt.cjs","names":["z","action"],"sources":["../../src/actions/update-item-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemReceiptInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item receipt record to update.\"),\n data: z.record(z.string(), 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.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace (e.g., 'item').\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: 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(),\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 Receipt record.\");\nexport const NetsuiteUpdateItemReceiptOutput = z.object({\n location: z.string().describe(\"URL of the updated item receipt 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 updating a NetSuite Item Receipt record.\");\n\nexport const netsuiteUpdateItemReceipt = action(\"NETSUITE_UPDATE_ITEM_RECEIPT\", {\n slug: \"netsuite-update-item-receipt\",\n name: \"Update Item Receipt\",\n description: \"Tool to update an item receipt record by ID. Use when modifying fields of an existing item receipt.\",\n input: NetsuiteUpdateItemReceiptInput,\n output: NetsuiteUpdateItemReceiptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACzF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI;CACzL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACpM,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,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"update-item-receipt.cjs","names":["z","action"],"sources":["../../src/actions/update-item-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemReceiptInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item receipt record to update.\"),\n data: z.record(z.string(), 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.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace (e.g., 'item').\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: 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(),\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 Receipt record.\");\nexport const NetsuiteUpdateItemReceiptOutput = z.object({\n location: z.string().describe(\"URL of the updated item receipt record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a NetSuite Item Receipt record.\");\n\nexport const netsuiteUpdateItemReceipt = action(\"NETSUITE_UPDATE_ITEM_RECEIPT\", {\n slug: \"netsuite-update-item-receipt\",\n name: \"Update Item Receipt\",\n description: \"Tool to update an item receipt record by ID. Use when modifying fields of an existing item receipt.\",\n input: NetsuiteUpdateItemReceiptInput,\n output: NetsuiteUpdateItemReceiptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACzF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI;CACzL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACpM,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,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateItemReceiptInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateItemReceiptOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateItemReceipt: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateItemReceiptInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateItemReceiptOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateItemReceipt: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -25,7 +25,7 @@ const netsuiteUpdateItemReceipt = action("NETSUITE_UPDATE_ITEM_RECEIPT", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
location: z.string().describe("URL of the updated item receipt record instance.").nullable().optional(),
|
|
27
27
|
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
28
|
-
}).describe("Response model for updating a NetSuite Item Receipt record.")
|
|
28
|
+
}).passthrough().describe("Response model for updating a NetSuite Item Receipt record.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { netsuiteUpdateItemReceipt };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item-receipt.mjs","names":[],"sources":["../../src/actions/update-item-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemReceiptInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item receipt record to update.\"),\n data: z.record(z.string(), 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.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace (e.g., 'item').\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: 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(),\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 Receipt record.\");\nexport const NetsuiteUpdateItemReceiptOutput = z.object({\n location: z.string().describe(\"URL of the updated item receipt 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 updating a NetSuite Item Receipt record.\");\n\nexport const netsuiteUpdateItemReceipt = action(\"NETSUITE_UPDATE_ITEM_RECEIPT\", {\n slug: \"netsuite-update-item-receipt\",\n name: \"Update Item Receipt\",\n description: \"Tool to update an item receipt record by ID. Use when modifying fields of an existing item receipt.\",\n input: NetsuiteUpdateItemReceiptInput,\n output: NetsuiteUpdateItemReceiptOutput,\n});\n"],"mappings":";;AAmBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACzF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI;EACzL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,uBAAuB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EACpM,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,4DAUH;CACP,QAV6C,EAAE,OAAO;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-item-receipt.mjs","names":[],"sources":["../../src/actions/update-item-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemReceiptInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item receipt record to update.\"),\n data: z.record(z.string(), 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.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace (e.g., 'item').\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: 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(),\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 Receipt record.\");\nexport const NetsuiteUpdateItemReceiptOutput = z.object({\n location: z.string().describe(\"URL of the updated item receipt record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a NetSuite Item Receipt record.\");\n\nexport const netsuiteUpdateItemReceipt = action(\"NETSUITE_UPDATE_ITEM_RECEIPT\", {\n slug: \"netsuite-update-item-receipt\",\n name: \"Update Item Receipt\",\n description: \"Tool to update an item receipt record by ID. Use when modifying fields of an existing item receipt.\",\n input: NetsuiteUpdateItemReceiptInput,\n output: NetsuiteUpdateItemReceiptOutput,\n});\n"],"mappings":";;AAmBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACzF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI;EACzL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,uBAAuB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EACpM,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,4DAUH;CACP,QAV6C,EAAE,OAAO;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const NetsuiteUpdateItemInput = zod.z.object({
|
|
|
23
23
|
const NetsuiteUpdateItemOutput = zod.z.object({
|
|
24
24
|
location: zod.z.string().describe("URL of the updated record instance.").nullable().optional(),
|
|
25
25
|
preference_applied: zod.z.string().describe("Echoes 'respond-async' when async update is requested.").nullable().optional()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const netsuiteUpdateItem = require_action.action("NETSUITE_UPDATE_ITEM", {
|
|
28
28
|
slug: "netsuite-update-item",
|
|
29
29
|
name: "Update Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.cjs","names":["z","action"],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item 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 sublist names to fully replace with those provided.\").optional(),\n item_type: z.string().describe(\"Internal item record type ID, e.g., inventoryItem, assemblyItem, downloadItem.\"),\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 fields to delete must be included via replace.\").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 NetsuiteUpdateItemOutput = z.object({\n location: z.string().describe(\"URL of the updated record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async update is requested.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateItem = action(\"NETSUITE_UPDATE_ITEM\", {\n slug: \"netsuite-update-item\",\n name: \"Update Item\",\n description: \"Tool to update an item record by ID. Use when modifying selected fields of an existing item; omitted fields remain unchanged.\",\n input: NetsuiteUpdateItemInput,\n output: NetsuiteUpdateItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvI,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;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC;
|
|
1
|
+
{"version":3,"file":"update-item.cjs","names":["z","action"],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item 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 sublist names to fully replace with those provided.\").optional(),\n item_type: z.string().describe(\"Internal item record type ID, e.g., inventoryItem, assemblyItem, downloadItem.\"),\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 fields to delete must be included via replace.\").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 NetsuiteUpdateItemOutput = z.object({\n location: z.string().describe(\"URL of the updated record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async update is requested.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateItem = action(\"NETSUITE_UPDATE_ITEM\", {\n slug: \"netsuite-update-item\",\n name: \"Update Item\",\n description: \"Tool to update an item record by ID. Use when modifying selected fields of an existing item; omitted fields remain unchanged.\",\n input: NetsuiteUpdateItemInput,\n output: NetsuiteUpdateItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvI,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;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ declare const NetsuiteUpdateItemInput: z.ZodObject<{
|
|
|
23
23
|
declare const NetsuiteUpdateItemOutput: z.ZodObject<{
|
|
24
24
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const netsuiteUpdateItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
id: number;
|
|
29
29
|
data: Record<string, unknown>;
|
|
@@ -23,7 +23,7 @@ declare const NetsuiteUpdateItemInput: z.ZodObject<{
|
|
|
23
23
|
declare const NetsuiteUpdateItemOutput: z.ZodObject<{
|
|
24
24
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const netsuiteUpdateItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
id: number;
|
|
29
29
|
data: Record<string, unknown>;
|
|
@@ -26,7 +26,7 @@ const netsuiteUpdateItem = action("NETSUITE_UPDATE_ITEM", {
|
|
|
26
26
|
output: z.object({
|
|
27
27
|
location: z.string().describe("URL of the updated record instance.").nullable().optional(),
|
|
28
28
|
preference_applied: z.string().describe("Echoes 'respond-async' when async update is requested.").nullable().optional()
|
|
29
|
-
})
|
|
29
|
+
}).passthrough()
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { netsuiteUpdateItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.mjs","names":[],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item 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 sublist names to fully replace with those provided.\").optional(),\n item_type: z.string().describe(\"Internal item record type ID, e.g., inventoryItem, assemblyItem, downloadItem.\"),\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 fields to delete must be included via replace.\").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 NetsuiteUpdateItemOutput = z.object({\n location: z.string().describe(\"URL of the updated record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async update is requested.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateItem = action(\"NETSUITE_UPDATE_ITEM\", {\n slug: \"netsuite-update-item\",\n name: \"Update Item\",\n description: \"Tool to update an item record by ID. Use when modifying selected fields of an existing item; omitted fields remain unchanged.\",\n input: NetsuiteUpdateItemInput,\n output: NetsuiteUpdateItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACvI,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,QAVsC,EAAE,OAAO;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,
|
|
1
|
+
{"version":3,"file":"update-item.mjs","names":[],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item 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 sublist names to fully replace with those provided.\").optional(),\n item_type: z.string().describe(\"Internal item record type ID, e.g., inventoryItem, assemblyItem, downloadItem.\"),\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 fields to delete must be included via replace.\").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 NetsuiteUpdateItemOutput = z.object({\n location: z.string().describe(\"URL of the updated record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async update is requested.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateItem = action(\"NETSUITE_UPDATE_ITEM\", {\n slug: \"netsuite-update-item\",\n name: \"Update Item\",\n description: \"Tool to update an item record by ID. Use when modifying selected fields of an existing item; omitted fields remain unchanged.\",\n input: NetsuiteUpdateItemInput,\n output: NetsuiteUpdateItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACvI,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,QAVsC,EAAE,OAAO;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const NetsuiteUpdateJournalEntryInput = zod.z.object({
|
|
|
22
22
|
const NetsuiteUpdateJournalEntryOutput = zod.z.object({
|
|
23
23
|
location: zod.z.string().describe("URL of the updated journal entry record instance.").nullable().optional(),
|
|
24
24
|
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header indicates async processing.").nullable().optional()
|
|
25
|
-
});
|
|
25
|
+
}).passthrough();
|
|
26
26
|
const netsuiteUpdateJournalEntry = require_action.action("NETSUITE_UPDATE_JOURNAL_ENTRY", {
|
|
27
27
|
slug: "netsuite-update-journal-entry",
|
|
28
28
|
name: "Update Journal Entry",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-journal-entry.cjs","names":["z","action"],"sources":["../../src/actions/update-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateJournalEntryInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the journal entry record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Journal entry 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 sublist names to fully replace (e.g., 'line'). Unspecified sublists are appended.\").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().describe(\"When true, fields to delete must be named in replace; applies to body and sublists.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation strictness for field names: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation strictness for field values: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Journal Entry record.\");\nexport const NetsuiteUpdateJournalEntryOutput = z.object({\n location: z.string().describe(\"URL of the updated journal entry record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header indicates async processing.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateJournalEntry = action(\"NETSUITE_UPDATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-update-journal-entry\",\n name: \"Update Journal Entry\",\n description: \"Tool to update a journal entry record by ID. Use when modifying fields of an existing journal entry after retrieving its details.\",\n input: NetsuiteUpdateJournalEntryInput,\n output: NetsuiteUpdateJournalEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CAC1F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yFAAyF;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9I,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxJ,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC;
|
|
1
|
+
{"version":3,"file":"update-journal-entry.cjs","names":["z","action"],"sources":["../../src/actions/update-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateJournalEntryInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the journal entry record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Journal entry 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 sublist names to fully replace (e.g., 'line'). Unspecified sublists are appended.\").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().describe(\"When true, fields to delete must be named in replace; applies to body and sublists.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation strictness for field names: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation strictness for field values: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Journal Entry record.\");\nexport const NetsuiteUpdateJournalEntryOutput = z.object({\n location: z.string().describe(\"URL of the updated journal entry record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateJournalEntry = action(\"NETSUITE_UPDATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-update-journal-entry\",\n name: \"Update Journal Entry\",\n description: \"Tool to update a journal entry record by ID. Use when modifying fields of an existing journal entry after retrieving its details.\",\n input: NetsuiteUpdateJournalEntryInput,\n output: NetsuiteUpdateJournalEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CAC1F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yFAAyF;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9I,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxJ,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateJournalEntryInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateJournalEntryOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateJournalEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateJournalEntryInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateJournalEntryOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateJournalEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -25,7 +25,7 @@ const netsuiteUpdateJournalEntry = action("NETSUITE_UPDATE_JOURNAL_ENTRY", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
location: z.string().describe("URL of the updated journal entry record instance.").nullable().optional(),
|
|
27
27
|
preference_applied: z.string().describe("Value of the 'Preference-Applied' header indicates async processing.").nullable().optional()
|
|
28
|
-
})
|
|
28
|
+
}).passthrough()
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { netsuiteUpdateJournalEntry };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-journal-entry.mjs","names":[],"sources":["../../src/actions/update-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateJournalEntryInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the journal entry record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Journal entry 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 sublist names to fully replace (e.g., 'line'). Unspecified sublists are appended.\").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().describe(\"When true, fields to delete must be named in replace; applies to body and sublists.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation strictness for field names: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation strictness for field values: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Journal Entry record.\");\nexport const NetsuiteUpdateJournalEntryOutput = z.object({\n location: z.string().describe(\"URL of the updated journal entry record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header indicates async processing.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateJournalEntry = action(\"NETSUITE_UPDATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-update-journal-entry\",\n name: \"Update Journal Entry\",\n description: \"Tool to update a journal entry record by ID. Use when modifying fields of an existing journal entry after retrieving its details.\",\n input: NetsuiteUpdateJournalEntryInput,\n output: NetsuiteUpdateJournalEntryOutput,\n});\n"],"mappings":";;AAmBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;EAC1F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yFAAyF;EAC1I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC3I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9I,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACxJ,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV8C,EAAE,OAAO;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,
|
|
1
|
+
{"version":3,"file":"update-journal-entry.mjs","names":[],"sources":["../../src/actions/update-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateJournalEntryInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the journal entry record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Journal entry 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 sublist names to fully replace (e.g., 'line'). Unspecified sublists are appended.\").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().describe(\"When true, fields to delete must be named in replace; applies to body and sublists.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation strictness for field names: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation strictness for field values: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Journal Entry record.\");\nexport const NetsuiteUpdateJournalEntryOutput = z.object({\n location: z.string().describe(\"URL of the updated journal entry record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateJournalEntry = action(\"NETSUITE_UPDATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-update-journal-entry\",\n name: \"Update Journal Entry\",\n description: \"Tool to update a journal entry record by ID. Use when modifying fields of an existing journal entry after retrieving its details.\",\n input: NetsuiteUpdateJournalEntryInput,\n output: NetsuiteUpdateJournalEntryOutput,\n});\n"],"mappings":";;AAmBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;EAC1F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yFAAyF;EAC1I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC3I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9I,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACxJ,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV8C,EAAE,OAAO;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ const NetsuiteUpdatePurchaseOrderInput = zod.z.object({
|
|
|
21
21
|
const NetsuiteUpdatePurchaseOrderOutput = zod.z.object({
|
|
22
22
|
location: zod.z.string().describe("URL of the updated purchase order record instance.").nullable().optional(),
|
|
23
23
|
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
24
|
-
}).describe("Response model for the updated purchase order.");
|
|
24
|
+
}).passthrough().describe("Response model for the updated purchase order.");
|
|
25
25
|
const netsuiteUpdatePurchaseOrder = require_action.action("NETSUITE_UPDATE_PURCHASE_ORDER", {
|
|
26
26
|
slug: "netsuite-update-purchase-order",
|
|
27
27
|
name: "Update Purchase Order",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-purchase-order.cjs","names":["z","action"],"sources":["../../src/actions/update-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdatePurchaseOrderInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the purchase order record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Purchase order record JSON object containing writable fields to update; omit fields you do not wish to change.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: z.boolean().describe(\"When true, any field in the body set to null will be deleted from the record; otherwise null values are ignored.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation level for property names: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation level for property values: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Purchase Order record.\");\nexport const NetsuiteUpdatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the updated purchase order 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 the updated purchase order.\");\n\nexport const netsuiteUpdatePurchaseOrder = action(\"NETSUITE_UPDATE_PURCHASE_ORDER\", {\n slug: \"netsuite-update-purchase-order\",\n name: \"Update Purchase Order\",\n description: \"Tool to update a purchase order record by ID. Use when modifying fields of an existing purchase order. Call after retrieving the record to confirm current values.\",\n input: NetsuiteUpdatePurchaseOrderInput,\n output: NetsuiteUpdatePurchaseOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,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,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzK,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtJ,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"update-purchase-order.cjs","names":["z","action"],"sources":["../../src/actions/update-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdatePurchaseOrderInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the purchase order record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Purchase order record JSON object containing writable fields to update; omit fields you do not wish to change.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: z.boolean().describe(\"When true, any field in the body set to null will be deleted from the record; otherwise null values are ignored.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation level for property names: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation level for property values: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Purchase Order record.\");\nexport const NetsuiteUpdatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the updated purchase order record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated purchase order.\");\n\nexport const netsuiteUpdatePurchaseOrder = action(\"NETSUITE_UPDATE_PURCHASE_ORDER\", {\n slug: \"netsuite-update-purchase-order\",\n name: \"Update Purchase Order\",\n description: \"Tool to update a purchase order record by ID. Use when modifying fields of an existing purchase order. Call after retrieving the record to confirm current values.\",\n input: NetsuiteUpdatePurchaseOrderInput,\n output: NetsuiteUpdatePurchaseOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,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,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzK,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtJ,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ declare const NetsuiteUpdatePurchaseOrderInput: z.ZodObject<{
|
|
|
21
21
|
declare const NetsuiteUpdatePurchaseOrderOutput: z.ZodObject<{
|
|
22
22
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const netsuiteUpdatePurchaseOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
id: number;
|
|
27
27
|
data: Record<string, unknown>;
|
|
@@ -21,7 +21,7 @@ declare const NetsuiteUpdatePurchaseOrderInput: z.ZodObject<{
|
|
|
21
21
|
declare const NetsuiteUpdatePurchaseOrderOutput: z.ZodObject<{
|
|
22
22
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const netsuiteUpdatePurchaseOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
id: number;
|
|
27
27
|
data: Record<string, unknown>;
|
|
@@ -24,7 +24,7 @@ const netsuiteUpdatePurchaseOrder = action("NETSUITE_UPDATE_PURCHASE_ORDER", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
location: z.string().describe("URL of the updated purchase order record instance.").nullable().optional(),
|
|
26
26
|
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
27
|
-
}).describe("Response model for the updated purchase order.")
|
|
27
|
+
}).passthrough().describe("Response model for the updated purchase order.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { netsuiteUpdatePurchaseOrder };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-purchase-order.mjs","names":[],"sources":["../../src/actions/update-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdatePurchaseOrderInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the purchase order record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Purchase order record JSON object containing writable fields to update; omit fields you do not wish to change.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: z.boolean().describe(\"When true, any field in the body set to null will be deleted from the record; otherwise null values are ignored.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation level for property names: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation level for property values: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Purchase Order record.\");\nexport const NetsuiteUpdatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the updated purchase order 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 the updated purchase order.\");\n\nexport const netsuiteUpdatePurchaseOrder = action(\"NETSUITE_UPDATE_PURCHASE_ORDER\", {\n slug: \"netsuite-update-purchase-order\",\n name: \"Update Purchase Order\",\n description: \"Tool to update a purchase order record by ID. Use when modifying fields of an existing purchase order. Call after retrieving the record to confirm current values.\",\n input: NetsuiteUpdatePurchaseOrderInput,\n output: NetsuiteUpdatePurchaseOrderOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EAC3F,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,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACzK,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACtJ,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAV+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-purchase-order.mjs","names":[],"sources":["../../src/actions/update-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdatePurchaseOrderInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the purchase order record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Purchase order record JSON object containing writable fields to update; omit fields you do not wish to change.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: z.boolean().describe(\"When true, any field in the body set to null will be deleted from the record; otherwise null values are ignored.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation level for property names: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Validation level for property values: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Purchase Order record.\");\nexport const NetsuiteUpdatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the updated purchase order record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated purchase order.\");\n\nexport const netsuiteUpdatePurchaseOrder = action(\"NETSUITE_UPDATE_PURCHASE_ORDER\", {\n slug: \"netsuite-update-purchase-order\",\n name: \"Update Purchase Order\",\n description: \"Tool to update a purchase order record by ID. Use when modifying fields of an existing purchase order. Call after retrieving the record to confirm current values.\",\n input: NetsuiteUpdatePurchaseOrderInput,\n output: NetsuiteUpdatePurchaseOrderOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EAC3F,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,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACzK,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACtJ,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAV+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const NetsuiteUpdateSalesOrderInput = zod.z.object({
|
|
|
20
20
|
const NetsuiteUpdateSalesOrderOutput = zod.z.object({
|
|
21
21
|
location: zod.z.string().describe("URL of the updated sales order record instance.").nullable().optional(),
|
|
22
22
|
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const netsuiteUpdateSalesOrder = require_action.action("NETSUITE_UPDATE_SALES_ORDER", {
|
|
25
25
|
slug: "netsuite-update-sales-order",
|
|
26
26
|
name: "Update Sales Order",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/update-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateSalesOrderInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the sales order record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Sales order record JSON object containing fields to update. Only the fields specified will be updated; omitted fields remain unchanged. Common updatable fields include: memo, otherrefnum (PO number), tranDate, orderStatus, and item sublists. See NetSuite REST API documentation for complete field reference.\"),\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 Sales Order record.\");\nexport const NetsuiteUpdateSalesOrderOutput = z.object({\n location: z.string().describe(\"URL of the updated sales order record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateSalesOrder = action(\"NETSUITE_UPDATE_SALES_ORDER\", {\n slug: \"netsuite-update-sales-order\",\n name: \"Update Sales Order\",\n description: \"Updates an existing NetSuite sales order record by ID using PATCH semantics. Only the fields provided in the data parameter will be modified; all other fields remain unchanged. Use this tool when you need to modify specific fields on an existing sales order, such as updating the memo, PO number, or status.\",\n input: NetsuiteUpdateSalesOrderInput,\n output: NetsuiteUpdateSalesOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CACxF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qTAAqT;CACtW,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,2DAA2D;AACvE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC;
|
|
1
|
+
{"version":3,"file":"update-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/update-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateSalesOrderInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the sales order record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Sales order record JSON object containing fields to update. Only the fields specified will be updated; omitted fields remain unchanged. Common updatable fields include: memo, otherrefnum (PO number), tranDate, orderStatus, and item sublists. See NetSuite REST API documentation for complete field reference.\"),\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 Sales Order record.\");\nexport const NetsuiteUpdateSalesOrderOutput = z.object({\n location: z.string().describe(\"URL of the updated sales order record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateSalesOrder = action(\"NETSUITE_UPDATE_SALES_ORDER\", {\n slug: \"netsuite-update-sales-order\",\n name: \"Update Sales Order\",\n description: \"Updates an existing NetSuite sales order record by ID using PATCH semantics. Only the fields provided in the data parameter will be modified; all other fields remain unchanged. Use this tool when you need to modify specific fields on an existing sales order, such as updating the memo, PO number, or status.\",\n input: NetsuiteUpdateSalesOrderInput,\n output: NetsuiteUpdateSalesOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CACxF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qTAAqT;CACtW,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,2DAA2D;AACvE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateSalesOrderInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateSalesOrderOutput: z.ZodObject<{
|
|
21
21
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const netsuiteUpdateSalesOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateSalesOrderInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateSalesOrderOutput: z.ZodObject<{
|
|
21
21
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const netsuiteUpdateSalesOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -23,7 +23,7 @@ const netsuiteUpdateSalesOrder = action("NETSUITE_UPDATE_SALES_ORDER", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
location: z.string().describe("URL of the updated sales order record instance.").nullable().optional(),
|
|
25
25
|
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
26
|
-
})
|
|
26
|
+
}).passthrough()
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { netsuiteUpdateSalesOrder };
|