@keystrokehq/netsuite 0.1.3 → 0.1.5
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/async-get-job-status.cjs +1 -0
- package/dist/actions/async-get-job-status.cjs.map +1 -1
- package/dist/actions/async-get-job-status.d.cts +3 -3
- package/dist/actions/async-get-job-status.d.cts.map +1 -1
- package/dist/actions/async-get-job-status.d.mts +3 -3
- package/dist/actions/async-get-job-status.d.mts.map +1 -1
- package/dist/actions/async-get-job-status.mjs +1 -0
- package/dist/actions/async-get-job-status.mjs.map +1 -1
- package/dist/actions/async-get-job-task-result.cjs +1 -0
- package/dist/actions/async-get-job-task-result.cjs.map +1 -1
- package/dist/actions/async-get-job-task-result.d.cts +3 -4
- package/dist/actions/async-get-job-task-result.d.cts.map +1 -1
- package/dist/actions/async-get-job-task-result.d.mts +3 -4
- package/dist/actions/async-get-job-task-result.d.mts.map +1 -1
- package/dist/actions/async-get-job-task-result.mjs +1 -0
- package/dist/actions/async-get-job-task-result.mjs.map +1 -1
- package/dist/actions/async-get-job-task.cjs +1 -0
- package/dist/actions/async-get-job-task.cjs.map +1 -1
- package/dist/actions/async-get-job-task.d.cts +3 -3
- package/dist/actions/async-get-job-task.d.cts.map +1 -1
- package/dist/actions/async-get-job-task.d.mts +3 -3
- package/dist/actions/async-get-job-task.d.mts.map +1 -1
- package/dist/actions/async-get-job-task.mjs +1 -0
- package/dist/actions/async-get-job-task.mjs.map +1 -1
- package/dist/actions/create-customer-payment.cjs +1 -0
- package/dist/actions/create-customer-payment.cjs.map +1 -1
- package/dist/actions/create-customer-payment.d.cts +3 -8
- package/dist/actions/create-customer-payment.d.cts.map +1 -1
- package/dist/actions/create-customer-payment.d.mts +3 -8
- package/dist/actions/create-customer-payment.d.mts.map +1 -1
- package/dist/actions/create-customer-payment.mjs +1 -0
- package/dist/actions/create-customer-payment.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -0
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +3 -8
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -8
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -0
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-employee.cjs +1 -0
- package/dist/actions/create-employee.cjs.map +1 -1
- package/dist/actions/create-employee.d.cts +3 -8
- package/dist/actions/create-employee.d.cts.map +1 -1
- package/dist/actions/create-employee.d.mts +3 -8
- package/dist/actions/create-employee.d.mts.map +1 -1
- package/dist/actions/create-employee.mjs +1 -0
- package/dist/actions/create-employee.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +3 -8
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +3 -8
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +1 -0
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +5 -11
- package/dist/actions/create-item.d.cts.map +1 -1
- package/dist/actions/create-item.d.mts +5 -11
- package/dist/actions/create-item.d.mts.map +1 -1
- package/dist/actions/create-item.mjs +1 -0
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-journal-entry.cjs +1 -0
- package/dist/actions/create-journal-entry.cjs.map +1 -1
- package/dist/actions/create-journal-entry.d.cts +3 -8
- package/dist/actions/create-journal-entry.d.cts.map +1 -1
- package/dist/actions/create-journal-entry.d.mts +3 -8
- package/dist/actions/create-journal-entry.d.mts.map +1 -1
- package/dist/actions/create-journal-entry.mjs +1 -0
- package/dist/actions/create-journal-entry.mjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.cjs +1 -0
- package/dist/actions/create-jwt-client-assertion.cjs.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.cts +3 -10
- package/dist/actions/create-jwt-client-assertion.d.cts.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.mts +3 -10
- package/dist/actions/create-jwt-client-assertion.d.mts.map +1 -1
- package/dist/actions/create-jwt-client-assertion.mjs +1 -0
- package/dist/actions/create-jwt-client-assertion.mjs.map +1 -1
- package/dist/actions/create-purchase-order.cjs +1 -0
- package/dist/actions/create-purchase-order.cjs.map +1 -1
- package/dist/actions/create-purchase-order.d.cts +3 -32
- package/dist/actions/create-purchase-order.d.cts.map +1 -1
- package/dist/actions/create-purchase-order.d.mts +3 -32
- package/dist/actions/create-purchase-order.d.mts.map +1 -1
- package/dist/actions/create-purchase-order.mjs +1 -0
- package/dist/actions/create-purchase-order.mjs.map +1 -1
- package/dist/actions/create-record.cjs +1 -0
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +3 -9
- package/dist/actions/create-record.d.cts.map +1 -1
- package/dist/actions/create-record.d.mts +3 -9
- package/dist/actions/create-record.d.mts.map +1 -1
- package/dist/actions/create-record.mjs +1 -0
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-sales-order.cjs +1 -0
- package/dist/actions/create-sales-order.cjs.map +1 -1
- package/dist/actions/create-sales-order.d.cts +3 -34
- package/dist/actions/create-sales-order.d.cts.map +1 -1
- package/dist/actions/create-sales-order.d.mts +3 -34
- package/dist/actions/create-sales-order.d.mts.map +1 -1
- package/dist/actions/create-sales-order.mjs +1 -0
- package/dist/actions/create-sales-order.mjs.map +1 -1
- package/dist/actions/create-vendor-bill.cjs +1 -0
- package/dist/actions/create-vendor-bill.cjs.map +1 -1
- package/dist/actions/create-vendor-bill.d.cts +3 -8
- package/dist/actions/create-vendor-bill.d.cts.map +1 -1
- package/dist/actions/create-vendor-bill.d.mts +3 -8
- package/dist/actions/create-vendor-bill.d.mts.map +1 -1
- package/dist/actions/create-vendor-bill.mjs +1 -0
- package/dist/actions/create-vendor-bill.mjs.map +1 -1
- package/dist/actions/create-vendor.cjs +1 -0
- package/dist/actions/create-vendor.cjs.map +1 -1
- package/dist/actions/create-vendor.d.cts +3 -8
- package/dist/actions/create-vendor.d.cts.map +1 -1
- package/dist/actions/create-vendor.d.mts +3 -8
- package/dist/actions/create-vendor.d.mts.map +1 -1
- package/dist/actions/create-vendor.mjs +1 -0
- package/dist/actions/create-vendor.mjs.map +1 -1
- package/dist/actions/delete-customer-payment.cjs +1 -0
- package/dist/actions/delete-customer-payment.cjs.map +1 -1
- package/dist/actions/delete-customer-payment.d.cts +3 -3
- package/dist/actions/delete-customer-payment.d.cts.map +1 -1
- package/dist/actions/delete-customer-payment.d.mts +3 -3
- package/dist/actions/delete-customer-payment.d.mts.map +1 -1
- package/dist/actions/delete-customer-payment.mjs +1 -0
- package/dist/actions/delete-customer-payment.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -0
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +3 -3
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +3 -3
- package/dist/actions/delete-customer.d.mts.map +1 -1
- package/dist/actions/delete-customer.mjs +1 -0
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-employee.cjs +1 -0
- package/dist/actions/delete-employee.cjs.map +1 -1
- package/dist/actions/delete-employee.d.cts +3 -3
- package/dist/actions/delete-employee.d.cts.map +1 -1
- package/dist/actions/delete-employee.d.mts +3 -3
- package/dist/actions/delete-employee.d.mts.map +1 -1
- package/dist/actions/delete-employee.mjs +1 -0
- package/dist/actions/delete-employee.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -3
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.cjs +1 -0
- package/dist/actions/delete-item-fulfillment.cjs.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.cts +3 -5
- package/dist/actions/delete-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.mts +3 -5
- package/dist/actions/delete-item-fulfillment.d.mts.map +1 -1
- package/dist/actions/delete-item-fulfillment.mjs +1 -0
- package/dist/actions/delete-item-fulfillment.mjs.map +1 -1
- package/dist/actions/delete-item-receipt.cjs +1 -0
- package/dist/actions/delete-item-receipt.cjs.map +1 -1
- package/dist/actions/delete-item-receipt.d.cts +3 -3
- package/dist/actions/delete-item-receipt.d.cts.map +1 -1
- package/dist/actions/delete-item-receipt.d.mts +3 -3
- package/dist/actions/delete-item-receipt.d.mts.map +1 -1
- package/dist/actions/delete-item-receipt.mjs +1 -0
- package/dist/actions/delete-item-receipt.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -0
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +5 -6
- package/dist/actions/delete-item.d.cts.map +1 -1
- package/dist/actions/delete-item.d.mts +5 -6
- package/dist/actions/delete-item.d.mts.map +1 -1
- package/dist/actions/delete-item.mjs +1 -0
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/delete-journal-entry.cjs +1 -0
- package/dist/actions/delete-journal-entry.cjs.map +1 -1
- package/dist/actions/delete-journal-entry.d.cts +3 -5
- package/dist/actions/delete-journal-entry.d.cts.map +1 -1
- package/dist/actions/delete-journal-entry.d.mts +3 -5
- package/dist/actions/delete-journal-entry.d.mts.map +1 -1
- package/dist/actions/delete-journal-entry.mjs +1 -0
- package/dist/actions/delete-journal-entry.mjs.map +1 -1
- package/dist/actions/delete-purchase-order.cjs +1 -0
- package/dist/actions/delete-purchase-order.cjs.map +1 -1
- package/dist/actions/delete-purchase-order.d.cts +3 -3
- package/dist/actions/delete-purchase-order.d.cts.map +1 -1
- package/dist/actions/delete-purchase-order.d.mts +3 -3
- package/dist/actions/delete-purchase-order.d.mts.map +1 -1
- package/dist/actions/delete-purchase-order.mjs +1 -0
- package/dist/actions/delete-purchase-order.mjs.map +1 -1
- package/dist/actions/delete-sales-order.cjs +1 -0
- package/dist/actions/delete-sales-order.cjs.map +1 -1
- package/dist/actions/delete-sales-order.d.cts +3 -3
- package/dist/actions/delete-sales-order.d.cts.map +1 -1
- package/dist/actions/delete-sales-order.d.mts +3 -3
- package/dist/actions/delete-sales-order.d.mts.map +1 -1
- package/dist/actions/delete-sales-order.mjs +1 -0
- package/dist/actions/delete-sales-order.mjs.map +1 -1
- package/dist/actions/delete-vendor-payment.cjs +1 -0
- package/dist/actions/delete-vendor-payment.cjs.map +1 -1
- package/dist/actions/delete-vendor-payment.d.cts +3 -3
- package/dist/actions/delete-vendor-payment.d.cts.map +1 -1
- package/dist/actions/delete-vendor-payment.d.mts +3 -3
- package/dist/actions/delete-vendor-payment.d.mts.map +1 -1
- package/dist/actions/delete-vendor-payment.mjs +1 -0
- package/dist/actions/delete-vendor-payment.mjs.map +1 -1
- package/dist/actions/execute-dataset.cjs +1 -0
- package/dist/actions/execute-dataset.cjs.map +1 -1
- package/dist/actions/execute-dataset.d.cts +3 -5
- package/dist/actions/execute-dataset.d.cts.map +1 -1
- package/dist/actions/execute-dataset.d.mts +3 -5
- package/dist/actions/execute-dataset.d.mts.map +1 -1
- package/dist/actions/execute-dataset.mjs +1 -0
- package/dist/actions/execute-dataset.mjs.map +1 -1
- package/dist/actions/get-customer-payment.cjs +1 -0
- package/dist/actions/get-customer-payment.cjs.map +1 -1
- package/dist/actions/get-customer-payment.d.cts +3 -6
- package/dist/actions/get-customer-payment.d.cts.map +1 -1
- package/dist/actions/get-customer-payment.d.mts +3 -6
- package/dist/actions/get-customer-payment.d.mts.map +1 -1
- package/dist/actions/get-customer-payment.mjs +1 -0
- package/dist/actions/get-customer-payment.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -0
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +3 -5
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -5
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +1 -0
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-datacenter-urls.cjs +1 -0
- package/dist/actions/get-datacenter-urls.cjs.map +1 -1
- package/dist/actions/get-datacenter-urls.d.cts +3 -4
- package/dist/actions/get-datacenter-urls.d.cts.map +1 -1
- package/dist/actions/get-datacenter-urls.d.mts +3 -4
- package/dist/actions/get-datacenter-urls.d.mts.map +1 -1
- package/dist/actions/get-datacenter-urls.mjs +1 -0
- package/dist/actions/get-datacenter-urls.mjs.map +1 -1
- package/dist/actions/get-employee.cjs +1 -0
- package/dist/actions/get-employee.cjs.map +1 -1
- package/dist/actions/get-employee.d.cts +3 -5
- package/dist/actions/get-employee.d.cts.map +1 -1
- package/dist/actions/get-employee.d.mts +3 -5
- package/dist/actions/get-employee.d.mts.map +1 -1
- package/dist/actions/get-employee.mjs +1 -0
- package/dist/actions/get-employee.mjs.map +1 -1
- package/dist/actions/get-governance-limits.cjs +1 -0
- package/dist/actions/get-governance-limits.cjs.map +1 -1
- package/dist/actions/get-governance-limits.d.cts +3 -1
- package/dist/actions/get-governance-limits.d.cts.map +1 -1
- package/dist/actions/get-governance-limits.d.mts +3 -1
- package/dist/actions/get-governance-limits.d.mts.map +1 -1
- package/dist/actions/get-governance-limits.mjs +1 -0
- package/dist/actions/get-governance-limits.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -6
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -6
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-item-fulfillment.cjs +1 -0
- package/dist/actions/get-item-fulfillment.cjs.map +1 -1
- package/dist/actions/get-item-fulfillment.d.cts +3 -6
- package/dist/actions/get-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/get-item-fulfillment.d.mts +3 -6
- package/dist/actions/get-item-fulfillment.d.mts.map +1 -1
- package/dist/actions/get-item-fulfillment.mjs +1 -0
- package/dist/actions/get-item-fulfillment.mjs.map +1 -1
- package/dist/actions/get-item-receipt.cjs +1 -0
- package/dist/actions/get-item-receipt.cjs.map +1 -1
- package/dist/actions/get-item-receipt.d.cts +3 -5
- package/dist/actions/get-item-receipt.d.cts.map +1 -1
- package/dist/actions/get-item-receipt.d.mts +3 -5
- package/dist/actions/get-item-receipt.d.mts.map +1 -1
- package/dist/actions/get-item-receipt.mjs +1 -0
- package/dist/actions/get-item-receipt.mjs.map +1 -1
- package/dist/actions/get-item.cjs +1 -0
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +3 -6
- package/dist/actions/get-item.d.cts.map +1 -1
- package/dist/actions/get-item.d.mts +3 -6
- package/dist/actions/get-item.d.mts.map +1 -1
- package/dist/actions/get-item.mjs +1 -0
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-journal-entry.cjs +1 -0
- package/dist/actions/get-journal-entry.cjs.map +1 -1
- package/dist/actions/get-journal-entry.d.cts +3 -6
- package/dist/actions/get-journal-entry.d.cts.map +1 -1
- package/dist/actions/get-journal-entry.d.mts +3 -6
- package/dist/actions/get-journal-entry.d.mts.map +1 -1
- package/dist/actions/get-journal-entry.mjs +1 -0
- package/dist/actions/get-journal-entry.mjs.map +1 -1
- package/dist/actions/get-purchase-order.cjs +1 -0
- package/dist/actions/get-purchase-order.cjs.map +1 -1
- package/dist/actions/get-purchase-order.d.cts +3 -6
- package/dist/actions/get-purchase-order.d.cts.map +1 -1
- package/dist/actions/get-purchase-order.d.mts +3 -6
- package/dist/actions/get-purchase-order.d.mts.map +1 -1
- package/dist/actions/get-purchase-order.mjs +1 -0
- package/dist/actions/get-purchase-order.mjs.map +1 -1
- package/dist/actions/get-record-metadata.cjs +1 -0
- package/dist/actions/get-record-metadata.cjs.map +1 -1
- package/dist/actions/get-record-metadata.d.cts +3 -4
- package/dist/actions/get-record-metadata.d.cts.map +1 -1
- package/dist/actions/get-record-metadata.d.mts +3 -4
- package/dist/actions/get-record-metadata.d.mts.map +1 -1
- package/dist/actions/get-record-metadata.mjs +1 -0
- package/dist/actions/get-record-metadata.mjs.map +1 -1
- package/dist/actions/get-reference-select-field.cjs +1 -0
- package/dist/actions/get-reference-select-field.cjs.map +1 -1
- package/dist/actions/get-reference-select-field.d.cts +3 -7
- package/dist/actions/get-reference-select-field.d.cts.map +1 -1
- package/dist/actions/get-reference-select-field.d.mts +3 -7
- package/dist/actions/get-reference-select-field.d.mts.map +1 -1
- package/dist/actions/get-reference-select-field.mjs +1 -0
- package/dist/actions/get-reference-select-field.mjs.map +1 -1
- package/dist/actions/get-sales-order.cjs +1 -0
- package/dist/actions/get-sales-order.cjs.map +1 -1
- package/dist/actions/get-sales-order.d.cts +3 -5
- package/dist/actions/get-sales-order.d.cts.map +1 -1
- package/dist/actions/get-sales-order.d.mts +3 -5
- package/dist/actions/get-sales-order.d.mts.map +1 -1
- package/dist/actions/get-sales-order.mjs +1 -0
- package/dist/actions/get-sales-order.mjs.map +1 -1
- package/dist/actions/get-server-time.cjs +1 -0
- package/dist/actions/get-server-time.cjs.map +1 -1
- package/dist/actions/get-server-time.d.cts +3 -1
- package/dist/actions/get-server-time.d.cts.map +1 -1
- package/dist/actions/get-server-time.d.mts +3 -1
- package/dist/actions/get-server-time.d.mts.map +1 -1
- package/dist/actions/get-server-time.mjs +1 -0
- package/dist/actions/get-server-time.mjs.map +1 -1
- package/dist/actions/get-sublist-collection.cjs +1 -0
- package/dist/actions/get-sublist-collection.cjs.map +1 -1
- package/dist/actions/get-sublist-collection.d.cts +3 -7
- package/dist/actions/get-sublist-collection.d.cts.map +1 -1
- package/dist/actions/get-sublist-collection.d.mts +3 -7
- package/dist/actions/get-sublist-collection.d.mts.map +1 -1
- package/dist/actions/get-sublist-collection.mjs +1 -0
- package/dist/actions/get-sublist-collection.mjs.map +1 -1
- package/dist/actions/get-sublist-line.cjs +1 -0
- package/dist/actions/get-sublist-line.cjs.map +1 -1
- package/dist/actions/get-sublist-line.d.cts +3 -7
- package/dist/actions/get-sublist-line.d.cts.map +1 -1
- package/dist/actions/get-sublist-line.d.mts +3 -7
- package/dist/actions/get-sublist-line.d.mts.map +1 -1
- package/dist/actions/get-sublist-line.mjs +1 -0
- package/dist/actions/get-sublist-line.mjs.map +1 -1
- package/dist/actions/get-subrecord.cjs +1 -0
- package/dist/actions/get-subrecord.cjs.map +1 -1
- package/dist/actions/get-subrecord.d.cts +3 -5
- package/dist/actions/get-subrecord.d.cts.map +1 -1
- package/dist/actions/get-subrecord.d.mts +3 -5
- package/dist/actions/get-subrecord.d.mts.map +1 -1
- package/dist/actions/get-subrecord.mjs +1 -0
- package/dist/actions/get-subrecord.mjs.map +1 -1
- package/dist/actions/get-vendor-bill.cjs +1 -0
- package/dist/actions/get-vendor-bill.cjs.map +1 -1
- package/dist/actions/get-vendor-bill.d.cts +3 -5
- package/dist/actions/get-vendor-bill.d.cts.map +1 -1
- package/dist/actions/get-vendor-bill.d.mts +3 -5
- package/dist/actions/get-vendor-bill.d.mts.map +1 -1
- package/dist/actions/get-vendor-bill.mjs +1 -0
- package/dist/actions/get-vendor-bill.mjs.map +1 -1
- package/dist/actions/get-vendor-payment.cjs +1 -0
- package/dist/actions/get-vendor-payment.cjs.map +1 -1
- package/dist/actions/get-vendor-payment.d.cts +3 -5
- package/dist/actions/get-vendor-payment.d.cts.map +1 -1
- package/dist/actions/get-vendor-payment.d.mts +3 -5
- package/dist/actions/get-vendor-payment.d.mts.map +1 -1
- package/dist/actions/get-vendor-payment.mjs +1 -0
- package/dist/actions/get-vendor-payment.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +1 -0
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +3 -6
- package/dist/actions/get-vendor.d.cts.map +1 -1
- package/dist/actions/get-vendor.d.mts +3 -6
- package/dist/actions/get-vendor.d.mts.map +1 -1
- package/dist/actions/get-vendor.mjs +1 -0
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/list-customer-payments.cjs +1 -0
- package/dist/actions/list-customer-payments.cjs.map +1 -1
- package/dist/actions/list-customer-payments.d.cts +3 -5
- package/dist/actions/list-customer-payments.d.cts.map +1 -1
- package/dist/actions/list-customer-payments.d.mts +3 -5
- package/dist/actions/list-customer-payments.d.mts.map +1 -1
- package/dist/actions/list-customer-payments.mjs +1 -0
- package/dist/actions/list-customer-payments.mjs.map +1 -1
- package/dist/actions/list-datasets.cjs +1 -0
- package/dist/actions/list-datasets.cjs.map +1 -1
- package/dist/actions/list-datasets.d.cts +3 -4
- package/dist/actions/list-datasets.d.cts.map +1 -1
- package/dist/actions/list-datasets.d.mts +3 -4
- package/dist/actions/list-datasets.d.mts.map +1 -1
- package/dist/actions/list-datasets.mjs +1 -0
- package/dist/actions/list-datasets.mjs.map +1 -1
- package/dist/actions/list-employees.cjs +1 -0
- package/dist/actions/list-employees.cjs.map +1 -1
- package/dist/actions/list-employees.d.cts +3 -5
- package/dist/actions/list-employees.d.cts.map +1 -1
- package/dist/actions/list-employees.d.mts +3 -5
- package/dist/actions/list-employees.d.mts.map +1 -1
- package/dist/actions/list-employees.mjs +1 -0
- package/dist/actions/list-employees.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +1 -0
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +3 -4
- package/dist/actions/list-integrations.d.cts.map +1 -1
- package/dist/actions/list-integrations.d.mts +3 -4
- package/dist/actions/list-integrations.d.mts.map +1 -1
- package/dist/actions/list-integrations.mjs +1 -0
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -5
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -5
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-item-fulfillments.cjs +1 -0
- package/dist/actions/list-item-fulfillments.cjs.map +1 -1
- package/dist/actions/list-item-fulfillments.d.cts +3 -5
- package/dist/actions/list-item-fulfillments.d.cts.map +1 -1
- package/dist/actions/list-item-fulfillments.d.mts +3 -5
- package/dist/actions/list-item-fulfillments.d.mts.map +1 -1
- package/dist/actions/list-item-fulfillments.mjs +1 -0
- package/dist/actions/list-item-fulfillments.mjs.map +1 -1
- package/dist/actions/list-item-receipts.cjs +1 -0
- package/dist/actions/list-item-receipts.cjs.map +1 -1
- package/dist/actions/list-item-receipts.d.cts +3 -5
- package/dist/actions/list-item-receipts.d.cts.map +1 -1
- package/dist/actions/list-item-receipts.d.mts +3 -5
- package/dist/actions/list-item-receipts.d.mts.map +1 -1
- package/dist/actions/list-item-receipts.mjs +1 -0
- package/dist/actions/list-item-receipts.mjs.map +1 -1
- package/dist/actions/list-journal-entries.cjs +1 -0
- package/dist/actions/list-journal-entries.cjs.map +1 -1
- package/dist/actions/list-journal-entries.d.cts +3 -5
- package/dist/actions/list-journal-entries.d.cts.map +1 -1
- package/dist/actions/list-journal-entries.d.mts +3 -5
- package/dist/actions/list-journal-entries.d.mts.map +1 -1
- package/dist/actions/list-journal-entries.mjs +1 -0
- package/dist/actions/list-journal-entries.mjs.map +1 -1
- package/dist/actions/list-metadata-catalog.cjs +1 -0
- package/dist/actions/list-metadata-catalog.cjs.map +1 -1
- package/dist/actions/list-metadata-catalog.d.cts +3 -4
- package/dist/actions/list-metadata-catalog.d.cts.map +1 -1
- package/dist/actions/list-metadata-catalog.d.mts +3 -4
- package/dist/actions/list-metadata-catalog.d.mts.map +1 -1
- package/dist/actions/list-metadata-catalog.mjs +1 -0
- package/dist/actions/list-metadata-catalog.mjs.map +1 -1
- package/dist/actions/list-purchase-orders.cjs +1 -0
- package/dist/actions/list-purchase-orders.cjs.map +1 -1
- package/dist/actions/list-purchase-orders.d.cts +3 -5
- package/dist/actions/list-purchase-orders.d.cts.map +1 -1
- package/dist/actions/list-purchase-orders.d.mts +3 -5
- package/dist/actions/list-purchase-orders.d.mts.map +1 -1
- package/dist/actions/list-purchase-orders.mjs +1 -0
- package/dist/actions/list-purchase-orders.mjs.map +1 -1
- package/dist/actions/list-records.cjs +1 -0
- package/dist/actions/list-records.cjs.map +1 -1
- package/dist/actions/list-records.d.cts +3 -6
- package/dist/actions/list-records.d.cts.map +1 -1
- package/dist/actions/list-records.d.mts +3 -6
- package/dist/actions/list-records.d.mts.map +1 -1
- package/dist/actions/list-records.mjs +1 -0
- package/dist/actions/list-records.mjs.map +1 -1
- package/dist/actions/list-sales-orders.cjs +1 -0
- package/dist/actions/list-sales-orders.cjs.map +1 -1
- package/dist/actions/list-sales-orders.d.cts +3 -5
- package/dist/actions/list-sales-orders.d.cts.map +1 -1
- package/dist/actions/list-sales-orders.d.mts +3 -5
- package/dist/actions/list-sales-orders.d.mts.map +1 -1
- package/dist/actions/list-sales-orders.mjs +1 -0
- package/dist/actions/list-sales-orders.mjs.map +1 -1
- package/dist/actions/list-vendor-payments.cjs +1 -0
- package/dist/actions/list-vendor-payments.cjs.map +1 -1
- package/dist/actions/list-vendor-payments.d.cts +3 -5
- package/dist/actions/list-vendor-payments.d.cts.map +1 -1
- package/dist/actions/list-vendor-payments.d.mts +3 -5
- package/dist/actions/list-vendor-payments.d.mts.map +1 -1
- package/dist/actions/list-vendor-payments.mjs +1 -0
- package/dist/actions/list-vendor-payments.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.cjs +1 -0
- package/dist/actions/o-auth2-authorize-account-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.cts +3 -10
- package/dist/actions/o-auth2-authorize-account-domain.d.cts.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.mts +3 -10
- package/dist/actions/o-auth2-authorize-account-domain.d.mts.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.mjs +1 -0
- package/dist/actions/o-auth2-authorize-account-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.cjs +1 -0
- package/dist/actions/o-auth2-authorize-system-domain.cjs.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.cts +3 -11
- package/dist/actions/o-auth2-authorize-system-domain.d.cts.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.mts +3 -11
- package/dist/actions/o-auth2-authorize-system-domain.d.mts.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.mjs +1 -0
- package/dist/actions/o-auth2-authorize-system-domain.mjs.map +1 -1
- package/dist/actions/o-auth2-logout.cjs +1 -0
- package/dist/actions/o-auth2-logout.cjs.map +1 -1
- package/dist/actions/o-auth2-logout.d.cts +3 -3
- package/dist/actions/o-auth2-logout.d.cts.map +1 -1
- package/dist/actions/o-auth2-logout.d.mts +3 -3
- package/dist/actions/o-auth2-logout.d.mts.map +1 -1
- package/dist/actions/o-auth2-logout.mjs +1 -0
- package/dist/actions/o-auth2-logout.mjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.cjs +1 -0
- package/dist/actions/o-auth2-revoke-refresh-token.cjs.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts +3 -4
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts +3 -4
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.mjs +1 -0
- package/dist/actions/o-auth2-revoke-refresh-token.mjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.cjs +1 -0
- package/dist/actions/o-auth2-token-authorization-code.cjs.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.cts +3 -7
- package/dist/actions/o-auth2-token-authorization-code.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.mts +3 -7
- package/dist/actions/o-auth2-token-authorization-code.d.mts.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.mjs +1 -0
- package/dist/actions/o-auth2-token-authorization-code.mjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.cjs +1 -0
- package/dist/actions/o-auth2-token-client-credentials.cjs.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.cts +3 -5
- package/dist/actions/o-auth2-token-client-credentials.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.mts +3 -5
- package/dist/actions/o-auth2-token-client-credentials.d.mts.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.mjs +1 -0
- package/dist/actions/o-auth2-token-client-credentials.mjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.cjs +1 -0
- package/dist/actions/o-auth2-token-refresh.cjs.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.cts +3 -5
- package/dist/actions/o-auth2-token-refresh.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.mts +3 -5
- package/dist/actions/o-auth2-token-refresh.d.mts.map +1 -1
- package/dist/actions/o-auth2-token-refresh.mjs +1 -0
- package/dist/actions/o-auth2-token-refresh.mjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.cjs +1 -0
- package/dist/actions/oauth2-get-jwks-keys.cjs.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.cts +3 -1
- package/dist/actions/oauth2-get-jwks-keys.d.cts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.mts +3 -1
- package/dist/actions/oauth2-get-jwks-keys.d.mts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.mjs +1 -0
- package/dist/actions/oauth2-get-jwks-keys.mjs.map +1 -1
- package/dist/actions/run-suiteql-query.cjs +1 -0
- package/dist/actions/run-suiteql-query.cjs.map +1 -1
- package/dist/actions/run-suiteql-query.d.cts +3 -5
- package/dist/actions/run-suiteql-query.d.cts.map +1 -1
- package/dist/actions/run-suiteql-query.d.mts +3 -5
- package/dist/actions/run-suiteql-query.d.mts.map +1 -1
- package/dist/actions/run-suiteql-query.mjs +1 -0
- package/dist/actions/run-suiteql-query.mjs.map +1 -1
- package/dist/actions/transform-record.cjs +1 -0
- package/dist/actions/transform-record.cjs.map +1 -1
- package/dist/actions/transform-record.d.cts +3 -11
- package/dist/actions/transform-record.d.cts.map +1 -1
- package/dist/actions/transform-record.d.mts +3 -11
- package/dist/actions/transform-record.d.mts.map +1 -1
- package/dist/actions/transform-record.mjs +1 -0
- package/dist/actions/transform-record.mjs.map +1 -1
- package/dist/actions/update-customer-payment.cjs +1 -0
- package/dist/actions/update-customer-payment.cjs.map +1 -1
- package/dist/actions/update-customer-payment.d.cts +3 -8
- package/dist/actions/update-customer-payment.d.cts.map +1 -1
- package/dist/actions/update-customer-payment.d.mts +3 -8
- package/dist/actions/update-customer-payment.d.mts.map +1 -1
- package/dist/actions/update-customer-payment.mjs +1 -0
- package/dist/actions/update-customer-payment.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -0
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -8
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -8
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -0
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-employee.cjs +1 -0
- package/dist/actions/update-employee.cjs.map +1 -1
- package/dist/actions/update-employee.d.cts +3 -10
- package/dist/actions/update-employee.d.cts.map +1 -1
- package/dist/actions/update-employee.d.mts +3 -10
- package/dist/actions/update-employee.d.mts.map +1 -1
- package/dist/actions/update-employee.mjs +1 -0
- package/dist/actions/update-employee.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +3 -8
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +3 -8
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item-fulfillment.cjs +1 -0
- package/dist/actions/update-item-fulfillment.cjs.map +1 -1
- package/dist/actions/update-item-fulfillment.d.cts +3 -10
- package/dist/actions/update-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/update-item-fulfillment.d.mts +3 -10
- package/dist/actions/update-item-fulfillment.d.mts.map +1 -1
- package/dist/actions/update-item-fulfillment.mjs +1 -0
- package/dist/actions/update-item-fulfillment.mjs.map +1 -1
- package/dist/actions/update-item-receipt.cjs +1 -0
- package/dist/actions/update-item-receipt.cjs.map +1 -1
- package/dist/actions/update-item-receipt.d.cts +3 -10
- package/dist/actions/update-item-receipt.d.cts.map +1 -1
- package/dist/actions/update-item-receipt.d.mts +3 -10
- package/dist/actions/update-item-receipt.d.mts.map +1 -1
- package/dist/actions/update-item-receipt.mjs +1 -0
- package/dist/actions/update-item-receipt.mjs.map +1 -1
- package/dist/actions/update-item.cjs +1 -0
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +3 -11
- package/dist/actions/update-item.d.cts.map +1 -1
- package/dist/actions/update-item.d.mts +3 -11
- package/dist/actions/update-item.d.mts.map +1 -1
- package/dist/actions/update-item.mjs +1 -0
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-journal-entry.cjs +1 -0
- package/dist/actions/update-journal-entry.cjs.map +1 -1
- package/dist/actions/update-journal-entry.d.cts +3 -10
- package/dist/actions/update-journal-entry.d.cts.map +1 -1
- package/dist/actions/update-journal-entry.d.mts +3 -10
- package/dist/actions/update-journal-entry.d.mts.map +1 -1
- package/dist/actions/update-journal-entry.mjs +1 -0
- package/dist/actions/update-journal-entry.mjs.map +1 -1
- package/dist/actions/update-purchase-order.cjs +1 -0
- package/dist/actions/update-purchase-order.cjs.map +1 -1
- package/dist/actions/update-purchase-order.d.cts +3 -9
- package/dist/actions/update-purchase-order.d.cts.map +1 -1
- package/dist/actions/update-purchase-order.d.mts +3 -9
- package/dist/actions/update-purchase-order.d.mts.map +1 -1
- package/dist/actions/update-purchase-order.mjs +1 -0
- package/dist/actions/update-purchase-order.mjs.map +1 -1
- package/dist/actions/update-sales-order.cjs +1 -0
- package/dist/actions/update-sales-order.cjs.map +1 -1
- package/dist/actions/update-sales-order.d.cts +3 -8
- package/dist/actions/update-sales-order.d.cts.map +1 -1
- package/dist/actions/update-sales-order.d.mts +3 -8
- package/dist/actions/update-sales-order.d.mts.map +1 -1
- package/dist/actions/update-sales-order.mjs +1 -0
- package/dist/actions/update-sales-order.mjs.map +1 -1
- package/dist/actions/update-vendor-bill.cjs +1 -0
- package/dist/actions/update-vendor-bill.cjs.map +1 -1
- package/dist/actions/update-vendor-bill.d.cts +3 -10
- package/dist/actions/update-vendor-bill.d.cts.map +1 -1
- package/dist/actions/update-vendor-bill.d.mts +3 -10
- package/dist/actions/update-vendor-bill.d.mts.map +1 -1
- package/dist/actions/update-vendor-bill.mjs +1 -0
- package/dist/actions/update-vendor-bill.mjs.map +1 -1
- package/dist/actions/update-vendor-payment.cjs +1 -0
- package/dist/actions/update-vendor-payment.cjs.map +1 -1
- package/dist/actions/update-vendor-payment.d.cts +3 -10
- package/dist/actions/update-vendor-payment.d.cts.map +1 -1
- package/dist/actions/update-vendor-payment.d.mts +3 -10
- package/dist/actions/update-vendor-payment.d.mts.map +1 -1
- package/dist/actions/update-vendor-payment.mjs +1 -0
- package/dist/actions/update-vendor-payment.mjs.map +1 -1
- package/dist/actions/update-vendor.cjs +1 -0
- package/dist/actions/update-vendor.cjs.map +1 -1
- package/dist/actions/update-vendor.d.cts +3 -8
- package/dist/actions/update-vendor.d.cts.map +1 -1
- package/dist/actions/update-vendor.d.mts +3 -8
- package/dist/actions/update-vendor.d.mts.map +1 -1
- package/dist/actions/update-vendor.mjs +1 -0
- package/dist/actions/update-vendor.mjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.cjs +1 -0
- package/dist/actions/upsert-record-by-external-id.cjs.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.cts +3 -5
- package/dist/actions/upsert-record-by-external-id.d.cts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.mts +3 -5
- package/dist/actions/upsert-record-by-external-id.d.mts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.mjs +1 -0
- 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 +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-purchase-order.d.ts
|
|
@@ -44,38 +46,7 @@ declare const NetsuiteCreatePurchaseOrderOutput: z.ZodObject<{
|
|
|
44
46
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const netsuiteCreatePurchaseOrder:
|
|
48
|
-
item: {
|
|
49
|
-
items: {
|
|
50
|
-
[x: string]: unknown;
|
|
51
|
-
item: {
|
|
52
|
-
id: string;
|
|
53
|
-
};
|
|
54
|
-
quantity: number;
|
|
55
|
-
rate?: number | undefined;
|
|
56
|
-
taxCode?: {
|
|
57
|
-
id: string;
|
|
58
|
-
} | undefined;
|
|
59
|
-
description?: string | undefined;
|
|
60
|
-
}[];
|
|
61
|
-
};
|
|
62
|
-
entity: {
|
|
63
|
-
id: string;
|
|
64
|
-
};
|
|
65
|
-
memo?: string | undefined;
|
|
66
|
-
Prefer?: string | undefined;
|
|
67
|
-
replace?: string | undefined;
|
|
68
|
-
location?: {
|
|
69
|
-
id: string;
|
|
70
|
-
} | undefined;
|
|
71
|
-
tranDate?: string | undefined;
|
|
72
|
-
customForm?: {
|
|
73
|
-
id: string;
|
|
74
|
-
} | undefined;
|
|
75
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
76
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore Warning" | undefined;
|
|
77
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore Error" | undefined;
|
|
78
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const netsuiteCreatePurchaseOrder: AppAction<typeof NetsuiteCreatePurchaseOrderInput, typeof NetsuiteCreatePurchaseOrderOutput, typeof netsuite.credential>;
|
|
79
50
|
//#endregion
|
|
80
51
|
export { netsuiteCreatePurchaseOrder };
|
|
81
52
|
//# sourceMappingURL=create-purchase-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-purchase-order.d.cts","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-purchase-order.d.cts","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-purchase-order.d.ts
|
|
@@ -44,38 +46,7 @@ declare const NetsuiteCreatePurchaseOrderOutput: z.ZodObject<{
|
|
|
44
46
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const netsuiteCreatePurchaseOrder:
|
|
48
|
-
item: {
|
|
49
|
-
items: {
|
|
50
|
-
[x: string]: unknown;
|
|
51
|
-
item: {
|
|
52
|
-
id: string;
|
|
53
|
-
};
|
|
54
|
-
quantity: number;
|
|
55
|
-
rate?: number | undefined;
|
|
56
|
-
taxCode?: {
|
|
57
|
-
id: string;
|
|
58
|
-
} | undefined;
|
|
59
|
-
description?: string | undefined;
|
|
60
|
-
}[];
|
|
61
|
-
};
|
|
62
|
-
entity: {
|
|
63
|
-
id: string;
|
|
64
|
-
};
|
|
65
|
-
memo?: string | undefined;
|
|
66
|
-
Prefer?: string | undefined;
|
|
67
|
-
replace?: string | undefined;
|
|
68
|
-
location?: {
|
|
69
|
-
id: string;
|
|
70
|
-
} | undefined;
|
|
71
|
-
tranDate?: string | undefined;
|
|
72
|
-
customForm?: {
|
|
73
|
-
id: string;
|
|
74
|
-
} | undefined;
|
|
75
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
76
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore Warning" | undefined;
|
|
77
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore Error" | undefined;
|
|
78
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const netsuiteCreatePurchaseOrder: AppAction<typeof NetsuiteCreatePurchaseOrderInput, typeof NetsuiteCreatePurchaseOrderOutput, typeof netsuite.credential>;
|
|
79
50
|
//#endregion
|
|
80
51
|
export { netsuiteCreatePurchaseOrder };
|
|
81
52
|
//# sourceMappingURL=create-purchase-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-purchase-order.d.mts","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-purchase-order.d.mts","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-purchase-order.mjs","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreatePurchaseOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered\"),\n rate: z.number().describe(\"Rate or price per unit for the item\").optional(),\n taxCode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n description: z.string().describe(\"Line description\").optional(),\n}).passthrough().describe(\"A single line item on the purchase order.\")).describe(\"List of line items to include on the purchase order\"),\n}).describe(\"Container for purchase order line items\"),\n memo: z.string().describe(\"Header memo for the purchase order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Vendor record reference\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n location: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n customForm: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Purchase Order record.\");\nexport const NetsuiteCreatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Purchase Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Purchase Order record.\");\n\nexport const netsuiteCreatePurchaseOrder = action(\"NETSUITE_CREATE_PURCHASE_ORDER\", {\n slug: \"netsuite-create-purchase-order\",\n name: \"Create Purchase Order\",\n description: \"Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.\",\n input: NetsuiteCreatePurchaseOrderInput,\n output: NetsuiteCreatePurchaseOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-purchase-order.mjs","names":[],"sources":["../../src/actions/create-purchase-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteCreatePurchaseOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered\"),\n rate: z.number().describe(\"Rate or price per unit for the item\").optional(),\n taxCode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n description: z.string().describe(\"Line description\").optional(),\n}).passthrough().describe(\"A single line item on the purchase order.\")).describe(\"List of line items to include on the purchase order\"),\n}).describe(\"Container for purchase order line items\"),\n memo: z.string().describe(\"Header memo for the purchase order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Vendor record reference\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n location: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n customForm: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Warning\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore Error\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Purchase Order record.\");\nexport const NetsuiteCreatePurchaseOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Purchase Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Purchase Order record.\");\n\nexport const netsuiteCreatePurchaseOrder: AppAction<\n typeof NetsuiteCreatePurchaseOrderInput,\n typeof NetsuiteCreatePurchaseOrderOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_CREATE_PURCHASE_ORDER\", {\n slug: \"netsuite-create-purchase-order\",\n name: \"Create Purchase Order\",\n description: \"Tool to create a new purchase order record. Use when you need to submit a purchase order to a vendor.\",\n input: NetsuiteCreatePurchaseOrderInput,\n output: NetsuiteCreatePurchaseOrderOutput,\n});\n"],"mappings":";;;AA0CA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5C8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;GAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAC1E,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,qDAAqD,EACtI,CAAC,CAAC,CAAC,SAAS,yCAAyC;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,yBAAyB;EACnC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,OAAO,EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,EACrB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvG,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC1J,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAc,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,8DAcH;CACP,QAd+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.cjs","names":["z","action"],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateRecordInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a record.\");\n\nexport const netsuiteCreateRecord = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-record.cjs","names":["z","action"],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteCreateRecordInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a record.\");\n\nexport const netsuiteCreateRecord: AppAction<\n typeof NetsuiteCreateRecordInput,\n typeof NetsuiteCreateRecordOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P;CAC3S,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CAC9L,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACvR,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;AACvR,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-record.d.ts
|
|
@@ -23,15 +25,7 @@ declare const NetsuiteCreateRecordOutput: z.ZodObject<{
|
|
|
23
25
|
record_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const netsuiteCreateRecord:
|
|
27
|
-
body: Record<string, unknown>;
|
|
28
|
-
record_type: string;
|
|
29
|
-
Prefer?: string | undefined;
|
|
30
|
-
replace?: string | undefined;
|
|
31
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
32
|
-
"X-NetSuite-PropertyNameValidation"?: "error" | "ignore" | "warning" | undefined;
|
|
33
|
-
"X-NetSuite-PropertyValueValidation"?: "error" | "ignore" | "warning" | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const netsuiteCreateRecord: AppAction<typeof NetsuiteCreateRecordInput, typeof NetsuiteCreateRecordOutput, typeof netsuite.credential>;
|
|
35
29
|
//#endregion
|
|
36
30
|
export { netsuiteCreateRecord };
|
|
37
31
|
//# sourceMappingURL=create-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.d.cts","names":[],"sources":["../../src/actions/create-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-record.d.cts","names":[],"sources":["../../src/actions/create-record.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-record.d.ts
|
|
@@ -23,15 +25,7 @@ declare const NetsuiteCreateRecordOutput: z.ZodObject<{
|
|
|
23
25
|
record_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const netsuiteCreateRecord:
|
|
27
|
-
body: Record<string, unknown>;
|
|
28
|
-
record_type: string;
|
|
29
|
-
Prefer?: string | undefined;
|
|
30
|
-
replace?: string | undefined;
|
|
31
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
32
|
-
"X-NetSuite-PropertyNameValidation"?: "error" | "ignore" | "warning" | undefined;
|
|
33
|
-
"X-NetSuite-PropertyValueValidation"?: "error" | "ignore" | "warning" | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const netsuiteCreateRecord: AppAction<typeof NetsuiteCreateRecordInput, typeof NetsuiteCreateRecordOutput, typeof netsuite.credential>;
|
|
35
29
|
//#endregion
|
|
36
30
|
export { netsuiteCreateRecord };
|
|
37
31
|
//# sourceMappingURL=create-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.d.mts","names":[],"sources":["../../src/actions/create-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-record.d.mts","names":[],"sources":["../../src/actions/create-record.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.mjs","names":[],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateRecordInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a record.\");\n\nexport const netsuiteCreateRecord = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-record.mjs","names":[],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteCreateRecordInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"Record data as a JSON object. Must include all required fields for the record type. Use GET_RECORD_METADATA to discover required fields and schema. Common fields: companyname/firstname+lastname (for entities), subsidiary reference (often required).\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n record_type: z.string().describe(\"Record type identifier (e.g., 'customer', 'vendor', 'salesorder', 'invoice', 'employee', 'item'). For custom records, use 'customrecord_<scriptId>' format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for unrecognized property names: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid names.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"ignore\", \"warning\", \"error\"]).describe(\"Controls validation level for invalid property values: 'error' (reject request), 'warning' (accept but warn), 'ignore' (silently accept). Default behavior rejects invalid values.\").optional(),\n}).describe(\"Request model for creating a new NetSuite record of any type.\");\nexport const NetsuiteCreateRecordOutput = z.object({\n location: z.string().describe(\"Full URL of the created record or async job status endpoint.\").nullable().optional(),\n record_id: z.string().describe(\"Internal ID of the newly created record, extracted from location URL. Use this ID to reference the record in subsequent operations.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a record.\");\n\nexport const netsuiteCreateRecord: AppAction<\n typeof NetsuiteCreateRecordInput,\n typeof NetsuiteCreateRecordOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_CREATE_RECORD\", {\n slug: \"netsuite-create-record\",\n name: \"Create Record\",\n description: \"Creates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.). Use this action when you need to create any type of record in NetSuite. Provide the record type identifier and a JSON body with all required fields. Consider using GET_RECORD_METADATA first to discover required fields and valid values. Supports both synchronous (immediate) and asynchronous (background) creation. Returns the new record's ID and location URL. Limitations: Does not support subrecord creation or bulk operations (use dedicated bulk actions instead).\",\n input: NetsuiteCreateRecordInput,\n output: NetsuiteCreateRecordOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P;EAC3S,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;EAC9L,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;EACvR,sCAAsC,EAAE,KAAK;GAAC;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;CACvR,CAAC,CAAC,CAAC,SAAS,+DAeH;CACP,QAfwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/create-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateSalesOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered (internal ID required)\"),\n rate: z.number().describe(\"Unit price per item. Required unless item has default pricing. Must be non-negative.\").optional(),\n amount: z.number().describe(\"Total line amount. Alternative to specifying rate. Calculated as quantity * rate if not provided. Must be non-negative.\").optional(),\n taxcode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n taxRate1: z.number().describe(\"Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.\").optional(),\n description: z.string().describe(\"Line item description or additional notes\").optional(),\n}).passthrough().describe(\"A single line item on the sales order.\")).describe(\"List of line items to include on the sales order\"),\n}).describe(\"Container for sales order line items. Must include at least one item with quantity and pricing.\"),\n memo: z.string().describe(\"Header memo for the sales order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Customer record reference (internal ID required)\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n promocode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n customForm: z.string().describe(\"Internal ID of the custom sales order form (determines billing behavior)\").optional(),\n orderStatus: z.enum([\"A\", \"B\"]).describe(\"Approval status: 'A' = Pending Approval, 'B' = Pending Fulfillment\").optional(),\n otherrefnum: z.string().describe(\"External reference or PO number\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Sales Order record.\\n\\nRequired fields:\\n- entity: Customer (internal ID)\\n- item: Container with list of line items\\n\\nEach line item must include item ID, quantity, and pricing (rate or amount).\\nIf SuiteTax is enabled on the account, each line item must also include a taxcode.\");\nexport const NetsuiteCreateSalesOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Sales Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Sales Order record.\");\n\nexport const netsuiteCreateSalesOrder = action(\"NETSUITE_CREATE_SALES_ORDER\", {\n slug: \"netsuite-create-sales-order\",\n name: \"Create Sales Order\",\n description: \"Tool to create a new sales order record in NetSuite. Use this when you need to submit a customer order with one or more items. Each line item requires: - item: Reference to the inventory/service item (internal ID) - quantity: Number of units to order - rate: Unit price (optional if item has default pricing) - taxcode: Tax code reference (required if SuiteTax is enabled on the account) Note: NetSuite accounts with SuiteTax enabled require tax codes for line items.\",\n input: NetsuiteCreateSalesOrderInput,\n output: NetsuiteCreateSalesOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-sales-order.cjs","names":["z","action"],"sources":["../../src/actions/create-sales-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteCreateSalesOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered (internal ID required)\"),\n rate: z.number().describe(\"Unit price per item. Required unless item has default pricing. Must be non-negative.\").optional(),\n amount: z.number().describe(\"Total line amount. Alternative to specifying rate. Calculated as quantity * rate if not provided. Must be non-negative.\").optional(),\n taxcode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n taxRate1: z.number().describe(\"Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.\").optional(),\n description: z.string().describe(\"Line item description or additional notes\").optional(),\n}).passthrough().describe(\"A single line item on the sales order.\")).describe(\"List of line items to include on the sales order\"),\n}).describe(\"Container for sales order line items. Must include at least one item with quantity and pricing.\"),\n memo: z.string().describe(\"Header memo for the sales order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Customer record reference (internal ID required)\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n promocode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n customForm: z.string().describe(\"Internal ID of the custom sales order form (determines billing behavior)\").optional(),\n orderStatus: z.enum([\"A\", \"B\"]).describe(\"Approval status: 'A' = Pending Approval, 'B' = Pending Fulfillment\").optional(),\n otherrefnum: z.string().describe(\"External reference or PO number\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Sales Order record.\\n\\nRequired fields:\\n- entity: Customer (internal ID)\\n- item: Container with list of line items\\n\\nEach line item must include item ID, quantity, and pricing (rate or amount).\\nIf SuiteTax is enabled on the account, each line item must also include a taxcode.\");\nexport const NetsuiteCreateSalesOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Sales Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Sales Order record.\");\n\nexport const netsuiteCreateSalesOrder: AppAction<\n typeof NetsuiteCreateSalesOrderInput,\n typeof NetsuiteCreateSalesOrderOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_CREATE_SALES_ORDER\", {\n slug: \"netsuite-create-sales-order\",\n name: \"Create Sales Order\",\n description: \"Tool to create a new sales order record in NetSuite. Use this when you need to submit a customer order with one or more items. Each line item requires: - item: Reference to the inventory/service item (internal ID) - quantity: Number of units to order - rate: Unit price (optional if item has default pricing) - taxcode: Tax code reference (required if SuiteTax is enabled on the account) Note: NetSuite accounts with SuiteTax enabled require tax codes for line items.\",\n input: NetsuiteCreateSalesOrderInput,\n output: NetsuiteCreateSalesOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,EACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,4DAA4D;EACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAChK,SAASA,IAAAA,EAAE,OAAO,EAClB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAChI,CAAC,CAAC,CAAC,SAAS,iGAAiG;CAC3G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,EACpB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvG,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,gUAAgU;AAC5U,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-sales-order.d.ts
|
|
@@ -49,40 +51,7 @@ declare const NetsuiteCreateSalesOrderOutput: z.ZodObject<{
|
|
|
49
51
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const netsuiteCreateSalesOrder:
|
|
53
|
-
item: {
|
|
54
|
-
items: {
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
item: {
|
|
57
|
-
id: string;
|
|
58
|
-
};
|
|
59
|
-
quantity: number;
|
|
60
|
-
rate?: number | undefined;
|
|
61
|
-
amount?: number | undefined;
|
|
62
|
-
taxcode?: {
|
|
63
|
-
id: string;
|
|
64
|
-
} | undefined;
|
|
65
|
-
taxRate1?: number | undefined;
|
|
66
|
-
description?: string | undefined;
|
|
67
|
-
}[];
|
|
68
|
-
};
|
|
69
|
-
entity: {
|
|
70
|
-
id: string;
|
|
71
|
-
};
|
|
72
|
-
memo?: string | undefined;
|
|
73
|
-
Prefer?: string | undefined;
|
|
74
|
-
replace?: string | undefined;
|
|
75
|
-
tranDate?: string | undefined;
|
|
76
|
-
promocode?: {
|
|
77
|
-
id: string;
|
|
78
|
-
} | undefined;
|
|
79
|
-
customForm?: string | undefined;
|
|
80
|
-
orderStatus?: "A" | "B" | undefined;
|
|
81
|
-
otherrefnum?: string | undefined;
|
|
82
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
83
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
84
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
85
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const netsuiteCreateSalesOrder: AppAction<typeof NetsuiteCreateSalesOrderInput, typeof NetsuiteCreateSalesOrderOutput, typeof netsuite.credential>;
|
|
86
55
|
//#endregion
|
|
87
56
|
export { netsuiteCreateSalesOrder };
|
|
88
57
|
//# sourceMappingURL=create-sales-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sales-order.d.cts","names":[],"sources":["../../src/actions/create-sales-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-sales-order.d.cts","names":[],"sources":["../../src/actions/create-sales-order.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-sales-order.d.ts
|
|
@@ -49,40 +51,7 @@ declare const NetsuiteCreateSalesOrderOutput: z.ZodObject<{
|
|
|
49
51
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const netsuiteCreateSalesOrder:
|
|
53
|
-
item: {
|
|
54
|
-
items: {
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
item: {
|
|
57
|
-
id: string;
|
|
58
|
-
};
|
|
59
|
-
quantity: number;
|
|
60
|
-
rate?: number | undefined;
|
|
61
|
-
amount?: number | undefined;
|
|
62
|
-
taxcode?: {
|
|
63
|
-
id: string;
|
|
64
|
-
} | undefined;
|
|
65
|
-
taxRate1?: number | undefined;
|
|
66
|
-
description?: string | undefined;
|
|
67
|
-
}[];
|
|
68
|
-
};
|
|
69
|
-
entity: {
|
|
70
|
-
id: string;
|
|
71
|
-
};
|
|
72
|
-
memo?: string | undefined;
|
|
73
|
-
Prefer?: string | undefined;
|
|
74
|
-
replace?: string | undefined;
|
|
75
|
-
tranDate?: string | undefined;
|
|
76
|
-
promocode?: {
|
|
77
|
-
id: string;
|
|
78
|
-
} | undefined;
|
|
79
|
-
customForm?: string | undefined;
|
|
80
|
-
orderStatus?: "A" | "B" | undefined;
|
|
81
|
-
otherrefnum?: string | undefined;
|
|
82
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
83
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
84
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
85
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const netsuiteCreateSalesOrder: AppAction<typeof NetsuiteCreateSalesOrderInput, typeof NetsuiteCreateSalesOrderOutput, typeof netsuite.credential>;
|
|
86
55
|
//#endregion
|
|
87
56
|
export { netsuiteCreateSalesOrder };
|
|
88
57
|
//# sourceMappingURL=create-sales-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sales-order.d.mts","names":[],"sources":["../../src/actions/create-sales-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-sales-order.d.mts","names":[],"sources":["../../src/actions/create-sales-order.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sales-order.mjs","names":[],"sources":["../../src/actions/create-sales-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateSalesOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered (internal ID required)\"),\n rate: z.number().describe(\"Unit price per item. Required unless item has default pricing. Must be non-negative.\").optional(),\n amount: z.number().describe(\"Total line amount. Alternative to specifying rate. Calculated as quantity * rate if not provided. Must be non-negative.\").optional(),\n taxcode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n taxRate1: z.number().describe(\"Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.\").optional(),\n description: z.string().describe(\"Line item description or additional notes\").optional(),\n}).passthrough().describe(\"A single line item on the sales order.\")).describe(\"List of line items to include on the sales order\"),\n}).describe(\"Container for sales order line items. Must include at least one item with quantity and pricing.\"),\n memo: z.string().describe(\"Header memo for the sales order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Customer record reference (internal ID required)\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n promocode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n customForm: z.string().describe(\"Internal ID of the custom sales order form (determines billing behavior)\").optional(),\n orderStatus: z.enum([\"A\", \"B\"]).describe(\"Approval status: 'A' = Pending Approval, 'B' = Pending Fulfillment\").optional(),\n otherrefnum: z.string().describe(\"External reference or PO number\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Sales Order record.\\n\\nRequired fields:\\n- entity: Customer (internal ID)\\n- item: Container with list of line items\\n\\nEach line item must include item ID, quantity, and pricing (rate or amount).\\nIf SuiteTax is enabled on the account, each line item must also include a taxcode.\");\nexport const NetsuiteCreateSalesOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Sales Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Sales Order record.\");\n\nexport const netsuiteCreateSalesOrder = action(\"NETSUITE_CREATE_SALES_ORDER\", {\n slug: \"netsuite-create-sales-order\",\n name: \"Create Sales Order\",\n description: \"Tool to create a new sales order record in NetSuite. Use this when you need to submit a customer order with one or more items. Each line item requires: - item: Reference to the inventory/service item (internal ID) - quantity: Number of units to order - rate: Unit price (optional if item has default pricing) - taxcode: Tax code reference (required if SuiteTax is enabled on the account) Note: NetSuite accounts with SuiteTax enabled require tax codes for line items.\",\n input: NetsuiteCreateSalesOrderInput,\n output: NetsuiteCreateSalesOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-sales-order.mjs","names":[],"sources":["../../src/actions/create-sales-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteCreateSalesOrderInput = z.object({\n item: z.object({\n items: z.array(z.object({\n item: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to the item being ordered (internal ID required)\"),\n rate: z.number().describe(\"Unit price per item. Required unless item has default pricing. Must be non-negative.\").optional(),\n amount: z.number().describe(\"Total line amount. Alternative to specifying rate. Calculated as quantity * rate if not provided. Must be non-negative.\").optional(),\n taxcode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n quantity: z.number().describe(\"Quantity to order (must be non-negative)\"),\n taxRate1: z.number().describe(\"Tax rate as a decimal (e.g., 0.16 for 16%). Optional if taxcode is provided.\").optional(),\n description: z.string().describe(\"Line item description or additional notes\").optional(),\n}).passthrough().describe(\"A single line item on the sales order.\")).describe(\"List of line items to include on the sales order\"),\n}).describe(\"Container for sales order line items. Must include at least one item with quantity and pricing.\"),\n memo: z.string().describe(\"Header memo for the sales order\").optional(),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously\").optional(),\n entity: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Customer record reference (internal ID required)\"),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided\").optional(),\n tranDate: z.string().describe(\"Transaction date in YYYY-MM-DD format\").optional(),\n promocode: z.object({\n id: z.string().describe(\"Internal ID of the referenced record\"),\n}).describe(\"Reference to another NetSuite record by internal ID.\").optional(),\n customForm: z.string().describe(\"Internal ID of the custom sales order form (determines billing behavior)\").optional(),\n orderStatus: z.enum([\"A\", \"B\"]).describe(\"Approval status: 'A' = Pending Approval, 'B' = Pending Fulfillment\").optional(),\n otherrefnum: z.string().describe(\"External reference or PO number\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation\").optional(),\n}).describe(\"Request model for creating a NetSuite Sales Order record.\\n\\nRequired fields:\\n- entity: Customer (internal ID)\\n- item: Container with list of line items\\n\\nEach line item must include item ID, quantity, and pricing (rate or amount).\\nIf SuiteTax is enabled on the account, each line item must also include a taxcode.\");\nexport const NetsuiteCreateSalesOrderOutput = z.object({\n location: z.string().describe(\"URL of the created Sales Order record or async job status\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Sales Order record.\");\n\nexport const netsuiteCreateSalesOrder: AppAction<\n typeof NetsuiteCreateSalesOrderInput,\n typeof NetsuiteCreateSalesOrderOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_CREATE_SALES_ORDER\", {\n slug: \"netsuite-create-sales-order\",\n name: \"Create Sales Order\",\n description: \"Tool to create a new sales order record in NetSuite. Use this when you need to submit a customer order with one or more items. Each line item requires: - item: Reference to the inventory/service item (internal ID) - quantity: Number of units to order - rate: Unit price (optional if item has default pricing) - taxcode: Tax code reference (required if SuiteTax is enabled on the account) Note: NetSuite accounts with SuiteTax enabled require tax codes for line items.\",\n input: NetsuiteCreateSalesOrderInput,\n output: NetsuiteCreateSalesOrderOutput,\n});\n"],"mappings":";;;AA4CA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9C2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,4DAA4D;GACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;GAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;GAChK,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;GACvH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAChI,CAAC,CAAC,CAAC,SAAS,iGAAiG;EAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,kDAAkD;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,EACpB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACrH,aAAa,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC7E,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvG,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAClJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,gUAcH;CACP,QAd4C,EAAE,OAAO;EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vendor-bill.cjs","names":["z","action"],"sources":["../../src/actions/create-vendor-bill.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateVendorBillInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite vendorBill schema; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Vendor Bill record.\");\nexport const NetsuiteCreateVendorBillOutput = z.object({\n location: z.string().describe(\"URL of the created Vendor Bill record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Vendor Bill record.\");\n\nexport const netsuiteCreateVendorBill = action(\"NETSUITE_CREATE_VENDOR_BILL\", {\n slug: \"netsuite-create-vendor-bill\",\n name: \"Create Vendor Bill\",\n description: \"Tool to create a new vendor bill record. Use when you have all required bill and line-item details to add a vendor bill in NetSuite.\",\n input: NetsuiteCreateVendorBillInput,\n output: NetsuiteCreateVendorBillOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vendor-bill.cjs","names":["z","action"],"sources":["../../src/actions/create-vendor-bill.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteCreateVendorBillInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite vendorBill schema; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Vendor Bill record.\");\nexport const NetsuiteCreateVendorBillOutput = z.object({\n location: z.string().describe(\"URL of the created Vendor Bill record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Vendor Bill record.\");\n\nexport const netsuiteCreateVendorBill: AppAction<\n typeof NetsuiteCreateVendorBillInput,\n typeof NetsuiteCreateVendorBillOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_CREATE_VENDOR_BILL\", {\n slug: \"netsuite-create-vendor-bill\",\n name: \"Create Vendor Bill\",\n description: \"Tool to create a new vendor bill record. Use when you have all required bill and line-item details to add a vendor bill in NetSuite.\",\n input: NetsuiteCreateVendorBillInput,\n output: NetsuiteCreateVendorBillOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;CACjI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-vendor-bill.d.ts
|
|
@@ -21,14 +23,7 @@ declare const NetsuiteCreateVendorBillOutput: z.ZodObject<{
|
|
|
21
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const netsuiteCreateVendorBill:
|
|
25
|
-
body: Record<string, unknown>;
|
|
26
|
-
Prefer?: string | undefined;
|
|
27
|
-
replace?: string | undefined;
|
|
28
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
29
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const netsuiteCreateVendorBill: AppAction<typeof NetsuiteCreateVendorBillInput, typeof NetsuiteCreateVendorBillOutput, typeof netsuite.credential>;
|
|
32
27
|
//#endregion
|
|
33
28
|
export { netsuiteCreateVendorBill };
|
|
34
29
|
//# sourceMappingURL=create-vendor-bill.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vendor-bill.d.cts","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vendor-bill.d.cts","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-vendor-bill.d.ts
|
|
@@ -21,14 +23,7 @@ declare const NetsuiteCreateVendorBillOutput: z.ZodObject<{
|
|
|
21
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const netsuiteCreateVendorBill:
|
|
25
|
-
body: Record<string, unknown>;
|
|
26
|
-
Prefer?: string | undefined;
|
|
27
|
-
replace?: string | undefined;
|
|
28
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
29
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const netsuiteCreateVendorBill: AppAction<typeof NetsuiteCreateVendorBillInput, typeof NetsuiteCreateVendorBillOutput, typeof netsuite.credential>;
|
|
32
27
|
//#endregion
|
|
33
28
|
export { netsuiteCreateVendorBill };
|
|
34
29
|
//# sourceMappingURL=create-vendor-bill.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vendor-bill.d.mts","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vendor-bill.d.mts","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vendor-bill.mjs","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateVendorBillInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite vendorBill schema; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Vendor Bill record.\");\nexport const NetsuiteCreateVendorBillOutput = z.object({\n location: z.string().describe(\"URL of the created Vendor Bill record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Vendor Bill record.\");\n\nexport const netsuiteCreateVendorBill = action(\"NETSUITE_CREATE_VENDOR_BILL\", {\n slug: \"netsuite-create-vendor-bill\",\n name: \"Create Vendor Bill\",\n description: \"Tool to create a new vendor bill record. Use when you have all required bill and line-item details to add a vendor bill in NetSuite.\",\n input: NetsuiteCreateVendorBillInput,\n output: NetsuiteCreateVendorBillOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vendor-bill.mjs","names":[],"sources":["../../src/actions/create-vendor-bill.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteCreateVendorBillInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object matching NetSuite vendorBill schema; include all mandatory fields.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Vendor Bill record.\");\nexport const NetsuiteCreateVendorBillOutput = z.object({\n location: z.string().describe(\"URL of the created Vendor Bill record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Vendor Bill record.\");\n\nexport const netsuiteCreateVendorBill: AppAction<\n typeof NetsuiteCreateVendorBillInput,\n typeof NetsuiteCreateVendorBillOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_CREATE_VENDOR_BILL\", {\n slug: \"netsuite-create-vendor-bill\",\n name: \"Create Vendor Bill\",\n description: \"Tool to create a new vendor bill record. Use when you have all required bill and line-item details to add a vendor bill in NetSuite.\",\n input: NetsuiteCreateVendorBillInput,\n output: NetsuiteCreateVendorBillOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;EACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACvI,qCAAqC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnJ,sCAAsC,EAAE,KAAK;GAAC;GAAS;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,2DAcH;CACP,QAd4C,EAAE,OAAO;EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vendor.cjs","names":["z","action"],"sources":["../../src/actions/create-vendor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteCreateVendorInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object containing vendor data. Required fields: 'companyName' (string) and 'subsidiary' (object with 'id' field, e.g., {'id': '3'}). Common optional fields: 'email', 'phone', 'fax', 'url', 'isPerson' (boolean), 'comments'. See NetSuite REST API vendor documentation for complete field list.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Vendor record.\");\nexport const NetsuiteCreateVendorOutput = z.object({\n location: z.string().describe(\"URL of the created Vendor record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Vendor record.\");\n\nexport const netsuiteCreateVendor = action(\"NETSUITE_CREATE_VENDOR\", {\n slug: \"netsuite-create-vendor\",\n name: \"Create Vendor\",\n description: \"Creates a new vendor record in NetSuite. Required: vendor name (companyName) and subsidiary ID. Use this when you need to add a new vendor to NetSuite's vendor list for procurement or accounts payable purposes.\",\n input: NetsuiteCreateVendorInput,\n output: NetsuiteCreateVendorOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vendor.cjs","names":["z","action"],"sources":["../../src/actions/create-vendor.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { netsuite } from \"../app\";\n\nexport const NetsuiteCreateVendorInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"JSON object containing vendor data. Required fields: 'companyName' (string) and 'subsidiary' (object with 'id' field, e.g., {'id': '3'}). Common optional fields: 'email', 'phone', 'fax', 'url', 'isPerson' (boolean), 'comments'. See NetSuite REST API vendor documentation for complete field list.\"),\n Prefer: z.string().describe(\"Use 'respond-async' to run the create operation asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided.\").optional(),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property name validation.\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.enum([\"Error\", \"Warning\", \"Ignore\"]).describe(\"Controls strictness for property value validation.\").optional(),\n}).describe(\"Request model for creating a NetSuite Vendor record.\");\nexport const NetsuiteCreateVendorOutput = z.object({\n location: z.string().describe(\"URL of the created Vendor record or async job status.\").nullable().optional(),\n preference_applied: z.string().describe(\"Echoes 'respond-async' when async creation is requested.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a Vendor record.\");\n\nexport const netsuiteCreateVendor: AppAction<\n typeof NetsuiteCreateVendorInput,\n typeof NetsuiteCreateVendorOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_CREATE_VENDOR\", {\n slug: \"netsuite-create-vendor\",\n name: \"Create Vendor\",\n description: \"Creates a new vendor record in NetSuite. Required: vendor name (companyName) and subsidiary ID. Use this when you need to add a new vendor to NetSuite's vendor list for procurement or accounts payable purposes.\",\n input: NetsuiteCreateVendorInput,\n output: NetsuiteCreateVendorOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ySAAyS;CAC1V,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnJ,sCAAsCA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { netsuite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-vendor.d.ts
|
|
@@ -21,14 +23,7 @@ declare const NetsuiteCreateVendorOutput: z.ZodObject<{
|
|
|
21
23
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
preference_applied: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const netsuiteCreateVendor:
|
|
25
|
-
body: Record<string, unknown>;
|
|
26
|
-
Prefer?: string | undefined;
|
|
27
|
-
replace?: string | undefined;
|
|
28
|
-
"X-NetSuite-Idempotency-Key"?: string | undefined;
|
|
29
|
-
"X-NetSuite-PropertyNameValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
30
|
-
"X-NetSuite-PropertyValueValidation"?: "Error" | "Warning" | "Ignore" | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const netsuiteCreateVendor: AppAction<typeof NetsuiteCreateVendorInput, typeof NetsuiteCreateVendorOutput, typeof netsuite.credential>;
|
|
32
27
|
//#endregion
|
|
33
28
|
export { netsuiteCreateVendor };
|
|
34
29
|
//# sourceMappingURL=create-vendor.d.cts.map
|