@keystrokehq/netsuite 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/async-get-job-status.cjs +1 -0
- package/dist/actions/async-get-job-status.cjs.map +1 -1
- package/dist/actions/async-get-job-status.d.cts +3 -15
- package/dist/actions/async-get-job-status.d.cts.map +1 -1
- package/dist/actions/async-get-job-status.d.mts +3 -15
- package/dist/actions/async-get-job-status.d.mts.map +1 -1
- package/dist/actions/async-get-job-status.mjs +1 -0
- package/dist/actions/async-get-job-status.mjs.map +1 -1
- package/dist/actions/async-get-job-task-result.cjs +1 -0
- package/dist/actions/async-get-job-task-result.cjs.map +1 -1
- package/dist/actions/async-get-job-task-result.d.cts +3 -16
- package/dist/actions/async-get-job-task-result.d.cts.map +1 -1
- package/dist/actions/async-get-job-task-result.d.mts +3 -16
- package/dist/actions/async-get-job-task-result.d.mts.map +1 -1
- package/dist/actions/async-get-job-task-result.mjs +1 -0
- package/dist/actions/async-get-job-task-result.mjs.map +1 -1
- package/dist/actions/async-get-job-task.cjs +1 -0
- package/dist/actions/async-get-job-task.cjs.map +1 -1
- package/dist/actions/async-get-job-task.d.cts +3 -15
- package/dist/actions/async-get-job-task.d.cts.map +1 -1
- package/dist/actions/async-get-job-task.d.mts +3 -15
- package/dist/actions/async-get-job-task.d.mts.map +1 -1
- package/dist/actions/async-get-job-task.mjs +1 -0
- package/dist/actions/async-get-job-task.mjs.map +1 -1
- package/dist/actions/create-customer-payment.cjs +1 -0
- package/dist/actions/create-customer-payment.cjs.map +1 -1
- package/dist/actions/create-customer-payment.d.cts +3 -20
- package/dist/actions/create-customer-payment.d.cts.map +1 -1
- package/dist/actions/create-customer-payment.d.mts +3 -20
- package/dist/actions/create-customer-payment.d.mts.map +1 -1
- package/dist/actions/create-customer-payment.mjs +1 -0
- package/dist/actions/create-customer-payment.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -0
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +3 -20
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -20
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -0
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-employee.cjs +1 -0
- package/dist/actions/create-employee.cjs.map +1 -1
- package/dist/actions/create-employee.d.cts +3 -20
- package/dist/actions/create-employee.d.cts.map +1 -1
- package/dist/actions/create-employee.d.mts +3 -20
- package/dist/actions/create-employee.d.mts.map +1 -1
- package/dist/actions/create-employee.mjs +1 -0
- package/dist/actions/create-employee.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +3 -20
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +3 -20
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +1 -0
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +3 -21
- package/dist/actions/create-item.d.cts.map +1 -1
- package/dist/actions/create-item.d.mts +3 -21
- package/dist/actions/create-item.d.mts.map +1 -1
- package/dist/actions/create-item.mjs +1 -0
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-journal-entry.cjs +1 -0
- package/dist/actions/create-journal-entry.cjs.map +1 -1
- package/dist/actions/create-journal-entry.d.cts +3 -20
- package/dist/actions/create-journal-entry.d.cts.map +1 -1
- package/dist/actions/create-journal-entry.d.mts +3 -20
- package/dist/actions/create-journal-entry.d.mts.map +1 -1
- package/dist/actions/create-journal-entry.mjs +1 -0
- package/dist/actions/create-journal-entry.mjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs +1 -0
- package/dist/actions/create-jwt-client-assertion.cjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.cts +3 -22
- package/dist/actions/create-jwt-client-assertion.d.cts.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.mts +3 -22
- package/dist/actions/create-jwt-client-assertion.d.mts.map +1 -1
- package/dist/actions/create-jwt-client-assertion.mjs +1 -0
- package/dist/actions/create-jwt-client-assertion.mjs.map +1 -1
- package/dist/actions/create-purchase-order.cjs +1 -0
- package/dist/actions/create-purchase-order.cjs.map +1 -1
- package/dist/actions/create-purchase-order.d.cts +3 -44
- package/dist/actions/create-purchase-order.d.cts.map +1 -1
- package/dist/actions/create-purchase-order.d.mts +3 -44
- package/dist/actions/create-purchase-order.d.mts.map +1 -1
- package/dist/actions/create-purchase-order.mjs +1 -0
- package/dist/actions/create-purchase-order.mjs.map +1 -1
- package/dist/actions/create-record.cjs +1 -0
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +3 -21
- package/dist/actions/create-record.d.cts.map +1 -1
- package/dist/actions/create-record.d.mts +3 -21
- package/dist/actions/create-record.d.mts.map +1 -1
- package/dist/actions/create-record.mjs +1 -0
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-sales-order.cjs +1 -0
- package/dist/actions/create-sales-order.cjs.map +1 -1
- package/dist/actions/create-sales-order.d.cts +3 -46
- package/dist/actions/create-sales-order.d.cts.map +1 -1
- package/dist/actions/create-sales-order.d.mts +3 -46
- package/dist/actions/create-sales-order.d.mts.map +1 -1
- package/dist/actions/create-sales-order.mjs +1 -0
- package/dist/actions/create-sales-order.mjs.map +1 -1
- package/dist/actions/create-vendor-bill.cjs +1 -0
- package/dist/actions/create-vendor-bill.cjs.map +1 -1
- package/dist/actions/create-vendor-bill.d.cts +3 -20
- package/dist/actions/create-vendor-bill.d.cts.map +1 -1
- package/dist/actions/create-vendor-bill.d.mts +3 -20
- package/dist/actions/create-vendor-bill.d.mts.map +1 -1
- package/dist/actions/create-vendor-bill.mjs +1 -0
- package/dist/actions/create-vendor-bill.mjs.map +1 -1
- package/dist/actions/create-vendor.cjs +1 -0
- package/dist/actions/create-vendor.cjs.map +1 -1
- package/dist/actions/create-vendor.d.cts +3 -20
- package/dist/actions/create-vendor.d.cts.map +1 -1
- package/dist/actions/create-vendor.d.mts +3 -20
- package/dist/actions/create-vendor.d.mts.map +1 -1
- package/dist/actions/create-vendor.mjs +1 -0
- package/dist/actions/create-vendor.mjs.map +1 -1
- package/dist/actions/delete-customer-payment.cjs +1 -0
- package/dist/actions/delete-customer-payment.cjs.map +1 -1
- package/dist/actions/delete-customer-payment.d.cts +3 -15
- package/dist/actions/delete-customer-payment.d.cts.map +1 -1
- package/dist/actions/delete-customer-payment.d.mts +3 -15
- package/dist/actions/delete-customer-payment.d.mts.map +1 -1
- package/dist/actions/delete-customer-payment.mjs +1 -0
- package/dist/actions/delete-customer-payment.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -0
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +3 -15
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +3 -15
- package/dist/actions/delete-customer.d.mts.map +1 -1
- package/dist/actions/delete-customer.mjs +1 -0
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-employee.cjs +1 -0
- package/dist/actions/delete-employee.cjs.map +1 -1
- package/dist/actions/delete-employee.d.cts +3 -15
- package/dist/actions/delete-employee.d.cts.map +1 -1
- package/dist/actions/delete-employee.d.mts +3 -15
- package/dist/actions/delete-employee.d.mts.map +1 -1
- package/dist/actions/delete-employee.mjs +1 -0
- package/dist/actions/delete-employee.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -15
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -15
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.cjs +1 -0
- package/dist/actions/delete-item-fulfillment.cjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.cts +3 -17
- package/dist/actions/delete-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.mts +3 -17
- package/dist/actions/delete-item-fulfillment.d.mts.map +1 -1
- package/dist/actions/delete-item-fulfillment.mjs +1 -0
- package/dist/actions/delete-item-fulfillment.mjs.map +1 -1
- package/dist/actions/delete-item-receipt.cjs +1 -0
- package/dist/actions/delete-item-receipt.cjs.map +1 -1
- package/dist/actions/delete-item-receipt.d.cts +3 -15
- package/dist/actions/delete-item-receipt.d.cts.map +1 -1
- package/dist/actions/delete-item-receipt.d.mts +3 -15
- package/dist/actions/delete-item-receipt.d.mts.map +1 -1
- package/dist/actions/delete-item-receipt.mjs +1 -0
- package/dist/actions/delete-item-receipt.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -0
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +3 -16
- package/dist/actions/delete-item.d.cts.map +1 -1
- package/dist/actions/delete-item.d.mts +3 -16
- package/dist/actions/delete-item.d.mts.map +1 -1
- package/dist/actions/delete-item.mjs +1 -0
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-journal-entry.cjs +1 -0
- package/dist/actions/delete-journal-entry.cjs.map +1 -1
- package/dist/actions/delete-journal-entry.d.cts +3 -17
- package/dist/actions/delete-journal-entry.d.cts.map +1 -1
- package/dist/actions/delete-journal-entry.d.mts +3 -17
- package/dist/actions/delete-journal-entry.d.mts.map +1 -1
- package/dist/actions/delete-journal-entry.mjs +1 -0
- package/dist/actions/delete-journal-entry.mjs.map +1 -1
- package/dist/actions/delete-purchase-order.cjs +1 -0
- package/dist/actions/delete-purchase-order.cjs.map +1 -1
- package/dist/actions/delete-purchase-order.d.cts +3 -15
- package/dist/actions/delete-purchase-order.d.cts.map +1 -1
- package/dist/actions/delete-purchase-order.d.mts +3 -15
- package/dist/actions/delete-purchase-order.d.mts.map +1 -1
- package/dist/actions/delete-purchase-order.mjs +1 -0
- package/dist/actions/delete-purchase-order.mjs.map +1 -1
- package/dist/actions/delete-sales-order.cjs +1 -0
- package/dist/actions/delete-sales-order.cjs.map +1 -1
- package/dist/actions/delete-sales-order.d.cts +3 -15
- package/dist/actions/delete-sales-order.d.cts.map +1 -1
- package/dist/actions/delete-sales-order.d.mts +3 -15
- package/dist/actions/delete-sales-order.d.mts.map +1 -1
- package/dist/actions/delete-sales-order.mjs +1 -0
- package/dist/actions/delete-sales-order.mjs.map +1 -1
- package/dist/actions/delete-vendor-payment.cjs +1 -0
- package/dist/actions/delete-vendor-payment.cjs.map +1 -1
- package/dist/actions/delete-vendor-payment.d.cts +3 -15
- package/dist/actions/delete-vendor-payment.d.cts.map +1 -1
- package/dist/actions/delete-vendor-payment.d.mts +3 -15
- package/dist/actions/delete-vendor-payment.d.mts.map +1 -1
- package/dist/actions/delete-vendor-payment.mjs +1 -0
- package/dist/actions/delete-vendor-payment.mjs.map +1 -1
- package/dist/actions/execute-dataset.cjs +1 -0
- package/dist/actions/execute-dataset.cjs.map +1 -1
- package/dist/actions/execute-dataset.d.cts +3 -17
- package/dist/actions/execute-dataset.d.cts.map +1 -1
- package/dist/actions/execute-dataset.d.mts +3 -17
- package/dist/actions/execute-dataset.d.mts.map +1 -1
- package/dist/actions/execute-dataset.mjs +1 -0
- package/dist/actions/execute-dataset.mjs.map +1 -1
- package/dist/actions/get-customer-payment.cjs +1 -0
- package/dist/actions/get-customer-payment.cjs.map +1 -1
- package/dist/actions/get-customer-payment.d.cts +3 -18
- package/dist/actions/get-customer-payment.d.cts.map +1 -1
- package/dist/actions/get-customer-payment.d.mts +3 -18
- package/dist/actions/get-customer-payment.d.mts.map +1 -1
- package/dist/actions/get-customer-payment.mjs +1 -0
- package/dist/actions/get-customer-payment.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -0
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +3 -17
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -17
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +1 -0
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-datacenter-urls.cjs +1 -0
- package/dist/actions/get-datacenter-urls.cjs.map +1 -1
- package/dist/actions/get-datacenter-urls.d.cts +3 -16
- package/dist/actions/get-datacenter-urls.d.cts.map +1 -1
- package/dist/actions/get-datacenter-urls.d.mts +3 -16
- package/dist/actions/get-datacenter-urls.d.mts.map +1 -1
- package/dist/actions/get-datacenter-urls.mjs +1 -0
- package/dist/actions/get-datacenter-urls.mjs.map +1 -1
- package/dist/actions/get-employee.cjs +1 -0
- package/dist/actions/get-employee.cjs.map +1 -1
- package/dist/actions/get-employee.d.cts +3 -17
- package/dist/actions/get-employee.d.cts.map +1 -1
- package/dist/actions/get-employee.d.mts +3 -17
- package/dist/actions/get-employee.d.mts.map +1 -1
- package/dist/actions/get-employee.mjs +1 -0
- package/dist/actions/get-employee.mjs.map +1 -1
- package/dist/actions/get-governance-limits.cjs +1 -0
- package/dist/actions/get-governance-limits.cjs.map +1 -1
- package/dist/actions/get-governance-limits.d.cts +3 -13
- package/dist/actions/get-governance-limits.d.cts.map +1 -1
- package/dist/actions/get-governance-limits.d.mts +3 -13
- package/dist/actions/get-governance-limits.d.mts.map +1 -1
- package/dist/actions/get-governance-limits.mjs +1 -0
- package/dist/actions/get-governance-limits.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -18
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -18
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-item-fulfillment.cjs +1 -0
- package/dist/actions/get-item-fulfillment.cjs.map +1 -1
- package/dist/actions/get-item-fulfillment.d.cts +3 -18
- package/dist/actions/get-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/get-item-fulfillment.d.mts +3 -18
- package/dist/actions/get-item-fulfillment.d.mts.map +1 -1
- package/dist/actions/get-item-fulfillment.mjs +1 -0
- package/dist/actions/get-item-fulfillment.mjs.map +1 -1
- package/dist/actions/get-item-receipt.cjs +1 -0
- package/dist/actions/get-item-receipt.cjs.map +1 -1
- package/dist/actions/get-item-receipt.d.cts +3 -17
- package/dist/actions/get-item-receipt.d.cts.map +1 -1
- package/dist/actions/get-item-receipt.d.mts +3 -17
- package/dist/actions/get-item-receipt.d.mts.map +1 -1
- package/dist/actions/get-item-receipt.mjs +1 -0
- package/dist/actions/get-item-receipt.mjs.map +1 -1
- package/dist/actions/get-item.cjs +1 -0
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +3 -18
- package/dist/actions/get-item.d.cts.map +1 -1
- package/dist/actions/get-item.d.mts +3 -18
- package/dist/actions/get-item.d.mts.map +1 -1
- package/dist/actions/get-item.mjs +1 -0
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-journal-entry.cjs +1 -0
- package/dist/actions/get-journal-entry.cjs.map +1 -1
- package/dist/actions/get-journal-entry.d.cts +3 -18
- package/dist/actions/get-journal-entry.d.cts.map +1 -1
- package/dist/actions/get-journal-entry.d.mts +3 -18
- package/dist/actions/get-journal-entry.d.mts.map +1 -1
- package/dist/actions/get-journal-entry.mjs +1 -0
- package/dist/actions/get-journal-entry.mjs.map +1 -1
- package/dist/actions/get-purchase-order.cjs +1 -0
- package/dist/actions/get-purchase-order.cjs.map +1 -1
- package/dist/actions/get-purchase-order.d.cts +3 -18
- package/dist/actions/get-purchase-order.d.cts.map +1 -1
- package/dist/actions/get-purchase-order.d.mts +3 -18
- package/dist/actions/get-purchase-order.d.mts.map +1 -1
- package/dist/actions/get-purchase-order.mjs +1 -0
- package/dist/actions/get-purchase-order.mjs.map +1 -1
- package/dist/actions/get-record-metadata.cjs +1 -0
- package/dist/actions/get-record-metadata.cjs.map +1 -1
- package/dist/actions/get-record-metadata.d.cts +3 -16
- package/dist/actions/get-record-metadata.d.cts.map +1 -1
- package/dist/actions/get-record-metadata.d.mts +3 -16
- package/dist/actions/get-record-metadata.d.mts.map +1 -1
- package/dist/actions/get-record-metadata.mjs +1 -0
- package/dist/actions/get-record-metadata.mjs.map +1 -1
- package/dist/actions/get-reference-select-field.cjs +1 -0
- package/dist/actions/get-reference-select-field.cjs.map +1 -1
- package/dist/actions/get-reference-select-field.d.cts +3 -19
- package/dist/actions/get-reference-select-field.d.cts.map +1 -1
- package/dist/actions/get-reference-select-field.d.mts +3 -19
- package/dist/actions/get-reference-select-field.d.mts.map +1 -1
- package/dist/actions/get-reference-select-field.mjs +1 -0
- package/dist/actions/get-reference-select-field.mjs.map +1 -1
- package/dist/actions/get-sales-order.cjs +1 -0
- package/dist/actions/get-sales-order.cjs.map +1 -1
- package/dist/actions/get-sales-order.d.cts +3 -17
- package/dist/actions/get-sales-order.d.cts.map +1 -1
- package/dist/actions/get-sales-order.d.mts +3 -17
- package/dist/actions/get-sales-order.d.mts.map +1 -1
- package/dist/actions/get-sales-order.mjs +1 -0
- package/dist/actions/get-sales-order.mjs.map +1 -1
- package/dist/actions/get-server-time.cjs +1 -0
- package/dist/actions/get-server-time.cjs.map +1 -1
- package/dist/actions/get-server-time.d.cts +3 -13
- package/dist/actions/get-server-time.d.cts.map +1 -1
- package/dist/actions/get-server-time.d.mts +3 -13
- package/dist/actions/get-server-time.d.mts.map +1 -1
- package/dist/actions/get-server-time.mjs +1 -0
- package/dist/actions/get-server-time.mjs.map +1 -1
- package/dist/actions/get-sublist-collection.cjs +1 -0
- package/dist/actions/get-sublist-collection.cjs.map +1 -1
- package/dist/actions/get-sublist-collection.d.cts +3 -19
- package/dist/actions/get-sublist-collection.d.cts.map +1 -1
- package/dist/actions/get-sublist-collection.d.mts +3 -19
- package/dist/actions/get-sublist-collection.d.mts.map +1 -1
- package/dist/actions/get-sublist-collection.mjs +1 -0
- package/dist/actions/get-sublist-collection.mjs.map +1 -1
- package/dist/actions/get-sublist-line.cjs +1 -0
- package/dist/actions/get-sublist-line.cjs.map +1 -1
- package/dist/actions/get-sublist-line.d.cts +3 -19
- package/dist/actions/get-sublist-line.d.cts.map +1 -1
- package/dist/actions/get-sublist-line.d.mts +3 -19
- package/dist/actions/get-sublist-line.d.mts.map +1 -1
- package/dist/actions/get-sublist-line.mjs +1 -0
- package/dist/actions/get-sublist-line.mjs.map +1 -1
- package/dist/actions/get-subrecord.cjs +1 -0
- package/dist/actions/get-subrecord.cjs.map +1 -1
- package/dist/actions/get-subrecord.d.cts +3 -17
- package/dist/actions/get-subrecord.d.cts.map +1 -1
- package/dist/actions/get-subrecord.d.mts +3 -17
- package/dist/actions/get-subrecord.d.mts.map +1 -1
- package/dist/actions/get-subrecord.mjs +1 -0
- package/dist/actions/get-subrecord.mjs.map +1 -1
- package/dist/actions/get-vendor-bill.cjs +1 -0
- package/dist/actions/get-vendor-bill.cjs.map +1 -1
- package/dist/actions/get-vendor-bill.d.cts +3 -17
- package/dist/actions/get-vendor-bill.d.cts.map +1 -1
- package/dist/actions/get-vendor-bill.d.mts +3 -17
- package/dist/actions/get-vendor-bill.d.mts.map +1 -1
- package/dist/actions/get-vendor-bill.mjs +1 -0
- package/dist/actions/get-vendor-bill.mjs.map +1 -1
- package/dist/actions/get-vendor-payment.cjs +1 -0
- package/dist/actions/get-vendor-payment.cjs.map +1 -1
- package/dist/actions/get-vendor-payment.d.cts +3 -17
- package/dist/actions/get-vendor-payment.d.cts.map +1 -1
- package/dist/actions/get-vendor-payment.d.mts +3 -17
- package/dist/actions/get-vendor-payment.d.mts.map +1 -1
- package/dist/actions/get-vendor-payment.mjs +1 -0
- package/dist/actions/get-vendor-payment.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +1 -0
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +3 -18
- package/dist/actions/get-vendor.d.cts.map +1 -1
- package/dist/actions/get-vendor.d.mts +3 -18
- package/dist/actions/get-vendor.d.mts.map +1 -1
- package/dist/actions/get-vendor.mjs +1 -0
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/list-customer-payments.cjs +1 -0
- package/dist/actions/list-customer-payments.cjs.map +1 -1
- package/dist/actions/list-customer-payments.d.cts +3 -17
- package/dist/actions/list-customer-payments.d.cts.map +1 -1
- package/dist/actions/list-customer-payments.d.mts +3 -17
- package/dist/actions/list-customer-payments.d.mts.map +1 -1
- package/dist/actions/list-customer-payments.mjs +1 -0
- package/dist/actions/list-customer-payments.mjs.map +1 -1
- package/dist/actions/list-datasets.cjs +1 -0
- package/dist/actions/list-datasets.cjs.map +1 -1
- package/dist/actions/list-datasets.d.cts +3 -16
- package/dist/actions/list-datasets.d.cts.map +1 -1
- package/dist/actions/list-datasets.d.mts +3 -16
- package/dist/actions/list-datasets.d.mts.map +1 -1
- package/dist/actions/list-datasets.mjs +1 -0
- package/dist/actions/list-datasets.mjs.map +1 -1
- package/dist/actions/list-employees.cjs +1 -0
- package/dist/actions/list-employees.cjs.map +1 -1
- package/dist/actions/list-employees.d.cts +3 -17
- package/dist/actions/list-employees.d.cts.map +1 -1
- package/dist/actions/list-employees.d.mts +3 -17
- package/dist/actions/list-employees.d.mts.map +1 -1
- package/dist/actions/list-employees.mjs +1 -0
- package/dist/actions/list-employees.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +1 -0
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +3 -16
- package/dist/actions/list-integrations.d.cts.map +1 -1
- package/dist/actions/list-integrations.d.mts +3 -16
- package/dist/actions/list-integrations.d.mts.map +1 -1
- package/dist/actions/list-integrations.mjs +1 -0
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -17
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -17
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-item-fulfillments.cjs +1 -0
- package/dist/actions/list-item-fulfillments.cjs.map +1 -1
- package/dist/actions/list-item-fulfillments.d.cts +3 -17
- package/dist/actions/list-item-fulfillments.d.cts.map +1 -1
- package/dist/actions/list-item-fulfillments.d.mts +3 -17
- package/dist/actions/list-item-fulfillments.d.mts.map +1 -1
- package/dist/actions/list-item-fulfillments.mjs +1 -0
- package/dist/actions/list-item-fulfillments.mjs.map +1 -1
- package/dist/actions/list-item-receipts.cjs +1 -0
- package/dist/actions/list-item-receipts.cjs.map +1 -1
- package/dist/actions/list-item-receipts.d.cts +3 -17
- package/dist/actions/list-item-receipts.d.cts.map +1 -1
- package/dist/actions/list-item-receipts.d.mts +3 -17
- package/dist/actions/list-item-receipts.d.mts.map +1 -1
- package/dist/actions/list-item-receipts.mjs +1 -0
- package/dist/actions/list-item-receipts.mjs.map +1 -1
- package/dist/actions/list-journal-entries.cjs +1 -0
- package/dist/actions/list-journal-entries.cjs.map +1 -1
- package/dist/actions/list-journal-entries.d.cts +3 -17
- package/dist/actions/list-journal-entries.d.cts.map +1 -1
- package/dist/actions/list-journal-entries.d.mts +3 -17
- package/dist/actions/list-journal-entries.d.mts.map +1 -1
- package/dist/actions/list-journal-entries.mjs +1 -0
- package/dist/actions/list-journal-entries.mjs.map +1 -1
- package/dist/actions/list-metadata-catalog.cjs +1 -0
- package/dist/actions/list-metadata-catalog.cjs.map +1 -1
- package/dist/actions/list-metadata-catalog.d.cts +3 -16
- package/dist/actions/list-metadata-catalog.d.cts.map +1 -1
- package/dist/actions/list-metadata-catalog.d.mts +3 -16
- package/dist/actions/list-metadata-catalog.d.mts.map +1 -1
- package/dist/actions/list-metadata-catalog.mjs +1 -0
- package/dist/actions/list-metadata-catalog.mjs.map +1 -1
- package/dist/actions/list-purchase-orders.cjs +1 -0
- package/dist/actions/list-purchase-orders.cjs.map +1 -1
- package/dist/actions/list-purchase-orders.d.cts +3 -17
- package/dist/actions/list-purchase-orders.d.cts.map +1 -1
- package/dist/actions/list-purchase-orders.d.mts +3 -17
- package/dist/actions/list-purchase-orders.d.mts.map +1 -1
- package/dist/actions/list-purchase-orders.mjs +1 -0
- package/dist/actions/list-purchase-orders.mjs.map +1 -1
- package/dist/actions/list-records.cjs +1 -0
- package/dist/actions/list-records.cjs.map +1 -1
- package/dist/actions/list-records.d.cts +3 -18
- package/dist/actions/list-records.d.cts.map +1 -1
- package/dist/actions/list-records.d.mts +3 -18
- package/dist/actions/list-records.d.mts.map +1 -1
- package/dist/actions/list-records.mjs +1 -0
- package/dist/actions/list-records.mjs.map +1 -1
- package/dist/actions/list-sales-orders.cjs +1 -0
- package/dist/actions/list-sales-orders.cjs.map +1 -1
- package/dist/actions/list-sales-orders.d.cts +3 -17
- package/dist/actions/list-sales-orders.d.cts.map +1 -1
- package/dist/actions/list-sales-orders.d.mts +3 -17
- package/dist/actions/list-sales-orders.d.mts.map +1 -1
- package/dist/actions/list-sales-orders.mjs +1 -0
- package/dist/actions/list-sales-orders.mjs.map +1 -1
- package/dist/actions/list-vendor-payments.cjs +1 -0
- package/dist/actions/list-vendor-payments.cjs.map +1 -1
- package/dist/actions/list-vendor-payments.d.cts +3 -17
- package/dist/actions/list-vendor-payments.d.cts.map +1 -1
- package/dist/actions/list-vendor-payments.d.mts +3 -17
- package/dist/actions/list-vendor-payments.d.mts.map +1 -1
- package/dist/actions/list-vendor-payments.mjs +1 -0
- package/dist/actions/list-vendor-payments.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs +1 -0
- package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.cts +3 -22
- package/dist/actions/o-auth2-authorize-account-domain.d.cts.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.mts +3 -22
- package/dist/actions/o-auth2-authorize-account-domain.d.mts.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.mjs +1 -0
- package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs +1 -0
- package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.cts +3 -23
- package/dist/actions/o-auth2-authorize-system-domain.d.cts.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.mts +3 -23
- package/dist/actions/o-auth2-authorize-system-domain.d.mts.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.mjs +1 -0
- package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-logout.cjs +1 -0
- package/dist/actions/o-auth2-logout.cjs.map +1 -1
- package/dist/actions/o-auth2-logout.d.cts +3 -15
- package/dist/actions/o-auth2-logout.d.cts.map +1 -1
- package/dist/actions/o-auth2-logout.d.mts +3 -15
- package/dist/actions/o-auth2-logout.d.mts.map +1 -1
- package/dist/actions/o-auth2-logout.mjs +1 -0
- package/dist/actions/o-auth2-logout.mjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs +1 -0
- package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts +3 -16
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts +3 -16
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.mjs +1 -0
- package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs +1 -0
- package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.cts +3 -19
- package/dist/actions/o-auth2-token-authorization-code.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.mts +3 -19
- package/dist/actions/o-auth2-token-authorization-code.d.mts.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.mjs +1 -0
- package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs +1 -0
- package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.cts +3 -17
- package/dist/actions/o-auth2-token-client-credentials.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.mts +3 -17
- package/dist/actions/o-auth2-token-client-credentials.d.mts.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.mjs +1 -0
- package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs +1 -0
- package/dist/actions/o-auth2-token-refresh.cjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.cts +3 -17
- package/dist/actions/o-auth2-token-refresh.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.mts +3 -17
- package/dist/actions/o-auth2-token-refresh.d.mts.map +1 -1
- package/dist/actions/o-auth2-token-refresh.mjs +1 -0
- package/dist/actions/o-auth2-token-refresh.mjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.cjs +1 -0
- package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.cts +3 -13
- package/dist/actions/oauth2-get-jwks-keys.d.cts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.mts +3 -13
- package/dist/actions/oauth2-get-jwks-keys.d.mts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.mjs +1 -0
- package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -1
- package/dist/actions/run-suiteql-query.cjs +1 -0
- package/dist/actions/run-suiteql-query.cjs.map +1 -1
- package/dist/actions/run-suiteql-query.d.cts +3 -17
- package/dist/actions/run-suiteql-query.d.cts.map +1 -1
- package/dist/actions/run-suiteql-query.d.mts +3 -17
- package/dist/actions/run-suiteql-query.d.mts.map +1 -1
- package/dist/actions/run-suiteql-query.mjs +1 -0
- package/dist/actions/run-suiteql-query.mjs.map +1 -1
- package/dist/actions/transform-record.cjs +1 -0
- package/dist/actions/transform-record.cjs.map +1 -1
- package/dist/actions/transform-record.d.cts +3 -23
- package/dist/actions/transform-record.d.cts.map +1 -1
- package/dist/actions/transform-record.d.mts +3 -23
- package/dist/actions/transform-record.d.mts.map +1 -1
- package/dist/actions/transform-record.mjs +1 -0
- package/dist/actions/transform-record.mjs.map +1 -1
- package/dist/actions/update-customer-payment.cjs +1 -0
- package/dist/actions/update-customer-payment.cjs.map +1 -1
- package/dist/actions/update-customer-payment.d.cts +3 -20
- package/dist/actions/update-customer-payment.d.cts.map +1 -1
- package/dist/actions/update-customer-payment.d.mts +3 -20
- package/dist/actions/update-customer-payment.d.mts.map +1 -1
- package/dist/actions/update-customer-payment.mjs +1 -0
- package/dist/actions/update-customer-payment.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -0
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -20
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -20
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -0
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-employee.cjs +1 -0
- package/dist/actions/update-employee.cjs.map +1 -1
- package/dist/actions/update-employee.d.cts +3 -22
- package/dist/actions/update-employee.d.cts.map +1 -1
- package/dist/actions/update-employee.d.mts +3 -22
- package/dist/actions/update-employee.d.mts.map +1 -1
- package/dist/actions/update-employee.mjs +1 -0
- package/dist/actions/update-employee.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +3 -20
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +3 -20
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item-fulfillment.cjs +1 -0
- package/dist/actions/update-item-fulfillment.cjs.map +1 -1
- package/dist/actions/update-item-fulfillment.d.cts +3 -22
- package/dist/actions/update-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/update-item-fulfillment.d.mts +3 -22
- package/dist/actions/update-item-fulfillment.d.mts.map +1 -1
- package/dist/actions/update-item-fulfillment.mjs +1 -0
- package/dist/actions/update-item-fulfillment.mjs.map +1 -1
- package/dist/actions/update-item-receipt.cjs +1 -0
- package/dist/actions/update-item-receipt.cjs.map +1 -1
- package/dist/actions/update-item-receipt.d.cts +3 -22
- package/dist/actions/update-item-receipt.d.cts.map +1 -1
- package/dist/actions/update-item-receipt.d.mts +3 -22
- package/dist/actions/update-item-receipt.d.mts.map +1 -1
- package/dist/actions/update-item-receipt.mjs +1 -0
- package/dist/actions/update-item-receipt.mjs.map +1 -1
- package/dist/actions/update-item.cjs +1 -0
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +3 -23
- package/dist/actions/update-item.d.cts.map +1 -1
- package/dist/actions/update-item.d.mts +3 -23
- package/dist/actions/update-item.d.mts.map +1 -1
- package/dist/actions/update-item.mjs +1 -0
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-journal-entry.cjs +1 -0
- package/dist/actions/update-journal-entry.cjs.map +1 -1
- package/dist/actions/update-journal-entry.d.cts +3 -22
- package/dist/actions/update-journal-entry.d.cts.map +1 -1
- package/dist/actions/update-journal-entry.d.mts +3 -22
- package/dist/actions/update-journal-entry.d.mts.map +1 -1
- package/dist/actions/update-journal-entry.mjs +1 -0
- package/dist/actions/update-journal-entry.mjs.map +1 -1
- package/dist/actions/update-purchase-order.cjs +1 -0
- package/dist/actions/update-purchase-order.cjs.map +1 -1
- package/dist/actions/update-purchase-order.d.cts +3 -21
- package/dist/actions/update-purchase-order.d.cts.map +1 -1
- package/dist/actions/update-purchase-order.d.mts +3 -21
- package/dist/actions/update-purchase-order.d.mts.map +1 -1
- package/dist/actions/update-purchase-order.mjs +1 -0
- package/dist/actions/update-purchase-order.mjs.map +1 -1
- package/dist/actions/update-sales-order.cjs +1 -0
- package/dist/actions/update-sales-order.cjs.map +1 -1
- package/dist/actions/update-sales-order.d.cts +3 -20
- package/dist/actions/update-sales-order.d.cts.map +1 -1
- package/dist/actions/update-sales-order.d.mts +3 -20
- package/dist/actions/update-sales-order.d.mts.map +1 -1
- package/dist/actions/update-sales-order.mjs +1 -0
- package/dist/actions/update-sales-order.mjs.map +1 -1
- package/dist/actions/update-vendor-bill.cjs +1 -0
- package/dist/actions/update-vendor-bill.cjs.map +1 -1
- package/dist/actions/update-vendor-bill.d.cts +3 -22
- package/dist/actions/update-vendor-bill.d.cts.map +1 -1
- package/dist/actions/update-vendor-bill.d.mts +3 -22
- package/dist/actions/update-vendor-bill.d.mts.map +1 -1
- package/dist/actions/update-vendor-bill.mjs +1 -0
- package/dist/actions/update-vendor-bill.mjs.map +1 -1
- package/dist/actions/update-vendor-payment.cjs +1 -0
- package/dist/actions/update-vendor-payment.cjs.map +1 -1
- package/dist/actions/update-vendor-payment.d.cts +3 -22
- package/dist/actions/update-vendor-payment.d.cts.map +1 -1
- package/dist/actions/update-vendor-payment.d.mts +3 -22
- package/dist/actions/update-vendor-payment.d.mts.map +1 -1
- package/dist/actions/update-vendor-payment.mjs +1 -0
- package/dist/actions/update-vendor-payment.mjs.map +1 -1
- package/dist/actions/update-vendor.cjs +1 -0
- package/dist/actions/update-vendor.cjs.map +1 -1
- package/dist/actions/update-vendor.d.cts +3 -20
- package/dist/actions/update-vendor.d.cts.map +1 -1
- package/dist/actions/update-vendor.d.mts +3 -20
- package/dist/actions/update-vendor.d.mts.map +1 -1
- package/dist/actions/update-vendor.mjs +1 -0
- package/dist/actions/update-vendor.mjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs +1 -0
- package/dist/actions/upsert-record-by-external-id.cjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.cts +3 -17
- package/dist/actions/upsert-record-by-external-id.d.cts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.mts +3 -17
- package/dist/actions/upsert-record-by-external-id.d.mts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs +1 -0
- package/dist/actions/upsert-record-by-external-id.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/transform-record.d.ts
|
|
@@ -16,29 +18,7 @@ declare const NetsuiteTransformRecordOutput: z.ZodObject<{
|
|
|
16
18
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const netsuiteTransformRecord:
|
|
20
|
-
record_id: number;
|
|
21
|
-
source_record_type: string;
|
|
22
|
-
target_record_type: string;
|
|
23
|
-
Prefer?: string | undefined;
|
|
24
|
-
replace?: string | undefined;
|
|
25
|
-
record_body?: Record<string, unknown> | undefined;
|
|
26
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
27
|
-
"X-NetSuite-PropertyNameValidation"?: string | undefined;
|
|
28
|
-
"X-NetSuite-PropertyValueValidation"?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const netsuiteTransformRecord: AppAction<typeof NetsuiteTransformRecordInput, typeof NetsuiteTransformRecordOutput, typeof netsuite.credential>;
|
|
42
22
|
//#endregion
|
|
43
23
|
export { netsuiteTransformRecord };
|
|
44
24
|
//# sourceMappingURL=transform-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-record.d.cts","names":[],"sources":["../../src/actions/transform-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transform-record.d.cts","names":[],"sources":["../../src/actions/transform-record.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/transform-record.d.ts
|
|
@@ -16,29 +18,7 @@ declare const NetsuiteTransformRecordOutput: z.ZodObject<{
|
|
|
16
18
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const netsuiteTransformRecord:
|
|
20
|
-
record_id: number;
|
|
21
|
-
source_record_type: string;
|
|
22
|
-
target_record_type: string;
|
|
23
|
-
Prefer?: string | undefined;
|
|
24
|
-
replace?: string | undefined;
|
|
25
|
-
record_body?: Record<string, unknown> | undefined;
|
|
26
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
27
|
-
"X-NetSuite-PropertyNameValidation"?: string | undefined;
|
|
28
|
-
"X-NetSuite-PropertyValueValidation"?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const netsuiteTransformRecord: AppAction<typeof NetsuiteTransformRecordInput, typeof NetsuiteTransformRecordOutput, typeof netsuite.credential>;
|
|
42
22
|
//#endregion
|
|
43
23
|
export { netsuiteTransformRecord };
|
|
44
24
|
//# sourceMappingURL=transform-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-record.d.mts","names":[],"sources":["../../src/actions/transform-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transform-record.d.mts","names":[],"sources":["../../src/actions/transform-record.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-record.mjs","names":[],"sources":["../../src/actions/transform-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteTransformRecordInput = z.object({\n Prefer: z.string().describe(\"Use 'respond-async' to run the transform asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided in record_body. The sublists must be present in record_body or the request will fail. Common sublists: 'item', 'apply'. Example: 'item' or 'apply,item'.\").optional(),\n record_id: z.number().int().describe(\"Internal ID of the source record instance to transform. Must be a valid, existing record in NetSuite.\"),\n record_body: z.record(z.string(), z.unknown()).describe(\"Optional JSON object with field values to set on the transformed record\").optional(),\n source_record_type: z.string().describe(\"Source record type to transform. Common types: salesOrder, purchaseOrder, invoice, customer. Use camelCase format.\"),\n target_record_type: z.string().describe(\"Target record type to create from source. Common transformations: salesOrder→invoice, salesOrder→itemFulfillment, purchaseOrder→itemReceipt, purchaseOrder→vendorBill. Use camelCase format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.string().describe(\"Controls strictness for property name validation (ignore|warning|error).\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.string().describe(\"Controls strictness for property value validation (ignore|warning|error).\").optional(),\n});\nexport const NetsuiteTransformRecordOutput = z.object({\n location: z.string().describe(\"Location header URL for async job status (only for async requests)\").nullable().optional(),\n preference_applied: z.string().describe(\"Preference-Applied header value (only for async requests)\").nullable().optional(),\n}).passthrough().describe(\"Response for TransformRecord action.\\nReturns empty for synchronous transforms (204 No Content).\\nReturns location and preference_applied for async transforms (202 Accepted).\");\n\nexport const netsuiteTransformRecord = action(\"NETSUITE_TRANSFORM_RECORD\", {\n slug: \"netsuite-transform-record\",\n name: \"Transform Record\",\n description: \"Transform an existing NetSuite record into another record type (e.g., sales order to invoice, purchase order to item receipt). Creates a new target record populated with data from the source record. Supports common business workflows like: - Converting sales orders to invoices or item fulfillments - Converting purchase orders to item receipts or vendor bills - Converting invoices to credit memos Optionally override fields on the transformed record via record_body parameter.\",\n input: NetsuiteTransformRecordInput,\n output: NetsuiteTransformRecordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transform-record.mjs","names":[],"sources":["../../src/actions/transform-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteTransformRecordInput = z.object({\n Prefer: z.string().describe(\"Use 'respond-async' to run the transform asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided in record_body. The sublists must be present in record_body or the request will fail. Common sublists: 'item', 'apply'. Example: 'item' or 'apply,item'.\").optional(),\n record_id: z.number().int().describe(\"Internal ID of the source record instance to transform. Must be a valid, existing record in NetSuite.\"),\n record_body: z.record(z.string(), z.unknown()).describe(\"Optional JSON object with field values to set on the transformed record\").optional(),\n source_record_type: z.string().describe(\"Source record type to transform. Common types: salesOrder, purchaseOrder, invoice, customer. Use camelCase format.\"),\n target_record_type: z.string().describe(\"Target record type to create from source. Common transformations: salesOrder→invoice, salesOrder→itemFulfillment, purchaseOrder→itemReceipt, purchaseOrder→vendorBill. Use camelCase format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.string().describe(\"Controls strictness for property name validation (ignore|warning|error).\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.string().describe(\"Controls strictness for property value validation (ignore|warning|error).\").optional(),\n});\nexport const NetsuiteTransformRecordOutput = z.object({\n location: z.string().describe(\"Location header URL for async job status (only for async requests)\").nullable().optional(),\n preference_applied: z.string().describe(\"Preference-Applied header value (only for async requests)\").nullable().optional(),\n}).passthrough().describe(\"Response for TransformRecord action.\\nReturns empty for synchronous transforms (204 No Content).\\nReturns location and preference_applied for async transforms (202 Accepted).\");\n\nexport const netsuiteTransformRecord: AppAction<\n typeof NetsuiteTransformRecordInput,\n typeof NetsuiteTransformRecordOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_TRANSFORM_RECORD\", {\n slug: \"netsuite-transform-record\",\n name: \"Transform Record\",\n description: \"Transform an existing NetSuite record into another record type (e.g., sales order to invoice, purchase order to item receipt). Creates a new target record populated with data from the source record. Supports common business workflows like: - Converting sales orders to invoices or item fulfillments - Converting purchase orders to item receipts or vendor bills - Converting invoices to credit memos Optionally override fields on the transformed record via record_body parameter.\",\n input: NetsuiteTransformRecordInput,\n output: NetsuiteTransformRecordOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;EACrQ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;EAC5I,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC5I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;EAC5J,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L;EACtO,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC9I,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAClJ,CAcS;CACP,QAd2C,EAAE,OAAO;EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gLAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerPaymentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomerPayment = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-payment.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteUpdateCustomerPaymentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomerPayment: AppAction<\n typeof NetsuiteUpdateCustomerPaymentInput,\n typeof NetsuiteUpdateCustomerPaymentOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":";;;;AAMA,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,yTAAyT;CAC1W,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;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-customer-payment.d.ts
|
|
@@ -21,26 +23,7 @@ declare const NetsuiteUpdateCustomerPaymentOutput: z.ZodObject<{
|
|
|
21
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const netsuiteUpdateCustomerPayment:
|
|
25
|
-
id: number;
|
|
26
|
-
data: Record<string, unknown>;
|
|
27
|
-
prefer?: string | undefined;
|
|
28
|
-
idempotency_key?: string | undefined;
|
|
29
|
-
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
|
-
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
accessToken: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const netsuiteUpdateCustomerPayment: AppAction<typeof NetsuiteUpdateCustomerPaymentInput, typeof NetsuiteUpdateCustomerPaymentOutput, typeof netsuite.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { netsuiteUpdateCustomerPayment };
|
|
46
29
|
//# sourceMappingURL=update-customer-payment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment.d.cts","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-payment.d.cts","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-customer-payment.d.ts
|
|
@@ -21,26 +23,7 @@ declare const NetsuiteUpdateCustomerPaymentOutput: z.ZodObject<{
|
|
|
21
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const netsuiteUpdateCustomerPayment:
|
|
25
|
-
id: number;
|
|
26
|
-
data: Record<string, unknown>;
|
|
27
|
-
prefer?: string | undefined;
|
|
28
|
-
idempotency_key?: string | undefined;
|
|
29
|
-
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
|
-
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
accessToken: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const netsuiteUpdateCustomerPayment: AppAction<typeof NetsuiteUpdateCustomerPaymentInput, typeof NetsuiteUpdateCustomerPaymentOutput, typeof netsuite.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { netsuiteUpdateCustomerPayment };
|
|
46
29
|
//# sourceMappingURL=update-customer-payment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment.d.mts","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-payment.d.mts","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment.mjs","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerPaymentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomerPayment = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer-payment.mjs","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteUpdateCustomerPaymentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomerPayment: AppAction<\n typeof NetsuiteUpdateCustomerPaymentInput,\n typeof NetsuiteUpdateCustomerPaymentOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBgD,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,yTAAyT;EAC1W,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAcS;CACP,QAdiD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs.\"),\n data: z.record(z.string(), z.unknown()).describe(\"JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'}).\"),\n prefer: z.string().describe(\"Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).\").optional(),\n});\nexport const NetsuiteUpdateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomer = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteUpdateCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs.\"),\n data: z.record(z.string(), z.unknown()).describe(\"JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'}).\"),\n prefer: z.string().describe(\"Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).\").optional(),\n});\nexport const NetsuiteUpdateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomer: AppAction<\n typeof NetsuiteUpdateCustomerInput,\n typeof NetsuiteUpdateCustomerOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC3H,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yWAAyW;CAC1Z,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CACnQ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACpP,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxP,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;AACxQ,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvP,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-customer.d.ts
|
|
@@ -21,26 +23,7 @@ declare const NetsuiteUpdateCustomerOutput: z.ZodObject<{
|
|
|
21
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const netsuiteUpdateCustomer:
|
|
25
|
-
id: string;
|
|
26
|
-
data: Record<string, unknown>;
|
|
27
|
-
prefer?: string | undefined;
|
|
28
|
-
idempotency_key?: string | undefined;
|
|
29
|
-
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
|
-
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
accessToken: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const netsuiteUpdateCustomer: AppAction<typeof NetsuiteUpdateCustomerInput, typeof NetsuiteUpdateCustomerOutput, typeof netsuite.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { netsuiteUpdateCustomer };
|
|
46
29
|
//# sourceMappingURL=update-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-customer.d.ts
|
|
@@ -21,26 +23,7 @@ declare const NetsuiteUpdateCustomerOutput: z.ZodObject<{
|
|
|
21
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const netsuiteUpdateCustomer:
|
|
25
|
-
id: string;
|
|
26
|
-
data: Record<string, unknown>;
|
|
27
|
-
prefer?: string | undefined;
|
|
28
|
-
idempotency_key?: string | undefined;
|
|
29
|
-
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
|
-
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
accessToken: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const netsuiteUpdateCustomer: AppAction<typeof NetsuiteUpdateCustomerInput, typeof NetsuiteUpdateCustomerOutput, typeof netsuite.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { netsuiteUpdateCustomer };
|
|
46
29
|
//# sourceMappingURL=update-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs.\"),\n data: z.record(z.string(), z.unknown()).describe(\"JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'}).\"),\n prefer: z.string().describe(\"Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).\").optional(),\n});\nexport const NetsuiteUpdateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomer = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteUpdateCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs.\"),\n data: z.record(z.string(), z.unknown()).describe(\"JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'}).\"),\n prefer: z.string().describe(\"Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).\").optional(),\n});\nexport const NetsuiteUpdateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomer: AppAction<\n typeof NetsuiteUpdateCustomerInput,\n typeof NetsuiteUpdateCustomerOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC3H,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yWAAyW;EAC1Z,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;EACnQ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;EACpP,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;EACxP,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CACxQ,CAcS;CACP,QAd0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvP,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-employee.cjs","names":["z","action"],"sources":["../../src/actions/update-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateEmployeeInput = z.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":"
|
|
1
|
+
{"version":3,"file":"update-employee.cjs","names":["z","action"],"sources":["../../src/actions/update-employee.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\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: AppAction<\n typeof NetsuiteUpdateEmployeeInput,\n typeof NetsuiteUpdateEmployeeOutput,\n typeof netsuite.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC7G,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7J,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClG,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-employee.d.ts
|
|
@@ -23,28 +25,7 @@ declare const NetsuiteUpdateEmployeeOutput: z.ZodObject<{
|
|
|
23
25
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const netsuiteUpdateEmployee:
|
|
27
|
-
id: string;
|
|
28
|
-
data: Record<string, unknown>;
|
|
29
|
-
Prefer?: string | undefined;
|
|
30
|
-
replace?: string | undefined;
|
|
31
|
-
replaceSelectedFields?: boolean | undefined;
|
|
32
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
33
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
34
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
accessToken: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const netsuiteUpdateEmployee: AppAction<typeof NetsuiteUpdateEmployeeInput, typeof NetsuiteUpdateEmployeeOutput, typeof netsuite.credential>;
|
|
48
29
|
//#endregion
|
|
49
30
|
export { netsuiteUpdateEmployee };
|
|
50
31
|
//# sourceMappingURL=update-employee.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-employee.d.cts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-employee.d.cts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-employee.d.ts
|
|
@@ -23,28 +25,7 @@ declare const NetsuiteUpdateEmployeeOutput: z.ZodObject<{
|
|
|
23
25
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const netsuiteUpdateEmployee:
|
|
27
|
-
id: string;
|
|
28
|
-
data: Record<string, unknown>;
|
|
29
|
-
Prefer?: string | undefined;
|
|
30
|
-
replace?: string | undefined;
|
|
31
|
-
replaceSelectedFields?: boolean | undefined;
|
|
32
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
33
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
34
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
accessToken: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const netsuiteUpdateEmployee: AppAction<typeof NetsuiteUpdateEmployeeInput, typeof NetsuiteUpdateEmployeeOutput, typeof netsuite.credential>;
|
|
48
29
|
//#endregion
|
|
49
30
|
export { netsuiteUpdateEmployee };
|
|
50
31
|
//# sourceMappingURL=update-employee.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-employee.d.mts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-employee.d.mts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"update-employee.mjs","names":[],"sources":["../../src/actions/update-employee.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\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: AppAction<\n typeof NetsuiteUpdateEmployeeInput,\n typeof NetsuiteUpdateEmployeeOutput,\n typeof netsuite.credential\n> = 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":";;;AAqBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByC,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,wDAcH;CACP,QAd0C,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,yDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"update-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\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: AppAction<\n typeof NetsuiteUpdateInvoiceInput,\n typeof NetsuiteUpdateInvoiceOutput,\n typeof netsuite.credential\n> = 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":";;;;AAMA,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,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-invoice.d.ts
|
|
@@ -21,26 +23,7 @@ declare const NetsuiteUpdateInvoiceOutput: z.ZodObject<{
|
|
|
21
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const netsuiteUpdateInvoice:
|
|
25
|
-
id: number;
|
|
26
|
-
data: Record<string, unknown>;
|
|
27
|
-
prefer?: string | undefined;
|
|
28
|
-
idempotency_key?: string | undefined;
|
|
29
|
-
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
|
-
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
accessToken: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const netsuiteUpdateInvoice: AppAction<typeof NetsuiteUpdateInvoiceInput, typeof NetsuiteUpdateInvoiceOutput, typeof netsuite.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { netsuiteUpdateInvoice };
|
|
46
29
|
//# sourceMappingURL=update-invoice.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|