@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
|
@@ -8,7 +8,7 @@ const netsuiteGetRecordMetadata = action("NETSUITE_GET_RECORD_METADATA", {
|
|
|
8
8
|
accept: z.enum(["application/schema+json", "application/swagger+json"]).default("application/schema+json").describe("The format for the returned metadata. 'application/schema+json' (default) returns a JSON Schema definition describing the record's fields, types, and constraints. 'application/swagger+json' returns an OpenAPI 3.0 specification. Use JSON Schema format for programmatic field validation and discovery.").optional(),
|
|
9
9
|
record_type: z.string().describe("The NetSuite record type identifier. Common values include: 'customer', 'salesorder', 'invoice', 'vendor', 'employee', 'item', 'purchaseorder', 'journalentry'. Use lowercase names matching NetSuite's record type identifiers. To discover available record types, use the List Metadata Catalog action.")
|
|
10
10
|
}).describe("Input parameters for fetching NetSuite record metadata."),
|
|
11
|
-
output: z.object({ metadata: z.record(z.string(), z.unknown()).describe("The complete metadata definition for the record type. When accept='application/schema+json' (default), contains a JSON Schema with: 'type' (object), 'properties' (field definitions with title, type, description, format, nullable), and field constraints. Each property may include NetSuite-specific extensions like 'x-ns-custom-field'. When accept='application/swagger+json', contains an OpenAPI 3.0 specification. Use this metadata to understand available fields, data types, required vs optional fields, and validation rules before creating or updating records.") }).describe("Metadata definition for a NetSuite record type.")
|
|
11
|
+
output: z.object({ metadata: z.record(z.string(), z.unknown()).describe("The complete metadata definition for the record type. When accept='application/schema+json' (default), contains a JSON Schema with: 'type' (object), 'properties' (field definitions with title, type, description, format, nullable), and field constraints. Each property may include NetSuite-specific extensions like 'x-ns-custom-field'. When accept='application/swagger+json', contains an OpenAPI 3.0 specification. Use this metadata to understand available fields, data types, required vs optional fields, and validation rules before creating or updating records.") }).passthrough().describe("Metadata definition for a NetSuite record type.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { netsuiteGetRecordMetadata };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record-metadata.mjs","names":[],"sources":["../../src/actions/get-record-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetRecordMetadataInput = z.object({\n accept: z.enum([\"application/schema+json\", \"application/swagger+json\"]).default(\"application/schema+json\").describe(\"The format for the returned metadata. 'application/schema+json' (default) returns a JSON Schema definition describing the record's fields, types, and constraints. 'application/swagger+json' returns an OpenAPI 3.0 specification. Use JSON Schema format for programmatic field validation and discovery.\").optional(),\n record_type: z.string().describe(\"The NetSuite record type identifier. Common values include: 'customer', 'salesorder', 'invoice', 'vendor', 'employee', 'item', 'purchaseorder', 'journalentry'. Use lowercase names matching NetSuite's record type identifiers. To discover available record types, use the List Metadata Catalog action.\"),\n}).describe(\"Input parameters for fetching NetSuite record metadata.\");\nexport const NetsuiteGetRecordMetadataOutput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"The complete metadata definition for the record type. When accept='application/schema+json' (default), contains a JSON Schema with: 'type' (object), 'properties' (field definitions with title, type, description, format, nullable), and field constraints. Each property may include NetSuite-specific extensions like 'x-ns-custom-field'. When accept='application/swagger+json', contains an OpenAPI 3.0 specification. Use this metadata to understand available fields, data types, required vs optional fields, and validation rules before creating or updating records.\"),\n}).describe(\"Metadata definition for a NetSuite record type.\");\n\nexport const netsuiteGetRecordMetadata = action(\"NETSUITE_GET_RECORD_METADATA\", {\n slug: \"netsuite-get-record-metadata\",\n name: \"Get Record Metadata\",\n description: \"Retrieves the complete metadata schema for a NetSuite record type, including all field definitions, data types, constraints, and descriptions. Use this action to discover available fields and their requirements before creating or updating records. The metadata includes standard and custom fields, field types (string, number, boolean, date, references), nullability, format constraints, and descriptive help text. Essential for dynamic record handling and validation.\",\n input: NetsuiteGetRecordMetadataInput,\n output: NetsuiteGetRecordMetadataOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,2BAA2B,0BAA0B,CAAC,CAAC,CAAC,QAAQ,yBAAyB,CAAC,CAAC,SAAS,6SAA6S,CAAC,CAAC,SAAS;EAC5a,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4SAA4S;CAC/U,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT6C,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ojBAAojB,EAC3mB,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-record-metadata.mjs","names":[],"sources":["../../src/actions/get-record-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetRecordMetadataInput = z.object({\n accept: z.enum([\"application/schema+json\", \"application/swagger+json\"]).default(\"application/schema+json\").describe(\"The format for the returned metadata. 'application/schema+json' (default) returns a JSON Schema definition describing the record's fields, types, and constraints. 'application/swagger+json' returns an OpenAPI 3.0 specification. Use JSON Schema format for programmatic field validation and discovery.\").optional(),\n record_type: z.string().describe(\"The NetSuite record type identifier. Common values include: 'customer', 'salesorder', 'invoice', 'vendor', 'employee', 'item', 'purchaseorder', 'journalentry'. Use lowercase names matching NetSuite's record type identifiers. To discover available record types, use the List Metadata Catalog action.\"),\n}).describe(\"Input parameters for fetching NetSuite record metadata.\");\nexport const NetsuiteGetRecordMetadataOutput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"The complete metadata definition for the record type. When accept='application/schema+json' (default), contains a JSON Schema with: 'type' (object), 'properties' (field definitions with title, type, description, format, nullable), and field constraints. Each property may include NetSuite-specific extensions like 'x-ns-custom-field'. When accept='application/swagger+json', contains an OpenAPI 3.0 specification. Use this metadata to understand available fields, data types, required vs optional fields, and validation rules before creating or updating records.\"),\n}).passthrough().describe(\"Metadata definition for a NetSuite record type.\");\n\nexport const netsuiteGetRecordMetadata = action(\"NETSUITE_GET_RECORD_METADATA\", {\n slug: \"netsuite-get-record-metadata\",\n name: \"Get Record Metadata\",\n description: \"Retrieves the complete metadata schema for a NetSuite record type, including all field definitions, data types, constraints, and descriptions. Use this action to discover available fields and their requirements before creating or updating records. The metadata includes standard and custom fields, field types (string, number, boolean, date, references), nullability, format constraints, and descriptive help text. Essential for dynamic record handling and validation.\",\n input: NetsuiteGetRecordMetadataInput,\n output: NetsuiteGetRecordMetadataOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,2BAA2B,0BAA0B,CAAC,CAAC,CAAC,QAAQ,yBAAyB,CAAC,CAAC,SAAS,6SAA6S,CAAC,CAAC,SAAS;EAC5a,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4SAA4S;CAC/U,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT6C,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ojBAAojB,EAC3mB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -11,11 +11,11 @@ const NetsuiteGetReferenceSelectFieldInput = zod.z.object({
|
|
|
11
11
|
const NetsuiteGetReferenceSelectField_LinkItemSchema = zod.z.object({
|
|
12
12
|
rel: zod.z.string().describe("Link relation type (e.g., 'self')").nullable(),
|
|
13
13
|
href: zod.z.string().describe("URL of the linked resource").nullable()
|
|
14
|
-
}).describe("HATEOAS link structure.");
|
|
14
|
+
}).passthrough().describe("HATEOAS link structure.");
|
|
15
15
|
const NetsuiteGetReferenceSelectFieldOutput = zod.z.object({
|
|
16
16
|
links: zod.z.array(NetsuiteGetReferenceSelectField_LinkItemSchema).describe("HATEOAS navigation links for the referenced record."),
|
|
17
17
|
record: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete referenced record with all accessible fields as key-value pairs. Structure varies by record type and includes both standard fields (id, name) and custom fields. Nested select fields appear as objects with 'id', 'refName', and 'links'.")
|
|
18
|
-
}).describe("Response model for a referenced record instance retrieved via a select field.\n\nContains the full record details of the referenced entity (e.g., retrieving\nthe subsidiary record from a customer's subsidiary field).");
|
|
18
|
+
}).passthrough().describe("Response model for a referenced record instance retrieved via a select field.\n\nContains the full record details of the referenced entity (e.g., retrieving\nthe subsidiary record from a customer's subsidiary field).");
|
|
19
19
|
const netsuiteGetReferenceSelectField = require_action.action("NETSUITE_GET_REFERENCE_SELECT_FIELD", {
|
|
20
20
|
slug: "netsuite-get-reference-select-field",
|
|
21
21
|
name: "Get Reference Select Field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-select-field.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-select-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetReferenceSelectFieldInput = z.object({\n id: z.string().describe(\"Internal ID of the parent record or external ID prefixed with 'eid:'.\"),\n fields: z.string().describe(\"Comma-separated list of body field IDs to include in the response of the referenced record.\").optional(),\n record_type: z.string().describe(\"Internal ID or script ID of the parent record type (e.g., 'customer' or custom record script ID).\"),\n select_field: z.string().describe(\"Script ID of the select-type field on the parent record that references another record (e.g., 'subsidiary').\"),\n expandSubResources: z.boolean().describe(\"True to expand sublists/subrecords of the returned referenced record; otherwise they are returned as links.\").optional(),\n}).describe(\"Request model for retrieving a record referenced by a select-type field on a parent record.\");\nconst NetsuiteGetReferenceSelectField_LinkItemSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL of the linked resource\").nullable(),\n}).describe(\"HATEOAS link structure.\");\nexport const NetsuiteGetReferenceSelectFieldOutput = z.object({\n links: z.array(NetsuiteGetReferenceSelectField_LinkItemSchema).describe(\"HATEOAS navigation links for the referenced record.\"),\n record: z.record(z.string(), z.unknown()).describe(\"Complete referenced record with all accessible fields as key-value pairs. Structure varies by record type and includes both standard fields (id, name) and custom fields. Nested select fields appear as objects with 'id', 'refName', and 'links'.\"),\n}).describe(\"Response model for a referenced record instance retrieved via a select field.\\n\\nContains the full record details of the referenced entity (e.g., retrieving\\nthe subsidiary record from a customer's subsidiary field).\");\n\nexport const netsuiteGetReferenceSelectField = action(\"NETSUITE_GET_REFERENCE_SELECT_FIELD\", {\n slug: \"netsuite-get-reference-select-field\",\n name: \"Get Reference Select Field\",\n description: \"Retrieves the complete record referenced by a select-type field on a parent record. Use this when you have a parent record (e.g., customer, salesorder) that references another record via a select field (e.g., 'subsidiary', 'entity', 'currency'), and you need the full details of that referenced record. Example: If a customer has subsidiary ID \\\"1\\\", use this to get all subsidiary details instead of just the ID reference. Common select fields by record type: - customer: subsidiary, currency, terms, salesRep, parent - salesorder/invoice: entity (customer), subsidiary, currency, terms - employee: supervisor, subsidiary, department - vendor: subsidiary, currency, terms\",\n input: NetsuiteGetReferenceSelectFieldInput,\n output: NetsuiteGetReferenceSelectFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACpI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAChJ,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,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,yBAAyB;
|
|
1
|
+
{"version":3,"file":"get-reference-select-field.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-select-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetReferenceSelectFieldInput = z.object({\n id: z.string().describe(\"Internal ID of the parent record or external ID prefixed with 'eid:'.\"),\n fields: z.string().describe(\"Comma-separated list of body field IDs to include in the response of the referenced record.\").optional(),\n record_type: z.string().describe(\"Internal ID or script ID of the parent record type (e.g., 'customer' or custom record script ID).\"),\n select_field: z.string().describe(\"Script ID of the select-type field on the parent record that references another record (e.g., 'subsidiary').\"),\n expandSubResources: z.boolean().describe(\"True to expand sublists/subrecords of the returned referenced record; otherwise they are returned as links.\").optional(),\n}).describe(\"Request model for retrieving a record referenced by a select-type field on a parent record.\");\nconst NetsuiteGetReferenceSelectField_LinkItemSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL of the linked resource\").nullable(),\n}).passthrough().describe(\"HATEOAS link structure.\");\nexport const NetsuiteGetReferenceSelectFieldOutput = z.object({\n links: z.array(NetsuiteGetReferenceSelectField_LinkItemSchema).describe(\"HATEOAS navigation links for the referenced record.\"),\n record: z.record(z.string(), z.unknown()).describe(\"Complete referenced record with all accessible fields as key-value pairs. Structure varies by record type and includes both standard fields (id, name) and custom fields. Nested select fields appear as objects with 'id', 'refName', and 'links'.\"),\n}).passthrough().describe(\"Response model for a referenced record instance retrieved via a select field.\\n\\nContains the full record details of the referenced entity (e.g., retrieving\\nthe subsidiary record from a customer's subsidiary field).\");\n\nexport const netsuiteGetReferenceSelectField = action(\"NETSUITE_GET_REFERENCE_SELECT_FIELD\", {\n slug: \"netsuite-get-reference-select-field\",\n name: \"Get Reference Select Field\",\n description: \"Retrieves the complete record referenced by a select-type field on a parent record. Use this when you have a parent record (e.g., customer, salesorder) that references another record via a select field (e.g., 'subsidiary', 'entity', 'currency'), and you need the full details of that referenced record. Example: If a customer has subsidiary ID \\\"1\\\", use this to get all subsidiary details instead of just the ID reference. Common select fields by record type: - customer: subsidiary, currency, terms, salesRep, parent - salesorder/invoice: entity (customer), subsidiary, currency, terms - employee: supervisor, subsidiary, department - vendor: subsidiary, currency, terms\",\n input: NetsuiteGetReferenceSelectFieldInput,\n output: NetsuiteGetReferenceSelectFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACpI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAChJ,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,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,yBAAyB;AACnD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,qDAAqD;CAC7H,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qPAAqP;AAC1S,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0NAA0N;AAEpP,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,16 +12,28 @@ declare const NetsuiteGetReferenceSelectFieldOutput: 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
|
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const netsuiteGetReferenceSelectField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
id: string;
|
|
20
20
|
record_type: string;
|
|
21
21
|
select_field: string;
|
|
22
22
|
fields?: string | undefined;
|
|
23
23
|
expandSubResources?: boolean | 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 { netsuiteGetReferenceSelectField };
|
|
27
39
|
//# sourceMappingURL=get-reference-select-field.d.cts.map
|
|
@@ -12,16 +12,28 @@ declare const NetsuiteGetReferenceSelectFieldOutput: 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
|
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const netsuiteGetReferenceSelectField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
id: string;
|
|
20
20
|
record_type: string;
|
|
21
21
|
select_field: string;
|
|
22
22
|
fields?: string | undefined;
|
|
23
23
|
expandSubResources?: boolean | 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 { netsuiteGetReferenceSelectField };
|
|
27
39
|
//# sourceMappingURL=get-reference-select-field.d.mts.map
|
|
@@ -11,7 +11,7 @@ const NetsuiteGetReferenceSelectFieldInput = z.object({
|
|
|
11
11
|
const NetsuiteGetReferenceSelectField_LinkItemSchema = z.object({
|
|
12
12
|
rel: z.string().describe("Link relation type (e.g., 'self')").nullable(),
|
|
13
13
|
href: z.string().describe("URL of the linked resource").nullable()
|
|
14
|
-
}).describe("HATEOAS link structure.");
|
|
14
|
+
}).passthrough().describe("HATEOAS link structure.");
|
|
15
15
|
const netsuiteGetReferenceSelectField = action("NETSUITE_GET_REFERENCE_SELECT_FIELD", {
|
|
16
16
|
slug: "netsuite-get-reference-select-field",
|
|
17
17
|
name: "Get Reference Select Field",
|
|
@@ -20,7 +20,7 @@ const netsuiteGetReferenceSelectField = action("NETSUITE_GET_REFERENCE_SELECT_FI
|
|
|
20
20
|
output: z.object({
|
|
21
21
|
links: z.array(NetsuiteGetReferenceSelectField_LinkItemSchema).describe("HATEOAS navigation links for the referenced record."),
|
|
22
22
|
record: z.record(z.string(), z.unknown()).describe("Complete referenced record with all accessible fields as key-value pairs. Structure varies by record type and includes both standard fields (id, name) and custom fields. Nested select fields appear as objects with 'id', 'refName', and 'links'.")
|
|
23
|
-
}).describe("Response model for a referenced record instance retrieved via a select field.\n\nContains the full record details of the referenced entity (e.g., retrieving\nthe subsidiary record from a customer's subsidiary field).")
|
|
23
|
+
}).passthrough().describe("Response model for a referenced record instance retrieved via a select field.\n\nContains the full record details of the referenced entity (e.g., retrieving\nthe subsidiary record from a customer's subsidiary field).")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { netsuiteGetReferenceSelectField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-select-field.mjs","names":[],"sources":["../../src/actions/get-reference-select-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetReferenceSelectFieldInput = z.object({\n id: z.string().describe(\"Internal ID of the parent record or external ID prefixed with 'eid:'.\"),\n fields: z.string().describe(\"Comma-separated list of body field IDs to include in the response of the referenced record.\").optional(),\n record_type: z.string().describe(\"Internal ID or script ID of the parent record type (e.g., 'customer' or custom record script ID).\"),\n select_field: z.string().describe(\"Script ID of the select-type field on the parent record that references another record (e.g., 'subsidiary').\"),\n expandSubResources: z.boolean().describe(\"True to expand sublists/subrecords of the returned referenced record; otherwise they are returned as links.\").optional(),\n}).describe(\"Request model for retrieving a record referenced by a select-type field on a parent record.\");\nconst NetsuiteGetReferenceSelectField_LinkItemSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL of the linked resource\").nullable(),\n}).describe(\"HATEOAS link structure.\");\nexport const NetsuiteGetReferenceSelectFieldOutput = z.object({\n links: z.array(NetsuiteGetReferenceSelectField_LinkItemSchema).describe(\"HATEOAS navigation links for the referenced record.\"),\n record: z.record(z.string(), z.unknown()).describe(\"Complete referenced record with all accessible fields as key-value pairs. Structure varies by record type and includes both standard fields (id, name) and custom fields. Nested select fields appear as objects with 'id', 'refName', and 'links'.\"),\n}).describe(\"Response model for a referenced record instance retrieved via a select field.\\n\\nContains the full record details of the referenced entity (e.g., retrieving\\nthe subsidiary record from a customer's subsidiary field).\");\n\nexport const netsuiteGetReferenceSelectField = action(\"NETSUITE_GET_REFERENCE_SELECT_FIELD\", {\n slug: \"netsuite-get-reference-select-field\",\n name: \"Get Reference Select Field\",\n description: \"Retrieves the complete record referenced by a select-type field on a parent record. Use this when you have a parent record (e.g., customer, salesorder) that references another record via a select field (e.g., 'subsidiary', 'entity', 'currency'), and you need the full details of that referenced record. Example: If a customer has subsidiary ID \\\"1\\\", use this to get all subsidiary details instead of just the ID reference. Common select fields by record type: - customer: subsidiary, currency, terms, salesRep, parent - salesorder/invoice: entity (customer), subsidiary, currency, terms - employee: supervisor, subsidiary, department - vendor: subsidiary, currency, terms\",\n input: NetsuiteGetReferenceSelectFieldInput,\n output: NetsuiteGetReferenceSelectFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACpI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAChJ,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,MAAM,iDAAiD,EAAE,OAAO;CAC9D,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,yBAAyB;
|
|
1
|
+
{"version":3,"file":"get-reference-select-field.mjs","names":[],"sources":["../../src/actions/get-reference-select-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetReferenceSelectFieldInput = z.object({\n id: z.string().describe(\"Internal ID of the parent record or external ID prefixed with 'eid:'.\"),\n fields: z.string().describe(\"Comma-separated list of body field IDs to include in the response of the referenced record.\").optional(),\n record_type: z.string().describe(\"Internal ID or script ID of the parent record type (e.g., 'customer' or custom record script ID).\"),\n select_field: z.string().describe(\"Script ID of the select-type field on the parent record that references another record (e.g., 'subsidiary').\"),\n expandSubResources: z.boolean().describe(\"True to expand sublists/subrecords of the returned referenced record; otherwise they are returned as links.\").optional(),\n}).describe(\"Request model for retrieving a record referenced by a select-type field on a parent record.\");\nconst NetsuiteGetReferenceSelectField_LinkItemSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self')\").nullable(),\n href: z.string().describe(\"URL of the linked resource\").nullable(),\n}).passthrough().describe(\"HATEOAS link structure.\");\nexport const NetsuiteGetReferenceSelectFieldOutput = z.object({\n links: z.array(NetsuiteGetReferenceSelectField_LinkItemSchema).describe(\"HATEOAS navigation links for the referenced record.\"),\n record: z.record(z.string(), z.unknown()).describe(\"Complete referenced record with all accessible fields as key-value pairs. Structure varies by record type and includes both standard fields (id, name) and custom fields. Nested select fields appear as objects with 'id', 'refName', and 'links'.\"),\n}).passthrough().describe(\"Response model for a referenced record instance retrieved via a select field.\\n\\nContains the full record details of the referenced entity (e.g., retrieving\\nthe subsidiary record from a customer's subsidiary field).\");\n\nexport const netsuiteGetReferenceSelectField = action(\"NETSUITE_GET_REFERENCE_SELECT_FIELD\", {\n slug: \"netsuite-get-reference-select-field\",\n name: \"Get Reference Select Field\",\n description: \"Retrieves the complete record referenced by a select-type field on a parent record. Use this when you have a parent record (e.g., customer, salesorder) that references another record via a select field (e.g., 'subsidiary', 'entity', 'currency'), and you need the full details of that referenced record. Example: If a customer has subsidiary ID \\\"1\\\", use this to get all subsidiary details instead of just the ID reference. Common select fields by record type: - customer: subsidiary, currency, terms, salesRep, parent - salesorder/invoice: entity (customer), subsidiary, currency, terms - employee: supervisor, subsidiary, department - vendor: subsidiary, currency, terms\",\n input: NetsuiteGetReferenceSelectFieldInput,\n output: NetsuiteGetReferenceSelectFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACpI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAChJ,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,MAAM,iDAAiD,EAAE,OAAO;CAC9D,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,yBAAyB;AAMnD,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,qDAAqD;EAC7H,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qPAAqP;CAC1S,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0NAOhB;AACV,CAAC"}
|
|
@@ -7,9 +7,9 @@ const NetsuiteGetSalesOrderInput = zod.z.object({
|
|
|
7
7
|
expandSubResources: zod.z.boolean().describe("True to expand sublists/subrecords instead of returning only their links").optional()
|
|
8
8
|
}).describe("Request model for retrieving a sales order record by internal ID.");
|
|
9
9
|
const NetsuiteGetSalesOrderOutput = zod.z.object({
|
|
10
|
-
links: zod.z.array(zod.z.
|
|
10
|
+
links: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("HATEOAS navigation links for the sales order resource"),
|
|
11
11
|
record: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Sales order record fields as key-value pairs")
|
|
12
|
-
}).describe("Response model for a retrieved sales order record.");
|
|
12
|
+
}).passthrough().describe("Response model for a retrieved sales order record.");
|
|
13
13
|
const netsuiteGetSalesOrder = require_action.action("NETSUITE_GET_SALES_ORDER", {
|
|
14
14
|
slug: "netsuite-get-sales-order",
|
|
15
15
|
name: "Get Sales Order",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/get-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSalesOrderInput = z.object({\n id: z.string().describe(\"Internal ID of the sales order to retrieve\"),\n fields: z.string().describe(\"Comma-separated list of record body fields to return. Example: 'tranId,entity,tranDate'\").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 sales order record by internal ID.\");\nexport const NetsuiteGetSalesOrderOutput = z.object({\n links: z.array(z.
|
|
1
|
+
{"version":3,"file":"get-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/get-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSalesOrderInput = z.object({\n id: z.string().describe(\"Internal ID of the sales order to retrieve\"),\n fields: z.string().describe(\"Comma-separated list of record body fields to return. Example: 'tranId,entity,tranDate'\").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 sales order record by internal ID.\");\nexport const NetsuiteGetSalesOrderOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"HATEOAS navigation links for the sales order resource\"),\n record: z.record(z.string(), z.unknown()).describe(\"Sales order record fields as key-value pairs\"),\n}).passthrough().describe(\"Response model for a retrieved sales order record.\");\n\nexport const netsuiteGetSalesOrder = action(\"NETSUITE_GET_SALES_ORDER\", {\n slug: \"netsuite-get-sales-order\",\n name: \"Get Sales Order\",\n description: \"Tool to retrieve a sales order record by internal ID. Use when you have a sales order ID and need detailed sales order data.\",\n input: NetsuiteGetSalesOrderInput,\n output: NetsuiteGetSalesOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAChI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;CAClH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,14 +7,26 @@ declare const NetsuiteGetSalesOrderInput: z.ZodObject<{
|
|
|
7
7
|
expandSubResources: z.ZodOptional<z.ZodBoolean>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const NetsuiteGetSalesOrderOutput: z.ZodObject<{
|
|
10
|
-
links: z.ZodArray<z.
|
|
10
|
+
links: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
11
|
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const netsuiteGetSalesOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
id: string;
|
|
15
15
|
fields?: string | undefined;
|
|
16
16
|
expandSubResources?: boolean | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
18
|
+
connectionId: z.ZodString;
|
|
19
|
+
entityId: z.ZodString;
|
|
20
|
+
instanceId: z.ZodString;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
accessToken: z.ZodString;
|
|
23
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
accessToken: z.ZodString;
|
|
29
|
+
}, z.core.$strip>>]>;
|
|
18
30
|
//#endregion
|
|
19
31
|
export { netsuiteGetSalesOrder };
|
|
20
32
|
//# sourceMappingURL=get-sales-order.d.cts.map
|
|
@@ -7,14 +7,26 @@ declare const NetsuiteGetSalesOrderInput: z.ZodObject<{
|
|
|
7
7
|
expandSubResources: z.ZodOptional<z.ZodBoolean>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const NetsuiteGetSalesOrderOutput: z.ZodObject<{
|
|
10
|
-
links: z.ZodArray<z.
|
|
10
|
+
links: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
11
|
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const netsuiteGetSalesOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
id: string;
|
|
15
15
|
fields?: string | undefined;
|
|
16
16
|
expandSubResources?: boolean | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
18
|
+
connectionId: z.ZodString;
|
|
19
|
+
entityId: z.ZodString;
|
|
20
|
+
instanceId: z.ZodString;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
accessToken: z.ZodString;
|
|
23
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
accessToken: z.ZodString;
|
|
29
|
+
}, z.core.$strip>>]>;
|
|
18
30
|
//#endregion
|
|
19
31
|
export { netsuiteGetSalesOrder };
|
|
20
32
|
//# sourceMappingURL=get-sales-order.d.mts.map
|
|
@@ -10,9 +10,9 @@ const netsuiteGetSalesOrder = action("NETSUITE_GET_SALES_ORDER", {
|
|
|
10
10
|
expandSubResources: z.boolean().describe("True to expand sublists/subrecords instead of returning only their links").optional()
|
|
11
11
|
}).describe("Request model for retrieving a sales order record by internal ID."),
|
|
12
12
|
output: z.object({
|
|
13
|
-
links: z.array(z.
|
|
13
|
+
links: z.array(z.record(z.string(), z.unknown())).describe("HATEOAS navigation links for the sales order resource"),
|
|
14
14
|
record: z.record(z.string(), z.unknown()).describe("Sales order record fields as key-value pairs")
|
|
15
|
-
}).describe("Response model for a retrieved sales order record.")
|
|
15
|
+
}).passthrough().describe("Response model for a retrieved sales order record.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { netsuiteGetSalesOrder };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sales-order.mjs","names":[],"sources":["../../src/actions/get-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSalesOrderInput = z.object({\n id: z.string().describe(\"Internal ID of the sales order to retrieve\"),\n fields: z.string().describe(\"Comma-separated list of record body fields to return. Example: 'tranId,entity,tranDate'\").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 sales order record by internal ID.\");\nexport const NetsuiteGetSalesOrderOutput = z.object({\n links: z.array(z.
|
|
1
|
+
{"version":3,"file":"get-sales-order.mjs","names":[],"sources":["../../src/actions/get-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSalesOrderInput = z.object({\n id: z.string().describe(\"Internal ID of the sales order to retrieve\"),\n fields: z.string().describe(\"Comma-separated list of record body fields to return. Example: 'tranId,entity,tranDate'\").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 sales order record by internal ID.\");\nexport const NetsuiteGetSalesOrderOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"HATEOAS navigation links for the sales order resource\"),\n record: z.record(z.string(), z.unknown()).describe(\"Sales order record fields as key-value pairs\"),\n}).passthrough().describe(\"Response model for a retrieved sales order record.\");\n\nexport const netsuiteGetSalesOrder = action(\"NETSUITE_GET_SALES_ORDER\", {\n slug: \"netsuite-get-sales-order\",\n name: \"Get Sales Order\",\n description: \"Tool to retrieve a sales order record by internal ID. Use when you have a sales order ID and need detailed sales order data.\",\n input: NetsuiteGetSalesOrderInput,\n output: NetsuiteGetSalesOrderOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAChI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,mEAUH;CACP,QAVyC,EAAE,OAAO;EAClD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;EAClH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-server-time.ts
|
|
4
4
|
const NetsuiteGetServerTimeInput = zod.z.object({}).describe("Request model for retrieving NetSuite server time. No parameters are required.");
|
|
5
|
-
const NetsuiteGetServerTimeOutput = zod.z.object({ serverTime: zod.z.string().describe("Current NetSuite server time in ISO 8601 format (UTC)").nullable() }).describe("Response model containing the NetSuite server time in UTC.");
|
|
5
|
+
const NetsuiteGetServerTimeOutput = zod.z.object({ serverTime: zod.z.string().describe("Current NetSuite server time in ISO 8601 format (UTC)").nullable() }).passthrough().describe("Response model containing the NetSuite server time in UTC.");
|
|
6
6
|
const netsuiteGetServerTime = require_action.action("NETSUITE_GET_SERVER_TIME", {
|
|
7
7
|
slug: "netsuite-get-server-time",
|
|
8
8
|
name: "Get Server Time",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-server-time.cjs","names":["z","action"],"sources":["../../src/actions/get-server-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetServerTimeInput = z.object({}).describe(\"Request model for retrieving NetSuite server time. No parameters are required.\");\nexport const NetsuiteGetServerTimeOutput = z.object({\n serverTime: z.string().describe(\"Current NetSuite server time in ISO 8601 format (UTC)\").nullable(),\n}).describe(\"Response model containing the NetSuite server time in UTC.\");\n\nexport const netsuiteGetServerTime = action(\"NETSUITE_GET_SERVER_TIME\", {\n slug: \"netsuite-get-server-time\",\n name: \"Get Server Time\",\n description: \"Tool to retrieve NetSuite server time in UTC. Use when you need the current server timestamp for synchronization.\",\n input: NetsuiteGetServerTimeInput,\n output: NetsuiteGetServerTimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAChJ,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"get-server-time.cjs","names":["z","action"],"sources":["../../src/actions/get-server-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetServerTimeInput = z.object({}).describe(\"Request model for retrieving NetSuite server time. No parameters are required.\");\nexport const NetsuiteGetServerTimeOutput = z.object({\n serverTime: z.string().describe(\"Current NetSuite server time in ISO 8601 format (UTC)\").nullable(),\n}).passthrough().describe(\"Response model containing the NetSuite server time in UTC.\");\n\nexport const netsuiteGetServerTime = action(\"NETSUITE_GET_SERVER_TIME\", {\n slug: \"netsuite-get-server-time\",\n name: \"Get Server Time\",\n description: \"Tool to retrieve NetSuite server time in UTC. Use when you need the current server timestamp for synchronization.\",\n input: NetsuiteGetServerTimeInput,\n output: NetsuiteGetServerTimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAChJ,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,8 +4,20 @@ import { z } from "zod";
|
|
|
4
4
|
declare const NetsuiteGetServerTimeInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const NetsuiteGetServerTimeOutput: z.ZodObject<{
|
|
6
6
|
serverTime: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
8
|
-
declare const netsuiteGetServerTime: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const netsuiteGetServerTime: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
9
|
+
connectionId: z.ZodString;
|
|
10
|
+
entityId: z.ZodString;
|
|
11
|
+
instanceId: z.ZodString;
|
|
12
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
+
accessToken: z.ZodString;
|
|
14
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>;
|
|
9
21
|
//#endregion
|
|
10
22
|
export { netsuiteGetServerTime };
|
|
11
23
|
//# sourceMappingURL=get-server-time.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-server-time.d.cts","names":[],"sources":["../../src/actions/get-server-time.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-server-time.d.cts","names":[],"sources":["../../src/actions/get-server-time.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
|
|
@@ -4,8 +4,20 @@ import { z } from "zod";
|
|
|
4
4
|
declare const NetsuiteGetServerTimeInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const NetsuiteGetServerTimeOutput: z.ZodObject<{
|
|
6
6
|
serverTime: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
8
|
-
declare const netsuiteGetServerTime: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const netsuiteGetServerTime: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
9
|
+
connectionId: z.ZodString;
|
|
10
|
+
entityId: z.ZodString;
|
|
11
|
+
instanceId: z.ZodString;
|
|
12
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
+
accessToken: z.ZodString;
|
|
14
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>;
|
|
9
21
|
//#endregion
|
|
10
22
|
export { netsuiteGetServerTime };
|
|
11
23
|
//# sourceMappingURL=get-server-time.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-server-time.d.mts","names":[],"sources":["../../src/actions/get-server-time.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-server-time.d.mts","names":[],"sources":["../../src/actions/get-server-time.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
|
|
@@ -5,7 +5,7 @@ const netsuiteGetServerTime = action("NETSUITE_GET_SERVER_TIME", {
|
|
|
5
5
|
name: "Get Server Time",
|
|
6
6
|
description: "Tool to retrieve NetSuite server time in UTC. Use when you need the current server timestamp for synchronization.",
|
|
7
7
|
input: z.object({}).describe("Request model for retrieving NetSuite server time. No parameters are required."),
|
|
8
|
-
output: z.object({ serverTime: z.string().describe("Current NetSuite server time in ISO 8601 format (UTC)").nullable() }).describe("Response model containing the NetSuite server time in UTC.")
|
|
8
|
+
output: z.object({ serverTime: z.string().describe("Current NetSuite server time in ISO 8601 format (UTC)").nullable() }).passthrough().describe("Response model containing the NetSuite server time in UTC.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { netsuiteGetServerTime };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-server-time.mjs","names":[],"sources":["../../src/actions/get-server-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetServerTimeInput = z.object({}).describe(\"Request model for retrieving NetSuite server time. No parameters are required.\");\nexport const NetsuiteGetServerTimeOutput = z.object({\n serverTime: z.string().describe(\"Current NetSuite server time in ISO 8601 format (UTC)\").nullable(),\n}).describe(\"Response model containing the NetSuite server time in UTC.\");\n\nexport const netsuiteGetServerTime = action(\"NETSUITE_GET_SERVER_TIME\", {\n slug: \"netsuite-get-server-time\",\n name: \"Get Server Time\",\n description: \"Tool to retrieve NetSuite server time in UTC. Use when you need the current server timestamp for synchronization.\",\n input: NetsuiteGetServerTimeInput,\n output: NetsuiteGetServerTimeOutput,\n});\n"],"mappings":";;AASA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFASvD;CACP,QATyC,EAAE,OAAO,EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-server-time.mjs","names":[],"sources":["../../src/actions/get-server-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetServerTimeInput = z.object({}).describe(\"Request model for retrieving NetSuite server time. No parameters are required.\");\nexport const NetsuiteGetServerTimeOutput = z.object({\n serverTime: z.string().describe(\"Current NetSuite server time in ISO 8601 format (UTC)\").nullable(),\n}).passthrough().describe(\"Response model containing the NetSuite server time in UTC.\");\n\nexport const netsuiteGetServerTime = action(\"NETSUITE_GET_SERVER_TIME\", {\n slug: \"netsuite-get-server-time\",\n name: \"Get Server Time\",\n description: \"Tool to retrieve NetSuite server time in UTC. Use when you need the current server timestamp for synchronization.\",\n input: NetsuiteGetServerTimeInput,\n output: NetsuiteGetServerTimeOutput,\n});\n"],"mappings":";;AASA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFASvD;CACP,QATyC,EAAE,OAAO,EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const NetsuiteGetSublistCollectionInput = zod.z.object({
|
|
|
11
11
|
const NetsuiteGetSublistCollection_LinkSchema = zod.z.object({
|
|
12
12
|
rel: zod.z.string().describe("Link relation type (e.g., 'self', 'next', 'prev').").nullable(),
|
|
13
13
|
href: zod.z.string().describe("URL for the linked resource.").nullable()
|
|
14
|
-
}).describe("HATEOAS link object for navigation.");
|
|
14
|
+
}).passthrough().describe("HATEOAS link object for navigation.");
|
|
15
15
|
const NetsuiteGetSublistCollectionOutput = zod.z.object({
|
|
16
16
|
count: zod.z.number().int().describe("Number of items returned in this page.").nullable().optional(),
|
|
17
17
|
items: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of sublist line elements; each object’s shape depends on the specific recordType and sublistName.").nullable().optional(),
|
|
@@ -19,7 +19,7 @@ const NetsuiteGetSublistCollectionOutput = zod.z.object({
|
|
|
19
19
|
offset: zod.z.number().int().describe("Zero-based offset used for this page.").nullable().optional(),
|
|
20
20
|
hasMore: zod.z.boolean().describe("True if additional pages of results exist beyond this page.").nullable().optional(),
|
|
21
21
|
totalResults: zod.z.number().int().describe("Total number of items in the sublist collection.").nullable().optional()
|
|
22
|
-
}).describe("Response model for a sublist collection.");
|
|
22
|
+
}).passthrough().describe("Response model for a sublist collection.");
|
|
23
23
|
const netsuiteGetSublistCollection = require_action.action("NETSUITE_GET_SUBLIST_COLLECTION", {
|
|
24
24
|
slug: "netsuite-get-sublist-collection",
|
|
25
25
|
name: "Get Sublist Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sublist-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-sublist-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSublistCollectionInput = z.object({\n id: z.string().describe(\"Internal ID or external ID using the 'eid:' prefix (e.g., 'eid:EXT123').\"),\n limit: z.number().int().describe(\"Maximum number of sublist lines per page (1-1000). Default is 100.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first result in the page. Use with limit to paginate through large sublists.\").optional(),\n record_type: z.string().describe(\"Record type ID (e.g., 'customer', 'salesOrder').\"),\n sublist_name: z.string().describe(\"Name of the sublist on the record (e.g., 'item').\"),\n}).describe(\"Request model for retrieving a sublist collection from a parent record.\");\nconst NetsuiteGetSublistCollection_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self', 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for the linked resource.\").nullable(),\n}).describe(\"HATEOAS link object for navigation.\");\nexport const NetsuiteGetSublistCollectionOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this page.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of sublist line elements; each object’s shape depends on the specific recordType and sublistName.\").nullable().optional(),\n links: z.array(NetsuiteGetSublistCollection_LinkSchema).describe(\"HATEOAS-style navigation links.\").nullable().optional(),\n offset: z.number().int().describe(\"Zero-based offset used for this page.\").nullable().optional(),\n hasMore: z.boolean().describe(\"True if additional pages of results exist beyond this page.\").nullable().optional(),\n totalResults: z.number().int().describe(\"Total number of items in the sublist collection.\").nullable().optional(),\n}).describe(\"Response model for a sublist collection.\");\n\nexport const netsuiteGetSublistCollection = action(\"NETSUITE_GET_SUBLIST_COLLECTION\", {\n slug: \"netsuite-get-sublist-collection\",\n name: \"Get Sublist Collection\",\n description: \"Tool to retrieve a sublist collection from a parent record. Use when you need all lines of a given sublist (e.g., items on a sales order).\",\n input: NetsuiteGetSublistCollectionInput,\n output: NetsuiteGetSublistCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACvF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"get-sublist-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-sublist-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSublistCollectionInput = z.object({\n id: z.string().describe(\"Internal ID or external ID using the 'eid:' prefix (e.g., 'eid:EXT123').\"),\n limit: z.number().int().describe(\"Maximum number of sublist lines per page (1-1000). Default is 100.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first result in the page. Use with limit to paginate through large sublists.\").optional(),\n record_type: z.string().describe(\"Record type ID (e.g., 'customer', 'salesOrder').\"),\n sublist_name: z.string().describe(\"Name of the sublist on the record (e.g., 'item').\"),\n}).describe(\"Request model for retrieving a sublist collection from a parent record.\");\nconst NetsuiteGetSublistCollection_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self', 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for the linked resource.\").nullable(),\n}).passthrough().describe(\"HATEOAS link object for navigation.\");\nexport const NetsuiteGetSublistCollectionOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this page.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of sublist line elements; each object’s shape depends on the specific recordType and sublistName.\").nullable().optional(),\n links: z.array(NetsuiteGetSublistCollection_LinkSchema).describe(\"HATEOAS-style navigation links.\").nullable().optional(),\n offset: z.number().int().describe(\"Zero-based offset used for this page.\").nullable().optional(),\n hasMore: z.boolean().describe(\"True if additional pages of results exist beyond this page.\").nullable().optional(),\n totalResults: z.number().int().describe(\"Total number of items in the sublist collection.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a sublist collection.\");\n\nexport const netsuiteGetSublistCollection = action(\"NETSUITE_GET_SUBLIST_COLLECTION\", {\n slug: \"netsuite-get-sublist-collection\",\n name: \"Get Sublist Collection\",\n description: \"Tool to retrieve a sublist collection from a parent record. Use when you need all lines of a given sublist (e.g., items on a sales order).\",\n input: NetsuiteGetSublistCollectionInput,\n output: NetsuiteGetSublistCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACvF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,18 +14,30 @@ declare const NetsuiteGetSublistCollectionOutput: z.ZodObject<{
|
|
|
14
14
|
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
rel: z.ZodNullable<z.ZodString>;
|
|
16
16
|
href: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
hasMore: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
20
|
totalResults: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const netsuiteGetSublistCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
id: string;
|
|
24
24
|
record_type: string;
|
|
25
25
|
sublist_name: string;
|
|
26
26
|
limit?: number | undefined;
|
|
27
27
|
offset?: number | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
29
41
|
//#endregion
|
|
30
42
|
export { netsuiteGetSublistCollection };
|
|
31
43
|
//# sourceMappingURL=get-sublist-collection.d.cts.map
|
|
@@ -14,18 +14,30 @@ declare const NetsuiteGetSublistCollectionOutput: z.ZodObject<{
|
|
|
14
14
|
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
rel: z.ZodNullable<z.ZodString>;
|
|
16
16
|
href: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
hasMore: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
20
|
totalResults: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const netsuiteGetSublistCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
id: string;
|
|
24
24
|
record_type: string;
|
|
25
25
|
sublist_name: string;
|
|
26
26
|
limit?: number | undefined;
|
|
27
27
|
offset?: number | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
29
41
|
//#endregion
|
|
30
42
|
export { netsuiteGetSublistCollection };
|
|
31
43
|
//# sourceMappingURL=get-sublist-collection.d.mts.map
|
|
@@ -11,7 +11,7 @@ const NetsuiteGetSublistCollectionInput = z.object({
|
|
|
11
11
|
const NetsuiteGetSublistCollection_LinkSchema = z.object({
|
|
12
12
|
rel: z.string().describe("Link relation type (e.g., 'self', 'next', 'prev').").nullable(),
|
|
13
13
|
href: z.string().describe("URL for the linked resource.").nullable()
|
|
14
|
-
}).describe("HATEOAS link object for navigation.");
|
|
14
|
+
}).passthrough().describe("HATEOAS link object for navigation.");
|
|
15
15
|
const netsuiteGetSublistCollection = action("NETSUITE_GET_SUBLIST_COLLECTION", {
|
|
16
16
|
slug: "netsuite-get-sublist-collection",
|
|
17
17
|
name: "Get Sublist Collection",
|
|
@@ -24,7 +24,7 @@ const netsuiteGetSublistCollection = action("NETSUITE_GET_SUBLIST_COLLECTION", {
|
|
|
24
24
|
offset: z.number().int().describe("Zero-based offset used for this page.").nullable().optional(),
|
|
25
25
|
hasMore: z.boolean().describe("True if additional pages of results exist beyond this page.").nullable().optional(),
|
|
26
26
|
totalResults: z.number().int().describe("Total number of items in the sublist collection.").nullable().optional()
|
|
27
|
-
}).describe("Response model for a sublist collection.")
|
|
27
|
+
}).passthrough().describe("Response model for a sublist collection.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { netsuiteGetSublistCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sublist-collection.mjs","names":[],"sources":["../../src/actions/get-sublist-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSublistCollectionInput = z.object({\n id: z.string().describe(\"Internal ID or external ID using the 'eid:' prefix (e.g., 'eid:EXT123').\"),\n limit: z.number().int().describe(\"Maximum number of sublist lines per page (1-1000). Default is 100.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first result in the page. Use with limit to paginate through large sublists.\").optional(),\n record_type: z.string().describe(\"Record type ID (e.g., 'customer', 'salesOrder').\"),\n sublist_name: z.string().describe(\"Name of the sublist on the record (e.g., 'item').\"),\n}).describe(\"Request model for retrieving a sublist collection from a parent record.\");\nconst NetsuiteGetSublistCollection_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self', 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for the linked resource.\").nullable(),\n}).describe(\"HATEOAS link object for navigation.\");\nexport const NetsuiteGetSublistCollectionOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this page.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of sublist line elements; each object’s shape depends on the specific recordType and sublistName.\").nullable().optional(),\n links: z.array(NetsuiteGetSublistCollection_LinkSchema).describe(\"HATEOAS-style navigation links.\").nullable().optional(),\n offset: z.number().int().describe(\"Zero-based offset used for this page.\").nullable().optional(),\n hasMore: z.boolean().describe(\"True if additional pages of results exist beyond this page.\").nullable().optional(),\n totalResults: z.number().int().describe(\"Total number of items in the sublist collection.\").nullable().optional(),\n}).describe(\"Response model for a sublist collection.\");\n\nexport const netsuiteGetSublistCollection = action(\"NETSUITE_GET_SUBLIST_COLLECTION\", {\n slug: \"netsuite-get-sublist-collection\",\n name: \"Get Sublist Collection\",\n description: \"Tool to retrieve a sublist collection from a parent record. Use when you need all lines of a given sublist (e.g., items on a sales order).\",\n input: NetsuiteGetSublistCollectionInput,\n output: NetsuiteGetSublistCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACvF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"get-sublist-collection.mjs","names":[],"sources":["../../src/actions/get-sublist-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSublistCollectionInput = z.object({\n id: z.string().describe(\"Internal ID or external ID using the 'eid:' prefix (e.g., 'eid:EXT123').\"),\n limit: z.number().int().describe(\"Maximum number of sublist lines per page (1-1000). Default is 100.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of the first result in the page. Use with limit to paginate through large sublists.\").optional(),\n record_type: z.string().describe(\"Record type ID (e.g., 'customer', 'salesOrder').\"),\n sublist_name: z.string().describe(\"Name of the sublist on the record (e.g., 'item').\"),\n}).describe(\"Request model for retrieving a sublist collection from a parent record.\");\nconst NetsuiteGetSublistCollection_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'self', 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for the linked resource.\").nullable(),\n}).passthrough().describe(\"HATEOAS link object for navigation.\");\nexport const NetsuiteGetSublistCollectionOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this page.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of sublist line elements; each object’s shape depends on the specific recordType and sublistName.\").nullable().optional(),\n links: z.array(NetsuiteGetSublistCollection_LinkSchema).describe(\"HATEOAS-style navigation links.\").nullable().optional(),\n offset: z.number().int().describe(\"Zero-based offset used for this page.\").nullable().optional(),\n hasMore: z.boolean().describe(\"True if additional pages of results exist beyond this page.\").nullable().optional(),\n totalResults: z.number().int().describe(\"Total number of items in the sublist collection.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a sublist collection.\");\n\nexport const netsuiteGetSublistCollection = action(\"NETSUITE_GET_SUBLIST_COLLECTION\", {\n slug: \"netsuite-get-sublist-collection\",\n name: \"Get Sublist Collection\",\n description: \"Tool to retrieve a sublist collection from a parent record. Use when you need all lines of a given sublist (e.g., items on a sales order).\",\n input: NetsuiteGetSublistCollectionInput,\n output: NetsuiteGetSublistCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACvF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAU/D,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const NetsuiteGetSublistLineInput = zod.z.object({
|
|
|
10
10
|
}).describe("Request model for retrieving a specific line from a record's sublist.");
|
|
11
11
|
const NetsuiteGetSublistLineOutput = zod.z.object({
|
|
12
12
|
line: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Sublist line fields as key-value pairs."),
|
|
13
|
-
links: zod.z.array(zod.z.
|
|
14
|
-
}).describe("Response model for a retrieved sublist line.");
|
|
13
|
+
links: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("HATEOAS navigation links for the sublist line.")
|
|
14
|
+
}).passthrough().describe("Response model for a retrieved sublist line.");
|
|
15
15
|
const netsuiteGetSublistLine = require_action.action("NETSUITE_GET_SUBLIST_LINE", {
|
|
16
16
|
slug: "netsuite-get-sublist-line",
|
|
17
17
|
name: "Get Sublist Line",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sublist-line.cjs","names":["z","action"],"sources":["../../src/actions/get-sublist-line.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSublistLineInput = z.object({\n id: z.string().describe(\"Internal ID or external ID (prefixed with 'eid:') of the parent record.\"),\n line_id: z.string().describe(\"Identifier of the sublist line; internal ID or external ID prefixed with 'eid:'.\"),\n record_type: z.string().describe(\"Identifier of the record type (e.g., 'salesOrder').\"),\n sublist_name: z.string().describe(\"Identifier of the sublist (e.g., 'item').\"),\n expandSubResources: z.boolean().describe(\"True to expand nested subresources instead of returning only links.\").optional(),\n}).describe(\"Request model for retrieving a specific line from a record's sublist.\");\nexport const NetsuiteGetSublistLineOutput = z.object({\n line: z.record(z.string(), z.unknown()).describe(\"Sublist line fields as key-value pairs.\"),\n links: z.array(z.
|
|
1
|
+
{"version":3,"file":"get-sublist-line.cjs","names":["z","action"],"sources":["../../src/actions/get-sublist-line.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteGetSublistLineInput = z.object({\n id: z.string().describe(\"Internal ID or external ID (prefixed with 'eid:') of the parent record.\"),\n line_id: z.string().describe(\"Identifier of the sublist line; internal ID or external ID prefixed with 'eid:'.\"),\n record_type: z.string().describe(\"Identifier of the record type (e.g., 'salesOrder').\"),\n sublist_name: z.string().describe(\"Identifier of the sublist (e.g., 'item').\"),\n expandSubResources: z.boolean().describe(\"True to expand nested subresources instead of returning only links.\").optional(),\n}).describe(\"Request model for retrieving a specific line from a record's sublist.\");\nexport const NetsuiteGetSublistLineOutput = z.object({\n line: z.record(z.string(), z.unknown()).describe(\"Sublist line fields as key-value pairs.\"),\n links: z.array(z.record(z.string(), z.unknown())).describe(\"HATEOAS navigation links for the sublist line.\"),\n}).passthrough().describe(\"Response model for a retrieved sublist line.\");\n\nexport const netsuiteGetSublistLine = action(\"NETSUITE_GET_SUBLIST_LINE\", {\n slug: \"netsuite-get-sublist-line\",\n name: \"Get Sublist Line\",\n description: \"Tool to retrieve a specific line from a sublist of a record. Use when you need details of a particular sublist line by its ID.\",\n input: NetsuiteGetSublistLineInput,\n output: NetsuiteGetSublistLineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC1F,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|