@keystrokehq/netsuite 0.1.4 → 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 -15
- package/dist/actions/async-get-job-status.d.cts.map +1 -1
- package/dist/actions/async-get-job-status.d.mts +3 -15
- 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 -16
- package/dist/actions/async-get-job-task-result.d.cts.map +1 -1
- package/dist/actions/async-get-job-task-result.d.mts +3 -16
- 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 -15
- package/dist/actions/async-get-job-task.d.cts.map +1 -1
- package/dist/actions/async-get-job-task.d.mts +3 -15
- 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 -20
- package/dist/actions/create-customer-payment.d.cts.map +1 -1
- package/dist/actions/create-customer-payment.d.mts +3 -20
- 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 -20
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -20
- 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 -20
- package/dist/actions/create-employee.d.cts.map +1 -1
- package/dist/actions/create-employee.d.mts +3 -20
- 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 -20
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +3 -20
- 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 +3 -21
- package/dist/actions/create-item.d.cts.map +1 -1
- package/dist/actions/create-item.d.mts +3 -21
- 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 -20
- package/dist/actions/create-journal-entry.d.cts.map +1 -1
- package/dist/actions/create-journal-entry.d.mts +3 -20
- 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 -22
- package/dist/actions/create-jwt-client-assertion.d.cts.map +1 -1
- package/dist/actions/create-jwt-client-assertion.d.mts +3 -22
- 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 -44
- package/dist/actions/create-purchase-order.d.cts.map +1 -1
- package/dist/actions/create-purchase-order.d.mts +3 -44
- 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 -21
- package/dist/actions/create-record.d.cts.map +1 -1
- package/dist/actions/create-record.d.mts +3 -21
- 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 -46
- package/dist/actions/create-sales-order.d.cts.map +1 -1
- package/dist/actions/create-sales-order.d.mts +3 -46
- 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 -20
- package/dist/actions/create-vendor-bill.d.cts.map +1 -1
- package/dist/actions/create-vendor-bill.d.mts +3 -20
- 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 -20
- package/dist/actions/create-vendor.d.cts.map +1 -1
- package/dist/actions/create-vendor.d.mts +3 -20
- 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 -15
- package/dist/actions/delete-customer-payment.d.cts.map +1 -1
- package/dist/actions/delete-customer-payment.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-employee.d.cts.map +1 -1
- package/dist/actions/delete-employee.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -15
- 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 -17
- package/dist/actions/delete-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/delete-item-fulfillment.d.mts +3 -17
- 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 -15
- package/dist/actions/delete-item-receipt.d.cts.map +1 -1
- package/dist/actions/delete-item-receipt.d.mts +3 -15
- 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 +3 -16
- package/dist/actions/delete-item.d.cts.map +1 -1
- package/dist/actions/delete-item.d.mts +3 -16
- 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 -17
- package/dist/actions/delete-journal-entry.d.cts.map +1 -1
- package/dist/actions/delete-journal-entry.d.mts +3 -17
- 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 -15
- package/dist/actions/delete-purchase-order.d.cts.map +1 -1
- package/dist/actions/delete-purchase-order.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-sales-order.d.cts.map +1 -1
- package/dist/actions/delete-sales-order.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-vendor-payment.d.cts.map +1 -1
- package/dist/actions/delete-vendor-payment.d.mts +3 -15
- 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 -17
- package/dist/actions/execute-dataset.d.cts.map +1 -1
- package/dist/actions/execute-dataset.d.mts +3 -17
- 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 -18
- package/dist/actions/get-customer-payment.d.cts.map +1 -1
- package/dist/actions/get-customer-payment.d.mts +3 -18
- 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 -17
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -17
- 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 -16
- package/dist/actions/get-datacenter-urls.d.cts.map +1 -1
- package/dist/actions/get-datacenter-urls.d.mts +3 -16
- 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 -17
- package/dist/actions/get-employee.d.cts.map +1 -1
- package/dist/actions/get-employee.d.mts +3 -17
- 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 -13
- package/dist/actions/get-governance-limits.d.cts.map +1 -1
- package/dist/actions/get-governance-limits.d.mts +3 -13
- 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 -18
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -18
- 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 -18
- package/dist/actions/get-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/get-item-fulfillment.d.mts +3 -18
- 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 -17
- package/dist/actions/get-item-receipt.d.cts.map +1 -1
- package/dist/actions/get-item-receipt.d.mts +3 -17
- 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 -18
- package/dist/actions/get-item.d.cts.map +1 -1
- package/dist/actions/get-item.d.mts +3 -18
- 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 -18
- package/dist/actions/get-journal-entry.d.cts.map +1 -1
- package/dist/actions/get-journal-entry.d.mts +3 -18
- 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 -18
- package/dist/actions/get-purchase-order.d.cts.map +1 -1
- package/dist/actions/get-purchase-order.d.mts +3 -18
- 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 -16
- package/dist/actions/get-record-metadata.d.cts.map +1 -1
- package/dist/actions/get-record-metadata.d.mts +3 -16
- 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 -19
- package/dist/actions/get-reference-select-field.d.cts.map +1 -1
- package/dist/actions/get-reference-select-field.d.mts +3 -19
- 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 -17
- package/dist/actions/get-sales-order.d.cts.map +1 -1
- package/dist/actions/get-sales-order.d.mts +3 -17
- 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 -13
- package/dist/actions/get-server-time.d.cts.map +1 -1
- package/dist/actions/get-server-time.d.mts +3 -13
- 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 -19
- package/dist/actions/get-sublist-collection.d.cts.map +1 -1
- package/dist/actions/get-sublist-collection.d.mts +3 -19
- 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 -19
- package/dist/actions/get-sublist-line.d.cts.map +1 -1
- package/dist/actions/get-sublist-line.d.mts +3 -19
- 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 -17
- package/dist/actions/get-subrecord.d.cts.map +1 -1
- package/dist/actions/get-subrecord.d.mts +3 -17
- 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 -17
- package/dist/actions/get-vendor-bill.d.cts.map +1 -1
- package/dist/actions/get-vendor-bill.d.mts +3 -17
- 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 -17
- package/dist/actions/get-vendor-payment.d.cts.map +1 -1
- package/dist/actions/get-vendor-payment.d.mts +3 -17
- 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 -18
- package/dist/actions/get-vendor.d.cts.map +1 -1
- package/dist/actions/get-vendor.d.mts +3 -18
- 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 -17
- package/dist/actions/list-customer-payments.d.cts.map +1 -1
- package/dist/actions/list-customer-payments.d.mts +3 -17
- 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 -16
- package/dist/actions/list-datasets.d.cts.map +1 -1
- package/dist/actions/list-datasets.d.mts +3 -16
- 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 -17
- package/dist/actions/list-employees.d.cts.map +1 -1
- package/dist/actions/list-employees.d.mts +3 -17
- 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 -16
- package/dist/actions/list-integrations.d.cts.map +1 -1
- package/dist/actions/list-integrations.d.mts +3 -16
- 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 -17
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -17
- 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 -17
- package/dist/actions/list-item-fulfillments.d.cts.map +1 -1
- package/dist/actions/list-item-fulfillments.d.mts +3 -17
- 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 -17
- package/dist/actions/list-item-receipts.d.cts.map +1 -1
- package/dist/actions/list-item-receipts.d.mts +3 -17
- 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 -17
- package/dist/actions/list-journal-entries.d.cts.map +1 -1
- package/dist/actions/list-journal-entries.d.mts +3 -17
- 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 -16
- package/dist/actions/list-metadata-catalog.d.cts.map +1 -1
- package/dist/actions/list-metadata-catalog.d.mts +3 -16
- 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 -17
- package/dist/actions/list-purchase-orders.d.cts.map +1 -1
- package/dist/actions/list-purchase-orders.d.mts +3 -17
- 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 -18
- package/dist/actions/list-records.d.cts.map +1 -1
- package/dist/actions/list-records.d.mts +3 -18
- 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 -17
- package/dist/actions/list-sales-orders.d.cts.map +1 -1
- package/dist/actions/list-sales-orders.d.mts +3 -17
- 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 -17
- package/dist/actions/list-vendor-payments.d.cts.map +1 -1
- package/dist/actions/list-vendor-payments.d.mts +3 -17
- 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 -22
- package/dist/actions/o-auth2-authorize-account-domain.d.cts.map +1 -1
- package/dist/actions/o-auth2-authorize-account-domain.d.mts +3 -22
- 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 -23
- package/dist/actions/o-auth2-authorize-system-domain.d.cts.map +1 -1
- package/dist/actions/o-auth2-authorize-system-domain.d.mts +3 -23
- 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 -15
- package/dist/actions/o-auth2-logout.d.cts.map +1 -1
- package/dist/actions/o-auth2-logout.d.mts +3 -15
- 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 -16
- package/dist/actions/o-auth2-revoke-refresh-token.d.cts.map +1 -1
- package/dist/actions/o-auth2-revoke-refresh-token.d.mts +3 -16
- 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 -19
- package/dist/actions/o-auth2-token-authorization-code.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-authorization-code.d.mts +3 -19
- 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 -17
- package/dist/actions/o-auth2-token-client-credentials.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-client-credentials.d.mts +3 -17
- 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 -17
- package/dist/actions/o-auth2-token-refresh.d.cts.map +1 -1
- package/dist/actions/o-auth2-token-refresh.d.mts +3 -17
- 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 -13
- package/dist/actions/oauth2-get-jwks-keys.d.cts.map +1 -1
- package/dist/actions/oauth2-get-jwks-keys.d.mts +3 -13
- 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 -17
- package/dist/actions/run-suiteql-query.d.cts.map +1 -1
- package/dist/actions/run-suiteql-query.d.mts +3 -17
- 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 -23
- package/dist/actions/transform-record.d.cts.map +1 -1
- package/dist/actions/transform-record.d.mts +3 -23
- 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 -20
- package/dist/actions/update-customer-payment.d.cts.map +1 -1
- package/dist/actions/update-customer-payment.d.mts +3 -20
- 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 -20
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -20
- 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 -22
- package/dist/actions/update-employee.d.cts.map +1 -1
- package/dist/actions/update-employee.d.mts +3 -22
- 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 -20
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +3 -20
- 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 -22
- package/dist/actions/update-item-fulfillment.d.cts.map +1 -1
- package/dist/actions/update-item-fulfillment.d.mts +3 -22
- 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 -22
- package/dist/actions/update-item-receipt.d.cts.map +1 -1
- package/dist/actions/update-item-receipt.d.mts +3 -22
- 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 -23
- package/dist/actions/update-item.d.cts.map +1 -1
- package/dist/actions/update-item.d.mts +3 -23
- 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 -22
- package/dist/actions/update-journal-entry.d.cts.map +1 -1
- package/dist/actions/update-journal-entry.d.mts +3 -22
- 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 -21
- package/dist/actions/update-purchase-order.d.cts.map +1 -1
- package/dist/actions/update-purchase-order.d.mts +3 -21
- 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 -20
- package/dist/actions/update-sales-order.d.cts.map +1 -1
- package/dist/actions/update-sales-order.d.mts +3 -20
- 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 -22
- package/dist/actions/update-vendor-bill.d.cts.map +1 -1
- package/dist/actions/update-vendor-bill.d.mts +3 -22
- 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 -22
- package/dist/actions/update-vendor-payment.d.cts.map +1 -1
- package/dist/actions/update-vendor-payment.d.mts +3 -22
- 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 -20
- package/dist/actions/update-vendor.d.cts.map +1 -1
- package/dist/actions/update-vendor.d.mts +3 -20
- 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 -17
- package/dist/actions/upsert-record-by-external-id.d.cts.map +1 -1
- package/dist/actions/upsert-record-by-external-id.d.mts +3 -17
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/o-auth2-token-authorization-code.d.ts
|
|
@@ -16,25 +18,7 @@ declare const NetsuiteOAuth2TokenAuthorizationCodeOutput: z.ZodObject<{
|
|
|
16
18
|
access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const netsuiteOAuth2TokenAuthorizationCode:
|
|
20
|
-
code: string;
|
|
21
|
-
redirect_uri: string;
|
|
22
|
-
code_verifier: string;
|
|
23
|
-
client_id?: string | undefined;
|
|
24
|
-
grant_type?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const netsuiteOAuth2TokenAuthorizationCode: AppAction<typeof NetsuiteOAuth2TokenAuthorizationCodeInput, typeof NetsuiteOAuth2TokenAuthorizationCodeOutput, typeof netsuite.credential>;
|
|
38
22
|
//#endregion
|
|
39
23
|
export { netsuiteOAuth2TokenAuthorizationCode };
|
|
40
24
|
//# sourceMappingURL=o-auth2-token-authorization-code.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-authorization-code.d.mts","names":[],"sources":["../../src/actions/o-auth2-token-authorization-code.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-authorization-code.d.mts","names":[],"sources":["../../src/actions/o-auth2-token-authorization-code.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAOzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAS1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-authorization-code.mjs","names":[],"sources":["../../src/actions/o-auth2-token-authorization-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenAuthorizationCodeInput = z.object({\n code: z.string().describe(\"Authorization code received from the OAuth2 authorization endpoint callback. This code is single-use and expires quickly (typically within 5-10 minutes).\"),\n client_id: z.string().describe(\"Client ID from the NetSuite integration record. Required only when client credentials are not provided in metadata (public client flow).\").optional(),\n grant_type: z.string().default(\"authorization_code\").describe(\"OAuth2 grant type. Always 'authorization_code' for this flow.\").optional(),\n redirect_uri: z.string().describe(\"Redirect URI that must exactly match the one used in the authorization request and registered in the NetSuite integration record. Mismatches will cause the request to fail.\"),\n code_verifier: z.string().describe(\"PKCE code verifier (43-128 character random string) used to generate the code_challenge in the initial authorization request. Required for security.\"),\n}).describe(\"Request model for exchanging an OAuth2 authorization code for access and refresh tokens.\\nUse this after the user completes authorization through the NetSuite OAuth2 flow.\");\nexport const NetsuiteOAuth2TokenAuthorizationCodeOutput = z.object({\n error: z.string().describe(\"OAuth2 error code when request fails. Common values: 'invalid_grant' (invalid/expired code), 'invalid_client' (bad credentials), 'invalid_request' (malformed request), 'unauthorized_client' (client not authorized).\").nullable().optional(),\n id_token: z.string().describe(\"JWT ID token containing user identity claims (OpenID Connect). Valid for 3 hours. Optional, returned only for OpenID Connect flows.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Access token lifetime in seconds. Always 3600 (60 minutes) for NetSuite.\").nullable().optional(),\n token_type: z.string().describe(\"Token type for API requests. Always 'bearer' (case-insensitive).\").nullable().optional(),\n access_token: z.string().describe(\"JWT access token for authenticating NetSuite API requests. Valid for 60 minutes. Use in Authorization header as 'Bearer {access_token}'.\").nullable().optional(),\n refresh_token: z.string().describe(\"JWT refresh token for obtaining new access tokens when they expire. Valid for 7 days by default (configurable in integration record). Store securely.\").nullable().optional(),\n}).passthrough().describe(\"Response model for OAuth2 token exchange containing access tokens, refresh tokens, and error details.\\nOn success, contains tokens for API authentication. On failure, contains error code.\");\n\nexport const netsuiteOAuth2TokenAuthorizationCode = action(\"NETSUITE_O_AUTH2_TOKEN_AUTHORIZATION_CODE\", {\n slug: \"netsuite-o-auth2-token-authorization-code\",\n name: \"Exchange OAuth2 Authorization Code for Tokens\",\n description: \"Exchange an OAuth2 authorization code for access and refresh tokens using the NetSuite token endpoint. This is the second step in the OAuth2 authorization code flow with PKCE: 1. User authorizes via OAuth2AuthorizeAccountDomain or OAuth2AuthorizeSystemDomain 2. User is redirected to your redirect_uri with authorization code 3. Use THIS action to exchange the code for tokens 4. Use access_token to make API requests, refresh_token to get new access tokens Supports both confidential clients (client secret in metadata) and public clients (no secret). PKCE (code_verifier) is required for security.\",\n input: NetsuiteOAuth2TokenAuthorizationCodeInput,\n output: NetsuiteOAuth2TokenAuthorizationCodeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-authorization-code.mjs","names":[],"sources":["../../src/actions/o-auth2-token-authorization-code.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 NetsuiteOAuth2TokenAuthorizationCodeInput = z.object({\n code: z.string().describe(\"Authorization code received from the OAuth2 authorization endpoint callback. This code is single-use and expires quickly (typically within 5-10 minutes).\"),\n client_id: z.string().describe(\"Client ID from the NetSuite integration record. Required only when client credentials are not provided in metadata (public client flow).\").optional(),\n grant_type: z.string().default(\"authorization_code\").describe(\"OAuth2 grant type. Always 'authorization_code' for this flow.\").optional(),\n redirect_uri: z.string().describe(\"Redirect URI that must exactly match the one used in the authorization request and registered in the NetSuite integration record. Mismatches will cause the request to fail.\"),\n code_verifier: z.string().describe(\"PKCE code verifier (43-128 character random string) used to generate the code_challenge in the initial authorization request. Required for security.\"),\n}).describe(\"Request model for exchanging an OAuth2 authorization code for access and refresh tokens.\\nUse this after the user completes authorization through the NetSuite OAuth2 flow.\");\nexport const NetsuiteOAuth2TokenAuthorizationCodeOutput = z.object({\n error: z.string().describe(\"OAuth2 error code when request fails. Common values: 'invalid_grant' (invalid/expired code), 'invalid_client' (bad credentials), 'invalid_request' (malformed request), 'unauthorized_client' (client not authorized).\").nullable().optional(),\n id_token: z.string().describe(\"JWT ID token containing user identity claims (OpenID Connect). Valid for 3 hours. Optional, returned only for OpenID Connect flows.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Access token lifetime in seconds. Always 3600 (60 minutes) for NetSuite.\").nullable().optional(),\n token_type: z.string().describe(\"Token type for API requests. Always 'bearer' (case-insensitive).\").nullable().optional(),\n access_token: z.string().describe(\"JWT access token for authenticating NetSuite API requests. Valid for 60 minutes. Use in Authorization header as 'Bearer {access_token}'.\").nullable().optional(),\n refresh_token: z.string().describe(\"JWT refresh token for obtaining new access tokens when they expire. Valid for 7 days by default (configurable in integration record). Store securely.\").nullable().optional(),\n}).passthrough().describe(\"Response model for OAuth2 token exchange containing access tokens, refresh tokens, and error details.\\nOn success, contains tokens for API authentication. On failure, contains error code.\");\n\nexport const netsuiteOAuth2TokenAuthorizationCode: AppAction<\n typeof NetsuiteOAuth2TokenAuthorizationCodeInput,\n typeof NetsuiteOAuth2TokenAuthorizationCodeOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_O_AUTH2_TOKEN_AUTHORIZATION_CODE\", {\n slug: \"netsuite-o-auth2-token-authorization-code\",\n name: \"Exchange OAuth2 Authorization Code for Tokens\",\n description: \"Exchange an OAuth2 authorization code for access and refresh tokens using the NetSuite token endpoint. This is the second step in the OAuth2 authorization code flow with PKCE: 1. User authorizes via OAuth2AuthorizeAccountDomain or OAuth2AuthorizeSystemDomain 2. User is redirected to your redirect_uri with authorization code 3. Use THIS action to exchange the code for tokens 4. Use access_token to make API requests, refresh_token to get new access tokens Supports both confidential clients (client secret in metadata) and public clients (no secret). PKCE (code_verifier) is required for security.\",\n input: NetsuiteOAuth2TokenAuthorizationCodeInput,\n output: NetsuiteOAuth2TokenAuthorizationCodeOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,uCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;EACrL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EACpL,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACxI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;EAChN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CAC3L,CAAC,CAAC,CAAC,SAAS,6KAkBH;CACP,QAlBwD,EAAE,OAAO;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6LAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-client-credentials.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-client-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenClientCredentialsInput = z.object({\n grant_type: z.string().default(\"client_credentials\").describe(\"Grant type for OAuth2 client credentials flow (must be 'client_credentials').\").optional(),\n client_assertion: z.string().describe(\"JWT assertion token signed with the integration's private key.\"),\n client_assertion_type: z.string().default(\"urn:ietf:params:oauth:client-assertion-type:jwt-bearer\").describe(\"Client assertion type indicating a JWT bearer grant.\").optional(),\n}).describe(\"Request model for obtaining an OAuth2 access token via client credentials (JWT assertion).\");\nexport const NetsuiteOAuth2TokenClientCredentialsOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Token lifetime in seconds.\").nullable().optional(),\n token_type: z.string().describe(\"Token type; always 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"Access token in JWT format; valid for a limited period.\").nullable().optional(),\n}).passthrough().describe(\"Response model for OAuth2 token obtained via client credentials.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenClientCredentials = action(\"NETSUITE_O_AUTH2_TOKEN_CLIENT_CREDENTIALS\", {\n slug: \"netsuite-o-auth2-token-client-credentials\",\n name: \"OAuth2 Token Client Credentials\",\n description: \"Tool to obtain an OAuth2 access token via client credentials grant. Use when authenticating to NetSuite APIs with a JWT-based client credentials flow.\",\n input: NetsuiteOAuth2TokenClientCredentialsInput,\n output: NetsuiteOAuth2TokenClientCredentialsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-client-credentials.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-client-credentials.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 NetsuiteOAuth2TokenClientCredentialsInput = z.object({\n grant_type: z.string().default(\"client_credentials\").describe(\"Grant type for OAuth2 client credentials flow (must be 'client_credentials').\").optional(),\n client_assertion: z.string().describe(\"JWT assertion token signed with the integration's private key.\"),\n client_assertion_type: z.string().default(\"urn:ietf:params:oauth:client-assertion-type:jwt-bearer\").describe(\"Client assertion type indicating a JWT bearer grant.\").optional(),\n}).describe(\"Request model for obtaining an OAuth2 access token via client credentials (JWT assertion).\");\nexport const NetsuiteOAuth2TokenClientCredentialsOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Token lifetime in seconds.\").nullable().optional(),\n token_type: z.string().describe(\"Token type; always 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"Access token in JWT format; valid for a limited period.\").nullable().optional(),\n}).passthrough().describe(\"Response model for OAuth2 token obtained via client credentials.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenClientCredentials: AppAction<\n typeof NetsuiteOAuth2TokenClientCredentialsInput,\n typeof NetsuiteOAuth2TokenClientCredentialsOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_O_AUTH2_TOKEN_CLIENT_CREDENTIALS\", {\n slug: \"netsuite-o-auth2-token-client-credentials\",\n name: \"OAuth2 Token Client Credentials\",\n description: \"Tool to obtain an OAuth2 access token via client credentials grant. Use when authenticating to NetSuite APIs with a JWT-based client credentials flow.\",\n input: NetsuiteOAuth2TokenClientCredentialsInput,\n output: NetsuiteOAuth2TokenClientCredentialsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACxJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,wDAAwD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,SAAS,4FAA4F;AACxG,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yIAAyI;AAEnK,MAAa,uCAITC,eAAAA,OAAO,6CAA6C;CACtD,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/o-auth2-token-client-credentials.d.ts
|
|
@@ -12,23 +14,7 @@ declare const NetsuiteOAuth2TokenClientCredentialsOutput: z.ZodObject<{
|
|
|
12
14
|
token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const netsuiteOAuth2TokenClientCredentials:
|
|
16
|
-
client_assertion: string;
|
|
17
|
-
grant_type?: string | undefined;
|
|
18
|
-
client_assertion_type?: string | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const netsuiteOAuth2TokenClientCredentials: AppAction<typeof NetsuiteOAuth2TokenClientCredentialsInput, typeof NetsuiteOAuth2TokenClientCredentialsOutput, typeof netsuite.credential>;
|
|
32
18
|
//#endregion
|
|
33
19
|
export { netsuiteOAuth2TokenClientCredentials };
|
|
34
20
|
//# sourceMappingURL=o-auth2-token-client-credentials.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-client-credentials.d.cts","names":[],"sources":["../../src/actions/o-auth2-token-client-credentials.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-client-credentials.d.cts","names":[],"sources":["../../src/actions/o-auth2-token-client-credentials.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAKzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;cAO1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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/o-auth2-token-client-credentials.d.ts
|
|
@@ -12,23 +14,7 @@ declare const NetsuiteOAuth2TokenClientCredentialsOutput: z.ZodObject<{
|
|
|
12
14
|
token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const netsuiteOAuth2TokenClientCredentials:
|
|
16
|
-
client_assertion: string;
|
|
17
|
-
grant_type?: string | undefined;
|
|
18
|
-
client_assertion_type?: string | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const netsuiteOAuth2TokenClientCredentials: AppAction<typeof NetsuiteOAuth2TokenClientCredentialsInput, typeof NetsuiteOAuth2TokenClientCredentialsOutput, typeof netsuite.credential>;
|
|
32
18
|
//#endregion
|
|
33
19
|
export { netsuiteOAuth2TokenClientCredentials };
|
|
34
20
|
//# sourceMappingURL=o-auth2-token-client-credentials.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-client-credentials.d.mts","names":[],"sources":["../../src/actions/o-auth2-token-client-credentials.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-client-credentials.d.mts","names":[],"sources":["../../src/actions/o-auth2-token-client-credentials.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAKzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;cAO1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-client-credentials.mjs","names":[],"sources":["../../src/actions/o-auth2-token-client-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenClientCredentialsInput = z.object({\n grant_type: z.string().default(\"client_credentials\").describe(\"Grant type for OAuth2 client credentials flow (must be 'client_credentials').\").optional(),\n client_assertion: z.string().describe(\"JWT assertion token signed with the integration's private key.\"),\n client_assertion_type: z.string().default(\"urn:ietf:params:oauth:client-assertion-type:jwt-bearer\").describe(\"Client assertion type indicating a JWT bearer grant.\").optional(),\n}).describe(\"Request model for obtaining an OAuth2 access token via client credentials (JWT assertion).\");\nexport const NetsuiteOAuth2TokenClientCredentialsOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Token lifetime in seconds.\").nullable().optional(),\n token_type: z.string().describe(\"Token type; always 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"Access token in JWT format; valid for a limited period.\").nullable().optional(),\n}).passthrough().describe(\"Response model for OAuth2 token obtained via client credentials.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenClientCredentials = action(\"NETSUITE_O_AUTH2_TOKEN_CLIENT_CREDENTIALS\", {\n slug: \"netsuite-o-auth2-token-client-credentials\",\n name: \"OAuth2 Token Client Credentials\",\n description: \"Tool to obtain an OAuth2 access token via client credentials grant. Use when authenticating to NetSuite APIs with a JWT-based client credentials flow.\",\n input: NetsuiteOAuth2TokenClientCredentialsInput,\n output: NetsuiteOAuth2TokenClientCredentialsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-client-credentials.mjs","names":[],"sources":["../../src/actions/o-auth2-token-client-credentials.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 NetsuiteOAuth2TokenClientCredentialsInput = z.object({\n grant_type: z.string().default(\"client_credentials\").describe(\"Grant type for OAuth2 client credentials flow (must be 'client_credentials').\").optional(),\n client_assertion: z.string().describe(\"JWT assertion token signed with the integration's private key.\"),\n client_assertion_type: z.string().default(\"urn:ietf:params:oauth:client-assertion-type:jwt-bearer\").describe(\"Client assertion type indicating a JWT bearer grant.\").optional(),\n}).describe(\"Request model for obtaining an OAuth2 access token via client credentials (JWT assertion).\");\nexport const NetsuiteOAuth2TokenClientCredentialsOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Token lifetime in seconds.\").nullable().optional(),\n token_type: z.string().describe(\"Token type; always 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"Access token in JWT format; valid for a limited period.\").nullable().optional(),\n}).passthrough().describe(\"Response model for OAuth2 token obtained via client credentials.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenClientCredentials: AppAction<\n typeof NetsuiteOAuth2TokenClientCredentialsInput,\n typeof NetsuiteOAuth2TokenClientCredentialsOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_O_AUTH2_TOKEN_CLIENT_CREDENTIALS\", {\n slug: \"netsuite-o-auth2-token-client-credentials\",\n name: \"OAuth2 Token Client Credentials\",\n description: \"Tool to obtain an OAuth2 access token via client credentials grant. Use when authenticating to NetSuite APIs with a JWT-based client credentials flow.\",\n input: NetsuiteOAuth2TokenClientCredentialsInput,\n output: NetsuiteOAuth2TokenClientCredentialsOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,uCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuD,EAAE,OAAO;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACtG,uBAAuB,EAAE,OAAO,CAAC,CAAC,QAAQ,wDAAwD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,SAAS,4FAgBH;CACP,QAhBwD,EAAE,OAAO;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yIAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-refresh.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-refresh.cjs","names":["z","action"],"sources":["../../src/actions/o-auth2-token-refresh.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 NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh: AppAction<\n typeof NetsuiteOAuth2TokenRefreshInput,\n typeof NetsuiteOAuth2TokenRefreshOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8HAA8H;AAExJ,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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/o-auth2-token-refresh.d.ts
|
|
@@ -13,23 +15,7 @@ declare const NetsuiteOAuth2TokenRefreshOutput: z.ZodObject<{
|
|
|
13
15
|
access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const netsuiteOAuth2TokenRefresh:
|
|
17
|
-
client_id?: string | undefined;
|
|
18
|
-
client_secret?: string | undefined;
|
|
19
|
-
refresh_token?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const netsuiteOAuth2TokenRefresh: AppAction<typeof NetsuiteOAuth2TokenRefreshInput, typeof NetsuiteOAuth2TokenRefreshOutput, typeof netsuite.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { netsuiteOAuth2TokenRefresh };
|
|
35
21
|
//# sourceMappingURL=o-auth2-token-refresh.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-refresh.d.cts","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-refresh.d.cts","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/o-auth2-token-refresh.d.ts
|
|
@@ -13,23 +15,7 @@ declare const NetsuiteOAuth2TokenRefreshOutput: z.ZodObject<{
|
|
|
13
15
|
access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const netsuiteOAuth2TokenRefresh:
|
|
17
|
-
client_id?: string | undefined;
|
|
18
|
-
client_secret?: string | undefined;
|
|
19
|
-
refresh_token?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const netsuiteOAuth2TokenRefresh: AppAction<typeof NetsuiteOAuth2TokenRefreshInput, typeof NetsuiteOAuth2TokenRefreshOutput, typeof netsuite.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { netsuiteOAuth2TokenRefresh };
|
|
35
21
|
//# sourceMappingURL=o-auth2-token-refresh.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-refresh.d.mts","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-refresh.d.mts","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-auth2-token-refresh.mjs","names":[],"sources":["../../src/actions/o-auth2-token-refresh.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"o-auth2-token-refresh.mjs","names":[],"sources":["../../src/actions/o-auth2-token-refresh.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 NetsuiteOAuth2TokenRefreshInput = z.object({\n client_id: z.string().describe(\"OAuth2 client ID. Required for public clients if Authorization header is omitted.\").optional(),\n client_secret: z.string().describe(\"OAuth2 client secret for confidential clients.\").optional(),\n refresh_token: z.string().describe(\"OAuth2 refresh token in JWT format. If omitted, uses the configured metadata refresh_token.\").optional(),\n}).describe(\"Request model for refreshing an OAuth2 access token using a refresh token.\");\nexport const NetsuiteOAuth2TokenRefreshOutput = z.object({\n error: z.string().describe(\"Error code/message returned by the authorization server.\").nullable().optional(),\n expires_in: z.number().int().describe(\"Lifetime in seconds of the access token; typically 3600.\").nullable().optional(),\n token_type: z.string().describe(\"OAuth2 token type; typically 'bearer'.\").nullable().optional(),\n access_token: z.string().describe(\"New OAuth2 access token (JWT format).\").nullable().optional(),\n refresh_token: z.string().describe(\"New refresh token returned for public clients; may be omitted for confidential clients.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an OAuth2 token refresh operation.\\nIncludes optional error field to capture authorization server errors.\");\n\nexport const netsuiteOAuth2TokenRefresh: AppAction<\n typeof NetsuiteOAuth2TokenRefreshInput,\n typeof NetsuiteOAuth2TokenRefreshOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_O_AUTH2_TOKEN_REFRESH\", {\n slug: \"netsuite-o-auth2-token-refresh\",\n name: \"OAuth2 Token Refresh\",\n description: \"Tool to refresh an OAuth2 access token. Use when the current access token has expired and you need a new one.\",\n input: NetsuiteOAuth2TokenRefreshInput,\n output: NetsuiteOAuth2TokenRefreshOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB6C,EAAE,OAAO;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC7H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,4EAiBH;CACP,QAjB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8HAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2-get-jwks-keys.cjs","names":["z","action"],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOauth2GetJwksKeysInput = z.object({}).describe(\"Request model for retrieving OAuth2 JWKS public keys. No parameters are required.\");\nconst NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({\n e: z.string().describe(\"RSA exponent (base64url-encoded)\").nullable().optional(),\n n: z.string().describe(\"RSA modulus (base64url-encoded)\").nullable().optional(),\n alg: z.string().describe(\"Key algorithm (e.g., 'RS256')\").nullable().optional(),\n kid: z.string().describe(\"Key ID\").nullable(),\n kty: z.string().describe(\"Key type (e.g., 'RSA')\").nullable(),\n use: z.string().describe(\"Public key use (e.g., 'sig')\").nullable().optional(),\n x5c: z.array(z.string()).describe(\"X.509 certificate chain\").nullable().optional(),\n x5t: z.string().describe(\"X.509 certificate SHA-1 thumbprint\").nullable().optional(),\n}).passthrough().describe(\"JSON Web Key model as returned in the JWKS response.\");\nexport const NetsuiteOauth2GetJwksKeysOutput = z.object({\n keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe(\"List of JSON Web Keys\"),\n}).passthrough().describe(\"Response model containing the JSON Web Key Set.\");\n\nexport const netsuiteOauth2GetJwksKeys = action(\"NETSUITE_OAUTH2_GET_JWKS_KEYS\", {\n slug: \"netsuite-oauth2-get-jwks-keys\",\n name: \"Get OAuth2 JWKS Keys\",\n description: \"Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.\",\n input: NetsuiteOauth2GetJwksKeysInput,\n output: NetsuiteOauth2GetJwksKeysOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oauth2-get-jwks-keys.cjs","names":["z","action"],"sources":["../../src/actions/oauth2-get-jwks-keys.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 NetsuiteOauth2GetJwksKeysInput = z.object({}).describe(\"Request model for retrieving OAuth2 JWKS public keys. No parameters are required.\");\nconst NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({\n e: z.string().describe(\"RSA exponent (base64url-encoded)\").nullable().optional(),\n n: z.string().describe(\"RSA modulus (base64url-encoded)\").nullable().optional(),\n alg: z.string().describe(\"Key algorithm (e.g., 'RS256')\").nullable().optional(),\n kid: z.string().describe(\"Key ID\").nullable(),\n kty: z.string().describe(\"Key type (e.g., 'RSA')\").nullable(),\n use: z.string().describe(\"Public key use (e.g., 'sig')\").nullable().optional(),\n x5c: z.array(z.string()).describe(\"X.509 certificate chain\").nullable().optional(),\n x5t: z.string().describe(\"X.509 certificate SHA-1 thumbprint\").nullable().optional(),\n}).passthrough().describe(\"JSON Web Key model as returned in the JWKS response.\");\nexport const NetsuiteOauth2GetJwksKeysOutput = z.object({\n keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe(\"List of JSON Web Keys\"),\n}).passthrough().describe(\"Response model containing the JSON Web Key Set.\");\n\nexport const netsuiteOauth2GetJwksKeys: AppAction<\n typeof NetsuiteOauth2GetJwksKeysInput,\n typeof NetsuiteOauth2GetJwksKeysOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_OAUTH2_GET_JWKS_KEYS\", {\n slug: \"netsuite-oauth2-get-jwks-keys\",\n name: \"Get OAuth2 JWKS Keys\",\n description: \"Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.\",\n input: NetsuiteOauth2GetJwksKeysInput,\n output: NetsuiteOauth2GetJwksKeysOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACvJ,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uBAAuB,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/oauth2-get-jwks-keys.d.ts
|
|
@@ -14,19 +16,7 @@ declare const NetsuiteOauth2GetJwksKeysOutput: z.ZodObject<{
|
|
|
14
16
|
x5t: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const netsuiteOauth2GetJwksKeys:
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
accessToken: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
accessToken: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const netsuiteOauth2GetJwksKeys: AppAction<typeof NetsuiteOauth2GetJwksKeysInput, typeof NetsuiteOauth2GetJwksKeysOutput, typeof netsuite.credential>;
|
|
30
20
|
//#endregion
|
|
31
21
|
export { netsuiteOauth2GetJwksKeys };
|
|
32
22
|
//# sourceMappingURL=oauth2-get-jwks-keys.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2-get-jwks-keys.d.cts","names":[],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oauth2-get-jwks-keys.d.cts","names":[],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/oauth2-get-jwks-keys.d.ts
|
|
@@ -14,19 +16,7 @@ declare const NetsuiteOauth2GetJwksKeysOutput: z.ZodObject<{
|
|
|
14
16
|
x5t: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const netsuiteOauth2GetJwksKeys:
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
accessToken: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
accessToken: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const netsuiteOauth2GetJwksKeys: AppAction<typeof NetsuiteOauth2GetJwksKeysInput, typeof NetsuiteOauth2GetJwksKeysOutput, typeof netsuite.credential>;
|
|
30
20
|
//#endregion
|
|
31
21
|
export { netsuiteOauth2GetJwksKeys };
|
|
32
22
|
//# sourceMappingURL=oauth2-get-jwks-keys.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2-get-jwks-keys.d.mts","names":[],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oauth2-get-jwks-keys.d.mts","names":[],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2-get-jwks-keys.mjs","names":[],"sources":["../../src/actions/oauth2-get-jwks-keys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteOauth2GetJwksKeysInput = z.object({}).describe(\"Request model for retrieving OAuth2 JWKS public keys. No parameters are required.\");\nconst NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({\n e: z.string().describe(\"RSA exponent (base64url-encoded)\").nullable().optional(),\n n: z.string().describe(\"RSA modulus (base64url-encoded)\").nullable().optional(),\n alg: z.string().describe(\"Key algorithm (e.g., 'RS256')\").nullable().optional(),\n kid: z.string().describe(\"Key ID\").nullable(),\n kty: z.string().describe(\"Key type (e.g., 'RSA')\").nullable(),\n use: z.string().describe(\"Public key use (e.g., 'sig')\").nullable().optional(),\n x5c: z.array(z.string()).describe(\"X.509 certificate chain\").nullable().optional(),\n x5t: z.string().describe(\"X.509 certificate SHA-1 thumbprint\").nullable().optional(),\n}).passthrough().describe(\"JSON Web Key model as returned in the JWKS response.\");\nexport const NetsuiteOauth2GetJwksKeysOutput = z.object({\n keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe(\"List of JSON Web Keys\"),\n}).passthrough().describe(\"Response model containing the JSON Web Key Set.\");\n\nexport const netsuiteOauth2GetJwksKeys = action(\"NETSUITE_OAUTH2_GET_JWKS_KEYS\", {\n slug: \"netsuite-oauth2-get-jwks-keys\",\n name: \"Get OAuth2 JWKS Keys\",\n description: \"Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.\",\n input: NetsuiteOauth2GetJwksKeysInput,\n output: NetsuiteOauth2GetJwksKeysOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oauth2-get-jwks-keys.mjs","names":[],"sources":["../../src/actions/oauth2-get-jwks-keys.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 NetsuiteOauth2GetJwksKeysInput = z.object({}).describe(\"Request model for retrieving OAuth2 JWKS public keys. No parameters are required.\");\nconst NetsuiteOauth2GetJwksKeys_JwkKeySchema = z.object({\n e: z.string().describe(\"RSA exponent (base64url-encoded)\").nullable().optional(),\n n: z.string().describe(\"RSA modulus (base64url-encoded)\").nullable().optional(),\n alg: z.string().describe(\"Key algorithm (e.g., 'RS256')\").nullable().optional(),\n kid: z.string().describe(\"Key ID\").nullable(),\n kty: z.string().describe(\"Key type (e.g., 'RSA')\").nullable(),\n use: z.string().describe(\"Public key use (e.g., 'sig')\").nullable().optional(),\n x5c: z.array(z.string()).describe(\"X.509 certificate chain\").nullable().optional(),\n x5t: z.string().describe(\"X.509 certificate SHA-1 thumbprint\").nullable().optional(),\n}).passthrough().describe(\"JSON Web Key model as returned in the JWKS response.\");\nexport const NetsuiteOauth2GetJwksKeysOutput = z.object({\n keys: z.array(NetsuiteOauth2GetJwksKeys_JwkKeySchema).describe(\"List of JSON Web Keys\"),\n}).passthrough().describe(\"Response model containing the JSON Web Key Set.\");\n\nexport const netsuiteOauth2GetJwksKeys: AppAction<\n typeof NetsuiteOauth2GetJwksKeysInput,\n typeof NetsuiteOauth2GetJwksKeysOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_OAUTH2_GET_JWKS_KEYS\", {\n slug: \"netsuite-oauth2-get-jwks-keys\",\n name: \"Get OAuth2 JWKS Keys\",\n description: \"Tool to retrieve OAuth2 JWKS public keys. Use when validating token signatures.\",\n input: NetsuiteOauth2GetJwksKeysInput,\n output: NetsuiteOauth2GetJwksKeysOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACvJ,MAAM,yCAAyC,EAAE,OAAO;CACtD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uBAAuB,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-suiteql-query.cjs","names":["z","action"],"sources":["../../src/actions/run-suiteql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteRunSuiteqlQueryInput = z.object({\n q: z.string().describe(\"SuiteQL SELECT statement to execute.\"),\n limit: z.number().int().describe(\"Number of rows per page.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of first row; must be a multiple of `limit` if both provided.\").optional(),\n}).describe(\"Parameters for executing a SuiteQL query.\");\nconst NetsuiteRunSuiteqlQuery_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for this pagination link.\").nullable(),\n}).passthrough();\nconst NetsuiteRunSuiteqlQuery_RowSchema = z.object({\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Links for this row.\"),\n}).passthrough().describe(\"Dynamic row returned by SuiteQL, includes links and extra columns.\");\nexport const NetsuiteRunSuiteqlQueryOutput = z.object({\n count: z.number().int().describe(\"Number of rows in this page.\").nullable(),\n items: z.array(NetsuiteRunSuiteqlQuery_RowSchema).describe(\"Rows returned by the query.\"),\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Pagination/navigation links.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of rows matching the query.\").nullable(),\n}).passthrough().describe(\"Response for a SuiteQL query execution.\");\n\nexport const netsuiteRunSuiteqlQuery = action(\"NETSUITE_RUN_SUITEQL_QUERY\", {\n slug: \"netsuite-run-suiteql-query\",\n name: \"Run SuiteQL Query\",\n description: \"Tool to execute a SuiteQL query. Use when you need ad-hoc SQL queries against NetSuite data with server-side paging.\",\n input: NetsuiteRunSuiteqlQueryInput,\n output: NetsuiteRunSuiteqlQueryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"run-suiteql-query.cjs","names":["z","action"],"sources":["../../src/actions/run-suiteql-query.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 NetsuiteRunSuiteqlQueryInput = z.object({\n q: z.string().describe(\"SuiteQL SELECT statement to execute.\"),\n limit: z.number().int().describe(\"Number of rows per page.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of first row; must be a multiple of `limit` if both provided.\").optional(),\n}).describe(\"Parameters for executing a SuiteQL query.\");\nconst NetsuiteRunSuiteqlQuery_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for this pagination link.\").nullable(),\n}).passthrough();\nconst NetsuiteRunSuiteqlQuery_RowSchema = z.object({\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Links for this row.\"),\n}).passthrough().describe(\"Dynamic row returned by SuiteQL, includes links and extra columns.\");\nexport const NetsuiteRunSuiteqlQueryOutput = z.object({\n count: z.number().int().describe(\"Number of rows in this page.\").nullable(),\n items: z.array(NetsuiteRunSuiteqlQuery_RowSchema).describe(\"Rows returned by the query.\"),\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Pagination/navigation links.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of rows matching the query.\").nullable(),\n}).passthrough().describe(\"Response for a SuiteQL query execution.\");\n\nexport const netsuiteRunSuiteqlQuery: AppAction<\n typeof NetsuiteRunSuiteqlQueryInput,\n typeof NetsuiteRunSuiteqlQueryOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_RUN_SUITEQL_QUERY\", {\n slug: \"netsuite-run-suiteql-query\",\n name: \"Run SuiteQL Query\",\n description: \"Tool to execute a SuiteQL query. Use when you need ad-hoc SQL queries against NetSuite data with server-side paging.\",\n input: NetsuiteRunSuiteqlQueryInput,\n output: NetsuiteRunSuiteqlQueryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oCAAoCA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qBAAqB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6BAA6B;CACxF,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/run-suiteql-query.d.ts
|
|
@@ -22,23 +24,7 @@ declare const NetsuiteRunSuiteqlQueryOutput: z.ZodObject<{
|
|
|
22
24
|
hasMore: z.ZodNullable<z.ZodBoolean>;
|
|
23
25
|
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const netsuiteRunSuiteqlQuery:
|
|
26
|
-
q: string;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
offset?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const netsuiteRunSuiteqlQuery: AppAction<typeof NetsuiteRunSuiteqlQueryInput, typeof NetsuiteRunSuiteqlQueryOutput, typeof netsuite.credential>;
|
|
42
28
|
//#endregion
|
|
43
29
|
export { netsuiteRunSuiteqlQuery };
|
|
44
30
|
//# sourceMappingURL=run-suiteql-query.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-suiteql-query.d.cts","names":[],"sources":["../../src/actions/run-suiteql-query.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"run-suiteql-query.d.cts","names":[],"sources":["../../src/actions/run-suiteql-query.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/run-suiteql-query.d.ts
|
|
@@ -22,23 +24,7 @@ declare const NetsuiteRunSuiteqlQueryOutput: z.ZodObject<{
|
|
|
22
24
|
hasMore: z.ZodNullable<z.ZodBoolean>;
|
|
23
25
|
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const netsuiteRunSuiteqlQuery:
|
|
26
|
-
q: string;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
offset?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"netsuite", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const netsuiteRunSuiteqlQuery: AppAction<typeof NetsuiteRunSuiteqlQueryInput, typeof NetsuiteRunSuiteqlQueryOutput, typeof netsuite.credential>;
|
|
42
28
|
//#endregion
|
|
43
29
|
export { netsuiteRunSuiteqlQuery };
|
|
44
30
|
//# sourceMappingURL=run-suiteql-query.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-suiteql-query.d.mts","names":[],"sources":["../../src/actions/run-suiteql-query.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"run-suiteql-query.d.mts","names":[],"sources":["../../src/actions/run-suiteql-query.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-suiteql-query.mjs","names":[],"sources":["../../src/actions/run-suiteql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteRunSuiteqlQueryInput = z.object({\n q: z.string().describe(\"SuiteQL SELECT statement to execute.\"),\n limit: z.number().int().describe(\"Number of rows per page.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of first row; must be a multiple of `limit` if both provided.\").optional(),\n}).describe(\"Parameters for executing a SuiteQL query.\");\nconst NetsuiteRunSuiteqlQuery_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for this pagination link.\").nullable(),\n}).passthrough();\nconst NetsuiteRunSuiteqlQuery_RowSchema = z.object({\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Links for this row.\"),\n}).passthrough().describe(\"Dynamic row returned by SuiteQL, includes links and extra columns.\");\nexport const NetsuiteRunSuiteqlQueryOutput = z.object({\n count: z.number().int().describe(\"Number of rows in this page.\").nullable(),\n items: z.array(NetsuiteRunSuiteqlQuery_RowSchema).describe(\"Rows returned by the query.\"),\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Pagination/navigation links.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of rows matching the query.\").nullable(),\n}).passthrough().describe(\"Response for a SuiteQL query execution.\");\n\nexport const netsuiteRunSuiteqlQuery = action(\"NETSUITE_RUN_SUITEQL_QUERY\", {\n slug: \"netsuite-run-suiteql-query\",\n name: \"Run SuiteQL Query\",\n description: \"Tool to execute a SuiteQL query. Use when you need ad-hoc SQL queries against NetSuite data with server-side paging.\",\n input: NetsuiteRunSuiteqlQueryInput,\n output: NetsuiteRunSuiteqlQueryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"run-suiteql-query.mjs","names":[],"sources":["../../src/actions/run-suiteql-query.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 NetsuiteRunSuiteqlQueryInput = z.object({\n q: z.string().describe(\"SuiteQL SELECT statement to execute.\"),\n limit: z.number().int().describe(\"Number of rows per page.\").optional(),\n offset: z.number().int().describe(\"Zero-based index of first row; must be a multiple of `limit` if both provided.\").optional(),\n}).describe(\"Parameters for executing a SuiteQL query.\");\nconst NetsuiteRunSuiteqlQuery_LinkSchema = z.object({\n rel: z.string().describe(\"Relation type of this link (e.g., 'next', 'prev').\").nullable(),\n href: z.string().describe(\"URL for this pagination link.\").nullable(),\n}).passthrough();\nconst NetsuiteRunSuiteqlQuery_RowSchema = z.object({\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Links for this row.\"),\n}).passthrough().describe(\"Dynamic row returned by SuiteQL, includes links and extra columns.\");\nexport const NetsuiteRunSuiteqlQueryOutput = z.object({\n count: z.number().int().describe(\"Number of rows in this page.\").nullable(),\n items: z.array(NetsuiteRunSuiteqlQuery_RowSchema).describe(\"Rows returned by the query.\"),\n links: z.array(NetsuiteRunSuiteqlQuery_LinkSchema).describe(\"Pagination/navigation links.\"),\n offset: z.number().int().describe(\"Offset used for this page.\").nullable(),\n hasMore: z.boolean().describe(\"Indicates if additional pages are available.\").nullable(),\n totalResults: z.number().int().describe(\"Total number of rows matching the query.\").nullable(),\n}).passthrough().describe(\"Response for a SuiteQL query execution.\");\n\nexport const netsuiteRunSuiteqlQuery: AppAction<\n typeof NetsuiteRunSuiteqlQueryInput,\n typeof NetsuiteRunSuiteqlQueryOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_RUN_SUITEQL_QUERY\", {\n slug: \"netsuite-run-suiteql-query\",\n name: \"Run SuiteQL Query\",\n description: \"Tool to execute a SuiteQL query. Use when you need ad-hoc SQL queries against NetSuite data with server-side paging.\",\n input: NetsuiteRunSuiteqlQueryInput,\n output: NetsuiteRunSuiteqlQueryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oCAAoC,EAAE,OAAO,EACjD,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qBAAqB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAU9F,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6BAA6B;EACxF,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-record.cjs","names":["z","action"],"sources":["../../src/actions/transform-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NetsuiteTransformRecordInput = z.object({\n Prefer: z.string().describe(\"Use 'respond-async' to run the transform asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided in record_body. The sublists must be present in record_body or the request will fail. Common sublists: 'item', 'apply'. Example: 'item' or 'apply,item'.\").optional(),\n record_id: z.number().int().describe(\"Internal ID of the source record instance to transform. Must be a valid, existing record in NetSuite.\"),\n record_body: z.record(z.string(), z.unknown()).describe(\"Optional JSON object with field values to set on the transformed record\").optional(),\n source_record_type: z.string().describe(\"Source record type to transform. Common types: salesOrder, purchaseOrder, invoice, customer. Use camelCase format.\"),\n target_record_type: z.string().describe(\"Target record type to create from source. Common transformations: salesOrder→invoice, salesOrder→itemFulfillment, purchaseOrder→itemReceipt, purchaseOrder→vendorBill. Use camelCase format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.string().describe(\"Controls strictness for property name validation (ignore|warning|error).\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.string().describe(\"Controls strictness for property value validation (ignore|warning|error).\").optional(),\n});\nexport const NetsuiteTransformRecordOutput = z.object({\n location: z.string().describe(\"Location header URL for async job status (only for async requests)\").nullable().optional(),\n preference_applied: z.string().describe(\"Preference-Applied header value (only for async requests)\").nullable().optional(),\n}).passthrough().describe(\"Response for TransformRecord action.\\nReturns empty for synchronous transforms (204 No Content).\\nReturns location and preference_applied for async transforms (202 Accepted).\");\n\nexport const netsuiteTransformRecord = action(\"NETSUITE_TRANSFORM_RECORD\", {\n slug: \"netsuite-transform-record\",\n name: \"Transform Record\",\n description: \"Transform an existing NetSuite record into another record type (e.g., sales order to invoice, purchase order to item receipt). Creates a new target record populated with data from the source record. Supports common business workflows like: - Converting sales orders to invoices or item fulfillments - Converting purchase orders to item receipts or vendor bills - Converting invoices to credit memos Optionally override fields on the transformed record via record_body parameter.\",\n input: NetsuiteTransformRecordInput,\n output: NetsuiteTransformRecordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transform-record.cjs","names":["z","action"],"sources":["../../src/actions/transform-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 NetsuiteTransformRecordInput = z.object({\n Prefer: z.string().describe(\"Use 'respond-async' to run the transform asynchronously.\").optional(),\n replace: z.string().describe(\"Comma-separated sublist names to fully replace with those provided in record_body. The sublists must be present in record_body or the request will fail. Common sublists: 'item', 'apply'. Example: 'item' or 'apply,item'.\").optional(),\n record_id: z.number().int().describe(\"Internal ID of the source record instance to transform. Must be a valid, existing record in NetSuite.\"),\n record_body: z.record(z.string(), z.unknown()).describe(\"Optional JSON object with field values to set on the transformed record\").optional(),\n source_record_type: z.string().describe(\"Source record type to transform. Common types: salesOrder, purchaseOrder, invoice, customer. Use camelCase format.\"),\n target_record_type: z.string().describe(\"Target record type to create from source. Common transformations: salesOrder→invoice, salesOrder→itemFulfillment, purchaseOrder→itemReceipt, purchaseOrder→vendorBill. Use camelCase format.\"),\n \"X-NetSuite-Idempotency-Key\": z.string().describe(\"UUID to ensure idempotent async requests; ignored for synchronous calls.\").optional(),\n \"X-NetSuite-PropertyNameValidation\": z.string().describe(\"Controls strictness for property name validation (ignore|warning|error).\").optional(),\n \"X-NetSuite-PropertyValueValidation\": z.string().describe(\"Controls strictness for property value validation (ignore|warning|error).\").optional(),\n});\nexport const NetsuiteTransformRecordOutput = z.object({\n location: z.string().describe(\"Location header URL for async job status (only for async requests)\").nullable().optional(),\n preference_applied: z.string().describe(\"Preference-Applied header value (only for async requests)\").nullable().optional(),\n}).passthrough().describe(\"Response for TransformRecord action.\\nReturns empty for synchronous transforms (204 No Content).\\nReturns location and preference_applied for async transforms (202 Accepted).\");\n\nexport const netsuiteTransformRecord: AppAction<\n typeof NetsuiteTransformRecordInput,\n typeof NetsuiteTransformRecordOutput,\n typeof netsuite.credential\n> = action(\"NETSUITE_TRANSFORM_RECORD\", {\n slug: \"netsuite-transform-record\",\n name: \"Transform Record\",\n description: \"Transform an existing NetSuite record into another record type (e.g., sales order to invoice, purchase order to item receipt). Creates a new target record populated with data from the source record. Supports common business workflows like: - Converting sales orders to invoices or item fulfillments - Converting purchase orders to item receipts or vendor bills - Converting invoices to credit memos Optionally override fields on the transformed record via record_body parameter.\",\n input: NetsuiteTransformRecordInput,\n output: NetsuiteTransformRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;CACrQ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG;CAC5I,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAC5J,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L;CACtO,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvI,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9I,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAClJ,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gLAAgL;AAE1M,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|