@keystrokehq/netsuite 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/async-get-job-status.cjs +3 -3
- package/dist/actions/async-get-job-status.cjs.map +1 -1
- package/dist/actions/async-get-job-status.d.cts +17 -5
- package/dist/actions/async-get-job-status.d.mts +17 -5
- package/dist/actions/async-get-job-status.mjs +3 -3
- package/dist/actions/async-get-job-status.mjs.map +1 -1
- package/dist/actions/async-get-job-task-result.cjs +2 -2
- package/dist/actions/async-get-job-task-result.cjs.map +1 -1
- package/dist/actions/async-get-job-task-result.d.cts +15 -3
- package/dist/actions/async-get-job-task-result.d.mts +15 -3
- package/dist/actions/async-get-job-task-result.mjs +2 -2
- package/dist/actions/async-get-job-task-result.mjs.map +1 -1
- package/dist/actions/async-get-job-task.cjs +1 -1
- package/dist/actions/async-get-job-task.cjs.map +1 -1
- package/dist/actions/async-get-job-task.d.cts +14 -2
- package/dist/actions/async-get-job-task.d.mts +14 -2
- package/dist/actions/async-get-job-task.mjs +1 -1
- package/dist/actions/async-get-job-task.mjs.map +1 -1
- package/dist/actions/create-customer-payment.cjs +1 -1
- package/dist/actions/create-customer-payment.cjs.map +1 -1
- package/dist/actions/create-customer-payment.d.cts +14 -2
- package/dist/actions/create-customer-payment.d.cts.map +1 -1
- package/dist/actions/create-customer-payment.d.mts +14 -2
- package/dist/actions/create-customer-payment.d.mts.map +1 -1
- package/dist/actions/create-customer-payment.mjs +1 -1
- package/dist/actions/create-customer-payment.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -1
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +14 -2
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +14 -2
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -1
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-employee.cjs +1 -1
- package/dist/actions/create-employee.cjs.map +1 -1
- package/dist/actions/create-employee.d.cts +14 -2
- package/dist/actions/create-employee.d.cts.map +1 -1
- package/dist/actions/create-employee.d.mts +14 -2
- package/dist/actions/create-employee.d.mts.map +1 -1
- package/dist/actions/create-employee.mjs +1 -1
- package/dist/actions/create-employee.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -1
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +14 -2
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +14 -2
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -1
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +1 -1
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +14 -2
- package/dist/actions/create-item.d.cts.map +1 -1
- package/dist/actions/create-item.d.mts +14 -2
- package/dist/actions/create-item.d.mts.map +1 -1
- package/dist/actions/create-item.mjs +1 -1
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-journal-entry.cjs +1 -1
- package/dist/actions/create-journal-entry.cjs.map +1 -1
- package/dist/actions/create-journal-entry.d.cts +14 -2
- package/dist/actions/create-journal-entry.d.cts.map +1 -1
- package/dist/actions/create-journal-entry.d.mts +14 -2
- package/dist/actions/create-journal-entry.d.mts.map +1 -1
- package/dist/actions/create-journal-entry.mjs +1 -1
- package/dist/actions/create-journal-entry.mjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.cts +14 -2
- package/dist/actions/create-jwt-client-assertion.d.mts +14 -2
- package/dist/actions/create-jwt-client-assertion.mjs +1 -1
- package/dist/actions/create-jwt-client-assertion.mjs.map +1 -1
- package/dist/actions/create-purchase-order.cjs +2 -2
- package/dist/actions/create-purchase-order.cjs.map +1 -1
- package/dist/actions/create-purchase-order.d.cts +16 -3
- package/dist/actions/create-purchase-order.d.mts +16 -3
- package/dist/actions/create-purchase-order.mjs +2 -2
- package/dist/actions/create-purchase-order.mjs.map +1 -1
- package/dist/actions/create-record.cjs +1 -1
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +14 -2
- package/dist/actions/create-record.d.cts.map +1 -1
- package/dist/actions/create-record.d.mts +14 -2
- package/dist/actions/create-record.d.mts.map +1 -1
- package/dist/actions/create-record.mjs +1 -1
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-sales-order.cjs +2 -2
- package/dist/actions/create-sales-order.cjs.map +1 -1
- package/dist/actions/create-sales-order.d.cts +16 -3
- package/dist/actions/create-sales-order.d.mts +16 -3
- package/dist/actions/create-sales-order.mjs +2 -2
- package/dist/actions/create-sales-order.mjs.map +1 -1
- package/dist/actions/create-vendor-bill.cjs +1 -1
- package/dist/actions/create-vendor-bill.cjs.map +1 -1
- package/dist/actions/create-vendor-bill.d.cts +14 -2
- package/dist/actions/create-vendor-bill.d.cts.map +1 -1
- package/dist/actions/create-vendor-bill.d.mts +14 -2
- package/dist/actions/create-vendor-bill.d.mts.map +1 -1
- package/dist/actions/create-vendor-bill.mjs +1 -1
- package/dist/actions/create-vendor-bill.mjs.map +1 -1
- package/dist/actions/create-vendor.cjs +1 -1
- package/dist/actions/create-vendor.cjs.map +1 -1
- package/dist/actions/create-vendor.d.cts +14 -2
- package/dist/actions/create-vendor.d.cts.map +1 -1
- package/dist/actions/create-vendor.d.mts +14 -2
- package/dist/actions/create-vendor.d.mts.map +1 -1
- package/dist/actions/create-vendor.mjs +1 -1
- package/dist/actions/create-vendor.mjs.map +1 -1
- package/dist/actions/delete-customer-payment.cjs +1 -1
- package/dist/actions/delete-customer-payment.cjs.map +1 -1
- package/dist/actions/delete-customer-payment.d.cts +14 -2
- package/dist/actions/delete-customer-payment.d.mts +14 -2
- package/dist/actions/delete-customer-payment.mjs +1 -1
- package/dist/actions/delete-customer-payment.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +14 -2
- package/dist/actions/delete-customer.d.mts +14 -2
- package/dist/actions/delete-customer.mjs +1 -1
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-employee.cjs +1 -1
- package/dist/actions/delete-employee.cjs.map +1 -1
- package/dist/actions/delete-employee.d.cts +14 -2
- package/dist/actions/delete-employee.d.mts +14 -2
- package/dist/actions/delete-employee.mjs +1 -1
- package/dist/actions/delete-employee.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -1
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +14 -2
- package/dist/actions/delete-invoice.d.mts +14 -2
- package/dist/actions/delete-invoice.mjs +1 -1
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.cjs +1 -1
- package/dist/actions/delete-item-fulfillment.cjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.cts +14 -2
- package/dist/actions/delete-item-fulfillment.d.mts +14 -2
- package/dist/actions/delete-item-fulfillment.mjs +1 -1
- package/dist/actions/delete-item-fulfillment.mjs.map +1 -1
- package/dist/actions/delete-item-receipt.cjs +1 -1
- package/dist/actions/delete-item-receipt.cjs.map +1 -1
- package/dist/actions/delete-item-receipt.d.cts +14 -2
- package/dist/actions/delete-item-receipt.d.mts +14 -2
- package/dist/actions/delete-item-receipt.mjs +1 -1
- package/dist/actions/delete-item-receipt.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -1
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +14 -2
- package/dist/actions/delete-item.d.mts +14 -2
- package/dist/actions/delete-item.mjs +1 -1
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-journal-entry.cjs +1 -1
- package/dist/actions/delete-journal-entry.cjs.map +1 -1
- package/dist/actions/delete-journal-entry.d.cts +14 -2
- package/dist/actions/delete-journal-entry.d.mts +14 -2
- package/dist/actions/delete-journal-entry.mjs +1 -1
- package/dist/actions/delete-journal-entry.mjs.map +1 -1
- package/dist/actions/delete-purchase-order.cjs +1 -1
- package/dist/actions/delete-purchase-order.cjs.map +1 -1
- package/dist/actions/delete-purchase-order.d.cts +14 -2
- package/dist/actions/delete-purchase-order.d.mts +14 -2
- package/dist/actions/delete-purchase-order.mjs +1 -1
- package/dist/actions/delete-purchase-order.mjs.map +1 -1
- package/dist/actions/delete-sales-order.cjs +1 -1
- package/dist/actions/delete-sales-order.cjs.map +1 -1
- package/dist/actions/delete-sales-order.d.cts +14 -2
- package/dist/actions/delete-sales-order.d.mts +14 -2
- package/dist/actions/delete-sales-order.mjs +1 -1
- package/dist/actions/delete-sales-order.mjs.map +1 -1
- package/dist/actions/delete-vendor-payment.cjs +1 -1
- package/dist/actions/delete-vendor-payment.cjs.map +1 -1
- package/dist/actions/delete-vendor-payment.d.cts +14 -2
- package/dist/actions/delete-vendor-payment.d.mts +14 -2
- package/dist/actions/delete-vendor-payment.mjs +1 -1
- package/dist/actions/delete-vendor-payment.mjs.map +1 -1
- package/dist/actions/execute-dataset.cjs +2 -2
- package/dist/actions/execute-dataset.cjs.map +1 -1
- package/dist/actions/execute-dataset.d.cts +15 -3
- package/dist/actions/execute-dataset.d.mts +15 -3
- package/dist/actions/execute-dataset.mjs +2 -2
- package/dist/actions/execute-dataset.mjs.map +1 -1
- package/dist/actions/get-customer-payment.cjs +2 -2
- package/dist/actions/get-customer-payment.cjs.map +1 -1
- package/dist/actions/get-customer-payment.d.cts +15 -3
- package/dist/actions/get-customer-payment.d.mts +15 -3
- package/dist/actions/get-customer-payment.mjs +2 -2
- package/dist/actions/get-customer-payment.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +2 -2
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +15 -3
- package/dist/actions/get-customer.d.mts +15 -3
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-datacenter-urls.cjs +1 -1
- package/dist/actions/get-datacenter-urls.cjs.map +1 -1
- package/dist/actions/get-datacenter-urls.d.cts +14 -2
- package/dist/actions/get-datacenter-urls.d.mts +14 -2
- package/dist/actions/get-datacenter-urls.mjs +1 -1
- package/dist/actions/get-datacenter-urls.mjs.map +1 -1
- package/dist/actions/get-employee.cjs +2 -2
- package/dist/actions/get-employee.cjs.map +1 -1
- package/dist/actions/get-employee.d.cts +15 -3
- package/dist/actions/get-employee.d.mts +15 -3
- package/dist/actions/get-employee.mjs +2 -2
- package/dist/actions/get-employee.mjs.map +1 -1
- package/dist/actions/get-governance-limits.cjs +1 -1
- package/dist/actions/get-governance-limits.cjs.map +1 -1
- package/dist/actions/get-governance-limits.d.cts +14 -2
- package/dist/actions/get-governance-limits.d.cts.map +1 -1
- package/dist/actions/get-governance-limits.d.mts +14 -2
- package/dist/actions/get-governance-limits.d.mts.map +1 -1
- package/dist/actions/get-governance-limits.mjs +1 -1
- package/dist/actions/get-governance-limits.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +2 -2
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +15 -3
- package/dist/actions/get-invoice.d.mts +15 -3
- package/dist/actions/get-invoice.mjs +2 -2
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-item-fulfillment.cjs +2 -2
- package/dist/actions/get-item-fulfillment.cjs.map +1 -1
- package/dist/actions/get-item-fulfillment.d.cts +15 -3
- package/dist/actions/get-item-fulfillment.d.mts +15 -3
- package/dist/actions/get-item-fulfillment.mjs +2 -2
- package/dist/actions/get-item-fulfillment.mjs.map +1 -1
- package/dist/actions/get-item-receipt.cjs +2 -2
- package/dist/actions/get-item-receipt.cjs.map +1 -1
- package/dist/actions/get-item-receipt.d.cts +15 -3
- package/dist/actions/get-item-receipt.d.mts +15 -3
- package/dist/actions/get-item-receipt.mjs +2 -2
- package/dist/actions/get-item-receipt.mjs.map +1 -1
- package/dist/actions/get-item.cjs +2 -2
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +15 -3
- package/dist/actions/get-item.d.mts +15 -3
- package/dist/actions/get-item.mjs +2 -2
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-journal-entry.cjs +2 -2
- package/dist/actions/get-journal-entry.cjs.map +1 -1
- package/dist/actions/get-journal-entry.d.cts +15 -3
- package/dist/actions/get-journal-entry.d.mts +15 -3
- package/dist/actions/get-journal-entry.mjs +2 -2
- package/dist/actions/get-journal-entry.mjs.map +1 -1
- package/dist/actions/get-purchase-order.cjs +2 -2
- package/dist/actions/get-purchase-order.cjs.map +1 -1
- package/dist/actions/get-purchase-order.d.cts +15 -3
- package/dist/actions/get-purchase-order.d.mts +15 -3
- package/dist/actions/get-purchase-order.mjs +2 -2
- package/dist/actions/get-purchase-order.mjs.map +1 -1
- package/dist/actions/get-record-metadata.cjs +1 -1
- package/dist/actions/get-record-metadata.cjs.map +1 -1
- package/dist/actions/get-record-metadata.d.cts +14 -2
- package/dist/actions/get-record-metadata.d.mts +14 -2
- package/dist/actions/get-record-metadata.mjs +1 -1
- package/dist/actions/get-record-metadata.mjs.map +1 -1
- package/dist/actions/get-reference-select-field.cjs +2 -2
- package/dist/actions/get-reference-select-field.cjs.map +1 -1
- package/dist/actions/get-reference-select-field.d.cts +15 -3
- package/dist/actions/get-reference-select-field.d.mts +15 -3
- package/dist/actions/get-reference-select-field.mjs +2 -2
- package/dist/actions/get-reference-select-field.mjs.map +1 -1
- package/dist/actions/get-sales-order.cjs +2 -2
- package/dist/actions/get-sales-order.cjs.map +1 -1
- package/dist/actions/get-sales-order.d.cts +15 -3
- package/dist/actions/get-sales-order.d.mts +15 -3
- package/dist/actions/get-sales-order.mjs +2 -2
- package/dist/actions/get-sales-order.mjs.map +1 -1
- package/dist/actions/get-server-time.cjs +1 -1
- package/dist/actions/get-server-time.cjs.map +1 -1
- package/dist/actions/get-server-time.d.cts +14 -2
- package/dist/actions/get-server-time.d.cts.map +1 -1
- package/dist/actions/get-server-time.d.mts +14 -2
- package/dist/actions/get-server-time.d.mts.map +1 -1
- package/dist/actions/get-server-time.mjs +1 -1
- package/dist/actions/get-server-time.mjs.map +1 -1
- package/dist/actions/get-sublist-collection.cjs +2 -2
- package/dist/actions/get-sublist-collection.cjs.map +1 -1
- package/dist/actions/get-sublist-collection.d.cts +15 -3
- package/dist/actions/get-sublist-collection.d.mts +15 -3
- package/dist/actions/get-sublist-collection.mjs +2 -2
- package/dist/actions/get-sublist-collection.mjs.map +1 -1
- package/dist/actions/get-sublist-line.cjs +2 -2
- package/dist/actions/get-sublist-line.cjs.map +1 -1
- package/dist/actions/get-sublist-line.d.cts +15 -3
- package/dist/actions/get-sublist-line.d.mts +15 -3
- package/dist/actions/get-sublist-line.mjs +2 -2
- package/dist/actions/get-sublist-line.mjs.map +1 -1
- package/dist/actions/get-subrecord.cjs +2 -2
- package/dist/actions/get-subrecord.cjs.map +1 -1
- package/dist/actions/get-subrecord.d.cts +15 -3
- package/dist/actions/get-subrecord.d.mts +15 -3
- package/dist/actions/get-subrecord.mjs +2 -2
- package/dist/actions/get-subrecord.mjs.map +1 -1
- package/dist/actions/get-vendor-bill.cjs +2 -2
- package/dist/actions/get-vendor-bill.cjs.map +1 -1
- package/dist/actions/get-vendor-bill.d.cts +15 -3
- package/dist/actions/get-vendor-bill.d.mts +15 -3
- package/dist/actions/get-vendor-bill.mjs +2 -2
- package/dist/actions/get-vendor-bill.mjs.map +1 -1
- package/dist/actions/get-vendor-payment.cjs +2 -2
- package/dist/actions/get-vendor-payment.cjs.map +1 -1
- package/dist/actions/get-vendor-payment.d.cts +15 -3
- package/dist/actions/get-vendor-payment.d.mts +15 -3
- package/dist/actions/get-vendor-payment.mjs +2 -2
- package/dist/actions/get-vendor-payment.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +2 -2
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +15 -3
- package/dist/actions/get-vendor.d.mts +15 -3
- package/dist/actions/get-vendor.mjs +2 -2
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/list-customer-payments.cjs +3 -3
- package/dist/actions/list-customer-payments.cjs.map +1 -1
- package/dist/actions/list-customer-payments.d.cts +17 -5
- package/dist/actions/list-customer-payments.d.mts +17 -5
- package/dist/actions/list-customer-payments.mjs +3 -3
- package/dist/actions/list-customer-payments.mjs.map +1 -1
- package/dist/actions/list-datasets.cjs +4 -4
- package/dist/actions/list-datasets.cjs.map +1 -1
- package/dist/actions/list-datasets.d.cts +17 -5
- package/dist/actions/list-datasets.d.mts +17 -5
- package/dist/actions/list-datasets.mjs +4 -4
- package/dist/actions/list-datasets.mjs.map +1 -1
- package/dist/actions/list-employees.cjs +3 -3
- package/dist/actions/list-employees.cjs.map +1 -1
- package/dist/actions/list-employees.d.cts +17 -5
- package/dist/actions/list-employees.d.mts +17 -5
- package/dist/actions/list-employees.mjs +3 -3
- package/dist/actions/list-employees.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +2 -2
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +15 -3
- package/dist/actions/list-integrations.d.mts +15 -3
- package/dist/actions/list-integrations.mjs +2 -2
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +3 -3
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +17 -5
- package/dist/actions/list-invoices.d.mts +17 -5
- package/dist/actions/list-invoices.mjs +3 -3
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-item-fulfillments.cjs +3 -3
- package/dist/actions/list-item-fulfillments.cjs.map +1 -1
- package/dist/actions/list-item-fulfillments.d.cts +17 -5
- package/dist/actions/list-item-fulfillments.d.mts +17 -5
- package/dist/actions/list-item-fulfillments.mjs +3 -3
- package/dist/actions/list-item-fulfillments.mjs.map +1 -1
- package/dist/actions/list-item-receipts.cjs +3 -3
- package/dist/actions/list-item-receipts.cjs.map +1 -1
- package/dist/actions/list-item-receipts.d.cts +17 -5
- package/dist/actions/list-item-receipts.d.mts +17 -5
- package/dist/actions/list-item-receipts.mjs +3 -3
- package/dist/actions/list-item-receipts.mjs.map +1 -1
- package/dist/actions/list-journal-entries.cjs +3 -3
- package/dist/actions/list-journal-entries.cjs.map +1 -1
- package/dist/actions/list-journal-entries.d.cts +17 -5
- package/dist/actions/list-journal-entries.d.mts +17 -5
- package/dist/actions/list-journal-entries.mjs +3 -3
- package/dist/actions/list-journal-entries.mjs.map +1 -1
- package/dist/actions/list-metadata-catalog.cjs +3 -3
- package/dist/actions/list-metadata-catalog.cjs.map +1 -1
- package/dist/actions/list-metadata-catalog.d.cts +16 -4
- package/dist/actions/list-metadata-catalog.d.mts +16 -4
- package/dist/actions/list-metadata-catalog.mjs +3 -3
- package/dist/actions/list-metadata-catalog.mjs.map +1 -1
- package/dist/actions/list-purchase-orders.cjs +3 -3
- package/dist/actions/list-purchase-orders.cjs.map +1 -1
- package/dist/actions/list-purchase-orders.d.cts +17 -5
- package/dist/actions/list-purchase-orders.d.mts +17 -5
- package/dist/actions/list-purchase-orders.mjs +3 -3
- package/dist/actions/list-purchase-orders.mjs.map +1 -1
- package/dist/actions/list-records.cjs +3 -3
- package/dist/actions/list-records.cjs.map +1 -1
- package/dist/actions/list-records.d.cts +17 -5
- package/dist/actions/list-records.d.mts +17 -5
- package/dist/actions/list-records.mjs +3 -3
- package/dist/actions/list-records.mjs.map +1 -1
- package/dist/actions/list-sales-orders.cjs +3 -3
- package/dist/actions/list-sales-orders.cjs.map +1 -1
- package/dist/actions/list-sales-orders.d.cts +17 -5
- package/dist/actions/list-sales-orders.d.mts +17 -5
- package/dist/actions/list-sales-orders.mjs +3 -3
- package/dist/actions/list-sales-orders.mjs.map +1 -1
- package/dist/actions/list-vendor-payments.cjs +3 -3
- package/dist/actions/list-vendor-payments.cjs.map +1 -1
- package/dist/actions/list-vendor-payments.d.cts +17 -5
- package/dist/actions/list-vendor-payments.d.mts +17 -5
- package/dist/actions/list-vendor-payments.mjs +3 -3
- package/dist/actions/list-vendor-payments.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.cts +14 -2
- package/dist/actions/o-auth2-authorize-account-domain.d.mts +14 -2
- package/dist/actions/o-auth2-authorize-account-domain.mjs +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.cts +14 -2
- package/dist/actions/o-auth2-authorize-system-domain.d.mts +14 -2
- package/dist/actions/o-auth2-authorize-system-domain.mjs +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-logout.cjs +1 -1
- package/dist/actions/o-auth2-logout.cjs.map +1 -1
- package/dist/actions/o-auth2-logout.d.cts +14 -2
- package/dist/actions/o-auth2-logout.d.mts +14 -2
- package/dist/actions/o-auth2-logout.mjs +1 -1
- package/dist/actions/o-auth2-logout.mjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts +14 -2
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts +14 -2
- package/dist/actions/o-auth2-revoke-refresh-token.mjs +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.cts +14 -2
- package/dist/actions/o-auth2-token-authorization-code.d.mts +14 -2
- package/dist/actions/o-auth2-token-authorization-code.mjs +1 -1
- package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.cts +14 -2
- package/dist/actions/o-auth2-token-client-credentials.d.mts +14 -2
- package/dist/actions/o-auth2-token-client-credentials.mjs +1 -1
- package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.cts +14 -2
- package/dist/actions/o-auth2-token-refresh.d.mts +14 -2
- package/dist/actions/o-auth2-token-refresh.mjs +1 -1
- package/dist/actions/o-auth2-token-refresh.mjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.cjs +2 -2
- package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.cts +15 -3
- package/dist/actions/oauth2-get-jwks-keys.d.cts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.mts +15 -3
- package/dist/actions/oauth2-get-jwks-keys.d.mts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.mjs +2 -2
- package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -1
- package/dist/actions/run-suiteql-query.cjs +2 -2
- package/dist/actions/run-suiteql-query.cjs.map +1 -1
- package/dist/actions/run-suiteql-query.d.cts +16 -4
- package/dist/actions/run-suiteql-query.d.mts +16 -4
- package/dist/actions/run-suiteql-query.mjs +2 -2
- package/dist/actions/run-suiteql-query.mjs.map +1 -1
- package/dist/actions/transform-record.cjs +1 -1
- package/dist/actions/transform-record.cjs.map +1 -1
- package/dist/actions/transform-record.d.cts +14 -2
- package/dist/actions/transform-record.d.cts.map +1 -1
- package/dist/actions/transform-record.d.mts +14 -2
- package/dist/actions/transform-record.d.mts.map +1 -1
- package/dist/actions/transform-record.mjs +1 -1
- package/dist/actions/transform-record.mjs.map +1 -1
- package/dist/actions/update-customer-payment.cjs +1 -1
- package/dist/actions/update-customer-payment.cjs.map +1 -1
- package/dist/actions/update-customer-payment.d.cts +14 -2
- package/dist/actions/update-customer-payment.d.cts.map +1 -1
- package/dist/actions/update-customer-payment.d.mts +14 -2
- package/dist/actions/update-customer-payment.d.mts.map +1 -1
- package/dist/actions/update-customer-payment.mjs +1 -1
- package/dist/actions/update-customer-payment.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -1
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +14 -2
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +14 -2
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -1
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-employee.cjs +1 -1
- package/dist/actions/update-employee.cjs.map +1 -1
- package/dist/actions/update-employee.d.cts +14 -2
- package/dist/actions/update-employee.d.cts.map +1 -1
- package/dist/actions/update-employee.d.mts +14 -2
- package/dist/actions/update-employee.d.mts.map +1 -1
- package/dist/actions/update-employee.mjs +1 -1
- package/dist/actions/update-employee.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -1
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +14 -2
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +14 -2
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -1
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item-fulfillment.cjs +1 -1
- package/dist/actions/update-item-fulfillment.cjs.map +1 -1
- package/dist/actions/update-item-fulfillment.d.cts +14 -2
- package/dist/actions/update-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/update-item-fulfillment.d.mts +14 -2
- package/dist/actions/update-item-fulfillment.d.mts.map +1 -1
- package/dist/actions/update-item-fulfillment.mjs +1 -1
- package/dist/actions/update-item-fulfillment.mjs.map +1 -1
- package/dist/actions/update-item-receipt.cjs +1 -1
- package/dist/actions/update-item-receipt.cjs.map +1 -1
- package/dist/actions/update-item-receipt.d.cts +14 -2
- package/dist/actions/update-item-receipt.d.cts.map +1 -1
- package/dist/actions/update-item-receipt.d.mts +14 -2
- package/dist/actions/update-item-receipt.d.mts.map +1 -1
- package/dist/actions/update-item-receipt.mjs +1 -1
- package/dist/actions/update-item-receipt.mjs.map +1 -1
- package/dist/actions/update-item.cjs +1 -1
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +14 -2
- package/dist/actions/update-item.d.cts.map +1 -1
- package/dist/actions/update-item.d.mts +14 -2
- package/dist/actions/update-item.d.mts.map +1 -1
- package/dist/actions/update-item.mjs +1 -1
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-journal-entry.cjs +1 -1
- package/dist/actions/update-journal-entry.cjs.map +1 -1
- package/dist/actions/update-journal-entry.d.cts +14 -2
- package/dist/actions/update-journal-entry.d.cts.map +1 -1
- package/dist/actions/update-journal-entry.d.mts +14 -2
- package/dist/actions/update-journal-entry.d.mts.map +1 -1
- package/dist/actions/update-journal-entry.mjs +1 -1
- package/dist/actions/update-journal-entry.mjs.map +1 -1
- package/dist/actions/update-purchase-order.cjs +1 -1
- package/dist/actions/update-purchase-order.cjs.map +1 -1
- package/dist/actions/update-purchase-order.d.cts +14 -2
- package/dist/actions/update-purchase-order.d.cts.map +1 -1
- package/dist/actions/update-purchase-order.d.mts +14 -2
- package/dist/actions/update-purchase-order.d.mts.map +1 -1
- package/dist/actions/update-purchase-order.mjs +1 -1
- package/dist/actions/update-purchase-order.mjs.map +1 -1
- package/dist/actions/update-sales-order.cjs +1 -1
- package/dist/actions/update-sales-order.cjs.map +1 -1
- package/dist/actions/update-sales-order.d.cts +14 -2
- package/dist/actions/update-sales-order.d.cts.map +1 -1
- package/dist/actions/update-sales-order.d.mts +14 -2
- package/dist/actions/update-sales-order.d.mts.map +1 -1
- package/dist/actions/update-sales-order.mjs +1 -1
- package/dist/actions/update-sales-order.mjs.map +1 -1
- package/dist/actions/update-vendor-bill.cjs +1 -1
- package/dist/actions/update-vendor-bill.cjs.map +1 -1
- package/dist/actions/update-vendor-bill.d.cts +14 -2
- package/dist/actions/update-vendor-bill.d.cts.map +1 -1
- package/dist/actions/update-vendor-bill.d.mts +14 -2
- package/dist/actions/update-vendor-bill.d.mts.map +1 -1
- package/dist/actions/update-vendor-bill.mjs +1 -1
- package/dist/actions/update-vendor-bill.mjs.map +1 -1
- package/dist/actions/update-vendor-payment.cjs +1 -1
- package/dist/actions/update-vendor-payment.cjs.map +1 -1
- package/dist/actions/update-vendor-payment.d.cts +14 -2
- package/dist/actions/update-vendor-payment.d.cts.map +1 -1
- package/dist/actions/update-vendor-payment.d.mts +14 -2
- package/dist/actions/update-vendor-payment.d.mts.map +1 -1
- package/dist/actions/update-vendor-payment.mjs +1 -1
- package/dist/actions/update-vendor-payment.mjs.map +1 -1
- package/dist/actions/update-vendor.cjs +1 -1
- package/dist/actions/update-vendor.cjs.map +1 -1
- package/dist/actions/update-vendor.d.cts +14 -2
- package/dist/actions/update-vendor.d.cts.map +1 -1
- package/dist/actions/update-vendor.d.mts +14 -2
- package/dist/actions/update-vendor.d.mts.map +1 -1
- package/dist/actions/update-vendor.mjs +1 -1
- package/dist/actions/update-vendor.mjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.cts +14 -2
- package/dist/actions/upsert-record-by-external-id.d.cts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.mts +14 -2
- package/dist/actions/upsert-record-by-external-id.d.mts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateCustomerInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateCustomerOutput: z.ZodObject<{
|
|
21
21
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const netsuiteUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: string;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -28,7 +28,19 @@ declare const netsuiteUpdateCustomer: import("@keystrokehq/action").WorkflowActi
|
|
|
28
28
|
idempotency_key?: string | undefined;
|
|
29
29
|
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
30
|
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
32
44
|
//#endregion
|
|
33
45
|
export { netsuiteUpdateCustomer };
|
|
34
46
|
//# sourceMappingURL=update-customer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateCustomerInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateCustomerOutput: z.ZodObject<{
|
|
21
21
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const netsuiteUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: string;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -28,7 +28,19 @@ declare const netsuiteUpdateCustomer: import("@keystrokehq/action").WorkflowActi
|
|
|
28
28
|
idempotency_key?: string | undefined;
|
|
29
29
|
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
30
|
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
32
44
|
//#endregion
|
|
33
45
|
export { netsuiteUpdateCustomer };
|
|
34
46
|
//# sourceMappingURL=update-customer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -23,7 +23,7 @@ const netsuiteUpdateCustomer = action("NETSUITE_UPDATE_CUSTOMER", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
location: z.string().describe("URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.").nullable().optional(),
|
|
25
25
|
preference_applied: z.string().describe("Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.").nullable().optional()
|
|
26
|
-
})
|
|
26
|
+
}).passthrough()
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { netsuiteUpdateCustomer };
|
|
@@ -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});\n\nexport const netsuiteUpdateCustomer = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,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,CAUS;CACP,QAV0C,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,
|
|
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":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,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,CAUS;CACP,QAV0C,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,YAOO;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const NetsuiteUpdateEmployeeInput = zod.z.object({
|
|
|
22
22
|
const NetsuiteUpdateEmployeeOutput = zod.z.object({
|
|
23
23
|
location: zod.z.string().describe("URL of the updated employee record instance.").nullable().optional(),
|
|
24
24
|
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header indicating async processing.").nullable().optional()
|
|
25
|
-
}).describe("Response model for updating a NetSuite Employee record.");
|
|
25
|
+
}).passthrough().describe("Response model for updating a NetSuite Employee record.");
|
|
26
26
|
const netsuiteUpdateEmployee = require_action.action("NETSUITE_UPDATE_EMPLOYEE", {
|
|
27
27
|
slug: "netsuite-update-employee",
|
|
28
28
|
name: "Update Employee",
|
|
@@ -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}).describe(\"Response model for updating a NetSuite Employee record.\");\n\nexport const netsuiteUpdateEmployee = action(\"NETSUITE_UPDATE_EMPLOYEE\", {\n slug: \"netsuite-update-employee\",\n name: \"Update Employee\",\n description: \"Tool to update an employee record by ID. Use when modifying fields of an existing employee.\",\n input: NetsuiteUpdateEmployeeInput,\n output: NetsuiteUpdateEmployeeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,yDAAyD;
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateEmployeeInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateEmployeeOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: string;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -32,7 +32,19 @@ declare const netsuiteUpdateEmployee: import("@keystrokehq/action").WorkflowActi
|
|
|
32
32
|
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
33
33
|
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
34
34
|
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { netsuiteUpdateEmployee };
|
|
38
50
|
//# sourceMappingURL=update-employee.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-employee.d.cts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-employee.d.cts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateEmployeeInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateEmployeeOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateEmployee: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: string;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -32,7 +32,19 @@ declare const netsuiteUpdateEmployee: import("@keystrokehq/action").WorkflowActi
|
|
|
32
32
|
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
33
33
|
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
34
34
|
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { netsuiteUpdateEmployee };
|
|
38
50
|
//# sourceMappingURL=update-employee.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-employee.d.mts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-employee.d.mts","names":[],"sources":["../../src/actions/update-employee.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -25,7 +25,7 @@ const netsuiteUpdateEmployee = action("NETSUITE_UPDATE_EMPLOYEE", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
location: z.string().describe("URL of the updated employee record instance.").nullable().optional(),
|
|
27
27
|
preference_applied: z.string().describe("Value of the 'Preference-Applied' header indicating async processing.").nullable().optional()
|
|
28
|
-
}).describe("Response model for updating a NetSuite Employee record.")
|
|
28
|
+
}).passthrough().describe("Response model for updating a NetSuite Employee record.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { netsuiteUpdateEmployee };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-employee.mjs","names":[],"sources":["../../src/actions/update-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateEmployeeInput = z.object({\n id: z.string().describe(\"Internal ID or external ID (prefixed with 'eid:') of the employee record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Employee record JSON object containing fields to update; omitted fields remain unchanged.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated list of body fields or sublists to replace or target.\").optional(),\n replaceSelectedFields: z.boolean().describe(\"When true, only the fields named in 'replace' and explicitly set to null in the request are deleted.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID for idempotent async requests.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for updating a NetSuite Employee record.\");\nexport const NetsuiteUpdateEmployeeOutput = z.object({\n location: z.string().describe(\"URL of the updated employee record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header indicating async processing.\").nullable().optional(),\n}).describe(\"Response model for updating a NetSuite Employee record.\");\n\nexport const netsuiteUpdateEmployee = action(\"NETSUITE_UPDATE_EMPLOYEE\", {\n slug: \"netsuite-update-employee\",\n name: \"Update Employee\",\n description: \"Tool to update an employee record by ID. Use when modifying fields of an existing employee.\",\n input: NetsuiteUpdateEmployeeInput,\n output: NetsuiteUpdateEmployeeOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAC7G,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F;EAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC7J,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAClG,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-employee.mjs","names":[],"sources":["../../src/actions/update-employee.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateEmployeeInput = z.object({\n id: z.string().describe(\"Internal ID or external ID (prefixed with 'eid:') of the employee record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Employee record JSON object containing fields to update; omitted fields remain unchanged.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated list of body fields or sublists to replace or target.\").optional(),\n replaceSelectedFields: z.boolean().describe(\"When true, only the fields named in 'replace' and explicitly set to null in the request are deleted.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID for idempotent async requests.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for updating a NetSuite Employee record.\");\nexport const NetsuiteUpdateEmployeeOutput = z.object({\n location: z.string().describe(\"URL of the updated employee record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header indicating async processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a NetSuite Employee record.\");\n\nexport const netsuiteUpdateEmployee = action(\"NETSUITE_UPDATE_EMPLOYEE\", {\n slug: \"netsuite-update-employee\",\n name: \"Update Employee\",\n description: \"Tool to update an employee record by ID. Use when modifying fields of an existing employee.\",\n input: NetsuiteUpdateEmployeeInput,\n output: NetsuiteUpdateEmployeeOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAC7G,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F;EAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC7J,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAClG,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const NetsuiteUpdateInvoiceInput = zod.z.object({
|
|
|
20
20
|
const NetsuiteUpdateInvoiceOutput = zod.z.object({
|
|
21
21
|
location: zod.z.string().describe("URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.").nullable().optional(),
|
|
22
22
|
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const netsuiteUpdateInvoice = require_action.action("NETSUITE_UPDATE_INVOICE", {
|
|
25
25
|
slug: "netsuite-update-invoice",
|
|
26
26
|
name: "Update Invoice",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateInvoiceInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the invoice record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Invoice record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), email (string), dueDate (date string YYYY-MM-DD), toBeEmailed (boolean), toBePrinted (boolean), toBeFaxed (boolean), otherRefNum (string), terms (object with 'id' key), salesRep (object with 'id' key), location (object with 'id' key), customForm (object with 'id' key), and custom fields (e.g., custbody_* fields). For reference fields, provide objects with 'id' key and the internal ID as a string.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Invoice record.\");\nexport const NetsuiteUpdateInvoiceOutput = z.object({\n location: z.string().describe(\"URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateInvoice = action(\"NETSUITE_UPDATE_INVOICE\", {\n slug: \"netsuite-update-invoice\",\n name: \"Update Invoice\",\n description: \"Updates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.\",\n input: NetsuiteUpdateInvoiceInput,\n output: NetsuiteUpdateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACpF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0hBAA0hB;CAC3kB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/M,CAAC;
|
|
1
|
+
{"version":3,"file":"update-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateInvoiceInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the invoice record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Invoice record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), email (string), dueDate (date string YYYY-MM-DD), toBeEmailed (boolean), toBePrinted (boolean), toBeFaxed (boolean), otherRefNum (string), terms (object with 'id' key), salesRep (object with 'id' key), location (object with 'id' key), customForm (object with 'id' key), and custom fields (e.g., custbody_* fields). For reference fields, provide objects with 'id' key and the internal ID as a string.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Invoice record.\");\nexport const NetsuiteUpdateInvoiceOutput = z.object({\n location: z.string().describe(\"URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateInvoice = action(\"NETSUITE_UPDATE_INVOICE\", {\n slug: \"netsuite-update-invoice\",\n name: \"Update Invoice\",\n description: \"Updates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.\",\n input: NetsuiteUpdateInvoiceInput,\n output: NetsuiteUpdateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACpF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0hBAA0hB;CAC3kB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/M,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateInvoiceInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateInvoiceOutput: z.ZodObject<{
|
|
21
21
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const netsuiteUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -28,7 +28,19 @@ declare const netsuiteUpdateInvoice: import("@keystrokehq/action").WorkflowActio
|
|
|
28
28
|
idempotency_key?: string | undefined;
|
|
29
29
|
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
30
|
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
32
44
|
//#endregion
|
|
33
45
|
export { netsuiteUpdateInvoice };
|
|
34
46
|
//# sourceMappingURL=update-invoice.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateInvoiceInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateInvoiceOutput: z.ZodObject<{
|
|
21
21
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const netsuiteUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -28,7 +28,19 @@ declare const netsuiteUpdateInvoice: import("@keystrokehq/action").WorkflowActio
|
|
|
28
28
|
idempotency_key?: string | undefined;
|
|
29
29
|
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
30
|
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
32
44
|
//#endregion
|
|
33
45
|
export { netsuiteUpdateInvoice };
|
|
34
46
|
//# sourceMappingURL=update-invoice.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invoice.d.mts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-invoice.d.mts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -23,7 +23,7 @@ const netsuiteUpdateInvoice = action("NETSUITE_UPDATE_INVOICE", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
location: z.string().describe("URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.").nullable().optional(),
|
|
25
25
|
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.").nullable().optional()
|
|
26
|
-
})
|
|
26
|
+
}).passthrough()
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { netsuiteUpdateInvoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invoice.mjs","names":[],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateInvoiceInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the invoice record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Invoice record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), email (string), dueDate (date string YYYY-MM-DD), toBeEmailed (boolean), toBePrinted (boolean), toBeFaxed (boolean), otherRefNum (string), terms (object with 'id' key), salesRep (object with 'id' key), location (object with 'id' key), customForm (object with 'id' key), and custom fields (e.g., custbody_* fields). For reference fields, provide objects with 'id' key and the internal ID as a string.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Invoice record.\");\nexport const NetsuiteUpdateInvoiceOutput = z.object({\n location: z.string().describe(\"URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateInvoice = action(\"NETSUITE_UPDATE_INVOICE\", {\n slug: \"netsuite-update-invoice\",\n name: \"Update Invoice\",\n description: \"Updates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.\",\n input: NetsuiteUpdateInvoiceInput,\n output: NetsuiteUpdateInvoiceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACpF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0hBAA0hB;EAC3kB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,
|
|
1
|
+
{"version":3,"file":"update-invoice.mjs","names":[],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateInvoiceInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the invoice record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Invoice record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), email (string), dueDate (date string YYYY-MM-DD), toBeEmailed (boolean), toBePrinted (boolean), toBeFaxed (boolean), otherRefNum (string), terms (object with 'id' key), salesRep (object with 'id' key), location (object with 'id' key), customForm (object with 'id' key), and custom fields (e.g., custbody_* fields). For reference fields, provide objects with 'id' key and the internal ID as a string.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Invoice record.\");\nexport const NetsuiteUpdateInvoiceOutput = z.object({\n location: z.string().describe(\"URL of the updated invoice record instance. Use GET_INVOICE action with the invoice ID to retrieve the updated invoice data if needed.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing. If 'respond-async', use async job status endpoints to check completion.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateInvoice = action(\"NETSUITE_UPDATE_INVOICE\", {\n slug: \"netsuite-update-invoice\",\n name: \"Update Invoice\",\n description: \"Updates an existing NetSuite invoice record by ID using the PATCH method. Only the fields specified in the 'data' parameter are updated; all other fields remain unchanged. Common use cases: - Update invoice memo or reference numbers - Change invoice email settings or customer contact info - Modify invoice due dates or payment terms - Update custom field values (custbody_* fields) Note: After updating, use the GET_INVOICE action if you need to retrieve the updated invoice data.\",\n input: NetsuiteUpdateInvoiceInput,\n output: NetsuiteUpdateInvoiceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACpF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0hBAA0hB;EAC3kB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const NetsuiteUpdateItemFulfillmentInput = zod.z.object({
|
|
|
22
22
|
const NetsuiteUpdateItemFulfillmentOutput = zod.z.object({
|
|
23
23
|
location: zod.z.string().describe("URL of the updated item fulfillment record instance.").nullable().optional(),
|
|
24
24
|
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
25
|
-
}).describe("Response model for updated NetSuite Item Fulfillment record.");
|
|
25
|
+
}).passthrough().describe("Response model for updated NetSuite Item Fulfillment record.");
|
|
26
26
|
const netsuiteUpdateItemFulfillment = require_action.action("NETSUITE_UPDATE_ITEM_FULFILLMENT", {
|
|
27
27
|
slug: "netsuite-update-item-fulfillment",
|
|
28
28
|
name: "Update Item Fulfillment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item-fulfillment.cjs","names":["z","action"],"sources":["../../src/actions/update-item-fulfillment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemFulfillmentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item fulfillment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item Fulfillment record JSON object containing fields and sublists to update; omitted fields remain unchanged.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated field or sublist names to fully replace with those provided in 'data'.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replace_selected_fields: z.boolean().default(false).describe(\"When true, any body fields explicitly listed and set to null are deleted.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Item Fulfillment record.\");\nexport const NetsuiteUpdateItemFulfillmentOutput = z.object({\n location: z.string().describe(\"URL of the updated item fulfillment record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).describe(\"Response model for updated NetSuite Item Fulfillment record.\");\n\nexport const netsuiteUpdateItemFulfillment = action(\"NETSUITE_UPDATE_ITEM_FULFILLMENT\", {\n slug: \"netsuite-update-item-fulfillment\",\n name: \"Update Item Fulfillment\",\n description: \"Tool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.\",\n input: NetsuiteUpdateItemFulfillmentInput,\n output: NetsuiteUpdateItemFulfillmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC7F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH;CACjK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACnJ,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"update-item-fulfillment.cjs","names":["z","action"],"sources":["../../src/actions/update-item-fulfillment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemFulfillmentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item fulfillment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item Fulfillment record JSON object containing fields and sublists to update; omitted fields remain unchanged.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated field or sublist names to fully replace with those provided in 'data'.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replace_selected_fields: z.boolean().default(false).describe(\"When true, any body fields explicitly listed and set to null are deleted.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Item Fulfillment record.\");\nexport const NetsuiteUpdateItemFulfillmentOutput = z.object({\n location: z.string().describe(\"URL of the updated item fulfillment record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated NetSuite Item Fulfillment record.\");\n\nexport const netsuiteUpdateItemFulfillment = action(\"NETSUITE_UPDATE_ITEM_FULFILLMENT\", {\n slug: \"netsuite-update-item-fulfillment\",\n name: \"Update Item Fulfillment\",\n description: \"Tool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.\",\n input: NetsuiteUpdateItemFulfillmentInput,\n output: NetsuiteUpdateItemFulfillmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC7F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH;CACjK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACnJ,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateItemFulfillmentInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateItemFulfillmentOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateItemFulfillment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -32,7 +32,19 @@ declare const netsuiteUpdateItemFulfillment: import("@keystrokehq/action").Workf
|
|
|
32
32
|
replace_selected_fields?: boolean | undefined;
|
|
33
33
|
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
34
34
|
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { netsuiteUpdateItemFulfillment };
|
|
38
50
|
//# sourceMappingURL=update-item-fulfillment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item-fulfillment.d.cts","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA
|
|
1
|
+
{"version":3,"file":"update-item-fulfillment.d.cts","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateItemFulfillmentInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateItemFulfillmentOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateItemFulfillment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -32,7 +32,19 @@ declare const netsuiteUpdateItemFulfillment: import("@keystrokehq/action").Workf
|
|
|
32
32
|
replace_selected_fields?: boolean | undefined;
|
|
33
33
|
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
34
34
|
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { netsuiteUpdateItemFulfillment };
|
|
38
50
|
//# sourceMappingURL=update-item-fulfillment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item-fulfillment.d.mts","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA
|
|
1
|
+
{"version":3,"file":"update-item-fulfillment.d.mts","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -25,7 +25,7 @@ const netsuiteUpdateItemFulfillment = action("NETSUITE_UPDATE_ITEM_FULFILLMENT",
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
location: z.string().describe("URL of the updated item fulfillment record instance.").nullable().optional(),
|
|
27
27
|
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
28
|
-
}).describe("Response model for updated NetSuite Item Fulfillment record.")
|
|
28
|
+
}).passthrough().describe("Response model for updated NetSuite Item Fulfillment record.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { netsuiteUpdateItemFulfillment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item-fulfillment.mjs","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemFulfillmentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item fulfillment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item Fulfillment record JSON object containing fields and sublists to update; omitted fields remain unchanged.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated field or sublist names to fully replace with those provided in 'data'.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replace_selected_fields: z.boolean().default(false).describe(\"When true, any body fields explicitly listed and set to null are deleted.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Item Fulfillment record.\");\nexport const NetsuiteUpdateItemFulfillmentOutput = z.object({\n location: z.string().describe(\"URL of the updated item fulfillment record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).describe(\"Response model for updated NetSuite Item Fulfillment record.\");\n\nexport const netsuiteUpdateItemFulfillment = action(\"NETSUITE_UPDATE_ITEM_FULFILLMENT\", {\n slug: \"netsuite-update-item-fulfillment\",\n name: \"Update Item Fulfillment\",\n description: \"Tool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.\",\n input: NetsuiteUpdateItemFulfillmentInput,\n output: NetsuiteUpdateItemFulfillmentOutput,\n});\n"],"mappings":";;AAmBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH;EACjK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAChI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACnJ,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAViD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-item-fulfillment.mjs","names":[],"sources":["../../src/actions/update-item-fulfillment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemFulfillmentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item fulfillment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item Fulfillment record JSON object containing fields and sublists to update; omitted fields remain unchanged.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated field or sublist names to fully replace with those provided in 'data'.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replace_selected_fields: z.boolean().default(false).describe(\"When true, any body fields explicitly listed and set to null are deleted.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Item Fulfillment record.\");\nexport const NetsuiteUpdateItemFulfillmentOutput = z.object({\n location: z.string().describe(\"URL of the updated item fulfillment record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated NetSuite Item Fulfillment record.\");\n\nexport const netsuiteUpdateItemFulfillment = action(\"NETSUITE_UPDATE_ITEM_FULFILLMENT\", {\n slug: \"netsuite-update-item-fulfillment\",\n name: \"Update Item Fulfillment\",\n description: \"Tool to update an Item Fulfillment record by ID. Use when modifying fields or sublists of an existing fulfillment.\",\n input: NetsuiteUpdateItemFulfillmentInput,\n output: NetsuiteUpdateItemFulfillmentOutput,\n});\n"],"mappings":";;AAmBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH;EACjK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAChI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACnJ,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAViD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const NetsuiteUpdateItemReceiptInput = zod.z.object({
|
|
|
22
22
|
const NetsuiteUpdateItemReceiptOutput = zod.z.object({
|
|
23
23
|
location: zod.z.string().describe("URL of the updated item receipt record instance.").nullable().optional(),
|
|
24
24
|
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
25
|
-
}).describe("Response model for updating a NetSuite Item Receipt record.");
|
|
25
|
+
}).passthrough().describe("Response model for updating a NetSuite Item Receipt record.");
|
|
26
26
|
const netsuiteUpdateItemReceipt = require_action.action("NETSUITE_UPDATE_ITEM_RECEIPT", {
|
|
27
27
|
slug: "netsuite-update-item-receipt",
|
|
28
28
|
name: "Update Item Receipt",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item-receipt.cjs","names":["z","action"],"sources":["../../src/actions/update-item-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemReceiptInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item receipt record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item receipt record JSON object containing fields to update; omitted fields remain unchanged. Set a field to null to delete its value.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace (e.g., 'item').\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: z.boolean().default(false).describe(\"When true, fields to be deleted must be included in 'replace'; use with setting those fields to null in data to delete them.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Item Receipt record.\");\nexport const NetsuiteUpdateItemReceiptOutput = z.object({\n location: z.string().describe(\"URL of the updated item receipt record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).describe(\"Response model for updating a NetSuite Item Receipt record.\");\n\nexport const netsuiteUpdateItemReceipt = action(\"NETSUITE_UPDATE_ITEM_RECEIPT\", {\n slug: \"netsuite-update-item-receipt\",\n name: \"Update Item Receipt\",\n description: \"Tool to update an item receipt record by ID. Use when modifying fields of an existing item receipt.\",\n input: NetsuiteUpdateItemReceiptInput,\n output: NetsuiteUpdateItemReceiptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACzF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI;CACzL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACpM,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"update-item-receipt.cjs","names":["z","action"],"sources":["../../src/actions/update-item-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateItemReceiptInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the item receipt record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Item receipt record JSON object containing fields to update; omitted fields remain unchanged. Set a field to null to delete its value.\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace (e.g., 'item').\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n replaceSelectedFields: z.boolean().default(false).describe(\"When true, fields to be deleted must be included in 'replace'; use with setting those fields to null in data to delete them.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n}).describe(\"Request model for updating a NetSuite Item Receipt record.\");\nexport const NetsuiteUpdateItemReceiptOutput = z.object({\n location: z.string().describe(\"URL of the updated item receipt record instance.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a NetSuite Item Receipt record.\");\n\nexport const netsuiteUpdateItemReceipt = action(\"NETSUITE_UPDATE_ITEM_RECEIPT\", {\n slug: \"netsuite-update-item-receipt\",\n name: \"Update Item Receipt\",\n description: \"Tool to update an item receipt record by ID. Use when modifying fields of an existing item receipt.\",\n input: NetsuiteUpdateItemReceiptInput,\n output: NetsuiteUpdateItemReceiptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACzF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI;CACzL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACpM,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteUpdateItemReceiptInput: z.ZodObject<{
|
|
|
22
22
|
declare const NetsuiteUpdateItemReceiptOutput: z.ZodObject<{
|
|
23
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const netsuiteUpdateItemReceipt: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: number;
|
|
28
28
|
data: Record<string, unknown>;
|
|
@@ -32,7 +32,19 @@ declare const netsuiteUpdateItemReceipt: import("@keystrokehq/action").WorkflowA
|
|
|
32
32
|
replaceSelectedFields?: boolean | undefined;
|
|
33
33
|
property_name_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
34
34
|
property_value_validation?: "Error" | "Warning" | "Ignore" | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
36
48
|
//#endregion
|
|
37
49
|
export { netsuiteUpdateItemReceipt };
|
|
38
50
|
//# sourceMappingURL=update-item-receipt.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item-receipt.d.cts","names":[],"sources":["../../src/actions/update-item-receipt.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-item-receipt.d.cts","names":[],"sources":["../../src/actions/update-item-receipt.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
|