@keystrokehq/netsuite 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/async-get-job-status.cjs +3 -3
- package/dist/actions/async-get-job-status.cjs.map +1 -1
- package/dist/actions/async-get-job-status.d.cts +17 -5
- package/dist/actions/async-get-job-status.d.mts +17 -5
- package/dist/actions/async-get-job-status.mjs +3 -3
- package/dist/actions/async-get-job-status.mjs.map +1 -1
- package/dist/actions/async-get-job-task-result.cjs +2 -2
- package/dist/actions/async-get-job-task-result.cjs.map +1 -1
- package/dist/actions/async-get-job-task-result.d.cts +15 -3
- package/dist/actions/async-get-job-task-result.d.mts +15 -3
- package/dist/actions/async-get-job-task-result.mjs +2 -2
- package/dist/actions/async-get-job-task-result.mjs.map +1 -1
- package/dist/actions/async-get-job-task.cjs +1 -1
- package/dist/actions/async-get-job-task.cjs.map +1 -1
- package/dist/actions/async-get-job-task.d.cts +14 -2
- package/dist/actions/async-get-job-task.d.mts +14 -2
- package/dist/actions/async-get-job-task.mjs +1 -1
- package/dist/actions/async-get-job-task.mjs.map +1 -1
- package/dist/actions/create-customer-payment.cjs +1 -1
- package/dist/actions/create-customer-payment.cjs.map +1 -1
- package/dist/actions/create-customer-payment.d.cts +14 -2
- package/dist/actions/create-customer-payment.d.cts.map +1 -1
- package/dist/actions/create-customer-payment.d.mts +14 -2
- package/dist/actions/create-customer-payment.d.mts.map +1 -1
- package/dist/actions/create-customer-payment.mjs +1 -1
- package/dist/actions/create-customer-payment.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -1
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +14 -2
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +14 -2
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -1
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-employee.cjs +1 -1
- package/dist/actions/create-employee.cjs.map +1 -1
- package/dist/actions/create-employee.d.cts +14 -2
- package/dist/actions/create-employee.d.cts.map +1 -1
- package/dist/actions/create-employee.d.mts +14 -2
- package/dist/actions/create-employee.d.mts.map +1 -1
- package/dist/actions/create-employee.mjs +1 -1
- package/dist/actions/create-employee.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -1
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +14 -2
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +14 -2
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -1
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +1 -1
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +14 -2
- package/dist/actions/create-item.d.cts.map +1 -1
- package/dist/actions/create-item.d.mts +14 -2
- package/dist/actions/create-item.d.mts.map +1 -1
- package/dist/actions/create-item.mjs +1 -1
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-journal-entry.cjs +1 -1
- package/dist/actions/create-journal-entry.cjs.map +1 -1
- package/dist/actions/create-journal-entry.d.cts +14 -2
- package/dist/actions/create-journal-entry.d.cts.map +1 -1
- package/dist/actions/create-journal-entry.d.mts +14 -2
- package/dist/actions/create-journal-entry.d.mts.map +1 -1
- package/dist/actions/create-journal-entry.mjs +1 -1
- package/dist/actions/create-journal-entry.mjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.cts +14 -2
- package/dist/actions/create-jwt-client-assertion.d.mts +14 -2
- package/dist/actions/create-jwt-client-assertion.mjs +1 -1
- package/dist/actions/create-jwt-client-assertion.mjs.map +1 -1
- package/dist/actions/create-purchase-order.cjs +2 -2
- package/dist/actions/create-purchase-order.cjs.map +1 -1
- package/dist/actions/create-purchase-order.d.cts +16 -3
- package/dist/actions/create-purchase-order.d.mts +16 -3
- package/dist/actions/create-purchase-order.mjs +2 -2
- package/dist/actions/create-purchase-order.mjs.map +1 -1
- package/dist/actions/create-record.cjs +1 -1
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +14 -2
- package/dist/actions/create-record.d.cts.map +1 -1
- package/dist/actions/create-record.d.mts +14 -2
- package/dist/actions/create-record.d.mts.map +1 -1
- package/dist/actions/create-record.mjs +1 -1
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-sales-order.cjs +2 -2
- package/dist/actions/create-sales-order.cjs.map +1 -1
- package/dist/actions/create-sales-order.d.cts +16 -3
- package/dist/actions/create-sales-order.d.mts +16 -3
- package/dist/actions/create-sales-order.mjs +2 -2
- package/dist/actions/create-sales-order.mjs.map +1 -1
- package/dist/actions/create-vendor-bill.cjs +1 -1
- package/dist/actions/create-vendor-bill.cjs.map +1 -1
- package/dist/actions/create-vendor-bill.d.cts +14 -2
- package/dist/actions/create-vendor-bill.d.cts.map +1 -1
- package/dist/actions/create-vendor-bill.d.mts +14 -2
- package/dist/actions/create-vendor-bill.d.mts.map +1 -1
- package/dist/actions/create-vendor-bill.mjs +1 -1
- package/dist/actions/create-vendor-bill.mjs.map +1 -1
- package/dist/actions/create-vendor.cjs +1 -1
- package/dist/actions/create-vendor.cjs.map +1 -1
- package/dist/actions/create-vendor.d.cts +14 -2
- package/dist/actions/create-vendor.d.cts.map +1 -1
- package/dist/actions/create-vendor.d.mts +14 -2
- package/dist/actions/create-vendor.d.mts.map +1 -1
- package/dist/actions/create-vendor.mjs +1 -1
- package/dist/actions/create-vendor.mjs.map +1 -1
- package/dist/actions/delete-customer-payment.cjs +1 -1
- package/dist/actions/delete-customer-payment.cjs.map +1 -1
- package/dist/actions/delete-customer-payment.d.cts +14 -2
- package/dist/actions/delete-customer-payment.d.mts +14 -2
- package/dist/actions/delete-customer-payment.mjs +1 -1
- package/dist/actions/delete-customer-payment.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +14 -2
- package/dist/actions/delete-customer.d.mts +14 -2
- package/dist/actions/delete-customer.mjs +1 -1
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-employee.cjs +1 -1
- package/dist/actions/delete-employee.cjs.map +1 -1
- package/dist/actions/delete-employee.d.cts +14 -2
- package/dist/actions/delete-employee.d.mts +14 -2
- package/dist/actions/delete-employee.mjs +1 -1
- package/dist/actions/delete-employee.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -1
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +14 -2
- package/dist/actions/delete-invoice.d.mts +14 -2
- package/dist/actions/delete-invoice.mjs +1 -1
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.cjs +1 -1
- package/dist/actions/delete-item-fulfillment.cjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.cts +14 -2
- package/dist/actions/delete-item-fulfillment.d.mts +14 -2
- package/dist/actions/delete-item-fulfillment.mjs +1 -1
- package/dist/actions/delete-item-fulfillment.mjs.map +1 -1
- package/dist/actions/delete-item-receipt.cjs +1 -1
- package/dist/actions/delete-item-receipt.cjs.map +1 -1
- package/dist/actions/delete-item-receipt.d.cts +14 -2
- package/dist/actions/delete-item-receipt.d.mts +14 -2
- package/dist/actions/delete-item-receipt.mjs +1 -1
- package/dist/actions/delete-item-receipt.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -1
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +14 -2
- package/dist/actions/delete-item.d.mts +14 -2
- package/dist/actions/delete-item.mjs +1 -1
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-journal-entry.cjs +1 -1
- package/dist/actions/delete-journal-entry.cjs.map +1 -1
- package/dist/actions/delete-journal-entry.d.cts +14 -2
- package/dist/actions/delete-journal-entry.d.mts +14 -2
- package/dist/actions/delete-journal-entry.mjs +1 -1
- package/dist/actions/delete-journal-entry.mjs.map +1 -1
- package/dist/actions/delete-purchase-order.cjs +1 -1
- package/dist/actions/delete-purchase-order.cjs.map +1 -1
- package/dist/actions/delete-purchase-order.d.cts +14 -2
- package/dist/actions/delete-purchase-order.d.mts +14 -2
- package/dist/actions/delete-purchase-order.mjs +1 -1
- package/dist/actions/delete-purchase-order.mjs.map +1 -1
- package/dist/actions/delete-sales-order.cjs +1 -1
- package/dist/actions/delete-sales-order.cjs.map +1 -1
- package/dist/actions/delete-sales-order.d.cts +14 -2
- package/dist/actions/delete-sales-order.d.mts +14 -2
- package/dist/actions/delete-sales-order.mjs +1 -1
- package/dist/actions/delete-sales-order.mjs.map +1 -1
- package/dist/actions/delete-vendor-payment.cjs +1 -1
- package/dist/actions/delete-vendor-payment.cjs.map +1 -1
- package/dist/actions/delete-vendor-payment.d.cts +14 -2
- package/dist/actions/delete-vendor-payment.d.mts +14 -2
- package/dist/actions/delete-vendor-payment.mjs +1 -1
- package/dist/actions/delete-vendor-payment.mjs.map +1 -1
- package/dist/actions/execute-dataset.cjs +2 -2
- package/dist/actions/execute-dataset.cjs.map +1 -1
- package/dist/actions/execute-dataset.d.cts +15 -3
- package/dist/actions/execute-dataset.d.mts +15 -3
- package/dist/actions/execute-dataset.mjs +2 -2
- package/dist/actions/execute-dataset.mjs.map +1 -1
- package/dist/actions/get-customer-payment.cjs +2 -2
- package/dist/actions/get-customer-payment.cjs.map +1 -1
- package/dist/actions/get-customer-payment.d.cts +15 -3
- package/dist/actions/get-customer-payment.d.mts +15 -3
- package/dist/actions/get-customer-payment.mjs +2 -2
- package/dist/actions/get-customer-payment.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +2 -2
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +15 -3
- package/dist/actions/get-customer.d.mts +15 -3
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-datacenter-urls.cjs +1 -1
- package/dist/actions/get-datacenter-urls.cjs.map +1 -1
- package/dist/actions/get-datacenter-urls.d.cts +14 -2
- package/dist/actions/get-datacenter-urls.d.mts +14 -2
- package/dist/actions/get-datacenter-urls.mjs +1 -1
- package/dist/actions/get-datacenter-urls.mjs.map +1 -1
- package/dist/actions/get-employee.cjs +2 -2
- package/dist/actions/get-employee.cjs.map +1 -1
- package/dist/actions/get-employee.d.cts +15 -3
- package/dist/actions/get-employee.d.mts +15 -3
- package/dist/actions/get-employee.mjs +2 -2
- package/dist/actions/get-employee.mjs.map +1 -1
- package/dist/actions/get-governance-limits.cjs +1 -1
- package/dist/actions/get-governance-limits.cjs.map +1 -1
- package/dist/actions/get-governance-limits.d.cts +14 -2
- package/dist/actions/get-governance-limits.d.cts.map +1 -1
- package/dist/actions/get-governance-limits.d.mts +14 -2
- package/dist/actions/get-governance-limits.d.mts.map +1 -1
- package/dist/actions/get-governance-limits.mjs +1 -1
- package/dist/actions/get-governance-limits.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +2 -2
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +15 -3
- package/dist/actions/get-invoice.d.mts +15 -3
- package/dist/actions/get-invoice.mjs +2 -2
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-item-fulfillment.cjs +2 -2
- package/dist/actions/get-item-fulfillment.cjs.map +1 -1
- package/dist/actions/get-item-fulfillment.d.cts +15 -3
- package/dist/actions/get-item-fulfillment.d.mts +15 -3
- package/dist/actions/get-item-fulfillment.mjs +2 -2
- package/dist/actions/get-item-fulfillment.mjs.map +1 -1
- package/dist/actions/get-item-receipt.cjs +2 -2
- package/dist/actions/get-item-receipt.cjs.map +1 -1
- package/dist/actions/get-item-receipt.d.cts +15 -3
- package/dist/actions/get-item-receipt.d.mts +15 -3
- package/dist/actions/get-item-receipt.mjs +2 -2
- package/dist/actions/get-item-receipt.mjs.map +1 -1
- package/dist/actions/get-item.cjs +2 -2
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +15 -3
- package/dist/actions/get-item.d.mts +15 -3
- package/dist/actions/get-item.mjs +2 -2
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-journal-entry.cjs +2 -2
- package/dist/actions/get-journal-entry.cjs.map +1 -1
- package/dist/actions/get-journal-entry.d.cts +15 -3
- package/dist/actions/get-journal-entry.d.mts +15 -3
- package/dist/actions/get-journal-entry.mjs +2 -2
- package/dist/actions/get-journal-entry.mjs.map +1 -1
- package/dist/actions/get-purchase-order.cjs +2 -2
- package/dist/actions/get-purchase-order.cjs.map +1 -1
- package/dist/actions/get-purchase-order.d.cts +15 -3
- package/dist/actions/get-purchase-order.d.mts +15 -3
- package/dist/actions/get-purchase-order.mjs +2 -2
- package/dist/actions/get-purchase-order.mjs.map +1 -1
- package/dist/actions/get-record-metadata.cjs +1 -1
- package/dist/actions/get-record-metadata.cjs.map +1 -1
- package/dist/actions/get-record-metadata.d.cts +14 -2
- package/dist/actions/get-record-metadata.d.mts +14 -2
- package/dist/actions/get-record-metadata.mjs +1 -1
- package/dist/actions/get-record-metadata.mjs.map +1 -1
- package/dist/actions/get-reference-select-field.cjs +2 -2
- package/dist/actions/get-reference-select-field.cjs.map +1 -1
- package/dist/actions/get-reference-select-field.d.cts +15 -3
- package/dist/actions/get-reference-select-field.d.mts +15 -3
- package/dist/actions/get-reference-select-field.mjs +2 -2
- package/dist/actions/get-reference-select-field.mjs.map +1 -1
- package/dist/actions/get-sales-order.cjs +2 -2
- package/dist/actions/get-sales-order.cjs.map +1 -1
- package/dist/actions/get-sales-order.d.cts +15 -3
- package/dist/actions/get-sales-order.d.mts +15 -3
- package/dist/actions/get-sales-order.mjs +2 -2
- package/dist/actions/get-sales-order.mjs.map +1 -1
- package/dist/actions/get-server-time.cjs +1 -1
- package/dist/actions/get-server-time.cjs.map +1 -1
- package/dist/actions/get-server-time.d.cts +14 -2
- package/dist/actions/get-server-time.d.cts.map +1 -1
- package/dist/actions/get-server-time.d.mts +14 -2
- package/dist/actions/get-server-time.d.mts.map +1 -1
- package/dist/actions/get-server-time.mjs +1 -1
- package/dist/actions/get-server-time.mjs.map +1 -1
- package/dist/actions/get-sublist-collection.cjs +2 -2
- package/dist/actions/get-sublist-collection.cjs.map +1 -1
- package/dist/actions/get-sublist-collection.d.cts +15 -3
- package/dist/actions/get-sublist-collection.d.mts +15 -3
- package/dist/actions/get-sublist-collection.mjs +2 -2
- package/dist/actions/get-sublist-collection.mjs.map +1 -1
- package/dist/actions/get-sublist-line.cjs +2 -2
- package/dist/actions/get-sublist-line.cjs.map +1 -1
- package/dist/actions/get-sublist-line.d.cts +15 -3
- package/dist/actions/get-sublist-line.d.mts +15 -3
- package/dist/actions/get-sublist-line.mjs +2 -2
- package/dist/actions/get-sublist-line.mjs.map +1 -1
- package/dist/actions/get-subrecord.cjs +2 -2
- package/dist/actions/get-subrecord.cjs.map +1 -1
- package/dist/actions/get-subrecord.d.cts +15 -3
- package/dist/actions/get-subrecord.d.mts +15 -3
- package/dist/actions/get-subrecord.mjs +2 -2
- package/dist/actions/get-subrecord.mjs.map +1 -1
- package/dist/actions/get-vendor-bill.cjs +2 -2
- package/dist/actions/get-vendor-bill.cjs.map +1 -1
- package/dist/actions/get-vendor-bill.d.cts +15 -3
- package/dist/actions/get-vendor-bill.d.mts +15 -3
- package/dist/actions/get-vendor-bill.mjs +2 -2
- package/dist/actions/get-vendor-bill.mjs.map +1 -1
- package/dist/actions/get-vendor-payment.cjs +2 -2
- package/dist/actions/get-vendor-payment.cjs.map +1 -1
- package/dist/actions/get-vendor-payment.d.cts +15 -3
- package/dist/actions/get-vendor-payment.d.mts +15 -3
- package/dist/actions/get-vendor-payment.mjs +2 -2
- package/dist/actions/get-vendor-payment.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +2 -2
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +15 -3
- package/dist/actions/get-vendor.d.mts +15 -3
- package/dist/actions/get-vendor.mjs +2 -2
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/list-customer-payments.cjs +3 -3
- package/dist/actions/list-customer-payments.cjs.map +1 -1
- package/dist/actions/list-customer-payments.d.cts +17 -5
- package/dist/actions/list-customer-payments.d.mts +17 -5
- package/dist/actions/list-customer-payments.mjs +3 -3
- package/dist/actions/list-customer-payments.mjs.map +1 -1
- package/dist/actions/list-datasets.cjs +4 -4
- package/dist/actions/list-datasets.cjs.map +1 -1
- package/dist/actions/list-datasets.d.cts +17 -5
- package/dist/actions/list-datasets.d.mts +17 -5
- package/dist/actions/list-datasets.mjs +4 -4
- package/dist/actions/list-datasets.mjs.map +1 -1
- package/dist/actions/list-employees.cjs +3 -3
- package/dist/actions/list-employees.cjs.map +1 -1
- package/dist/actions/list-employees.d.cts +17 -5
- package/dist/actions/list-employees.d.mts +17 -5
- package/dist/actions/list-employees.mjs +3 -3
- package/dist/actions/list-employees.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +2 -2
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +15 -3
- package/dist/actions/list-integrations.d.mts +15 -3
- package/dist/actions/list-integrations.mjs +2 -2
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +3 -3
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +17 -5
- package/dist/actions/list-invoices.d.mts +17 -5
- package/dist/actions/list-invoices.mjs +3 -3
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-item-fulfillments.cjs +3 -3
- package/dist/actions/list-item-fulfillments.cjs.map +1 -1
- package/dist/actions/list-item-fulfillments.d.cts +17 -5
- package/dist/actions/list-item-fulfillments.d.mts +17 -5
- package/dist/actions/list-item-fulfillments.mjs +3 -3
- package/dist/actions/list-item-fulfillments.mjs.map +1 -1
- package/dist/actions/list-item-receipts.cjs +3 -3
- package/dist/actions/list-item-receipts.cjs.map +1 -1
- package/dist/actions/list-item-receipts.d.cts +17 -5
- package/dist/actions/list-item-receipts.d.mts +17 -5
- package/dist/actions/list-item-receipts.mjs +3 -3
- package/dist/actions/list-item-receipts.mjs.map +1 -1
- package/dist/actions/list-journal-entries.cjs +3 -3
- package/dist/actions/list-journal-entries.cjs.map +1 -1
- package/dist/actions/list-journal-entries.d.cts +17 -5
- package/dist/actions/list-journal-entries.d.mts +17 -5
- package/dist/actions/list-journal-entries.mjs +3 -3
- package/dist/actions/list-journal-entries.mjs.map +1 -1
- package/dist/actions/list-metadata-catalog.cjs +3 -3
- package/dist/actions/list-metadata-catalog.cjs.map +1 -1
- package/dist/actions/list-metadata-catalog.d.cts +16 -4
- package/dist/actions/list-metadata-catalog.d.mts +16 -4
- package/dist/actions/list-metadata-catalog.mjs +3 -3
- package/dist/actions/list-metadata-catalog.mjs.map +1 -1
- package/dist/actions/list-purchase-orders.cjs +3 -3
- package/dist/actions/list-purchase-orders.cjs.map +1 -1
- package/dist/actions/list-purchase-orders.d.cts +17 -5
- package/dist/actions/list-purchase-orders.d.mts +17 -5
- package/dist/actions/list-purchase-orders.mjs +3 -3
- package/dist/actions/list-purchase-orders.mjs.map +1 -1
- package/dist/actions/list-records.cjs +3 -3
- package/dist/actions/list-records.cjs.map +1 -1
- package/dist/actions/list-records.d.cts +17 -5
- package/dist/actions/list-records.d.mts +17 -5
- package/dist/actions/list-records.mjs +3 -3
- package/dist/actions/list-records.mjs.map +1 -1
- package/dist/actions/list-sales-orders.cjs +3 -3
- package/dist/actions/list-sales-orders.cjs.map +1 -1
- package/dist/actions/list-sales-orders.d.cts +17 -5
- package/dist/actions/list-sales-orders.d.mts +17 -5
- package/dist/actions/list-sales-orders.mjs +3 -3
- package/dist/actions/list-sales-orders.mjs.map +1 -1
- package/dist/actions/list-vendor-payments.cjs +3 -3
- package/dist/actions/list-vendor-payments.cjs.map +1 -1
- package/dist/actions/list-vendor-payments.d.cts +17 -5
- package/dist/actions/list-vendor-payments.d.mts +17 -5
- package/dist/actions/list-vendor-payments.mjs +3 -3
- package/dist/actions/list-vendor-payments.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.cts +14 -2
- package/dist/actions/o-auth2-authorize-account-domain.d.mts +14 -2
- package/dist/actions/o-auth2-authorize-account-domain.mjs +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.cts +14 -2
- package/dist/actions/o-auth2-authorize-system-domain.d.mts +14 -2
- package/dist/actions/o-auth2-authorize-system-domain.mjs +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-logout.cjs +1 -1
- package/dist/actions/o-auth2-logout.cjs.map +1 -1
- package/dist/actions/o-auth2-logout.d.cts +14 -2
- package/dist/actions/o-auth2-logout.d.mts +14 -2
- package/dist/actions/o-auth2-logout.mjs +1 -1
- package/dist/actions/o-auth2-logout.mjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts +14 -2
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts +14 -2
- package/dist/actions/o-auth2-revoke-refresh-token.mjs +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.cts +14 -2
- package/dist/actions/o-auth2-token-authorization-code.d.mts +14 -2
- package/dist/actions/o-auth2-token-authorization-code.mjs +1 -1
- package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.cts +14 -2
- package/dist/actions/o-auth2-token-client-credentials.d.mts +14 -2
- package/dist/actions/o-auth2-token-client-credentials.mjs +1 -1
- package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.cts +14 -2
- package/dist/actions/o-auth2-token-refresh.d.mts +14 -2
- package/dist/actions/o-auth2-token-refresh.mjs +1 -1
- package/dist/actions/o-auth2-token-refresh.mjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.cjs +2 -2
- package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.cts +15 -3
- package/dist/actions/oauth2-get-jwks-keys.d.cts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.mts +15 -3
- package/dist/actions/oauth2-get-jwks-keys.d.mts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.mjs +2 -2
- package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -1
- package/dist/actions/run-suiteql-query.cjs +2 -2
- package/dist/actions/run-suiteql-query.cjs.map +1 -1
- package/dist/actions/run-suiteql-query.d.cts +16 -4
- package/dist/actions/run-suiteql-query.d.mts +16 -4
- package/dist/actions/run-suiteql-query.mjs +2 -2
- package/dist/actions/run-suiteql-query.mjs.map +1 -1
- package/dist/actions/transform-record.cjs +1 -1
- package/dist/actions/transform-record.cjs.map +1 -1
- package/dist/actions/transform-record.d.cts +14 -2
- package/dist/actions/transform-record.d.cts.map +1 -1
- package/dist/actions/transform-record.d.mts +14 -2
- package/dist/actions/transform-record.d.mts.map +1 -1
- package/dist/actions/transform-record.mjs +1 -1
- package/dist/actions/transform-record.mjs.map +1 -1
- package/dist/actions/update-customer-payment.cjs +1 -1
- package/dist/actions/update-customer-payment.cjs.map +1 -1
- package/dist/actions/update-customer-payment.d.cts +14 -2
- package/dist/actions/update-customer-payment.d.cts.map +1 -1
- package/dist/actions/update-customer-payment.d.mts +14 -2
- package/dist/actions/update-customer-payment.d.mts.map +1 -1
- package/dist/actions/update-customer-payment.mjs +1 -1
- package/dist/actions/update-customer-payment.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -1
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +14 -2
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +14 -2
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -1
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-employee.cjs +1 -1
- package/dist/actions/update-employee.cjs.map +1 -1
- package/dist/actions/update-employee.d.cts +14 -2
- package/dist/actions/update-employee.d.cts.map +1 -1
- package/dist/actions/update-employee.d.mts +14 -2
- package/dist/actions/update-employee.d.mts.map +1 -1
- package/dist/actions/update-employee.mjs +1 -1
- package/dist/actions/update-employee.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -1
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +14 -2
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +14 -2
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -1
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item-fulfillment.cjs +1 -1
- package/dist/actions/update-item-fulfillment.cjs.map +1 -1
- package/dist/actions/update-item-fulfillment.d.cts +14 -2
- package/dist/actions/update-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/update-item-fulfillment.d.mts +14 -2
- package/dist/actions/update-item-fulfillment.d.mts.map +1 -1
- package/dist/actions/update-item-fulfillment.mjs +1 -1
- package/dist/actions/update-item-fulfillment.mjs.map +1 -1
- package/dist/actions/update-item-receipt.cjs +1 -1
- package/dist/actions/update-item-receipt.cjs.map +1 -1
- package/dist/actions/update-item-receipt.d.cts +14 -2
- package/dist/actions/update-item-receipt.d.cts.map +1 -1
- package/dist/actions/update-item-receipt.d.mts +14 -2
- package/dist/actions/update-item-receipt.d.mts.map +1 -1
- package/dist/actions/update-item-receipt.mjs +1 -1
- package/dist/actions/update-item-receipt.mjs.map +1 -1
- package/dist/actions/update-item.cjs +1 -1
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +14 -2
- package/dist/actions/update-item.d.cts.map +1 -1
- package/dist/actions/update-item.d.mts +14 -2
- package/dist/actions/update-item.d.mts.map +1 -1
- package/dist/actions/update-item.mjs +1 -1
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-journal-entry.cjs +1 -1
- package/dist/actions/update-journal-entry.cjs.map +1 -1
- package/dist/actions/update-journal-entry.d.cts +14 -2
- package/dist/actions/update-journal-entry.d.cts.map +1 -1
- package/dist/actions/update-journal-entry.d.mts +14 -2
- package/dist/actions/update-journal-entry.d.mts.map +1 -1
- package/dist/actions/update-journal-entry.mjs +1 -1
- package/dist/actions/update-journal-entry.mjs.map +1 -1
- package/dist/actions/update-purchase-order.cjs +1 -1
- package/dist/actions/update-purchase-order.cjs.map +1 -1
- package/dist/actions/update-purchase-order.d.cts +14 -2
- package/dist/actions/update-purchase-order.d.cts.map +1 -1
- package/dist/actions/update-purchase-order.d.mts +14 -2
- package/dist/actions/update-purchase-order.d.mts.map +1 -1
- package/dist/actions/update-purchase-order.mjs +1 -1
- package/dist/actions/update-purchase-order.mjs.map +1 -1
- package/dist/actions/update-sales-order.cjs +1 -1
- package/dist/actions/update-sales-order.cjs.map +1 -1
- package/dist/actions/update-sales-order.d.cts +14 -2
- package/dist/actions/update-sales-order.d.cts.map +1 -1
- package/dist/actions/update-sales-order.d.mts +14 -2
- package/dist/actions/update-sales-order.d.mts.map +1 -1
- package/dist/actions/update-sales-order.mjs +1 -1
- package/dist/actions/update-sales-order.mjs.map +1 -1
- package/dist/actions/update-vendor-bill.cjs +1 -1
- package/dist/actions/update-vendor-bill.cjs.map +1 -1
- package/dist/actions/update-vendor-bill.d.cts +14 -2
- package/dist/actions/update-vendor-bill.d.cts.map +1 -1
- package/dist/actions/update-vendor-bill.d.mts +14 -2
- package/dist/actions/update-vendor-bill.d.mts.map +1 -1
- package/dist/actions/update-vendor-bill.mjs +1 -1
- package/dist/actions/update-vendor-bill.mjs.map +1 -1
- package/dist/actions/update-vendor-payment.cjs +1 -1
- package/dist/actions/update-vendor-payment.cjs.map +1 -1
- package/dist/actions/update-vendor-payment.d.cts +14 -2
- package/dist/actions/update-vendor-payment.d.cts.map +1 -1
- package/dist/actions/update-vendor-payment.d.mts +14 -2
- package/dist/actions/update-vendor-payment.d.mts.map +1 -1
- package/dist/actions/update-vendor-payment.mjs +1 -1
- package/dist/actions/update-vendor-payment.mjs.map +1 -1
- package/dist/actions/update-vendor.cjs +1 -1
- package/dist/actions/update-vendor.cjs.map +1 -1
- package/dist/actions/update-vendor.d.cts +14 -2
- package/dist/actions/update-vendor.d.cts.map +1 -1
- package/dist/actions/update-vendor.d.mts +14 -2
- package/dist/actions/update-vendor.d.mts.map +1 -1
- package/dist/actions/update-vendor.mjs +1 -1
- package/dist/actions/update-vendor.mjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.cts +14 -2
- package/dist/actions/upsert-record-by-external-id.d.cts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.mts +14 -2
- package/dist/actions/upsert-record-by-external-id.d.mts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-sales-order.ts
|
|
4
4
|
const NetsuiteDeleteSalesOrderInput = zod.z.object({ id: zod.z.number().int().describe("Internal ID of the sales order record to delete") });
|
|
5
|
-
const NetsuiteDeleteSalesOrderOutput = zod.z.object({ success: zod.z.boolean().describe("True if the sales order record was successfully deleted").nullable() });
|
|
5
|
+
const NetsuiteDeleteSalesOrderOutput = zod.z.object({ success: zod.z.boolean().describe("True if the sales order record was successfully deleted").nullable() }).passthrough();
|
|
6
6
|
const netsuiteDeleteSalesOrder = require_action.action("NETSUITE_DELETE_SALES_ORDER", {
|
|
7
7
|
slug: "netsuite-delete-sales-order",
|
|
8
8
|
name: "Delete Sales Order",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/delete-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteDeleteSalesOrderInput = z.object({\n id: z.number().int().describe(\"Internal ID of the sales order record to delete\"),\n});\nexport const NetsuiteDeleteSalesOrderOutput = z.object({\n success: z.boolean().describe(\"True if the sales order record was successfully deleted\").nullable(),\n});\n\nexport const netsuiteDeleteSalesOrder = action(\"NETSUITE_DELETE_SALES_ORDER\", {\n slug: \"netsuite-delete-sales-order\",\n name: \"Delete Sales Order\",\n description: \"Tool to delete a sales order by internal ID. Use when you need to remove an existing sales order record from NetSuite. Use after confirming the record exists to avoid unintended deletions.\",\n input: NetsuiteDeleteSalesOrderInput,\n output: NetsuiteDeleteSalesOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,EACjF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EACpG,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/delete-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteDeleteSalesOrderInput = z.object({\n id: z.number().int().describe(\"Internal ID of the sales order record to delete\"),\n});\nexport const NetsuiteDeleteSalesOrderOutput = z.object({\n success: z.boolean().describe(\"True if the sales order record was successfully deleted\").nullable(),\n}).passthrough();\n\nexport const netsuiteDeleteSalesOrder = action(\"NETSUITE_DELETE_SALES_ORDER\", {\n slug: \"netsuite-delete-sales-order\",\n name: \"Delete Sales Order\",\n description: \"Tool to delete a sales order by internal ID. Use when you need to remove an existing sales order record from NetSuite. Use after confirming the record exists to avoid unintended deletions.\",\n input: NetsuiteDeleteSalesOrderInput,\n output: NetsuiteDeleteSalesOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,EACjF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,10 +6,22 @@ declare const NetsuiteDeleteSalesOrderInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const NetsuiteDeleteSalesOrderOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const netsuiteDeleteSalesOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
13
|
+
connectionId: z.ZodString;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
instanceId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
accessToken: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
13
25
|
//#endregion
|
|
14
26
|
export { netsuiteDeleteSalesOrder };
|
|
15
27
|
//# sourceMappingURL=delete-sales-order.d.cts.map
|
|
@@ -6,10 +6,22 @@ declare const NetsuiteDeleteSalesOrderInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const NetsuiteDeleteSalesOrderOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const netsuiteDeleteSalesOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
13
|
+
connectionId: z.ZodString;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
instanceId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
accessToken: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
13
25
|
//#endregion
|
|
14
26
|
export { netsuiteDeleteSalesOrder };
|
|
15
27
|
//# sourceMappingURL=delete-sales-order.d.mts.map
|
|
@@ -5,7 +5,7 @@ const netsuiteDeleteSalesOrder = action("NETSUITE_DELETE_SALES_ORDER", {
|
|
|
5
5
|
name: "Delete Sales Order",
|
|
6
6
|
description: "Tool to delete a sales order by internal ID. Use when you need to remove an existing sales order record from NetSuite. Use after confirming the record exists to avoid unintended deletions.",
|
|
7
7
|
input: z.object({ id: z.number().int().describe("Internal ID of the sales order record to delete") }),
|
|
8
|
-
output: z.object({ success: z.boolean().describe("True if the sales order record was successfully deleted").nullable() })
|
|
8
|
+
output: z.object({ success: z.boolean().describe("True if the sales order record was successfully deleted").nullable() }).passthrough()
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { netsuiteDeleteSalesOrder };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-sales-order.mjs","names":[],"sources":["../../src/actions/delete-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteDeleteSalesOrderInput = z.object({\n id: z.number().int().describe(\"Internal ID of the sales order record to delete\"),\n});\nexport const NetsuiteDeleteSalesOrderOutput = z.object({\n success: z.boolean().describe(\"True if the sales order record was successfully deleted\").nullable(),\n});\n\nexport const netsuiteDeleteSalesOrder = action(\"NETSUITE_DELETE_SALES_ORDER\", {\n slug: \"netsuite-delete-sales-order\",\n name: \"Delete Sales Order\",\n description: \"Tool to delete a sales order by internal ID. Use when you need to remove an existing sales order record from NetSuite. Use after confirming the record exists to avoid unintended deletions.\",\n input: NetsuiteDeleteSalesOrderInput,\n output: NetsuiteDeleteSalesOrderOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,EACjF,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EACpG,
|
|
1
|
+
{"version":3,"file":"delete-sales-order.mjs","names":[],"sources":["../../src/actions/delete-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteDeleteSalesOrderInput = z.object({\n id: z.number().int().describe(\"Internal ID of the sales order record to delete\"),\n});\nexport const NetsuiteDeleteSalesOrderOutput = z.object({\n success: z.boolean().describe(\"True if the sales order record was successfully deleted\").nullable(),\n}).passthrough();\n\nexport const netsuiteDeleteSalesOrder = action(\"NETSUITE_DELETE_SALES_ORDER\", {\n slug: \"netsuite-delete-sales-order\",\n name: \"Delete Sales Order\",\n description: \"Tool to delete a sales order by internal ID. Use when you need to remove an existing sales order record from NetSuite. Use after confirming the record exists to avoid unintended deletions.\",\n input: NetsuiteDeleteSalesOrderInput,\n output: NetsuiteDeleteSalesOrderOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,EACjF,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-vendor-payment.ts
|
|
4
4
|
const NetsuiteDeleteVendorPaymentInput = zod.z.object({ id: zod.z.number().int().describe("Internal ID of the vendor payment record to delete") });
|
|
5
|
-
const NetsuiteDeleteVendorPaymentOutput = zod.z.object({ success: zod.z.boolean().describe("True if the vendor payment record was successfully deleted").nullable() });
|
|
5
|
+
const NetsuiteDeleteVendorPaymentOutput = zod.z.object({ success: zod.z.boolean().describe("True if the vendor payment record was successfully deleted").nullable() }).passthrough();
|
|
6
6
|
const netsuiteDeleteVendorPayment = require_action.action("NETSUITE_DELETE_VENDOR_PAYMENT", {
|
|
7
7
|
slug: "netsuite-delete-vendor-payment",
|
|
8
8
|
name: "Delete Vendor Payment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-vendor-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-vendor-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteDeleteVendorPaymentInput = z.object({\n id: z.number().int().describe(\"Internal ID of the vendor payment record to delete\"),\n});\nexport const NetsuiteDeleteVendorPaymentOutput = z.object({\n success: z.boolean().describe(\"True if the vendor payment record was successfully deleted\").nullable(),\n});\n\nexport const netsuiteDeleteVendorPayment = action(\"NETSUITE_DELETE_VENDOR_PAYMENT\", {\n slug: \"netsuite-delete-vendor-payment\",\n name: \"Delete Vendor Payment\",\n description: \"Tool to delete a vendor payment record by ID. Use when you need to remove an existing vendor payment from NetSuite.\",\n input: NetsuiteDeleteVendorPaymentInput,\n output: NetsuiteDeleteVendorPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,EACvG,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-vendor-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-vendor-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteDeleteVendorPaymentInput = z.object({\n id: z.number().int().describe(\"Internal ID of the vendor payment record to delete\"),\n});\nexport const NetsuiteDeleteVendorPaymentOutput = z.object({\n success: z.boolean().describe(\"True if the vendor payment record was successfully deleted\").nullable(),\n}).passthrough();\n\nexport const netsuiteDeleteVendorPayment = action(\"NETSUITE_DELETE_VENDOR_PAYMENT\", {\n slug: \"netsuite-delete-vendor-payment\",\n name: \"Delete Vendor Payment\",\n description: \"Tool to delete a vendor payment record by ID. Use when you need to remove an existing vendor payment from NetSuite.\",\n input: NetsuiteDeleteVendorPaymentInput,\n output: NetsuiteDeleteVendorPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,10 +6,22 @@ declare const NetsuiteDeleteVendorPaymentInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const NetsuiteDeleteVendorPaymentOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const netsuiteDeleteVendorPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
13
|
+
connectionId: z.ZodString;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
instanceId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
accessToken: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
13
25
|
//#endregion
|
|
14
26
|
export { netsuiteDeleteVendorPayment };
|
|
15
27
|
//# sourceMappingURL=delete-vendor-payment.d.cts.map
|
|
@@ -6,10 +6,22 @@ declare const NetsuiteDeleteVendorPaymentInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const NetsuiteDeleteVendorPaymentOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const netsuiteDeleteVendorPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
13
|
+
connectionId: z.ZodString;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
instanceId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
accessToken: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
13
25
|
//#endregion
|
|
14
26
|
export { netsuiteDeleteVendorPayment };
|
|
15
27
|
//# sourceMappingURL=delete-vendor-payment.d.mts.map
|
|
@@ -5,7 +5,7 @@ const netsuiteDeleteVendorPayment = action("NETSUITE_DELETE_VENDOR_PAYMENT", {
|
|
|
5
5
|
name: "Delete Vendor Payment",
|
|
6
6
|
description: "Tool to delete a vendor payment record by ID. Use when you need to remove an existing vendor payment from NetSuite.",
|
|
7
7
|
input: z.object({ id: z.number().int().describe("Internal ID of the vendor payment record to delete") }),
|
|
8
|
-
output: z.object({ success: z.boolean().describe("True if the vendor payment record was successfully deleted").nullable() })
|
|
8
|
+
output: z.object({ success: z.boolean().describe("True if the vendor payment record was successfully deleted").nullable() }).passthrough()
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { netsuiteDeleteVendorPayment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-vendor-payment.mjs","names":[],"sources":["../../src/actions/delete-vendor-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteDeleteVendorPaymentInput = z.object({\n id: z.number().int().describe(\"Internal ID of the vendor payment record to delete\"),\n});\nexport const NetsuiteDeleteVendorPaymentOutput = z.object({\n success: z.boolean().describe(\"True if the vendor payment record was successfully deleted\").nullable(),\n});\n\nexport const netsuiteDeleteVendorPayment = action(\"NETSUITE_DELETE_VENDOR_PAYMENT\", {\n slug: \"netsuite-delete-vendor-payment\",\n name: \"Delete Vendor Payment\",\n description: \"Tool to delete a vendor payment record by ID. Use when you need to remove an existing vendor payment from NetSuite.\",\n input: NetsuiteDeleteVendorPaymentInput,\n output: NetsuiteDeleteVendorPaymentOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CASS;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,EACvG,
|
|
1
|
+
{"version":3,"file":"delete-vendor-payment.mjs","names":[],"sources":["../../src/actions/delete-vendor-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteDeleteVendorPaymentInput = z.object({\n id: z.number().int().describe(\"Internal ID of the vendor payment record to delete\"),\n});\nexport const NetsuiteDeleteVendorPaymentOutput = z.object({\n success: z.boolean().describe(\"True if the vendor payment record was successfully deleted\").nullable(),\n}).passthrough();\n\nexport const netsuiteDeleteVendorPayment = action(\"NETSUITE_DELETE_VENDOR_PAYMENT\", {\n slug: \"netsuite-delete-vendor-payment\",\n name: \"Delete Vendor Payment\",\n description: \"Tool to delete a vendor payment record by ID. Use when you need to remove an existing vendor payment from NetSuite.\",\n input: NetsuiteDeleteVendorPaymentInput,\n output: NetsuiteDeleteVendorPaymentOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CASS;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const NetsuiteExecuteDatasetInput = zod.z.object({
|
|
|
9
9
|
const NetsuiteExecuteDataset_LinkSchema = zod.z.object({
|
|
10
10
|
rel: zod.z.string().describe("Relation type of this link (e.g., 'self', 'next').").nullable(),
|
|
11
11
|
href: zod.z.string().describe("URL for this link.").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const NetsuiteExecuteDatasetOutput = zod.z.object({
|
|
14
14
|
count: zod.z.number().int().describe("Number of items in the current page.").nullable(),
|
|
15
15
|
items: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of result rows; each item maps dataset field IDs to values."),
|
|
@@ -17,7 +17,7 @@ const NetsuiteExecuteDatasetOutput = zod.z.object({
|
|
|
17
17
|
offset: zod.z.number().int().describe("Offset used for this page.").nullable(),
|
|
18
18
|
hasMore: zod.z.boolean().describe("Indicates if additional pages are available.").nullable(),
|
|
19
19
|
totalResults: zod.z.number().int().describe("Total number of matching results across all pages.").nullable()
|
|
20
|
-
}).describe("Response model for a SuiteAnalytics dataset execution.");
|
|
20
|
+
}).passthrough().describe("Response model for a SuiteAnalytics dataset execution.");
|
|
21
21
|
const netsuiteExecuteDataset = require_action.action("NETSUITE_EXECUTE_DATASET", {
|
|
22
22
|
slug: "netsuite-execute-dataset",
|
|
23
23
|
name: "Execute Dataset",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute-dataset.cjs","names":["z","action"],"sources":["../../src/actions/execute-dataset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteExecuteDatasetInput = z.object({\n limit: z.number().int().describe(\"Page size; default is 1000, maximum is 1000; offset must be divisible by limit.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first item to return; must be a multiple of limit if both provided.\").optional(),\n dataset_id: z.string().describe(\"Internal ID of the SuiteAnalytics dataset to execute.\"),\n}).describe(\"Parameters for executing a SuiteAnalytics dataset.\");\nconst NetsuiteExecuteDataset_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'self', 'next').\").nullable(),\n href: z.string().describe(\"URL for this link.\").nullable(),\n});\nexport const NetsuiteExecuteDatasetOutput = z.object({\n count: z.number().int().describe(\"Number of items in the current page.\").nullable(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of result rows; each item maps dataset field IDs to values.\"),\n links: z.array(NetsuiteExecuteDataset_LinkSchema).describe(\"Top-level HATEOAS links for navigation.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of matching results across all pages.\").nullable(),\n}).describe(\"Response model for a SuiteAnalytics dataset execution.\");\n\nexport const netsuiteExecuteDataset = action(\"NETSUITE_EXECUTE_DATASET\", {\n slug: \"netsuite-execute-dataset\",\n name: \"Execute Dataset\",\n description: \"Tool to execute a SuiteAnalytics dataset and return paged results. Use when you need to retrieve dataset rows with paging support.\",\n input: NetsuiteExecuteDatasetInput,\n output: NetsuiteExecuteDatasetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC3D,CAAC;
|
|
1
|
+
{"version":3,"file":"execute-dataset.cjs","names":["z","action"],"sources":["../../src/actions/execute-dataset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteExecuteDatasetInput = z.object({\n limit: z.number().int().describe(\"Page size; default is 1000, maximum is 1000; offset must be divisible by limit.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first item to return; must be a multiple of limit if both provided.\").optional(),\n dataset_id: z.string().describe(\"Internal ID of the SuiteAnalytics dataset to execute.\"),\n}).describe(\"Parameters for executing a SuiteAnalytics dataset.\");\nconst NetsuiteExecuteDataset_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'self', 'next').\").nullable(),\n href: z.string().describe(\"URL for this link.\").nullable(),\n}).passthrough();\nexport const NetsuiteExecuteDatasetOutput = z.object({\n count: z.number().int().describe(\"Number of items in the current page.\").nullable(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of result rows; each item maps dataset field IDs to values.\"),\n links: z.array(NetsuiteExecuteDataset_LinkSchema).describe(\"Top-level HATEOAS links for navigation.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of matching results across all pages.\").nullable(),\n}).passthrough().describe(\"Response model for a SuiteAnalytics dataset execution.\");\n\nexport const netsuiteExecuteDataset = action(\"NETSUITE_EXECUTE_DATASET\", {\n slug: \"netsuite-execute-dataset\",\n name: \"Execute Dataset\",\n description: \"Tool to execute a SuiteAnalytics dataset and return paged results. Use when you need to retrieve dataset rows with paging support.\",\n input: NetsuiteExecuteDatasetInput,\n output: NetsuiteExecuteDatasetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAC9H,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,yCAAyC;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,16 +12,28 @@ declare const NetsuiteExecuteDatasetOutput: z.ZodObject<{
|
|
|
12
12
|
links: z.ZodArray<z.ZodObject<{
|
|
13
13
|
rel: z.ZodNullable<z.ZodString>;
|
|
14
14
|
href: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
hasMore: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const netsuiteExecuteDataset: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
dataset_id: string;
|
|
22
22
|
limit?: number | undefined;
|
|
23
23
|
offset?: number | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
accessToken: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>;
|
|
25
37
|
//#endregion
|
|
26
38
|
export { netsuiteExecuteDataset };
|
|
27
39
|
//# sourceMappingURL=execute-dataset.d.cts.map
|
|
@@ -12,16 +12,28 @@ declare const NetsuiteExecuteDatasetOutput: z.ZodObject<{
|
|
|
12
12
|
links: z.ZodArray<z.ZodObject<{
|
|
13
13
|
rel: z.ZodNullable<z.ZodString>;
|
|
14
14
|
href: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
hasMore: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const netsuiteExecuteDataset: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
dataset_id: string;
|
|
22
22
|
limit?: number | undefined;
|
|
23
23
|
offset?: number | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
accessToken: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>;
|
|
25
37
|
//#endregion
|
|
26
38
|
export { netsuiteExecuteDataset };
|
|
27
39
|
//# sourceMappingURL=execute-dataset.d.mts.map
|
|
@@ -9,7 +9,7 @@ const NetsuiteExecuteDatasetInput = z.object({
|
|
|
9
9
|
const NetsuiteExecuteDataset_LinkSchema = z.object({
|
|
10
10
|
rel: z.string().describe("Relation type of this link (e.g., 'self', 'next').").nullable(),
|
|
11
11
|
href: z.string().describe("URL for this link.").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const netsuiteExecuteDataset = action("NETSUITE_EXECUTE_DATASET", {
|
|
14
14
|
slug: "netsuite-execute-dataset",
|
|
15
15
|
name: "Execute Dataset",
|
|
@@ -22,7 +22,7 @@ const netsuiteExecuteDataset = action("NETSUITE_EXECUTE_DATASET", {
|
|
|
22
22
|
offset: z.number().int().describe("Offset used for this page.").nullable(),
|
|
23
23
|
hasMore: z.boolean().describe("Indicates if additional pages are available.").nullable(),
|
|
24
24
|
totalResults: z.number().int().describe("Total number of matching results across all pages.").nullable()
|
|
25
|
-
}).describe("Response model for a SuiteAnalytics dataset execution.")
|
|
25
|
+
}).passthrough().describe("Response model for a SuiteAnalytics dataset execution.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { netsuiteExecuteDataset };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute-dataset.mjs","names":[],"sources":["../../src/actions/execute-dataset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteExecuteDatasetInput = z.object({\n limit: z.number().int().describe(\"Page size; default is 1000, maximum is 1000; offset must be divisible by limit.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first item to return; must be a multiple of limit if both provided.\").optional(),\n dataset_id: z.string().describe(\"Internal ID of the SuiteAnalytics dataset to execute.\"),\n}).describe(\"Parameters for executing a SuiteAnalytics dataset.\");\nconst NetsuiteExecuteDataset_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'self', 'next').\").nullable(),\n href: z.string().describe(\"URL for this link.\").nullable(),\n});\nexport const NetsuiteExecuteDatasetOutput = z.object({\n count: z.number().int().describe(\"Number of items in the current page.\").nullable(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of result rows; each item maps dataset field IDs to values.\"),\n links: z.array(NetsuiteExecuteDataset_LinkSchema).describe(\"Top-level HATEOAS links for navigation.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of matching results across all pages.\").nullable(),\n}).describe(\"Response model for a SuiteAnalytics dataset execution.\");\n\nexport const netsuiteExecuteDataset = action(\"NETSUITE_EXECUTE_DATASET\", {\n slug: \"netsuite-execute-dataset\",\n name: \"Execute Dataset\",\n description: \"Tool to execute a SuiteAnalytics dataset and return paged results. Use when you need to retrieve dataset rows with paging support.\",\n input: NetsuiteExecuteDatasetInput,\n output: NetsuiteExecuteDatasetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC3D,CAAC;
|
|
1
|
+
{"version":3,"file":"execute-dataset.mjs","names":[],"sources":["../../src/actions/execute-dataset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteExecuteDatasetInput = z.object({\n limit: z.number().int().describe(\"Page size; default is 1000, maximum is 1000; offset must be divisible by limit.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first item to return; must be a multiple of limit if both provided.\").optional(),\n dataset_id: z.string().describe(\"Internal ID of the SuiteAnalytics dataset to execute.\"),\n}).describe(\"Parameters for executing a SuiteAnalytics dataset.\");\nconst NetsuiteExecuteDataset_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'self', 'next').\").nullable(),\n href: z.string().describe(\"URL for this link.\").nullable(),\n}).passthrough();\nexport const NetsuiteExecuteDatasetOutput = z.object({\n count: z.number().int().describe(\"Number of items in the current page.\").nullable(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of result rows; each item maps dataset field IDs to values.\"),\n links: z.array(NetsuiteExecuteDataset_LinkSchema).describe(\"Top-level HATEOAS links for navigation.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of matching results across all pages.\").nullable(),\n}).passthrough().describe(\"Response model for a SuiteAnalytics dataset execution.\");\n\nexport const netsuiteExecuteDataset = action(\"NETSUITE_EXECUTE_DATASET\", {\n slug: \"netsuite-execute-dataset\",\n name: \"Execute Dataset\",\n description: \"Tool to execute a SuiteAnalytics dataset and return paged results. Use when you need to retrieve dataset rows with paging support.\",\n input: NetsuiteExecuteDatasetInput,\n output: NetsuiteExecuteDatasetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC9H,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,yCAAyC;EACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -10,11 +10,11 @@ const NetsuiteGetCustomerPaymentInput = zod.z.object({
|
|
|
10
10
|
const NetsuiteGetCustomerPayment_LinkSchema = zod.z.object({
|
|
11
11
|
rel: zod.z.string().describe("Link relation type (e.g., 'self')").nullable(),
|
|
12
12
|
href: zod.z.string().describe("URL to the linked resource").nullable()
|
|
13
|
-
}).describe("HATEOAS link model");
|
|
13
|
+
}).passthrough().describe("HATEOAS link model");
|
|
14
14
|
const NetsuiteGetCustomerPaymentOutput = zod.z.object({
|
|
15
15
|
links: zod.z.array(NetsuiteGetCustomerPayment_LinkSchema).describe("HATEOAS navigation links for the customer payment resource and its subresources"),
|
|
16
16
|
record: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Customer payment record with fields including: id (payment internal ID), customer (customer reference), payment (payment amount), tranDate (transaction date), tranId (transaction number), currency, account, status, applied (amount applied to invoices), unapplied (unapplied amount), balance (customer balance), memo, and other payment details. The exact fields returned depend on the 'fields' parameter and NetSuite configuration.")
|
|
17
|
-
}).describe("Response model for a retrieved customer payment record.");
|
|
17
|
+
}).passthrough().describe("Response model for a retrieved customer payment record.");
|
|
18
18
|
const netsuiteGetCustomerPayment = require_action.action("NETSUITE_GET_CUSTOMER_PAYMENT", {
|
|
19
19
|
slug: "netsuite-get-customer-payment",
|
|
20
20
|
name: "Get Customer Payment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer-payment.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetCustomerPaymentInput = z.object({\n id: z.string().describe(\"Internal ID of the customer payment, or external ID prefixed with 'eid:'.\"),\n fields: z.string().describe(\"Comma-separated list of body fields to include; selective retrieval of sublist/subrecord fields is not supported. Example: 'payment,memo,customer'\").optional(),\n simpleEnumFormat: z.boolean().describe(\"If true, enumerated fields return only internal IDs; otherwise return objects with 'id' and 'refName'\").optional(),\n expandSubResources: z.boolean().describe(\"True to expand sublists and subrecords instead of returning only their links\").optional(),\n}).describe(\"Request model for retrieving a customer payment record by internal or external ID.\");\nconst NetsuiteGetCustomerPayment_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL to the linked resource\").nullable(),\n}).describe(\"HATEOAS link model\");\nexport const NetsuiteGetCustomerPaymentOutput = z.object({\n links: z.array(NetsuiteGetCustomerPayment_LinkSchema).describe(\"HATEOAS navigation links for the customer payment resource and its subresources\"),\n record: z.record(z.string(), z.unknown()).describe(\"Customer payment record with fields including: id (payment internal ID), customer (customer reference), payment (payment amount), tranDate (transaction date), tranId (transaction number), currency, account, status, applied (amount applied to invoices), unapplied (unapplied amount), balance (customer balance), memo, and other payment details. The exact fields returned depend on the 'fields' parameter and NetSuite configuration.\"),\n}).describe(\"Response model for a retrieved customer payment record.\");\n\nexport const netsuiteGetCustomerPayment = action(\"NETSUITE_GET_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-get-customer-payment\",\n name: \"Get Customer Payment\",\n description: \"Tool to retrieve a customer payment record by ID. Use when you need to fetch payment details using the internal or external ID.\",\n input: NetsuiteGetCustomerPaymentInput,\n output: NetsuiteGetCustomerPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACzJ,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,oBAAoB;
|
|
1
|
+
{"version":3,"file":"get-customer-payment.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetCustomerPaymentInput = z.object({\n id: z.string().describe(\"Internal ID of the customer payment, or external ID prefixed with 'eid:'.\"),\n fields: z.string().describe(\"Comma-separated list of body fields to include; selective retrieval of sublist/subrecord fields is not supported. Example: 'payment,memo,customer'\").optional(),\n simpleEnumFormat: z.boolean().describe(\"If true, enumerated fields return only internal IDs; otherwise return objects with 'id' and 'refName'\").optional(),\n expandSubResources: z.boolean().describe(\"True to expand sublists and subrecords instead of returning only their links\").optional(),\n}).describe(\"Request model for retrieving a customer payment record by internal or external ID.\");\nconst NetsuiteGetCustomerPayment_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL to the linked resource\").nullable(),\n}).passthrough().describe(\"HATEOAS link model\");\nexport const NetsuiteGetCustomerPaymentOutput = z.object({\n links: z.array(NetsuiteGetCustomerPayment_LinkSchema).describe(\"HATEOAS navigation links for the customer payment resource and its subresources\"),\n record: z.record(z.string(), z.unknown()).describe(\"Customer payment record with fields including: id (payment internal ID), customer (customer reference), payment (payment amount), tranDate (transaction date), tranId (transaction number), currency, account, status, applied (amount applied to invoices), unapplied (unapplied amount), balance (customer balance), memo, and other payment details. The exact fields returned depend on the 'fields' parameter and NetSuite configuration.\"),\n}).passthrough().describe(\"Response model for a retrieved customer payment record.\");\n\nexport const netsuiteGetCustomerPayment = action(\"NETSUITE_GET_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-get-customer-payment\",\n name: \"Get Customer Payment\",\n description: \"Tool to retrieve a customer payment record by ID. Use when you need to fetch payment details using the internal or external ID.\",\n input: NetsuiteGetCustomerPaymentInput,\n output: NetsuiteGetCustomerPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACzJ,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iFAAiF;CAChJ,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gbAAgb;AACre,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,15 +11,27 @@ declare const NetsuiteGetCustomerPaymentOutput: z.ZodObject<{
|
|
|
11
11
|
links: z.ZodArray<z.ZodObject<{
|
|
12
12
|
rel: z.ZodNullable<z.ZodString>;
|
|
13
13
|
href: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const netsuiteGetCustomerPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
id: string;
|
|
19
19
|
fields?: string | undefined;
|
|
20
20
|
simpleEnumFormat?: boolean | undefined;
|
|
21
21
|
expandSubResources?: boolean | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodString;
|
|
24
|
+
entityId: z.ZodString;
|
|
25
|
+
instanceId: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
accessToken: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>;
|
|
23
35
|
//#endregion
|
|
24
36
|
export { netsuiteGetCustomerPayment };
|
|
25
37
|
//# sourceMappingURL=get-customer-payment.d.cts.map
|
|
@@ -11,15 +11,27 @@ declare const NetsuiteGetCustomerPaymentOutput: z.ZodObject<{
|
|
|
11
11
|
links: z.ZodArray<z.ZodObject<{
|
|
12
12
|
rel: z.ZodNullable<z.ZodString>;
|
|
13
13
|
href: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const netsuiteGetCustomerPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
id: string;
|
|
19
19
|
fields?: string | undefined;
|
|
20
20
|
simpleEnumFormat?: boolean | undefined;
|
|
21
21
|
expandSubResources?: boolean | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodString;
|
|
24
|
+
entityId: z.ZodString;
|
|
25
|
+
instanceId: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
accessToken: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>;
|
|
23
35
|
//#endregion
|
|
24
36
|
export { netsuiteGetCustomerPayment };
|
|
25
37
|
//# sourceMappingURL=get-customer-payment.d.mts.map
|
|
@@ -10,7 +10,7 @@ const NetsuiteGetCustomerPaymentInput = z.object({
|
|
|
10
10
|
const NetsuiteGetCustomerPayment_LinkSchema = z.object({
|
|
11
11
|
rel: z.string().describe("Link relation type (e.g., 'self')").nullable(),
|
|
12
12
|
href: z.string().describe("URL to the linked resource").nullable()
|
|
13
|
-
}).describe("HATEOAS link model");
|
|
13
|
+
}).passthrough().describe("HATEOAS link model");
|
|
14
14
|
const netsuiteGetCustomerPayment = action("NETSUITE_GET_CUSTOMER_PAYMENT", {
|
|
15
15
|
slug: "netsuite-get-customer-payment",
|
|
16
16
|
name: "Get Customer Payment",
|
|
@@ -19,7 +19,7 @@ const netsuiteGetCustomerPayment = action("NETSUITE_GET_CUSTOMER_PAYMENT", {
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
links: z.array(NetsuiteGetCustomerPayment_LinkSchema).describe("HATEOAS navigation links for the customer payment resource and its subresources"),
|
|
21
21
|
record: z.record(z.string(), z.unknown()).describe("Customer payment record with fields including: id (payment internal ID), customer (customer reference), payment (payment amount), tranDate (transaction date), tranId (transaction number), currency, account, status, applied (amount applied to invoices), unapplied (unapplied amount), balance (customer balance), memo, and other payment details. The exact fields returned depend on the 'fields' parameter and NetSuite configuration.")
|
|
22
|
-
}).describe("Response model for a retrieved customer payment record.")
|
|
22
|
+
}).passthrough().describe("Response model for a retrieved customer payment record.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { netsuiteGetCustomerPayment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer-payment.mjs","names":[],"sources":["../../src/actions/get-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetCustomerPaymentInput = z.object({\n id: z.string().describe(\"Internal ID of the customer payment, or external ID prefixed with 'eid:'.\"),\n fields: z.string().describe(\"Comma-separated list of body fields to include; selective retrieval of sublist/subrecord fields is not supported. Example: 'payment,memo,customer'\").optional(),\n simpleEnumFormat: z.boolean().describe(\"If true, enumerated fields return only internal IDs; otherwise return objects with 'id' and 'refName'\").optional(),\n expandSubResources: z.boolean().describe(\"True to expand sublists and subrecords instead of returning only their links\").optional(),\n}).describe(\"Request model for retrieving a customer payment record by internal or external ID.\");\nconst NetsuiteGetCustomerPayment_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL to the linked resource\").nullable(),\n}).describe(\"HATEOAS link model\");\nexport const NetsuiteGetCustomerPaymentOutput = z.object({\n links: z.array(NetsuiteGetCustomerPayment_LinkSchema).describe(\"HATEOAS navigation links for the customer payment resource and its subresources\"),\n record: z.record(z.string(), z.unknown()).describe(\"Customer payment record with fields including: id (payment internal ID), customer (customer reference), payment (payment amount), tranDate (transaction date), tranId (transaction number), currency, account, status, applied (amount applied to invoices), unapplied (unapplied amount), balance (customer balance), memo, and other payment details. The exact fields returned depend on the 'fields' parameter and NetSuite configuration.\"),\n}).describe(\"Response model for a retrieved customer payment record.\");\n\nexport const netsuiteGetCustomerPayment = action(\"NETSUITE_GET_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-get-customer-payment\",\n name: \"Get Customer Payment\",\n description: \"Tool to retrieve a customer payment record by ID. Use when you need to fetch payment details using the internal or external ID.\",\n input: NetsuiteGetCustomerPaymentInput,\n output: NetsuiteGetCustomerPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACzJ,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,wCAAwC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,oBAAoB;
|
|
1
|
+
{"version":3,"file":"get-customer-payment.mjs","names":[],"sources":["../../src/actions/get-customer-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetCustomerPaymentInput = z.object({\n id: z.string().describe(\"Internal ID of the customer payment, or external ID prefixed with 'eid:'.\"),\n fields: z.string().describe(\"Comma-separated list of body fields to include; selective retrieval of sublist/subrecord fields is not supported. Example: 'payment,memo,customer'\").optional(),\n simpleEnumFormat: z.boolean().describe(\"If true, enumerated fields return only internal IDs; otherwise return objects with 'id' and 'refName'\").optional(),\n expandSubResources: z.boolean().describe(\"True to expand sublists and subrecords instead of returning only their links\").optional(),\n}).describe(\"Request model for retrieving a customer payment record by internal or external ID.\");\nconst NetsuiteGetCustomerPayment_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL to the linked resource\").nullable(),\n}).passthrough().describe(\"HATEOAS link model\");\nexport const NetsuiteGetCustomerPaymentOutput = z.object({\n links: z.array(NetsuiteGetCustomerPayment_LinkSchema).describe(\"HATEOAS navigation links for the customer payment resource and its subresources\"),\n record: z.record(z.string(), z.unknown()).describe(\"Customer payment record with fields including: id (payment internal ID), customer (customer reference), payment (payment amount), tranDate (transaction date), tranId (transaction number), currency, account, status, applied (amount applied to invoices), unapplied (unapplied amount), balance (customer balance), memo, and other payment details. The exact fields returned depend on the 'fields' parameter and NetSuite configuration.\"),\n}).passthrough().describe(\"Response model for a retrieved customer payment record.\");\n\nexport const netsuiteGetCustomerPayment = action(\"NETSUITE_GET_CUSTOMER_PAYMENT\", {\n slug: \"netsuite-get-customer-payment\",\n name: \"Get Customer Payment\",\n description: \"Tool to retrieve a customer payment record by ID. Use when you need to fetch payment details using the internal or external ID.\",\n input: NetsuiteGetCustomerPaymentInput,\n output: NetsuiteGetCustomerPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACzJ,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,wCAAwC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAM9C,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iFAAiF;EAChJ,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gbAAgb;CACre,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -9,11 +9,11 @@ const NetsuiteGetCustomerInput = zod.z.object({
|
|
|
9
9
|
const NetsuiteGetCustomer_LinkSchema = zod.z.object({
|
|
10
10
|
rel: zod.z.string().describe("Link relationship type (e.g., 'self')").nullable(),
|
|
11
11
|
href: zod.z.string().describe("URL of the linked resource").nullable()
|
|
12
|
-
}).describe("HATEOAS link model.");
|
|
12
|
+
}).passthrough().describe("HATEOAS link model.");
|
|
13
13
|
const NetsuiteGetCustomerOutput = zod.z.object({
|
|
14
14
|
links: zod.z.array(NetsuiteGetCustomer_LinkSchema).describe("HATEOAS navigation links for the customer resource"),
|
|
15
15
|
record: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Customer record containing fields like id, companyName, email, phone, entityId, entityStatus, subsidiary, currency, balance, and other customer-specific data. Fields returned depend on the 'fields' parameter and NetSuite configuration.")
|
|
16
|
-
}).describe("Response model for a retrieved customer record.");
|
|
16
|
+
}).passthrough().describe("Response model for a retrieved customer record.");
|
|
17
17
|
const netsuiteGetCustomer = require_action.action("NETSUITE_GET_CUSTOMER", {
|
|
18
18
|
slug: "netsuite-get-customer",
|
|
19
19
|
name: "Get Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer to retrieve\"),\n fields: z.string().describe(\"Comma-separated list of body fields to return. Example: 'companyName,email,entityId'\").optional(),\n expandSubResources: z.boolean().describe(\"True to expand sublists/subrecords instead of returning only their links\").optional(),\n}).describe(\"Request model for retrieving a customer record by internal ID.\");\nconst NetsuiteGetCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL of the linked resource\").nullable(),\n}).describe(\"HATEOAS link model.\");\nexport const NetsuiteGetCustomerOutput = z.object({\n links: z.array(NetsuiteGetCustomer_LinkSchema).describe(\"HATEOAS navigation links for the customer resource\"),\n record: z.record(z.string(), z.unknown()).describe(\"Customer record containing fields like id, companyName, email, phone, entityId, entityStatus, subsidiary, currency, balance, and other customer-specific data. Fields returned depend on the 'fields' parameter and NetSuite configuration.\"),\n}).describe(\"Response model for a retrieved customer record.\");\n\nexport const netsuiteGetCustomer = action(\"NETSUITE_GET_CUSTOMER\", {\n slug: \"netsuite-get-customer\",\n name: \"Get Customer\",\n description: \"Tool to retrieve a customer record by internal ID. Use when you have a customer ID and need detailed customer data.\",\n input: NetsuiteGetCustomerInput,\n output: NetsuiteGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,qBAAqB;
|
|
1
|
+
{"version":3,"file":"get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer to retrieve\"),\n fields: z.string().describe(\"Comma-separated list of body fields to return. Example: 'companyName,email,entityId'\").optional(),\n expandSubResources: z.boolean().describe(\"True to expand sublists/subrecords instead of returning only their links\").optional(),\n}).describe(\"Request model for retrieving a customer record by internal ID.\");\nconst NetsuiteGetCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL of the linked resource\").nullable(),\n}).passthrough().describe(\"HATEOAS link model.\");\nexport const NetsuiteGetCustomerOutput = z.object({\n links: z.array(NetsuiteGetCustomer_LinkSchema).describe(\"HATEOAS navigation links for the customer resource\"),\n record: z.record(z.string(), z.unknown()).describe(\"Customer record containing fields like id, companyName, email, phone, entityId, entityStatus, subsidiary, currency, balance, and other customer-specific data. Fields returned depend on the 'fields' parameter and NetSuite configuration.\"),\n}).passthrough().describe(\"Response model for a retrieved customer record.\");\n\nexport const netsuiteGetCustomer = action(\"NETSUITE_GET_CUSTOMER\", {\n slug: \"netsuite-get-customer\",\n name: \"Get Customer\",\n description: \"Tool to retrieve a customer record by internal ID. Use when you have a customer ID and need detailed customer data.\",\n input: NetsuiteGetCustomerInput,\n output: NetsuiteGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qBAAqB;AAC/C,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,oDAAoD;CAC5G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;AAClS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,14 +10,26 @@ declare const NetsuiteGetCustomerOutput: z.ZodObject<{
|
|
|
10
10
|
links: z.ZodArray<z.ZodObject<{
|
|
11
11
|
rel: z.ZodNullable<z.ZodString>;
|
|
12
12
|
href: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const netsuiteGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: string;
|
|
18
18
|
fields?: string | undefined;
|
|
19
19
|
expandSubResources?: boolean | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { netsuiteGetCustomer };
|
|
23
35
|
//# sourceMappingURL=get-customer.d.cts.map
|
|
@@ -10,14 +10,26 @@ declare const NetsuiteGetCustomerOutput: z.ZodObject<{
|
|
|
10
10
|
links: z.ZodArray<z.ZodObject<{
|
|
11
11
|
rel: z.ZodNullable<z.ZodString>;
|
|
12
12
|
href: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const netsuiteGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: string;
|
|
18
18
|
fields?: string | undefined;
|
|
19
19
|
expandSubResources?: boolean | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
accessToken: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>;
|
|
21
33
|
//#endregion
|
|
22
34
|
export { netsuiteGetCustomer };
|
|
23
35
|
//# sourceMappingURL=get-customer.d.mts.map
|
|
@@ -9,7 +9,7 @@ const NetsuiteGetCustomerInput = z.object({
|
|
|
9
9
|
const NetsuiteGetCustomer_LinkSchema = z.object({
|
|
10
10
|
rel: z.string().describe("Link relationship type (e.g., 'self')").nullable(),
|
|
11
11
|
href: z.string().describe("URL of the linked resource").nullable()
|
|
12
|
-
}).describe("HATEOAS link model.");
|
|
12
|
+
}).passthrough().describe("HATEOAS link model.");
|
|
13
13
|
const netsuiteGetCustomer = action("NETSUITE_GET_CUSTOMER", {
|
|
14
14
|
slug: "netsuite-get-customer",
|
|
15
15
|
name: "Get Customer",
|
|
@@ -18,7 +18,7 @@ const netsuiteGetCustomer = action("NETSUITE_GET_CUSTOMER", {
|
|
|
18
18
|
output: z.object({
|
|
19
19
|
links: z.array(NetsuiteGetCustomer_LinkSchema).describe("HATEOAS navigation links for the customer resource"),
|
|
20
20
|
record: z.record(z.string(), z.unknown()).describe("Customer record containing fields like id, companyName, email, phone, entityId, entityStatus, subsidiary, currency, balance, and other customer-specific data. Fields returned depend on the 'fields' parameter and NetSuite configuration.")
|
|
21
|
-
}).describe("Response model for a retrieved customer record.")
|
|
21
|
+
}).passthrough().describe("Response model for a retrieved customer record.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { netsuiteGetCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer to retrieve\"),\n fields: z.string().describe(\"Comma-separated list of body fields to return. Example: 'companyName,email,entityId'\").optional(),\n expandSubResources: z.boolean().describe(\"True to expand sublists/subrecords instead of returning only their links\").optional(),\n}).describe(\"Request model for retrieving a customer record by internal ID.\");\nconst NetsuiteGetCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL of the linked resource\").nullable(),\n}).describe(\"HATEOAS link model.\");\nexport const NetsuiteGetCustomerOutput = z.object({\n links: z.array(NetsuiteGetCustomer_LinkSchema).describe(\"HATEOAS navigation links for the customer resource\"),\n record: z.record(z.string(), z.unknown()).describe(\"Customer record containing fields like id, companyName, email, phone, entityId, entityStatus, subsidiary, currency, balance, and other customer-specific data. Fields returned depend on the 'fields' parameter and NetSuite configuration.\"),\n}).describe(\"Response model for a retrieved customer record.\");\n\nexport const netsuiteGetCustomer = action(\"NETSUITE_GET_CUSTOMER\", {\n slug: \"netsuite-get-customer\",\n name: \"Get Customer\",\n description: \"Tool to retrieve a customer record by internal ID. Use when you have a customer ID and need detailed customer data.\",\n input: NetsuiteGetCustomerInput,\n output: NetsuiteGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,iCAAiC,EAAE,OAAO;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,qBAAqB;
|
|
1
|
+
{"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetCustomerInput = z.object({\n id: z.string().describe(\"Internal ID of the customer to retrieve\"),\n fields: z.string().describe(\"Comma-separated list of body fields to return. Example: 'companyName,email,entityId'\").optional(),\n expandSubResources: z.boolean().describe(\"True to expand sublists/subrecords instead of returning only their links\").optional(),\n}).describe(\"Request model for retrieving a customer record by internal ID.\");\nconst NetsuiteGetCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Link relationship type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL of the linked resource\").nullable(),\n}).passthrough().describe(\"HATEOAS link model.\");\nexport const NetsuiteGetCustomerOutput = z.object({\n links: z.array(NetsuiteGetCustomer_LinkSchema).describe(\"HATEOAS navigation links for the customer resource\"),\n record: z.record(z.string(), z.unknown()).describe(\"Customer record containing fields like id, companyName, email, phone, entityId, entityStatus, subsidiary, currency, balance, and other customer-specific data. Fields returned depend on the 'fields' parameter and NetSuite configuration.\"),\n}).passthrough().describe(\"Response model for a retrieved customer record.\");\n\nexport const netsuiteGetCustomer = action(\"NETSUITE_GET_CUSTOMER\", {\n slug: \"netsuite-get-customer\",\n name: \"Get Customer\",\n description: \"Tool to retrieve a customer record by internal ID. Use when you have a customer ID and need detailed customer data.\",\n input: NetsuiteGetCustomerInput,\n output: NetsuiteGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,iCAAiC,EAAE,OAAO;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qBAAqB;AAM/C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,oDAAoD;EAC5G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;CAClS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const NetsuiteGetDatacenterUrlsOutput = zod.z.object({
|
|
|
9
9
|
restDomain: zod.z.string().describe("Account-specific RESTlets domain URL.").nullable(),
|
|
10
10
|
systemDomain: zod.z.string().describe("Account-specific system (UI) domain URL.").nullable(),
|
|
11
11
|
webservicesDomain: zod.z.string().describe("Account-specific SOAP web services domain URL.").nullable()
|
|
12
|
-
}).describe("Account-specific domain URLs for SOAP, RESTlets, and UI services.");
|
|
12
|
+
}).passthrough().describe("Account-specific domain URLs for SOAP, RESTlets, and UI services.");
|
|
13
13
|
const netsuiteGetDatacenterUrls = require_action.action("NETSUITE_GET_DATACENTER_URLS", {
|
|
14
14
|
slug: "netsuite-get-datacenter-urls",
|
|
15
15
|
name: "Get Data Center URLs",
|