@maesn/typescript-sdk 0.5.1 → 0.6.0
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/FUNCTIONS.md +2 -6
- package/README.md +12 -95
- package/esm/funcs/accounting-create-account.d.ts.map +1 -1
- package/esm/funcs/accounting-create-account.js +5 -7
- package/esm/funcs/accounting-create-account.js.map +1 -1
- package/esm/funcs/accounting-create-bank-account.d.ts.map +1 -1
- package/esm/funcs/accounting-create-bank-account.js +5 -7
- package/esm/funcs/accounting-create-bank-account.js.map +1 -1
- package/esm/funcs/accounting-create-bill-line-item.d.ts.map +1 -1
- package/esm/funcs/accounting-create-bill-line-item.js +4 -6
- package/esm/funcs/accounting-create-bill-line-item.js.map +1 -1
- package/esm/funcs/accounting-create-bill.d.ts.map +1 -1
- package/esm/funcs/accounting-create-bill.js +5 -7
- package/esm/funcs/accounting-create-bill.js.map +1 -1
- package/esm/funcs/accounting-create-booking-proposal.d.ts.map +1 -1
- package/esm/funcs/accounting-create-booking-proposal.js +5 -7
- package/esm/funcs/accounting-create-booking-proposal.js.map +1 -1
- package/esm/funcs/accounting-create-contact.d.ts.map +1 -1
- package/esm/funcs/accounting-create-contact.js +5 -7
- package/esm/funcs/accounting-create-contact.js.map +1 -1
- package/esm/funcs/accounting-create-contacts-v1.d.ts.map +1 -1
- package/esm/funcs/accounting-create-contacts-v1.js +5 -7
- package/esm/funcs/accounting-create-contacts-v1.js.map +1 -1
- package/esm/funcs/accounting-create-contacts.d.ts.map +1 -1
- package/esm/funcs/accounting-create-contacts.js +5 -7
- package/esm/funcs/accounting-create-contacts.js.map +1 -1
- package/esm/funcs/accounting-create-customer.d.ts.map +1 -1
- package/esm/funcs/accounting-create-customer.js +5 -7
- package/esm/funcs/accounting-create-customer.js.map +1 -1
- package/esm/funcs/accounting-create-event-subscriptions.d.ts.map +1 -1
- package/esm/funcs/accounting-create-event-subscriptions.js +5 -7
- package/esm/funcs/accounting-create-event-subscriptions.js.map +1 -1
- package/esm/funcs/accounting-create-expense-async.d.ts +11 -0
- package/esm/funcs/accounting-create-expense-async.d.ts.map +1 -0
- package/esm/funcs/accounting-create-expense-async.js +101 -0
- package/esm/funcs/accounting-create-expense-async.js.map +1 -0
- package/esm/funcs/accounting-create-expense.d.ts.map +1 -1
- package/esm/funcs/accounting-create-expense.js +5 -7
- package/esm/funcs/accounting-create-expense.js.map +1 -1
- package/esm/funcs/accounting-create-invoice.d.ts.map +1 -1
- package/esm/funcs/accounting-create-invoice.js +5 -7
- package/esm/funcs/accounting-create-invoice.js.map +1 -1
- package/esm/funcs/accounting-create-item.d.ts.map +1 -1
- package/esm/funcs/accounting-create-item.js +5 -7
- package/esm/funcs/accounting-create-item.js.map +1 -1
- package/esm/funcs/accounting-create-journal-entries.d.ts.map +1 -1
- package/esm/funcs/accounting-create-journal-entries.js +5 -7
- package/esm/funcs/accounting-create-journal-entries.js.map +1 -1
- package/esm/funcs/accounting-create-journal-entry-attachments.d.ts.map +1 -1
- package/esm/funcs/accounting-create-journal-entry-attachments.js +4 -6
- package/esm/funcs/accounting-create-journal-entry-attachments.js.map +1 -1
- package/esm/funcs/accounting-create-journal-entry.d.ts.map +1 -1
- package/esm/funcs/accounting-create-journal-entry.js +5 -7
- package/esm/funcs/accounting-create-journal-entry.js.map +1 -1
- package/esm/funcs/accounting-create-line-item.d.ts.map +1 -1
- package/esm/funcs/accounting-create-line-item.js +4 -6
- package/esm/funcs/accounting-create-line-item.js.map +1 -1
- package/esm/funcs/accounting-create-offer.d.ts.map +1 -1
- package/esm/funcs/accounting-create-offer.js +5 -7
- package/esm/funcs/accounting-create-offer.js.map +1 -1
- package/esm/funcs/accounting-create-pass-through-request.d.ts.map +1 -1
- package/esm/funcs/accounting-create-pass-through-request.js +5 -7
- package/esm/funcs/accounting-create-pass-through-request.js.map +1 -1
- package/esm/funcs/accounting-create-payment-term.d.ts.map +1 -1
- package/esm/funcs/accounting-create-payment-term.js +5 -7
- package/esm/funcs/accounting-create-payment-term.js.map +1 -1
- package/esm/funcs/accounting-create-payment.d.ts.map +1 -1
- package/esm/funcs/accounting-create-payment.js +5 -7
- package/esm/funcs/accounting-create-payment.js.map +1 -1
- package/esm/funcs/accounting-create-project.d.ts.map +1 -1
- package/esm/funcs/accounting-create-project.js +5 -7
- package/esm/funcs/accounting-create-project.js.map +1 -1
- package/esm/funcs/accounting-create-sales-order.d.ts.map +1 -1
- package/esm/funcs/accounting-create-sales-order.js +5 -7
- package/esm/funcs/accounting-create-sales-order.js.map +1 -1
- package/esm/funcs/accounting-create-supplier.d.ts.map +1 -1
- package/esm/funcs/accounting-create-supplier.js +5 -7
- package/esm/funcs/accounting-create-supplier.js.map +1 -1
- package/esm/funcs/accounting-create-transaction.d.ts.map +1 -1
- package/esm/funcs/accounting-create-transaction.js +5 -7
- package/esm/funcs/accounting-create-transaction.js.map +1 -1
- package/esm/funcs/accounting-create-vendor-credit.d.ts.map +1 -1
- package/esm/funcs/accounting-create-vendor-credit.js +5 -7
- package/esm/funcs/accounting-create-vendor-credit.js.map +1 -1
- package/esm/funcs/accounting-delete-bill.d.ts.map +1 -1
- package/esm/funcs/accounting-delete-bill.js +4 -6
- package/esm/funcs/accounting-delete-bill.js.map +1 -1
- package/esm/funcs/accounting-delete-event-subscriptions.d.ts.map +1 -1
- package/esm/funcs/accounting-delete-event-subscriptions.js +4 -6
- package/esm/funcs/accounting-delete-event-subscriptions.js.map +1 -1
- package/esm/funcs/accounting-delete-payment.d.ts.map +1 -1
- package/esm/funcs/accounting-delete-payment.js +4 -6
- package/esm/funcs/accounting-delete-payment.js.map +1 -1
- package/esm/funcs/accounting-delete-vendor-credit.d.ts.map +1 -1
- package/esm/funcs/accounting-delete-vendor-credit.js +4 -6
- package/esm/funcs/accounting-delete-vendor-credit.js.map +1 -1
- package/esm/funcs/accounting-get-account.d.ts.map +1 -1
- package/esm/funcs/accounting-get-account.js +4 -6
- package/esm/funcs/accounting-get-account.js.map +1 -1
- package/esm/funcs/accounting-get-accounts.d.ts.map +1 -1
- package/esm/funcs/accounting-get-accounts.js +5 -7
- package/esm/funcs/accounting-get-accounts.js.map +1 -1
- package/esm/funcs/accounting-get-async-task-info.d.ts.map +1 -1
- package/esm/funcs/accounting-get-async-task-info.js +4 -6
- package/esm/funcs/accounting-get-async-task-info.js.map +1 -1
- package/esm/funcs/accounting-get-bank-account.d.ts.map +1 -1
- package/esm/funcs/accounting-get-bank-account.js +4 -6
- package/esm/funcs/accounting-get-bank-account.js.map +1 -1
- package/esm/funcs/accounting-get-bank-accounts.d.ts.map +1 -1
- package/esm/funcs/accounting-get-bank-accounts.js +5 -7
- package/esm/funcs/accounting-get-bank-accounts.js.map +1 -1
- package/esm/funcs/accounting-get-bill-document.d.ts.map +1 -1
- package/esm/funcs/accounting-get-bill-document.js +4 -6
- package/esm/funcs/accounting-get-bill-document.js.map +1 -1
- package/esm/funcs/accounting-get-bill-line-items.d.ts.map +1 -1
- package/esm/funcs/accounting-get-bill-line-items.js +4 -6
- package/esm/funcs/accounting-get-bill-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-bill.d.ts.map +1 -1
- package/esm/funcs/accounting-get-bill.js +4 -6
- package/esm/funcs/accounting-get-bill.js.map +1 -1
- package/esm/funcs/accounting-get-bills.d.ts.map +1 -1
- package/esm/funcs/accounting-get-bills.js +5 -7
- package/esm/funcs/accounting-get-bills.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposal-document.d.ts.map +1 -1
- package/esm/funcs/accounting-get-booking-proposal-document.js +4 -6
- package/esm/funcs/accounting-get-booking-proposal-document.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposal.d.ts.map +1 -1
- package/esm/funcs/accounting-get-booking-proposal.js +4 -6
- package/esm/funcs/accounting-get-booking-proposal.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposals.d.ts.map +1 -1
- package/esm/funcs/accounting-get-booking-proposals.js +5 -7
- package/esm/funcs/accounting-get-booking-proposals.js.map +1 -1
- package/esm/funcs/accounting-get-contact.d.ts.map +1 -1
- package/esm/funcs/accounting-get-contact.js +4 -6
- package/esm/funcs/accounting-get-contact.js.map +1 -1
- package/esm/funcs/accounting-get-contacts.d.ts.map +1 -1
- package/esm/funcs/accounting-get-contacts.js +5 -7
- package/esm/funcs/accounting-get-contacts.js.map +1 -1
- package/esm/funcs/accounting-get-credit-note.d.ts.map +1 -1
- package/esm/funcs/accounting-get-credit-note.js +4 -6
- package/esm/funcs/accounting-get-credit-note.js.map +1 -1
- package/esm/funcs/accounting-get-credit-notes.d.ts.map +1 -1
- package/esm/funcs/accounting-get-credit-notes.js +5 -7
- package/esm/funcs/accounting-get-credit-notes.js.map +1 -1
- package/esm/funcs/accounting-get-customer.d.ts.map +1 -1
- package/esm/funcs/accounting-get-customer.js +4 -6
- package/esm/funcs/accounting-get-customer.js.map +1 -1
- package/esm/funcs/accounting-get-customers.d.ts.map +1 -1
- package/esm/funcs/accounting-get-customers.js +5 -7
- package/esm/funcs/accounting-get-customers.js.map +1 -1
- package/esm/funcs/accounting-get-dimensions.d.ts.map +1 -1
- package/esm/funcs/accounting-get-dimensions.js +5 -7
- package/esm/funcs/accounting-get-dimensions.js.map +1 -1
- package/esm/funcs/accounting-get-document-extensions.d.ts.map +1 -1
- package/esm/funcs/accounting-get-document-extensions.js +5 -7
- package/esm/funcs/accounting-get-document-extensions.js.map +1 -1
- package/esm/funcs/accounting-get-document-types.d.ts.map +1 -1
- package/esm/funcs/accounting-get-document-types.js +5 -7
- package/esm/funcs/accounting-get-document-types.js.map +1 -1
- package/esm/funcs/accounting-get-expense.d.ts.map +1 -1
- package/esm/funcs/accounting-get-expense.js +4 -6
- package/esm/funcs/accounting-get-expense.js.map +1 -1
- package/esm/funcs/accounting-get-expenses.d.ts.map +1 -1
- package/esm/funcs/accounting-get-expenses.js +5 -7
- package/esm/funcs/accounting-get-expenses.js.map +1 -1
- package/esm/funcs/accounting-get-fiscal-year.d.ts.map +1 -1
- package/esm/funcs/accounting-get-fiscal-year.js +4 -6
- package/esm/funcs/accounting-get-fiscal-year.js.map +1 -1
- package/esm/funcs/accounting-get-fiscal-years.d.ts.map +1 -1
- package/esm/funcs/accounting-get-fiscal-years.js +5 -7
- package/esm/funcs/accounting-get-fiscal-years.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt-line-item.d.ts.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt-line-item.js +4 -6
- package/esm/funcs/accounting-get-goods-receipt-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt-line-items.d.ts.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt-line-items.js +4 -6
- package/esm/funcs/accounting-get-goods-receipt-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt.d.ts.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt.js +4 -6
- package/esm/funcs/accounting-get-goods-receipt.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipts.d.ts.map +1 -1
- package/esm/funcs/accounting-get-goods-receipts.js +5 -7
- package/esm/funcs/accounting-get-goods-receipts.js.map +1 -1
- package/esm/funcs/accounting-get-invoice-document.d.ts.map +1 -1
- package/esm/funcs/accounting-get-invoice-document.js +4 -6
- package/esm/funcs/accounting-get-invoice-document.js.map +1 -1
- package/esm/funcs/accounting-get-invoice.d.ts.map +1 -1
- package/esm/funcs/accounting-get-invoice.js +4 -6
- package/esm/funcs/accounting-get-invoice.js.map +1 -1
- package/esm/funcs/accounting-get-invoices.d.ts.map +1 -1
- package/esm/funcs/accounting-get-invoices.js +5 -7
- package/esm/funcs/accounting-get-invoices.js.map +1 -1
- package/esm/funcs/accounting-get-item.d.ts.map +1 -1
- package/esm/funcs/accounting-get-item.js +4 -6
- package/esm/funcs/accounting-get-item.js.map +1 -1
- package/esm/funcs/accounting-get-items.d.ts.map +1 -1
- package/esm/funcs/accounting-get-items.js +5 -7
- package/esm/funcs/accounting-get-items.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entries.d.ts.map +1 -1
- package/esm/funcs/accounting-get-journal-entries.js +5 -7
- package/esm/funcs/accounting-get-journal-entries.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.d.ts.map +1 -1
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js +4 -6
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry-attachments.d.ts.map +1 -1
- package/esm/funcs/accounting-get-journal-entry-attachments.js +4 -6
- package/esm/funcs/accounting-get-journal-entry-attachments.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry.d.ts.map +1 -1
- package/esm/funcs/accounting-get-journal-entry.js +4 -6
- package/esm/funcs/accounting-get-journal-entry.js.map +1 -1
- package/esm/funcs/accounting-get-journals.d.ts.map +1 -1
- package/esm/funcs/accounting-get-journals.js +5 -7
- package/esm/funcs/accounting-get-journals.js.map +1 -1
- package/esm/funcs/accounting-get-line-item.d.ts.map +1 -1
- package/esm/funcs/accounting-get-line-item.js +4 -6
- package/esm/funcs/accounting-get-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-line-items.d.ts.map +1 -1
- package/esm/funcs/accounting-get-line-items.js +4 -6
- package/esm/funcs/accounting-get-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-offer-document.d.ts.map +1 -1
- package/esm/funcs/accounting-get-offer-document.js +4 -6
- package/esm/funcs/accounting-get-offer-document.js.map +1 -1
- package/esm/funcs/accounting-get-offer-line-item.d.ts.map +1 -1
- package/esm/funcs/accounting-get-offer-line-item.js +4 -6
- package/esm/funcs/accounting-get-offer-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-offer-line-items.d.ts.map +1 -1
- package/esm/funcs/accounting-get-offer-line-items.js +4 -6
- package/esm/funcs/accounting-get-offer-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-offer.d.ts.map +1 -1
- package/esm/funcs/accounting-get-offer.js +4 -6
- package/esm/funcs/accounting-get-offer.js.map +1 -1
- package/esm/funcs/accounting-get-offers.d.ts.map +1 -1
- package/esm/funcs/accounting-get-offers.js +5 -7
- package/esm/funcs/accounting-get-offers.js.map +1 -1
- package/esm/funcs/accounting-get-open-items.d.ts.map +1 -1
- package/esm/funcs/accounting-get-open-items.js +5 -7
- package/esm/funcs/accounting-get-open-items.js.map +1 -1
- package/esm/funcs/accounting-get-payment-term.d.ts.map +1 -1
- package/esm/funcs/accounting-get-payment-term.js +4 -6
- package/esm/funcs/accounting-get-payment-term.js.map +1 -1
- package/esm/funcs/accounting-get-payment-terms.d.ts.map +1 -1
- package/esm/funcs/accounting-get-payment-terms.js +5 -7
- package/esm/funcs/accounting-get-payment-terms.js.map +1 -1
- package/esm/funcs/accounting-get-payment.d.ts.map +1 -1
- package/esm/funcs/accounting-get-payment.js +4 -6
- package/esm/funcs/accounting-get-payment.js.map +1 -1
- package/esm/funcs/accounting-get-payments.d.ts.map +1 -1
- package/esm/funcs/accounting-get-payments.js +5 -7
- package/esm/funcs/accounting-get-payments.js.map +1 -1
- package/esm/funcs/accounting-get-profile.d.ts +2 -1
- package/esm/funcs/accounting-get-profile.d.ts.map +1 -1
- package/esm/funcs/accounting-get-profile.js +18 -9
- package/esm/funcs/accounting-get-profile.js.map +1 -1
- package/esm/funcs/accounting-get-project.d.ts.map +1 -1
- package/esm/funcs/accounting-get-project.js +4 -6
- package/esm/funcs/accounting-get-project.js.map +1 -1
- package/esm/funcs/accounting-get-projects.d.ts.map +1 -1
- package/esm/funcs/accounting-get-projects.js +5 -7
- package/esm/funcs/accounting-get-projects.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order-line-item.d.ts.map +1 -1
- package/esm/funcs/accounting-get-purchase-order-line-item.js +4 -6
- package/esm/funcs/accounting-get-purchase-order-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order-line-items.d.ts.map +1 -1
- package/esm/funcs/accounting-get-purchase-order-line-items.js +4 -6
- package/esm/funcs/accounting-get-purchase-order-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order.d.ts.map +1 -1
- package/esm/funcs/accounting-get-purchase-order.js +4 -6
- package/esm/funcs/accounting-get-purchase-order.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-orders.d.ts.map +1 -1
- package/esm/funcs/accounting-get-purchase-orders.js +5 -7
- package/esm/funcs/accounting-get-purchase-orders.js.map +1 -1
- package/esm/funcs/accounting-get-sales-order-lines.d.ts.map +1 -1
- package/esm/funcs/accounting-get-sales-order-lines.js +4 -6
- package/esm/funcs/accounting-get-sales-order-lines.js.map +1 -1
- package/esm/funcs/accounting-get-sales-order.d.ts.map +1 -1
- package/esm/funcs/accounting-get-sales-order.js +4 -6
- package/esm/funcs/accounting-get-sales-order.js.map +1 -1
- package/esm/funcs/accounting-get-sales-orders.d.ts.map +1 -1
- package/esm/funcs/accounting-get-sales-orders.js +5 -7
- package/esm/funcs/accounting-get-sales-orders.js.map +1 -1
- package/esm/funcs/accounting-get-supplier.d.ts.map +1 -1
- package/esm/funcs/accounting-get-supplier.js +4 -6
- package/esm/funcs/accounting-get-supplier.js.map +1 -1
- package/esm/funcs/accounting-get-suppliers.d.ts.map +1 -1
- package/esm/funcs/accounting-get-suppliers.js +5 -7
- package/esm/funcs/accounting-get-suppliers.js.map +1 -1
- package/esm/funcs/accounting-get-tax-rate.d.ts.map +1 -1
- package/esm/funcs/accounting-get-tax-rate.js +4 -6
- package/esm/funcs/accounting-get-tax-rate.js.map +1 -1
- package/esm/funcs/accounting-get-tax-rates.d.ts.map +1 -1
- package/esm/funcs/accounting-get-tax-rates.js +5 -7
- package/esm/funcs/accounting-get-tax-rates.js.map +1 -1
- package/esm/funcs/accounting-get-trial-balance.d.ts.map +1 -1
- package/esm/funcs/accounting-get-trial-balance.js +5 -7
- package/esm/funcs/accounting-get-trial-balance.js.map +1 -1
- package/esm/funcs/accounting-get-units.d.ts.map +1 -1
- package/esm/funcs/accounting-get-units.js +5 -7
- package/esm/funcs/accounting-get-units.js.map +1 -1
- package/esm/funcs/accounting-get-vendor-credits.d.ts.map +1 -1
- package/esm/funcs/accounting-get-vendor-credits.js +5 -7
- package/esm/funcs/accounting-get-vendor-credits.js.map +1 -1
- package/esm/funcs/accounting-patch-contact.d.ts.map +1 -1
- package/esm/funcs/accounting-patch-contact.js +4 -6
- package/esm/funcs/accounting-patch-contact.js.map +1 -1
- package/esm/funcs/accounting-patch-customers.d.ts.map +1 -1
- package/esm/funcs/accounting-patch-customers.js +4 -6
- package/esm/funcs/accounting-patch-customers.js.map +1 -1
- package/esm/funcs/accounting-patch-invoice.d.ts.map +1 -1
- package/esm/funcs/accounting-patch-invoice.js +4 -6
- package/esm/funcs/accounting-patch-invoice.js.map +1 -1
- package/esm/funcs/accounting-patch-item.d.ts.map +1 -1
- package/esm/funcs/accounting-patch-item.js +4 -6
- package/esm/funcs/accounting-patch-item.js.map +1 -1
- package/esm/funcs/accounting-patch-line-item.d.ts.map +1 -1
- package/esm/funcs/accounting-patch-line-item.js +4 -6
- package/esm/funcs/accounting-patch-line-item.js.map +1 -1
- package/esm/funcs/accounting-patch-supplier.d.ts.map +1 -1
- package/esm/funcs/accounting-patch-supplier.js +4 -6
- package/esm/funcs/accounting-patch-supplier.js.map +1 -1
- package/esm/funcs/accounting-post-file-async.d.ts +11 -0
- package/esm/funcs/accounting-post-file-async.d.ts.map +1 -0
- package/esm/funcs/accounting-post-file-async.js +111 -0
- package/esm/funcs/accounting-post-file-async.js.map +1 -0
- package/esm/funcs/accounting-post-file.d.ts.map +1 -1
- package/esm/funcs/accounting-post-file.js +5 -7
- package/esm/funcs/accounting-post-file.js.map +1 -1
- package/esm/funcs/accounting-put-contact.d.ts.map +1 -1
- package/esm/funcs/accounting-put-contact.js +4 -6
- package/esm/funcs/accounting-put-contact.js.map +1 -1
- package/esm/funcs/accounting-update-bill-line-item.d.ts.map +1 -1
- package/esm/funcs/accounting-update-bill-line-item.js +4 -6
- package/esm/funcs/accounting-update-bill-line-item.js.map +1 -1
- package/esm/funcs/accounting-update-bill.d.ts.map +1 -1
- package/esm/funcs/accounting-update-bill.js +4 -6
- package/esm/funcs/accounting-update-bill.js.map +1 -1
- package/esm/funcs/accounting-update-customer.d.ts.map +1 -1
- package/esm/funcs/accounting-update-customer.js +4 -6
- package/esm/funcs/accounting-update-customer.js.map +1 -1
- package/esm/funcs/accounting-update-supplier.d.ts.map +1 -1
- package/esm/funcs/accounting-update-supplier.js +4 -6
- package/esm/funcs/accounting-update-supplier.js.map +1 -1
- package/esm/funcs/accounting-update-vendor-credit.d.ts.map +1 -1
- package/esm/funcs/accounting-update-vendor-credit.js +4 -6
- package/esm/funcs/accounting-update-vendor-credit.js.map +1 -1
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.d.ts.map +1 -1
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.js +6 -8
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-create-contact-v2.d.ts.map +1 -1
- package/esm/funcs/accounting-v2-create-contact-v2.js +5 -7
- package/esm/funcs/accounting-v2-create-contact-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-get-contact-v2.d.ts.map +1 -1
- package/esm/funcs/accounting-v2-get-contact-v2.js +4 -6
- package/esm/funcs/accounting-v2-get-contact-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-get-contacts-v2.d.ts.map +1 -1
- package/esm/funcs/accounting-v2-get-contacts-v2.js +5 -7
- package/esm/funcs/accounting-v2-get-contacts-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.d.ts.map +1 -1
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js +4 -6
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js.map +1 -1
- package/esm/funcs/accounting-v2-get-dimensions-v2.d.ts.map +1 -1
- package/esm/funcs/accounting-v2-get-dimensions-v2.js +5 -7
- package/esm/funcs/accounting-v2-get-dimensions-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-patch-contact-v2.d.ts.map +1 -1
- package/esm/funcs/accounting-v2-patch-contact-v2.js +4 -6
- package/esm/funcs/accounting-v2-patch-contact-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-put-contact-v2.d.ts.map +1 -1
- package/esm/funcs/accounting-v2-put-contact-v2.js +4 -6
- package/esm/funcs/accounting-v2-put-contact-v2.js.map +1 -1
- package/esm/funcs/auth-create-end-user-account.d.ts.map +1 -1
- package/esm/funcs/auth-create-end-user-account.js +4 -6
- package/esm/funcs/auth-create-end-user-account.js.map +1 -1
- package/esm/funcs/auth-get-companies.d.ts.map +1 -1
- package/esm/funcs/auth-get-companies.js +5 -7
- package/esm/funcs/auth-get-companies.js.map +1 -1
- package/esm/funcs/auth-get-environments.d.ts +1 -1
- package/esm/funcs/auth-get-environments.d.ts.map +1 -1
- package/esm/funcs/auth-get-environments.js +17 -9
- package/esm/funcs/auth-get-environments.js.map +1 -1
- package/esm/funcs/auth-system-login-url.d.ts.map +1 -1
- package/esm/funcs/auth-system-login-url.js +7 -8
- package/esm/funcs/auth-system-login-url.js.map +1 -1
- package/esm/funcs/events-get-code.d.ts.map +1 -1
- package/esm/funcs/events-get-code.js +4 -6
- package/esm/funcs/events-get-code.js.map +1 -1
- package/esm/funcs/events-handle-callback.d.ts.map +1 -1
- package/esm/funcs/events-handle-callback.js +4 -6
- package/esm/funcs/events-handle-callback.js.map +1 -1
- package/esm/funcs/events-handle-configuration-callback.d.ts.map +1 -1
- package/esm/funcs/events-handle-configuration-callback.js +4 -6
- package/esm/funcs/events-handle-configuration-callback.js.map +1 -1
- package/esm/funcs/health-check.d.ts +1 -1
- package/esm/funcs/health-check.d.ts.map +1 -1
- package/esm/funcs/health-check.js +17 -9
- package/esm/funcs/health-check.js.map +1 -1
- package/esm/funcs/tenants-add-callback-url.d.ts +2 -2
- package/esm/funcs/tenants-add-callback-url.d.ts.map +1 -1
- package/esm/funcs/tenants-add-callback-url.js +8 -10
- package/esm/funcs/tenants-add-callback-url.js.map +1 -1
- package/esm/funcs/tenants-count-end-users-by-system.d.ts +2 -1
- package/esm/funcs/tenants-count-end-users-by-system.d.ts.map +1 -1
- package/esm/funcs/tenants-count-end-users-by-system.js +18 -9
- package/esm/funcs/tenants-count-end-users-by-system.js.map +1 -1
- package/esm/funcs/tenants-delete-end-user.d.ts +1 -1
- package/esm/funcs/tenants-delete-end-user.d.ts.map +1 -1
- package/esm/funcs/tenants-delete-end-user.js +17 -9
- package/esm/funcs/tenants-delete-end-user.js.map +1 -1
- package/esm/funcs/tenants-delete-registered-system.d.ts.map +1 -1
- package/esm/funcs/tenants-delete-registered-system.js +4 -6
- package/esm/funcs/tenants-delete-registered-system.js.map +1 -1
- package/esm/funcs/tenants-generate-tenant-signing-secret.d.ts +11 -0
- package/esm/funcs/tenants-generate-tenant-signing-secret.d.ts.map +1 -0
- package/esm/funcs/tenants-generate-tenant-signing-secret.js +70 -0
- package/esm/funcs/tenants-generate-tenant-signing-secret.js.map +1 -0
- package/esm/funcs/tenants-get-callback-url.d.ts +2 -1
- package/esm/funcs/tenants-get-callback-url.d.ts.map +1 -1
- package/esm/funcs/tenants-get-callback-url.js +18 -9
- package/esm/funcs/tenants-get-callback-url.js.map +1 -1
- package/esm/funcs/tenants-get-end-user-list.d.ts +2 -1
- package/esm/funcs/tenants-get-end-user-list.d.ts.map +1 -1
- package/esm/funcs/tenants-get-end-user-list.js +18 -9
- package/esm/funcs/tenants-get-end-user-list.js.map +1 -1
- package/esm/funcs/tenants-get-registered-systems-masked.d.ts +2 -1
- package/esm/funcs/tenants-get-registered-systems-masked.d.ts.map +1 -1
- package/esm/funcs/tenants-get-registered-systems-masked.js +18 -9
- package/esm/funcs/tenants-get-registered-systems-masked.js.map +1 -1
- package/esm/funcs/tenants-get-registered-systems.d.ts +2 -1
- package/esm/funcs/tenants-get-registered-systems.d.ts.map +1 -1
- package/esm/funcs/tenants-get-registered-systems.js +18 -9
- package/esm/funcs/tenants-get-registered-systems.js.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts +1 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.js +17 -9
- package/esm/funcs/tenants-get-submission-page-style-by-key.js.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style.d.ts.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style.js +5 -7
- package/esm/funcs/tenants-get-submission-page-style.js.map +1 -1
- package/esm/funcs/tenants-get-target-system-requirements.d.ts +2 -1
- package/esm/funcs/tenants-get-target-system-requirements.d.ts.map +1 -1
- package/esm/funcs/tenants-get-target-system-requirements.js +18 -9
- package/esm/funcs/tenants-get-target-system-requirements.js.map +1 -1
- package/esm/funcs/tenants-get-target-system-values.d.ts +2 -1
- package/esm/funcs/tenants-get-target-system-values.d.ts.map +1 -1
- package/esm/funcs/tenants-get-target-system-values.js +18 -9
- package/esm/funcs/tenants-get-target-system-values.js.map +1 -1
- package/esm/funcs/tenants-system-registration.d.ts +2 -2
- package/esm/funcs/tenants-system-registration.d.ts.map +1 -1
- package/esm/funcs/tenants-system-registration.js +8 -10
- package/esm/funcs/tenants-system-registration.js.map +1 -1
- package/esm/funcs/tenants-update-submission-page-style.d.ts +1 -2
- package/esm/funcs/tenants-update-submission-page-style.d.ts.map +1 -1
- package/esm/funcs/tenants-update-submission-page-style.js +7 -10
- package/esm/funcs/tenants-update-submission-page-style.js.map +1 -1
- package/esm/funcs/user-get-user-info.d.ts +1 -1
- package/esm/funcs/user-get-user-info.d.ts.map +1 -1
- package/esm/funcs/user-get-user-info.js +17 -9
- package/esm/funcs/user-get-user-info.js.map +1 -1
- package/esm/funcs/webhooks-create-webhook-end-user.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-webhook-end-user.js +5 -7
- package/esm/funcs/webhooks-create-webhook-end-user.js.map +1 -1
- package/esm/funcs/webhooks-create-webhook.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-webhook.js +5 -7
- package/esm/funcs/webhooks-create-webhook.js.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.d.ts.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.js +4 -6
- package/esm/funcs/webhooks-delete-webhook-end-user.js.map +1 -1
- package/esm/funcs/webhooks-delete-webhook.d.ts.map +1 -1
- package/esm/funcs/webhooks-delete-webhook.js +4 -6
- package/esm/funcs/webhooks-delete-webhook.js.map +1 -1
- package/esm/funcs/webhooks-get-webhooks.d.ts.map +1 -1
- package/esm/funcs/webhooks-get-webhooks.js +5 -7
- package/esm/funcs/webhooks-get-webhooks.js.map +1 -1
- package/esm/lib/config.d.ts +9 -6
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/env.d.ts +11 -0
- package/esm/lib/env.d.ts.map +1 -1
- package/esm/lib/env.js +14 -0
- package/esm/lib/env.js.map +1 -1
- package/esm/lib/sdks.js +2 -4
- package/esm/lib/sdks.js.map +1 -1
- package/esm/lib/security.d.ts +0 -3
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +0 -39
- package/esm/lib/security.js.map +1 -1
- package/esm/models/bill-response-dto.d.ts +1 -0
- package/esm/models/bill-response-dto.d.ts.map +1 -1
- package/esm/models/bill-response-dto.js +1 -0
- package/esm/models/bill-response-dto.js.map +1 -1
- package/esm/models/booking-proposal-response-dto.d.ts +4 -4
- package/esm/models/booking-proposal-response-dto.d.ts.map +1 -1
- package/esm/models/booking-proposal-response-dto.js +3 -3
- package/esm/models/booking-proposal-response-dto.js.map +1 -1
- package/esm/models/create-bill-request-dto.d.ts +2 -0
- package/esm/models/create-bill-request-dto.d.ts.map +1 -1
- package/esm/models/create-bill-request-dto.js +1 -0
- package/esm/models/create-bill-request-dto.js.map +1 -1
- package/esm/models/create-expense-request-dto-v2.d.ts +68 -0
- package/esm/models/create-expense-request-dto-v2.d.ts.map +1 -0
- package/esm/models/create-expense-request-dto-v2.js +47 -0
- package/esm/models/create-expense-request-dto-v2.js.map +1 -0
- package/esm/models/create-payment-line.d.ts +2 -0
- package/esm/models/create-payment-line.d.ts.map +1 -1
- package/esm/models/create-payment-line.js +1 -0
- package/esm/models/create-payment-line.js.map +1 -1
- package/esm/models/expense-line-item-request-dto-v2.d.ts +35 -0
- package/esm/models/expense-line-item-request-dto-v2.d.ts.map +1 -0
- package/esm/models/expense-line-item-request-dto-v2.js +25 -0
- package/esm/models/expense-line-item-request-dto-v2.js.map +1 -0
- package/esm/models/index.d.ts +4 -5
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +4 -5
- package/esm/models/index.js.map +1 -1
- package/esm/models/operations/add-callback-url.d.ts +27 -0
- package/esm/models/operations/add-callback-url.d.ts.map +1 -0
- package/esm/models/operations/add-callback-url.js +15 -0
- package/esm/models/operations/add-callback-url.js.map +1 -0
- package/esm/models/operations/check.d.ts +22 -0
- package/esm/models/operations/check.d.ts.map +1 -1
- package/esm/models/operations/check.js +8 -0
- package/esm/models/operations/check.js.map +1 -1
- package/esm/models/operations/count-end-users-by-system.d.ts +24 -0
- package/esm/models/operations/count-end-users-by-system.d.ts.map +1 -0
- package/esm/models/operations/count-end-users-by-system.js +13 -0
- package/esm/models/operations/count-end-users-by-system.js.map +1 -0
- package/esm/models/operations/create-account.d.ts +14 -0
- package/esm/models/operations/create-account.d.ts.map +1 -1
- package/esm/models/operations/create-account.js +2 -0
- package/esm/models/operations/create-account.js.map +1 -1
- package/esm/models/operations/create-bank-account.d.ts +14 -0
- package/esm/models/operations/create-bank-account.d.ts.map +1 -1
- package/esm/models/operations/create-bank-account.js +2 -0
- package/esm/models/operations/create-bank-account.js.map +1 -1
- package/esm/models/operations/create-bill-line-item.d.ts +14 -0
- package/esm/models/operations/create-bill-line-item.d.ts.map +1 -1
- package/esm/models/operations/create-bill-line-item.js +2 -0
- package/esm/models/operations/create-bill-line-item.js.map +1 -1
- package/esm/models/operations/create-bill.d.ts +14 -0
- package/esm/models/operations/create-bill.d.ts.map +1 -1
- package/esm/models/operations/create-bill.js +2 -0
- package/esm/models/operations/create-bill.js.map +1 -1
- package/esm/models/operations/create-booking-proposal-v2.d.ts +16 -2
- package/esm/models/operations/create-booking-proposal-v2.d.ts.map +1 -1
- package/esm/models/operations/create-booking-proposal-v2.js +3 -1
- package/esm/models/operations/create-booking-proposal-v2.js.map +1 -1
- package/esm/models/operations/create-booking-proposal.d.ts +14 -0
- package/esm/models/operations/create-booking-proposal.d.ts.map +1 -1
- package/esm/models/operations/create-booking-proposal.js +2 -0
- package/esm/models/operations/create-booking-proposal.js.map +1 -1
- package/esm/models/operations/create-contact-v2.d.ts +14 -0
- package/esm/models/operations/create-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/create-contact-v2.js +2 -0
- package/esm/models/operations/create-contact-v2.js.map +1 -1
- package/esm/models/operations/create-contact.d.ts +14 -0
- package/esm/models/operations/create-contact.d.ts.map +1 -1
- package/esm/models/operations/create-contact.js +2 -0
- package/esm/models/operations/create-contact.js.map +1 -1
- package/esm/models/operations/create-contacts-v1.d.ts +14 -0
- package/esm/models/operations/create-contacts-v1.d.ts.map +1 -1
- package/esm/models/operations/create-contacts-v1.js +2 -0
- package/esm/models/operations/create-contacts-v1.js.map +1 -1
- package/esm/models/operations/create-contacts.d.ts +14 -0
- package/esm/models/operations/create-contacts.d.ts.map +1 -1
- package/esm/models/operations/create-contacts.js +2 -0
- package/esm/models/operations/create-contacts.js.map +1 -1
- package/esm/models/operations/create-customer.d.ts +14 -0
- package/esm/models/operations/create-customer.d.ts.map +1 -1
- package/esm/models/operations/create-customer.js +2 -0
- package/esm/models/operations/create-customer.js.map +1 -1
- package/esm/models/operations/create-end-user-account.d.ts +14 -0
- package/esm/models/operations/create-end-user-account.d.ts.map +1 -1
- package/esm/models/operations/create-end-user-account.js +2 -0
- package/esm/models/operations/create-end-user-account.js.map +1 -1
- package/esm/models/operations/create-event-subscriptions.d.ts +14 -0
- package/esm/models/operations/create-event-subscriptions.d.ts.map +1 -1
- package/esm/models/operations/create-event-subscriptions.js +2 -0
- package/esm/models/operations/create-event-subscriptions.js.map +1 -1
- package/esm/models/operations/create-expense-async.d.ts +94 -0
- package/esm/models/operations/create-expense-async.d.ts.map +1 -0
- package/esm/models/operations/create-expense-async.js +77 -0
- package/esm/models/operations/create-expense-async.js.map +1 -0
- package/esm/models/operations/create-expense.d.ts +14 -0
- package/esm/models/operations/create-expense.d.ts.map +1 -1
- package/esm/models/operations/create-expense.js +2 -0
- package/esm/models/operations/create-expense.js.map +1 -1
- package/esm/models/operations/create-invoice.d.ts +14 -0
- package/esm/models/operations/create-invoice.d.ts.map +1 -1
- package/esm/models/operations/create-invoice.js +2 -0
- package/esm/models/operations/create-invoice.js.map +1 -1
- package/esm/models/operations/create-item.d.ts +14 -0
- package/esm/models/operations/create-item.d.ts.map +1 -1
- package/esm/models/operations/create-item.js +2 -0
- package/esm/models/operations/create-item.js.map +1 -1
- package/esm/models/operations/create-journal-entries.d.ts +14 -0
- package/esm/models/operations/create-journal-entries.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entries.js +2 -0
- package/esm/models/operations/create-journal-entries.js.map +1 -1
- package/esm/models/operations/create-journal-entry-attachments.d.ts +14 -0
- package/esm/models/operations/create-journal-entry-attachments.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entry-attachments.js +2 -0
- package/esm/models/operations/create-journal-entry-attachments.js.map +1 -1
- package/esm/models/operations/create-journal-entry.d.ts +14 -0
- package/esm/models/operations/create-journal-entry.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entry.js +2 -0
- package/esm/models/operations/create-journal-entry.js.map +1 -1
- package/esm/models/operations/create-line-item.d.ts +14 -0
- package/esm/models/operations/create-line-item.d.ts.map +1 -1
- package/esm/models/operations/create-line-item.js +2 -0
- package/esm/models/operations/create-line-item.js.map +1 -1
- package/esm/models/operations/create-offer.d.ts +14 -0
- package/esm/models/operations/create-offer.d.ts.map +1 -1
- package/esm/models/operations/create-offer.js +2 -0
- package/esm/models/operations/create-offer.js.map +1 -1
- package/esm/models/operations/create-pass-through-request.d.ts +14 -0
- package/esm/models/operations/create-pass-through-request.d.ts.map +1 -1
- package/esm/models/operations/create-pass-through-request.js +2 -0
- package/esm/models/operations/create-pass-through-request.js.map +1 -1
- package/esm/models/operations/create-payment-term.d.ts +14 -0
- package/esm/models/operations/create-payment-term.d.ts.map +1 -1
- package/esm/models/operations/create-payment-term.js +2 -0
- package/esm/models/operations/create-payment-term.js.map +1 -1
- package/esm/models/operations/create-payment.d.ts +14 -0
- package/esm/models/operations/create-payment.d.ts.map +1 -1
- package/esm/models/operations/create-payment.js +2 -0
- package/esm/models/operations/create-payment.js.map +1 -1
- package/esm/models/operations/create-project.d.ts +14 -0
- package/esm/models/operations/create-project.d.ts.map +1 -1
- package/esm/models/operations/create-project.js +2 -0
- package/esm/models/operations/create-project.js.map +1 -1
- package/esm/models/operations/create-sales-order.d.ts +14 -0
- package/esm/models/operations/create-sales-order.d.ts.map +1 -1
- package/esm/models/operations/create-sales-order.js +2 -0
- package/esm/models/operations/create-sales-order.js.map +1 -1
- package/esm/models/operations/create-supplier.d.ts +14 -0
- package/esm/models/operations/create-supplier.d.ts.map +1 -1
- package/esm/models/operations/create-supplier.js +2 -0
- package/esm/models/operations/create-supplier.js.map +1 -1
- package/esm/models/operations/create-transaction.d.ts +14 -0
- package/esm/models/operations/create-transaction.d.ts.map +1 -1
- package/esm/models/operations/create-transaction.js +2 -0
- package/esm/models/operations/create-transaction.js.map +1 -1
- package/esm/models/operations/create-vendor-credit.d.ts +14 -0
- package/esm/models/operations/create-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/create-vendor-credit.js +2 -0
- package/esm/models/operations/create-vendor-credit.js.map +1 -1
- package/esm/models/operations/create-webhook-end-user.d.ts +14 -0
- package/esm/models/operations/create-webhook-end-user.d.ts.map +1 -1
- package/esm/models/operations/create-webhook-end-user.js +2 -0
- package/esm/models/operations/create-webhook-end-user.js.map +1 -1
- package/esm/models/operations/create-webhook.d.ts +14 -0
- package/esm/models/operations/create-webhook.d.ts.map +1 -1
- package/esm/models/operations/create-webhook.js +2 -0
- package/esm/models/operations/create-webhook.js.map +1 -1
- package/esm/models/operations/delete-bill.d.ts +14 -0
- package/esm/models/operations/delete-bill.d.ts.map +1 -1
- package/esm/models/operations/delete-bill.js +2 -0
- package/esm/models/operations/delete-bill.js.map +1 -1
- package/esm/models/operations/delete-end-user.d.ts +22 -0
- package/esm/models/operations/delete-end-user.d.ts.map +1 -1
- package/esm/models/operations/delete-end-user.js +8 -0
- package/esm/models/operations/delete-end-user.js.map +1 -1
- package/esm/models/operations/delete-event-subscriptions.d.ts +14 -0
- package/esm/models/operations/delete-event-subscriptions.d.ts.map +1 -1
- package/esm/models/operations/delete-event-subscriptions.js +2 -0
- package/esm/models/operations/delete-event-subscriptions.js.map +1 -1
- package/esm/models/operations/delete-payment.d.ts +14 -0
- package/esm/models/operations/delete-payment.d.ts.map +1 -1
- package/esm/models/operations/delete-payment.js +2 -0
- package/esm/models/operations/delete-payment.js.map +1 -1
- package/esm/models/operations/delete-registered-system.d.ts +14 -0
- package/esm/models/operations/delete-registered-system.d.ts.map +1 -1
- package/esm/models/operations/delete-registered-system.js +2 -0
- package/esm/models/operations/delete-registered-system.js.map +1 -1
- package/esm/models/operations/delete-vendor-credit.d.ts +14 -0
- package/esm/models/operations/delete-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/delete-vendor-credit.js +2 -0
- package/esm/models/operations/delete-vendor-credit.js.map +1 -1
- package/esm/models/operations/delete-webhook-end-user.d.ts +14 -0
- package/esm/models/operations/delete-webhook-end-user.d.ts.map +1 -1
- package/esm/models/operations/delete-webhook-end-user.js +2 -0
- package/esm/models/operations/delete-webhook-end-user.js.map +1 -1
- package/esm/models/operations/delete-webhook.d.ts +14 -0
- package/esm/models/operations/delete-webhook.d.ts.map +1 -1
- package/esm/models/operations/delete-webhook.js +2 -0
- package/esm/models/operations/delete-webhook.js.map +1 -1
- package/esm/models/operations/generate-tenant-signing-secret.d.ts +33 -0
- package/esm/models/operations/generate-tenant-signing-secret.d.ts.map +1 -0
- package/esm/models/operations/generate-tenant-signing-secret.js +19 -0
- package/esm/models/operations/generate-tenant-signing-secret.js.map +1 -0
- package/esm/models/operations/get-account.d.ts +14 -0
- package/esm/models/operations/get-account.d.ts.map +1 -1
- package/esm/models/operations/get-account.js +2 -0
- package/esm/models/operations/get-account.js.map +1 -1
- package/esm/models/operations/get-accounts.d.ts +14 -0
- package/esm/models/operations/get-accounts.d.ts.map +1 -1
- package/esm/models/operations/get-accounts.js +2 -0
- package/esm/models/operations/get-accounts.js.map +1 -1
- package/esm/models/operations/get-async-task-info.d.ts +14 -0
- package/esm/models/operations/get-async-task-info.d.ts.map +1 -1
- package/esm/models/operations/get-async-task-info.js +2 -0
- package/esm/models/operations/get-async-task-info.js.map +1 -1
- package/esm/models/operations/get-bank-account.d.ts +14 -0
- package/esm/models/operations/get-bank-account.d.ts.map +1 -1
- package/esm/models/operations/get-bank-account.js +2 -0
- package/esm/models/operations/get-bank-account.js.map +1 -1
- package/esm/models/operations/get-bank-accounts.d.ts +14 -0
- package/esm/models/operations/get-bank-accounts.d.ts.map +1 -1
- package/esm/models/operations/get-bank-accounts.js +2 -0
- package/esm/models/operations/get-bank-accounts.js.map +1 -1
- package/esm/models/operations/get-bill-document.d.ts +14 -0
- package/esm/models/operations/get-bill-document.d.ts.map +1 -1
- package/esm/models/operations/get-bill-document.js +2 -0
- package/esm/models/operations/get-bill-document.js.map +1 -1
- package/esm/models/operations/get-bill-line-items.d.ts +14 -0
- package/esm/models/operations/get-bill-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-bill-line-items.js +2 -0
- package/esm/models/operations/get-bill-line-items.js.map +1 -1
- package/esm/models/operations/get-bill.d.ts +14 -0
- package/esm/models/operations/get-bill.d.ts.map +1 -1
- package/esm/models/operations/get-bill.js +2 -0
- package/esm/models/operations/get-bill.js.map +1 -1
- package/esm/models/operations/get-bills.d.ts +14 -0
- package/esm/models/operations/get-bills.d.ts.map +1 -1
- package/esm/models/operations/get-bills.js +2 -0
- package/esm/models/operations/get-bills.js.map +1 -1
- package/esm/models/operations/get-booking-proposal-document.d.ts +14 -0
- package/esm/models/operations/get-booking-proposal-document.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposal-document.js +2 -0
- package/esm/models/operations/get-booking-proposal-document.js.map +1 -1
- package/esm/models/operations/get-booking-proposal.d.ts +14 -0
- package/esm/models/operations/get-booking-proposal.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposal.js +2 -0
- package/esm/models/operations/get-booking-proposal.js.map +1 -1
- package/esm/models/operations/get-booking-proposals.d.ts +14 -0
- package/esm/models/operations/get-booking-proposals.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposals.js +2 -0
- package/esm/models/operations/get-booking-proposals.js.map +1 -1
- package/esm/models/operations/get-callback-url.d.ts +24 -0
- package/esm/models/operations/get-callback-url.d.ts.map +1 -0
- package/esm/models/operations/get-callback-url.js +13 -0
- package/esm/models/operations/get-callback-url.js.map +1 -0
- package/esm/models/operations/get-code.d.ts +14 -0
- package/esm/models/operations/get-code.d.ts.map +1 -1
- package/esm/models/operations/get-code.js +2 -0
- package/esm/models/operations/get-code.js.map +1 -1
- package/esm/models/operations/get-companies.d.ts +14 -0
- package/esm/models/operations/get-companies.d.ts.map +1 -1
- package/esm/models/operations/get-companies.js +2 -0
- package/esm/models/operations/get-companies.js.map +1 -1
- package/esm/models/operations/get-contact-v2.d.ts +14 -0
- package/esm/models/operations/get-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/get-contact-v2.js +2 -0
- package/esm/models/operations/get-contact-v2.js.map +1 -1
- package/esm/models/operations/get-contact.d.ts +14 -0
- package/esm/models/operations/get-contact.d.ts.map +1 -1
- package/esm/models/operations/get-contact.js +2 -0
- package/esm/models/operations/get-contact.js.map +1 -1
- package/esm/models/operations/get-contacts-v2.d.ts +14 -0
- package/esm/models/operations/get-contacts-v2.d.ts.map +1 -1
- package/esm/models/operations/get-contacts-v2.js +2 -0
- package/esm/models/operations/get-contacts-v2.js.map +1 -1
- package/esm/models/operations/get-contacts.d.ts +14 -0
- package/esm/models/operations/get-contacts.d.ts.map +1 -1
- package/esm/models/operations/get-contacts.js +2 -0
- package/esm/models/operations/get-contacts.js.map +1 -1
- package/esm/models/operations/get-credit-note.d.ts +14 -0
- package/esm/models/operations/get-credit-note.d.ts.map +1 -1
- package/esm/models/operations/get-credit-note.js +2 -0
- package/esm/models/operations/get-credit-note.js.map +1 -1
- package/esm/models/operations/get-credit-notes.d.ts +14 -0
- package/esm/models/operations/get-credit-notes.d.ts.map +1 -1
- package/esm/models/operations/get-credit-notes.js +2 -0
- package/esm/models/operations/get-credit-notes.js.map +1 -1
- package/esm/models/operations/get-customer.d.ts +14 -0
- package/esm/models/operations/get-customer.d.ts.map +1 -1
- package/esm/models/operations/get-customer.js +2 -0
- package/esm/models/operations/get-customer.js.map +1 -1
- package/esm/models/operations/get-customers.d.ts +14 -0
- package/esm/models/operations/get-customers.d.ts.map +1 -1
- package/esm/models/operations/get-customers.js +2 -0
- package/esm/models/operations/get-customers.js.map +1 -1
- package/esm/models/operations/get-dimensions-by-dimension.d.ts +14 -0
- package/esm/models/operations/get-dimensions-by-dimension.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions-by-dimension.js +2 -0
- package/esm/models/operations/get-dimensions-by-dimension.js.map +1 -1
- package/esm/models/operations/get-dimensions-v2.d.ts +14 -0
- package/esm/models/operations/get-dimensions-v2.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions-v2.js +2 -0
- package/esm/models/operations/get-dimensions-v2.js.map +1 -1
- package/esm/models/operations/get-dimensions.d.ts +14 -0
- package/esm/models/operations/get-dimensions.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions.js +2 -0
- package/esm/models/operations/get-dimensions.js.map +1 -1
- package/esm/models/operations/get-document-extensions.d.ts +14 -0
- package/esm/models/operations/get-document-extensions.d.ts.map +1 -1
- package/esm/models/operations/get-document-extensions.js +2 -0
- package/esm/models/operations/get-document-extensions.js.map +1 -1
- package/esm/models/operations/get-document-types.d.ts +14 -0
- package/esm/models/operations/get-document-types.d.ts.map +1 -1
- package/esm/models/operations/get-document-types.js +2 -0
- package/esm/models/operations/get-document-types.js.map +1 -1
- package/esm/models/operations/get-end-user-list.d.ts +24 -0
- package/esm/models/operations/get-end-user-list.d.ts.map +1 -0
- package/esm/models/operations/get-end-user-list.js +13 -0
- package/esm/models/operations/get-end-user-list.js.map +1 -0
- package/esm/models/operations/get-environments.d.ts +22 -0
- package/esm/models/operations/get-environments.d.ts.map +1 -1
- package/esm/models/operations/get-environments.js +8 -0
- package/esm/models/operations/get-environments.js.map +1 -1
- package/esm/models/operations/get-expense.d.ts +14 -0
- package/esm/models/operations/get-expense.d.ts.map +1 -1
- package/esm/models/operations/get-expense.js +2 -0
- package/esm/models/operations/get-expense.js.map +1 -1
- package/esm/models/operations/get-expenses.d.ts +14 -0
- package/esm/models/operations/get-expenses.d.ts.map +1 -1
- package/esm/models/operations/get-expenses.js +2 -0
- package/esm/models/operations/get-expenses.js.map +1 -1
- package/esm/models/operations/get-fiscal-year.d.ts +14 -0
- package/esm/models/operations/get-fiscal-year.d.ts.map +1 -1
- package/esm/models/operations/get-fiscal-year.js +2 -0
- package/esm/models/operations/get-fiscal-year.js.map +1 -1
- package/esm/models/operations/get-fiscal-years.d.ts +14 -0
- package/esm/models/operations/get-fiscal-years.d.ts.map +1 -1
- package/esm/models/operations/get-fiscal-years.js +2 -0
- package/esm/models/operations/get-fiscal-years.js.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-item.d.ts +14 -0
- package/esm/models/operations/get-goods-receipt-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-item.js +2 -0
- package/esm/models/operations/get-goods-receipt-line-item.js.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-items.d.ts +14 -0
- package/esm/models/operations/get-goods-receipt-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-items.js +2 -0
- package/esm/models/operations/get-goods-receipt-line-items.js.map +1 -1
- package/esm/models/operations/get-goods-receipt.d.ts +14 -0
- package/esm/models/operations/get-goods-receipt.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipt.js +2 -0
- package/esm/models/operations/get-goods-receipt.js.map +1 -1
- package/esm/models/operations/get-goods-receipts.d.ts +14 -0
- package/esm/models/operations/get-goods-receipts.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipts.js +2 -0
- package/esm/models/operations/get-goods-receipts.js.map +1 -1
- package/esm/models/operations/get-invoice-document.d.ts +14 -0
- package/esm/models/operations/get-invoice-document.d.ts.map +1 -1
- package/esm/models/operations/get-invoice-document.js +2 -0
- package/esm/models/operations/get-invoice-document.js.map +1 -1
- package/esm/models/operations/get-invoice.d.ts +14 -0
- package/esm/models/operations/get-invoice.d.ts.map +1 -1
- package/esm/models/operations/get-invoice.js +2 -0
- package/esm/models/operations/get-invoice.js.map +1 -1
- package/esm/models/operations/get-invoices.d.ts +14 -0
- package/esm/models/operations/get-invoices.d.ts.map +1 -1
- package/esm/models/operations/get-invoices.js +2 -0
- package/esm/models/operations/get-invoices.js.map +1 -1
- package/esm/models/operations/get-item.d.ts +14 -0
- package/esm/models/operations/get-item.d.ts.map +1 -1
- package/esm/models/operations/get-item.js +2 -0
- package/esm/models/operations/get-item.js.map +1 -1
- package/esm/models/operations/get-items.d.ts +14 -0
- package/esm/models/operations/get-items.d.ts.map +1 -1
- package/esm/models/operations/get-items.js +2 -0
- package/esm/models/operations/get-items.js.map +1 -1
- package/esm/models/operations/get-journal-entries.d.ts +14 -0
- package/esm/models/operations/get-journal-entries.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entries.js +2 -0
- package/esm/models/operations/get-journal-entries.js.map +1 -1
- package/esm/models/operations/get-journal-entry-attachment-by-id.d.ts +14 -0
- package/esm/models/operations/get-journal-entry-attachment-by-id.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entry-attachment-by-id.js +2 -0
- package/esm/models/operations/get-journal-entry-attachment-by-id.js.map +1 -1
- package/esm/models/operations/get-journal-entry-attachments.d.ts +14 -0
- package/esm/models/operations/get-journal-entry-attachments.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entry-attachments.js +2 -0
- package/esm/models/operations/get-journal-entry-attachments.js.map +1 -1
- package/esm/models/operations/get-journal-entry.d.ts +14 -0
- package/esm/models/operations/get-journal-entry.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entry.js +2 -0
- package/esm/models/operations/get-journal-entry.js.map +1 -1
- package/esm/models/operations/get-journals.d.ts +14 -0
- package/esm/models/operations/get-journals.d.ts.map +1 -1
- package/esm/models/operations/get-journals.js +2 -0
- package/esm/models/operations/get-journals.js.map +1 -1
- package/esm/models/operations/get-line-item.d.ts +14 -0
- package/esm/models/operations/get-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-line-item.js +2 -0
- package/esm/models/operations/get-line-item.js.map +1 -1
- package/esm/models/operations/get-line-items.d.ts +14 -0
- package/esm/models/operations/get-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-line-items.js +2 -0
- package/esm/models/operations/get-line-items.js.map +1 -1
- package/esm/models/operations/get-offer-document.d.ts +14 -0
- package/esm/models/operations/get-offer-document.d.ts.map +1 -1
- package/esm/models/operations/get-offer-document.js +2 -0
- package/esm/models/operations/get-offer-document.js.map +1 -1
- package/esm/models/operations/get-offer-line-item.d.ts +14 -0
- package/esm/models/operations/get-offer-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-offer-line-item.js +2 -0
- package/esm/models/operations/get-offer-line-item.js.map +1 -1
- package/esm/models/operations/get-offer-line-items.d.ts +14 -0
- package/esm/models/operations/get-offer-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-offer-line-items.js +2 -0
- package/esm/models/operations/get-offer-line-items.js.map +1 -1
- package/esm/models/operations/get-offer.d.ts +14 -0
- package/esm/models/operations/get-offer.d.ts.map +1 -1
- package/esm/models/operations/get-offer.js +2 -0
- package/esm/models/operations/get-offer.js.map +1 -1
- package/esm/models/operations/get-offers.d.ts +14 -0
- package/esm/models/operations/get-offers.d.ts.map +1 -1
- package/esm/models/operations/get-offers.js +2 -0
- package/esm/models/operations/get-offers.js.map +1 -1
- package/esm/models/operations/get-open-items.d.ts +14 -0
- package/esm/models/operations/get-open-items.d.ts.map +1 -1
- package/esm/models/operations/get-open-items.js +2 -0
- package/esm/models/operations/get-open-items.js.map +1 -1
- package/esm/models/operations/get-payment-term.d.ts +14 -0
- package/esm/models/operations/get-payment-term.d.ts.map +1 -1
- package/esm/models/operations/get-payment-term.js +2 -0
- package/esm/models/operations/get-payment-term.js.map +1 -1
- package/esm/models/operations/get-payment-terms.d.ts +14 -0
- package/esm/models/operations/get-payment-terms.d.ts.map +1 -1
- package/esm/models/operations/get-payment-terms.js +2 -0
- package/esm/models/operations/get-payment-terms.js.map +1 -1
- package/esm/models/operations/get-payment.d.ts +14 -0
- package/esm/models/operations/get-payment.d.ts.map +1 -1
- package/esm/models/operations/get-payment.js +2 -0
- package/esm/models/operations/get-payment.js.map +1 -1
- package/esm/models/operations/get-payments.d.ts +14 -0
- package/esm/models/operations/get-payments.d.ts.map +1 -1
- package/esm/models/operations/get-payments.js +2 -0
- package/esm/models/operations/get-payments.js.map +1 -1
- package/esm/models/operations/get-profile.d.ts +24 -0
- package/esm/models/operations/get-profile.d.ts.map +1 -0
- package/esm/models/operations/get-profile.js +13 -0
- package/esm/models/operations/get-profile.js.map +1 -0
- package/esm/models/operations/get-project.d.ts +14 -0
- package/esm/models/operations/get-project.d.ts.map +1 -1
- package/esm/models/operations/get-project.js +2 -0
- package/esm/models/operations/get-project.js.map +1 -1
- package/esm/models/operations/get-projects.d.ts +14 -0
- package/esm/models/operations/get-projects.d.ts.map +1 -1
- package/esm/models/operations/get-projects.js +2 -0
- package/esm/models/operations/get-projects.js.map +1 -1
- package/esm/models/operations/get-purchase-order-line-item.d.ts +14 -0
- package/esm/models/operations/get-purchase-order-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-order-line-item.js +2 -0
- package/esm/models/operations/get-purchase-order-line-item.js.map +1 -1
- package/esm/models/operations/get-purchase-order-line-items.d.ts +14 -0
- package/esm/models/operations/get-purchase-order-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-order-line-items.js +2 -0
- package/esm/models/operations/get-purchase-order-line-items.js.map +1 -1
- package/esm/models/operations/get-purchase-order.d.ts +14 -0
- package/esm/models/operations/get-purchase-order.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-order.js +2 -0
- package/esm/models/operations/get-purchase-order.js.map +1 -1
- package/esm/models/operations/get-purchase-orders.d.ts +14 -0
- package/esm/models/operations/get-purchase-orders.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-orders.js +2 -0
- package/esm/models/operations/get-purchase-orders.js.map +1 -1
- package/esm/models/operations/get-registered-systems-masked.d.ts +24 -0
- package/esm/models/operations/get-registered-systems-masked.d.ts.map +1 -0
- package/esm/models/operations/get-registered-systems-masked.js +13 -0
- package/esm/models/operations/get-registered-systems-masked.js.map +1 -0
- package/esm/models/operations/get-registered-systems.d.ts +24 -0
- package/esm/models/operations/get-registered-systems.d.ts.map +1 -0
- package/esm/models/operations/get-registered-systems.js +13 -0
- package/esm/models/operations/get-registered-systems.js.map +1 -0
- package/esm/models/operations/get-sales-order-lines.d.ts +14 -0
- package/esm/models/operations/get-sales-order-lines.d.ts.map +1 -1
- package/esm/models/operations/get-sales-order-lines.js +2 -0
- package/esm/models/operations/get-sales-order-lines.js.map +1 -1
- package/esm/models/operations/get-sales-order.d.ts +14 -0
- package/esm/models/operations/get-sales-order.d.ts.map +1 -1
- package/esm/models/operations/get-sales-order.js +2 -0
- package/esm/models/operations/get-sales-order.js.map +1 -1
- package/esm/models/operations/get-sales-orders.d.ts +14 -0
- package/esm/models/operations/get-sales-orders.d.ts.map +1 -1
- package/esm/models/operations/get-sales-orders.js +2 -0
- package/esm/models/operations/get-sales-orders.js.map +1 -1
- package/esm/models/operations/get-submission-page-style-by-key.d.ts +22 -0
- package/esm/models/operations/get-submission-page-style-by-key.d.ts.map +1 -1
- package/esm/models/operations/get-submission-page-style-by-key.js +8 -0
- package/esm/models/operations/get-submission-page-style-by-key.js.map +1 -1
- package/esm/models/operations/get-submission-page-style.d.ts +14 -0
- package/esm/models/operations/get-submission-page-style.d.ts.map +1 -1
- package/esm/models/operations/get-submission-page-style.js +2 -0
- package/esm/models/operations/get-submission-page-style.js.map +1 -1
- package/esm/models/operations/get-supplier.d.ts +14 -0
- package/esm/models/operations/get-supplier.d.ts.map +1 -1
- package/esm/models/operations/get-supplier.js +2 -0
- package/esm/models/operations/get-supplier.js.map +1 -1
- package/esm/models/operations/get-suppliers.d.ts +14 -0
- package/esm/models/operations/get-suppliers.d.ts.map +1 -1
- package/esm/models/operations/get-suppliers.js +2 -0
- package/esm/models/operations/get-suppliers.js.map +1 -1
- package/esm/models/operations/get-target-system-requirements.d.ts +24 -0
- package/esm/models/operations/get-target-system-requirements.d.ts.map +1 -0
- package/esm/models/operations/get-target-system-requirements.js +13 -0
- package/esm/models/operations/get-target-system-requirements.js.map +1 -0
- package/esm/models/operations/get-target-system-values.d.ts +24 -0
- package/esm/models/operations/get-target-system-values.d.ts.map +1 -0
- package/esm/models/operations/get-target-system-values.js +13 -0
- package/esm/models/operations/get-target-system-values.js.map +1 -0
- package/esm/models/operations/get-tax-rate.d.ts +14 -0
- package/esm/models/operations/get-tax-rate.d.ts.map +1 -1
- package/esm/models/operations/get-tax-rate.js +2 -0
- package/esm/models/operations/get-tax-rate.js.map +1 -1
- package/esm/models/operations/get-tax-rates.d.ts +14 -0
- package/esm/models/operations/get-tax-rates.d.ts.map +1 -1
- package/esm/models/operations/get-tax-rates.js +2 -0
- package/esm/models/operations/get-tax-rates.js.map +1 -1
- package/esm/models/operations/get-trial-balance.d.ts +14 -0
- package/esm/models/operations/get-trial-balance.d.ts.map +1 -1
- package/esm/models/operations/get-trial-balance.js +2 -0
- package/esm/models/operations/get-trial-balance.js.map +1 -1
- package/esm/models/operations/get-units.d.ts +14 -0
- package/esm/models/operations/get-units.d.ts.map +1 -1
- package/esm/models/operations/get-units.js +2 -0
- package/esm/models/operations/get-units.js.map +1 -1
- package/esm/models/operations/get-user-info.d.ts +22 -0
- package/esm/models/operations/get-user-info.d.ts.map +1 -1
- package/esm/models/operations/get-user-info.js +8 -0
- package/esm/models/operations/get-user-info.js.map +1 -1
- package/esm/models/operations/get-vendor-credits.d.ts +14 -0
- package/esm/models/operations/get-vendor-credits.d.ts.map +1 -1
- package/esm/models/operations/get-vendor-credits.js +2 -0
- package/esm/models/operations/get-vendor-credits.js.map +1 -1
- package/esm/models/operations/get-webhooks.d.ts +14 -0
- package/esm/models/operations/get-webhooks.d.ts.map +1 -1
- package/esm/models/operations/get-webhooks.js +2 -0
- package/esm/models/operations/get-webhooks.js.map +1 -1
- package/esm/models/operations/handle-callback.d.ts +14 -0
- package/esm/models/operations/handle-callback.d.ts.map +1 -1
- package/esm/models/operations/handle-callback.js +2 -0
- package/esm/models/operations/handle-callback.js.map +1 -1
- package/esm/models/operations/handle-configuration-callback.d.ts +14 -0
- package/esm/models/operations/handle-configuration-callback.d.ts.map +1 -1
- package/esm/models/operations/handle-configuration-callback.js +2 -0
- package/esm/models/operations/handle-configuration-callback.js.map +1 -1
- package/esm/models/operations/index.d.ts +13 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +13 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/patch-contact-v2.d.ts +14 -0
- package/esm/models/operations/patch-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/patch-contact-v2.js +2 -0
- package/esm/models/operations/patch-contact-v2.js.map +1 -1
- package/esm/models/operations/patch-contact.d.ts +14 -0
- package/esm/models/operations/patch-contact.d.ts.map +1 -1
- package/esm/models/operations/patch-contact.js +2 -0
- package/esm/models/operations/patch-contact.js.map +1 -1
- package/esm/models/operations/patch-customers.d.ts +14 -0
- package/esm/models/operations/patch-customers.d.ts.map +1 -1
- package/esm/models/operations/patch-customers.js +2 -0
- package/esm/models/operations/patch-customers.js.map +1 -1
- package/esm/models/operations/patch-invoice.d.ts +14 -0
- package/esm/models/operations/patch-invoice.d.ts.map +1 -1
- package/esm/models/operations/patch-invoice.js +2 -0
- package/esm/models/operations/patch-invoice.js.map +1 -1
- package/esm/models/operations/patch-item.d.ts +14 -0
- package/esm/models/operations/patch-item.d.ts.map +1 -1
- package/esm/models/operations/patch-item.js +2 -0
- package/esm/models/operations/patch-item.js.map +1 -1
- package/esm/models/operations/patch-line-item.d.ts +14 -0
- package/esm/models/operations/patch-line-item.d.ts.map +1 -1
- package/esm/models/operations/patch-line-item.js +2 -0
- package/esm/models/operations/patch-line-item.js.map +1 -1
- package/esm/models/operations/patch-supplier.d.ts +14 -0
- package/esm/models/operations/patch-supplier.d.ts.map +1 -1
- package/esm/models/operations/patch-supplier.js +2 -0
- package/esm/models/operations/patch-supplier.js.map +1 -1
- package/esm/models/operations/post-file-async.d.ts +102 -0
- package/esm/models/operations/post-file-async.d.ts.map +1 -0
- package/esm/models/operations/post-file-async.js +82 -0
- package/esm/models/operations/post-file-async.js.map +1 -0
- package/esm/models/operations/post-file.d.ts +14 -0
- package/esm/models/operations/post-file.d.ts.map +1 -1
- package/esm/models/operations/post-file.js +2 -0
- package/esm/models/operations/post-file.js.map +1 -1
- package/esm/models/operations/put-contact-v2.d.ts +14 -0
- package/esm/models/operations/put-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/put-contact-v2.js +2 -0
- package/esm/models/operations/put-contact-v2.js.map +1 -1
- package/esm/models/operations/put-contact.d.ts +14 -0
- package/esm/models/operations/put-contact.d.ts.map +1 -1
- package/esm/models/operations/put-contact.js +2 -0
- package/esm/models/operations/put-contact.js.map +1 -1
- package/esm/models/operations/system-login-url.d.ts +19 -0
- package/esm/models/operations/system-login-url.d.ts.map +1 -1
- package/esm/models/operations/system-login-url.js +4 -0
- package/esm/models/operations/system-login-url.js.map +1 -1
- package/esm/models/operations/system-registration.d.ts +27 -0
- package/esm/models/operations/system-registration.d.ts.map +1 -0
- package/esm/models/operations/system-registration.js +15 -0
- package/esm/models/operations/system-registration.js.map +1 -0
- package/esm/models/operations/update-bill-line-item.d.ts +14 -0
- package/esm/models/operations/update-bill-line-item.d.ts.map +1 -1
- package/esm/models/operations/update-bill-line-item.js +2 -0
- package/esm/models/operations/update-bill-line-item.js.map +1 -1
- package/esm/models/operations/update-bill.d.ts +14 -0
- package/esm/models/operations/update-bill.d.ts.map +1 -1
- package/esm/models/operations/update-bill.js +2 -0
- package/esm/models/operations/update-bill.js.map +1 -1
- package/esm/models/operations/update-customer.d.ts +14 -0
- package/esm/models/operations/update-customer.d.ts.map +1 -1
- package/esm/models/operations/update-customer.js +2 -0
- package/esm/models/operations/update-customer.js.map +1 -1
- package/esm/models/operations/update-submission-page-style.d.ts +25 -0
- package/esm/models/operations/update-submission-page-style.d.ts.map +1 -1
- package/esm/models/operations/update-submission-page-style.js +10 -0
- package/esm/models/operations/update-submission-page-style.js.map +1 -1
- package/esm/models/operations/update-supplier.d.ts +14 -0
- package/esm/models/operations/update-supplier.d.ts.map +1 -1
- package/esm/models/operations/update-supplier.js +2 -0
- package/esm/models/operations/update-supplier.js.map +1 -1
- package/esm/models/operations/update-vendor-credit.d.ts +14 -0
- package/esm/models/operations/update-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/update-vendor-credit.js +2 -0
- package/esm/models/operations/update-vendor-credit.js.map +1 -1
- package/esm/models/payment-line.d.ts +1 -0
- package/esm/models/payment-line.d.ts.map +1 -1
- package/esm/models/payment-line.js +1 -0
- package/esm/models/payment-line.js.map +1 -1
- package/esm/models/task-id-response-dto.d.ts +10 -0
- package/esm/models/task-id-response-dto.d.ts.map +1 -0
- package/esm/models/task-id-response-dto.js +14 -0
- package/esm/models/task-id-response-dto.js.map +1 -0
- package/esm/models/tax-rate-request-dto-v2.d.ts +18 -0
- package/esm/models/tax-rate-request-dto-v2.d.ts.map +1 -0
- package/esm/models/tax-rate-request-dto-v2.js +15 -0
- package/esm/models/tax-rate-request-dto-v2.js.map +1 -0
- package/esm/sdk/accounting.d.ts +3 -1
- package/esm/sdk/accounting.d.ts.map +1 -1
- package/esm/sdk/accounting.js +10 -2
- package/esm/sdk/accounting.js.map +1 -1
- package/esm/sdk/auth.d.ts +1 -1
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +2 -2
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/health.d.ts +1 -1
- package/esm/sdk/health.d.ts.map +1 -1
- package/esm/sdk/health.js +2 -2
- package/esm/sdk/health.js.map +1 -1
- package/esm/sdk/tenants.d.ts +13 -12
- package/esm/sdk/tenants.d.ts.map +1 -1
- package/esm/sdk/tenants.js +22 -18
- package/esm/sdk/tenants.js.map +1 -1
- package/esm/sdk/user.d.ts +1 -1
- package/esm/sdk/user.d.ts.map +1 -1
- package/esm/sdk/user.js +2 -2
- package/esm/sdk/user.js.map +1 -1
- package/examples/accountingGetAccount.example.ts +2 -6
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accounting-create-account.ts +13 -8
- package/src/funcs/accounting-create-bank-account.ts +13 -8
- package/src/funcs/accounting-create-bill-line-item.ts +12 -7
- package/src/funcs/accounting-create-bill.ts +13 -8
- package/src/funcs/accounting-create-booking-proposal.ts +13 -7
- package/src/funcs/accounting-create-contact.ts +13 -8
- package/src/funcs/accounting-create-contacts-v1.ts +13 -8
- package/src/funcs/accounting-create-contacts.ts +13 -8
- package/src/funcs/accounting-create-customer.ts +13 -8
- package/src/funcs/accounting-create-event-subscriptions.ts +13 -8
- package/src/funcs/accounting-create-expense-async.ts +216 -0
- package/src/funcs/accounting-create-expense.ts +13 -7
- package/src/funcs/accounting-create-invoice.ts +13 -8
- package/src/funcs/accounting-create-item.ts +13 -8
- package/src/funcs/accounting-create-journal-entries.ts +13 -8
- package/src/funcs/accounting-create-journal-entry-attachments.ts +12 -7
- package/src/funcs/accounting-create-journal-entry.ts +13 -7
- package/src/funcs/accounting-create-line-item.ts +12 -7
- package/src/funcs/accounting-create-offer.ts +13 -8
- package/src/funcs/accounting-create-pass-through-request.ts +13 -8
- package/src/funcs/accounting-create-payment-term.ts +13 -8
- package/src/funcs/accounting-create-payment.ts +13 -8
- package/src/funcs/accounting-create-project.ts +13 -8
- package/src/funcs/accounting-create-sales-order.ts +13 -8
- package/src/funcs/accounting-create-supplier.ts +13 -8
- package/src/funcs/accounting-create-transaction.ts +13 -7
- package/src/funcs/accounting-create-vendor-credit.ts +13 -8
- package/src/funcs/accounting-delete-bill.ts +12 -7
- package/src/funcs/accounting-delete-event-subscriptions.ts +12 -7
- package/src/funcs/accounting-delete-payment.ts +12 -7
- package/src/funcs/accounting-delete-vendor-credit.ts +12 -7
- package/src/funcs/accounting-get-account.ts +12 -7
- package/src/funcs/accounting-get-accounts.ts +13 -8
- package/src/funcs/accounting-get-async-task-info.ts +12 -7
- package/src/funcs/accounting-get-bank-account.ts +12 -7
- package/src/funcs/accounting-get-bank-accounts.ts +13 -8
- package/src/funcs/accounting-get-bill-document.ts +12 -7
- package/src/funcs/accounting-get-bill-line-items.ts +12 -7
- package/src/funcs/accounting-get-bill.ts +12 -7
- package/src/funcs/accounting-get-bills.ts +13 -8
- package/src/funcs/accounting-get-booking-proposal-document.ts +12 -7
- package/src/funcs/accounting-get-booking-proposal.ts +12 -7
- package/src/funcs/accounting-get-booking-proposals.ts +13 -8
- package/src/funcs/accounting-get-contact.ts +12 -7
- package/src/funcs/accounting-get-contacts.ts +13 -8
- package/src/funcs/accounting-get-credit-note.ts +12 -7
- package/src/funcs/accounting-get-credit-notes.ts +13 -8
- package/src/funcs/accounting-get-customer.ts +12 -7
- package/src/funcs/accounting-get-customers.ts +13 -8
- package/src/funcs/accounting-get-dimensions.ts +13 -8
- package/src/funcs/accounting-get-document-extensions.ts +13 -8
- package/src/funcs/accounting-get-document-types.ts +13 -8
- package/src/funcs/accounting-get-expense.ts +12 -7
- package/src/funcs/accounting-get-expenses.ts +13 -8
- package/src/funcs/accounting-get-fiscal-year.ts +12 -7
- package/src/funcs/accounting-get-fiscal-years.ts +13 -8
- package/src/funcs/accounting-get-goods-receipt-line-item.ts +12 -7
- package/src/funcs/accounting-get-goods-receipt-line-items.ts +12 -7
- package/src/funcs/accounting-get-goods-receipt.ts +12 -7
- package/src/funcs/accounting-get-goods-receipts.ts +13 -8
- package/src/funcs/accounting-get-invoice-document.ts +12 -7
- package/src/funcs/accounting-get-invoice.ts +12 -7
- package/src/funcs/accounting-get-invoices.ts +13 -8
- package/src/funcs/accounting-get-item.ts +12 -7
- package/src/funcs/accounting-get-items.ts +13 -8
- package/src/funcs/accounting-get-journal-entries.ts +13 -8
- package/src/funcs/accounting-get-journal-entry-attachment-by-id.ts +12 -7
- package/src/funcs/accounting-get-journal-entry-attachments.ts +12 -7
- package/src/funcs/accounting-get-journal-entry.ts +12 -7
- package/src/funcs/accounting-get-journals.ts +13 -8
- package/src/funcs/accounting-get-line-item.ts +12 -7
- package/src/funcs/accounting-get-line-items.ts +12 -7
- package/src/funcs/accounting-get-offer-document.ts +12 -7
- package/src/funcs/accounting-get-offer-line-item.ts +12 -7
- package/src/funcs/accounting-get-offer-line-items.ts +12 -7
- package/src/funcs/accounting-get-offer.ts +12 -7
- package/src/funcs/accounting-get-offers.ts +13 -8
- package/src/funcs/accounting-get-open-items.ts +13 -8
- package/src/funcs/accounting-get-payment-term.ts +12 -7
- package/src/funcs/accounting-get-payment-terms.ts +13 -8
- package/src/funcs/accounting-get-payment.ts +12 -7
- package/src/funcs/accounting-get-payments.ts +13 -8
- package/src/funcs/accounting-get-profile.ts +32 -7
- package/src/funcs/accounting-get-project.ts +12 -7
- package/src/funcs/accounting-get-projects.ts +13 -8
- package/src/funcs/accounting-get-purchase-order-line-item.ts +12 -7
- package/src/funcs/accounting-get-purchase-order-line-items.ts +12 -7
- package/src/funcs/accounting-get-purchase-order.ts +12 -7
- package/src/funcs/accounting-get-purchase-orders.ts +13 -8
- package/src/funcs/accounting-get-sales-order-lines.ts +12 -7
- package/src/funcs/accounting-get-sales-order.ts +12 -7
- package/src/funcs/accounting-get-sales-orders.ts +13 -8
- package/src/funcs/accounting-get-supplier.ts +12 -7
- package/src/funcs/accounting-get-suppliers.ts +13 -8
- package/src/funcs/accounting-get-tax-rate.ts +12 -7
- package/src/funcs/accounting-get-tax-rates.ts +13 -8
- package/src/funcs/accounting-get-trial-balance.ts +13 -8
- package/src/funcs/accounting-get-units.ts +13 -8
- package/src/funcs/accounting-get-vendor-credits.ts +13 -8
- package/src/funcs/accounting-patch-contact.ts +12 -7
- package/src/funcs/accounting-patch-customers.ts +12 -7
- package/src/funcs/accounting-patch-invoice.ts +12 -7
- package/src/funcs/accounting-patch-item.ts +12 -7
- package/src/funcs/accounting-patch-line-item.ts +12 -7
- package/src/funcs/accounting-patch-supplier.ts +12 -7
- package/src/funcs/accounting-post-file-async.ts +222 -0
- package/src/funcs/accounting-post-file.ts +13 -7
- package/src/funcs/accounting-put-contact.ts +12 -7
- package/src/funcs/accounting-update-bill-line-item.ts +12 -7
- package/src/funcs/accounting-update-bill.ts +12 -7
- package/src/funcs/accounting-update-customer.ts +12 -7
- package/src/funcs/accounting-update-supplier.ts +12 -7
- package/src/funcs/accounting-update-vendor-credit.ts +12 -7
- package/src/funcs/accounting-v2-create-booking-proposal-v2.ts +14 -8
- package/src/funcs/accounting-v2-create-contact-v2.ts +13 -8
- package/src/funcs/accounting-v2-get-contact-v2.ts +12 -7
- package/src/funcs/accounting-v2-get-contacts-v2.ts +13 -8
- package/src/funcs/accounting-v2-get-dimensions-by-dimension.ts +12 -7
- package/src/funcs/accounting-v2-get-dimensions-v2.ts +13 -8
- package/src/funcs/accounting-v2-patch-contact-v2.ts +12 -7
- package/src/funcs/accounting-v2-put-contact-v2.ts +12 -7
- package/src/funcs/auth-create-end-user-account.ts +12 -7
- package/src/funcs/auth-get-companies.ts +13 -8
- package/src/funcs/auth-get-environments.ts +34 -7
- package/src/funcs/auth-system-login-url.ts +15 -9
- package/src/funcs/events-get-code.ts +12 -7
- package/src/funcs/events-handle-callback.ts +12 -7
- package/src/funcs/events-handle-configuration-callback.ts +12 -7
- package/src/funcs/health-check.ts +31 -7
- package/src/funcs/tenants-add-callback-url.ts +18 -13
- package/src/funcs/tenants-count-end-users-by-system.ts +35 -7
- package/src/funcs/tenants-delete-end-user.ts +34 -7
- package/src/funcs/tenants-delete-registered-system.ts +12 -7
- package/src/funcs/tenants-generate-tenant-signing-secret.ts +166 -0
- package/src/funcs/tenants-get-callback-url.ts +35 -7
- package/src/funcs/tenants-get-end-user-list.ts +35 -7
- package/src/funcs/tenants-get-registered-systems-masked.ts +35 -7
- package/src/funcs/tenants-get-registered-systems.ts +35 -7
- package/src/funcs/tenants-get-submission-page-style-by-key.ts +36 -7
- package/src/funcs/tenants-get-submission-page-style.ts +13 -8
- package/src/funcs/tenants-get-target-system-requirements.ts +37 -7
- package/src/funcs/tenants-get-target-system-values.ts +35 -7
- package/src/funcs/tenants-system-registration.ts +19 -13
- package/src/funcs/tenants-update-submission-page-style.ts +21 -13
- package/src/funcs/user-get-user-info.ts +31 -7
- package/src/funcs/webhooks-create-webhook-end-user.ts +13 -8
- package/src/funcs/webhooks-create-webhook.ts +13 -8
- package/src/funcs/webhooks-delete-webhook-end-user.ts +12 -7
- package/src/funcs/webhooks-delete-webhook.ts +12 -7
- package/src/funcs/webhooks-get-webhooks.ts +13 -8
- package/src/lib/config.ts +10 -6
- package/src/lib/env.ts +26 -0
- package/src/lib/sdks.ts +2 -4
- package/src/lib/security.ts +0 -51
- package/src/models/bill-response-dto.ts +2 -0
- package/src/models/booking-proposal-response-dto.ts +6 -12
- package/src/models/create-bill-request-dto.ts +3 -0
- package/src/models/create-expense-request-dto-v2.ts +124 -0
- package/src/models/create-payment-line.ts +3 -0
- package/src/models/expense-line-item-request-dto-v2.ts +77 -0
- package/src/models/index.ts +4 -5
- package/src/models/operations/add-callback-url.ts +48 -0
- package/src/models/operations/check.ts +35 -0
- package/src/models/operations/count-end-users-by-system.ts +46 -0
- package/src/models/operations/create-account.ts +17 -0
- package/src/models/operations/create-bank-account.ts +17 -0
- package/src/models/operations/create-bill-line-item.ts +17 -0
- package/src/models/operations/create-bill.ts +17 -0
- package/src/models/operations/create-booking-proposal-v2.ts +20 -3
- package/src/models/operations/create-booking-proposal.ts +17 -0
- package/src/models/operations/create-contact-v2.ts +17 -0
- package/src/models/operations/create-contact.ts +17 -0
- package/src/models/operations/create-contacts-v1.ts +17 -0
- package/src/models/operations/create-contacts.ts +17 -0
- package/src/models/operations/create-customer.ts +17 -0
- package/src/models/operations/create-end-user-account.ts +17 -0
- package/src/models/operations/create-event-subscriptions.ts +17 -0
- package/src/models/operations/create-expense-async.ts +248 -0
- package/src/models/operations/create-expense.ts +17 -0
- package/src/models/operations/create-invoice.ts +17 -0
- package/src/models/operations/create-item.ts +17 -0
- package/src/models/operations/create-journal-entries.ts +17 -0
- package/src/models/operations/create-journal-entry-attachments.ts +17 -0
- package/src/models/operations/create-journal-entry.ts +17 -0
- package/src/models/operations/create-line-item.ts +17 -0
- package/src/models/operations/create-offer.ts +17 -0
- package/src/models/operations/create-pass-through-request.ts +17 -0
- package/src/models/operations/create-payment-term.ts +17 -0
- package/src/models/operations/create-payment.ts +17 -0
- package/src/models/operations/create-project.ts +17 -0
- package/src/models/operations/create-sales-order.ts +17 -0
- package/src/models/operations/create-supplier.ts +17 -0
- package/src/models/operations/create-transaction.ts +17 -0
- package/src/models/operations/create-vendor-credit.ts +17 -0
- package/src/models/operations/create-webhook-end-user.ts +17 -0
- package/src/models/operations/create-webhook.ts +17 -0
- package/src/models/operations/delete-bill.ts +17 -0
- package/src/models/operations/delete-end-user.ts +39 -0
- package/src/models/operations/delete-event-subscriptions.ts +17 -0
- package/src/models/operations/delete-payment.ts +17 -0
- package/src/models/operations/delete-registered-system.ts +17 -0
- package/src/models/operations/delete-vendor-credit.ts +17 -0
- package/src/models/operations/delete-webhook-end-user.ts +17 -0
- package/src/models/operations/delete-webhook.ts +17 -0
- package/src/models/operations/generate-tenant-signing-secret.ts +71 -0
- package/src/models/operations/get-account.ts +17 -0
- package/src/models/operations/get-accounts.ts +17 -0
- package/src/models/operations/get-async-task-info.ts +17 -0
- package/src/models/operations/get-bank-account.ts +17 -0
- package/src/models/operations/get-bank-accounts.ts +17 -0
- package/src/models/operations/get-bill-document.ts +17 -0
- package/src/models/operations/get-bill-line-items.ts +17 -0
- package/src/models/operations/get-bill.ts +17 -0
- package/src/models/operations/get-bills.ts +17 -0
- package/src/models/operations/get-booking-proposal-document.ts +17 -0
- package/src/models/operations/get-booking-proposal.ts +17 -0
- package/src/models/operations/get-booking-proposals.ts +17 -0
- package/src/models/operations/get-callback-url.ts +44 -0
- package/src/models/operations/get-code.ts +17 -0
- package/src/models/operations/get-companies.ts +17 -0
- package/src/models/operations/get-contact-v2.ts +17 -0
- package/src/models/operations/get-contact.ts +17 -0
- package/src/models/operations/get-contacts-v2.ts +17 -0
- package/src/models/operations/get-contacts.ts +17 -0
- package/src/models/operations/get-credit-note.ts +17 -0
- package/src/models/operations/get-credit-notes.ts +17 -0
- package/src/models/operations/get-customer.ts +17 -0
- package/src/models/operations/get-customers.ts +17 -0
- package/src/models/operations/get-dimensions-by-dimension.ts +17 -0
- package/src/models/operations/get-dimensions-v2.ts +17 -0
- package/src/models/operations/get-dimensions.ts +17 -0
- package/src/models/operations/get-document-extensions.ts +17 -0
- package/src/models/operations/get-document-types.ts +17 -0
- package/src/models/operations/get-end-user-list.ts +44 -0
- package/src/models/operations/get-environments.ts +39 -0
- package/src/models/operations/get-expense.ts +17 -0
- package/src/models/operations/get-expenses.ts +17 -0
- package/src/models/operations/get-fiscal-year.ts +17 -0
- package/src/models/operations/get-fiscal-years.ts +17 -0
- package/src/models/operations/get-goods-receipt-line-item.ts +17 -0
- package/src/models/operations/get-goods-receipt-line-items.ts +17 -0
- package/src/models/operations/get-goods-receipt.ts +17 -0
- package/src/models/operations/get-goods-receipts.ts +17 -0
- package/src/models/operations/get-invoice-document.ts +17 -0
- package/src/models/operations/get-invoice.ts +17 -0
- package/src/models/operations/get-invoices.ts +17 -0
- package/src/models/operations/get-item.ts +17 -0
- package/src/models/operations/get-items.ts +17 -0
- package/src/models/operations/get-journal-entries.ts +17 -0
- package/src/models/operations/get-journal-entry-attachment-by-id.ts +17 -0
- package/src/models/operations/get-journal-entry-attachments.ts +17 -0
- package/src/models/operations/get-journal-entry.ts +17 -0
- package/src/models/operations/get-journals.ts +17 -0
- package/src/models/operations/get-line-item.ts +17 -0
- package/src/models/operations/get-line-items.ts +17 -0
- package/src/models/operations/get-offer-document.ts +17 -0
- package/src/models/operations/get-offer-line-item.ts +17 -0
- package/src/models/operations/get-offer-line-items.ts +17 -0
- package/src/models/operations/get-offer.ts +17 -0
- package/src/models/operations/get-offers.ts +17 -0
- package/src/models/operations/get-open-items.ts +17 -0
- package/src/models/operations/get-payment-term.ts +17 -0
- package/src/models/operations/get-payment-terms.ts +17 -0
- package/src/models/operations/get-payment.ts +17 -0
- package/src/models/operations/get-payments.ts +17 -0
- package/src/models/operations/get-profile.ts +44 -0
- package/src/models/operations/get-project.ts +17 -0
- package/src/models/operations/get-projects.ts +17 -0
- package/src/models/operations/get-purchase-order-line-item.ts +17 -0
- package/src/models/operations/get-purchase-order-line-items.ts +17 -0
- package/src/models/operations/get-purchase-order.ts +17 -0
- package/src/models/operations/get-purchase-orders.ts +17 -0
- package/src/models/operations/get-registered-systems-masked.ts +46 -0
- package/src/models/operations/get-registered-systems.ts +46 -0
- package/src/models/operations/get-sales-order-lines.ts +17 -0
- package/src/models/operations/get-sales-order.ts +17 -0
- package/src/models/operations/get-sales-orders.ts +17 -0
- package/src/models/operations/get-submission-page-style-by-key.ts +41 -0
- package/src/models/operations/get-submission-page-style.ts +17 -0
- package/src/models/operations/get-supplier.ts +17 -0
- package/src/models/operations/get-suppliers.ts +17 -0
- package/src/models/operations/get-target-system-requirements.ts +46 -0
- package/src/models/operations/get-target-system-values.ts +46 -0
- package/src/models/operations/get-tax-rate.ts +17 -0
- package/src/models/operations/get-tax-rates.ts +17 -0
- package/src/models/operations/get-trial-balance.ts +17 -0
- package/src/models/operations/get-units.ts +17 -0
- package/src/models/operations/get-user-info.ts +39 -0
- package/src/models/operations/get-vendor-credits.ts +17 -0
- package/src/models/operations/get-webhooks.ts +17 -0
- package/src/models/operations/handle-callback.ts +17 -0
- package/src/models/operations/handle-configuration-callback.ts +17 -0
- package/src/models/operations/index.ts +13 -0
- package/src/models/operations/patch-contact-v2.ts +17 -0
- package/src/models/operations/patch-contact.ts +17 -0
- package/src/models/operations/patch-customers.ts +17 -0
- package/src/models/operations/patch-invoice.ts +17 -0
- package/src/models/operations/patch-item.ts +17 -0
- package/src/models/operations/patch-line-item.ts +17 -0
- package/src/models/operations/patch-supplier.ts +17 -0
- package/src/models/operations/post-file-async.ts +255 -0
- package/src/models/operations/post-file.ts +17 -0
- package/src/models/operations/put-contact-v2.ts +17 -0
- package/src/models/operations/put-contact.ts +17 -0
- package/src/models/operations/system-login-url.ts +24 -0
- package/src/models/operations/system-registration.ts +48 -0
- package/src/models/operations/update-bill-line-item.ts +17 -0
- package/src/models/operations/update-bill.ts +17 -0
- package/src/models/operations/update-customer.ts +17 -0
- package/src/models/operations/update-submission-page-style.ts +45 -0
- package/src/models/operations/update-supplier.ts +17 -0
- package/src/models/operations/update-vendor-credit.ts +17 -0
- package/src/models/payment-line.ts +2 -0
- package/src/models/task-id-response-dto.ts +31 -0
- package/src/models/tax-rate-request-dto-v2.ts +39 -0
- package/src/sdk/accounting.ts +26 -0
- package/src/sdk/auth.ts +2 -0
- package/src/sdk/health.ts +2 -0
- package/src/sdk/tenants.ts +33 -3
- package/src/sdk/user.ts +2 -0
- package/esm/models/booking-proposal-address-response-dto-v2.d.ts +0 -10
- package/esm/models/booking-proposal-address-response-dto-v2.d.ts.map +0 -1
- package/esm/models/booking-proposal-address-response-dto-v2.js +0 -14
- package/esm/models/booking-proposal-address-response-dto-v2.js.map +0 -1
- package/esm/models/booking-proposal-line-item-response-dto-v2.d.ts +0 -42
- package/esm/models/booking-proposal-line-item-response-dto-v2.d.ts.map +0 -1
- package/esm/models/booking-proposal-line-item-response-dto-v2.js +0 -47
- package/esm/models/booking-proposal-line-item-response-dto-v2.js.map +0 -1
- package/esm/models/booking-proposal-response-dto-v2.d.ts +0 -83
- package/esm/models/booking-proposal-response-dto-v2.d.ts.map +0 -1
- package/esm/models/booking-proposal-response-dto-v2.js +0 -88
- package/esm/models/booking-proposal-response-dto-v2.js.map +0 -1
- package/esm/models/dimension-response-common-dto-v2.d.ts +0 -13
- package/esm/models/dimension-response-common-dto-v2.d.ts.map +0 -1
- package/esm/models/dimension-response-common-dto-v2.js +0 -17
- package/esm/models/dimension-response-common-dto-v2.js.map +0 -1
- package/esm/models/security.d.ts +0 -36
- package/esm/models/security.d.ts.map +0 -1
- package/esm/models/security.js +0 -34
- package/esm/models/security.js.map +0 -1
- package/src/models/booking-proposal-address-response-dto-v2.ts +0 -32
- package/src/models/booking-proposal-line-item-response-dto-v2.ts +0 -106
- package/src/models/booking-proposal-response-dto-v2.ts +0 -196
- package/src/models/dimension-response-common-dto-v2.ts +0 -37
- package/src/models/security.ts +0 -87
|
@@ -10,7 +10,6 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
13
|
import { pathToFunc } from "../lib/url.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
@@ -97,20 +96,27 @@ async function $do(
|
|
|
97
96
|
const headers = new Headers(compactMap({
|
|
98
97
|
"Content-Type": "application/json",
|
|
99
98
|
Accept: "application/json",
|
|
99
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
100
|
+
"X-ACCOUNT-KEY",
|
|
101
|
+
payload.accountKey ?? client._options.accountKey,
|
|
102
|
+
{ explode: false, charEncoding: "none" },
|
|
103
|
+
),
|
|
104
|
+
"X-API-KEY": encodeSimple(
|
|
105
|
+
"X-API-KEY",
|
|
106
|
+
payload.apiKey ?? client._options.apiKey,
|
|
107
|
+
{ explode: false, charEncoding: "none" },
|
|
108
|
+
),
|
|
100
109
|
}));
|
|
101
110
|
|
|
102
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
103
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
|
-
|
|
105
111
|
const context = {
|
|
106
112
|
options: client._options,
|
|
107
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
114
|
operationID: "patchCustomers",
|
|
109
115
|
oAuth2Scopes: null,
|
|
110
116
|
|
|
111
|
-
resolvedSecurity:
|
|
117
|
+
resolvedSecurity: null,
|
|
112
118
|
|
|
113
|
-
securitySource:
|
|
119
|
+
securitySource: null,
|
|
114
120
|
retryConfig: options?.retries
|
|
115
121
|
|| client._options.retryConfig
|
|
116
122
|
|| { strategy: "none" },
|
|
@@ -118,7 +124,6 @@ async function $do(
|
|
|
118
124
|
};
|
|
119
125
|
|
|
120
126
|
const requestRes = client._createRequest(context, {
|
|
121
|
-
security: requestSecurity,
|
|
122
127
|
method: "PATCH",
|
|
123
128
|
baseURL: options?.serverURL,
|
|
124
129
|
path: path,
|
|
@@ -10,7 +10,6 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
13
|
import { pathToFunc } from "../lib/url.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
@@ -97,20 +96,27 @@ async function $do(
|
|
|
97
96
|
const headers = new Headers(compactMap({
|
|
98
97
|
"Content-Type": "application/json",
|
|
99
98
|
Accept: "application/json",
|
|
99
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
100
|
+
"X-ACCOUNT-KEY",
|
|
101
|
+
payload.accountKey ?? client._options.accountKey,
|
|
102
|
+
{ explode: false, charEncoding: "none" },
|
|
103
|
+
),
|
|
104
|
+
"X-API-KEY": encodeSimple(
|
|
105
|
+
"X-API-KEY",
|
|
106
|
+
payload.apiKey ?? client._options.apiKey,
|
|
107
|
+
{ explode: false, charEncoding: "none" },
|
|
108
|
+
),
|
|
100
109
|
}));
|
|
101
110
|
|
|
102
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
103
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
|
-
|
|
105
111
|
const context = {
|
|
106
112
|
options: client._options,
|
|
107
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
114
|
operationID: "patchInvoice",
|
|
109
115
|
oAuth2Scopes: null,
|
|
110
116
|
|
|
111
|
-
resolvedSecurity:
|
|
117
|
+
resolvedSecurity: null,
|
|
112
118
|
|
|
113
|
-
securitySource:
|
|
119
|
+
securitySource: null,
|
|
114
120
|
retryConfig: options?.retries
|
|
115
121
|
|| client._options.retryConfig
|
|
116
122
|
|| { strategy: "none" },
|
|
@@ -118,7 +124,6 @@ async function $do(
|
|
|
118
124
|
};
|
|
119
125
|
|
|
120
126
|
const requestRes = client._createRequest(context, {
|
|
121
|
-
security: requestSecurity,
|
|
122
127
|
method: "PATCH",
|
|
123
128
|
baseURL: options?.serverURL,
|
|
124
129
|
path: path,
|
|
@@ -10,7 +10,6 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
13
|
import { pathToFunc } from "../lib/url.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
@@ -97,20 +96,27 @@ async function $do(
|
|
|
97
96
|
const headers = new Headers(compactMap({
|
|
98
97
|
"Content-Type": "application/json",
|
|
99
98
|
Accept: "application/json",
|
|
99
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
100
|
+
"X-ACCOUNT-KEY",
|
|
101
|
+
payload.accountKey ?? client._options.accountKey,
|
|
102
|
+
{ explode: false, charEncoding: "none" },
|
|
103
|
+
),
|
|
104
|
+
"X-API-KEY": encodeSimple(
|
|
105
|
+
"X-API-KEY",
|
|
106
|
+
payload.apiKey ?? client._options.apiKey,
|
|
107
|
+
{ explode: false, charEncoding: "none" },
|
|
108
|
+
),
|
|
100
109
|
}));
|
|
101
110
|
|
|
102
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
103
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
|
-
|
|
105
111
|
const context = {
|
|
106
112
|
options: client._options,
|
|
107
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
114
|
operationID: "patchItem",
|
|
109
115
|
oAuth2Scopes: null,
|
|
110
116
|
|
|
111
|
-
resolvedSecurity:
|
|
117
|
+
resolvedSecurity: null,
|
|
112
118
|
|
|
113
|
-
securitySource:
|
|
119
|
+
securitySource: null,
|
|
114
120
|
retryConfig: options?.retries
|
|
115
121
|
|| client._options.retryConfig
|
|
116
122
|
|| { strategy: "none" },
|
|
@@ -118,7 +124,6 @@ async function $do(
|
|
|
118
124
|
};
|
|
119
125
|
|
|
120
126
|
const requestRes = client._createRequest(context, {
|
|
121
|
-
security: requestSecurity,
|
|
122
127
|
method: "PATCH",
|
|
123
128
|
baseURL: options?.serverURL,
|
|
124
129
|
path: path,
|
|
@@ -10,7 +10,6 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
13
|
import { pathToFunc } from "../lib/url.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
@@ -103,20 +102,27 @@ async function $do(
|
|
|
103
102
|
const headers = new Headers(compactMap({
|
|
104
103
|
"Content-Type": "application/json",
|
|
105
104
|
Accept: "application/json",
|
|
105
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
106
|
+
"X-ACCOUNT-KEY",
|
|
107
|
+
payload.accountKey ?? client._options.accountKey,
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
110
|
+
"X-API-KEY": encodeSimple(
|
|
111
|
+
"X-API-KEY",
|
|
112
|
+
payload.apiKey ?? client._options.apiKey,
|
|
113
|
+
{ explode: false, charEncoding: "none" },
|
|
114
|
+
),
|
|
106
115
|
}));
|
|
107
116
|
|
|
108
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
109
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
110
|
-
|
|
111
117
|
const context = {
|
|
112
118
|
options: client._options,
|
|
113
119
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114
120
|
operationID: "patchLineItem",
|
|
115
121
|
oAuth2Scopes: null,
|
|
116
122
|
|
|
117
|
-
resolvedSecurity:
|
|
123
|
+
resolvedSecurity: null,
|
|
118
124
|
|
|
119
|
-
securitySource:
|
|
125
|
+
securitySource: null,
|
|
120
126
|
retryConfig: options?.retries
|
|
121
127
|
|| client._options.retryConfig
|
|
122
128
|
|| { strategy: "none" },
|
|
@@ -124,7 +130,6 @@ async function $do(
|
|
|
124
130
|
};
|
|
125
131
|
|
|
126
132
|
const requestRes = client._createRequest(context, {
|
|
127
|
-
security: requestSecurity,
|
|
128
133
|
method: "PATCH",
|
|
129
134
|
baseURL: options?.serverURL,
|
|
130
135
|
path: path,
|
|
@@ -10,7 +10,6 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
13
|
import { pathToFunc } from "../lib/url.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
@@ -97,20 +96,27 @@ async function $do(
|
|
|
97
96
|
const headers = new Headers(compactMap({
|
|
98
97
|
"Content-Type": "application/json",
|
|
99
98
|
Accept: "application/json",
|
|
99
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
100
|
+
"X-ACCOUNT-KEY",
|
|
101
|
+
payload.accountKey ?? client._options.accountKey,
|
|
102
|
+
{ explode: false, charEncoding: "none" },
|
|
103
|
+
),
|
|
104
|
+
"X-API-KEY": encodeSimple(
|
|
105
|
+
"X-API-KEY",
|
|
106
|
+
payload.apiKey ?? client._options.apiKey,
|
|
107
|
+
{ explode: false, charEncoding: "none" },
|
|
108
|
+
),
|
|
100
109
|
}));
|
|
101
110
|
|
|
102
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
103
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
|
-
|
|
105
111
|
const context = {
|
|
106
112
|
options: client._options,
|
|
107
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
114
|
operationID: "patchSupplier",
|
|
109
115
|
oAuth2Scopes: null,
|
|
110
116
|
|
|
111
|
-
resolvedSecurity:
|
|
117
|
+
resolvedSecurity: null,
|
|
112
118
|
|
|
113
|
-
securitySource:
|
|
119
|
+
securitySource: null,
|
|
114
120
|
retryConfig: options?.retries
|
|
115
121
|
|| client._options.retryConfig
|
|
116
122
|
|| { strategy: "none" },
|
|
@@ -118,7 +124,6 @@ async function $do(
|
|
|
118
124
|
};
|
|
119
125
|
|
|
120
126
|
const requestRes = client._createRequest(context, {
|
|
121
|
-
security: requestSecurity,
|
|
122
127
|
method: "PATCH",
|
|
123
128
|
baseURL: options?.serverURL,
|
|
124
129
|
path: path,
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { MaesnCore } from "../core.js";
|
|
7
|
+
import {
|
|
8
|
+
appendForm,
|
|
9
|
+
encodeFormQuery,
|
|
10
|
+
encodeSimple,
|
|
11
|
+
normalizeBlob,
|
|
12
|
+
} from "../lib/encodings.js";
|
|
13
|
+
import {
|
|
14
|
+
bytesToBlob,
|
|
15
|
+
getContentTypeFromFileName,
|
|
16
|
+
readableStreamToArrayBuffer,
|
|
17
|
+
} from "../lib/files.js";
|
|
18
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
19
|
+
import * as M from "../lib/matchers.js";
|
|
20
|
+
import { compactMap } from "../lib/primitives.js";
|
|
21
|
+
import { safeParse } from "../lib/schemas.js";
|
|
22
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
23
|
+
import { pathToFunc } from "../lib/url.js";
|
|
24
|
+
import {
|
|
25
|
+
ConnectionError,
|
|
26
|
+
InvalidRequestError,
|
|
27
|
+
RequestAbortedError,
|
|
28
|
+
RequestTimeoutError,
|
|
29
|
+
UnexpectedClientError,
|
|
30
|
+
} from "../models/errors/http-client-errors.js";
|
|
31
|
+
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
32
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
33
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
34
|
+
import * as operations from "../models/operations/index.js";
|
|
35
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
36
|
+
import { isBlobLike } from "../types/blobs.js";
|
|
37
|
+
import { Result } from "../types/fp.js";
|
|
38
|
+
import { isReadableStream } from "../types/streams.js";
|
|
39
|
+
|
|
40
|
+
export function accountingPostFileAsync(
|
|
41
|
+
client: MaesnCore,
|
|
42
|
+
request: operations.PostFileAsyncRequest,
|
|
43
|
+
options?: RequestOptions,
|
|
44
|
+
): APIPromise<
|
|
45
|
+
Result<
|
|
46
|
+
operations.PostFileAsyncResponse,
|
|
47
|
+
| MaesnError
|
|
48
|
+
| ResponseValidationError
|
|
49
|
+
| ConnectionError
|
|
50
|
+
| RequestAbortedError
|
|
51
|
+
| RequestTimeoutError
|
|
52
|
+
| InvalidRequestError
|
|
53
|
+
| UnexpectedClientError
|
|
54
|
+
| SDKValidationError
|
|
55
|
+
>
|
|
56
|
+
> {
|
|
57
|
+
return new APIPromise($do(
|
|
58
|
+
client,
|
|
59
|
+
request,
|
|
60
|
+
options,
|
|
61
|
+
));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
async function $do(
|
|
65
|
+
client: MaesnCore,
|
|
66
|
+
request: operations.PostFileAsyncRequest,
|
|
67
|
+
options?: RequestOptions,
|
|
68
|
+
): Promise<
|
|
69
|
+
[
|
|
70
|
+
Result<
|
|
71
|
+
operations.PostFileAsyncResponse,
|
|
72
|
+
| MaesnError
|
|
73
|
+
| ResponseValidationError
|
|
74
|
+
| ConnectionError
|
|
75
|
+
| RequestAbortedError
|
|
76
|
+
| RequestTimeoutError
|
|
77
|
+
| InvalidRequestError
|
|
78
|
+
| UnexpectedClientError
|
|
79
|
+
| SDKValidationError
|
|
80
|
+
>,
|
|
81
|
+
APICall,
|
|
82
|
+
]
|
|
83
|
+
> {
|
|
84
|
+
const parsed = safeParse(
|
|
85
|
+
request,
|
|
86
|
+
(value) => z.parse(operations.PostFileAsyncRequest$outboundSchema, value),
|
|
87
|
+
"Input validation failed",
|
|
88
|
+
);
|
|
89
|
+
if (!parsed.ok) {
|
|
90
|
+
return [parsed, { status: "invalid" }];
|
|
91
|
+
}
|
|
92
|
+
const payload = parsed.value;
|
|
93
|
+
const body = new FormData();
|
|
94
|
+
|
|
95
|
+
if (payload.body.documentDate !== undefined) {
|
|
96
|
+
appendForm(body, "documentDate", payload.body.documentDate);
|
|
97
|
+
}
|
|
98
|
+
if (payload.body.documentId !== undefined) {
|
|
99
|
+
appendForm(body, "documentId", payload.body.documentId);
|
|
100
|
+
}
|
|
101
|
+
if (payload.body.documentType !== undefined) {
|
|
102
|
+
appendForm(body, "documentType", payload.body.documentType);
|
|
103
|
+
}
|
|
104
|
+
if (payload.body.file !== undefined) {
|
|
105
|
+
if (isBlobLike(payload.body.file)) {
|
|
106
|
+
const file = payload.body.file;
|
|
107
|
+
const blob = await normalizeBlob(file);
|
|
108
|
+
const name = "name" in file ? (file.name as string) : undefined;
|
|
109
|
+
appendForm(body, "file", blob, name);
|
|
110
|
+
} else if (isReadableStream(payload.body.file.content)) {
|
|
111
|
+
const buffer = await readableStreamToArrayBuffer(
|
|
112
|
+
payload.body.file.content,
|
|
113
|
+
);
|
|
114
|
+
const contentType = getContentTypeFromFileName(payload.body.file.fileName)
|
|
115
|
+
|| "application/octet-stream";
|
|
116
|
+
appendForm(
|
|
117
|
+
body,
|
|
118
|
+
"file",
|
|
119
|
+
bytesToBlob(buffer, contentType),
|
|
120
|
+
payload.body.file.fileName,
|
|
121
|
+
);
|
|
122
|
+
} else {
|
|
123
|
+
const contentType = getContentTypeFromFileName(payload.body.file.fileName)
|
|
124
|
+
|| "application/octet-stream";
|
|
125
|
+
appendForm(
|
|
126
|
+
body,
|
|
127
|
+
"file",
|
|
128
|
+
bytesToBlob(payload.body.file.content, contentType),
|
|
129
|
+
payload.body.file.fileName,
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
if (payload.body.integrationSource !== undefined) {
|
|
134
|
+
appendForm(body, "integrationSource", payload.body.integrationSource);
|
|
135
|
+
}
|
|
136
|
+
if (payload.body.note !== undefined) {
|
|
137
|
+
appendForm(body, "note", payload.body.note);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const path = pathToFunc("/accounting/files/async")();
|
|
141
|
+
|
|
142
|
+
const query = encodeFormQuery({
|
|
143
|
+
"companyId": payload.companyId,
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
const headers = new Headers(compactMap({
|
|
147
|
+
Accept: "application/json",
|
|
148
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
149
|
+
"X-ACCOUNT-KEY",
|
|
150
|
+
payload.accountKey ?? client._options.accountKey,
|
|
151
|
+
{ explode: false, charEncoding: "none" },
|
|
152
|
+
),
|
|
153
|
+
"X-API-KEY": encodeSimple(
|
|
154
|
+
"X-API-KEY",
|
|
155
|
+
payload.apiKey ?? client._options.apiKey,
|
|
156
|
+
{ explode: false, charEncoding: "none" },
|
|
157
|
+
),
|
|
158
|
+
}));
|
|
159
|
+
|
|
160
|
+
const context = {
|
|
161
|
+
options: client._options,
|
|
162
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
163
|
+
operationID: "postFileAsync",
|
|
164
|
+
oAuth2Scopes: null,
|
|
165
|
+
|
|
166
|
+
resolvedSecurity: null,
|
|
167
|
+
|
|
168
|
+
securitySource: null,
|
|
169
|
+
retryConfig: options?.retries
|
|
170
|
+
|| client._options.retryConfig
|
|
171
|
+
|| { strategy: "none" },
|
|
172
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
const requestRes = client._createRequest(context, {
|
|
176
|
+
method: "POST",
|
|
177
|
+
baseURL: options?.serverURL,
|
|
178
|
+
path: path,
|
|
179
|
+
headers: headers,
|
|
180
|
+
query: query,
|
|
181
|
+
body: body,
|
|
182
|
+
userAgent: client._options.userAgent,
|
|
183
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
184
|
+
}, options);
|
|
185
|
+
if (!requestRes.ok) {
|
|
186
|
+
return [requestRes, { status: "invalid" }];
|
|
187
|
+
}
|
|
188
|
+
const req = requestRes.value;
|
|
189
|
+
|
|
190
|
+
const doResult = await client._do(req, {
|
|
191
|
+
context,
|
|
192
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
193
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
194
|
+
retryConfig: context.retryConfig,
|
|
195
|
+
retryCodes: context.retryCodes,
|
|
196
|
+
});
|
|
197
|
+
if (!doResult.ok) {
|
|
198
|
+
return [doResult, { status: "request-error", request: req }];
|
|
199
|
+
}
|
|
200
|
+
const response = doResult.value;
|
|
201
|
+
|
|
202
|
+
const [result] = await M.match<
|
|
203
|
+
operations.PostFileAsyncResponse,
|
|
204
|
+
| MaesnError
|
|
205
|
+
| ResponseValidationError
|
|
206
|
+
| ConnectionError
|
|
207
|
+
| RequestAbortedError
|
|
208
|
+
| RequestTimeoutError
|
|
209
|
+
| InvalidRequestError
|
|
210
|
+
| UnexpectedClientError
|
|
211
|
+
| SDKValidationError
|
|
212
|
+
>(
|
|
213
|
+
M.json(202, operations.PostFileAsyncResponse$inboundSchema),
|
|
214
|
+
M.fail("4XX"),
|
|
215
|
+
M.fail("5XX"),
|
|
216
|
+
)(response, req);
|
|
217
|
+
if (!result.ok) {
|
|
218
|
+
return [result, { status: "complete", request: req, response }];
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
return [result, { status: "complete", request: req, response }];
|
|
222
|
+
}
|
|
@@ -7,6 +7,7 @@ import { MaesnCore } from "../core.js";
|
|
|
7
7
|
import {
|
|
8
8
|
appendForm,
|
|
9
9
|
encodeFormQuery,
|
|
10
|
+
encodeSimple,
|
|
10
11
|
normalizeBlob,
|
|
11
12
|
} from "../lib/encodings.js";
|
|
12
13
|
import {
|
|
@@ -19,7 +20,6 @@ import * as M from "../lib/matchers.js";
|
|
|
19
20
|
import { compactMap } from "../lib/primitives.js";
|
|
20
21
|
import { safeParse } from "../lib/schemas.js";
|
|
21
22
|
import { RequestOptions } from "../lib/sdks.js";
|
|
22
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
23
23
|
import { pathToFunc } from "../lib/url.js";
|
|
24
24
|
import {
|
|
25
25
|
ConnectionError,
|
|
@@ -151,20 +151,27 @@ async function $do(
|
|
|
151
151
|
|
|
152
152
|
const headers = new Headers(compactMap({
|
|
153
153
|
Accept: "application/json",
|
|
154
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
155
|
+
"X-ACCOUNT-KEY",
|
|
156
|
+
payload.accountKey ?? client._options.accountKey,
|
|
157
|
+
{ explode: false, charEncoding: "none" },
|
|
158
|
+
),
|
|
159
|
+
"X-API-KEY": encodeSimple(
|
|
160
|
+
"X-API-KEY",
|
|
161
|
+
payload.apiKey ?? client._options.apiKey,
|
|
162
|
+
{ explode: false, charEncoding: "none" },
|
|
163
|
+
),
|
|
154
164
|
}));
|
|
155
165
|
|
|
156
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
157
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
158
|
-
|
|
159
166
|
const context = {
|
|
160
167
|
options: client._options,
|
|
161
168
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
162
169
|
operationID: "postFile",
|
|
163
170
|
oAuth2Scopes: null,
|
|
164
171
|
|
|
165
|
-
resolvedSecurity:
|
|
172
|
+
resolvedSecurity: null,
|
|
166
173
|
|
|
167
|
-
securitySource:
|
|
174
|
+
securitySource: null,
|
|
168
175
|
retryConfig: options?.retries
|
|
169
176
|
|| client._options.retryConfig
|
|
170
177
|
|| { strategy: "none" },
|
|
@@ -172,7 +179,6 @@ async function $do(
|
|
|
172
179
|
};
|
|
173
180
|
|
|
174
181
|
const requestRes = client._createRequest(context, {
|
|
175
|
-
security: requestSecurity,
|
|
176
182
|
method: "POST",
|
|
177
183
|
baseURL: options?.serverURL,
|
|
178
184
|
path: path,
|
|
@@ -10,7 +10,6 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
13
|
import { pathToFunc } from "../lib/url.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
@@ -97,20 +96,27 @@ async function $do(
|
|
|
97
96
|
const headers = new Headers(compactMap({
|
|
98
97
|
"Content-Type": "application/json",
|
|
99
98
|
Accept: "application/json",
|
|
99
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
100
|
+
"X-ACCOUNT-KEY",
|
|
101
|
+
payload.accountKey ?? client._options.accountKey,
|
|
102
|
+
{ explode: false, charEncoding: "none" },
|
|
103
|
+
),
|
|
104
|
+
"X-API-KEY": encodeSimple(
|
|
105
|
+
"X-API-KEY",
|
|
106
|
+
payload.apiKey ?? client._options.apiKey,
|
|
107
|
+
{ explode: false, charEncoding: "none" },
|
|
108
|
+
),
|
|
100
109
|
}));
|
|
101
110
|
|
|
102
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
103
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
|
-
|
|
105
111
|
const context = {
|
|
106
112
|
options: client._options,
|
|
107
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
114
|
operationID: "putContact",
|
|
109
115
|
oAuth2Scopes: null,
|
|
110
116
|
|
|
111
|
-
resolvedSecurity:
|
|
117
|
+
resolvedSecurity: null,
|
|
112
118
|
|
|
113
|
-
securitySource:
|
|
119
|
+
securitySource: null,
|
|
114
120
|
retryConfig: options?.retries
|
|
115
121
|
|| client._options.retryConfig
|
|
116
122
|
|| { strategy: "none" },
|
|
@@ -118,7 +124,6 @@ async function $do(
|
|
|
118
124
|
};
|
|
119
125
|
|
|
120
126
|
const requestRes = client._createRequest(context, {
|
|
121
|
-
security: requestSecurity,
|
|
122
127
|
method: "PUT",
|
|
123
128
|
baseURL: options?.serverURL,
|
|
124
129
|
path: path,
|
|
@@ -10,7 +10,6 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
13
|
import { pathToFunc } from "../lib/url.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
@@ -103,20 +102,27 @@ async function $do(
|
|
|
103
102
|
const headers = new Headers(compactMap({
|
|
104
103
|
"Content-Type": "application/json",
|
|
105
104
|
Accept: "application/json",
|
|
105
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
106
|
+
"X-ACCOUNT-KEY",
|
|
107
|
+
payload.accountKey ?? client._options.accountKey,
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
110
|
+
"X-API-KEY": encodeSimple(
|
|
111
|
+
"X-API-KEY",
|
|
112
|
+
payload.apiKey ?? client._options.apiKey,
|
|
113
|
+
{ explode: false, charEncoding: "none" },
|
|
114
|
+
),
|
|
106
115
|
}));
|
|
107
116
|
|
|
108
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
109
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
110
|
-
|
|
111
117
|
const context = {
|
|
112
118
|
options: client._options,
|
|
113
119
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114
120
|
operationID: "updateBillLineItem",
|
|
115
121
|
oAuth2Scopes: null,
|
|
116
122
|
|
|
117
|
-
resolvedSecurity:
|
|
123
|
+
resolvedSecurity: null,
|
|
118
124
|
|
|
119
|
-
securitySource:
|
|
125
|
+
securitySource: null,
|
|
120
126
|
retryConfig: options?.retries
|
|
121
127
|
|| client._options.retryConfig
|
|
122
128
|
|| { strategy: "none" },
|
|
@@ -124,7 +130,6 @@ async function $do(
|
|
|
124
130
|
};
|
|
125
131
|
|
|
126
132
|
const requestRes = client._createRequest(context, {
|
|
127
|
-
security: requestSecurity,
|
|
128
133
|
method: "PUT",
|
|
129
134
|
baseURL: options?.serverURL,
|
|
130
135
|
path: path,
|
|
@@ -10,7 +10,6 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
13
|
import { pathToFunc } from "../lib/url.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
@@ -97,20 +96,27 @@ async function $do(
|
|
|
97
96
|
const headers = new Headers(compactMap({
|
|
98
97
|
"Content-Type": "application/json",
|
|
99
98
|
Accept: "application/json",
|
|
99
|
+
"X-ACCOUNT-KEY": encodeSimple(
|
|
100
|
+
"X-ACCOUNT-KEY",
|
|
101
|
+
payload.accountKey ?? client._options.accountKey,
|
|
102
|
+
{ explode: false, charEncoding: "none" },
|
|
103
|
+
),
|
|
104
|
+
"X-API-KEY": encodeSimple(
|
|
105
|
+
"X-API-KEY",
|
|
106
|
+
payload.apiKey ?? client._options.apiKey,
|
|
107
|
+
{ explode: false, charEncoding: "none" },
|
|
108
|
+
),
|
|
100
109
|
}));
|
|
101
110
|
|
|
102
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
103
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
|
-
|
|
105
111
|
const context = {
|
|
106
112
|
options: client._options,
|
|
107
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
108
114
|
operationID: "updateBill",
|
|
109
115
|
oAuth2Scopes: null,
|
|
110
116
|
|
|
111
|
-
resolvedSecurity:
|
|
117
|
+
resolvedSecurity: null,
|
|
112
118
|
|
|
113
|
-
securitySource:
|
|
119
|
+
securitySource: null,
|
|
114
120
|
retryConfig: options?.retries
|
|
115
121
|
|| client._options.retryConfig
|
|
116
122
|
|| { strategy: "none" },
|
|
@@ -118,7 +124,6 @@ async function $do(
|
|
|
118
124
|
};
|
|
119
125
|
|
|
120
126
|
const requestRes = client._createRequest(context, {
|
|
121
|
-
security: requestSecurity,
|
|
122
127
|
method: "PUT",
|
|
123
128
|
baseURL: options?.serverURL,
|
|
124
129
|
path: path,
|