@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
|
@@ -23,7 +23,7 @@ const netsuiteCreateInvoice = action("NETSUITE_CREATE_INVOICE", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
location: z.string().describe("URL of the created Invoice record or async job status.").nullable().optional(),
|
|
25
25
|
"Preference-Applied": z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
|
|
26
|
-
}).describe("Response model for creating an Invoice record.")
|
|
26
|
+
}).passthrough().describe("Response model for creating an Invoice record.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { netsuiteCreateInvoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-invoice.mjs","names":[],"sources":["../../src/actions/create-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateInvoiceInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Invoice metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Invoice record.\");\nexport const NetsuiteCreateInvoiceOutput = z.object({\n location: z.string().describe(\"URL of the created Invoice record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Invoice record.\");\n\nexport const netsuiteCreateInvoice = action(\"NETSUITE_CREATE_INVOICE\", {\n slug: \"netsuite-create-invoice\",\n name: \"Create Invoice\",\n description: \"Tool to create a new invoice record. Use when you have all required invoice details and want to add them to NetSuite.\",\n input: NetsuiteCreateInvoiceInput,\n output: NetsuiteCreateInvoiceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;EAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-invoice.mjs","names":[],"sources":["../../src/actions/create-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateInvoiceInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Invoice metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Invoice record.\");\nexport const NetsuiteCreateInvoiceOutput = z.object({\n location: z.string().describe(\"URL of the created Invoice record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an Invoice record.\");\n\nexport const netsuiteCreateInvoice = action(\"NETSUITE_CREATE_INVOICE\", {\n slug: \"netsuite-create-invoice\",\n name: \"Create Invoice\",\n description: \"Tool to create a new invoice record. Use when you have all required invoice details and want to add them to NetSuite.\",\n input: NetsuiteCreateInvoiceInput,\n output: NetsuiteCreateInvoiceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;EAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -35,7 +35,7 @@ const NetsuiteCreateItemInput = zod.z.object({
|
|
|
35
35
|
const NetsuiteCreateItemOutput = zod.z.object({
|
|
36
36
|
location: zod.z.string().describe("URL of the created Item record or async job status.").nullable().optional(),
|
|
37
37
|
preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
|
|
38
|
-
}).describe("Response model for creating an Item record.");
|
|
38
|
+
}).passthrough().describe("Response model for creating an Item record.");
|
|
39
39
|
const netsuiteCreateItem = require_action.action("NETSUITE_CREATE_ITEM", {
|
|
40
40
|
slug: "netsuite-create-item",
|
|
41
41
|
name: "Create Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-item.cjs","names":["z","action"],"sources":["../../src/actions/create-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateItemInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Item data as JSON object. Required fields vary by record_type. Minimum required for all types: 'itemId' (unique identifier) and 'displayName' (item name). Additional common fields: 'description', 'isInactive', 'taxSchedule' (object with 'id' property, required for inventory/service items), 'incomeAccount', 'assetAccount', 'cogsAccount' (account references as objects with 'id' property). Note: Required fields depend on your NetSuite account configuration and the specific item type.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to queue the create operation for asynchronous processing. Note: Using this option typically results in HTTP 202 Accepted with a Location header to poll job status.\").optional(),\n replace: z.string().describe(\"Comma-separated names of sublists/sub-collections to replace entirely (not merge) with provided data. Common sublists: 'pricing' (price levels), 'itemVendor' (vendor associations), 'binNumber' (bin locations). If omitted, sublists are merged/appended. Use this to completely overwrite existing sublist data.\").optional(),\n record_type: z.enum([\"inventoryItem\", \"assemblyItem\", \"serviceSaleItem\", \"serviceResaleItem\", \"servicePurchaseItem\", \"nonInventorySaleItem\", \"nonInventoryResaleItem\", \"nonInventoryPurchaseItem\", \"otherChargeSaleItem\", \"otherChargePurchaseItem\", \"descriptionItem\", \"markupItem\", \"downloadItem\"]).describe(\"Type of item to create. Common types: 'inventoryItem' (tracked inventory with quantities), 'descriptionItem' (non-transactional descriptive text), 'serviceSaleItem' (services sold to customers), 'markupItem' (markup/discount items). Note: Different types have different required fields - inventoryItem and serviceSaleItem typically require taxSchedule, incomeAccount, assetAccount, cogsAccount; descriptionItem only requires itemId and displayName.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles unrecognized property names in the request body. 'Error' (default): Reject request if unrecognized properties exist. 'Warning': Accept request but return warnings. 'Ignore Warning': Accept request silently ignoring unrecognized properties.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default): Reject request if invalid values exist. 'Warning': Accept request but return warnings for invalid values. 'Ignore Error': Attempt to process request ignoring validation errors (not recommended).\").optional(),\n}).describe(\"Request model for creating a NetSuite Item record.\");\nexport const NetsuiteCreateItemOutput = z.object({\n location: z.string().describe(\"URL of the created Item record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Item record.\");\n\nexport const netsuiteCreateItem = action(\"NETSUITE_CREATE_ITEM\", {\n slug: \"netsuite-create-item\",\n name: \"Create Item\",\n description: \"Creates a new item record in NetSuite via REST API. Supports multiple item types including inventory items, service items, and description items. Returns the URL of the created item. Use this when you need to add new products, services, or descriptive items to the NetSuite catalog.\",\n input: NetsuiteCreateItemInput,\n output: NetsuiteCreateItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ueAAue;CACxhB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACjO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT,CAAC,CAAC,SAAS;CAC7V,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAgB;EAAmB;EAAqB;EAAuB;EAAwB;EAA0B;EAA4B;EAAuB;EAA2B;EAAmB;EAAc;CAAc,CAAC,CAAC,CAAC,SAAS,kcAAkc;CAClvB,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,+QAA+Q,CAAC,CAAC,SAAS;CACvX,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;AAC3Y,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"create-item.cjs","names":["z","action"],"sources":["../../src/actions/create-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateItemInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Item data as JSON object. Required fields vary by record_type. Minimum required for all types: 'itemId' (unique identifier) and 'displayName' (item name). Additional common fields: 'description', 'isInactive', 'taxSchedule' (object with 'id' property, required for inventory/service items), 'incomeAccount', 'assetAccount', 'cogsAccount' (account references as objects with 'id' property). Note: Required fields depend on your NetSuite account configuration and the specific item type.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to queue the create operation for asynchronous processing. Note: Using this option typically results in HTTP 202 Accepted with a Location header to poll job status.\").optional(),\n replace: z.string().describe(\"Comma-separated names of sublists/sub-collections to replace entirely (not merge) with provided data. Common sublists: 'pricing' (price levels), 'itemVendor' (vendor associations), 'binNumber' (bin locations). If omitted, sublists are merged/appended. Use this to completely overwrite existing sublist data.\").optional(),\n record_type: z.enum([\"inventoryItem\", \"assemblyItem\", \"serviceSaleItem\", \"serviceResaleItem\", \"servicePurchaseItem\", \"nonInventorySaleItem\", \"nonInventoryResaleItem\", \"nonInventoryPurchaseItem\", \"otherChargeSaleItem\", \"otherChargePurchaseItem\", \"descriptionItem\", \"markupItem\", \"downloadItem\"]).describe(\"Type of item to create. Common types: 'inventoryItem' (tracked inventory with quantities), 'descriptionItem' (non-transactional descriptive text), 'serviceSaleItem' (services sold to customers), 'markupItem' (markup/discount items). Note: Different types have different required fields - inventoryItem and serviceSaleItem typically require taxSchedule, incomeAccount, assetAccount, cogsAccount; descriptionItem only requires itemId and displayName.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles unrecognized property names in the request body. 'Error' (default): Reject request if unrecognized properties exist. 'Warning': Accept request but return warnings. 'Ignore Warning': Accept request silently ignoring unrecognized properties.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default): Reject request if invalid values exist. 'Warning': Accept request but return warnings for invalid values. 'Ignore Error': Attempt to process request ignoring validation errors (not recommended).\").optional(),\n}).describe(\"Request model for creating a NetSuite Item record.\");\nexport const NetsuiteCreateItemOutput = z.object({\n location: z.string().describe(\"URL of the created Item record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an Item record.\");\n\nexport const netsuiteCreateItem = action(\"NETSUITE_CREATE_ITEM\", {\n slug: \"netsuite-create-item\",\n name: \"Create Item\",\n description: \"Creates a new item record in NetSuite via REST API. Supports multiple item types including inventory items, service items, and description items. Returns the URL of the created item. Use this when you need to add new products, services, or descriptive items to the NetSuite catalog.\",\n input: NetsuiteCreateItemInput,\n output: NetsuiteCreateItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ueAAue;CACxhB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACjO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT,CAAC,CAAC,SAAS;CAC7V,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAgB;EAAmB;EAAqB;EAAuB;EAAwB;EAA0B;EAA4B;EAAuB;EAA2B;EAAmB;EAAc;CAAc,CAAC,CAAC,CAAC,SAAS,kcAAkc;CAClvB,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,+QAA+Q,CAAC,CAAC,SAAS;CACvX,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;AAC3Y,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,16 +7,16 @@ declare const NetsuiteCreateItemInput: z.ZodObject<{
|
|
|
7
7
|
replace: z.ZodOptional<z.ZodString>;
|
|
8
8
|
record_type: z.ZodEnum<{
|
|
9
9
|
inventoryItem: "inventoryItem";
|
|
10
|
+
nonInventoryPurchaseItem: "nonInventoryPurchaseItem";
|
|
10
11
|
assemblyItem: "assemblyItem";
|
|
12
|
+
descriptionItem: "descriptionItem";
|
|
11
13
|
serviceSaleItem: "serviceSaleItem";
|
|
12
14
|
serviceResaleItem: "serviceResaleItem";
|
|
13
15
|
servicePurchaseItem: "servicePurchaseItem";
|
|
14
16
|
nonInventorySaleItem: "nonInventorySaleItem";
|
|
15
17
|
nonInventoryResaleItem: "nonInventoryResaleItem";
|
|
16
|
-
nonInventoryPurchaseItem: "nonInventoryPurchaseItem";
|
|
17
18
|
otherChargeSaleItem: "otherChargeSaleItem";
|
|
18
19
|
otherChargePurchaseItem: "otherChargePurchaseItem";
|
|
19
|
-
descriptionItem: "descriptionItem";
|
|
20
20
|
markupItem: "markupItem";
|
|
21
21
|
downloadItem: "downloadItem";
|
|
22
22
|
}>;
|
|
@@ -35,10 +35,10 @@ declare const NetsuiteCreateItemInput: z.ZodObject<{
|
|
|
35
35
|
declare const NetsuiteCreateItemOutput: z.ZodObject<{
|
|
36
36
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const netsuiteCreateItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
body: Record<string, unknown>;
|
|
41
|
-
record_type: "inventoryItem" | "
|
|
41
|
+
record_type: "inventoryItem" | "nonInventoryPurchaseItem" | "assemblyItem" | "descriptionItem" | "serviceSaleItem" | "serviceResaleItem" | "servicePurchaseItem" | "nonInventorySaleItem" | "nonInventoryResaleItem" | "otherChargeSaleItem" | "otherChargePurchaseItem" | "markupItem" | "downloadItem";
|
|
42
42
|
Prefer?: string | undefined;
|
|
43
43
|
replace?: string | undefined;
|
|
44
44
|
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
@@ -7,16 +7,16 @@ declare const NetsuiteCreateItemInput: z.ZodObject<{
|
|
|
7
7
|
replace: z.ZodOptional<z.ZodString>;
|
|
8
8
|
record_type: z.ZodEnum<{
|
|
9
9
|
inventoryItem: "inventoryItem";
|
|
10
|
+
nonInventoryPurchaseItem: "nonInventoryPurchaseItem";
|
|
10
11
|
assemblyItem: "assemblyItem";
|
|
12
|
+
descriptionItem: "descriptionItem";
|
|
11
13
|
serviceSaleItem: "serviceSaleItem";
|
|
12
14
|
serviceResaleItem: "serviceResaleItem";
|
|
13
15
|
servicePurchaseItem: "servicePurchaseItem";
|
|
14
16
|
nonInventorySaleItem: "nonInventorySaleItem";
|
|
15
17
|
nonInventoryResaleItem: "nonInventoryResaleItem";
|
|
16
|
-
nonInventoryPurchaseItem: "nonInventoryPurchaseItem";
|
|
17
18
|
otherChargeSaleItem: "otherChargeSaleItem";
|
|
18
19
|
otherChargePurchaseItem: "otherChargePurchaseItem";
|
|
19
|
-
descriptionItem: "descriptionItem";
|
|
20
20
|
markupItem: "markupItem";
|
|
21
21
|
downloadItem: "downloadItem";
|
|
22
22
|
}>;
|
|
@@ -35,10 +35,10 @@ declare const NetsuiteCreateItemInput: z.ZodObject<{
|
|
|
35
35
|
declare const NetsuiteCreateItemOutput: z.ZodObject<{
|
|
36
36
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const netsuiteCreateItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
body: Record<string, unknown>;
|
|
41
|
-
record_type: "inventoryItem" | "
|
|
41
|
+
record_type: "inventoryItem" | "nonInventoryPurchaseItem" | "assemblyItem" | "descriptionItem" | "serviceSaleItem" | "serviceResaleItem" | "servicePurchaseItem" | "nonInventorySaleItem" | "nonInventoryResaleItem" | "otherChargeSaleItem" | "otherChargePurchaseItem" | "markupItem" | "downloadItem";
|
|
42
42
|
Prefer?: string | undefined;
|
|
43
43
|
replace?: string | undefined;
|
|
44
44
|
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
@@ -38,7 +38,7 @@ const netsuiteCreateItem = action("NETSUITE_CREATE_ITEM", {
|
|
|
38
38
|
output: z.object({
|
|
39
39
|
location: z.string().describe("URL of the created Item record or async job status.").nullable().optional(),
|
|
40
40
|
preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
|
|
41
|
-
}).describe("Response model for creating an Item record.")
|
|
41
|
+
}).passthrough().describe("Response model for creating an Item record.")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
44
|
export { netsuiteCreateItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-item.mjs","names":[],"sources":["../../src/actions/create-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateItemInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Item data as JSON object. Required fields vary by record_type. Minimum required for all types: 'itemId' (unique identifier) and 'displayName' (item name). Additional common fields: 'description', 'isInactive', 'taxSchedule' (object with 'id' property, required for inventory/service items), 'incomeAccount', 'assetAccount', 'cogsAccount' (account references as objects with 'id' property). Note: Required fields depend on your NetSuite account configuration and the specific item type.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to queue the create operation for asynchronous processing. Note: Using this option typically results in HTTP 202 Accepted with a Location header to poll job status.\").optional(),\n replace: z.string().describe(\"Comma-separated names of sublists/sub-collections to replace entirely (not merge) with provided data. Common sublists: 'pricing' (price levels), 'itemVendor' (vendor associations), 'binNumber' (bin locations). If omitted, sublists are merged/appended. Use this to completely overwrite existing sublist data.\").optional(),\n record_type: z.enum([\"inventoryItem\", \"assemblyItem\", \"serviceSaleItem\", \"serviceResaleItem\", \"servicePurchaseItem\", \"nonInventorySaleItem\", \"nonInventoryResaleItem\", \"nonInventoryPurchaseItem\", \"otherChargeSaleItem\", \"otherChargePurchaseItem\", \"descriptionItem\", \"markupItem\", \"downloadItem\"]).describe(\"Type of item to create. Common types: 'inventoryItem' (tracked inventory with quantities), 'descriptionItem' (non-transactional descriptive text), 'serviceSaleItem' (services sold to customers), 'markupItem' (markup/discount items). Note: Different types have different required fields - inventoryItem and serviceSaleItem typically require taxSchedule, incomeAccount, assetAccount, cogsAccount; descriptionItem only requires itemId and displayName.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles unrecognized property names in the request body. 'Error' (default): Reject request if unrecognized properties exist. 'Warning': Accept request but return warnings. 'Ignore Warning': Accept request silently ignoring unrecognized properties.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default): Reject request if invalid values exist. 'Warning': Accept request but return warnings for invalid values. 'Ignore Error': Attempt to process request ignoring validation errors (not recommended).\").optional(),\n}).describe(\"Request model for creating a NetSuite Item record.\");\nexport const NetsuiteCreateItemOutput = z.object({\n location: z.string().describe(\"URL of the created Item record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating an Item record.\");\n\nexport const netsuiteCreateItem = action(\"NETSUITE_CREATE_ITEM\", {\n slug: \"netsuite-create-item\",\n name: \"Create Item\",\n description: \"Creates a new item record in NetSuite via REST API. Supports multiple item types including inventory items, service items, and description items. Returns the URL of the created item. Use this when you need to add new products, services, or descriptive items to the NetSuite catalog.\",\n input: NetsuiteCreateItemInput,\n output: NetsuiteCreateItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ueAAue;EACxhB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;EACjO,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT,CAAC,CAAC,SAAS;EAC7V,aAAa,EAAE,KAAK;GAAC;GAAiB;GAAgB;GAAmB;GAAqB;GAAuB;GAAwB;GAA0B;GAA4B;GAAuB;GAA2B;GAAmB;GAAc;EAAc,CAAC,CAAC,CAAC,SAAS,kcAAkc;EAClvB,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,+QAA+Q,CAAC,CAAC,SAAS;EACvX,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;CAC3Y,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-item.mjs","names":[],"sources":["../../src/actions/create-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateItemInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Item data as JSON object. Required fields vary by record_type. Minimum required for all types: 'itemId' (unique identifier) and 'displayName' (item name). Additional common fields: 'description', 'isInactive', 'taxSchedule' (object with 'id' property, required for inventory/service items), 'incomeAccount', 'assetAccount', 'cogsAccount' (account references as objects with 'id' property). Note: Required fields depend on your NetSuite account configuration and the specific item type.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to queue the create operation for asynchronous processing. Note: Using this option typically results in HTTP 202 Accepted with a Location header to poll job status.\").optional(),\n replace: z.string().describe(\"Comma-separated names of sublists/sub-collections to replace entirely (not merge) with provided data. Common sublists: 'pricing' (price levels), 'itemVendor' (vendor associations), 'binNumber' (bin locations). If omitted, sublists are merged/appended. Use this to completely overwrite existing sublist data.\").optional(),\n record_type: z.enum([\"inventoryItem\", \"assemblyItem\", \"serviceSaleItem\", \"serviceResaleItem\", \"servicePurchaseItem\", \"nonInventorySaleItem\", \"nonInventoryResaleItem\", \"nonInventoryPurchaseItem\", \"otherChargeSaleItem\", \"otherChargePurchaseItem\", \"descriptionItem\", \"markupItem\", \"downloadItem\"]).describe(\"Type of item to create. Common types: 'inventoryItem' (tracked inventory with quantities), 'descriptionItem' (non-transactional descriptive text), 'serviceSaleItem' (services sold to customers), 'markupItem' (markup/discount items). Note: Different types have different required fields - inventoryItem and serviceSaleItem typically require taxSchedule, incomeAccount, assetAccount, cogsAccount; descriptionItem only requires itemId and displayName.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls how NetSuite handles unrecognized property names in the request body. 'Error' (default): Reject request if unrecognized properties exist. 'Warning': Accept request but return warnings. 'Ignore Warning': Accept request silently ignoring unrecognized properties.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls how NetSuite handles invalid property values in the request body. 'Error' (default): Reject request if invalid values exist. 'Warning': Accept request but return warnings for invalid values. 'Ignore Error': Attempt to process request ignoring validation errors (not recommended).\").optional(),\n}).describe(\"Request model for creating a NetSuite Item record.\");\nexport const NetsuiteCreateItemOutput = z.object({\n location: z.string().describe(\"URL of the created Item record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an Item record.\");\n\nexport const netsuiteCreateItem = action(\"NETSUITE_CREATE_ITEM\", {\n slug: \"netsuite-create-item\",\n name: \"Create Item\",\n description: \"Creates a new item record in NetSuite via REST API. Supports multiple item types including inventory items, service items, and description items. Returns the URL of the created item. Use this when you need to add new products, services, or descriptive items to the NetSuite catalog.\",\n input: NetsuiteCreateItemInput,\n output: NetsuiteCreateItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ueAAue;EACxhB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;EACjO,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT,CAAC,CAAC,SAAS;EAC7V,aAAa,EAAE,KAAK;GAAC;GAAiB;GAAgB;GAAmB;GAAqB;GAAuB;GAAwB;GAA0B;GAA4B;GAAuB;GAA2B;GAAmB;GAAc;EAAc,CAAC,CAAC,CAAC,SAAS,kcAAkc;EAClvB,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,+QAA+Q,CAAC,CAAC,SAAS;EACvX,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;CAC3Y,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const NetsuiteCreateJournalEntryInput = zod.z.object({
|
|
|
20
20
|
const NetsuiteCreateJournalEntryOutput = zod.z.object({
|
|
21
21
|
location: zod.z.string().describe("URL of the created Journal Entry record or async job status.").nullable().optional(),
|
|
22
22
|
"Preference-Applied": zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
|
|
23
|
-
}).describe("Response model for creating a Journal Entry record.");
|
|
23
|
+
}).passthrough().describe("Response model for creating a Journal Entry record.");
|
|
24
24
|
const netsuiteCreateJournalEntry = require_action.action("NETSUITE_CREATE_JOURNAL_ENTRY", {
|
|
25
25
|
slug: "netsuite-create-journal-entry",
|
|
26
26
|
name: "Create Journal Entry",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-journal-entry.cjs","names":["z","action"],"sources":["../../src/actions/create-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJournalEntryInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Journal Entry metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Journal Entry record.\");\nexport const NetsuiteCreateJournalEntryOutput = z.object({\n location: z.string().describe(\"URL of the created Journal Entry record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Journal Entry record.\");\n\nexport const netsuiteCreateJournalEntry = action(\"NETSUITE_CREATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-create-journal-entry\",\n name: \"Create Journal Entry\",\n description: \"Tool to create a new journal entry record. Use when posting balanced debits and credits to the general ledger.\",\n input: NetsuiteCreateJournalEntryInput,\n output: NetsuiteCreateJournalEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"create-journal-entry.cjs","names":["z","action"],"sources":["../../src/actions/create-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJournalEntryInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Journal Entry metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Journal Entry record.\");\nexport const NetsuiteCreateJournalEntryOutput = z.object({\n location: z.string().describe(\"URL of the created Journal Entry record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Journal Entry record.\");\n\nexport const netsuiteCreateJournalEntry = action(\"NETSUITE_CREATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-create-journal-entry\",\n name: \"Create Journal Entry\",\n description: \"Tool to create a new journal entry record. Use when posting balanced debits and credits to the general ledger.\",\n input: NetsuiteCreateJournalEntryInput,\n output: NetsuiteCreateJournalEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteCreateJournalEntryInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteCreateJournalEntryOutput: 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 netsuiteCreateJournalEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
body: Record<string, unknown>;
|
|
26
26
|
Prefer?: string | undefined;
|
|
@@ -20,7 +20,7 @@ declare const NetsuiteCreateJournalEntryInput: z.ZodObject<{
|
|
|
20
20
|
declare const NetsuiteCreateJournalEntryOutput: 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 netsuiteCreateJournalEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
body: Record<string, unknown>;
|
|
26
26
|
Prefer?: string | undefined;
|
|
@@ -23,7 +23,7 @@ const netsuiteCreateJournalEntry = action("NETSUITE_CREATE_JOURNAL_ENTRY", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
location: z.string().describe("URL of the created Journal Entry record or async job status.").nullable().optional(),
|
|
25
25
|
"Preference-Applied": z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
|
|
26
|
-
}).describe("Response model for creating a Journal Entry record.")
|
|
26
|
+
}).passthrough().describe("Response model for creating a Journal Entry record.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { netsuiteCreateJournalEntry };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-journal-entry.mjs","names":[],"sources":["../../src/actions/create-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJournalEntryInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Journal Entry metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Journal Entry record.\");\nexport const NetsuiteCreateJournalEntryOutput = z.object({\n location: z.string().describe(\"URL of the created Journal Entry record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a Journal Entry record.\");\n\nexport const netsuiteCreateJournalEntry = action(\"NETSUITE_CREATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-create-journal-entry\",\n name: \"Create Journal Entry\",\n description: \"Tool to create a new journal entry record. Use when posting balanced debits and credits to the general ledger.\",\n input: NetsuiteCreateJournalEntryInput,\n output: NetsuiteCreateJournalEntryOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV8C,EAAE,OAAO;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-journal-entry.mjs","names":[],"sources":["../../src/actions/create-journal-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJournalEntryInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite Journal Entry metadata; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Journal Entry record.\");\nexport const NetsuiteCreateJournalEntryOutput = z.object({\n location: z.string().describe(\"URL of the created Journal Entry record or async job status.\").nullable().optional(),\n \"Preference-Applied\": z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Journal Entry record.\");\n\nexport const netsuiteCreateJournalEntry = action(\"NETSUITE_CREATE_JOURNAL_ENTRY\", {\n slug: \"netsuite-create-journal-entry\",\n name: \"Create Journal Entry\",\n description: \"Tool to create a new journal entry record. Use when posting balanced debits and credits to the general ledger.\",\n input: NetsuiteCreateJournalEntryInput,\n output: NetsuiteCreateJournalEntryOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV8C,EAAE,OAAO;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const NetsuiteCreateJwtClientAssertionInput = zod.z.object({
|
|
|
11
11
|
certificate_id: zod.z.string().describe("Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.").optional(),
|
|
12
12
|
private_key_pem: zod.z.string().describe("RSA private key in PEM format used to sign the JWT with PS256. If omitted, taken from metadata consumer_secret.").optional()
|
|
13
13
|
});
|
|
14
|
-
const NetsuiteCreateJwtClientAssertionOutput = zod.z.object({ client_assertion: zod.z.string().describe("Signed JWT client assertion in compact form.").nullable() });
|
|
14
|
+
const NetsuiteCreateJwtClientAssertionOutput = zod.z.object({ client_assertion: zod.z.string().describe("Signed JWT client assertion in compact form.").nullable() }).passthrough();
|
|
15
15
|
const netsuiteCreateJwtClientAssertion = require_action.action("NETSUITE_CREATE_JWT_CLIENT_ASSERTION", {
|
|
16
16
|
slug: "netsuite-create-jwt-client-assertion",
|
|
17
17
|
name: "Create JWT Client Assertion",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-jwt-client-assertion.cjs","names":["z","action"],"sources":["../../src/actions/create-jwt-client-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJwtClientAssertionInput = z.object({\n alg: z.string().describe(\"Signing algorithm to use. Defaults to PS256. Supported: PS256 (RSA-PSS), RS256 (RSA), HS256 (HMAC).\").optional(),\n aud: z.string().describe(\"Audience for the JWT assertion. Defaults to the NetSuite OAuth2 token endpoint for your account.\").optional(),\n exp: z.number().int().describe(\"Expiration time as Unix timestamp (seconds). Must be no more than 3600 seconds after iat. Defaults to iat + 300.\").optional(),\n iat: z.number().int().describe(\"Issued-at time as Unix timestamp (seconds). Defaults to current time.\").optional(),\n scope: z.string().describe(\"Comma-separated list of scopes for the JWT assertion. Allowed values: restlets, rest_webservices, suite_analytics.\"),\n client_id: z.string().describe(\"Integration client ID (Application ID) to use as JWT issuer (iss). If omitted, taken from metadata.\").optional(),\n certificate_id: z.string().describe(\"Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.\").optional(),\n private_key_pem: z.string().describe(\"RSA private key in PEM format used to sign the JWT with PS256. If omitted, taken from metadata consumer_secret.\").optional(),\n});\nexport const NetsuiteCreateJwtClientAssertionOutput = z.object({\n client_assertion: z.string().describe(\"Signed JWT client assertion in compact form.\").nullable(),\n});\n\nexport const netsuiteCreateJwtClientAssertion = action(\"NETSUITE_CREATE_JWT_CLIENT_ASSERTION\", {\n slug: \"netsuite-create-jwt-client-assertion\",\n name: \"Create JWT Client Assertion\",\n description: \"Tool to build a JWT client assertion for NetSuite OAuth2 client credentials. Use before exchanging for an access token.\",\n input: NetsuiteCreateJwtClientAssertionInput,\n output: NetsuiteCreateJwtClientAssertionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACzI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACtI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC5J,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACxI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AACnK,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"create-jwt-client-assertion.cjs","names":["z","action"],"sources":["../../src/actions/create-jwt-client-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJwtClientAssertionInput = z.object({\n alg: z.string().describe(\"Signing algorithm to use. Defaults to PS256. Supported: PS256 (RSA-PSS), RS256 (RSA), HS256 (HMAC).\").optional(),\n aud: z.string().describe(\"Audience for the JWT assertion. Defaults to the NetSuite OAuth2 token endpoint for your account.\").optional(),\n exp: z.number().int().describe(\"Expiration time as Unix timestamp (seconds). Must be no more than 3600 seconds after iat. Defaults to iat + 300.\").optional(),\n iat: z.number().int().describe(\"Issued-at time as Unix timestamp (seconds). Defaults to current time.\").optional(),\n scope: z.string().describe(\"Comma-separated list of scopes for the JWT assertion. Allowed values: restlets, rest_webservices, suite_analytics.\"),\n client_id: z.string().describe(\"Integration client ID (Application ID) to use as JWT issuer (iss). If omitted, taken from metadata.\").optional(),\n certificate_id: z.string().describe(\"Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.\").optional(),\n private_key_pem: z.string().describe(\"RSA private key in PEM format used to sign the JWT with PS256. If omitted, taken from metadata consumer_secret.\").optional(),\n});\nexport const NetsuiteCreateJwtClientAssertionOutput = z.object({\n client_assertion: z.string().describe(\"Signed JWT client assertion in compact form.\").nullable(),\n}).passthrough();\n\nexport const netsuiteCreateJwtClientAssertion = action(\"NETSUITE_CREATE_JWT_CLIENT_ASSERTION\", {\n slug: \"netsuite-create-jwt-client-assertion\",\n name: \"Create JWT Client Assertion\",\n description: \"Tool to build a JWT client assertion for NetSuite OAuth2 client credentials. Use before exchanging for an access token.\",\n input: NetsuiteCreateJwtClientAssertionInput,\n output: NetsuiteCreateJwtClientAssertionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACzI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACtI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC5J,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACxI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AACnK,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const NetsuiteCreateJwtClientAssertionInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const NetsuiteCreateJwtClientAssertionOutput: z.ZodObject<{
|
|
15
15
|
client_assertion: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const netsuiteCreateJwtClientAssertion: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
scope: string;
|
|
19
19
|
alg?: string | undefined;
|
|
@@ -13,7 +13,7 @@ declare const NetsuiteCreateJwtClientAssertionInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const NetsuiteCreateJwtClientAssertionOutput: z.ZodObject<{
|
|
15
15
|
client_assertion: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const netsuiteCreateJwtClientAssertion: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
scope: string;
|
|
19
19
|
alg?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const netsuiteCreateJwtClientAssertion = action("NETSUITE_CREATE_JWT_CLIENT_ASSE
|
|
|
14
14
|
certificate_id: z.string().describe("Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.").optional(),
|
|
15
15
|
private_key_pem: z.string().describe("RSA private key in PEM format used to sign the JWT with PS256. If omitted, taken from metadata consumer_secret.").optional()
|
|
16
16
|
}),
|
|
17
|
-
output: z.object({ client_assertion: z.string().describe("Signed JWT client assertion in compact form.").nullable() })
|
|
17
|
+
output: z.object({ client_assertion: z.string().describe("Signed JWT client assertion in compact form.").nullable() }).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { netsuiteCreateJwtClientAssertion };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-jwt-client-assertion.mjs","names":[],"sources":["../../src/actions/create-jwt-client-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJwtClientAssertionInput = z.object({\n alg: z.string().describe(\"Signing algorithm to use. Defaults to PS256. Supported: PS256 (RSA-PSS), RS256 (RSA), HS256 (HMAC).\").optional(),\n aud: z.string().describe(\"Audience for the JWT assertion. Defaults to the NetSuite OAuth2 token endpoint for your account.\").optional(),\n exp: z.number().int().describe(\"Expiration time as Unix timestamp (seconds). Must be no more than 3600 seconds after iat. Defaults to iat + 300.\").optional(),\n iat: z.number().int().describe(\"Issued-at time as Unix timestamp (seconds). Defaults to current time.\").optional(),\n scope: z.string().describe(\"Comma-separated list of scopes for the JWT assertion. Allowed values: restlets, rest_webservices, suite_analytics.\"),\n client_id: z.string().describe(\"Integration client ID (Application ID) to use as JWT issuer (iss). If omitted, taken from metadata.\").optional(),\n certificate_id: z.string().describe(\"Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.\").optional(),\n private_key_pem: z.string().describe(\"RSA private key in PEM format used to sign the JWT with PS256. If omitted, taken from metadata consumer_secret.\").optional(),\n});\nexport const NetsuiteCreateJwtClientAssertionOutput = z.object({\n client_assertion: z.string().describe(\"Signed JWT client assertion in compact form.\").nullable(),\n});\n\nexport const netsuiteCreateJwtClientAssertion = action(\"NETSUITE_CREATE_JWT_CLIENT_ASSERTION\", {\n slug: \"netsuite-create-jwt-client-assertion\",\n name: \"Create JWT Client Assertion\",\n description: \"Tool to build a JWT client assertion for NetSuite OAuth2 client credentials. Use before exchanging for an access token.\",\n input: NetsuiteCreateJwtClientAssertionInput,\n output: NetsuiteCreateJwtClientAssertionOutput,\n});\n"],"mappings":";;AAkBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACzI,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACtI,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC5J,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACxI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACnK,CASS;CACP,QAToD,EAAE,OAAO,EAC7D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACjG,
|
|
1
|
+
{"version":3,"file":"create-jwt-client-assertion.mjs","names":[],"sources":["../../src/actions/create-jwt-client-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateJwtClientAssertionInput = z.object({\n alg: z.string().describe(\"Signing algorithm to use. Defaults to PS256. Supported: PS256 (RSA-PSS), RS256 (RSA), HS256 (HMAC).\").optional(),\n aud: z.string().describe(\"Audience for the JWT assertion. Defaults to the NetSuite OAuth2 token endpoint for your account.\").optional(),\n exp: z.number().int().describe(\"Expiration time as Unix timestamp (seconds). Must be no more than 3600 seconds after iat. Defaults to iat + 300.\").optional(),\n iat: z.number().int().describe(\"Issued-at time as Unix timestamp (seconds). Defaults to current time.\").optional(),\n scope: z.string().describe(\"Comma-separated list of scopes for the JWT assertion. Allowed values: restlets, rest_webservices, suite_analytics.\"),\n client_id: z.string().describe(\"Integration client ID (Application ID) to use as JWT issuer (iss). If omitted, taken from metadata.\").optional(),\n certificate_id: z.string().describe(\"Certificate ID to set as JWT header 'kid'. If omitted, taken from metadata consumer_id.\").optional(),\n private_key_pem: z.string().describe(\"RSA private key in PEM format used to sign the JWT with PS256. If omitted, taken from metadata consumer_secret.\").optional(),\n});\nexport const NetsuiteCreateJwtClientAssertionOutput = z.object({\n client_assertion: z.string().describe(\"Signed JWT client assertion in compact form.\").nullable(),\n}).passthrough();\n\nexport const netsuiteCreateJwtClientAssertion = action(\"NETSUITE_CREATE_JWT_CLIENT_ASSERTION\", {\n slug: \"netsuite-create-jwt-client-assertion\",\n name: \"Create JWT Client Assertion\",\n description: \"Tool to build a JWT client assertion for NetSuite OAuth2 client credentials. Use before exchanging for an access token.\",\n input: NetsuiteCreateJwtClientAssertionInput,\n output: NetsuiteCreateJwtClientAssertionOutput,\n});\n"],"mappings":";;AAkBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACzI,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACtI,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC5J,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACxI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACnK,CASS;CACP,QAToD,EAAE,OAAO,EAC7D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const NetsuiteCreatePurchaseOrderInput = zod.z.object({
|
|
|
8
8
|
taxCode: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
|
|
9
9
|
quantity: zod.z.number().describe("Quantity to order (must be non-negative)"),
|
|
10
10
|
description: zod.z.string().describe("Line description").optional()
|
|
11
|
-
}).describe("A single line item on the purchase order.")).describe("List of line items to include on the purchase order") }).describe("Container for purchase order line items"),
|
|
11
|
+
}).passthrough().describe("A single line item on the purchase order.")).describe("List of line items to include on the purchase order") }).describe("Container for purchase order line items"),
|
|
12
12
|
memo: zod.z.string().describe("Header memo for the purchase order").optional(),
|
|
13
13
|
Prefer: zod.z.string().describe("Use 'respond-async' to run the create operation asynchronously").optional(),
|
|
14
14
|
entity: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Vendor record reference"),
|
|
@@ -31,7 +31,7 @@ const NetsuiteCreatePurchaseOrderInput = zod.z.object({
|
|
|
31
31
|
const NetsuiteCreatePurchaseOrderOutput = zod.z.object({
|
|
32
32
|
location: zod.z.string().describe("URL of the created Purchase Order record or async job status").nullable().optional(),
|
|
33
33
|
preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested").nullable().optional()
|
|
34
|
-
}).describe("Response model for creating a Purchase Order record.");
|
|
34
|
+
}).passthrough().describe("Response model for creating a Purchase Order record.");
|
|
35
35
|
const netsuiteCreatePurchaseOrder = require_action.action("NETSUITE_CREATE_PURCHASE_ORDER", {
|
|
36
36
|
slug: "netsuite-create-purchase-order",
|
|
37
37
|
name: "Create Purchase Order",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-purchase-order.cjs","names":["z","action"],"sources":["../../src/actions/create-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreatePurchaseOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered\"),\n rate: z.number().describe(\"Rate or price per unit for the item\").optional(),\n taxCode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n description: z.string().describe(\"Line description\").optional(),\n}).describe(\"A single line item on the purchase order.\")).describe(\"List of line items to include on the purchase order\"),\n}).describe(\"Container for purchase order line items\"),\n memo: z.string().describe(\"Header memo for the purchase order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Vendor record reference\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n location: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n customForm: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Purchase Order record.\");\nexport const NetsuiteCreatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Purchase Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).describe(\"Response model for creating a Purchase Order record.\");\n\nexport const netsuiteCreatePurchaseOrder = action(\"NETSUITE_CREATE_PURCHASE_ORDER\", {\n slug: \"netsuite-create-purchase-order\",\n name: \"Create Purchase Order\",\n description: \"Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.\",\n input: NetsuiteCreatePurchaseOrderInput,\n output: NetsuiteCreatePurchaseOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,SAASA,IAAAA,EAAE,OAAO,EAClB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,qDAAqD,
|
|
1
|
+
{"version":3,"file":"create-purchase-order.cjs","names":["z","action"],"sources":["../../src/actions/create-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreatePurchaseOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered\"),\n rate: z.number().describe(\"Rate or price per unit for the item\").optional(),\n taxCode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n description: z.string().describe(\"Line description\").optional(),\n}).passthrough().describe(\"A single line item on the purchase order.\")).describe(\"List of line items to include on the purchase order\"),\n}).describe(\"Container for purchase order line items\"),\n memo: z.string().describe(\"Header memo for the purchase order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Vendor record reference\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n location: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n customForm: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Purchase Order record.\");\nexport const NetsuiteCreatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Purchase Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Purchase Order record.\");\n\nexport const netsuiteCreatePurchaseOrder = action(\"NETSUITE_CREATE_PURCHASE_ORDER\", {\n slug: \"netsuite-create-purchase-order\",\n name: \"Create Purchase Order\",\n description: \"Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.\",\n input: NetsuiteCreatePurchaseOrderInput,\n output: NetsuiteCreatePurchaseOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,SAASA,IAAAA,EAAE,OAAO,EAClB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,qDAAqD,EACtI,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,yBAAyB;CACnC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,EACnB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,EACrB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvG,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1J,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAc,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const NetsuiteCreatePurchaseOrderInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>>;
|
|
14
14
|
quantity: z.ZodNumber;
|
|
15
15
|
description: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
memo: z.ZodOptional<z.ZodString>;
|
|
19
19
|
Prefer: z.ZodOptional<z.ZodString>;
|
|
@@ -43,10 +43,11 @@ declare const NetsuiteCreatePurchaseOrderInput: z.ZodObject<{
|
|
|
43
43
|
declare const NetsuiteCreatePurchaseOrderOutput: z.ZodObject<{
|
|
44
44
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>;
|
|
47
47
|
declare const netsuiteCreatePurchaseOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
48
48
|
item: {
|
|
49
49
|
items: {
|
|
50
|
+
[x: string]: unknown;
|
|
50
51
|
item: {
|
|
51
52
|
id: string;
|
|
52
53
|
};
|
|
@@ -13,7 +13,7 @@ declare const NetsuiteCreatePurchaseOrderInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>>;
|
|
14
14
|
quantity: z.ZodNumber;
|
|
15
15
|
description: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
memo: z.ZodOptional<z.ZodString>;
|
|
19
19
|
Prefer: z.ZodOptional<z.ZodString>;
|
|
@@ -43,10 +43,11 @@ declare const NetsuiteCreatePurchaseOrderInput: z.ZodObject<{
|
|
|
43
43
|
declare const NetsuiteCreatePurchaseOrderOutput: z.ZodObject<{
|
|
44
44
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>;
|
|
47
47
|
declare const netsuiteCreatePurchaseOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
48
48
|
item: {
|
|
49
49
|
items: {
|
|
50
|
+
[x: string]: unknown;
|
|
50
51
|
item: {
|
|
51
52
|
id: string;
|
|
52
53
|
};
|
|
@@ -11,7 +11,7 @@ const netsuiteCreatePurchaseOrder = action("NETSUITE_CREATE_PURCHASE_ORDER", {
|
|
|
11
11
|
taxCode: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Reference to another NetSuite record by internal ID.").optional(),
|
|
12
12
|
quantity: z.number().describe("Quantity to order (must be non-negative)"),
|
|
13
13
|
description: z.string().describe("Line description").optional()
|
|
14
|
-
}).describe("A single line item on the purchase order.")).describe("List of line items to include on the purchase order") }).describe("Container for purchase order line items"),
|
|
14
|
+
}).passthrough().describe("A single line item on the purchase order.")).describe("List of line items to include on the purchase order") }).describe("Container for purchase order line items"),
|
|
15
15
|
memo: z.string().describe("Header memo for the purchase order").optional(),
|
|
16
16
|
Prefer: z.string().describe("Use 'respond-async' to run the create operation asynchronously").optional(),
|
|
17
17
|
entity: z.object({ id: z.string().describe("Internal ID of the referenced record") }).describe("Vendor record reference"),
|
|
@@ -34,7 +34,7 @@ const netsuiteCreatePurchaseOrder = action("NETSUITE_CREATE_PURCHASE_ORDER", {
|
|
|
34
34
|
output: z.object({
|
|
35
35
|
location: z.string().describe("URL of the created Purchase Order record or async job status").nullable().optional(),
|
|
36
36
|
preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested").nullable().optional()
|
|
37
|
-
}).describe("Response model for creating a Purchase Order record.")
|
|
37
|
+
}).passthrough().describe("Response model for creating a Purchase Order record.")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { netsuiteCreatePurchaseOrder };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-purchase-order.mjs","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreatePurchaseOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered\"),\n rate: z.number().describe(\"Rate or price per unit for the item\").optional(),\n taxCode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n description: z.string().describe(\"Line description\").optional(),\n}).describe(\"A single line item on the purchase order.\")).describe(\"List of line items to include on the purchase order\"),\n}).describe(\"Container for purchase order line items\"),\n memo: z.string().describe(\"Header memo for the purchase order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Vendor record reference\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n location: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n customForm: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Purchase Order record.\");\nexport const NetsuiteCreatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Purchase Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).describe(\"Response model for creating a Purchase Order record.\");\n\nexport const netsuiteCreatePurchaseOrder = action(\"NETSUITE_CREATE_PURCHASE_ORDER\", {\n slug: \"netsuite-create-purchase-order\",\n name: \"Create Purchase Order\",\n description: \"Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.\",\n input: NetsuiteCreatePurchaseOrderInput,\n output: NetsuiteCreatePurchaseOrderOutput,\n});\n"],"mappings":";;AAwCA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxC8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;GAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAC1E,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAChE,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,qDAAqD,
|
|
1
|
+
{"version":3,"file":"create-purchase-order.mjs","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreatePurchaseOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered\"),\n rate: z.number().describe(\"Rate or price per unit for the item\").optional(),\n taxCode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n description: z.string().describe(\"Line description\").optional(),\n}).passthrough().describe(\"A single line item on the purchase order.\")).describe(\"List of line items to include on the purchase order\"),\n}).describe(\"Container for purchase order line items\"),\n memo: z.string().describe(\"Header memo for the purchase order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Vendor record reference\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n location: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n customForm: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Purchase Order record.\");\nexport const NetsuiteCreatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Purchase Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Purchase Order record.\");\n\nexport const netsuiteCreatePurchaseOrder = action(\"NETSUITE_CREATE_PURCHASE_ORDER\", {\n slug: \"netsuite-create-purchase-order\",\n name: \"Create Purchase Order\",\n description: \"Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.\",\n input: NetsuiteCreatePurchaseOrderInput,\n output: NetsuiteCreatePurchaseOrderOutput,\n});\n"],"mappings":";;AAwCA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxC8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;GAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAC1E,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,qDAAqD,EACtI,CAAC,CAAC,CAAC,SAAS,yCAAyC;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,yBAAyB;EACnC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,OAAO,EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,EACrB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvG,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC1J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAV+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const NetsuiteCreateRecordOutput = zod.z.object({
|
|
|
22
22
|
location: zod.z.string().describe("Full URL of the created record or async job status endpoint.").nullable().optional(),
|
|
23
23
|
record_id: zod.z.string().describe("Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.").nullable().optional(),
|
|
24
24
|
preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
|
|
25
|
-
}).describe("Response model for creating a record.");
|
|
25
|
+
}).passthrough().describe("Response model for creating a record.");
|
|
26
26
|
const netsuiteCreateRecord = require_action.action("NETSUITE_CREATE_RECORD", {
|
|
27
27
|
slug: "netsuite-create-record",
|
|
28
28
|
name: "Create Record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.cjs","names":["z","action"],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateRecordInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' 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.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a record.\");\n\nexport const netsuiteCreateRecord = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P;CAC3S,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CAC9L,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACvR,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;AACvR,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"create-record.cjs","names":["z","action"],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateRecordInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' 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.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a record.\");\n\nexport const netsuiteCreateRecord = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P;CAC3S,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CAC9L,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACvR,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;AACvR,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteCreateRecordOutput: z.ZodObject<{
|
|
|
22
22
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
record_id: 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 netsuiteCreateRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
body: Record<string, unknown>;
|
|
28
28
|
record_type: string;
|
|
@@ -22,7 +22,7 @@ declare const NetsuiteCreateRecordOutput: z.ZodObject<{
|
|
|
22
22
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
record_id: 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 netsuiteCreateRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
body: Record<string, unknown>;
|
|
28
28
|
record_type: string;
|
|
@@ -25,7 +25,7 @@ const netsuiteCreateRecord = action("NETSUITE_CREATE_RECORD", {
|
|
|
25
25
|
location: z.string().describe("Full URL of the created record or async job status endpoint.").nullable().optional(),
|
|
26
26
|
record_id: z.string().describe("Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.").nullable().optional(),
|
|
27
27
|
preference_applied: z.string().describe("Echoes 'respond-async' when async creation is requested.").nullable().optional()
|
|
28
|
-
}).describe("Response model for creating a record.")
|
|
28
|
+
}).passthrough().describe("Response model for creating a record.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { netsuiteCreateRecord };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.mjs","names":[],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateRecordInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' 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.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).describe(\"Response model for creating a record.\");\n\nexport const netsuiteCreateRecord = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P;EAC3S,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;EAC9L,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;EACvR,sCAAsC,EAAE,KAAK;GAAC;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;CACvR,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-record.mjs","names":[],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateRecordInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' 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.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a record.\");\n\nexport const netsuiteCreateRecord = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P;EAC3S,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;EAC9L,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;EACvR,sCAAsC,EAAE,KAAK;GAAC;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;CACvR,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const NetsuiteCreateSalesOrderInput = zod.z.object({
|
|
|
10
10
|
quantity: zod.z.number().describe("Quantity to order (must be non-negative)"),
|
|
11
11
|
taxRate1: zod.z.number().describe("Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.").optional(),
|
|
12
12
|
description: zod.z.string().describe("Line item description or additional notes").optional()
|
|
13
|
-
}).describe("A single line item on the sales order.")).describe("List of line items to include on the sales order") }).describe("Container for sales order line items. Must include at least one item with quantity and pricing."),
|
|
13
|
+
}).passthrough().describe("A single line item on the sales order.")).describe("List of line items to include on the sales order") }).describe("Container for sales order line items. Must include at least one item with quantity and pricing."),
|
|
14
14
|
memo: zod.z.string().describe("Header memo for the sales order").optional(),
|
|
15
15
|
Prefer: zod.z.string().describe("Use 'respond-async' to run the create operation asynchronously").optional(),
|
|
16
16
|
entity: zod.z.object({ id: zod.z.string().describe("Internal ID of the referenced record") }).describe("Customer record reference (internal ID required)"),
|
|
@@ -35,7 +35,7 @@ const NetsuiteCreateSalesOrderInput = zod.z.object({
|
|
|
35
35
|
const NetsuiteCreateSalesOrderOutput = zod.z.object({
|
|
36
36
|
location: zod.z.string().describe("URL of the created Sales Order record or async job status").nullable().optional(),
|
|
37
37
|
preference_applied: zod.z.string().describe("Echoes 'respond-async' when async creation is requested").nullable().optional()
|
|
38
|
-
}).describe("Response model for creating a Sales Order record.");
|
|
38
|
+
}).passthrough().describe("Response model for creating a Sales Order record.");
|
|
39
39
|
const netsuiteCreateSalesOrder = require_action.action("NETSUITE_CREATE_SALES_ORDER", {
|
|
40
40
|
slug: "netsuite-create-sales-order",
|
|
41
41
|
name: "Create Sales Order",
|