@keystrokehq/netsuite 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/async-get-job-status.cjs +3 -3
- package/dist/actions/async-get-job-status.cjs.map +1 -1
- package/dist/actions/async-get-job-status.d.cts +4 -4
- package/dist/actions/async-get-job-status.d.mts +4 -4
- package/dist/actions/async-get-job-status.mjs +3 -3
- package/dist/actions/async-get-job-status.mjs.map +1 -1
- package/dist/actions/async-get-job-task-result.cjs +2 -2
- package/dist/actions/async-get-job-task-result.cjs.map +1 -1
- package/dist/actions/async-get-job-task-result.d.cts +2 -2
- package/dist/actions/async-get-job-task-result.d.mts +2 -2
- package/dist/actions/async-get-job-task-result.mjs +2 -2
- package/dist/actions/async-get-job-task-result.mjs.map +1 -1
- package/dist/actions/async-get-job-task.cjs +1 -1
- package/dist/actions/async-get-job-task.cjs.map +1 -1
- package/dist/actions/async-get-job-task.d.cts +1 -1
- package/dist/actions/async-get-job-task.d.mts +1 -1
- package/dist/actions/async-get-job-task.mjs +1 -1
- package/dist/actions/async-get-job-task.mjs.map +1 -1
- package/dist/actions/create-customer-payment.cjs +1 -1
- package/dist/actions/create-customer-payment.cjs.map +1 -1
- package/dist/actions/create-customer-payment.d.cts +1 -1
- package/dist/actions/create-customer-payment.d.mts +1 -1
- package/dist/actions/create-customer-payment.mjs +1 -1
- package/dist/actions/create-customer-payment.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -1
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +1 -1
- package/dist/actions/create-customer.d.mts +1 -1
- package/dist/actions/create-customer.mjs +1 -1
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-employee.cjs +1 -1
- package/dist/actions/create-employee.cjs.map +1 -1
- package/dist/actions/create-employee.d.cts +1 -1
- package/dist/actions/create-employee.d.mts +1 -1
- package/dist/actions/create-employee.mjs +1 -1
- package/dist/actions/create-employee.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -1
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +1 -1
- package/dist/actions/create-invoice.d.mts +1 -1
- package/dist/actions/create-invoice.mjs +1 -1
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +1 -1
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +4 -4
- package/dist/actions/create-item.d.mts +4 -4
- package/dist/actions/create-item.mjs +1 -1
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-journal-entry.cjs +1 -1
- package/dist/actions/create-journal-entry.cjs.map +1 -1
- package/dist/actions/create-journal-entry.d.cts +1 -1
- package/dist/actions/create-journal-entry.d.mts +1 -1
- package/dist/actions/create-journal-entry.mjs +1 -1
- package/dist/actions/create-journal-entry.mjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.cts +1 -1
- package/dist/actions/create-jwt-client-assertion.d.mts +1 -1
- package/dist/actions/create-jwt-client-assertion.mjs +1 -1
- package/dist/actions/create-jwt-client-assertion.mjs.map +1 -1
- package/dist/actions/create-purchase-order.cjs +2 -2
- package/dist/actions/create-purchase-order.cjs.map +1 -1
- package/dist/actions/create-purchase-order.d.cts +3 -2
- package/dist/actions/create-purchase-order.d.mts +3 -2
- package/dist/actions/create-purchase-order.mjs +2 -2
- package/dist/actions/create-purchase-order.mjs.map +1 -1
- package/dist/actions/create-record.cjs +1 -1
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +1 -1
- package/dist/actions/create-record.d.mts +1 -1
- package/dist/actions/create-record.mjs +1 -1
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-sales-order.cjs +2 -2
- package/dist/actions/create-sales-order.cjs.map +1 -1
- package/dist/actions/create-sales-order.d.cts +3 -2
- package/dist/actions/create-sales-order.d.mts +3 -2
- package/dist/actions/create-sales-order.mjs +2 -2
- package/dist/actions/create-sales-order.mjs.map +1 -1
- package/dist/actions/create-vendor-bill.cjs +1 -1
- package/dist/actions/create-vendor-bill.cjs.map +1 -1
- package/dist/actions/create-vendor-bill.d.cts +1 -1
- package/dist/actions/create-vendor-bill.d.mts +1 -1
- package/dist/actions/create-vendor-bill.mjs +1 -1
- package/dist/actions/create-vendor-bill.mjs.map +1 -1
- package/dist/actions/create-vendor.cjs +1 -1
- package/dist/actions/create-vendor.cjs.map +1 -1
- package/dist/actions/create-vendor.d.cts +1 -1
- package/dist/actions/create-vendor.d.mts +1 -1
- package/dist/actions/create-vendor.mjs +1 -1
- package/dist/actions/create-vendor.mjs.map +1 -1
- package/dist/actions/delete-customer-payment.cjs +1 -1
- package/dist/actions/delete-customer-payment.cjs.map +1 -1
- package/dist/actions/delete-customer-payment.d.cts +1 -1
- package/dist/actions/delete-customer-payment.d.mts +1 -1
- package/dist/actions/delete-customer-payment.mjs +1 -1
- package/dist/actions/delete-customer-payment.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +1 -1
- package/dist/actions/delete-customer.d.mts +1 -1
- package/dist/actions/delete-customer.mjs +1 -1
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-employee.cjs +1 -1
- package/dist/actions/delete-employee.cjs.map +1 -1
- package/dist/actions/delete-employee.d.cts +1 -1
- package/dist/actions/delete-employee.d.mts +1 -1
- package/dist/actions/delete-employee.mjs +1 -1
- package/dist/actions/delete-employee.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -1
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +1 -1
- package/dist/actions/delete-invoice.d.mts +1 -1
- package/dist/actions/delete-invoice.mjs +1 -1
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.cjs +1 -1
- package/dist/actions/delete-item-fulfillment.cjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.cts +1 -1
- package/dist/actions/delete-item-fulfillment.d.mts +1 -1
- package/dist/actions/delete-item-fulfillment.mjs +1 -1
- package/dist/actions/delete-item-fulfillment.mjs.map +1 -1
- package/dist/actions/delete-item-receipt.cjs +1 -1
- package/dist/actions/delete-item-receipt.cjs.map +1 -1
- package/dist/actions/delete-item-receipt.d.cts +1 -1
- package/dist/actions/delete-item-receipt.d.mts +1 -1
- package/dist/actions/delete-item-receipt.mjs +1 -1
- package/dist/actions/delete-item-receipt.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -1
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +4 -4
- package/dist/actions/delete-item.d.mts +4 -4
- package/dist/actions/delete-item.mjs +1 -1
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-journal-entry.cjs +1 -1
- package/dist/actions/delete-journal-entry.cjs.map +1 -1
- package/dist/actions/delete-journal-entry.d.cts +1 -1
- package/dist/actions/delete-journal-entry.d.mts +1 -1
- package/dist/actions/delete-journal-entry.mjs +1 -1
- package/dist/actions/delete-journal-entry.mjs.map +1 -1
- package/dist/actions/delete-purchase-order.cjs +1 -1
- package/dist/actions/delete-purchase-order.cjs.map +1 -1
- package/dist/actions/delete-purchase-order.d.cts +1 -1
- package/dist/actions/delete-purchase-order.d.mts +1 -1
- package/dist/actions/delete-purchase-order.mjs +1 -1
- package/dist/actions/delete-purchase-order.mjs.map +1 -1
- package/dist/actions/delete-sales-order.cjs +1 -1
- package/dist/actions/delete-sales-order.cjs.map +1 -1
- package/dist/actions/delete-sales-order.d.cts +1 -1
- package/dist/actions/delete-sales-order.d.mts +1 -1
- package/dist/actions/delete-sales-order.mjs +1 -1
- package/dist/actions/delete-sales-order.mjs.map +1 -1
- package/dist/actions/delete-vendor-payment.cjs +1 -1
- package/dist/actions/delete-vendor-payment.cjs.map +1 -1
- package/dist/actions/delete-vendor-payment.d.cts +1 -1
- package/dist/actions/delete-vendor-payment.d.mts +1 -1
- package/dist/actions/delete-vendor-payment.mjs +1 -1
- package/dist/actions/delete-vendor-payment.mjs.map +1 -1
- package/dist/actions/execute-dataset.cjs +2 -2
- package/dist/actions/execute-dataset.cjs.map +1 -1
- package/dist/actions/execute-dataset.d.cts +2 -2
- package/dist/actions/execute-dataset.d.mts +2 -2
- package/dist/actions/execute-dataset.mjs +2 -2
- package/dist/actions/execute-dataset.mjs.map +1 -1
- package/dist/actions/get-customer-payment.cjs +2 -2
- package/dist/actions/get-customer-payment.cjs.map +1 -1
- package/dist/actions/get-customer-payment.d.cts +2 -2
- package/dist/actions/get-customer-payment.d.mts +2 -2
- package/dist/actions/get-customer-payment.mjs +2 -2
- package/dist/actions/get-customer-payment.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +2 -2
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +2 -2
- package/dist/actions/get-customer.d.mts +2 -2
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-datacenter-urls.cjs +1 -1
- package/dist/actions/get-datacenter-urls.cjs.map +1 -1
- package/dist/actions/get-datacenter-urls.d.cts +1 -1
- package/dist/actions/get-datacenter-urls.d.mts +1 -1
- package/dist/actions/get-datacenter-urls.mjs +1 -1
- package/dist/actions/get-datacenter-urls.mjs.map +1 -1
- package/dist/actions/get-employee.cjs +2 -2
- package/dist/actions/get-employee.cjs.map +1 -1
- package/dist/actions/get-employee.d.cts +2 -2
- package/dist/actions/get-employee.d.mts +2 -2
- package/dist/actions/get-employee.mjs +2 -2
- package/dist/actions/get-employee.mjs.map +1 -1
- package/dist/actions/get-governance-limits.cjs +1 -1
- package/dist/actions/get-governance-limits.cjs.map +1 -1
- package/dist/actions/get-governance-limits.d.cts +1 -1
- package/dist/actions/get-governance-limits.d.mts +1 -1
- package/dist/actions/get-governance-limits.mjs +1 -1
- package/dist/actions/get-governance-limits.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +2 -2
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +2 -2
- package/dist/actions/get-invoice.d.mts +2 -2
- package/dist/actions/get-invoice.mjs +2 -2
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-item-fulfillment.cjs +2 -2
- package/dist/actions/get-item-fulfillment.cjs.map +1 -1
- package/dist/actions/get-item-fulfillment.d.cts +2 -2
- package/dist/actions/get-item-fulfillment.d.mts +2 -2
- package/dist/actions/get-item-fulfillment.mjs +2 -2
- package/dist/actions/get-item-fulfillment.mjs.map +1 -1
- package/dist/actions/get-item-receipt.cjs +2 -2
- package/dist/actions/get-item-receipt.cjs.map +1 -1
- package/dist/actions/get-item-receipt.d.cts +2 -2
- package/dist/actions/get-item-receipt.d.mts +2 -2
- package/dist/actions/get-item-receipt.mjs +2 -2
- package/dist/actions/get-item-receipt.mjs.map +1 -1
- package/dist/actions/get-item.cjs +2 -2
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +2 -2
- package/dist/actions/get-item.d.mts +2 -2
- package/dist/actions/get-item.mjs +2 -2
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-journal-entry.cjs +2 -2
- package/dist/actions/get-journal-entry.cjs.map +1 -1
- package/dist/actions/get-journal-entry.d.cts +2 -2
- package/dist/actions/get-journal-entry.d.mts +2 -2
- package/dist/actions/get-journal-entry.mjs +2 -2
- package/dist/actions/get-journal-entry.mjs.map +1 -1
- package/dist/actions/get-purchase-order.cjs +2 -2
- package/dist/actions/get-purchase-order.cjs.map +1 -1
- package/dist/actions/get-purchase-order.d.cts +2 -2
- package/dist/actions/get-purchase-order.d.mts +2 -2
- package/dist/actions/get-purchase-order.mjs +2 -2
- package/dist/actions/get-purchase-order.mjs.map +1 -1
- package/dist/actions/get-record-metadata.cjs +1 -1
- package/dist/actions/get-record-metadata.cjs.map +1 -1
- package/dist/actions/get-record-metadata.d.cts +1 -1
- package/dist/actions/get-record-metadata.d.mts +1 -1
- package/dist/actions/get-record-metadata.mjs +1 -1
- package/dist/actions/get-record-metadata.mjs.map +1 -1
- package/dist/actions/get-reference-select-field.cjs +2 -2
- package/dist/actions/get-reference-select-field.cjs.map +1 -1
- package/dist/actions/get-reference-select-field.d.cts +2 -2
- package/dist/actions/get-reference-select-field.d.mts +2 -2
- package/dist/actions/get-reference-select-field.mjs +2 -2
- package/dist/actions/get-reference-select-field.mjs.map +1 -1
- package/dist/actions/get-sales-order.cjs +2 -2
- package/dist/actions/get-sales-order.cjs.map +1 -1
- package/dist/actions/get-sales-order.d.cts +2 -2
- package/dist/actions/get-sales-order.d.mts +2 -2
- package/dist/actions/get-sales-order.mjs +2 -2
- package/dist/actions/get-sales-order.mjs.map +1 -1
- package/dist/actions/get-server-time.cjs +1 -1
- package/dist/actions/get-server-time.cjs.map +1 -1
- package/dist/actions/get-server-time.d.cts +1 -1
- package/dist/actions/get-server-time.d.mts +1 -1
- package/dist/actions/get-server-time.mjs +1 -1
- package/dist/actions/get-server-time.mjs.map +1 -1
- package/dist/actions/get-sublist-collection.cjs +2 -2
- package/dist/actions/get-sublist-collection.cjs.map +1 -1
- package/dist/actions/get-sublist-collection.d.cts +2 -2
- package/dist/actions/get-sublist-collection.d.mts +2 -2
- package/dist/actions/get-sublist-collection.mjs +2 -2
- package/dist/actions/get-sublist-collection.mjs.map +1 -1
- package/dist/actions/get-sublist-line.cjs +2 -2
- package/dist/actions/get-sublist-line.cjs.map +1 -1
- package/dist/actions/get-sublist-line.d.cts +2 -2
- package/dist/actions/get-sublist-line.d.mts +2 -2
- package/dist/actions/get-sublist-line.mjs +2 -2
- package/dist/actions/get-sublist-line.mjs.map +1 -1
- package/dist/actions/get-subrecord.cjs +2 -2
- package/dist/actions/get-subrecord.cjs.map +1 -1
- package/dist/actions/get-subrecord.d.cts +2 -2
- package/dist/actions/get-subrecord.d.mts +2 -2
- package/dist/actions/get-subrecord.mjs +2 -2
- package/dist/actions/get-subrecord.mjs.map +1 -1
- package/dist/actions/get-vendor-bill.cjs +2 -2
- package/dist/actions/get-vendor-bill.cjs.map +1 -1
- package/dist/actions/get-vendor-bill.d.cts +2 -2
- package/dist/actions/get-vendor-bill.d.mts +2 -2
- package/dist/actions/get-vendor-bill.mjs +2 -2
- package/dist/actions/get-vendor-bill.mjs.map +1 -1
- package/dist/actions/get-vendor-payment.cjs +2 -2
- package/dist/actions/get-vendor-payment.cjs.map +1 -1
- package/dist/actions/get-vendor-payment.d.cts +2 -2
- package/dist/actions/get-vendor-payment.d.mts +2 -2
- package/dist/actions/get-vendor-payment.mjs +2 -2
- package/dist/actions/get-vendor-payment.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +2 -2
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +2 -2
- package/dist/actions/get-vendor.d.mts +2 -2
- package/dist/actions/get-vendor.mjs +2 -2
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/list-customer-payments.cjs +3 -3
- package/dist/actions/list-customer-payments.cjs.map +1 -1
- package/dist/actions/list-customer-payments.d.cts +4 -4
- package/dist/actions/list-customer-payments.d.mts +4 -4
- package/dist/actions/list-customer-payments.mjs +3 -3
- package/dist/actions/list-customer-payments.mjs.map +1 -1
- package/dist/actions/list-datasets.cjs +4 -4
- package/dist/actions/list-datasets.cjs.map +1 -1
- package/dist/actions/list-datasets.d.cts +4 -4
- package/dist/actions/list-datasets.d.mts +4 -4
- package/dist/actions/list-datasets.mjs +4 -4
- package/dist/actions/list-datasets.mjs.map +1 -1
- package/dist/actions/list-employees.cjs +3 -3
- package/dist/actions/list-employees.cjs.map +1 -1
- package/dist/actions/list-employees.d.cts +4 -4
- package/dist/actions/list-employees.d.mts +4 -4
- package/dist/actions/list-employees.mjs +3 -3
- package/dist/actions/list-employees.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +2 -2
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +2 -2
- package/dist/actions/list-integrations.d.mts +2 -2
- package/dist/actions/list-integrations.mjs +2 -2
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +3 -3
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +4 -4
- package/dist/actions/list-invoices.d.mts +4 -4
- package/dist/actions/list-invoices.mjs +3 -3
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-item-fulfillments.cjs +3 -3
- package/dist/actions/list-item-fulfillments.cjs.map +1 -1
- package/dist/actions/list-item-fulfillments.d.cts +4 -4
- package/dist/actions/list-item-fulfillments.d.mts +4 -4
- package/dist/actions/list-item-fulfillments.mjs +3 -3
- package/dist/actions/list-item-fulfillments.mjs.map +1 -1
- package/dist/actions/list-item-receipts.cjs +3 -3
- package/dist/actions/list-item-receipts.cjs.map +1 -1
- package/dist/actions/list-item-receipts.d.cts +4 -4
- package/dist/actions/list-item-receipts.d.mts +4 -4
- package/dist/actions/list-item-receipts.mjs +3 -3
- package/dist/actions/list-item-receipts.mjs.map +1 -1
- package/dist/actions/list-journal-entries.cjs +3 -3
- package/dist/actions/list-journal-entries.cjs.map +1 -1
- package/dist/actions/list-journal-entries.d.cts +4 -4
- package/dist/actions/list-journal-entries.d.mts +4 -4
- package/dist/actions/list-journal-entries.mjs +3 -3
- package/dist/actions/list-journal-entries.mjs.map +1 -1
- package/dist/actions/list-metadata-catalog.cjs +3 -3
- package/dist/actions/list-metadata-catalog.cjs.map +1 -1
- package/dist/actions/list-metadata-catalog.d.cts +3 -3
- package/dist/actions/list-metadata-catalog.d.mts +3 -3
- package/dist/actions/list-metadata-catalog.mjs +3 -3
- package/dist/actions/list-metadata-catalog.mjs.map +1 -1
- package/dist/actions/list-purchase-orders.cjs +3 -3
- package/dist/actions/list-purchase-orders.cjs.map +1 -1
- package/dist/actions/list-purchase-orders.d.cts +4 -4
- package/dist/actions/list-purchase-orders.d.mts +4 -4
- package/dist/actions/list-purchase-orders.mjs +3 -3
- package/dist/actions/list-purchase-orders.mjs.map +1 -1
- package/dist/actions/list-records.cjs +3 -3
- package/dist/actions/list-records.cjs.map +1 -1
- package/dist/actions/list-records.d.cts +4 -4
- package/dist/actions/list-records.d.mts +4 -4
- package/dist/actions/list-records.mjs +3 -3
- package/dist/actions/list-records.mjs.map +1 -1
- package/dist/actions/list-sales-orders.cjs +3 -3
- package/dist/actions/list-sales-orders.cjs.map +1 -1
- package/dist/actions/list-sales-orders.d.cts +4 -4
- package/dist/actions/list-sales-orders.d.mts +4 -4
- package/dist/actions/list-sales-orders.mjs +3 -3
- package/dist/actions/list-sales-orders.mjs.map +1 -1
- package/dist/actions/list-vendor-payments.cjs +3 -3
- package/dist/actions/list-vendor-payments.cjs.map +1 -1
- package/dist/actions/list-vendor-payments.d.cts +4 -4
- package/dist/actions/list-vendor-payments.d.mts +4 -4
- package/dist/actions/list-vendor-payments.mjs +3 -3
- package/dist/actions/list-vendor-payments.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.cts +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.mts +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.mjs +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.cts +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.mts +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.mjs +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-logout.cjs +1 -1
- package/dist/actions/o-auth2-logout.cjs.map +1 -1
- package/dist/actions/o-auth2-logout.d.cts +1 -1
- package/dist/actions/o-auth2-logout.d.mts +1 -1
- package/dist/actions/o-auth2-logout.mjs +1 -1
- package/dist/actions/o-auth2-logout.mjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.mjs +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.cts +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.mts +1 -1
- package/dist/actions/o-auth2-token-authorization-code.mjs +1 -1
- package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.cts +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.mts +1 -1
- package/dist/actions/o-auth2-token-client-credentials.mjs +1 -1
- package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.cts +1 -1
- package/dist/actions/o-auth2-token-refresh.d.mts +1 -1
- package/dist/actions/o-auth2-token-refresh.mjs +1 -1
- package/dist/actions/o-auth2-token-refresh.mjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.cjs +2 -2
- package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.cts +2 -2
- package/dist/actions/oauth2-get-jwks-keys.d.mts +2 -2
- package/dist/actions/oauth2-get-jwks-keys.mjs +2 -2
- package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -1
- package/dist/actions/run-suiteql-query.cjs +2 -2
- package/dist/actions/run-suiteql-query.cjs.map +1 -1
- package/dist/actions/run-suiteql-query.d.cts +3 -3
- package/dist/actions/run-suiteql-query.d.mts +3 -3
- package/dist/actions/run-suiteql-query.mjs +2 -2
- package/dist/actions/run-suiteql-query.mjs.map +1 -1
- package/dist/actions/transform-record.cjs +1 -1
- package/dist/actions/transform-record.cjs.map +1 -1
- package/dist/actions/transform-record.d.cts +1 -1
- package/dist/actions/transform-record.d.mts +1 -1
- package/dist/actions/transform-record.mjs +1 -1
- package/dist/actions/transform-record.mjs.map +1 -1
- package/dist/actions/update-customer-payment.cjs +1 -1
- package/dist/actions/update-customer-payment.cjs.map +1 -1
- package/dist/actions/update-customer-payment.d.cts +1 -1
- package/dist/actions/update-customer-payment.d.mts +1 -1
- package/dist/actions/update-customer-payment.mjs +1 -1
- package/dist/actions/update-customer-payment.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -1
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +1 -1
- package/dist/actions/update-customer.d.mts +1 -1
- package/dist/actions/update-customer.mjs +1 -1
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-employee.cjs +1 -1
- package/dist/actions/update-employee.cjs.map +1 -1
- package/dist/actions/update-employee.d.cts +1 -1
- package/dist/actions/update-employee.d.mts +1 -1
- package/dist/actions/update-employee.mjs +1 -1
- package/dist/actions/update-employee.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -1
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +1 -1
- package/dist/actions/update-invoice.d.mts +1 -1
- package/dist/actions/update-invoice.mjs +1 -1
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item-fulfillment.cjs +1 -1
- package/dist/actions/update-item-fulfillment.cjs.map +1 -1
- package/dist/actions/update-item-fulfillment.d.cts +1 -1
- package/dist/actions/update-item-fulfillment.d.mts +1 -1
- package/dist/actions/update-item-fulfillment.mjs +1 -1
- package/dist/actions/update-item-fulfillment.mjs.map +1 -1
- package/dist/actions/update-item-receipt.cjs +1 -1
- package/dist/actions/update-item-receipt.cjs.map +1 -1
- package/dist/actions/update-item-receipt.d.cts +1 -1
- package/dist/actions/update-item-receipt.d.mts +1 -1
- package/dist/actions/update-item-receipt.mjs +1 -1
- package/dist/actions/update-item-receipt.mjs.map +1 -1
- package/dist/actions/update-item.cjs +1 -1
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +1 -1
- package/dist/actions/update-item.d.mts +1 -1
- package/dist/actions/update-item.mjs +1 -1
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-journal-entry.cjs +1 -1
- package/dist/actions/update-journal-entry.cjs.map +1 -1
- package/dist/actions/update-journal-entry.d.cts +1 -1
- package/dist/actions/update-journal-entry.d.mts +1 -1
- package/dist/actions/update-journal-entry.mjs +1 -1
- package/dist/actions/update-journal-entry.mjs.map +1 -1
- package/dist/actions/update-purchase-order.cjs +1 -1
- package/dist/actions/update-purchase-order.cjs.map +1 -1
- package/dist/actions/update-purchase-order.d.cts +1 -1
- package/dist/actions/update-purchase-order.d.mts +1 -1
- package/dist/actions/update-purchase-order.mjs +1 -1
- package/dist/actions/update-purchase-order.mjs.map +1 -1
- package/dist/actions/update-sales-order.cjs +1 -1
- package/dist/actions/update-sales-order.cjs.map +1 -1
- package/dist/actions/update-sales-order.d.cts +1 -1
- package/dist/actions/update-sales-order.d.mts +1 -1
- package/dist/actions/update-sales-order.mjs +1 -1
- package/dist/actions/update-sales-order.mjs.map +1 -1
- package/dist/actions/update-vendor-bill.cjs +1 -1
- package/dist/actions/update-vendor-bill.cjs.map +1 -1
- package/dist/actions/update-vendor-bill.d.cts +1 -1
- package/dist/actions/update-vendor-bill.d.mts +1 -1
- package/dist/actions/update-vendor-bill.mjs +1 -1
- package/dist/actions/update-vendor-bill.mjs.map +1 -1
- package/dist/actions/update-vendor-payment.cjs +1 -1
- package/dist/actions/update-vendor-payment.cjs.map +1 -1
- package/dist/actions/update-vendor-payment.d.cts +1 -1
- package/dist/actions/update-vendor-payment.d.mts +1 -1
- package/dist/actions/update-vendor-payment.mjs +1 -1
- package/dist/actions/update-vendor-payment.mjs.map +1 -1
- package/dist/actions/update-vendor.cjs +1 -1
- package/dist/actions/update-vendor.cjs.map +1 -1
- package/dist/actions/update-vendor.d.cts +1 -1
- package/dist/actions/update-vendor.d.mts +1 -1
- package/dist/actions/update-vendor.mjs +1 -1
- package/dist/actions/update-vendor.mjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.cts +1 -1
- package/dist/actions/upsert-record-by-external-id.d.mts +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ const NetsuiteOAuth2TokenRefreshOutput = zod.z.object({
|
|
|
12
12
|
token_type: zod.z.string().describe("OAuth2 token type; typically 'bearer'.").nullable().optional(),
|
|
13
13
|
access_token: zod.z.string().describe("New OAuth2 access token (JWT format).").nullable().optional(),
|
|
14
14
|
refresh_token: zod.z.string().describe("New refresh token returned for public clients; may be omitted for confidential clients.").nullable().optional()
|
|
15
|
-
}).describe("Response model for an OAuth2 token refresh operation.\nIncludes optional error field to capture authorization server errors.");
|
|
15
|
+
}).passthrough().describe("Response model for an OAuth2 token refresh operation.\nIncludes optional error field to capture authorization server errors.");
|
|
16
16
|
const netsuiteOAuth2TokenRefresh = require_action.action("NETSUITE_O_AUTH2_TOKEN_REFRESH", {
|
|
17
17
|
slug: "netsuite-o-auth2-token-refresh",
|
|
18
18
|
name: "OAuth2 Token Refresh",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-refresh.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,8HAA8H;
|
|
1
|
+
{"version":3,"file":"o-auth2-token-refresh.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8HAA8H;AAExJ,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const NetsuiteOAuth2TokenRefreshOutput: z.ZodObject<{
|
|
|
12
12
|
token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const netsuiteOAuth2TokenRefresh: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
client_id?: string | undefined;
|
|
18
18
|
client_secret?: string | undefined;
|
|
@@ -12,7 +12,7 @@ declare const NetsuiteOAuth2TokenRefreshOutput: z.ZodObject<{
|
|
|
12
12
|
token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const netsuiteOAuth2TokenRefresh: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
client_id?: string | undefined;
|
|
18
18
|
client_secret?: string | undefined;
|
|
@@ -15,7 +15,7 @@ const netsuiteOAuth2TokenRefresh = action("NETSUITE_O_AUTH2_TOKEN_REFRESH", {
|
|
|
15
15
|
token_type: z.string().describe("OAuth2 token type; typically 'bearer'.").nullable().optional(),
|
|
16
16
|
access_token: z.string().describe("New OAuth2 access token (JWT format).").nullable().optional(),
|
|
17
17
|
refresh_token: z.string().describe("New refresh token returned for public clients; may be omitted for confidential clients.").nullable().optional()
|
|
18
|
-
}).describe("Response model for an OAuth2 token refresh operation.\nIncludes optional error field to capture authorization server errors.")
|
|
18
|
+
}).passthrough().describe("Response model for an OAuth2 token refresh operation.\nIncludes optional error field to capture authorization server errors.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { netsuiteOAuth2TokenRefresh };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-refresh.mjs","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,4EAaH;CACP,QAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"o-auth2-token-refresh.mjs","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,4EAaH;CACP,QAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8HAOhB;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ const NetsuiteOauth2GetJwksKeys_JwkKeySchema = zod.z.object({
|
|
|
11
11
|
use: zod.z.string().describe("Public key use (e.g., 'sig')").nullable().optional(),
|
|
12
12
|
x5c: zod.z.array(zod.z.string()).describe("X.509 certificate chain").nullable().optional(),
|
|
13
13
|
x5t: zod.z.string().describe("X.509 certificate SHA-1 thumbprint").nullable().optional()
|
|
14
|
-
}).describe("JSON Web Key model as returned in the JWKS response.");
|
|
15
|
-
const NetsuiteOauth2GetJwksKeysOutput = zod.z.object({ keys: zod.z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe("List of JSON Web Keys") }).describe("Response model containing the JSON Web Key Set.");
|
|
14
|
+
}).passthrough().describe("JSON Web Key model as returned in the JWKS response.");
|
|
15
|
+
const NetsuiteOauth2GetJwksKeysOutput = zod.z.object({ keys: zod.z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe("List of JSON Web Keys") }).passthrough().describe("Response model containing the JSON Web Key Set.");
|
|
16
16
|
const netsuiteOauth2GetJwksKeys = require_action.action("NETSUITE_OAUTH2_GET_JWKS_KEYS", {
|
|
17
17
|
slug: "netsuite-oauth2-get-jwks-keys",
|
|
18
18
|
name: "Get OAuth2 JWKS Keys",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2-get-jwks-keys.cjs","names":["z","action"],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOauth2GetJwksKeysInput = z.object({}).describe(\"Request model for retrieving OAuth2 JWKS public keys. No parameters are required.\");\nconst NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({\n e: z.string().describe(\"RSA exponent (base64url-encoded)\").nullable().optional(),\n n: z.string().describe(\"RSA modulus (base64url-encoded)\").nullable().optional(),\n alg: z.string().describe(\"Key algorithm (e.g., 'RS256')\").nullable().optional(),\n kid: z.string().describe(\"Key ID\").nullable(),\n kty: z.string().describe(\"Key type (e.g., 'RSA')\").nullable(),\n use: z.string().describe(\"Public key use (e.g., 'sig')\").nullable().optional(),\n x5c: z.array(z.string()).describe(\"X.509 certificate chain\").nullable().optional(),\n x5t: z.string().describe(\"X.509 certificate SHA-1 thumbprint\").nullable().optional(),\n}).describe(\"JSON Web Key model as returned in the JWKS response.\");\nexport const NetsuiteOauth2GetJwksKeysOutput = z.object({\n keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe(\"List of JSON Web Keys\"),\n}).describe(\"Response model containing the JSON Web Key Set.\");\n\nexport const netsuiteOauth2GetJwksKeys = action(\"NETSUITE_OAUTH2_GET_JWKS_KEYS\", {\n slug: \"netsuite-oauth2-get-jwks-keys\",\n name: \"Get OAuth2 JWKS Keys\",\n description: \"Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.\",\n input: NetsuiteOauth2GetJwksKeysInput,\n output: NetsuiteOauth2GetJwksKeysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACvJ,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"oauth2-get-jwks-keys.cjs","names":["z","action"],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOauth2GetJwksKeysInput = z.object({}).describe(\"Request model for retrieving OAuth2 JWKS public keys. No parameters are required.\");\nconst NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({\n e: z.string().describe(\"RSA exponent (base64url-encoded)\").nullable().optional(),\n n: z.string().describe(\"RSA modulus (base64url-encoded)\").nullable().optional(),\n alg: z.string().describe(\"Key algorithm (e.g., 'RS256')\").nullable().optional(),\n kid: z.string().describe(\"Key ID\").nullable(),\n kty: z.string().describe(\"Key type (e.g., 'RSA')\").nullable(),\n use: z.string().describe(\"Public key use (e.g., 'sig')\").nullable().optional(),\n x5c: z.array(z.string()).describe(\"X.509 certificate chain\").nullable().optional(),\n x5t: z.string().describe(\"X.509 certificate SHA-1 thumbprint\").nullable().optional(),\n}).passthrough().describe(\"JSON Web Key model as returned in the JWKS response.\");\nexport const NetsuiteOauth2GetJwksKeysOutput = z.object({\n keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe(\"List of JSON Web Keys\"),\n}).passthrough().describe(\"Response model containing the JSON Web Key Set.\");\n\nexport const netsuiteOauth2GetJwksKeys = action(\"NETSUITE_OAUTH2_GET_JWKS_KEYS\", {\n slug: \"netsuite-oauth2-get-jwks-keys\",\n name: \"Get OAuth2 JWKS Keys\",\n description: \"Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.\",\n input: NetsuiteOauth2GetJwksKeysInput,\n output: NetsuiteOauth2GetJwksKeysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACvJ,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uBAAuB,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ declare const NetsuiteOauth2GetJwksKeysOutput: z.ZodObject<{
|
|
|
12
12
|
use: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
x5c: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
14
|
x5t: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const netsuiteOauth2GetJwksKeys: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { netsuiteOauth2GetJwksKeys };
|
|
@@ -12,8 +12,8 @@ declare const NetsuiteOauth2GetJwksKeysOutput: z.ZodObject<{
|
|
|
12
12
|
use: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
x5c: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
14
|
x5t: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const netsuiteOauth2GetJwksKeys: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { netsuiteOauth2GetJwksKeys };
|
|
@@ -11,13 +11,13 @@ const NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({
|
|
|
11
11
|
use: z.string().describe("Public key use (e.g., 'sig')").nullable().optional(),
|
|
12
12
|
x5c: z.array(z.string()).describe("X.509 certificate chain").nullable().optional(),
|
|
13
13
|
x5t: z.string().describe("X.509 certificate SHA-1 thumbprint").nullable().optional()
|
|
14
|
-
}).describe("JSON Web Key model as returned in the JWKS response.");
|
|
14
|
+
}).passthrough().describe("JSON Web Key model as returned in the JWKS response.");
|
|
15
15
|
const netsuiteOauth2GetJwksKeys = action("NETSUITE_OAUTH2_GET_JWKS_KEYS", {
|
|
16
16
|
slug: "netsuite-oauth2-get-jwks-keys",
|
|
17
17
|
name: "Get OAuth2 JWKS Keys",
|
|
18
18
|
description: "Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.",
|
|
19
19
|
input: NetsuiteOauth2GetJwksKeysInput,
|
|
20
|
-
output: z.object({ keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe("List of JSON Web Keys") }).describe("Response model containing the JSON Web Key Set.")
|
|
20
|
+
output: z.object({ keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe("List of JSON Web Keys") }).passthrough().describe("Response model containing the JSON Web Key Set.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { netsuiteOauth2GetJwksKeys };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2-get-jwks-keys.mjs","names":[],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOauth2GetJwksKeysInput = z.object({}).describe(\"Request model for retrieving OAuth2 JWKS public keys. No parameters are required.\");\nconst NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({\n e: z.string().describe(\"RSA exponent (base64url-encoded)\").nullable().optional(),\n n: z.string().describe(\"RSA modulus (base64url-encoded)\").nullable().optional(),\n alg: z.string().describe(\"Key algorithm (e.g., 'RS256')\").nullable().optional(),\n kid: z.string().describe(\"Key ID\").nullable(),\n kty: z.string().describe(\"Key type (e.g., 'RSA')\").nullable(),\n use: z.string().describe(\"Public key use (e.g., 'sig')\").nullable().optional(),\n x5c: z.array(z.string()).describe(\"X.509 certificate chain\").nullable().optional(),\n x5t: z.string().describe(\"X.509 certificate SHA-1 thumbprint\").nullable().optional(),\n}).describe(\"JSON Web Key model as returned in the JWKS response.\");\nexport const NetsuiteOauth2GetJwksKeysOutput = z.object({\n keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe(\"List of JSON Web Keys\"),\n}).describe(\"Response model containing the JSON Web Key Set.\");\n\nexport const netsuiteOauth2GetJwksKeys = action(\"NETSUITE_OAUTH2_GET_JWKS_KEYS\", {\n slug: \"netsuite-oauth2-get-jwks-keys\",\n name: \"Get OAuth2 JWKS Keys\",\n description: \"Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.\",\n input: NetsuiteOauth2GetJwksKeysInput,\n output: NetsuiteOauth2GetJwksKeysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACvJ,MAAM,yCAAyC,EAAE,OAAO;CACtD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"oauth2-get-jwks-keys.mjs","names":[],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOauth2GetJwksKeysInput = z.object({}).describe(\"Request model for retrieving OAuth2 JWKS public keys. No parameters are required.\");\nconst NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({\n e: z.string().describe(\"RSA exponent (base64url-encoded)\").nullable().optional(),\n n: z.string().describe(\"RSA modulus (base64url-encoded)\").nullable().optional(),\n alg: z.string().describe(\"Key algorithm (e.g., 'RS256')\").nullable().optional(),\n kid: z.string().describe(\"Key ID\").nullable(),\n kty: z.string().describe(\"Key type (e.g., 'RSA')\").nullable(),\n use: z.string().describe(\"Public key use (e.g., 'sig')\").nullable().optional(),\n x5c: z.array(z.string()).describe(\"X.509 certificate chain\").nullable().optional(),\n x5t: z.string().describe(\"X.509 certificate SHA-1 thumbprint\").nullable().optional(),\n}).passthrough().describe(\"JSON Web Key model as returned in the JWKS response.\");\nexport const NetsuiteOauth2GetJwksKeysOutput = z.object({\n keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe(\"List of JSON Web Keys\"),\n}).passthrough().describe(\"Response model containing the JSON Web Key Set.\");\n\nexport const netsuiteOauth2GetJwksKeys = action(\"NETSUITE_OAUTH2_GET_JWKS_KEYS\", {\n slug: \"netsuite-oauth2-get-jwks-keys\",\n name: \"Get OAuth2 JWKS Keys\",\n description: \"Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.\",\n input: NetsuiteOauth2GetJwksKeysInput,\n output: NetsuiteOauth2GetJwksKeysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACvJ,MAAM,yCAAyC,EAAE,OAAO;CACtD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uBAAuB,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const NetsuiteRunSuiteqlQueryInput = zod.z.object({
|
|
|
9
9
|
const NetsuiteRunSuiteqlQuery_LinkSchema = zod.z.object({
|
|
10
10
|
rel: zod.z.string().describe("Relation type of this link (e.g., 'next', 'prev').").nullable(),
|
|
11
11
|
href: zod.z.string().describe("URL for this pagination link.").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const NetsuiteRunSuiteqlQuery_RowSchema = zod.z.object({ links: zod.z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe("Links for this row.") }).passthrough().describe("Dynamic row returned by SuiteQL, includes links and extra columns.");
|
|
14
14
|
const NetsuiteRunSuiteqlQueryOutput = zod.z.object({
|
|
15
15
|
count: zod.z.number().int().describe("Number of rows in this page.").nullable(),
|
|
@@ -18,7 +18,7 @@ const NetsuiteRunSuiteqlQueryOutput = zod.z.object({
|
|
|
18
18
|
offset: zod.z.number().int().describe("Offset used for this page.").nullable(),
|
|
19
19
|
hasMore: zod.z.boolean().describe("Indicates if additional pages are available.").nullable(),
|
|
20
20
|
totalResults: zod.z.number().int().describe("Total number of rows matching the query.").nullable()
|
|
21
|
-
}).describe("Response for a SuiteQL query execution.");
|
|
21
|
+
}).passthrough().describe("Response for a SuiteQL query execution.");
|
|
22
22
|
const netsuiteRunSuiteqlQuery = require_action.action("NETSUITE_RUN_SUITEQL_QUERY", {
|
|
23
23
|
slug: "netsuite-run-suiteql-query",
|
|
24
24
|
name: "Run SuiteQL Query",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-suiteql-query.cjs","names":["z","action"],"sources":["../../src/actions/run-suiteql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteRunSuiteqlQueryInput = z.object({\n q: z.string().describe(\"SuiteQL SELECT statement to execute.\"),\n limit: z.number().int().describe(\"Number of rows per page.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of first row; must be a multiple of `limit` if both provided.\").optional(),\n}).describe(\"Parameters for executing a SuiteQL query.\");\nconst NetsuiteRunSuiteqlQuery_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for this pagination link.\").nullable(),\n});\nconst NetsuiteRunSuiteqlQuery_RowSchema = z.object({\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Links for this row.\"),\n}).passthrough().describe(\"Dynamic row returned by SuiteQL, includes links and extra columns.\");\nexport const NetsuiteRunSuiteqlQueryOutput = z.object({\n count: z.number().int().describe(\"Number of rows in this page.\").nullable(),\n items: z.array(NetsuiteRunSuiteqlQuery_RowSchema).describe(\"Rows returned by the query.\"),\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Pagination/navigation links.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of rows matching the query.\").nullable(),\n}).describe(\"Response for a SuiteQL query execution.\");\n\nexport const netsuiteRunSuiteqlQuery = action(\"NETSUITE_RUN_SUITEQL_QUERY\", {\n slug: \"netsuite-run-suiteql-query\",\n name: \"Run SuiteQL Query\",\n description: \"Tool to execute a SuiteQL query. Use when you need ad-hoc SQL queries against NetSuite data with server-side paging.\",\n input: NetsuiteRunSuiteqlQueryInput,\n output: NetsuiteRunSuiteqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC;
|
|
1
|
+
{"version":3,"file":"run-suiteql-query.cjs","names":["z","action"],"sources":["../../src/actions/run-suiteql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteRunSuiteqlQueryInput = z.object({\n q: z.string().describe(\"SuiteQL SELECT statement to execute.\"),\n limit: z.number().int().describe(\"Number of rows per page.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of first row; must be a multiple of `limit` if both provided.\").optional(),\n}).describe(\"Parameters for executing a SuiteQL query.\");\nconst NetsuiteRunSuiteqlQuery_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for this pagination link.\").nullable(),\n}).passthrough();\nconst NetsuiteRunSuiteqlQuery_RowSchema = z.object({\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Links for this row.\"),\n}).passthrough().describe(\"Dynamic row returned by SuiteQL, includes links and extra columns.\");\nexport const NetsuiteRunSuiteqlQueryOutput = z.object({\n count: z.number().int().describe(\"Number of rows in this page.\").nullable(),\n items: z.array(NetsuiteRunSuiteqlQuery_RowSchema).describe(\"Rows returned by the query.\"),\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Pagination/navigation links.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of rows matching the query.\").nullable(),\n}).passthrough().describe(\"Response for a SuiteQL query execution.\");\n\nexport const netsuiteRunSuiteqlQuery = action(\"NETSUITE_RUN_SUITEQL_QUERY\", {\n slug: \"netsuite-run-suiteql-query\",\n name: \"Run SuiteQL Query\",\n description: \"Tool to execute a SuiteQL query. Use when you need ad-hoc SQL queries against NetSuite data with server-side paging.\",\n input: NetsuiteRunSuiteqlQueryInput,\n output: NetsuiteRunSuiteqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oCAAoCA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qBAAqB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6BAA6B;CACxF,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,16 +12,16 @@ declare const NetsuiteRunSuiteqlQueryOutput: z.ZodObject<{
|
|
|
12
12
|
links: z.ZodArray<z.ZodObject<{
|
|
13
13
|
rel: z.ZodNullable<z.ZodString>;
|
|
14
14
|
href: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
}, z.core.$loose>>;
|
|
17
17
|
links: z.ZodArray<z.ZodObject<{
|
|
18
18
|
rel: z.ZodNullable<z.ZodString>;
|
|
19
19
|
href: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
hasMore: z.ZodNullable<z.ZodBoolean>;
|
|
23
23
|
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const netsuiteRunSuiteqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
q: string;
|
|
27
27
|
limit?: number | undefined;
|
|
@@ -12,16 +12,16 @@ declare const NetsuiteRunSuiteqlQueryOutput: z.ZodObject<{
|
|
|
12
12
|
links: z.ZodArray<z.ZodObject<{
|
|
13
13
|
rel: z.ZodNullable<z.ZodString>;
|
|
14
14
|
href: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
}, z.core.$loose>>;
|
|
17
17
|
links: z.ZodArray<z.ZodObject<{
|
|
18
18
|
rel: z.ZodNullable<z.ZodString>;
|
|
19
19
|
href: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
hasMore: z.ZodNullable<z.ZodBoolean>;
|
|
23
23
|
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const netsuiteRunSuiteqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
q: string;
|
|
27
27
|
limit?: number | undefined;
|
|
@@ -9,7 +9,7 @@ const NetsuiteRunSuiteqlQueryInput = z.object({
|
|
|
9
9
|
const NetsuiteRunSuiteqlQuery_LinkSchema = z.object({
|
|
10
10
|
rel: z.string().describe("Relation type of this link (e.g., 'next', 'prev').").nullable(),
|
|
11
11
|
href: z.string().describe("URL for this pagination link.").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const NetsuiteRunSuiteqlQuery_RowSchema = z.object({ links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe("Links for this row.") }).passthrough().describe("Dynamic row returned by SuiteQL, includes links and extra columns.");
|
|
14
14
|
const netsuiteRunSuiteqlQuery = action("NETSUITE_RUN_SUITEQL_QUERY", {
|
|
15
15
|
slug: "netsuite-run-suiteql-query",
|
|
@@ -23,7 +23,7 @@ const netsuiteRunSuiteqlQuery = action("NETSUITE_RUN_SUITEQL_QUERY", {
|
|
|
23
23
|
offset: z.number().int().describe("Offset used for this page.").nullable(),
|
|
24
24
|
hasMore: z.boolean().describe("Indicates if additional pages are available.").nullable(),
|
|
25
25
|
totalResults: z.number().int().describe("Total number of rows matching the query.").nullable()
|
|
26
|
-
}).describe("Response for a SuiteQL query execution.")
|
|
26
|
+
}).passthrough().describe("Response for a SuiteQL query execution.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { netsuiteRunSuiteqlQuery };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-suiteql-query.mjs","names":[],"sources":["../../src/actions/run-suiteql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteRunSuiteqlQueryInput = z.object({\n q: z.string().describe(\"SuiteQL SELECT statement to execute.\"),\n limit: z.number().int().describe(\"Number of rows per page.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of first row; must be a multiple of `limit` if both provided.\").optional(),\n}).describe(\"Parameters for executing a SuiteQL query.\");\nconst NetsuiteRunSuiteqlQuery_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for this pagination link.\").nullable(),\n});\nconst NetsuiteRunSuiteqlQuery_RowSchema = z.object({\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Links for this row.\"),\n}).passthrough().describe(\"Dynamic row returned by SuiteQL, includes links and extra columns.\");\nexport const NetsuiteRunSuiteqlQueryOutput = z.object({\n count: z.number().int().describe(\"Number of rows in this page.\").nullable(),\n items: z.array(NetsuiteRunSuiteqlQuery_RowSchema).describe(\"Rows returned by the query.\"),\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Pagination/navigation links.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of rows matching the query.\").nullable(),\n}).describe(\"Response for a SuiteQL query execution.\");\n\nexport const netsuiteRunSuiteqlQuery = action(\"NETSUITE_RUN_SUITEQL_QUERY\", {\n slug: \"netsuite-run-suiteql-query\",\n name: \"Run SuiteQL Query\",\n description: \"Tool to execute a SuiteQL query. Use when you need ad-hoc SQL queries against NetSuite data with server-side paging.\",\n input: NetsuiteRunSuiteqlQueryInput,\n output: NetsuiteRunSuiteqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC;
|
|
1
|
+
{"version":3,"file":"run-suiteql-query.mjs","names":[],"sources":["../../src/actions/run-suiteql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteRunSuiteqlQueryInput = z.object({\n q: z.string().describe(\"SuiteQL SELECT statement to execute.\"),\n limit: z.number().int().describe(\"Number of rows per page.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of first row; must be a multiple of `limit` if both provided.\").optional(),\n}).describe(\"Parameters for executing a SuiteQL query.\");\nconst NetsuiteRunSuiteqlQuery_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for this pagination link.\").nullable(),\n}).passthrough();\nconst NetsuiteRunSuiteqlQuery_RowSchema = z.object({\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Links for this row.\"),\n}).passthrough().describe(\"Dynamic row returned by SuiteQL, includes links and extra columns.\");\nexport const NetsuiteRunSuiteqlQueryOutput = z.object({\n count: z.number().int().describe(\"Number of rows in this page.\").nullable(),\n items: z.array(NetsuiteRunSuiteqlQuery_RowSchema).describe(\"Rows returned by the query.\"),\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Pagination/navigation links.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of rows matching the query.\").nullable(),\n}).passthrough().describe(\"Response for a SuiteQL query execution.\");\n\nexport const netsuiteRunSuiteqlQuery = action(\"NETSUITE_RUN_SUITEQL_QUERY\", {\n slug: \"netsuite-run-suiteql-query\",\n name: \"Run SuiteQL Query\",\n description: \"Tool to execute a SuiteQL query. Use when you need ad-hoc SQL queries against NetSuite data with server-side paging.\",\n input: NetsuiteRunSuiteqlQueryInput,\n output: NetsuiteRunSuiteqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oCAAoC,EAAE,OAAO,EACjD,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qBAAqB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAU9F,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6BAA6B;EACxF,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const NetsuiteTransformRecordInput = zod.z.object({
|
|
|
15
15
|
const NetsuiteTransformRecordOutput = zod.z.object({
|
|
16
16
|
location: zod.z.string().describe("Location header URL for async job status (only for async requests)").nullable().optional(),
|
|
17
17
|
preference_applied: zod.z.string().describe("Preference-Applied header value (only for async requests)").nullable().optional()
|
|
18
|
-
}).describe("Response for TransformRecord action.\nReturns empty for synchronous transforms (204 No Content).\nReturns location and preference_applied for async transforms (202 Accepted).");
|
|
18
|
+
}).passthrough().describe("Response for TransformRecord action.\nReturns empty for synchronous transforms (204 No Content).\nReturns location and preference_applied for async transforms (202 Accepted).");
|
|
19
19
|
const netsuiteTransformRecord = require_action.action("NETSUITE_TRANSFORM_RECORD", {
|
|
20
20
|
slug: "netsuite-transform-record",
|
|
21
21
|
name: "Transform Record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-record.cjs","names":["z","action"],"sources":["../../src/actions/transform-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteTransformRecordInput = z.object({\n Prefer: z.string().describe(\"Use 'respond-async' to run the transform asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided in record_body. The sublists must be present in record_body or the request will fail. Common sublists: 'item', 'apply'. Example: 'item' or 'apply,item'.\").optional(),\n record_id: z.number().int().describe(\"Internal ID of the source record instance to transform. Must be a valid, existing record in NetSuite.\"),\n record_body: z.record(z.string(), z.unknown()).describe(\"Optional JSON object with field values to set on the transformed record\").optional(),\n source_record_type: z.string().describe(\"Source record type to transform. Common types: salesOrder, purchaseOrder, invoice, customer. Use camelCase format.\"),\n target_record_type: z.string().describe(\"Target record type to create from source. Common transformations: salesOrder→invoice, salesOrder→itemFulfillment, purchaseOrder→itemReceipt, purchaseOrder→vendorBill. Use camelCase format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.string().describe(\"Controls strictness for property name validation (ignore|warning|error).\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.string().describe(\"Controls strictness for property value validation (ignore|warning|error).\").optional(),\n});\nexport const NetsuiteTransformRecordOutput = z.object({\n location: z.string().describe(\"Location header URL for async job status (only for async requests)\").nullable().optional(),\n preference_applied: z.string().describe(\"Preference-Applied header value (only for async requests)\").nullable().optional(),\n}).describe(\"Response for TransformRecord action.\\nReturns empty for synchronous transforms (204 No Content).\\nReturns location and preference_applied for async transforms (202 Accepted).\");\n\nexport const netsuiteTransformRecord = action(\"NETSUITE_TRANSFORM_RECORD\", {\n slug: \"netsuite-transform-record\",\n name: \"Transform Record\",\n description: \"Transform an existing NetSuite record into another record type (e.g., sales order to invoice, purchase order to item receipt). Creates a new target record populated with data from the source record. Supports common business workflows like: - Converting sales orders to invoices or item fulfillments - Converting purchase orders to item receipts or vendor bills - Converting invoices to credit memos Optionally override fields on the transformed record via record_body parameter.\",\n input: NetsuiteTransformRecordInput,\n output: NetsuiteTransformRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;CACrQ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;CAC5I,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAC5J,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L;CACtO,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9I,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAClJ,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,gLAAgL;
|
|
1
|
+
{"version":3,"file":"transform-record.cjs","names":["z","action"],"sources":["../../src/actions/transform-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteTransformRecordInput = z.object({\n Prefer: z.string().describe(\"Use 'respond-async' to run the transform asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided in record_body. The sublists must be present in record_body or the request will fail. Common sublists: 'item', 'apply'. Example: 'item' or 'apply,item'.\").optional(),\n record_id: z.number().int().describe(\"Internal ID of the source record instance to transform. Must be a valid, existing record in NetSuite.\"),\n record_body: z.record(z.string(), z.unknown()).describe(\"Optional JSON object with field values to set on the transformed record\").optional(),\n source_record_type: z.string().describe(\"Source record type to transform. Common types: salesOrder, purchaseOrder, invoice, customer. Use camelCase format.\"),\n target_record_type: z.string().describe(\"Target record type to create from source. Common transformations: salesOrder→invoice, salesOrder→itemFulfillment, purchaseOrder→itemReceipt, purchaseOrder→vendorBill. Use camelCase format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.string().describe(\"Controls strictness for property name validation (ignore|warning|error).\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.string().describe(\"Controls strictness for property value validation (ignore|warning|error).\").optional(),\n});\nexport const NetsuiteTransformRecordOutput = z.object({\n location: z.string().describe(\"Location header URL for async job status (only for async requests)\").nullable().optional(),\n preference_applied: z.string().describe(\"Preference-Applied header value (only for async requests)\").nullable().optional(),\n}).passthrough().describe(\"Response for TransformRecord action.\\nReturns empty for synchronous transforms (204 No Content).\\nReturns location and preference_applied for async transforms (202 Accepted).\");\n\nexport const netsuiteTransformRecord = action(\"NETSUITE_TRANSFORM_RECORD\", {\n slug: \"netsuite-transform-record\",\n name: \"Transform Record\",\n description: \"Transform an existing NetSuite record into another record type (e.g., sales order to invoice, purchase order to item receipt). Creates a new target record populated with data from the source record. Supports common business workflows like: - Converting sales orders to invoices or item fulfillments - Converting purchase orders to item receipts or vendor bills - Converting invoices to credit memos Optionally override fields on the transformed record via record_body parameter.\",\n input: NetsuiteTransformRecordInput,\n output: NetsuiteTransformRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;CACrQ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;CAC5I,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAC5J,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L;CACtO,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9I,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAClJ,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gLAAgL;AAE1M,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const NetsuiteTransformRecordInput: z.ZodObject<{
|
|
|
15
15
|
declare const NetsuiteTransformRecordOutput: z.ZodObject<{
|
|
16
16
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const netsuiteTransformRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
record_id: number;
|
|
21
21
|
source_record_type: string;
|
|
@@ -15,7 +15,7 @@ declare const NetsuiteTransformRecordInput: z.ZodObject<{
|
|
|
15
15
|
declare const NetsuiteTransformRecordOutput: z.ZodObject<{
|
|
16
16
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const netsuiteTransformRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
record_id: number;
|
|
21
21
|
source_record_type: string;
|
|
@@ -18,7 +18,7 @@ const netsuiteTransformRecord = action("NETSUITE_TRANSFORM_RECORD", {
|
|
|
18
18
|
output: z.object({
|
|
19
19
|
location: z.string().describe("Location header URL for async job status (only for async requests)").nullable().optional(),
|
|
20
20
|
preference_applied: z.string().describe("Preference-Applied header value (only for async requests)").nullable().optional()
|
|
21
|
-
}).describe("Response for TransformRecord action.\nReturns empty for synchronous transforms (204 No Content).\nReturns location and preference_applied for async transforms (202 Accepted).")
|
|
21
|
+
}).passthrough().describe("Response for TransformRecord action.\nReturns empty for synchronous transforms (204 No Content).\nReturns location and preference_applied for async transforms (202 Accepted).")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { netsuiteTransformRecord };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-record.mjs","names":[],"sources":["../../src/actions/transform-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteTransformRecordInput = z.object({\n Prefer: z.string().describe(\"Use 'respond-async' to run the transform asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided in record_body. The sublists must be present in record_body or the request will fail. Common sublists: 'item', 'apply'. Example: 'item' or 'apply,item'.\").optional(),\n record_id: z.number().int().describe(\"Internal ID of the source record instance to transform. Must be a valid, existing record in NetSuite.\"),\n record_body: z.record(z.string(), z.unknown()).describe(\"Optional JSON object with field values to set on the transformed record\").optional(),\n source_record_type: z.string().describe(\"Source record type to transform. Common types: salesOrder, purchaseOrder, invoice, customer. Use camelCase format.\"),\n target_record_type: z.string().describe(\"Target record type to create from source. Common transformations: salesOrder→invoice, salesOrder→itemFulfillment, purchaseOrder→itemReceipt, purchaseOrder→vendorBill. Use camelCase format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.string().describe(\"Controls strictness for property name validation (ignore|warning|error).\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.string().describe(\"Controls strictness for property value validation (ignore|warning|error).\").optional(),\n});\nexport const NetsuiteTransformRecordOutput = z.object({\n location: z.string().describe(\"Location header URL for async job status (only for async requests)\").nullable().optional(),\n preference_applied: z.string().describe(\"Preference-Applied header value (only for async requests)\").nullable().optional(),\n}).describe(\"Response for TransformRecord action.\\nReturns empty for synchronous transforms (204 No Content).\\nReturns location and preference_applied for async transforms (202 Accepted).\");\n\nexport const netsuiteTransformRecord = action(\"NETSUITE_TRANSFORM_RECORD\", {\n slug: \"netsuite-transform-record\",\n name: \"Transform Record\",\n description: \"Transform an existing NetSuite record into another record type (e.g., sales order to invoice, purchase order to item receipt). Creates a new target record populated with data from the source record. Supports common business workflows like: - Converting sales orders to invoices or item fulfillments - Converting purchase orders to item receipts or vendor bills - Converting invoices to credit memos Optionally override fields on the transformed record via record_body parameter.\",\n input: NetsuiteTransformRecordInput,\n output: NetsuiteTransformRecordOutput,\n});\n"],"mappings":";;AAoBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;EACrQ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;EAC5I,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC5I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;EAC5J,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L;EACtO,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC9I,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAClJ,CAUS;CACP,QAV2C,EAAE,OAAO;EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"transform-record.mjs","names":[],"sources":["../../src/actions/transform-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteTransformRecordInput = z.object({\n Prefer: z.string().describe(\"Use 'respond-async' to run the transform asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided in record_body. The sublists must be present in record_body or the request will fail. Common sublists: 'item', 'apply'. Example: 'item' or 'apply,item'.\").optional(),\n record_id: z.number().int().describe(\"Internal ID of the source record instance to transform. Must be a valid, existing record in NetSuite.\"),\n record_body: z.record(z.string(), z.unknown()).describe(\"Optional JSON object with field values to set on the transformed record\").optional(),\n source_record_type: z.string().describe(\"Source record type to transform. Common types: salesOrder, purchaseOrder, invoice, customer. Use camelCase format.\"),\n target_record_type: z.string().describe(\"Target record type to create from source. Common transformations: salesOrder→invoice, salesOrder→itemFulfillment, purchaseOrder→itemReceipt, purchaseOrder→vendorBill. Use camelCase format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.string().describe(\"Controls strictness for property name validation (ignore|warning|error).\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.string().describe(\"Controls strictness for property value validation (ignore|warning|error).\").optional(),\n});\nexport const NetsuiteTransformRecordOutput = z.object({\n location: z.string().describe(\"Location header URL for async job status (only for async requests)\").nullable().optional(),\n preference_applied: z.string().describe(\"Preference-Applied header value (only for async requests)\").nullable().optional(),\n}).passthrough().describe(\"Response for TransformRecord action.\\nReturns empty for synchronous transforms (204 No Content).\\nReturns location and preference_applied for async transforms (202 Accepted).\");\n\nexport const netsuiteTransformRecord = action(\"NETSUITE_TRANSFORM_RECORD\", {\n slug: \"netsuite-transform-record\",\n name: \"Transform Record\",\n description: \"Transform an existing NetSuite record into another record type (e.g., sales order to invoice, purchase order to item receipt). Creates a new target record populated with data from the source record. Supports common business workflows like: - Converting sales orders to invoices or item fulfillments - Converting purchase orders to item receipts or vendor bills - Converting invoices to credit memos Optionally override fields on the transformed record via record_body parameter.\",\n input: NetsuiteTransformRecordInput,\n output: NetsuiteTransformRecordOutput,\n});\n"],"mappings":";;AAoBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;EACrQ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;EAC5I,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC5I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;EAC5J,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L;EACtO,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC9I,sCAAsC,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAClJ,CAUS;CACP,QAV2C,EAAE,OAAO;EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gLAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const NetsuiteUpdateCustomerPaymentInput = zod.z.object({
|
|
|
20
20
|
const NetsuiteUpdateCustomerPaymentOutput = zod.z.object({
|
|
21
21
|
location: zod.z.string().describe("URL of the updated customer payment record or async job status.").nullable().optional(),
|
|
22
22
|
preference_applied: zod.z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const netsuiteUpdateCustomerPayment = require_action.action("NETSUITE_UPDATE_CUSTOMER_PAYMENT", {
|
|
25
25
|
slug: "netsuite-update-customer-payment",
|
|
26
26
|
name: "Update Customer Payment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerPaymentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateCustomerPayment = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":";;;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,yTAAyT;CAC1W,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC;
|
|
1
|
+
{"version":3,"file":"update-customer-payment.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerPaymentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomerPayment = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":";;;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,yTAAyT;CAC1W,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChK,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACpK,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateCustomerPaymentInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateCustomerPaymentOutput: 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 netsuiteUpdateCustomerPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteUpdateCustomerPaymentInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteUpdateCustomerPaymentOutput: 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 netsuiteUpdateCustomerPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
data: Record<string, unknown>;
|
|
@@ -23,7 +23,7 @@ const netsuiteUpdateCustomerPayment = action("NETSUITE_UPDATE_CUSTOMER_PAYMENT",
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
location: z.string().describe("URL of the updated customer payment record or async job status.").nullable().optional(),
|
|
25
25
|
preference_applied: z.string().describe("Value of the 'Preference-Applied' header, indicates async processing.").nullable().optional()
|
|
26
|
-
})
|
|
26
|
+
}).passthrough()
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { netsuiteUpdateCustomerPayment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer-payment.mjs","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerPaymentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateCustomerPayment = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yTAAyT;EAC1W,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAUS;CACP,QAViD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,
|
|
1
|
+
{"version":3,"file":"update-customer-payment.mjs","names":[],"sources":["../../src/actions/update-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerPaymentInput = z.object({\n id: z.number().int().describe(\"Internal identifier of the customer payment record to update.\"),\n data: z.record(z.string(), z.unknown()).describe(\"Customer payment record JSON object containing fields to update; omitted fields remain unchanged. Common updatable fields include: memo (string), toBeEmailed (boolean), tranDate (date string), account (object with id), and other payment metadata. Example: {\\\"memo\\\": \\\"Payment received\\\", \\\"toBeEmailed\\\": true}\"),\n prefer: z.string().describe(\"Use 'respond-async' to request asynchronous processing.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string to use as idempotency key for async requests.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property name validation: Error, Warning, or Ignore.\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Strictness level for property value validation: Error, Warning, or Ignore.\").optional(),\n});\nexport const NetsuiteUpdateCustomerPaymentOutput = z.object({\n location: z.string().describe(\"URL of the updated customer payment record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Value of the 'Preference-Applied' header, indicates async processing.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomerPayment = action(\"NETSUITE_UPDATE_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-update-customer-payment\",\n name: \"Update Customer Payment\",\n description: \"Tool to update an existing customer payment by ID. Use when you need to modify fields of a customer payment record. Updates only the specified fields; all other fields remain unchanged. Common use cases include updating memo notes, email preferences, or transaction metadata.\",\n input: NetsuiteUpdateCustomerPaymentInput,\n output: NetsuiteUpdateCustomerPaymentOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yTAAyT;EAC1W,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACnH,0BAA0B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAChK,2BAA2B,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpK,CAUS;CACP,QAViD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const NetsuiteUpdateCustomerInput = zod.z.object({
|
|
|
20
20
|
const NetsuiteUpdateCustomerOutput = zod.z.object({
|
|
21
21
|
location: zod.z.string().describe("URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.").nullable().optional(),
|
|
22
22
|
preference_applied: zod.z.string().describe("Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const netsuiteUpdateCustomer = require_action.action("NETSUITE_UPDATE_CUSTOMER", {
|
|
25
25
|
slug: "netsuite-update-customer",
|
|
26
26
|
name: "Update Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs.\"),\n data: z.record(z.string(), z.unknown()).describe(\"JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'}).\"),\n prefer: z.string().describe(\"Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).\").optional(),\n});\nexport const NetsuiteUpdateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.\").nullable().optional(),\n});\n\nexport const netsuiteUpdateCustomer = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC3H,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yWAAyW;CAC1Z,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CACnQ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACpP,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxP,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;AACxQ,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvP,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjL,CAAC;
|
|
1
|
+
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteUpdateCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer record to update. Use GET Customer to retrieve existing customer IDs.\"),\n data: z.record(z.string(), z.unknown()).describe(\"JSON object with customer fields to update. Only include fields you want to change; omitted fields remain unchanged. Common fields: 'companyName' (string), 'email' (string), 'phone' (string), 'comments' (string), 'emailTransactions' (boolean), 'entityStatus' (object with 'id'), etc. Reference fields should be objects with 'id' property (e.g., {'id': '13'}).\"),\n prefer: z.string().describe(\"Set to 'respond-async' for asynchronous processing. When used, the operation returns immediately with a 202 status and job URL in the Location header. Useful for bulk operations or when immediate response isn't needed.\").optional(),\n idempotency_key: z.string().describe(\"RFC4122 UUID string for idempotent async requests (e.g., '550e8400-e29b-41d4-a716-446655440000'). Only used when 'prefer' is 'respond-async'. Prevents duplicate operations if request is retried.\").optional(),\n property_name_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property names in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (silently ignores invalid names).\").optional(),\n property_value_validation: z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"How to handle invalid property values in request: 'Error' (default, rejects request), 'Warning' (accepts with warning), 'Ignore' (attempts to proceed despite invalid values).\").optional(),\n});\nexport const NetsuiteUpdateCustomerOutput = z.object({\n location: z.string().describe(\"URL of the updated customer record. For synchronous requests (204 response), this is the direct record URL. For async requests (202 response), this is the job status URL to poll for completion.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when asynchronous processing was requested and applied. Null for synchronous operations.\").nullable().optional(),\n}).passthrough();\n\nexport const netsuiteUpdateCustomer = action(\"NETSUITE_UPDATE_CUSTOMER\", {\n slug: \"netsuite-update-customer\",\n name: \"Update Customer\",\n description: \"Updates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified. Use this action to: - Update customer contact information (email, phone, address) - Change customer status, sales rep, territory, or terms - Modify customer preferences and settings - Update custom fields Returns the location URL of the updated record. Supports both synchronous (immediate) and asynchronous processing modes.\",\n input: NetsuiteUpdateCustomerInput,\n output: NetsuiteUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC3H,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yWAAyW;CAC1Z,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CACnQ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACpP,0BAA0BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxP,2BAA2BA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;AACxQ,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvP,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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>;
|